1/* 2Generated time: April 29, 2026 06:35 3This file was created by the app developer. Feel free to contact the original developer with any questions. It was minified (compressed) by AVADA. AVADA do NOT own this script. 4*/ 5var loadScript=function(e,t){var r=document.createElement("script"),e=(r.type="text/javascript",r.readyState?r.onreadystatechange=function(){"loaded"!=r.readyState&&"complete"!=r.readyState||(r.onreadystatechange=null,t())}:(r.onreadystatechange=t,r.onload=t),r.src=e,document.getElementsByTagName("script")[0]);e.parentNode.insertBefore(r,e)},startProductLabel2=function(I,z){if(I.cookie=function(e,t,r){if(void 0===t){var a=null;if(document.cookie&&""!=document.cookie)for(var i=document.cookie.split(";"),n=0;n<i.length;n++){var o=z.trim(i[n]);if(o.substring(0,e.length+1)==e+"="){a=decodeURIComponent(o.substring(e.length+1));break}}return a}r=r||{},null===t&&(t="",r.expires=-1);var s="",p=(r.expires&&("number"==typeof r.expires||r.expires.toUTCString)&&("number"==typeof r.expires?(p=new Date).setTime(p.getTime()+24*r.expires*60*60*1e3):p=r.expires,s="; expires="+p.toUTCString()),r.path?"; path="+r.path:""),l=r.domain?"; domain="+r.domain:"",r=r.secure?"; secure":"";document.cookie=[e,"=",encodeURIComponent(t),s,p,l,r].join("")},I.plCookie={configuration:{expires:365,path:"/",domain:window.location.hostname},name:"scm_product_label_app",count:"scm_product_label_count",isInstalled:function(){var e=(e=I.cookie(this.count))||0;I.cookie(this.count,++e,this.configuration);for(var t=document.head.getElementsByTagName("script"),r=0;r<t.length;++r)if(0<=t[r].innerText.indexOf("asyncLoad")&&0<=t[r].innerText.indexOf("d3azqz9xba9gwd.cloudfront.net"))return console.log("already has scripttag, load PL"),!0;return"installed"===I.cookie(this.name)&&e<3}},"product"==I.page&&!0!==I.pl.overrideUpdateSelectors&&"undefined"!=typeof Shopify&&void 0!==Shopify.OptionSelectors){var e=!1;if(!(e=void 0!==Shopify.urlParam&&Shopify.urlParam("variant")?!0:e))try{Shopify.OptionSelectors.prototype.updateSelectors=function(e,t){var r=this.selectedValues(),r=this.product.getVariant(r);r?(this.variantIdField.disabled=!1,this.variantIdField.value=r.id):this.variantIdField.disabled=!0,this.onVariantSelected(r,this,t),null!=this.historyState&&this.historyState.onVariantChange(r,this,t),this.variantIdField.disabled||null==this.historyState&&void 0!==I.pl.showLabel&&I.pl.showLabel(this.variantIdField.value)},I.pl.overrideUpdateSelectors=!0}catch(e){console.log("SECOMAPP PL OptionSelectors version mismatch")}}function n(){var e=void 0===I.pl.pisRegex?z('a[href*="/products/"]:not([href*=".jp"]):not(form a[href*="/products/"]):not(.related-products a[href*="/products/"]):not(.not-sca-pl a[href*="/products/"]):not([href*=".JP"]):not([href*=".png"]):not([href*=".PNG"])').has('img[src*="/products/"]:not([class*="not-sca-pl"]), img[src*="/no-image"], img[data-src*="/products/"]:not([class*="not-sca-pl"]), img[data-src*="/no-image"]'):z(I.pl.pisRegex),i={};return e.each(function(e,t){var r,a;(z(t).attr("href")||z(t).attr("data-href"))&&(r=(r=(r=(r=z(t).attr("href"))||z(t).attr("data-href")).split("/"))[r.length-1].split(/[?#]/)[0],i.hasOwnProperty(r)?((a=i[r])instanceof Array||(i[r]=a=[a]),a.push(t)):i[r]=t,r!==(r=decodeURI(r)))&&(i.hasOwnProperty(r)?((a=i[r])instanceof Array||(i[r]=a=[a]),a.push(t)):i[r]=t)}),i}function C(){void 0===I.pl.piRegex?e=z('img[src*="/products/"][src*="/cdn.shopify.com/s/files/"][src*=".jp"],img[src*="/products/"][src*="/cdn.shopify.com/s/files/"][src*=".JP"],img[src*="/products/"][src*="/cdn.shopify.com/s/files/"][src*=".png"],img[src*="/products/"][src*="/cdn.shopify.com/s/files/"][src*=".PNG"]'):void 0!==(e=z(I.pl.piRegex))&&0!==e.length||(void 0===I.pl.retry?I.pl.retry=1:I.pl.retry=I.pl.retry+1,I.pl.retry<5&&setTimeout(function(){I.pl.labelProduct()},1e3));var e,i,n=0,o=z("meta[property='og:title']").attr("content");return void 0!==I.pl.piRegex&&1===e.length?i=e[0]:e.each(function(e,t){var r,a;"0"!==z(t).css("opacity")&&"hidden"!==z(t).css("visibility")&&"none"!==z(t).css("display")&&(r=z(t).width(),o&&(a=z(t).attr("alt"))&&0<=a.indexOf(o)&&(r*=2),n<r)&&(n=r,i=t)}),void 0===i&&0<e.length&&e.each(function(e,t){var r,a;
5"0"!==z(t).css("opacity")&&"hidden"!==z(t).css("visibility")&&"none"!==z(t).css("display")&&(r=t.width,o&&(a=z(t).attr("alt"))&&0<=a.indexOf(o)&&(r*=2),n<r)&&(n=r,i=t)}),void 0===i&&0<e.length&&(i=e[0]),z(i)}function s(){var e=!!I.isDefined(Shopify.urlParam)&&Shopify.urlParam("variant");if(!(e=e||location.search.split("variant=")[1])){var t=!!I.isDefined(Shopify.OptionSelectors)&&document.getElementById(Shopify.OptionSelectors.domIdPrefix);if(!t)return!1;t=t.querySelector("[selected]");if(!t)return!1;e=t.value}return e}function o(e,t){void 0!==I.pl.pi2sRegex?0===(i=I.pl.pi2sParent&&(i=z(e).parents(I.pl.pi2sParent).first()).length?z(I.pl.pi2sRegex,i):z(I.pl.pi2sRegex,e)).length&&(i=z(I.pl.pi2sRegex)):i=z("img:not(.sca-fg-img-collect)",e);var r,a=!1,i=(0===i.length&&(i=z('img[src*="/products/"][src*="/cdn.shopify.com/s/files/"][src*=".jp"],img[src*="/products/"][src*="/cdn.shopify.com/s/files/"][src*=".png"],img[src*="/products/"][src*="/cdn.shopify.com/s/files/"][src*=".JP"],img[src*="/products/"][src*="/cdn.shopify.com/s/files/"][src*=".PNG"]',z(e).parent()),a=!0),0===i.length&&(i=z('img[src*="/products/"][src*="/cdn.shopify.com/s/files/"][src*=".jp"],img[src*="/products/"][src*="/cdn.shopify.com/s/files/"][src*=".png"],img[src*="/products/"][src*="/cdn.shopify.com/s/files/"][src*=".JP"],img[src*="/products/"][src*="/cdn.shopify.com/s/files/"][src*=".PNG"]',z(e).parent().parent()),a=!0),i=0===i.length?z(e):i.first(),void 0===I.pl.lpsPath?(r=i.parents(":not(a):not(.zoomWrapper)").first().addClass("pl-parent"),0===z(".pl-container.pl-collection",i.parents(".pl-parent").first()).length&&i.parents(":not(.zoomWrapper):not(a:has(.zoomWrapper))").first().prepend('<div class="pl-container pl-collection">')):(r=i.parents(I.pl.lpsPath).first().addClass("pl-parent"),0===z(".pl-container.pl-collection",i.parents(".pl-parent").first()).length&&i.parents(I.pl.lpsPath).first().prepend('<div class="pl-container pl-collection">'),a=!0),z(e=a?r:e)),a=(z(".pl-collection",e).css({"margin-left":I.getMarginWL(i),"margin-right":I.getMarginWR(i),"margin-top":I.getMarginH(i),"margin-bottom":I.getMarginH(i),padding:I.getPadding(i)}),I.pl.products[t]);I.pl.showCollectionLabels(a,e)}function a(e){var t=z(e);z(".pl-collection",e).css({"margin-left":I.getMarginWL(t),"margin-right":I.getMarginWR(t),"margin-top":I.getMarginH(t),"margin-bottom":I.getMarginH(t),padding:I.getPadding(t)})}I.plCookie.isInstalled()&&!0!==I.pl.loadedApp&&(void 0===(I=void 0===I?{getCustomMarginWL:void 0}:I).pl&&(I.pl={}),I.pl.labels=[],I.isDefined=function(e){return void 0!==e},I.getPositionLeft=function(e){return"undefined"!==e.position()?e.position().left:0},I.getPositionTop=function(e){return"undefined"!==e.position()?e.position().top:0},I.getMarginWL=function(e,t){return"function"==typeof I.getCustomMarginWL?I.getCustomMarginWL(e,t):-1<navigator.userAgent.
5search("Firefox")?void 0===e.get(0)?0:(t=window.getComputedStyle(e.get(0)),parseInt(t.marginLeft,10)):(e.outerWidth(!0)-e.outerWidth())/2},I.getMarginWR=function(e,t){return"function"==typeof I.getCustomMarginWR?I.getCustomMarginWL(e,t):-1<navigator.userAgent.search("Firefox")?void 0===e.get(0)?0:(t=window.getComputedStyle(e.get(0)),parseInt(t.marginRight,10)):(e.outerWidth(!0)-e.outerWidth())/2},I.getMarginW=function(e){e=-1<navigator.userAgent.search("Firefox")?e.parent().outerWidth(!0)-e.width():e.outerWidth(!0)-e.outerWidth();return e/2},I.getMarginH=function(e){return(e.outerHeight(!0)-e.outerHeight())/2},I.getPadding=function(e){return e.innerWidth()-e.width()},I.decode=function(e){var t=document.createElement("textarea");return t.innerHTML=e,t.value},I.pl.labelProduct=function(){var e=C(),t=!1;if((t=(t=e.parents(".flexslider > .flex-viewport > .slides").length||e.parents(".flexslider > .slides").length?!0:t)?e.parents(".flexslider").parent():(void 0!==I.pl.lpPath?e.parents(I.pl.lpPath):e.parents(":not(a):not(.zoomWrapper)")).first()).addClass("pl-parent"),e&&0<e.length){t.prepend('<div class="pl-container pl-product">');var t=0<e.width()?e.width():0,r=(0===t&&e.get(0)&&(t=e.get(0).width),0<e.height()?e.height():0),a=(0===r&&e.get(0)&&(r=e.get(0).height),z(".pl-container")),i=(a.css({"margin-left":I.getMarginWL(e),"margin-right":I.getMarginWR(e),"margin-top":I.getMarginH(e),"margin-bottom":I.getMarginH(e),padding:I.getPadding(e)}),0<t&&a.css({width:t}),0<r&&a.css({height:r}),s());if(!i)for(var n=0;n<I.pl.product.variants.length;n++){var o=I.pl.product.variants[n];if(0<o.inventory_quantity||!o.hasOwnProperty("inventory_management")){i=o.id;break}}i=i||I.pl.product.variants[0].id,I.pl.showLabel(i)}},I.pl.labelCollections=function(e){var a,i=n(),t=(searchCallback=function(e){if(void 0===I.pl.products&&(I.pl.products={}),e.results.forEach(function(e){0!==e.variants.length?((I.pl.products[e.handle]=e).published_at=e.published_at.replace(/(\d)-/g,"$1/"),a=e.handle,(e=i[a])instanceof Array?e.forEach(function(e){o(e,a)}):o(e,a)):console.log("have empty variants in product")}),50<e.results_count&&(void 0===I.pl.search||!I.pl.search.hasOwnProperty(e.query))){void 0===I.pl.search&&(I.pl.search={}),I.pl.search[e.query]=!0;for(var t=2;t<=Math.floor((e.results_count+49)/50);t++){var r=e.query.split(""").join('"');z.getScript("/search.js?page="+t+"&q="+r+"&view=scm.products.handle.js&_sc=1&design_theme_id=129030127833&app=pl")}}},""),r=0;for(a in i)i.hasOwnProperty(a)&&(void 0!==e&&!0===e&&(I.pl.productImages={}),void 0===I.pl.productImages&&(I.pl.productImages={}),I.pl.productImages.hasOwnProperty(a)||(I.pl.productImages[a]=i[a],0<t.length&&(t+=" OR "),t+='handle:"'+a+'"',50<=++r&&(z.getScript("/search.js?q="+t+"&view=scm.products.handle.js&_sc=1&design_theme_id=129030127833&app=pl"),t="",r=0)));0<r&&z.getScript("/search.js?q="+t+"&view=scm.products.handle.js&_sc=1&design_theme_id=129030127833&app=pl")},I.pl.showLabel=function(e){z(".pl-container.pl-product .pl-image").hide();var t=I.pl.product;for(t.published_at=t.published_at.replace(/(\d)-/g,"$1/"),S=t.variants.length-1;0<=S;S--){var r=t.variants[S];if(Number(e)===r.id)break}for(var a=0,i=I.pl.labels,n=0;n<i.length;n++){var o=i[n];if(-1!==o.page.indexOf("product")){var s=o.conditions,p=o.design,l=!0;if(!(o.hide&&0<a)){var c,d,h=document.querySelector('.pl-product .pl-image[data-label-id="'+o.id+'"]');if(!h){if("yes"===s.is_on_sale?!l||r.hasOwnProperty("compare_at_price")&&null!=r.compare_at_price&&r.price<r.compare_at_price&&(c=+r.compare_at_price,!(r.price>c))||(l=!1):"no"===s.is_on_sale&&l&&r.hasOwnProperty("compare_at_price")&&(c=+r.compare_at_price,r.price<=c)&&(l=!1),"yes"===s.is_new?l&&10<(new Date-Date.parse(t.published_at))/864e5&&(l=!1):"no"===s.is_new&&l&&(new Date-Date.parse(t.published_at))/864e5<=10&&(l=!1),s.collections){var g=s.collections.split(",").map(e=>+e);if(l)for(l=!1,S=0;S<t.collections.length;S++){var f=t.collections[S];if(0<=g.indexOf(f)){l=!0;break}}}if(s.exclude_collections){var _=s.exclude_collections.split(",").map(e=>+e);if(l)for(S=0;S<t.collections.length;S++){var u=t.collections[S];if(0<=_.indexOf(u)){l=!1;break}}}if(s.tags){var m=s.tags.split(",");if(l&&(l=!1,t.hasOwnProperty("tags")))for(S=0;S<t.tags.length;S++)if(0<=m.indexOf(t.tags[S])){l=!0;break}}if(s.exclude_tags){var y=s.exclude_tags.split(",");if(l&&t.hasOwnProperty("tags"))for(S=0;S<t.tags.length;S++)if(0<=y.indexOf(t.tags[S])){l=!1;break}}if("in_stock"===s.stock_status?l&&r.inventory_quantity<=0&&r.hasOwnProperty("inventory_management")&&(l=!1):"out_of_stock"===s.stock_status?l&&(0<r.inventory_quantity||!r.hasOwnProperty("inventory_management"))&&(l=!1):"low_stock"===s.stock_status&&l&&(r.inventory_quantity<=0||1<r.inventory_quantity||!r.hasOwnProperty("inventory_management"))&&(l=!1),(s.hasOwnProperty("from_price")||s.hasOwnProperty("to_price"))&&l&&(s.hasOwnProperty("from_price")&&r.price<100*s.from_price&&(l=!1),fg,s.hasOwnProperty("to_price"))&&l&&!0===l&&r.price>100*s.to_price&&(l=!1),(s.hasOwnProperty("from_weight")||s.hasOwnProperty("to_weight"))&&l&&(s.hasOwnProperty("from_weight")&&(!r.hasOwnProperty("weight")||0===r.weight||r.weight<s.from_weight)&&(l=!1),s.hasOwnProperty("to_weight"))&&l&&(!r.hasOwnProperty("weight")||0===r.weight||r.weight>s.to_weight)&&(l=!1),"matching_and_variants"===s.variant_apply?l?(h=s.exclude_variants.split(","),0<=z.inArray(r.id+"",h)&&(l=!1)):(d=s.include_variants.split(","),0<=z.inArray(r.id+"",d)&&(l=!0)):"variants"===s.variant_apply?(l=!1,d=s.include_variants.split(","),0<=z.inArray(r.id+"",d)&&(l=!0)):"select_all"===s.variant_apply&&(l=!0),l=(s.starts_at||s.ends_at)&&l&&(s.starts_at&&Date.now()<Date.parse(s.starts_at)&&(l=!1),s.ends_at)&&l&&Date.now()>Date.parse(s.ends_at)?!1:l){a++;h=z(".pl-container.pl-product .pl-image[data-label-id='"+o.id+"']");if(0<h.length&&(!o.text||o.text.indexOf("{")<0||o.text.indexOf("}")<0))h.first().show();else{var v,s=document.createElement("div");if(s.setAttribute("data-label-id",o.id),s.classList.add("pl-image"),0===o.customize_position&&s.classList.add(o.position),s.style.width=(0<=o.label_width?o.label_width:30)+(o.fixed_size?"px":"%"),1===o.customize_position&&(s.style.top=o.top+"%",s.style.left=o.left+"%"),s.style.margin=o.margin.top+"px "+o.margin.right+"px "+o.margin.bottom+"px "+o.margin.left+"px",s.style.transform="rotate("+o.rotate+"deg)",s.style.opacity=o.opacity,0===o.label_type?(s.style.height="auto",s.style.cssText+=o.styles,(v=document.createElement("img")).classList.add("pl-w-100"),v.setAttribute("src",o.image),s.appendChild(v)):(0===o.image.length?(p.shape_class&&s.classList.add(p.shape_class),s.style.backgroundColor=p.shape_color,s.style.height=(0<=o.label_height?o.label_height:30)+(o.fixed_size?"px":"%")):(s.style.height="auto",(v=document.createElement("img")).classList.add("pl-w-100"),v.setAttribute("src",o.image),s.appendChild(v)),p.border&&(s.style.border=p.border.style+" "+p.border.size+"px "+p.border.color),p.border_radius&&(s.style.borderRadius=p.border_radius+"px"),s.style.cssText+=o.styles),o.text&&1===o.label_type){var w,P,x,O,h=I.decode(o.text);if(0<=h.indexOf("{SAVE_PERCENT}")&&(w=0,r.hasOwnProperty("compare_at_price")&&r.price<r.compare_at_price&&(w=100*(r.compare_at_price-r.price)/r.compare_at_price,w=Math.round(w)),h=h.replace("{SAVE_PERCENT}",w)),0<=h.indexOf("{MAX_SALE}
5")){for(var b=0,S=0;S<t.variants.length;S++)t.variants[S].hasOwnProperty("compare_at_price")&&t.variants[S].price<t.variants[S].compare_at_price&&(w=100*(t.variants[S].compare_at_price-t.variants[S].price)/t.variants[S].compare_at_price,b<(w=Math.round(w)))&&(b=w);h=h.replace("{MAX_SALE}",b)}if(0<=h.indexOf("{MIN_SALE}")){for(var M=100,S=0;S<t.variants.length;S++)t.variants[S].hasOwnProperty("compare_at_price")&&t.variants[S].price<t.variants[S].compare_at_price&&(w=100*(t.variants[S].compare_at_price-t.variants[S].price)/t.variants[S].compare_at_price,(w=Math.round(w))<M)&&(M=w);h=h.replace("{MIN_SALE}",M)}if(0<=h.indexOf("{SAVE_AMOUNT}")&&(P=0,h=(P=r.hasOwnProperty("compare_at_price")&&r.price<r.compare_at_price?r.compare_at_price-r.price:P)%100==0?h.replace("{SAVE_AMOUNT}",P/100):P%10==0?h.replace("{SAVE_AMOUNT}",(P/100).toFixed(1)):h.replace("{SAVE_AMOUNT}",(P/100).toFixed(2))),0<=(h=0<=(h=0<=h.indexOf("{PRICE}")?h.replace("{PRICE}",(r.price/100).toFixed(2)):h).indexOf("{MIN_PRICE}")?h.replace("{MIN_PRICE}",(t.price/100).toFixed(2)):h).indexOf("{MAX_PRICE}")){var E=0;for(S=0;S<t.variants.length;S++)t.variants[S].price>E&&(E=t.variants[S].price);h=h.replace("{MAX_PRICE}",(E/100).toFixed(2))}0<=h.indexOf("{NEW_FOR}")&&(P=(P=(new Date-Date.parse(t.published_at))/864e5)<0?0:Math.ceil(P),h=h.replace("{NEW_FOR}",P)),0<=h.indexOf("{SKU}")&&(x=r.sku||"",h=h.replace("{SKU}",x)),0<=h.indexOf("{STOCK}")&&(x=0<=r.inventory_quantity?r.inventory_quantity:0,h=h.replace("{STOCK}",x)),0!==p.font_size_ratio&&(O=C(),O=o.fixed_size?Math.sqrt(o.label_height/p.font_size_ratio):Math.sqrt(O.get(0).height*o.label_height/100/p.font_size_ratio)),O=O||p.font_size;var A=document.createElement("span");A.classList.add("pl-text"),A.style.color=p.text_color||"",A.style.fontSize=p.font_size?(0===p.font_size_ratio?p.font_size:O)+"px":"",p.font_style&&(A.style.fontWeight=p.font_style.weight,A.style.fontStyle=p.font_style.style,A.style.textDecoration=p.font_style.decoration),A.style.letterSpacing=p.letter_spacing?p.letter_spacing+"px":"",A.style.cssText+=o.text_styles,A.style.wordBreak="break-word",A.innerHTML+=h,s.appendChild(A)}z(".pl-container.pl-product").append(s)}}}}}}},I.pl.showCollectionLabels=function(e,t){var r=e.hasOwnProperty("selected_or_first_available_variant_id")?e.selected_or_first_available_variant_id:0,a=null;if(r)for(x=0;x<e.variants.length;x++)if(e.variants[x].id===r){a=e.variants[x];break}for(var i=void 0===I.pl.lpsPath||0===z(t).parents(".pl-parent").length?z(".pl-container",t):z(".pl-container",z(t).parents(".pl-parent").first()),n=0,o=I.pl.labels,s=0;s<o.length;s++){var p=o[s];if(-1!==p.page.indexOf(I.page)){var l=p.conditions,c=p.design,d=!0;if(!(p.hide&&0<n||0==i.length||i[0].querySelector('.pl-image[data-label-id="'+p.id+'"]'))){var h,g,f=void 0===I.pl.lpsPath||0===z(t).parents(".pl-parent").length?z(".pl-container",t):z(".pl-container",z(t).parents(".pl-parent").first());if(!f.length||!f[0].querySelector('div[data-label-id="'+p.id+'"]')){if("yes"===l.is_on_sale?!d||e.hasOwnProperty("compare_at_price")&&null!=e.compare_at_price&&e.price<e.compare_at_price&&!((h=+e.compare_at_price)<e.price)||(d=!1):"no"===l.is_on_sale&&d&&e.hasOwnProperty("compare_at_price")&&(h=+e.compare_at_price,e.price<=h)&&(d=!1),"yes"===l.is_new?d&&10<(new Date-Date.parse(e.published_at))/864e5&&(d=!1):"no"===l.is_new&&d&&(new Date-Date.parse(e.published_at))/864e5<=10&&(d=!1),l.collections){var _=l.collections.split(",").map(e=>+e);if(d)for(d=!1,x=0;x<e.collections.length;x++){var u=e.collections[x];if(0<=_.indexOf(u)){d=!0;break}}}if(l.exclude_collections){var m=l.exclude_collections.split(",").map(e=>+e);if(d)for(x=0;x<e.collections.length;x++)if(u=e.collections[x],0<=m.indexOf(u)){d=!1;break}}if(l.tags){var y=l.tags.split(",");if(d&&(d=!1,e.hasOwnProperty("tags")))for(x=0;x<e.tags.length;x++)if(0<=y.indexOf(e.tags[x])){d=!0;break}}if(l.exclude_tags){var v=l.exclude_tags.split(",");if(d&&e.hasOwnProperty("tags"))for(x=0;x<e.tags.length;x++)if(0<=v.indexOf(e.tags[x])){d=!1;break}}if("in_stock"===l.stock_status){if(d)for(d=!1,x=0;x<e.variants.length;x++)if(0<(g=e.variants[x]).inventory_quantity||!g.hasOwnProperty("inventory_management")){d=!0;break}}else if("out_of_stock"===l.stock_status){if(d)for(x=0;x<e.variants.length;x++)if(0<(g=e.variants[x]).inventory_quantity||!g.hasOwnProperty("inventory_management")){d=!1;break}}else if("low_stock"===l.stock_status&&d)for(d=!1,x=0;x<e.variants.length;x++)if(0<(g=e.variants[x]).inventory_quantity&&g.inventory_quantity<=1&&g.hasOwnProperty("inventory_management")){d=!0;break}if((l.hasOwnProperty("from_price")||l.hasOwnProperty("to_price"))&&d&&(l.hasOwnProperty("from_price")&&e.price<100*l.from_price&&(d=!1),l.hasOwnProperty("to_price"))&&d&&!0===d&&e.price>100*l.to_price&&(d=!1),(l.hasOwnProperty("from_weight")||l.hasOwnProperty("to_weight"))&&d)for(d=!1,x=0;x<e.variants.length&&(g=e.variants[x],d=!0,l.hasOwnProperty("from_weight")&&(!g.hasOwnProperty("weight")||0===g.weight||g.weight<l.from_weight)&&(d=!1),!(d=l.hasOwnProperty("to_weight")&&d&&(!g.hasOwnProperty("weight")||0===g.weight||g.weight>l.to_weight)?!1:d));x++);if("matching_and_variants"===l.variant_apply){if(d){var w=l.exclude_variants.split(",");for(x=0;x<e.variants.length;x++)if(g=e.variants[x],0<=z.inArray(g.id+"",w)){d=!1;break}}else for(var P=l.include_variants.split(","),x=0;x<e.variants.length;x++)if(g=e.variants[x],0<=z.inArray(g.id+"",P)){d=!0;break}}else if("variants"===l.variant_apply){for(d=!1,P=l.include_variants.split(","),x=0;x<e.variants.length;x++)if(g=e.variants[x],0<=z.inArray(g.id+"",P)){d=!0;break}}else"select_all"===l.variant_apply&&(d=!0);if(d=(l.starts_at||l.ends_at)&&d&&(l.starts_at&&Date.now()<Date.parse(l.starts_at)&&(d=!1),l.ends_at)&&d&&Date.now()>Date.parse(l.ends_at)?!1:d)if(n++,0<(f=void 0===I.pl.lpsPath?z(".pl-container .pl-image[data-label-id='"+p.id+"']",t):z(".pl-container .pl-image[data-label-id='"+p.id+"']",z(t).parents(".pl-parent").first())).length)f.first().show();else{var O,f=document.createElement("div");if(f.setAttribute("data-label-id",p.id),f.classList.add("pl-image"),0===p.customize_position&&f.classList.add(p.position),f.style.width=(0<=p.label_width?p.label_width:30)+(p.fixed_size?"px":"%"),1===p.customize_position&&(f.style.top=p.top+"%",f.style.left=p.left+"%"),f.style.margin=p.margin.top+"px "+p.margin.right+"px "+p.margin.bottom+"px "+p.margin.left+"px",f.style.transform="rotate("+p.rotate+"deg)",f.style.opacity=p.opacity,0===p.label_type?(f.style.height="auto",f.style.cssText+=p.styles,(O=d
5ocument.createElement("img")).classList.add("pl-w-100"),O.setAttribute("src",p.image),f.appendChild(O)):(0===p.image.length?(c.shape_class&&f.classList.add(c.shape_class),f.style.backgroundColor=c.shape_color,f.style.height=(0<=p.label_height?p.label_height:30)+(p.fixed_size?"px":"%")):(f.style.height="auto",(O=document.createElement("img")).classList.add("pl-w-100"),O.setAttribute("src",p.image),f.appendChild(O)),c.border&&(f.style.border=c.border.style+" "+c.border.size+"px "+c.border.color),c.border_radius&&(f.style.borderRadius=c.border_radius+"px"),f.style.cssText+=p.styles),p.text&&1===p.label_type){var b,S,M=I.decode(p.text);if(0<=M.indexOf("{SAVE_PERCENT}")&&(b=0,a?a.hasOwnProperty("compare_at_price")&&a.price<a.compare_at_price&&(b=100*(a.compare_at_price-a.price)/a.compare_at_price,b=Math.round(b)):e.hasOwnProperty("compare_at_price")&&e.price<e.compare_at_price&&(b=100*(e.compare_at_price-e.price)/e.compare_at_price,b=Math.round(b)),M=M.replace("{SAVE_PERCENT}",b)),0<=M.indexOf("{MAX_SALE}")){var E=0;for(x=0;x<e.variants.length;x++)e.variants[x].hasOwnProperty("compare_at_price")&&e.variants[x].price<e.variants[x].compare_at_price&&(b=100*(e.variants[x].compare_at_price-e.variants[x].price)/e.variants[x].compare_at_price,E<(b=Math.round(b)))&&(E=b);M=M.replace("{MAX_SALE}",E)}if(0<=M.indexOf("{MIN_SALE}")){var A=100;for(x=0;x<e.variants.length;x++)e.variants[x].hasOwnProperty("compare_at_price")&&e.variants[x].price<e.variants[x].compare_at_price&&(b=100*(e.variants[x].compare_at_price-e.variants[x].price)/e.variants[x].compare_at_price,(b=Math.round(b))<E)&&(A=b);M=M.replace("{MIN_SALE}",A)}if(0<=M.indexOf("{SAVE_AMOUNT}")&&(S=0,a?a.hasOwnProperty("compare_at_price")&&a.price<a.compare_at_price&&(S=a.compare_at_price-a.price):e.hasOwnProperty("compare_at_price")&&e.price<e.compare_at_price&&(S=e.compare_at_price-e.price),M=S%100==0?M.replace("{SAVE_AMOUNT}",S/100):S%10==0?M.replace("{SAVE_AMOUNT}",(S/100).toFixed(1)):M.replace("{SAVE_AMOUNT}",(S/100).toFixed(2))),0<=(M=0<=(M=0<=M.indexOf("{PRICE}")?a?M.replace("{PRICE}",(a.price/100).toFixed(2)):M.replace("{PRICE}",(e.price/100).toFixed(2)):M).indexOf("{MIN_PRICE}")?M.replace("{MIN_PRICE}",(e.price/100).toFixed(2)):M).indexOf("{MAX_PRICE}")){for(var C=0,x=0;x<e.variants.length;x++)e.variants[x].price>C&&(C=e.variants[x].price);M=M.replace("{MAX_PRICE}",(C/100).toFixed(2))}if(0<=M.indexOf("{NEW_FOR}")&&(S=(S=(new Date-Date.parse(e.published_at))/864e5)<0?0:Math.ceil(S),M=M.replace("{NEW_FOR}",S)),0<=M.indexOf("{STOCK}")){var k=0;for(x=0;x<e.variants.length;x++)(g=e.variants[x]).hasOwnProperty("inventory_management")&&0<=g.inventory_quantity&&(k+=g.inventory_quantity);M=M.replace("{STOCK}",k)}var L=(L=0!==c.font_size_ratio&&void 0!==t.get(0)?p.fixed_size?Math.sqrt(p.label_height/c.font_size_ratio)-2:Math.sqrt(t.get(0).offsetHeight*p.label_height/100/c.font_size_ratio)-2:L)||c.font_size,R=document.createElement("span");R.classList.add("pl-text"),R.style.color=c.text_color||"",R.style.fontSize=c.font_size?(0===c.font_size_ratio?c.font_size:L)+"px":"",c.font_style&&(R.style.fontWeight=c.font_style.weight,R.style.fontStyle=c.font_style.style,R.style.textDecoration=c.font_style.decoration),R.style.letterSpacing=c.letter_spacing?c.letter_spacing+"px":"",R.style.cssText+=p.text_styles,R.style.wordBreak="break-word",R.innerHTML+=M,f.appendChild(R)}i.append(f)}}}}}return null},z("div.pl-container").remove(),"product"===I.page&&(I.pl.labelProduct(),z(window).resize(function(){var e=C();e&&0<e.length&&z(".pl-product").css({width:0<e.width()?e.width():e.get(0).width,height:0<e.height()?e.height():e.get(0).height,"margin-left":I.getMarginWL(e),"margin-right":I.getMarginWR(e),"margin-top":I.getMarginH(e),"margin-bottom":I.getMarginH(e),padding:I.getPadding(e)})}),z(".single-option-selector").change(function(){var e;if(I.isDefined(Shopify.urlParam)&&I.isDefined(Shopify.OptionSelectors))return(e=s())?void I.pl.showLabel(e):(console.log("no variantId"),!1);console.log("No Shopify.OptionSelectors")})),"collection"!==I.page&&"home"!==I.page&&"search"!==I.page&&"cart"!==I.page&&"product"!==I.page||(I.pl.labelCollections(),z(window).resize(function(){var e,t=n();for(e in t){var r=t[e];r instanceof Array?r.forEach(function(e){a(e)}):a(r)}}),"collection"!==I.page&&"home"!==I.page&&"search"!==I.page&&"cart"!==I.page)||z(document).ajaxSuccess(function(){I.pl.labelCollections()}),I.pl.loadedApp=!0)},SECOMAPP=SECOMAPP||new Object;SECOMAPP.pl=SECOMAPP.pl||new Object,"undefined"==typeof jQuery?loadScript("//code.jquery.com/jquery-1.11.1.min.js",function(){SECOMAPP.jQuery=jQuery.noConflict(),SECOMAPP.jQuery.ajaxSetup({cache:!0}),SECOMAPP.jQuery(document).ready(function(){SECOMAPP.pl.jQuery=SECOMAPP.jQuery,SECOMAPP.pl.loadedJs=!0,startProductLabel2(SECOMAPP,SECOMAPP.jQuery)})}):(jQuery.ajaxSetup({cache:!0}),jQuery(document).ready(function(){SECOMAPP.pl.jQuery=jQuery,SECOMAPP.pl.loadedJs=!0,startProductLabel2(SECOMAPP,jQuery)}));
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.