XML 119 R107.htm IDEA: XBRL DOCUMENT v3.23.2
Financial Instruments - Gain (losses) on derivative financial instruments recorded in consolidated statement if income (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2021
Deal-contingent forward contracts      
Derivative [Line Items]      
Net gains (losses) relating to forward exchange contracts $ (389,992) $ (1,015,426) $ 0
Forward exchange contracts      
Derivative [Line Items]      
Net gains (losses) relating to forward exchange contracts (7,259) 55,860 15,879
Costless collar contracts      
Derivative [Line Items]      
Net gains (losses) relating to forward exchange contracts 11,528 (4,364) (2,092)
Cross-currency swap contracts      
Derivative [Line Items]      
Net gains (losses) relating to forward exchange contracts $ (18,739) $ 0 $ 0