XML 21 R5.htm IDEA: XBRL DOCUMENT v3.20.2
Consolidated Statements of Comprehensive (Loss) Income - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Jun. 30, 2018
Statement of Comprehensive Income [Abstract]      
Net (loss) income $ (192,654) $ 57,597 $ 33,153
Unrealized (loss) gain on hedged transaction, net of tax (4,646)    
Unrealized (loss) gain on hedged transaction, net of tax   (3,277) 1,089
Foreign currency translation adjustment (38,061) (2,634) (12,062)
Comprehensive (loss) income $ (235,361) $ 51,686 $ 22,180