PageSourceSearch

https://morenutrition.de/cdn/shop/t/574/assets/qnCodeInfo.Ip8kYjpZ.min.js

js morenutrition.de collected 2026-09-25 20:43:02 UTC 761 bytes, 1 lines download raw bytes

1import{d}from"./theme.BUvWqrRt.min.js";const b=d(i=>({discount:"",subscriber:void 0,async init(){await this.fetchDiscount(),this.subscriber=subscribe(PUB_SUB_EVENTS.cartUpdate,async()=>{await this.fetchDiscount()})},async fetchDiscount(){const{productId:c,variantId:o,tags:a,subTotal:s,variantTags:e=[]}=i,n=(i.compareAtPrice??0)>s,r=await co2.getDiscountCode();let t;r?t=await co2.itemDiscountFull(c,o,a,s,1,e,n):await co2.standardDiscountCode()&&(t=await co2.standardDiscount(c,o,a,s,1,e,n)),t&&(t.discPerc>0||t.discAmt>0)?this.discount=t.calc==="amt"?"-"+this.$currency.format(t.discAmt*100,"money_with_currency"):`-${Math.round(t.discPerc)}%`:this.discount=""},destroy(){this.subscriber&&(this.subscriber(),this.subscriber=void 0)}}));export{b as default};

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.