{
  "version": 3,
  "sources": ["/cdn/shop/t/48/assets/sat-sales-rank.js?x=27674"],
  "sourcesContent": ["/*\n * window.SATSalesRank \u2014 the one shared \"who's actually selling\" signal, used\n * by every spot on the site that picks a handful of products to put in front\n * of a shopper without a merchant having to hand-order them: the home\n * \"Featured This Week\" six (assets/sat-home-featured-patch.js) and The\n * Southern Air Import's home-page teaser (assets/sat-import-pager-patch.js).\n * Pulled out of sat-home-featured-patch.js (which used to carry its own\n * private copy of this list) so both places rank against the exact same\n * data instead of two lists that can quietly drift apart.\n *\n * RANK is real order-count-and-revenue data pulled from this shop's own\n * analytics (ShopifyQL `FROM sales SHOW gross_sales, net_sales, orders GROUP\n * BY product_title ORDER BY gross_sales DESC`, trailing 365 days, captured\n * 2026-09-10 \u2014 supersedes the 2026-09-09 pull the old copy of this list\n * carried). It's a snapshot, not a live query \u2014 re-pull and refresh\n * periodically as real sales accumulate, the same tradeoff\n * assets/sat-import-pager-patch.js's own PAGE1_PINNED_HANDLES makes for the\n * Import's page-1 order.\n *\n * bestSellersFirst() sorts a pool by two signals, in order:\n *   1. In stock beats sold out. A title can rank #1 on RANK below and still\n *      have nothing left on the shelf \u2014 that's real demonstrated demand, but\n *      it's a bad pick for the site's most visible spotlight if a shopper\n *      can't actually buy it there. Out-of-stock items still show (this is a\n *      ranking signal, not a filter \u2014 they sort to the back of their pool,\n *      not out of it), the same tradeoff RANK itself makes for products with\n *      no sales history yet.\n *   2. RANK order among items that tie on stock. A product with no sales\n *      history yet sorts after every product that has one, stable order\n *      among itself.\n */\n(function () {\n  'use strict';\n\n  var RANK = [\n    'German Tricot Long Sleeve Shirt',\n    'BRAND NEW Bundeswehr Flecktarn Field Shirt',\n    'Issued Greek Lizard Field Pants',\n    'Bexar Blood Weapon Lube by Bexar Arms - 2oz',\n    'USMC Double Mag Pouch',\n    'Czech Wool Socks',\n    'GERMAN OD WET WEATHER PONCHO USED',\n    'German Flecktarn Wet Weather Suspenders LIKE NEW',\n    'Bundeswehr Flecktarn Field Pants Issued',\n    'TAZ 83 Alpenflage Field Pants Issued',\n    'US Army OCP Trousers(Used)',\n    'Czech Bandages',\n    'USMC Sustainment Pouches',\n    'Bexar Blood Weapon Lube by Bexar Arms- 0.5oz',\n    'Flecktarn Winter Field Cap'\n  ];\n\n  function rankOf(p) {\n    var i = RANK.indexOf(String((p && p.name) || '').trim());\n    return i === -1 ? RANK.length : i;\n  }\n\n  function bestSellersFirst(pool) {\n    return (pool || [])\n      .map(function (p, i) { return { p: p, i: i }; })\n      .sort(function (a, b) {\n        var stockA = (a.p.stock > 0) ? 0 : 1;\n        var stockB = (b.p.stock > 0) ? 0 : 1;\n        return stockA - stockB || rankOf(a.p) - rankOf(b.p) || a.i - b.i;\n      })\n      .map(function (x) { return x.p; });\n  }\n\n  window.SATSalesRank = { rankOf: rankOf, bestSellersFirst: bestSellersFirst, list: RANK.slice() };\n})();\n"],
  "mappings": "CA+BC,UAAY,CACX,aAEA,IAAI,KAAO,CACT,kCACA,6CACA,kCACA,8CACA,wBACA,mBACA,oCACA,mDACA,0CACA,uCACA,6BACA,iBACA,2BACA,+CACA,4BACF,EAEA,SAAS,OAAO,EAAG,CACjB,IAAI,EAAI,KAAK,QAAQ,OAAQ,GAAK,EAAE,MAAS,EAAE,EAAE,KAAK,CAAC,EACvD,OAAO,IAAM,GAAK,KAAK,OAAS,CAClC,CAEA,SAAS,iBAAiB,KAAM,CAC9B,OAAQ,MAAQ,CAAC,GACd,IAAI,SAAU,EAAG,EAAG,CAAE,MAAO,CAAE,EAAG,EAAG,EAAG,CAAE,CAAG,CAAC,EAC9C,KAAK,SAAU,EAAG,EAAG,CACpB,IAAI,OAAU,EAAE,EAAE,MAAQ,EAAK,EAAI,EAC/B,OAAU,EAAE,EAAE,MAAQ,EAAK,EAAI,EACnC,OAAO,OAAS,QAAU,OAAO,EAAE,CAAC,EAAI,OAAO,EAAE,CAAC,GAAK,EAAE,EAAI,EAAE,CACjE,CAAC,EACA,IAAI,SAAU,EAAG,CAAE,OAAO,EAAE,CAAG,CAAC,CACrC,CAEA,OAAO,aAAe,CAAE,OAAQ,OAAQ,iBAAkB,iBAAkB,KAAM,KAAK,MAAM,CAAE,CACjG,GAAG",
  "names": []
}
