v3.24.2.u1
Unaudited Interim Condensed Consolidated Statements of Cash Flows - USD ($)
$ in Thousands
6 Months Ended
Jun. 30, 2024
Jun. 30, 2023
Operating activities    
Net loss from continuing operations $ (21,088) $ (32,033)
Adjustments to reconcile net loss to net cash provided by operating activities    
Non-cash adjustments of inventory   1,081
Accretion expense 8,375 5,673
Depreciation of property and equipment and amortization of intangible assets 9,993 9,761
Amortization of operating right-of-use assets 1,481 932
Share-based compensation 3,446 3,694
Deferred income tax (recovery) expense (415) 815
Gain on fair value of derivative liabilities and purchase option derivative assets (1,939) (653)
Gain on disposal of fixed assets (17) 345
Unrealized and realized loss on investments 227 2,410
Loss from revaluation of contingent consideration 3,220  
Impairment of property and equipment and right of use assets 2,438  
Gain on lease termination (1,169)  
Bad debt recovery (1,307) (23)
Unrealized and realized foreign exchange loss (gain) 389 (132)
Changes in operating assets and liabilities    
Receivables 1,358 318
Inventory 1,970 (7,851)
Prepaid expense and other current assets 119 (319)
Deposits 53 431
Other assets 77 714
Accounts payable and accrued liabilities and other payables (8,019) 4,089
Operating lease liability (1,147) (337)
Other liability (536) (173)
Uncertain tax position liabilities 29,917 1,258
Corporate income tax payable (1,591) 22,127
Deferred revenue 545 157
Net cash provided by operating activities- continuing operations 26,380 12,284
Net cash used in operating activities - discontinued operations   (3,164)
Net cash provided by operating activities 26,380 9,120
Investing activities    
Investment in property and equipment (4,272) (4,504)
Investment in intangible assets (699) (262)
Principal payments received on lease receivable   104
Insurance recovery for property and equipment 871  
Receipt of convertible debenture payment   738
Payment for land contracts (478) (769)
Cash portion of consideration paid in acquisitions, net of cash of acquired (250) (14,469)
Net cash used in investing activities - continuing operations (4,828) (19,162)
Net cash provided investing activities - discontinued operations   14,285
Net cash used in investing activities (4,828) (4,877)
Financing activities    
Transfer of Employee Retention Credit   12,677
Proceeds from loan payable, net of transaction costs 3,137 23,872
Proceeds from options and warrants exercised   81
Loan principal paid (18,048) (40,359)
Loan amendment fee paid and prepayment premium paid   (1,178)
Capital distributions paid to non-controlling interests (1,564) (3,415)
Proceeds from private placement, net of share issuance costs   19,218
Payments made for financing obligations and finance lease (316) (941)
Net cash (used in) provided by financing activities- continuing operations (16,791) 9,955
Net cash used in financing activities- discontinued operations   (5,539)
Net cash (used in) provided by financing activities (16,791) 4,416
Net increase in cash and cash equivalents and restricted cash during the period 4,761 8,659
Net effects of foreign exchange 383 (901)
Cash and cash equivalents and restricted cash, beginning of the period 25,347 26,763
Cash and cash equivalents and restricted cash, end of the period 30,491 34,521
Supplemental disclosure with respect to cash flows    
Income taxes paid (refund received) (8,116) (4,582)
Interest paid 12,599 9,259
Lease termination fee paid 271  
Non-cash transactions    
Equity and warrant liability issued for acquisitions and non-controlling interest 4,674 10,267
Shares issued for legal and liability settlement   794
Distribution Payable to Non-controlling Interests 719  
Accrued capital purchases $ 811 $ 529

Source