XML 18 R7.htm IDEA: XBRL DOCUMENT v3.23.3
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Sep. 30, 2023
Sep. 30, 2022
Operating activities    
Net income (loss) $ 4,569 $ (24,741)
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:    
Depreciation and amortization 39,942 40,942
Share-based compensation expense 12,453 10,631
Deferred taxes (1,118) (1,024)
Gain on early extinguishment of debt 1,372 0
Unrealized gain on derivatives not designated as hedging instruments included in net income (loss) (6,261) (14,024)
Effect of exchange rate changes on monetary assets and liabilities denominated in non-functional currency 1,885 (749)
Other non-cash items (1,229) 2,158
Changes in operating assets and liabilities, net of effects of businesses acquired:    
Accounts receivable (2,209) (9,460)
Inventory (401) (36,434)
Prepaid expenses and other assets 4,214 3,151
Accounts payable (22,209) (12,013)
Accrued expenses and other liabilities 13,990 16,312
Net cash provided by (used in) operating activities 42,254 (25,251)
Investing activities    
Purchases of property, plant and equipment (22,565) (11,758)
Capitalization of software and website development costs (14,397) (15,330)
Proceeds from the sale of assets 5,636 122
Purchases of marketable securities   84,030
Proceeds from maturity of held-to-maturity investments 20,500 9,953
Net cash used in investing activities (10,826) (101,043)
Financing activities    
Proceeds from borrowings of debt 173 10,000
Payments of debt (3,784) (13,256)
Payment for early redemption of senior notes (19,815) 0
Payments of debt issuance costs   (23)
Payments of purchase consideration included in acquisition-date fair value   225
Payments of withholding taxes in connection with equity awards (8,404) (2,212)
Payments of finance lease obligations (2,768) (2,412)
Proceeds from issuance of ordinary shares 82 0
Other financing activities (549) (3,652)
Net cash used in financing activities (35,065) (11,780)
Effect of exchange rate changes on cash (1,477) (6,879)
Net decrease in cash and cash equivalents (5,114) (144,953)
Cash and cash equivalents at beginning of period (130,313) (277,053)
Cash and cash equivalents at end of period (125,199) (132,100)
Supplemental Cash Flow Elements [Abstract]    
Interest Paid, Excluding Capitalized Interest, Operating Activities 24,239 15,060
Income Taxes Paid 15,794 4,257
Interest Received, Operating Activities 3,349 2,074
Payments to Acquire Equipment on Lease 386 2,412
Capital Expenditures Incurred but Not yet Paid 6,403 9,500
Capitalized Software Development Costs Incurred but Not yet Paid 205 213
Amounts accrued related to business acquisitions $ 0 $ 8,463