XML 17 R7.htm IDEA: XBRL DOCUMENT v3.21.2
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
3 Months Ended
Sep. 30, 2021
Sep. 30, 2020
Operating activities    
Net income (loss) $ 4,067 $ (10,078)
Adjustments to reconcile net income (loss) to net cash provided by operating activities:    
Depreciation and amortization 44,432 42,290
Share-based compensation expense 11,006 8,283
Deferred taxes (1,138) (32)
Unrealized (gain) loss on derivatives not designated as hedging instruments included in net income (loss) (16,534) 14,628
Effect of exchange rate changes on monetary assets and liabilities denominated in non-functional currency (8,853) (4,958)
Other non-cash items (471) (3,192)
Changes in operating assets and liabilities:    
Accounts receivable (7,149) (12,448)
Inventory (11,744) (3,111)
Prepaid expenses and other assets (4,832) 2,523
Accounts payable 10,290 38,684
Accrued expenses and other liabilities 17,493 26,708
Net cash provided by operating activities 36,567 105,681
Investing activities    
Purchases of property, plant and equipment (8,624) (8,383)
Capitalization of software and website development costs (15,639) (14,804)
Proceeds from the sale of assets 1,699 2,103
Proceeds from maturity of held-to-maturity investments 10,000  
Other investing activities (617) 0
Net cash used in investing activities (13,181) (21,084)
Financing activities    
Proceeds from borrowings of debt 0 99,000
Payments of debt (4,111) (182,726)
Payments of debt issuance costs (1,137) (410)
Payments of purchase consideration included in acquisition-date fair value 0 648
Payments of withholding taxes in connection with equity awards (2,579) (5,592)
Payments of finance lease obligations (2,526) (1,592)
Other financing activities 2 (11)
Net cash used in financing activities (10,351) (91,979)
Effect of exchange rate changes on cash (2,827) 2,590
Net increase (decrease) in cash and cash equivalents 10,208 (4,792)
Cash and cash equivalents at beginning of period 183,023 45,021
Cash and cash equivalents at end of period 193,231 40,229
Supplemental disclosures of cash flow information    
Interest 14,358 9,078
Income taxes 7,767 352
Property and equipment acquired under finance leases 865 76
Amounts accrued related to business acquisitions $ 44,852 $ 1,676