Revolving Credit Facilities | Revolving Credit Facilities Credit Agreement The Company entered into a Credit Agreement, dated as of August 2, 2010 , subsequently amended most recently as of March 15, 2019 , among the Company, the lenders party thereto and Bank of America, N.A., as Administrative Agent (the “Credit Agreement”). The Company refinanced its debt on July 16, 2019 . At July 15, 2019, immediately preceding the refinancing, the Credit Agreement included a revolving commitment amount of $175.0 million and $160.0 million in the aggregate through September 25, 2019 and September 25, 2020 , respectively (the “Credit Facility”). The Credit Agreement also provided the Company the right to increase the aggregate commitment amount by an additional $50.0 million . Outstanding borrowings under the Credit Facility were guaranteed by the Company’s material domestic subsidiaries, as defined in the Credit Agreement. The Company’s obligations under the Credit Agreement and such domestic subsidiaries’ guaranty obligations were secured by substantially all of their respective assets. The ranges of applicable rates charged for interest on outstanding loans and letters of credit were 50 - 225 basis point spread for loans based on the base rate and 150 - 325 basis point spread for letter of credit fees and loans based on the Eurodollar rate. The most recent amendment (i) modified the definition of the term “Consolidated EBITDA” as used in the covenant calculations, (ii) increased the maximum leverage ratio to which the Company is subject for the trailing twelve month periods ended December 31, 2018 and March 31, 2019 and (iii) decreased the minimum interest coverage ratio to which the Company is subject for the trailing twelve month periods ended December 31, 2018 and March 31, 2019. All ratios for fiscal periods thereafter remained unchanged. The terms of the Credit Agreement included various covenants, including covenants that require the Company to maintain a maximum leverage ratio and a minimum interest coverage ratio. The most recent amendment to the Credit Agreement modified the maximum leverage ratio from 3.50 to 1.00 to 4.50 to 1.00 for the trailing twelve months ended December 31, 2018, and from 3.00 to 1.00 to 4.75 to 1.00 for the trailing twelve months ended March 31, 2019. The maximum leverage ratio is 3.00 to 1.00 for the trailing twelve months ended June 30, 2019 and each period thereafter. The most recent amendment to the Credit Agreement also modified the minimum interest coverage ratio from 5.00 to 1.00 to 4.00 to 1.00 for the trailing twelve months ended December 31, 2018 and from 5.00 to 1.00 to 3.50 to 1.00 for the trailing twelve months ended March 31, 2019. The minimum interest coverage ratio is 5.00 to 1.00 for the trailing twelve months ended June 30, 2019 and each period thereafter. The Company was in violation of the debt covenants under the Credit Agreement as of June 30, 2019; however, the Company successfully completed refinancing of its debt on July 16, 2019, which is further discussed below. ABL Credit Agreement On July 16, 2019 , the Company and certain of its direct and indirect subsidiaries entered into a loan and security agreement (the “ABL Credit Agreement”) with Bank of America, N.A., as administrative agent, lender, issuing bank and collateral agent, and JPMorgan Chase Bank, N.A. and PNC Bank, National Association, as lenders (the “ABL Credit Facility”). The Company used the initial proceeds from the ABL Credit Facility (in combination with the initial proceeds from the Term Loan Credit Facility discussed in Note 13 , Long-Term Debt ) to repay in full its existing Credit Facility, along with fees and transaction expenses incurred in connection with the closing of the ABL Credit Facility and for working capital purposes. Some, but not all, lenders from the previous the Credit Agreement continued as lenders in the ABL Credit Agreement. Unamortized deferred financing fees associated with non-continuing lenders of $0.1 million were written off as a result of the refinancing. The ABL Credit Facility consists of a $105.0 million asset-based revolving line of credit, of which up to (i) $15.0 million may be used for UK Revolver Loans (as defined in the ABL Credit Agreement), (ii) $10.5 million may be used for Swingline Loans (as defined in the ABL Credit Agreement), and (iii) $10.0 million may be used for letters of credit. The ABL Credit Agreement provides that the revolving line of credit may be increased by up to an additional $20.0 million following satisfaction of certain conditions. The ABL Credit Facility matures on July 16, 2024 . Advances under the ABL Credit Facility bear interest at either: (a) LIBOR (as defined in the ABL Credit Agreement), plus an applicable margin ranging from 2.00% to 2.50% for US LIBOR Loans and UK LIBOR Loans (each as defined in the ABL Credit Agreement); (b) the US Base Rate (as defined in the ABL Credit Agreement), plus an applicable margin ranging from 1.00% to 1.50% for US Base Rate Loans (as defined in the ABL Credit Agreement); or (c) the UK Base Rate (as defined in the ABL Credit Agreement), plus an applicable margin ranging from 2.00% to 2.50% for UK Base Rate Loans (as defined in the ABL Credit Agreement). The Company’s obligations under the ABL Credit Agreement are guaranteed by certain of its subsidiaries pursuant to a guaranty included in the ABL Credit Agreement. As security for the Company’s and its subsidiaries’ obligations under the ABL Credit Agreement, each of the Company and the subsidiaries party thereto have granted: (i) a first priority lien on the Company’s and such subsidiaries’ accounts receivable, chattel paper (to the extent evidencing accounts receivable), inventory, deposit accounts, general intangibles related to the foregoing and proceeds related thereto; and (ii) a second-priority lien on substantially all its other tangible and intangible personal property, including the capital stock of certain of the Company’s direct and indirect subsidiaries. The priority of the liens is described in an intercreditor agreement between Bank of America, N.A. as ABL Agent and TCW Asset Management Company LLC as Term Agent (the “Intercreditor Agreement”). The ABL Credit Agreement contains a minimum fixed charge coverage ratio financial covenant that must be maintained when excess availability falls below a specified amount. In addition, the ABL Credit Agreement contains negative covenants limiting, among other things, additional indebtedness, transactions with affiliates, additional liens, sales of assets, dividends, investments and advances, prepayments of debt, mergers and acquisitions, and other matters customarily restricted in such agreements. The ABL Credit Agreement also contains customary events of default, including payment defaults, breaches of representations and warranties, covenant defaults, events of bankruptcy and insolvency, failure of any guaranty or security document supporting the ABL Credit Agreement to be in full force and effect, and a change of control of the Company’s business. The usage and total commitment of these Loans shall not exceed the respective borrowing base set forth in the ABL Credit Agreement. Within the ABL Credit Agreement, there is a cash dominion requirement for the United States ("US") and United Kingdom ("UK"). In the United States, Bank of America, N.A. (the agent) shall only exercise cash dominion and apply all customer collections of the US borrowers to US obligations when a Trigger Period exists, as defined in the ABL Credit Agreement. In the United Kingdom, all customer collections of the UK borrowers will be applied on a daily basis to any outstanding UK obligations and any credit balance will be transferred back to an account of the UK borrowers. The customer collections of the UK borrowers are only applied against the UK obligations. As a result of the cash dominion, the amount outstanding under the ABL Credit Agreement for UK borrowers has been classified as a current obligation. The amount outstanding under the ABL Credit Agreement for US borrowers has been classified as a long-term obligation, as no Trigger Period has yet occurred nor is considered probable. The amounts outstanding under the ABL Credit Agreement as of September 30, 2019 for the UK borrowers and the US borrowers are $4.6 million and $76.9 million , respectively. At the time of the Company’s debt refinancing, there was $0.3 million of unamortized debt issuance fees associated with lenders under both the prior Credit Agreement and the ABL Credit Agreement. Additionally, the Company incurred $1.7 million of deferred financing fees related to the financing transaction described above. The aforementioned deferred financing fees are presented as an asset and amortized on a straight-line basis over the term of the ABL Credit Agreement. Amortization of deferred financing fees is recorded in interest expense and was approximately $0.1 million . The Company has determined that the interest rate reset features embedded in the ABL Credit Agreement constitute an embedded derivative (collectively, the “ABL Embedded Derivative”) which has been bifurcated from the ABL Credit Facility and recorded as a derivative liability at fair value, with a corresponding discount recorded to the associated debt. The Company recorded immaterial interest expense for the amortization of the ABL Embedded Derivative discount through September 30, 2019 . The following schedule shows the change in fair value of the ABL Embedded Derivative at September 30, 2019 (in thousands): December 31, 2018 $ — Issuance of associated debt (July 16, 2019) 599 Change in fair value (58 ) September 30, 2019 $ 541 The change in fair value is recorded within other expense on the Company’s Condensed Consolidated Statements of Comprehensive Loss. Refer to Note 10 , Fair Value Measurement , for further discussion. The Company’s ABL Credit Facility at September 30, 2019 is summarized as follows (in thousands): ABL Credit Facility outstanding $ 81,472 Less: Current portion of ABL Credit Facility for UK Borrowings (4,585 ) Long-term portion of ABL Credit Facility 76,887 Less: ABL Embedded Derivative Discount (1) (599 ) ABL Embedded Derivative Liability (2) 541 Total Revolving credit facility - non-current $ 76,829 (1) Original value of embedded derivative at July 16, 2019, less amortization. (2) Value of embedded derivative as of September 30, 2019. At September 30, 2019 , the Company had $1.3 million of letters of credit outstanding which have not been drawn upon. On February 22, 2016 , the Company entered into a Revolving Credit Facility (the “Facility”) with Bank of America N.A. to support ongoing working capital needs of the Company's operations in China. The Facility includes a revolving commitment amount of $5.0 million whereby maturity dates vary based on each individual drawdown. On July 16, 2019, the Company modified the Facility to decrease the total revolving commitment amount from $5.0 million to $1.0 million . All other terms of the Facility remained unchanged. Outstanding borrowings under the Facility are guaranteed by the Company’s assets. Borrowings and repayments are made in renminbi, the official Chinese currency. The applicable interest rate is 110% of the People’s Bank of China’s base rate. The terms of the Facility include limitations on use of funds for working capital purposes as well as customary representations and warranties made by the Company. At September 30, 2019 , the Company had $0.5 million of unused availability under the Facility. Long-Term Debt On July 16, 2019 , the Company and certain of its direct and indirect subsidiaries entered into a loan and security agreement (the “Term Loan Credit Agreement”) with TCW Asset Management Company LLC, as administrative agent and collateral agent, and the financial institutions party thereto as lenders (the “Term Loan Credit Facility”). The Term Loan Credit Facility consists of a $100.0 million term loan facility. The Term Loan Credit Facility matures on July 16, 2024 . Principal on the Term Loan Credit Facility is due in quarterly installments, commencing on September 30, 2019, in an amount equal to $1.3 million per quarter during the first year of the Term Loan Credit Facility and $2.5 million each quarter thereafter. The loans under the Term Loan Credit Facility bear interest at either: (a) the LIBOR Rate (as defined in the Term Loan Credit Agreement), plus an applicable margin ranging from 6.25% to 10.75% ; or (b) the Prime Rate (as defined in the Term Loan Credit Agreement), plus an applicable margin ranging from 5.25% to 9.75% . The Company’s obligations under the Term Loan Credit Agreement are guaranteed by certain of its subsidiaries pursuant to a guaranty included in the Term Loan Credit Agreement. As security for the Company’s and its subsidiaries’ obligations under the Term Loan Credit Agreement, each of the Company and the subsidiaries party thereto have granted: (i) a first priority lien on substantially all its tangible and intangible personal property (other than the assets described in the following clause (ii)), including the capital stock of certain of the Company’s direct and indirect subsidiaries, and (ii) a second priority lien on its accounts receivable, chattel paper (to the extent evidencing accounts receivable), inventory, deposit accounts, general intangibles related to the foregoing and proceeds related thereto. The priority of the liens is described in the Intercreditor Agreement. The Term Loan Credit Agreement contains a minimum fixed charge coverage ratio financial covenant, a maximum total leverage ratio financial covenant, a minimum liquidity financial covenant and a maximum capital expenditures covenant, each of which must be maintained for the periods described in the Term Loan Credit Agreement. In addition, the Term Loan Credit Agreement contains negative covenants limiting, among other things, additional indebtedness, transactions with affiliates, additional liens, sales of assets, dividends, investments and advances, prepayments of debt, mergers and acquisitions, and other matters customarily restricted in such agreements. The Term Loan Credit Agreement also contains customary events of default, including payment defaults, breaches of representations and warranties, covenant defaults, events of bankruptcy and insolvency, failure of any guaranty or security document supporting the Term Loan Credit Agreement to be in full force and effect, and a change of control of the Company’s business. The principal outstanding as of September 30, 2019 is $98.8 million . The Company has determined the interest rate reset features embedded in the Term Loan Credit Agreement constitute an embedded derivative (collectively, the “Term Loan Embedded Derivative”) which has been bifurcated from Term Loan Credit Facility and recorded as a derivative liability at fair value, with a corresponding discount recorded to the associated debt. The Company recorded immaterial interest expense for the amortization of the Term Loan Embedded Derivative discount through September 30, 2019. The following schedule shows the change in fair value of the Term Loan Embedded Derivative at September 30, 2019 (in thousands): December 31, 2018 $ — Issuance of associated debt (July 16, 2019) 481 Change in fair value (39 ) September 30, 2019 $ 442 The change in fair value is recorded within other expense on the Company’s Condensed Consolidated Statements of Comprehensive Loss. Refer to Note 10 , Fair Value Measurement , for further discussion. In connection with the closing of the Term Loan Credit Agreement, the Company issued a Warrant (as defined below) to Macquarie US Trading LLC, an affiliate of TCW Asset Management Company LLC, to purchase fully paid and non-assessable shares of common stock of the Company. The Warrant is initially exercisable for an aggregate of 1,335,337 shares of the Company’s common stock with a per share exercise price of $0.01 (the “Initial Warrant”). The Initial Warrant is exercisable on or after (A) the date which is 10 days after the earlier of (x) the date that the Company delivers its financial statements for the fiscal quarter ending March 31, 2020 to the administrative agent and (y) May 15, 2020 (the “First Quarter Reporting Period End Date”) through (B) July 16, 2024 . In addition, if either (x) the Total Leverage Ratio (as defined in the Term Loan Credit Agreement) as of March 31, 2020 for the four (4) consecutive fiscal quarter period then ended is greater than 4.25 to 1.00 or (y) the Company fails to deliver financial statements to the administrative agent as required by the Term Loan Credit Agreement for the fiscal quarter ending March 31, 2020, then from the First Quarter Reporting Period End Date through July 16, 2024, the Warrant shall also be exercisable for an additional 2.49% of the Company’s common stock calculated on a fully-diluted basis (the “Additional Warrant” or “Contingent Warrant” and together with the Initial Warrant, the “Warrant”). The Warrant may be exercised on a cashless basis, and the number of shares for which the Warrant are exercisable and the associated exercise price are subject to certain proportional adjustments as set forth in the Warrant. In addition, the holder of the Warrant is entitled to certain piggyback registration rights. In the event that the Total Leverage Ratio is less than 4.00 to 1.00 at any time between April 1, 2020 and March 31, 2021 (the “Buyback Period”) based on financial statements delivered to agent pursuant to the terms of the Term Loan Credit Agreement, and calculated on a pro forma basis factoring in the repurchase described in the Warrant, then on any day during the Buyback Period, the Company shall be permitted, upon 5 business days prior written notice given to Holder, to repurchase either (x) any portion of the Warrant not yet exercised and/or (y) any shares of common stock received from the Company pursuant to prior exercise of the Warrant, in each case at the Applicable Buyback Price (as defined in the Warrant) by paying cash to the Holder (“Buyback Option”). The Initial Warrant was recorded as a liability at fair value and will be treated as a discount on the associated debt. The following schedule shows the change in fair value of the Initial Warrant at September 30, 2019 (in thousands): December 31, 2018 $ — Issuance of initial warrant (July 16, 2019) 4,304 Change in fair value 950 September 30, 2019 $ 5,254 The change in fair value is recorded within other expense on the Company’s Condensed Consolidated Statements of Comprehensive Loss. The fair value associated with the Contingent Warrant is considered de minimis at September 30, 2019 . The Term Loan is presented net of the related original issue discount (“OID”), which was $8.5 million on the issuance date of July 16, 2019. Accretion of OID is included in interest expense. The Company incurred $3.7 million of deferred financing fees related to the Term Loan Credit Agreement that has been recorded as a debt discount. The combined debt discount from the Initial Warrant liability, the Term Loan Embedded Derivative liability, and the debt issuance fees is being amortized into interest expense over the term of the Term Loan Credit Facility using the effective interest method. The Company recorded interest expense for the amortization of the Initial Warrant liability and Term Loan Embedded Derivative liability debt discounts of $0.2 million for the three and nine months ended September 30, 2019 and recorded an additional $0.2 million of interest expense for the amortization of the debt issuance fees for the three and nine months ended September 30, 2019 . The Company’s Term Loan Credit Facility at September 30, 2019 is summarized as follows (in thousands): Term Loan Credit Facility outstanding $ 98,750 Less: Current portion of Term Loan Credit Facility (6,250 ) Long-term portion of Term Loan Credit Facility 92,500 Less: Original Issue Discount (1) (8,205 ) Term Loan Embedded Derivative Liability (2) 442 Initial Warrant Liability (2) 5,254 Total Term Loan - Non-current $ 89,991 (1) Original value of OID attributable to debt issuance costs, warrant liability and embedded derivatives at July 16, 2019, less amortization. (2) Value of warrant liability and embedded derivatives as of September 30, 2019. Remediation of Going Concern The Company’s independent registered public accounting firm’s report on the Company’s December 31, 2018 consolidated financial statements contains an emphasis of a matter regarding substantial doubt about the Company’s ability to continue as a going concern. Following the successful refinancing of its debt described above and in Note 12, Revolving Credit Facilities |