PageSourceSearch

https://shop.initialfashion.com/cdn/shop/t/26/assets/scm-product-label.js?v=108287995699213875221726126222

js initialfashion.com collected 2026-09-24 11:33:28 UTC 28,980 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"),i2=0;i2<scripts.length;++i2)if(scripts[i2].innerText.indexOf("asyncLoad")>=0&&scripts[i2].innerText.indexOf("secomapp.com\\/product_label")>=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={};typeof SECOMAPP2.pl=="undefined"&&(SECOMAPP2.pl={}),SECOMAPP2.pl.labels=[{id:40306,priority:0,hide:0,image:"//d4x7p4t7u5bpq.cloudfront.net/labels/pl-july-production-demo-store/selling-fast.png",position:"top_left",styles:"",text_styles:"",label_width:15,label_height:15,fixed_size:0,page:"product,collection",conditions:{variant_apply:"variants",exclude_variants:"",include_variants:"42276034412730",is_new:"any",is_on_sale:"any",by_price:"base_price"}}],SECOMAPP2.isDefined=function(obj){return typeof obj!="undefined"},SECOMAPP2.getPositionLeft=function(elem,strCssRule){return elem.position()!="undefined"?elem.position().left:0},SECOMAPP2.getPositionTop=function(elem,strCssRule){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)),margT=parseInt(computedStyle.marginLeft,10);return margT}else{var margT=elem.outerWidth(!0)-elem.outerWidth();return margT/2}},SECOMAPP2.getMarginWR=function(elem,strCssRule){if(typeof SECOMAPP2.getCustomMarginWR=="function")return SECOMAPP2.getCustomMarginWR(elem,strCssRule);if(navigator.userAgent.search("Firefox")>-1){if(typeof elem.get(0)=="undefined")return 0;var computedStyle=window.getComputedStyle(elem.get(0)),margT=parseInt(computedStyle.marginRight,10);return margT}else{var margT=elem.outerWidth(!0)-elem.outerWidth();return margT/2}},SECOMAPP2.getMarginW=function(elem,strCssRule){if(navigator.userAgent.search("Firefox")>-1)var margT=elem.parent().outerWidth(!0)-elem.width();else var margT=elem.outerWidth(!0)-elem.outerWidth();return margT/2},SECOMAPP2.getMarginH=function(elem,strCssRule){var margT=elem.outerHeight(!0)-elem.outerHeight();return margT/2},SECOMAPP2.getPadding=function(elem,strCssRule){var paddT=elem.innerWidth()-elem.width();return paddT},SECOMAPP2.pl.labelProduct=function(){var image=getProductImage(),hasFlexSlider=!1;if((image.parents(".flexslider > .flex-viewport > .slides").length||image.parents(".flexslider > .slides").length)&&(hasFlexSlider=!0),hasFlexSlider)var imageParent=image.parents(".flexslider").parent();else if(typeof SECOMAPP2.pl.lpPath!="undefined")var imageParent=image.parents(SECOMAPP2.pl.lpPath).first();else var imageParent=image.parents(":not(a):not(.zoomWrapper)").first();if(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),jQuery2(".pl-container").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&&jQuery2(".pl-container").css({width:width}),height>0&&jQuery2(".pl-container").css({height:height});var variantId=getVariantId();if(!variantId)for(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={}),jQuery2.each(json.results,function(i2,product){if(product.variants.length!==0){if(!SECOMAPP2.pl.products.hasOwnProperty(product.handle)||force){if(SECOMAPP2.pl.products.hasOwnProperty(product.handle)||(SECOMAPP2.pl.products[product.handle]=product,product.published_at=product.published_at.replace(/(\d)-/g,"$1/")),handle=product.handle,!productImages.hasOwnProperty(handle))return;var productImage=productImages[handle];productImage instanceof Array?jQuery2.each(productImage,function(i3,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)))for(typeof SECOMAPP2.pl.search=="undefined"&&(SECOMAPP2.pl.search={}),SECOMAPP2.pl.search[json.query]=!0,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=130399568058&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=130399568058&app=pl"),fullQuery="",h=0)));h>0&&jQuery2.getScript("/search.js?q="+fullQuery+"&view=scm.products.handle.js&_sc=1&design_theme_id=130399568058&app=pl")},SECOMAPP2.pl.showLabel=function(variantId){jQuery2(".pl-container.pl-product .pl-image").hide();var product=SECOMAPP2.pl.product;product.published_at=product.published_at.replace(/(\d)-/g,"$1/");for(var i2=product.variants.length-1;i2>=0;i2--){var variant=product.variants[i2];if(variantId==variant.id)break}for(var match_count=0,labels=SECOMAPP2.pl.labels,j=0;j<labels.length;j++){var label=labels[j];if(label.page.indexOf("product")!==-1){var condition=label.conditions,match=!0;if(!(label.hide&&match_count>0)){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 compare_at_price_threshold=variant.compare_at_price*1;variant.price>compare_at_price_threshold&&(match=!1)}else match=!1}else if(condition.is_on_sale=="no"&&match&&variant.hasOwnProperty("compare_at_price")){var compare_at_price_threshold=variant.compare_at_price*1;variant.price<=compare_at_price_threshold&&(match=!1)}if(condition.is_new=="yes"?match&&(new Date-Date.parse(product.published_at))/864e5>10&&(match=!1):condition.is_new=="no"&&match&&(new Date-Date.parse(product.published_at))/864e5<=10&&(match=!1),condition.collections){var collections=condition.collections.split(",").map(function(x){return+x});if(match){match=!1;for(var i2=0;i2<product.collections.length;i2++){var cid=product.collections[i2];
1if(collections.indexOf(cid)>=0){match=!0;break}}}}if(condition.tags){var tags=condition.tags.split(",");if(match&&(match=!1,product.hasOwnProperty("tags"))){for(var i2=0;i2<product.tags.length;i2++)if(tags.indexOf(product.tags[i2])>=0){match=!0;break}}}if(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>1||!variant.hasOwnProperty("inventory_management"))&&(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)),condition.variant_apply=="matching_and_variants")if(match){var exceptVariants=condition.exclude_variants.split(",");jQuery2.inArray(variant.id+"",exceptVariants)>=0&&(match=!1)}else{var includeVariants=condition.include_variants.split(",");jQuery2.inArray(variant.id+"",includeVariants)>=0&&(match=!0)}else if(condition.variant_apply=="variants"){match=!1;var includeVariants=condition.include_variants.split(",");jQuery2.inArray(variant.id+"",includeVariants)>=0&&(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 labelNodes=jQuery2(".pl-container.pl-product .pl-image[data-label-id='"+label.id+"']"),text=label.text;if(labelNodes.length>0&&(!label.text||label.text.indexOf("{")<0||label.text.indexOf("}")<0))labelNodes.first().show();else{var newNode='<div data-label-id="'+label.id+'" class="pl-image '+label.position+'" style="background-size: cover; background-image: url('+label.image+"); width: "+(label.label_width>=0?label.label_width:30)+(label.fixed_size?"px":"%")+"; height: "+(label.label_height>=0?label.label_height:30)+(label.fixed_size?"px":"%")+";"+(label.styles?label.styles:"")+'">';if(label.text){var text=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("{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("{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)}newNode+='<span class="pl-text translatable" style="'+(label.text_styles?label.text_styles:"")+'">'+text+"</span>"}newNode+="</div>",jQuery2(".pl-container.pl-product").append(newNode)}}}}},SECOMAPP2.pl.showCollectionLabels=function(product,element){var firstVariantId=product.hasOwnProperty("selected_or_first_available_variant_id")?product.selected_or_first_available_variant_id:0,first
1Variant=null;if(firstVariantId){for(i2=0;i2<product.variants.length;i2++)if(product.variants[i2].id==firstVariantId){firstVariant=product.variants[i2];break}}for(var match_count=0,labels=SECOMAPP2.pl.labels,j=0;j<labels.length;j++){var label=labels[j];if(label.page.indexOf("collection")!==-1){var condition=label.conditions,match=!0;if(!(label.hide&&match_count>0)){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 compare_at_price_threshold=product.compare_at_price*1;product.price>compare_at_price_threshold&&(match=!1)}else match=!1}else if(condition.is_on_sale=="no"&&match&&product.hasOwnProperty("compare_at_price")){var compare_at_price_threshold=product.compare_at_price*1;product.price<=compare_at_price_threshold&&(match=!1)}if(condition.is_new=="yes"?match&&(new Date-Date.parse(product.published_at))/864e5>10&&(match=!1):condition.is_new=="no"&&match&&(new Date-Date.parse(product.published_at))/864e5<=10&&(match=!1),condition.collections){var collections=condition.collections.split(",").map(function(x){return+x});if(match){match=!1;for(var i2=0;i2<product.collections.length;i2++){var cid=product.collections[i2];
1if(collections.indexOf(cid)>=0){match=!0;break}}}}if(condition.tags){var tags=condition.tags.split(",");if(match&&(match=!1,product.hasOwnProperty("tags"))){for(var i2=0;i2<product.tags.length;i2++)if(tags.indexOf(product.tags[i2])>=0){match=!0;break}}}if(condition.stock_status=="in_stock"){if(match){match=!1;for(var i2=0;i2<product.variants.length;i2++){var variant=product.variants[i2];if(variant.inventory_quantity>0||!variant.hasOwnProperty("inventory_management")){match=!0;break}}}}else if(condition.stock_status=="out_of_stock"){if(match)for(var i2=0;i2<product.variants.length;i2++){var variant=product.variants[i2];if(variant.inventory_quantity>0||!variant.hasOwnProperty("inventory_management")){match=!1;break}}}else if(condition.stock_status=="low_stock"&&match){match=!1;for(var i2=0;i2<product.variants.length;i2++){var variant=product.variants[i2];if(variant.inventory_quantity>0&&variant.inventory_quantity<=1&&variant.hasOwnProperty("inventory_management")){match=!0;break}}}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){match=!1;for(var i2=0;i2<product.variants.length;i2++){var variant=product.variants[i2];if(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)break}}if(condition.variant_apply=="matching_and_variants")if(match){var exceptVariants=condition.exclude_variants.split(",");for(i2=0;i2<product.variants.length;i2++){var variant=product.variants[i2];if(jQuery2.inArray(variant.id+"",exceptVariants)>=0){match=!1;break}}}else{var includeVariants=condition.include_variants.split(",");for(i2=0;i2<product.variants.length;i2++){var variant=product.variants[i2];if(jQuery2.inArray(variant.id+"",includeVariants)>=0){match=!0;break}}}else if(condition.variant_apply=="variants"){match=!1;var includeVariants=condition.include_variants.split(",");for(i2=0;i2<product.variants.length;i2++){var variant=product.variants[i2];if(jQuery2.inArray(variant.id+"",includeVariants)>=0){match=!0;break}}}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;if(typeof SECOMAPP2.pl.lpsPath=="undefined")var labelNodes=jQuery2(".pl-container .pl-image[data-label-id='"+label.id+"']",element);else var labelNodes=jQuery2(".pl-container .pl-image[data-label-id='"+label.id+"']",jQuery2(element).parents(".pl-parent").first());if(labelNodes.length>0)labelNodes.first().show();else{var newNode='<div data-label-id="'+label.id+'" class="pl-image '+label.position+'" style="background-size: cover; background-image: url('+label.image+"); width: "+(label.label_width>=0?label.label_width:30)+(label.fixed_size?"px":"%")+"; height: "+(label.label_height?label.label_height:30)+(label.fixed_size?"px":"%")+";"+(label.styles?label.styles:"")+'">';if(label.text){var text=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("{SAVE_AMOUNT}")>=0){var save_amount=0;firstVariant?firstVariant.hasOwnProperty("compare_at_price")&&first
1Variant.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("{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){for(var product_inventory_quantity=0,i2=0;i2<product.variants.length;i2++){var variant=product.variants[i2];if(variant.hasOwnProperty("inventory_management"))variant.inventory_quantity>=0&&(product_inventory_quantity+=variant.inventory_quantity);else continue}text=text.replace("{STOCK}",product_inventory_quantity)}newNode+='<span class="pl-text translatable" style="'+(label.text_styles?label.text_styles:"")+'">'+text+"</span>"}newNode+="</div>",typeof SECOMAPP2.pl.lpsPath=="undefined"||jQuery2(element).parents(".pl-parent").length===0?jQuery2(".pl-container",element).append(newNode):jQuery2(".pl-container",jQuery2(element).parents(".pl-parent").first()).append(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")){var splits=jQuery2(product).attr("href").split("/"),handle=splits[splits.length-1].split(/[?#]/)[0];if(products.hasOwnProperty(handle)){var handles=products[handle];handles instanceof Array||(handles=[handles],products[handle]=handles),handles.push(product)}else 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(){if(typeof SECOMAPP2.pl.piRegex=="undefined")var 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"]');else{var 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[0]: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;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&&(mainImage=images[0]),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){if(typeof SECOMAPP2.pl.pi2sRegex!="undefined"){if(SECOMAPP2.pl.pi2sParent){var pi2sParent=jQuery2(productImage).parents(SECOMAPP2.pl.pi2sParent).first();if(pi2sParent.length)var images=jQuery2(SECOMAPP2.pl.pi2sRegex,pi2sParent);else var images=jQuery2(SECOMAPP2.pl.pi2sRegex,productImage)}else var images=jQuery2(SECOMAPP2.pl.pi2sRegex,productImage);if(images.length==0)var images=jQuery2(SECOMAPP2.pl.pi2sRegex)}else var images=jQuery2("img:not(.sca-fg-img-collect)",productImage);var outside=!1;if(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),images.length==0)var image=jQuery2(productImage);else var image=images.first();if(typeof SECOMAPP2.pl.lpsPath=="undefined"){var imageParent=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('<div class="pl-container pl-collection">')}else{var imageParent=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('<div class="pl-container pl-collection">'),outside=!0}outside&&(productImage=imageParent),$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){$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=="product")&&(SECOMAPP2.pl.labelCollections(),jQuery2(window).resize(function(){var productImages=getProductImages();for(var handle in productImages){var productImage=productImages[handle];productImage instanceof Array?jQuery2.each(productImage,function(i2,pi){resizeLabelImage(pi)}):resizeLabelImage(productImage)}}),SECOMAPP2.page=="collection"&&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.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)}));
2//# sourceMappingURL=/cdn/shop/t/26/assets/scm-product-label.js.map?v=108287995699213875221726126222

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.