XML 29 R5.htm IDEA: XBRL DOCUMENT v3.6.0.2
Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
12 Months Ended
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Statement of Cash Flows [Abstract]      
Net income (loss) $ (419,003) $ 36,131 $ 128,088
Adjustments to reconcile net income (loss) to net cash provided by (used in) operating activities:      
Depreciation and amortization 41,640 28,981 17,945
Stock-based compensation 69,527 80,680 71,399
Excess tax benefit from stock-based compensation (3,463) (29,348) (77,134)
Deferred income taxes 38,568 (11,468) (16,920)
Non-cash restructuring charges 17,601 0 0
Impairment of intangible assets 7,088 0 0
Other 7,574 5,427 1,865
Changes in operating assets and liabilities:      
Accounts receivable, net (18,816) 38,313 (61,323)
Inventory 21,040 (35,005) (41,033)
Prepaid expenses and other assets (14,618) (23,281) (30,317)
Accounts payable and other liabilities 142,941 68,461 98,354
Deferred revenue 2,168 (1,280) 5,998
Net cash provided by (used in) operating activities (107,753) 157,611 96,922
Investing activities:      
Purchases of property and equipment, net (43,627) (51,245) (27,210)
Purchases of marketable securities 0 (220,055) (103,827)
Maturities of marketable securities 119,918 94,680 1,083
Sale of marketable securities 47,348 30,048 0
Acquisitions, net of cash acquired (104,353) (65,405) (3,950)
Net cash provided by (used in) investing activities 19,286 (211,977) (133,904)
Financing activities:      
Proceeds from issuance of common stock, net 2,775 22,833 300,097
Excess tax benefit from stock-based compensation 3,463 29,348 77,134
Payment of deferred acquisition-related consideration (950) 0 (2,000)
Payment of credit facility issuance costs (3,333) 0 0
Payment of deferred public offering costs 0 (903) (5,730)
Repurchases of outstanding common stock 0 (35,613) 0
Repayment of debt 0 0 (114,000)
Net cash provided by financing activities 1,955 15,665 255,501
Effect of exchange rate changes on cash and cash equivalents (1,046) (1,556) 0
Net increase (decrease) in cash and cash equivalents (87,558) (40,257) 218,519
Cash and cash equivalents at beginning of period 279,672 319,929 101,410
Cash and cash equivalents at end of period 192,114 279,672 319,929
Supplementary cash flow disclosure:      
Cash paid for interest 0 0 1,853
Cash paid (refunded) for income taxes, net 9,690 (1,093) 37,283
Non-cash investing and financing activities:      
Conversion of preferred stock to common stock, net 0 0 77,198
Purchases of property and equipment included in accounts payable and accrued liabilities 2,258 5,153 2,474
Reclass of deferred public offering costs to additional paid-in capital $ 0 $ 0 $ 7,722