XML 239 R117.htm IDEA: XBRL DOCUMENT v3.23.2
INCOME TAXES - Schedule of Income Before Provision for Income Tax (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2021
Income Tax Disclosure [Abstract]      
Domestic income (loss) $ 300,437 $ 435,355 $ 462,315
Foreign income (loss) (79,104) 80,656 188,455
Income before income taxes $ 221,333 $ 516,011 $ 650,770