PageSourceSearch

https://hobbywarehouse.com.au/cdn/shop/t/9/assets/scm-product-label.js?v=2985522992494300891700651123

js hobbywarehouse.com.au collected 2026-09-26 07:41:34 UTC 44,926 bytes, 2 lines download raw bytes

1var loadScript=function(url,callback){var script=document.createElement("script");script.type="text/javascript",script.readyState?script.onreadystatechange=function(){(script.readyState=="loaded"||script.readyState=="complete")&&(script.onreadystatechange=null,callback())}:(script.onreadystatechange=callback,script.onload=callback),script.src=url;var x=document.getElementsByTagName("script")[0];x.parentNode.insertBefore(script,x)},startProductLabel2=function(SECOMAPP2,jQuery2){if(SECOMAPP2.cookie=function(b,j,m){if(typeof j!="undefined"){m=m||{},j===null&&(j="",m.expires=-1);var e="";if(m.expires&&(typeof m.expires=="number"||m.expires.toUTCString)){var f;typeof m.expires=="number"?(f=new Date,f.setTime(f.getTime()+m.expires*24*60*60*1e3)):f=m.expires,e="; expires="+f.toUTCString()}var l=m.path?"; path="+m.path:"",g=m.domain?"; domain="+m.domain:"",a=m.secure?"; secure":"";document.cookie=[b,"=",encodeURIComponent(j),e,l,g,a].join("")}else{var d=null;if(document.cookie&&document.cookie!="")for(var k=document.cookie.split(";"),h=0;h<k.length;h++){var c=jQuery2.trim(k[h]);if(c.substring(0,b.length+1)==b+"="){d=decodeURIComponent(c.substring(b.length+1));break}}return d}},SECOMAPP2.plCookie={configuration:{expires:365,path:"/",domain:window.location.hostname},name:"scm_product_label_app",count:"scm_product_label_count",isInstalled:function(){var count=SECOMAPP2.cookie(this.count);count||(count=0),count++,SECOMAPP2.cookie(this.count,count,this.configuration);for(var scripts=document.head.getElementsByTagName("script"),i=0;i<scripts.length;++i)if(scripts[i].innerText.indexOf("asyncLoad")>=0&&scripts[i].innerText.indexOf("d3azqz9xba9gwd.cloudfront.net")>=0)return console.log("already has scripttag, load PL"),!0;return SECOMAPP2.cookie(this.name)==="installed"&&count<3}},SECOMAPP2.page=="product"&&SECOMAPP2.pl.overrideUpdateSelectors!==!0&&typeof Shopify!="undefined"&&typeof Shopify.OptionSelectors!="undefined"){var skip=!1;if(typeof Shopify.urlParam!="undefined"&&Shopify.urlParam("variant")&&(skip=!0),!skip)try{Shopify.OptionSelectors.prototype.updateSelectors=function(index,options){var currValues=this.selectedValues(),variant=this.product.getVariant(currValues);variant?(this.variantIdField.disabled=!1,this.variantIdField.value=variant.id):this.variantIdField.disabled=!0,this.onVariantSelected(variant,this,options),this.historyState!=null&&this.historyState.onVariantChange(variant,this,options),this.variantIdField.disabled||this.historyState==null&&typeof SECOMAPP2.pl.showLabel!="undefined"&&SECOMAPP2.pl.showLabel(this.variantIdField.value)},SECOMAPP2.pl.overrideUpdateSelectors=!0}catch(err){console.log("SECOMAPP PL OptionSelectors version mismatch")}}if(!SECOMAPP2.plCookie.isInstalled()||SECOMAPP2.pl.loadedApp===!0)return;if(typeof SECOMAPP2=="undefined")var SECOMAPP2={getCustomMarginWL:void 0};typeof SECOMAPP2.pl=="undefined"&&(SECOMAPP2.pl={}),SECOMAPP2.pl.labels=[],SECOMAPP2.pl.groups=[],SECOMAPP2.isDefined=function(obj){return typeof obj!="undefined"},SECOMAPP2.getPositionLeft=function(elem){return elem.position()!=="undefined"?elem.position().left:0},SECOMAPP2.getPositionTop=function(elem){return elem.position()!=="undefined"?elem.position().top:0},SECOMAPP2.getMarginWL=function(elem,strCssRule){if(typeof SECOMAPP2.getCustomMarginWL=="function")return SECOMAPP2.getCustomMarginWL(elem,strCssRule);
1if(navigator.userAgent.search("Firefox")>-1){if(typeof elem.get(0)=="undefined")return 0;var computedStyle=window.getComputedStyle(elem.get(0));return parseInt(computedStyle.marginLeft,10)}else return(elem.outerWidth(!0)-elem.outerWidth())/2},SECOMAPP2.getMarginWR=function(elem,strCssRule){if(typeof SECOMAPP2.getCustomMarginWR=="function")return SECOMAPP2.getCustomMarginWL(elem,strCssRule);if(navigator.userAgent.search("Firefox")>-1){if(typeof elem.get(0)=="undefined")return 0;var computedStyle=window.getComputedStyle(elem.get(0));return parseInt(computedStyle.marginRight,10)}else return(elem.outerWidth(!0)-elem.outerWidth())/2},SECOMAPP2.getMarginW=function(elem){var margT;return navigator.userAgent.search("Firefox")>-1?margT=elem.parent().outerWidth(!0)-elem.width():margT=elem.outerWidth(!0)-elem.outerWidth(),margT/2},SECOMAPP2.getMarginH=function(elem){return(elem.outerHeight(!0)-elem.outerHeight())/2},SECOMAPP2.getPadding=function(elem){return elem.innerWidth()-elem.width()},SECOMAPP2.decode=function(text){var txt=document.createElement("textarea");return txt.innerHTML=text,txt.value},SECOMAPP2.pl.labelProduct=function(){var image=getProductImage();if(typeof SECOMAPP2.pl.lpPath!="undefined"?imageParent=image.parents(SECOMAPP2.pl.lpPath).first():imageParent=image.parents(":not(a):not(.zoomWrapper)").first(),imageParent.addClass("pl-parent"),image&&image.length>0){imageParent.prepend('<div class="pl-container pl-product">');var width=image.width()>0?image.width():0;width===0&&image.get(0)&&(width=image.get(0).width);var height=image.height()>0?image.height():0;height===0&&image.get(0)&&(height=image.get(0).height);var elemPl=jQuery2(".pl-container");elemPl.css({"margin-left":SECOMAPP2.getMarginWL(image),"margin-right":SECOMAPP2.getMarginWR(image),"margin-top":SECOMAPP2.getMarginH(image),"margin-bottom":SECOMAPP2.getMarginH(image),padding:SECOMAPP2.getPadding(image)}),width>0&&elemPl.css({width:width}),height>0&&elemPl.css({height:height});var variantId=getVariantId();if(!variantId)for(var i=0;i<SECOMAPP2.pl.product.variants.length;i++){var variant=SECOMAPP2.pl.product.variants[i];if(variant.inventory_quantity>0||!variant.hasOwnProperty("inventory_management")){variantId=variant.id;break}}variantId||(variantId=SECOMAPP2.pl.product.variants[0].id),SECOMAPP2.pl.showLabel(variantId)}},SECOMAPP2.pl.labelCollections=function(force){var productImages=getProductImages();searchCallback=function(json){if(typeof SECOMAPP2.pl.products=="undefined"&&(SECOMAPP2.pl.products={}),json.results.forEach(function(product){if(product.variants.length!==0){SECOMAPP2.pl.products[product.handle]=product,product.published_at=product.published_at.replace(/(\d)-/g,"$1/"),handle=product.handle;var productImage=productImages[handle];productImage instanceof Array?productImage.forEach(function(pi){showLabelImage(pi,handle)}):showLabelImage(productImage,handle)}else console.log("have empty variants in product")}),json.results_count>50&&(typeof SECOMAPP2.pl.search=="undefined"||!SECOMAPP2.pl.search.hasOwnProperty(json.query))){typeof SECOMAPP2.pl.search=="undefined"&&(SECOMAPP2.pl.search={}),SECOMAPP2.pl.search[json.query]=!0;for(var page=2;page<=Math.floor((json.results_count+49)/50);page++){var query=json.query.split("&quot;").join('"');jQuery2.getScript("/search.js?page="+page+"&q="+query+"&view=scm.products.handle.js&_sc=1&design_theme_id=163297329451&app=pl")}}};var fullQuery="",h=0;for(var handle in productImages)productImages.hasOwnProperty(handle)&&(typeof force!="undefined"&&force===!0&&(SECOMAPP2.pl.productImages={}),typeof SECOMAPP2.pl.productImages=="undefined"&&(SECOMAPP2.pl.productImages={}),!SECOMAPP2.pl.productImages.hasOwnProperty(handle)&&(SECOMAPP2.pl.productImages[handle]=productImages[handle],fullQuery.length>0&&(fullQuery+=" OR "),fullQuery+='handle:"'+handle+'"',h++,h>=50&&(jQuery2.getScript("/search.js?q="+fullQuery+"&view=scm.products.handle.js&_sc=1&design_theme_id=163297329451&app=pl"),fullQuery="",h=0)));h>0&&jQuery2.getScript("/search.js?q="+fullQuery+"&view=scm.products.handle.js&_sc=1&design_theme_id=163297329451&app=pl")},SECOMAPP2.pl.showLabel=function(variantId){var _a,_b,_c,_d,_e,_f,_g;jQuery2(".pl-container.pl-product .pl-image").hide();var product=SECOMAPP2.pl.product;for(product.published_at=product.published_at.replace(/(\d)-/g,"$1/"),i=product.variants.length-1;i>=0;i--){var variant=product.variants[i];if(Number(variantId)===variant.id)break}for(var labels=SECOMAPP2.pl.labels,sku,groups=SECOMAPP2.pl.groups,match_count=0,j=0;j<labels.length;j++){var label=labels[j];if(label.page.indexOf("product")!==-1){var condition=label.conditions,design=label.design,group_ids=label.group_ids.split(",").map(Number),match=!0;if(!(label.hide&&match_count>0)){var label_groups=groups.map(function(group2){if(group_ids.includes(group2.id))return group2});if(document.querySelector('.pl-container.pl-product .pl-image[data-label-id="'+label.id+'"]')){match_count++;continue}var compare_at_price_threshold;if(condition.is_on_sale==="yes"){if(match)if(!variant.hasOwnProperty("compare_at_price")||variant.compare_at_price==null)match=!1;else if(variant.price<variant.compare_at_price){var sale=variant.compare_at_price-variant.price;condition.discount_by==="percentage"&&(sale=sale/variant.compare_at_price*100),condition.discount_by==="amount"&&(sale=sale/100),condition.discount_type==="fixed"?sale!==condition.discount_fixed&&(match=!1):condition.discount_type==="range"&&(condition.discount_from&&condition.discount_to?(sale<condition.discount_from||sale>condition.discount_to)&&(match=!1):condition.discount_from?sale<condition.discount_from&&(match=!1):condition.discount_to&&sale>condition.discount_to&&(match=!1))}else match=!1}else condition.is_on_sale==="no"&&match&&variant.hasOwnProperty("compare_at_price")&&variant.price<variant.compare_at_price&&(match=!1);var published_arr=product.published_at.split(" "),published_at=published_arr[0]+" "+published_arr[1];if(condition.is_new==="yes"?match&&(new Date-Date.parse(published_at))/864e5>condition.new_days_threshold&&(match=!1):condition.is_new==="no"?match&&(new Date-Date.parse(published_at))/864e5<=condition.new_days_threshold&&(match=!1):condition.is_new==="date_range"&&match&&(condition.new_date_from&&condition.new_date_to?(Date.parse(published_at)<Date.parse(condition.new_date_from)||Date.parse(published_at)>Date.parse(condition.new_date_to))&&(match=!1):condition.new_date_from?Date.parse(published_at)<Date.parse(condition.new_date_from)&&(match=!1):condition.new_date_to&&Date.parse(published_at)>Date.parse(condition.new_date_to)&&(match=!1)),condition.collections){var collections=condition.collections.split(",").map(function(x){return+x});if(match)for(match=!1,i=0;i<product.collections.length;i++){var cId=product.collections[i];if(collections.indexOf(cId)>=0){match=!0;break}}}if(condition.exclude_collections){var exclude_collections=condition.exclude_collections.split(",").map(function(x){return+x});if(match)for(i=0;i<product.collections.length;i++){var cid=product.collections[i];if(exclude_collections.indexOf(cid)>=0){match=!1;break}}}if(condition.tags){var tags=condition.tags.split(",");if(match&&(match=!1,product.hasOwnProperty("tags"))){for(i=0;i<product.tags.length;i++)if(tags.indexOf(product.tags[i])>=0){match=!0;break}}}if(condition.exclude_tags){var exclude_tags=condition.exclude_tags.split(",");if(match&&product.hasOwnProperty("tags")){for(i=0;i<product.tags.length;i++)if(exclude_tags.indexOf(product.tags[i])>=0){match=!1;break}}}condition.stock_status==="in_stock"?match&&variant.inventory_quantity<=0&&variant.hasOwnProperty("inventory_management")&&(match=!1):condition.stock_status==="out_of_stock"?match&&(variant.inventory_quantity>0||!variant.hasOwnProperty("inventory_management"))&&(match=!1):condition.stock_status==="low_stock"?match&&(variant.inventory_quantity<=0||variant.inventory_quantity>condition.low_stock_threshold||!variant.hasOwnProperty("inventory_management"))&&(match=!1):condition.stock_status==="stock_range"&&match&&(variant.hasOwnProperty("inventory_management")?condition.stock_from&&condition.stock_to?(variant.inventory_quantity<condition.stock_from||variant.inventory_quantity>condition.stock_to)&&(match=!1):condition.stock_from?variant.inventory_quantity<condition.stock_from&&(match=!1):condition.stock_to&&variant.inventory_quantity>condition.stock_to&&(match=!1):match=!1),(condition.hasOwnProperty("from_price")||condition.hasOwnProperty("to_price"))&&match&&(condition.hasOwnProperty("from_price")&&variant.price<condition.from_price*100&&(match=!1),condition.hasOwnProperty("to_price")&&match&&match===!0&&variant.price>condition.to_price*100&&(match=!1)),(condition.hasOwnProperty("from_weight")||condition.hasOwnProperty("to_weight"))&&match&&(condition.hasOwnProperty("from_weight")&&(!variant.hasOwnProperty("weight")||variant.weight===0||variant.weight<condition.from_weight)&&(match=!1),condition.hasOwnProperty("to_weight")&&match&&(!variant.hasOwnProperty("weight")||variant.weight===0||variant.weight>condition.to_weight)&&(match=!1));var includeVariants;if(condition.variant_apply==="matching_and_variants")if(!match)includeVariants=condition.include_variants.split(","),jQuery2.inArray(variant.id+"",includeVariants)>=0&&(match=!0);else{var exceptVariants=condition.exclude_variants.split(",");jQuery2.inArray(variant.id+"",exceptVariants)>=0&&(match=!1)}else condition.variant_apply==="variants"?(match=!1,includeVariants=condition.include_variants.split(","),jQuery2.inArray(variant.id+"",includeVariants)>=0&&(match=!0)):condition.variant_apply==="select_all"&&(match=!0);if((condition.starts_at||condition.ends_at)&&match&&(condition.starts_at&&Date.now()<Date.parse(condition.starts_at)&&(match=!1),condition.ends_at&&match&&Date.now()>Date.parse(condition.ends_at)&&(match=!1)),match)match_count++;else continue;var newNode=document.createElement("div");if(newNode.setAttribute("data-label-id",label.id),newNode.classList.add("pl-image"),newNode.classList.add("pl-animation"),label.customize_position===0&&newNode.classList.add(label.position),newNode.style.width=(label.label_width>=0?label.label_width:30)+(label.fixed_size?"px":"%"),label.customize_position===1&&(newNode.style.top=label.top+"%",newNode.style.left=label.left+"%"),newNode.style.margin=label.margin.top+"px "+label.margin.right+"px "+label.margin.bottom+"px "+label.margin.left+"px",newNode.style.transform="rotate("+label.rotate+"deg)",newNode.style.opacity=label.opacity,newNode.style.animationName=label.animation,label.label_type===0){newNode.style.height="fit-content",newNode.style.cssText+=label.styles;var imageLabel=document.createElement("img");imageLabel.classList.add("pl-w-100"),imageLabel.setAttribute("src",label.image),newNode.appendChild(imageLabel)}else{if(label.image.length===0)design.shape_class&&newNode.classList.add(design.shape_class),newNode.style.backgroundColor=design.shape_color,newNode.style.height=(label.label_height>=0?label.label_height:30)+(label.fixed_size?"px":"%");else{newNode.style.height="fit-content";var imageLabel=document.createElement("img");imageLabel.classList.add("pl-w-100"),imageLabel.setAttribute("src",label.image),(_a=label.alt)!=null&&_a.length?imageLabel.setAttribute("alt",label.alt):imageLabel.setAttribute("alt","Deco product label"),(_b=label.alt)!=null&&_b.length?
1imageLabel.setAttribute("alt",label.alt):imageLabel.setAttribute("alt","Deco product label"),newNode.appendChild(imageLabel)}design.border&&(newNode.style.border=design.border.style+" "+design.border.size+"px "+design.border.color),design.border_radius&&(newNode.style.borderRadius=design.border_radius+"px"),newNode.style.cssText+=label.styles}if(label.text&&label.label_type===1){var text=SECOMAPP2.decode(label.text);if(text.indexOf("{SAVE_PERCENT}")>=0){var save_percent=0;variant.hasOwnProperty("compare_at_price")&&variant.price<variant.compare_at_price&&(save_percent=(variant.compare_at_price-variant.price)*100/variant.compare_at_price,save_percent=Math.round(save_percent)),text=text.replace("{SAVE_PERCENT}",save_percent)}if(text.indexOf("{MAX_SALE}")>=0){var max_percent=0;for(i=0;i<product.variants.length;i++)product.variants[i].hasOwnProperty("compare_at_price")&&product.variants[i].price<product.variants[i].compare_at_price&&(save_percent=(product.variants[i].compare_at_price-product.variants[i].price)*100/product.variants[i].compare_at_price,save_percent=Math.round(save_percent),save_percent>max_percent&&(max_percent=save_percent));text=text.replace("{MAX_SALE}",max_percent)}if(text.indexOf("{MIN_SALE}")>=0){for(var min_percent=100,i=0;i<product.variants.length;i++)product.variants[i].hasOwnProperty("compare_at_price")&&product.variants[i].price<product.variants[i].compare_at_price&&(save_percent=(product.variants[i].compare_at_price-product.variants[i].price)*100/product.variants[i].compare_at_price,save_percent=Math.round(save_percent),save_percent<min_percent&&(min_percent=save_percent));text=text.replace("{MIN_SALE}",min_percent)}if(text.indexOf("{SAVE_AMOUNT}")>=0){var save_amount=0;variant.hasOwnProperty("compare_at_price")&&variant.price<variant.compare_at_price&&(save_amount=variant.compare_at_price-variant.price),save_amount%100===0?text=text.replace("{SAVE_AMOUNT}",save_amount/100):save_amount%10===0?text=text.replace("{SAVE_AMOUNT}",(save_amount/100).toFixed(1)):text=text.replace("{SAVE_AMOUNT}",(save_amount/100).toFixed(2))}if(text.indexOf("{PRICE}")>=0&&(text=text.replace("{PRICE}",(variant.price/100).toFixed(2))),text.indexOf("{MIN_PRICE}")>=0&&(text=text.replace("{MIN_PRICE}",(product.price/100).toFixed(2))),text.indexOf("{MAX_PRICE}")>=0){var max_price=0;for(i=0;i<product.variants.length;i++)product.variants[i].price>max_price&&(max_price=product.variants[i].price);text=text.replace("{MAX_PRICE}",(max_price/100).toFixed(2))}if(text.indexOf("{NEW_FOR}")>=0){var date_difference=(new Date-Date.parse(product.published_at))/864e5;date_difference=date_difference<0?0:Math.ceil(date_difference),text=text.replace("{NEW_FOR}",date_difference)}if(text.indexOf("{SKU}")>=0&&(sku=variant.sku?variant.sku:"",text=text.replace("{SKU}",sku)),text.indexOf("{STOCK}")>=0){var stock=variant.inventory_quantity>=0?variant.inventory_quantity:0;text=text.replace("{STOCK}",stock)}var font_size;if(design.font_size_ratio!==0){var image=getProductImage();label.fixed_size?font_size=Math.sqrt(label.label_height/design.font_size_ratio):font_size=Math.sqrt(image.get(0).height*label.label_height/100/design.font_size_ratio)}font_size=font_size||design.font_size;var textElement=document.createElement("span");textElement.classList.add("pl-text"),textElement.style.color=design.text_color?design.text_color:"",textElement.style.fontSize=design.font_size?(design.font_size_ratio===0?design.font_size:font_size)+"px":"",design.font_style&&(textElement.style.fontWeight=design.font_style.weight,textElement.style.fontStyle=design.font_style.style,textElement.style.textDecoration=design.font_style.decoration),textElement.style.letterSpacing=design.letter_spacing?design.letter_spacing+"px":"",textElement.style.cssText+=label.text_styles,textElement.style.wordBreak="break-word",textElement.innerHTML+=text,newNode.appendChild(textElement)}if(((_c=label.link)==null?void 0:_c.length)>0&&newNode.addEventListener("click",function(){window.open(label.link,"_blank")}),((_d=label.tooltip)==null?void 0:_d.length)>0){var tooltipElement=document.createElement("span");tooltipElement.classList.add("pl-tooltip");var tooltipText=SECOMAPP2.decode(label.tooltip);tooltipElement.innerHTML=tooltipText,newNode.appendChild(tooltipElement)}if(group_ids.length){for(var in_group=!1,g=0;g<label_groups.length;g++){var group=label_groups[g];if(group){var groupNode=document.querySelector('.pl-container.pl-product .pl-group[data-group-id="'+group.id+'"]');if(groupNode){if(groupNode.querySelector('.pl-image[data-label-id="'+label.id+'"]'))continue;label.customize_position===0&&newNode.classList.remove(label.position),groupNode.appendChild(newNode)}else{var newGroupNode=document.createElement("div");newGroupNode.classList.add("pl-group"),newGroupNode.classList.add(group.direction),newGroupNode.classList.add(group.position),newGroupNode.setAttribute("data-group-id",group.id),newGroupNode.style.gap=group.gap+"px";var position_unit=group.position_unit_type==="fixed"?"px":"%",vertical=group.position.split("_")[1];vertical=="top"?newGroupNode.style.top=group.vertical+position_unit:vertical=="bottom"&&(newGroupNode.style.bottom=group.vertical+position_unit);var horizontal=group.position.split("_")[2];horizontal=="left"?newGroupNode.style.left=group.horizontal+position_unit:horizontal=="right"&&(newGroupNode.style.right=group.horizontal+position_unit),newGroupNode.style.cssText+=group.styles,label.customize_position===0&&newNode.classList.remove(label.position),newGroupNode.appendChild(newNode),(_e=document.querySelector(".pl-container.pl-product"))==null||_e.appendChild(newGroupNode)}in_group=!0}
1}in_group||(_f=document.querySelector(".pl-container.pl-product"))==null||_f.appendChild(newNode)}else(_g=document.querySelector(".pl-container.pl-product"))==null||_g.appendChild(newNode);for(var g=0;g<label_groups.length;g++){var group=label_groups[g];if(group)for(var groupNode=document.querySelector('.pl-product .pl-group[data-group-id="'+group.id+'"]'),label_ids=group.label_ids.split(",").map(Number),k=0;k<label_ids.length;k++){var label=groupNode==null?void 0:groupNode.querySelector('.pl-image[data-label-id="'+label_ids[k]+'"]');if(label){var newNode=label;label.remove(),groupNode.appendChild(newNode)}}}}}}},SECOMAPP2.pl.showCollectionLabels=function(product,element){var _a,_b,_c,_d;var firstVariantId=product.hasOwnProperty("selected_or_first_available_variant_id")?product.selected_or_first_available_variant_id:0,firstVariant=null;if(firstVariantId){for(i=0;i<product.variants.length;i++)if(product.variants[i].id===firstVariantId){firstVariant=product.variants[i];break}}var collectionNode;if(typeof SECOMAPP2.pl.lpsPath=="undefined"||jQuery2(element).parents(".pl-parent").length===0?collectionNode=jQuery2(".pl-container",element):collectionNode=jQuery2(".pl-container",jQuery2(element).parents(".pl-parent").first()),collectionNode.length!==0){for(var labels=SECOMAPP2.pl.labels,groups=SECOMAPP2.pl.groups,match_count=0,j=0;j<labels.length;j++){var label=labels[j];if(label.page.indexOf(SECOMAPP2.page)!==-1){var condition=label.conditions,design=label.design,group_ids=label.group_ids.split(",").map(Number),match=!0;if(!(label.hide&&match_count>0)){var label_groups=groups.map(function(group2){if(group_ids.includes(group2.id))return group2});if(collectionNode[0].querySelector('.pl-image[data-label-id="'+label.id+'"]')){match_count++;continue}var compare_at_price_threshold;if(condition.is_on_sale==="yes"){if(match)if(!product.hasOwnProperty("compare_at_price")||product.compare_at_price==null)match=!1;else if(product.price<product.compare_at_price){var sale=product.compare_at_price-product.price;condition.discount_by==="percentage"&&(sale=sale/product.compare_at_price*100),condition.discount_by==="amount"&&(sale=sale/100),condition.discount_type==="fixed"?sale!==condition.discount_fixed&&(match=!1):condition.discount_type==="range"&&(condition.discount_from&&condition.discount_to?(sale<condition.discount_from||sale>condition.discount_to)&&(match=!1):condition.discount_from?sale<condition.discount_from&&(match=!1):condition.discount_to&&sale>condition.discount_to&&(match=!1))}else match=!1}else condition.is_on_sale==="no"&&match&&product.hasOwnProperty("compare_at_price")&&product.price<product.compare_at_price&&(match=!1);var published_arr=product.published_at.split(" "),published_at=published_arr[0]+" "+published_arr[1];if(condition.is_new==="yes"?match&&(new Date-Date.parse(published_at))/864e5>condition.new_days_threshold&&(match=!1):condition.is_new==="no"?match&&(new Date-Date.parse(published_at))/864e5<=condition.new_days_threshold&&(match=!1):condition.is_new==="date_range"&&match&&(condition.new_date_from&&condition.new_date_to?(Date.parse(published_at)<Date.parse(condition.new_date_from)||Date.parse(published_at)>Date.parse(condition.new_date_to))&&(match=!1):condition.new_date_from?Date.parse(published_at)<Date.parse(condition.new_date_from)&&(match=!1):condition.new_date_to&&Date.parse(published_at)>Date.parse(condition.new_date_to)&&(match=!1)),condition.collections){var collections=condition.collections.split(",").map(function(x){return+x});if(match)for(match=!1,i=0;i<product.collections.length;i++){var cId=product.collections[i];if(collections.indexOf(cId)>=0){match=!0;break}}}if(condition.exclude_collections){var exclude_collections=condition.exclude_collections.split(",").map(function(x){return+x});if(match){for(i=0;i<product.collections.length;i++)if(cId=product.collections[i],exclude_collections.indexOf(cId)>=0){match=!1;break}}}if(condition.tags){var tags=condition.tags.split(",");if(match&&(match=!1,product.hasOwnProperty("tags"))){for(i=0;i<product.tags.length;i++)if(tags.indexOf(product.tags[i])>=0){match=!0;break}}}if(condition.exclude_tags){var exclude_tags=condition.exclude_tags.split(",");if(match&&product.hasOwnProperty("tags")){for(i=0;i<product.tags.length;i++)if(exclude_tags.indexOf(product.tags[i])>=0){match=!1;break}}}var variant;if(condition.stock_status==="in_stock"){if(match){for(match=!1,i=0;i<product.variants.length;i++)if(variant=product.variants[i],variant.inventory_quantity>0||!variant.hasOwnProperty("inventory_management")){match=!0;break}}}else if(condition.stock_status==="out_of_stock"){if(match){for(i=0;i<product.variants.length;i++)if(variant=product.variants[i],variant.inventory_quantity>0||!variant.hasOwnProperty("inventory_management")){match=!1;break}}}else if(condition.stock_status==="low_stock"){if(match)if(match=!1,condition.product_stock_computation=="per_variant"){for(i=0;i<product.variants.length;i++)if(variant=product.variants[i],variant.inventory_quantity>0&&variant.inventory_quantity<=condition.low_stock_threshold&&variant.hasOwnProperty("inventory_management")){match=!0;break}}else{for(product_inventory_quantity=0,i=0;i<product.variants.length;i++)if(variant=product.variants[i],variant.hasOwnProperty("inventory_management"))variant.inventory_quantity>=0&&(product_inventory_quantity+=variant.inventory_quantity);else{product_inventory_quantity=-1;break}product_inventory_quantity>0&&product_inventory_quantity<=condition.low_stock_threshold&&(match=!0)}}else if(condition.stock_status==="stock_range"&&match)if(match=!1,condition.product_stock_computation=="per_variant"){for(i=0;i<product.variants.length;i++)if(variant=product.variants[i],variant.inventory_quantity>=condition.stock_from&&variant.inventory_quantity<=condition.stock_to&&variant.hasOwnProperty("inventory_management")){match=!0;break}}else{for(product_inventory_quantity=0,i=0;i<product.variants.length;i++)if(variant=product.variants[i],variant.hasOwnProperty("inventory_management"))variant.inventory_quantity>=0&&(product_inventory_quantity+=variant.inventory_quantity);else{product_inventory_quantity=-1;break}condition.stock_from&&condition.stock_to?product_inventory_quantity>=condition.stock_from&&product_inventory_quantity<=condition.stock_to&&(match=!0):condition.stock_from?product_inventory_quantity>=condition.stock_from&&(match=!0):condition.stock_to&&product_inventory_quantity<=condition.stock_to&&(match=!0)}if((condition.hasOwnProperty("from_price")||condition.hasOwnProperty("to_price"))&&match&&(condition.hasOwnProperty("from_price")&&product.price<condition.from_price*100&&(match=!1),condition.hasOwnProperty("to_price")&&match&&match===!0&&product.price>condition.to_price*100&&(match=!1)),(condition.hasOwnProperty("from_weight")||condition.hasOwnProperty("to_weight"))&&match)for(match=!1,i=0;i<product.variants.length&&(variant=product.variants[i],match=!0,condition.hasOwnProperty("from_weight")&&(!variant.hasOwnProperty("weight")||variant.weight===0||variant.weight<condition.from_weight)&&(match=!1),condition.hasOwnProperty("to_weight")&&match&&(!variant.hasOwnProperty("weight")||variant.weight===0||variant.weight>condition.to_weight)&&(match=!1),!match);i++);if(condition.variant_apply==="matching_and_variants")if(match){var exceptVariants=condition.exclude_variants.split(",");for(i=0;i<product.variants.length;i++)if(variant=product.variants[i],jQuery2.inArray(variant.id+"",exceptVariants)>=0){match=!1;break}}else{var includeVariants=condition.include_variants.split(",");for(i=0;i<product.variants.length;i++)if(variant=product.variants[i],jQuery2.inArray(variant.id+"",includeVariants)>=0){match=!0;break}}else if(condition.variant_apply==="variants"){for(match=!1,includeVariants=condition.include_variants.split(","),i=0;i<product.variants.length;i++)if(variant=product.variants[i],jQuery2.inArray(variant.id+"",includeVariants)>=0){match=!0;break}}else condition.variant_apply==="select_all"&&(match=!0);if((condition.starts_at||condition.ends_at)&&match&&(condition.starts_at&&Date.now()<Date.parse(condition.starts_at)&&(match=!1),condition.ends_at&&match&&Date.now()>Date.parse(condition.ends_at)&&(match=!1)),match)match_count++;else continue;var newNode=document.createElement("div");if(newNode.setAttribute("data-label-id",label.id),newNode.classList.add("pl-image"),newNode.classList.add("pl-animation"),label.customize_position===0&&newNode.classList.add(label.position),newNode.style.width=(label.label_width>=0?label.label_width:30)+(label.fixed_size?"px":"%"),label.customize_position===1&&(newNode.style.top=label.top+"%",newNode.style.left=label.left+"%"),newNode.style.margin=label.margin.top+"px "+label.margin.right+"px "+label.margin.bottom+"px "+label.margin.left+"px",newNode.style.transform="rotate("+label.rotate+"deg)",newNode.style.opacity=label.opacity,newNode.style.animationName=label.animation,label.label_type===0){newNode.style.height="fit-content",newNode.style.cssText+=label.styles;var imageLabel=document.createElement("img");imageLabel.classList.add("pl-w-100"),imageLabel.setAttribute("src",label.image),(_a=label.alt)!=null&&_a.length?imageLabel.setAttribute("alt",label.alt):imageLabel.setAttribute("alt",product.handle),newNode.appendChild(imageLabel)}else{if(label.image.length===0)design.shape_class&&newNode.classList.add(design.shape_class),newNode.style.backgroundColor=design.shape_color,newNode.style.height=(label.label_height>=0?label.label_height:30)+(label.fixed_size?"px":"%");else{newNode.style.height="fit-content";var imageLabel=document.createElement("img");imageLabel.classList.add("pl-w-100"),imageLabel.setAttribute("src",label.image),(_b=label.alt)!=null&&_b.length?
1imageLabel.setAttribute("alt",label.alt):imageLabel.setAttribute("alt",product.handle),newNode.appendChild(imageLabel)}design.border&&(newNode.style.border=design.border.style+" "+design.border.size+"px "+design.border.color),design.border_radius&&(newNode.style.borderRadius=design.border_radius+"px"),newNode.style.cssText+=label.styles}if(label.text&&label.label_type===1){var text=SECOMAPP2.decode(label.text);if(text.indexOf("{SAVE_PERCENT}")>=0){var save_percent=0;firstVariant?firstVariant.hasOwnProperty("compare_at_price")&&firstVariant.price<firstVariant.compare_at_price&&(save_percent=(firstVariant.compare_at_price-firstVariant.price)*100/firstVariant.compare_at_price,save_percent=Math.round(save_percent)):product.hasOwnProperty("compare_at_price")&&product.price<product.compare_at_price&&(save_percent=(product.compare_at_price-product.price)*100/product.compare_at_price,save_percent=Math.round(save_percent)),text=text.replace("{SAVE_PERCENT}",save_percent)}if(text.indexOf("{MAX_SALE}")>=0){var max_percent=0;for(i=0;i<product.variants.length;i++)product.variants[i].hasOwnProperty("compare_at_price")&&product.variants[i].price<product.variants[i].compare_at_price&&(save_percent=(product.variants[i].compare_at_price-product.variants[i].price)*100/product.variants[i].compare_at_price,save_percent=Math.round(save_percent),save_percent>max_percent&&(max_percent=save_percent));text=text.replace("{MAX_SALE}",max_percent)}if(text.indexOf("{MIN_SALE}")>=0){var min_percent=100;for(i=0;i<product.variants.length;i++)product.variants[i].hasOwnProperty("compare_at_price")&&product.variants[i].price<product.variants[i].compare_at_price&&(save_percent=(product.variants[i].compare_at_price-product.variants[i].price)*100/product.variants[i].compare_at_price,save_percent=Math.round(save_percent),save_percent<max_percent&&(min_percent=save_percent));text=text.replace("{MIN_SALE}",min_percent)}if(text.indexOf("{SAVE_AMOUNT}")>=0){var save_amount=0;firstVariant?firstVariant.hasOwnProperty("compare_at_price")&&firstVariant.price<firstVariant.compare_at_price&&(save_amount=firstVariant.compare_at_price-firstVariant.price):product.hasOwnProperty("compare_at_price")&&product.price<product.compare_at_price&&(save_amount=product.compare_at_price-product.price),save_amount%100===0?text=text.replace("{SAVE_AMOUNT}",save_amount/100):save_amount%10===0?text=text.replace("{SAVE_AMOUNT}",(save_amount/100).toFixed(1)):text=text.replace("{SAVE_AMOUNT}",(save_amount/100).toFixed(2))}if(text.indexOf("{PRICE}")>=0&&(firstVariant?text=text.replace("{PRICE}",(firstVariant.price/100).toFixed(2)):text=text.replace("{PRICE}",(product.price/100).toFixed(2))),text.indexOf("{MIN_PRICE}")>=0&&(text=text.replace("{MIN_PRICE}",(product.price/100).toFixed(2))),text.indexOf("{MAX_PRICE}")>=0){for(var max_price=0,i=0;i<product.variants.length;i++)product.variants[i].price>max_price&&(max_price=product.variants[i].price);text=text.replace("{MAX_PRICE}",(max_price/100).toFixed(2))}if(text.indexOf("{NEW_FOR}")>=0){var date_difference=(new Date-Date.parse(product.published_at))/864e5;date_difference=date_difference<0?0:Math.ceil(date_difference),text=text.replace("{NEW_FOR}",date_difference)}if(text.indexOf("{STOCK}")>=0){var product_inventory_quantity=0;for(i=0;i<product.variants.length;i++)variant=product.variants[i],variant.hasOwnProperty("inventory_management")&&variant.inventory_quantity>=0&&(product_inventory_quantity+=variant.inventory_quantity);text=text.replace("{STOCK}",product_inventory_quantity)}var font_size;design.font_size_ratio!==0&&element.get(0)!==void 0&&(label.fixed_size?font_size=Math.sqrt(label.label_height/design.font_size_ratio)-3:font_size=Math.sqrt(element.get(0).offsetHeight*label.label_height/100/design.font_size_ratio)-3),font_size=font_size||design.font_size;var textElement=document.createElement("span");textElement.classList.add("pl-text"),textElement.style.color=design.text_color?design.text_color:"",textElement.style.fontSize=design.font_size?(design.font_size_ratio===0?design.font_size:font_size)+"px":"",design.font_style&&(textElement.style.fontWeight=design.font_style.weight,textElement.style.fontStyle=design.font_style.style,textElement.style.textDecoration=design.font_style.decoration),textElement.style.letterSpacing=design.letter_spacing?design.letter_spacing+"px":"",textElement.style.cssText+=label.text_styles,textElement.style.wordBreak="break-word",textElement.innerHTML+=text,newNode.appendChild(textElement)}if(((_c=label.link)==null?void 0:_c.length)>0&&newNode.addEventListener("click",function(){window.open(label.link,"_blank")}),((_d=label.tooltip)==null?void 0:_d.length)>0){var tooltipElement=document.createElement("span");tooltipElement.classList.add("pl-tooltip");var tooltipText=SECOMAPP2.decode(label.tooltip);tooltipElement.innerHTML=tooltipText,newNode.appendChild(tooltipElement)}if(group_ids.length){for(var in_group=!1,g=0;g<label_groups.length;g++){var group=label_groups[g];if(group){var groupNode=collectionNode[0].querySelector('.pl-group[data-group-id="'+group.id+'"]');if(groupNode){if(groupNode.querySelector('.pl-image[data-label-id="'+label.id+'"]'))continue;var nodeTmp=newNode.cloneNode(!0);label.customize_position===0&&nodeTmp.classList.remove(label.position),groupNode.appendChild(nodeTmp)}else{var newGroupNode=document.createElement("div");newGroupNode.classList.add("pl-group"),newGroupNode.classList.add(group.direction),newGroupNode.classList.add(group.position),newGroupNode.setAttribute("data-group-id",group.id),newGroupNode.style.gap=group.gap+"px";var position_unit=group.position_unit_type==="fixed"?"px":"%",vertical=group.position.split("_")[1];vertical=="top"?newGroupNode.style.top=group.vertical+position_unit:vertical=="bottom"&&(newGroupNode.style.bottom=group.vertical+position_unit);var horizontal=group.position.split("_")[2];horizontal=="left"?newGroupNode.style.left=group.horizontal+position_unit:horizontal=="right"&&(newGroupNode.style.right=group.horizontal+position_unit),newGroupNode.style.cssText+=group.styles;var nodeTmp=newNode.cloneNode(!0);label.customize_position===0&&nodeTmp.classList.remove(label.position),newGroupNode.appendChild(nodeTmp),collectionNode.append(newGroupNode)}in_group=!0}
1}in_group||collectionNode.append(newNode)}else collectionNode.append(newNode)}}}if(collectionNode.length)for(var g=0;g<label_groups.length;g++){var group=label_groups[g];if(group)for(var groupNode=collectionNode[0].querySelector('.pl-group[data-group-id="'+group.id+'"]'),label_ids=group.label_ids.split(",").map(Number),k=0;k<label_ids.length;k++){var label=groupNode==null?void 0:groupNode.querySelector('.pl-image[data-label-id="'+label_ids[k]+'"]');if(label){var newNode=label;label.remove(),groupNode.appendChild(newNode)}}}return null}};function getProductImages(){var productImages=typeof SECOMAPP2.pl.pisRegex=="undefined"?jQuery2('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"]'):jQuery2(SECOMAPP2.pl.pisRegex),products={};return productImages.each(function(index,product){if(!(!jQuery2(product).attr("href")&&!jQuery2(product).attr("data-href"))){var splits=jQuery2(product).attr("href");splits||(splits=jQuery2(product).attr("data-href")),splits=splits.split("/");var handle=splits[splits.length-1].split(/[?#]/)[0];products.hasOwnProperty(handle)?(handles=products[handle],handles instanceof Array||(handles=[handles],products[handle]=handles),handles.push(product)):products[handle]=product;var handle2=decodeURI(handle);if(handle!==handle2)if(products.hasOwnProperty(handle2)){var handles=products[handle2];handles instanceof Array||(handles=[handles],products[handle2]=handles),handles.push(product)}else products[handle2]=product}}),products}function getProductImage(){var images;typeof SECOMAPP2.pl.piRegex=="undefined"?images=jQuery2('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"]'):(images=jQuery2(SECOMAPP2.pl.piRegex),(typeof images=="undefined"||images.length===0)&&(typeof SECOMAPP2.pl.retry=="undefined"?SECOMAPP2.pl.retry=1:SECOMAPP2.pl.retry=SECOMAPP2.pl.retry+1,SECOMAPP2.pl.retry<5&&setTimeout(function(){SECOMAPP2.pl.labelProduct()},1e3)));var maxWidth=0,mainImage,title=jQuery2("meta[property='og:title']").attr("content");return typeof SECOMAPP2.pl.piRegex!="undefined"&&images.length===1?mainImage=images.first():images.each(function(index,image){if(!(jQuery2(image).css("opacity")==="0"||jQuery2(image).css("visibility")==="hidden"||jQuery2(image).css("display")==="none")){var currentWidth=jQuery2(image).width();if(title){var alt=jQuery2(image).attr("alt");alt&&alt.indexOf(title)>=0&&(currentWidth*=2)}currentWidth>maxWidth&&(maxWidth=currentWidth,mainImage=image)}}),mainImage===void 0&&images.length>0&&images.each(function(index,image){if(!(jQuery2(image).css("opacity")==="0"||jQuery2(image).css("visibility")==="hidden"||jQuery2(image).css("display")==="none")){var currentWidth=image.width;currentWidth>maxWidth&&(maxWidth=currentWidth,mainImage=image)}}),mainImage===void 0&&images.length>0&&(mainImage=images.first()),jQuery2(mainImage)}function getVariantId(){var variantId=SECOMAPP2.isDefined(Shopify.urlParam)?Shopify.urlParam("variant"):!1;if(variantId||(variantId=location.search.split("variant=")[1]),!variantId){var elem=SECOMAPP2.isDefined(Shopify.OptionSelectors)?document.getElementById(Shopify.OptionSelectors.domIdPrefix):!1;if(!elem)return!1;var option=elem.querySelector("[selected]");if(!option)return!1;variantId=option.value}return variantId}function showLabelImage(productImage,handle){var images;if(typeof SECOMAPP2.pl.pi2sRegex!="undefined"){if(SECOMAPP2.pl.pi2sParent){var pi2sParent=jQuery2(productImage).parents(SECOMAPP2.pl.pi2sParent).first();pi2sParent.length?images=jQuery2(SECOMAPP2.pl.pi2sRegex,pi2sParent):images=jQuery2(SECOMAPP2.pl.pi2sRegex,productImage)}else images=jQuery2(SECOMAPP2.pl.pi2sRegex,productImage);images.length===0&&(images=jQuery2(SECOMAPP2.pl.pi2sRegex))}else images=jQuery2("img:not(.sca-fg-img-collect)",productImage);var outside=!1;images.length===0&&(images=jQuery2('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"]',jQuery2(productImage).parent()),outside=!0),images.length===0&&(images=jQuery2('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"]',jQuery2(productImage).parent().parent()),outside=!0);var image;images.length===0?image=jQuery2(productImage):image=images.first();var imageParent2,href=productImage.getAttribute("href");typeof SECOMAPP2.pl.lpsPath=="undefined"?(imageParent2=image.parents(":not(a):not
1(.zoomWrapper)").first().addClass("pl-parent"),jQuery2(".pl-container.pl-collection",image.parents(".pl-parent").first()).length===0&&image.parents(":not(.zoomWrapper):not(a:has(.zoomWrapper))").first().prepend('<a class="pl-container pl-collection" href="'+href+'">')):(imageParent2=image.parents(SECOMAPP2.pl.lpsPath).first().addClass("pl-parent"),jQuery2(".pl-container.pl-collection",image.parents(".pl-parent").first()).length===0&&image.parents(SECOMAPP2.pl.lpsPath).first().prepend('<a class="pl-container pl-collection" href="'+href+'">'),outside=!0),outside&&(productImage=imageParent2);var $productImage=jQuery2(productImage);jQuery2(".pl-collection",productImage).css({"margin-left":SECOMAPP2.getMarginWL($productImage),"margin-right":SECOMAPP2.getMarginWR($productImage),"margin-top":SECOMAPP2.getMarginH($productImage),"margin-bottom":SECOMAPP2.getMarginH($productImage),padding:SECOMAPP2.getPadding($productImage)});var product=SECOMAPP2.pl.products[handle];SECOMAPP2.pl.showCollectionLabels(product,productImage)}function resizeLabelImage(productImage){var $productImage=jQuery2(productImage);jQuery2(".pl-collection",productImage).css({"margin-left":SECOMAPP2.getMarginWL($productImage),"margin-right":SECOMAPP2.getMarginWR($productImage),"margin-top":SECOMAPP2.getMarginH($productImage),"margin-bottom":SECOMAPP2.getMarginH($productImage),padding:SECOMAPP2.getPadding($productImage)})}jQuery2("div.pl-container").remove(),SECOMAPP2.page==="product"&&(SECOMAPP2.pl.labelProduct(),jQuery2(window).resize(function(){var image=getProductImage();image&&image.length>0&&jQuery2(".pl-product").css({width:image.width()>0?image.width():image.get(0).width,height:image.height()>0?image.height():image.get(0).height,"margin-left":SECOMAPP2.getMarginWL(image),"margin-right":SECOMAPP2.getMarginWR(image),"margin-top":SECOMAPP2.getMarginH(image),"margin-bottom":SECOMAPP2.getMarginH(image),padding:SECOMAPP2.getPadding(image)})}),jQuery2(".single-option-selector").change(function(){if(!SECOMAPP2.isDefined(Shopify.urlParam)||!SECOMAPP2.isDefined(Shopify.OptionSelectors)){console.log("No Shopify.OptionSelectors");return}var variantId=getVariantId();if(!variantId)return console.log("no variantId"),!1;SECOMAPP2.pl.showLabel(variantId)})),(SECOMAPP2.page==="collection"||SECOMAPP2.page==="home"||SECOMAPP2.page==="search"||SECOMAPP2.page==="cart"||SECOMAPP2.page==="product")&&(SECOMAPP2.pl.labelCollections(),jQuery2(window).resize(function(){var productImages=getProductImages();for(var handle in productImages){var productImage=productImages[handle];productImage instanceof Array?productImage.forEach(function(pi){resizeLabelImage(pi)}):resizeLabelImage(productImage)}}),(SECOMAPP2.page==="collection"||SECOMAPP2.page==="home"||SECOMAPP2.page==="search"||SECOMAPP2.page==="cart")&&jQuery2(document).ajaxSuccess(function(){SECOMAPP2.pl.labelCollections()})),SECOMAPP2.pl.loadedApp=!0},SECOMAPP=SECOMAPP||new Object;SECOMAPP.pl=SECOMAPP.pl||new Object,typeof jQuery=="undefined"?loadScript("//code.jquery.com/jquery-1.11.1.min.js",function(){SECOMAPP.jQuery=jQuery.noConflict(),SECOMAPP.jQuery.ajaxSetup({cache:!0}),SECOMAPP.pl.jQuery=SECOMAPP.jQuery,SECOMAPP.pl.loadedJs=!0,startProductLabel2(SECOMAPP,SECOMAPP.jQuery)}):(jQuery.ajaxSetup({cache:!0}),SECOMAPP.pl.jQuery=jQuery,SECOMAPP.pl.loadedJs=!0,startProductLabel2(SECOMAPP,jQuery));
2//# sourceMappingURL=/cdn/shop/t/9/assets/scm-product-label.js.map?v=2985522992494300891700651123

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.