1var Shopify=Shopify||{};Shopify.money_format="{{amount}}",Shopify.formatMoney=function(r,u){typeof r=="string"&&(r=r.replace(".",""));var t="",n=/\{\{\s*(\w+)\s*\}\}/,_=u||this.money_format;function i(a,e){return typeof a>"u"?e:a}function o(a,e,f,m){if(e=i(e,2),f=i(f,","),m=i(m,"."),isNaN(a)||a==null)return 0;a=(a/100).toFixed(e);var l=a.split("."),d=l[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1"+f),p=l[1]?m+l[1]:"";return d+p}switch(_.match(n)[1]){case"amount":t=o(r,2);break;case"amount_no_decimals":t=o(r,0);break;case"amount_with_comma_separator":t=o(r,2,".",",");break;case"amount_no_decimals_with_comma_separator":t=o(r,0,".",",");break}return _.replace(n,t)}; 2//# sourceMappingURL=shopify_money.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.