v3.26.1
LONG-TERM DEBT - Schedule of Long-Term Debt (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2026
Jun. 30, 2025
Jun. 30, 2024
Debt Instrument [Line Items]      
Total principal payments due $ 5,836,525 $ 6,485,375  
Unamortized debt discount and issuance costs (66,156) (107,454)  
Total amount outstanding 5,770,369 6,377,921  
Less:      
Current portion of long-term debt 35,850 35,850  
Non-current portion of long-term debt 5,734,519 6,342,071  
Loss on extinguishment of debt 18,787 0 $ 56,393
Senior Notes | Senior Notes 2031      
Debt Instrument [Line Items]      
Total principal payments due 650,000 650,000  
Senior Notes | Senior Notes 2030      
Debt Instrument [Line Items]      
Total principal payments due 900,000 900,000  
Senior Notes | Senior Notes 2029      
Debt Instrument [Line Items]      
Total principal payments due 850,000 850,000  
Senior Notes | Senior Notes 2028      
Debt Instrument [Line Items]      
Total principal payments due 900,000 900,000  
Senior Notes | Senior Secured Notes 2027      
Debt Instrument [Line Items]      
Total principal payments due 1,000,000 1,000,000  
Line of Credit | Acquisition Term Loan | Secured Debt      
Debt Instrument [Line Items]      
Total principal payments due 1,536,525 2,185,375  
Less:      
Current portion of long-term debt 35,850 $ 35,850  
Repayment of line of credit $ 613,000   $ 1,310,000