NOTES TO CONSOLIDATED FINANCIAL STATEMENTS OF AMERICAN AIRLINES GROUP INC. (n) Share-based Compensation (o) Foreign Currency Gains and Losses (p) Other Operating Expenses (q) Regional Expenses We account for our share-based compensation expense based on the fair value of the stock award at the time of grant, which is recognized ratably over the vesting period of the stock award. The majority of our stock awards are time vested restricted stock units, and the fair value of such awards is based on the market price of the underlying shares of AAG common stock on the date of grant. See Note 15 for further discussion of share-based compensation. Foreign currency gains and losses are recorded as part of other income, net within total nonoperating expense, net in our consolidated statements of operations. For the years ended December 31, 2019, 2018 and 2017, respectively, foreign currency losses were $32 million, $55 million and $4 million. Other operating expenses includes costs associated with ground and cargo handling, crew travel, aircraft food and catering, passenger accommodation, airport security, international navigation fees and certain general and administrative expenses. Expenses associated with American Eagle operations are classified as regional expenses on our consolidated statements of operations. Regional expenses consist of the following (in millions): Year Ended December 31, 2019 2018 2017 Aircraft fuel and related taxes $ 1,869 $ 1,843 $ 1,382 Salaries, wages and benefits 1,781 1,591 1,452 Capacity purchases from third-party regional carriers  (1) 1,398 1,431 1,581 Maintenance, materials and repairs 403 340 281 Other rent and landing fees 651 610 625 Aircraft rent 29 32 35 Selling expenses 402 369 361 Depreciation and amortization 336 318 315 Special items, net 6 6 22 Other 626 593 492 Total regional expenses $ 7,501 $ 7,133 $ 6,546 84 $^{(1)}$  In 2019, 2018, and 2017, we recognized $590 million, $565 million and $544 million, respectively, of expense under our capacity purchase agreement with Republic Airline Inc. (Republic). We hold a 25% equity interest in Republic Airways Holdings Inc. (Republic Holdings), the parent company of Republic.