ACCOUNTING POLICIES AND RECENT ACCOUNTING PRONOUNCEMENTS - Capitalized Software (Details) - USD ($) $ in Thousands |
12 Months Ended | |
|---|---|---|
Jun. 30, 2025 |
Jun. 30, 2024 |
|
| Property, Plant and Equipment [Line Items] | ||
| Capitalized software development costs | $ 1,210,576 | $ 1,118,914 |
| Minimum | ||
| Property, Plant and Equipment [Line Items] | ||
| Amortization period (in years) | 3 years | |
| Maximum | ||
| Property, Plant and Equipment [Line Items] | ||
| Amortization period (in years) | 5 years | |
| Capitalized software development costs | ||
| Property, Plant and Equipment [Line Items] | ||
| Capitalized software development costs | $ 283,449 | 250,941 |
| Additions related to capitalized software development costs | $ 32,300 | $ 26,100 |
| Capitalized software development costs | Minimum | ||
| Property, Plant and Equipment [Line Items] | ||
| Amortization period (in years) | 3 years | |
| Capitalized software development costs | Maximum | ||
| Property, Plant and Equipment [Line Items] | ||
| Amortization period (in years) | 5 years | |