XML 18 R7.htm IDEA: XBRL DOCUMENT v3.23.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2023
Mar. 31, 2022
Operating activities    
Net loss $ (213,091) $ (18,699)
Adjustments to reconcile net loss to net cash provided by operating activities    
Depreciation and amortization 121,567 133,397
Share-based compensation expense 31,405 36,215
Deferred taxes 115,984 26,636
Unrealized loss (gain) on derivatives not designated as hedging instruments included in net loss 32,512 (25,639)
Effect of exchange rate changes on monetary assets and liabilities denominated in non-functional currency (6,972) (5,847)
Other non-cash items 15,200 (8,204)
Changes in operating assets and liabilities, net of effects of businesses acquired:    
Accounts receivable (4,840) (17,764)
Inventory (2,595) (31,964)
Prepaid expenses and other assets (5,071) (18,776)
Accounts payable (44,994) 35,860
Accrued expenses and other liabilities 29,369 26,501
Net cash provided by operating activities 68,474 131,716
Investing activities    
Purchases of property, plant and equipment (37,486) (42,142)
Business acquisitions, net of cash acquired 498 75,258
Proceeds from the sale of subsidiaries, net of transaction costs and cash divested (4,130)  
Capitalization of software and website development costs (44,181) (49,875)
Proceeds from the sale of assets 1,864 27,466
Purchases of marketable securities 84,030  
Proceeds from maturity of held-to-maturity investments 60,110 93,679
Payments for (Proceeds from) Hedge, Investing Activities 0 1,880
Other investing activities 0 (617)
Net cash used in investing activities (108,351) (48,627)
Financing activities    
Proceeds from borrowings of debt 48,264  
Payments of debt (57,947) (11,149)
Payments of debt issuance costs (51) (1,440)
Payments of purchase consideration included in acquisition-date fair value 7,100 43,647
Payments of withholding taxes in connection with equity awards (3,809) (3,098)
Payments of finance lease obligations (6,017) (35,099)
Purchase of noncontrolling interests 95,567 324
Distributions to noncontrolling interests 3,652 3,963
Other financing activities 113 (26)
Net cash used in financing activities (125,766) (98,746)
Effect of Exchange Rate on Cash and Cash Equivalents [Abstract]    
Effect of exchange rate changes on cash 3,580 (5,854)
Net decrease in cash and cash equivalents (162,063) (21,511)
Cash and cash equivalents at beginning of period (277,053) (183,023)
Cash and cash equivalents at end of period (114,990) (161,512)
Supplemental disclosures of cash flow information    
Interest 70,796 63,498
Income taxes 23,494 23,587
Property and equipment acquired under finance leases 14,405 3,755
Amounts accrued related to property, plant and equipment 9,045 10,115
Amounts accrued related to capitalized software development costs 116 215
Amounts accrued related to business acquisitions $ 0 $ 8,555