XML 222 R63.htm IDEA: XBRL DOCUMENT v3.23.2
Derivative Contracts - Pre-Tax Effects of Derivatives Designated as Cash Flow Hedging Instruments (Details) - USD ($)
$ in Thousands
12 Months Ended
Jun. 30, 2023
Jun. 30, 2022
Jun. 30, 2021
Derivative Instruments, Pre-Tax Effects Of Derivatives Designated As Cash Flow Hedging Instruments [Roll Forward]      
Beginning balance $ 327,372 $ 313,262 $ 566,643
Ending balance 654,672 327,372 313,262
Accumulated Gain (Loss), Net, Cash Flow Hedge, Parent      
Derivative Instruments, Pre-Tax Effects Of Derivatives Designated As Cash Flow Hedging Instruments [Roll Forward]      
Beginning balance 24,502 (2,936) 13,072
Gross unrealized gains recognized in other comprehensive income 17,952 11,421 19,069
Ending balance 48,170 24,502 (2,936)
Accumulated Gain (Loss), Net, Cash Flow Hedge, Parent | Recognized in cost of revenues      
Derivative Instruments, Pre-Tax Effects Of Derivatives Designated As Cash Flow Hedging Instruments [Roll Forward]      
Net (gains) losses reclassified from cash flow hedge in accumulated other comprehensive income into profit or loss: 1,831 525 (1,326)
Accumulated Gain (Loss), Net, Cash Flow Hedge, Parent | Recognized in research and development      
Derivative Instruments, Pre-Tax Effects Of Derivatives Designated As Cash Flow Hedging Instruments [Roll Forward]      
Net (gains) losses reclassified from cash flow hedge in accumulated other comprehensive income into profit or loss: 16,890 10,513 (28,490)
Accumulated Gain (Loss), Net, Cash Flow Hedge, Parent | Recognized in marketing and sales      
Derivative Instruments, Pre-Tax Effects Of Derivatives Designated As Cash Flow Hedging Instruments [Roll Forward]      
Net (gains) losses reclassified from cash flow hedge in accumulated other comprehensive income into profit or loss: 1,337 220 (400)
Accumulated Gain (Loss), Net, Cash Flow Hedge, Parent | Recognized in general and administrative      
Derivative Instruments, Pre-Tax Effects Of Derivatives Designated As Cash Flow Hedging Instruments [Roll Forward]      
Net (gains) losses reclassified from cash flow hedge in accumulated other comprehensive income into profit or loss: 5,563 1,606 (4,861)
Accumulated Gain (Loss), Net, Cash Flow Hedge, Parent | Recognized in interest      
Derivative Instruments, Pre-Tax Effects Of Derivatives Designated As Cash Flow Hedging Instruments [Roll Forward]      
Net (gains) losses reclassified from cash flow hedge in accumulated other comprehensive income into profit or loss: $ (19,905) $ 3,153 $ 0