XML 112 R87.htm IDEA: XBRL DOCUMENT v3.24.3
INCOME TAX (Unrecognized Tax Benefits) (Details) - USD ($)
$ in Thousands
12 Months Ended
Aug. 31, 2024
Aug. 31, 2023
Aug. 31, 2022
Reconciliation of Unrecognized Tax Benefits, Excluding Amounts Pertaining to Examined Tax Returns [Roll Forward]      
Unrecognized Tax Benefits, Beginning Balance $ 44,165 $ 29,747 $ 5,531
Unrecognized Tax Benefits, Increase Resulting from Current Period Tax Positions 0 14,792 17,461
Unrecognized Tax Benefits, Decrease Resulting from Prior Period Tax Positions   (374)  
Unrecognized Tax Benefits, Increase Resulting from Prior Period Tax Positions 1,556   6,755
Unrecognized Tax Benefits, Ending Balance $ 45,721 $ 44,165 $ 29,747