Annual report [Section 13 and 15(d), not S-K Item 405]

INCOME TAXES - Additional Information (Details)

v3.25.2
INCOME TAXES - Additional Information (Details) - USD ($)
$ / shares in Units, $ in Thousands
12 Months Ended
Jun. 30, 2025
Jun. 30, 2024
Jun. 30, 2023
Income Tax Contingency      
Deferred tax assets, valuation allowance $ 310,599 $ 289,534  
Undistributed earnings for certain foreign subsidiaries 185,900    
Undistributed earnings of foreign subsidiaries 39,000    
Unrecognized tax benefits that would impact the effective tax rate 244,900 244,600 $ 199,000
Interest and penalties recognized, expenses (benefits) 9,000 8,300 (20,200)
Income tax penalties and interest accrued 50,100 41,100  
Amount of unrecorded benefit $ 22,700    
Minimum      
Income Tax Contingency      
Income tax holiday, expiration period 4 years    
Maximum      
Income Tax Contingency      
Income tax holiday, expiration period 7 years    
Foreign Capital Loss Carryforwards      
Income Tax Contingency      
Capital loss carry-forwards $ 1,300    
U.S. Federal      
Income Tax Contingency      
Operating loss carry-forwards 3,700    
State      
Income Tax Contingency      
Operating loss carry-forwards 10,000    
Operating loss carryforwards, not subject to expiration 395,200    
Federal and state credit carry-forwards, valuation allowance 308,500    
Foreign Tax Authority      
Income Tax Contingency      
Operating loss carry-forwards 174,500    
Income tax holiday, aggregate dollar amount $ 198,600 $ 159,400 $ 161,500
Income tax holiday, income tax benefits per share (in dollars per share) $ 1.49 $ 1.19 $ 1.18