XML 51 R40.htm IDEA: XBRL DOCUMENT v3.23.2
SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Summary of Foreign Currency Gains (Losses)) (Details) - USD ($)
$ in Thousands
3 Months Ended 9 Months Ended
May 31, 2023
May 31, 2022
May 31, 2023
May 31, 2022
Accounting Policies [Abstract]        
Currency loss $ (2,095) $ (2,504) $ (12,153) $ (6,142)