PageSourceSearch

https://crispsheets.com/dist/assets/PreOprderBenefits.js

js crispsheets.com collected 2026-10-10 01:40:59 UTC 821 bytes, 2 lines download raw bytes

1import{n as t}from"./_plugin-vue2_normalizer.js";const e=t({name:"PreOrderBenefits",props:{product:Object,text:String},computed:{show(){return this.product&&this.text&&this.amount},amount(){if(!this.product.price||!this.product.salePrice)return 0;const t=parseFloat(this.product.price.replace(/[^0-9.]/g,"")),e=parseFloat(this.product.salePrice.replace(/[^0-9.]/g,""));return!Number.isFinite(t)||!Number.isFinite(e)||e>=t?0:Math.round(100*(t-e))/100},benefitsText(){return this.text.replace("{amount}",this.amount)}}},(function(){var t=this,e=t._self._c;return t.show?e("span",{staticClass:"text-red flex items-center"},[t._t("icon"),t._v(" "),e("span",{staticClass:"block"},[t._v(t._s(t.benefitsText))])],2):t._e()}),[],!1,null,null,null,null).exports;export{e as default};
2//# sourceMappingURL=PreOprderBenefits.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.