XML 21 R7.htm IDEA: XBRL DOCUMENT v3.21.1
Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
9 Months Ended
Mar. 31, 2021
Mar. 31, 2020
Operating activities    
Net (loss) income $ (15,018) $ 127,000
Adjustments to reconcile net (loss) income to net cash provided by operating activities:    
Depreciation and amortization 128,696 126,731
Impairment of goodwill 0 100,842
Share-based compensation expense 23,071 22,739
Impairment of long-lived assets 19,882  
Deferred taxes 2,513 (109,990)
Unrealized loss (gain) on derivatives not designated as hedging instruments included in net (loss) income 18,280 (4,604)
Effect of exchange rate changes on monetary assets and liabilities denominated in non-functional currency 2,537 (1,027)
Other non-cash items 2,149 4,936
Changes in operating assets and liabilities:    
Accounts receivable (9,651) 13,750
Inventory 4,982 (7,876)
Prepaid expenses and other assets (5,242) 11,631
Accounts payable 10,590 5,590
Accrued expenses and other liabilities 36,159 (5,661)
Net cash provided by operating activities 218,948 284,061
Investing activities    
Purchases of property, plant and equipment (22,736) (38,638)
Business acquisitions, net of cash acquired (36,395) (4,272)
Capitalization of software and website development costs (45,321) (35,824)
Proceeds from the sale of assets 3,574 1,633
Other investing activities (269) 1,556
Net cash used in investing activities (101,147) (47,813)
Financing activities    
Proceeds from borrowings of debt 534,051 1,043,600
Proceeds from issuance of senior notes 0 210,500
Payments of debt (639,519) (603,049)
Payments of debt issuance costs (2,461) (4,862)
Payments of purchase consideration included in acquisition-date fair value 1,205 358
Payments of purchase consideration included in acquisition-date fair value (1,205) (358)
Payments of withholding taxes in connection with equity awards (5,593) (41,417)
Payments of finance lease obligations (5,486) (8,354)
Payments for Repurchase of Redeemable Noncontrolling Interest 5,063  
Purchase of noncontrolling interests (5,063)  
Purchase of ordinary shares 0 (627,056)
Proceeds from issuance of ordinary shares   6
Payments to Noncontrolling Interests 4,599 3,955
Distribution to noncontrolling interest (4,599) (3,955)
Cash and cash equivalents at end of period (310) (1,811)
Net cash used in financing activities (130,185) (36,756)
Effect of exchange rate changes on cash 3,727 (5,180)
Change in cash held for sale   (1,326)
Cash, Cash Equivalents, Restricted Cash and Restricted Cash Equivalents, Period Increase (Decrease), Including Exchange Rate Effect, Total (8,657) 192,986
Cash and cash equivalents at beginning of period 45,021 35,279
Cash and cash equivalents at end of period 36,364 228,265
Supplemental disclosures of cash flow information    
Interest 66,314 42,763
Income taxes 13,056 9,720
Property and equipment acquired under finance leases 5,630 1,591
Amounts accrued related to business acquisitions $ 44,680 $ 2,369