XML 153 R123.htm IDEA: XBRL DOCUMENT v3.24.2.u1
INCOME TAXES - Schedule of Changes in the Balance of Gross Unrecognized Tax Benefits (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]    
Unrecognized tax benefits as of beginning of the period $ 178,728 $ 54,126
Increases on account of current year positions 4,074 8,118
Increases on account of prior year positions 16,558 138,062
Decreases on account of prior year positions (3,338) (2,086)
Decreases due to settlements with tax authorities (11,497) (4,485)
Decreases due to lapses of statutes of limitations (4,160) (15,007)
Unrecognized tax benefits as of end of the period $ 180,365 $ 178,728