PageSourceSearch

https://zero-g.co.uk/cdn/shop/t/176/assets/special-offers.js?v=154724331412935157001666103972

js zero-g.co.uk collected 2026-09-24 22:32:19 UTC 24,659 bytes, 2 lines download raw bytes

1function sasoShopifyformatMoney(cents,format){if(typeof cents=="undefined"||cents==null||typeof cents=="string"&&cents.length==0)return"";window.saso_config.tax_percent>0&&(cents=parseFloat(cents)*(100+window.saso_config.tax_percent));var value="",placeholderRegex=/\{\{\s*(\w+)\s*\}\}/,formatString=format||this.money_format;typeof cents=="string"&&(cents=cents.replace(".",""));function defaultOption(opt,def){return typeof opt=="undefined"?def:opt}function formatWithDelimiters(number,precision,thousands,decimal){if(precision=defaultOption(precision,2),thousands=defaultOption(thousands,","),decimal=defaultOption(decimal,"."),isNaN(number)||number==null)return 0;number=(number/100).toFixed(precision);var parts=number.split("."),dollars=parts[0].replace(/(\d)(?=(\d\d\d)+(?!\d))/g,"$1"+thousands),cents2=parts[1]?decimal+parts[1]:"";return dollars+cents2}switch(formatString.match(placeholderRegex)[1]){case"amount":value=formatWithDelimiters(cents,2);break;case"amount_no_decimals":value=formatWithDelimiters(cents,0);break;case"amount_with_comma_separator":value=formatWithDelimiters(cents,2,".",",");break;case"amount_no_decimals_with_comma_separator":value=formatWithDelimiters(cents,0,".",",");break}return formatString.replace(placeholderRegex,value)}function sasoHash(s){var hash=0,i,chr,len;if(s.length===0)return hash;for(i=0,len=s.length;i<len;i++)chr=s.charCodeAt(i),hash=(hash<<5)-hash+chr,hash|=0;return hash.toString()}function sasoCleanBuyxHandleJson(product){for(var variants=[],option_position=-1,oi=0,olen=product.options.length;oi<olen;oi++)if(product.options[oi].name=="BuyXDiscount"){option_position=oi+1;break}if(option_position==-1)return product;product.options.length>1?product.options.splice(option_position-1,1):product.options[0].name="Title",option_position="option"+option_position,product.available=!1;for(var vi=0,vlen=product.variants.length;vi<vlen;vi++)product.variants[vi][option_position]=="Default"&&(product.variants[vi][option_position]="",variants.push(product.variants[vi]),product.available=product.available||product.variants[vi].available);return product.variants=variants,product.price=product.variants[0].price,product.price_min=product.price,product.price_varies=!1,product}function sasoCurrency(){typeof Currency=="object"&&typeof Currency.moneyFormats=="object"&&typeof mlvedaload=="function"&&mlvedaload()}function sasoDoActions(data){typeof SASOComplete=="function"&&(data=SASOComplete(data)),window.saso_config.notifications=data.settings_notifications,window.saso_config.tax_percent=data.tax_percent,typeof data.actions!="object"&&(data.actions=[]);var af=[];af=data.actions.filter(function(a){return a.type=="add-cart-items"}),af.length&&sasoAddCartItems(af[0].items),af=data.actions.filter(function(a){return a.type=="volume-discount-tiers"}),af.length&&sasoShowVolumeDiscountTiers(af[0]);var cooka=[],cook=window.sasoDocCookies.getItem("saso_shown_upsells");if(cook&&typeof cook=="string"&&cook.split(",").map(function(i){cooka.push(parseInt(i))}),af=data.actions.filter(function(a){return a.type=="cross-sell"&&cooka.indexOf(a.id)==-1}),af.length){var af2=af.filter(function(action){return typeof action.price_discount=="object"&&action.price_discount});af2.length&&(af=af2),sasoPrepareCrossSell(af[Math.floor(Math.random()*af.length)])}af=data.actions.filter(function(a){return a.type=="notification"}),af.length&&sasoShowNotifications(af),typeof data.discounts=="object"&&typeof data.discounts.cart=="object"&&typeof data.discounts.cart.items=="object"&&sasoShowCartDiscounts(data.discounts)}function sasoHideNotification(hash){jQuery(".saso-notification").slideUp("fast");var cooka=[],cook=window.sasoDocCookies.getItem("saso_notifications_closed");cook&&typeof cook=="string"&&(cooka=cook.split(",")),cooka.indexOf(hash)==-1&&cooka.push(hash),window.sasoDocCookies.setItem("saso_notifications_closed",cooka.join(","),window.saso_config.hide_closed_notifications_for,"/")}function sasoShowNotifications(notifications){if(window.saso_config.notifications.position=="top"){var divn='<div id="saso-notifications" style="padding-top: 0px; "></div>',checks=["main"];checks.map(function(sel){jQuery("#saso-notifications").length==0&&jQuery(sel+":not(.saso-ignore)").length==1&&jQuery(sel).before(divn)});var checks=["div.content","section.main-content"];checks.map(function(sel){jQuery("#saso-notifications").length==0&&jQuery(sel+":not(.saso-ignore)").length==1&&jQuery(sel).prepend(divn)})}var notification_messages=[];notifications.map(function(n){notification_messages.indexOf(n.message)==-1&&notification_messages.push(n.message)});var message=notification_messages.join("<br>"),hash=sasoHash(message),cooka=[],cook=window.sasoDocCookies.getItem("saso_notifications_closed");if(cook&&typeof cook=="string"&&(cooka=cook.split(",")),!(cooka.indexOf(hash)>-1)){var style="background-color: "+window.saso_config.notifications.background_color+"; color: "+window.saso_config.notifications.text_color+";",style_container=style+"opacity: "+window.saso_config.notifications.opacity+"; ";jQuery("#saso-notifications").length||(style_container+="position: fixed; "+window.saso_config.notifications.position+": 0; ");var html='<div class="saso-notification" style="'+style_container+'"><div class="saso-notification-x"><a href="#" style="" onclick="sasoHideNotification(\''+hash+"'); return false;\">X</a></div>";html+='<p style="'+style+'">'+message+"</p></div>",html+="<style> .saso-notification a { "+style+" }",jQuery("#saso-notifications").length?jQuery("#saso-notifications").html(html):jQuery(document.body).append(html),jQuery(".saso-notification").slideDown("slow")}}function sasoAddCartItems(items){if(items.length){var item=items.shift();jQuery.ajax({type:"POST",dataType:"json",url:"/cart/add.js",data:item,success:function(res){sasoAddCartItems(items)}})}else setTimeout(function(){window.location.reload()},200)}function sasoPrepareCrossSell(action){if(!(typeof window.saso_config.show_upsell_only_in=="str
1ing"&&window.saso_config.show_upsell_only_in.length&&window.saso_config.show_upsell_only_in.indexOf(window.saso.page_type)==-1)){var defs=[],products=[];action.products.map(function(p){window.saso.page_type=="product"&&p.id==window.saso.product.id||defs.push(jQuery.getJSON("/products/"+p.handle+".json",function(data){var product=data.product;product=sasoCleanBuyxHandleJson(product);for(var i=0;i<product.variants.length;i++){if(typeof product.variants[i].compare_at_price=="string"&&(product.variants[i].compare_at_price=parseFloat(product.variants[i].compare_at_price)*100),typeof product.variants[i].price=="string"&&(product.variants[i].price=parseFloat(product.variants[i].price)*100),typeof action.price_discount=="object"&&action.price_discount&&typeof action.price_discount.amount=="number")switch(product.variants[i].compare_at_price=product.variants[i].price,action.price_discount.type){case"percent":product.variants[i].price=product.variants[i].price*(100-action.price_discount.amount)/100;break;case"flat":product.variants[i].price=action.price_discount.amount*100;break}product.variants[i].compare_at_price_n=product.variants[i].compare_at_price,product.variants[i].price_n=product.variants[i].price,product.variants[i].compare_at_price&&product.variants[i].compare_at_price>product.variants[i].price?product.variants[i].compare_at_price=sasoShopifyformatMoney(product.variants[i].compare_at_price,window.saso.money_format):product.variants[i].compare_at_price="",product.variants[i].price=sasoShopifyformatMoney(product.variants[i].price,window.saso.money_format)}if(product.variants_style="",product.variants_select="",product.variants.length==1)product.variants_style="visibility: hidden;",product.style_options="visibility: hidden;";else{var variants_html="";product.variants.map(function(v){if(!(typeof v.inventory_management=="string"&&v.inventory_management=="shopify"&&typeof v.inventory_policy=="string"&&v.inventory_policy=="deny"&&typeof v.inventory_quantity=="number"&&v.inventory_quantity<=0)){var img="";if(typeof v.image_id=="number"&&v.image_id!=null){var vimages=product.images.filter(function(pi){return pi.id==v.image_id});vimages.length&&(img=vimages[0].src)}else typeof product.image=="object"&&product.image&&typeof product.image.src=="string"&&(img=product.image.src);var n2=img.lastIndexOf(".");if(n2>=0){var s2=img.substring(0,n2)+"_medium."+img.substring(n2+1);img=s2}variants_html+="<option value='"+v.id+"' data-img='"+img+"' data-price='"+v.price_n+"' data-compare-at-price='"+v.compare_at_price_n+"'>",variants_html+=sasoEscapeHtml(v.title)+"</option>"}}),product.variants_select="<select class='saso-variants'>",typeof window.saso_config.upsell_variant_choose_option=="string"&&window.saso_config.upsell_variant_choose_option.length&&(product.variants_select+="<option value='0'>"+sasoEscapeHtml(window.saso_config.upsell_variant_choose_option)+"</option>"),product.variants_select+=variants_html+"</select>"}if(typeof product.image=="object"&&product.image&&typeof product.image.src=="string"){var n=product.image.src.lastIndexOf(".");if(n>=0){var s=product.image.src.substring(0,n)+"_medium."+product.image.src.substring(n+1);product.image.src=s}}product.title=sasoTrimLength(product.title,window.saso_config.product_title_max_length),products.push(product)}).fail(function(){}))}),defs.length!=0&&jQuery.when.apply(jQuery,defs).done(function(){if(products.length!=0){window.saso.action_crosssell_popup_action=action,window.saso.ignore_previous_free_gifts=!0,typeof action.from_offer_type=="string"&&action.from_offer_type=="Free Gift"&&(window.saso.ignore_previous_free_gifts=!1),products.length==1&&products[0].variants.length==1&&products[0].variants[0].price_n==0&&sasoRemovePreviousFreeGifts(function(){sasoAddCartItems([{id:products[0].variants[0].id,quantity:1}]),sasoShowCrossSellClosed()});for(var no_variants=!0,i=0;i<products.length;i++)products[i].variants.length>1&&(no_variants=!1);if(no_variants)for(var i=0;i<products.length;i++)products[i].variants_style="height: 6px;";var popup_tpl=Handlebars.compile(jQuery("#saso-cross-sell-popup").html());window.saso.action_crosssell_popup_html=popup_tpl({notifications_message:action.message,products:products,click_here:action.click_here}),window.saso.page_type=="cart"&&sasoShowCrossSell(action)}})}}function sasoShowCrossSell(action){typeof window.saso.action_crosssell_popup_html=="string"&&setTimeout(function(){if(window.sasoc.$cart_offers=jQuery(".saso-cart-offers"),window.sasoc.$cart_offers.length){window.sasoc.$cart_offers.each(function(i){jQuery(this).html(window.saso.action_crosssell_popup_html)}),sasoCurrency(),sasoShowCrossSellClosed();return}window.saso_config.crosssell_never_show_popup||(window.sasoc.magnificPopup.open({closeOnContentClick:!1,closeOnBgClick:!1,items:{src:jQuery.parseHTML(window.saso.action_crosssell_popup_html),type:"inline"},callbacks:{afterClose:function(){sasoShowCrossSellClosed(),window.saso.page_type=="cart"&&typeof window.saso.upsell_added=="boolean"&&window.saso.upsell_added&&location.reload()}}}),sasoCurrency(),setTimeout(function(){jQuery(".saso-products-container table").length&&jQuery(".mfp-content").css("max-width",jQuery(".saso-products-container table").width()+100)},100),setTimeout(function(){sasoShowCrossSellClosed()},600))},1500)}function sasoShowCrossSellClosed(){window.sasoc.$cart_offers.length&&(window.saso_config.hide_shown_upsells_for=10);var cooka=[],cook=window.sasoDocCookies.getItem("saso_shown_upsells");cook&&typeof cook=="string"&&cook.split(",").map(function(i){cooka.push(parseInt(i))});var a=window.saso.action_crosssell_popup_action;cooka.indexOf(a.id)==-1&&(typeof a.price_discount=="object"&&a.price_discount&&(a.price_discount.type=="percent"&&a.price_discount.amount=="100"||a.price_discount.type=="flat"&&a.price_discount.amount=="0")||cooka.push(a.id)),window.sasoDocCookies.setItem("saso_shown_upsells",cooka.join(","),window.saso_config.hide_shown_upsells_for,"/")}
1function sasoShowCartDiscounts(discounts){if(window.saso.discounts=discounts,discounts.cart.items.forEach(function(item){item.discounted_price<item.original_price&&(jQuery(".saso-cart-item-discount-notes[data-key='"+item.key+"']").html(item.discount_notes.join("<br>")),jQuery(".saso-cart-item-price[data-key='"+item.key+"']").html("<span class='original_price'>"+item.original_price_format+"</span><span class='discounted_price'>"+item.discounted_price_format+"</span>"),jQuery(".saso-cart-item-line-price[data-key='"+item.key+"']").html("<span class='original_price'>"+item.original_line_price_format+"</span><span class='discounted_price'>"+item.discounted_line_price_format+"</span>")),item.upsell_notes.length>0&&jQuery(".saso-cart-item-upsell-notes[data-key='"+item.key+"']").html(item.upsell_notes.join("<br>"))}),typeof discounts.discounted_price_html=="string"){if(typeof discounts.allow_use_discount_code_instead=="boolean"&&discounts.allow_use_discount_code_instead){var html_d='<div><label style="font-weight: normal; cursor: pointer;"><input type="checkbox" id="saso-use-discount-code-instead-check"> I will be using a coupon instead</label></div>';jQuery("#saso-use-discount-instead").length==1&&(html_d=jQuery("#saso-use-discount-instead").html()),discounts.summary_html+=html_d}jQuery(".saso-summary").html(discounts.summary_html),jQuery(".saso-note").val(discounts.cart.summary_note),jQuery(".saso-cart-original-total").css("text-decoration","line-through"),jQuery(".saso-cart-total").html(discounts.discounted_price_html),sasoCurrency();var checkout_selectors=["input[name='checkout']:not(.bold_clone)","button[name='checkout']","[href$='checkout']","input[name='goto_pp']","button[name='goto_pp']","input[name='goto_gc']","button[name='goto_gc']",".additional-checkout-button",".google-wallet-button-holder",".amazon-payments-pay-button"];checkout_selectors.forEach(function(selector){var els=document.querySelectorAll(selector);if(typeof els=="object"&&els)for(var i=0;i<els.length;i++){var el=els[i];if(typeof el.addEventListener!="function")return;el.addEventListener("click",function(ev){var did=document.getElementById("saso-use-discount-code-instead-check");if(typeof did=="object"&&did&&did.checked)return!0;ev.preventDefault();var elsbold=document.querySelectorAll("input[name='checkout'].bold_clone");typeof elsbold=="object"&&elsbold&&elsbold.length?jQuery.ajax({cache:!1,contentType:"application/json; charset=utf-8",dataType:"json",type:"GET",url:"/cart.js",success:function(res){window.saso.cart=res,sasoCheckout()}}):sasoCheckout()},!1),el.dataset.saso=!0,el.dataset.ocuCheckout=!0}})}}function sasoCheckout(){if(!(jQuery("input[type='checkbox'].saso_agree").length>0&&jQuery("input[type='checkbox'].saso_agree:checked").length!=jQuery("input[type='checkbox'].saso_agree").length)){var note_attributes=[];jQuery("[name^='attributes']").each(function(){var $a=jQuery(this),name=jQuery(this).attr("name");name=name.replace(/^attributes\[/i,"").replace(/\]$/i,"");var v={name:name,value:$a.val()};v.value!=""&&($a[0].tagName.toLowerCase()==="input"&&$a.attr("type")=="checkbox"?$a.is(":checked")&&note_attributes.push(v):note_attributes.push(v))});var note="";jQuery("[name='note']").length&&(note=jQuery("[name='note']")[0].value),window.saso.cart.note_attributes=note_attributes,window.saso.cart.note=note;for(var i=0;i<window.saso.cart.items.length;i++){var item=window.saso.cart.items[i],el=document.querySelectorAll("[id='updates_"+item.key+"']");el.length!=1&&(el=document.querySelectorAll("[id='updates_"+item.variant_id+"']")),el.length==1&&(window.saso.cart.items[i].quantity=el[0].value)}var sasoHost=("saso-www"+Math.round(Math.random()*4)).replace("www0","www").replace("www4","www3").replace("www5","www3").replace("www6","www3");typeof sasoGetParameterByName("d")=="string"&&sasoGetParameterByName("d")=="y"&&(sasoHost="saso-www"),jQuery.ajax({cache:!1,contentType:"application/json; charset=utf-8",dataType:"json",type:"POST",url:"https://"+sasoHost+".herokuapp.com/api/v2/page-actions?checkout=draft",data:JSON.stringify(window.saso),success:function(res){if(typeof res.invoice_url=="string"){var invoice_url_params=[];typeof window.gaclientId=="string"&&invoice_url_params.push("clientId="+window.gaclientId),invoice_url_params.length&&(res.invoice_url+="?"+invoice_url_params.join("&")),window.location.href=res.invoice_url}else window.location.href="/checkout"}})}}function sasoUseDiscountCodeInsteadChange(){if(!(typeof window.saso.discounts.cart!="object"||typeof window.saso.discounts.cart.items!="object")){var did=document.getElementById("saso-use-discount-code-instead-check");if(!(typeof did!="object"||!did)){var qty=1;did.checked&&(qty=0);for(var i=0;i<window.saso.discounts.cart.items.length;i++){var item=window.saso.discounts.cart.items[i];if(!(typeof item.offer_type!="string"||item.offer_type!="Free Gift")&&!(item.discounted_price>0)){var el=document.querySelectorAll("[id='updates_"+item.key+"']");el.length!=1&&(el=document.querySelectorAll("[id='updates_"+item.variant_id+"']")),el.length==1&&(el[0].value=qty)}}}}}function sasoShowVolumeDiscountTiers(data){for(var price_type="flat",i=0;i<data.tiers.length;i++){var pf=JSON.parse(JSON.stringify(data.tiers[i].price));data.tiers[i].price.type=="percent"&&(price_type="percent",pf.amount=window.saso.product.price*(100-data.tiers[i].price.amount)/100,pf.title='<span class="saso-price">'+sasoShopifyformatMoney(pf.amount,window.saso.money_format)+"</span>"),data.tiers[i].price_flat=pf,data.tiers[i].price_amount=data.tiers[i].price.amount}var tpl=Handlebars.compile(jQuery("#saso-volume-discount-tiers").html()),tpl_data={product_message:data.product_message,tiers:data.tiers};tpl_data["price_type_"+price_type]=price_type;var html=tpl(tpl_data);jQuery(".saso-volumes").html(html),sasoCurrency()}function sasoVolumesAddToCart(ev){ev.preventDefault(),jQuery("[name='quantity']").remove(),window.sasoc.$first_add_to_cart_el.after("<input type='hidden' name='quantity' value='"+jQuery(this).data("quantity")+"'>"),window.sasoc.$first_add_to_cart_el.click()}function sasoUpsellAddToCart(ev){ev.preventDefault();var product_id=jQuery(this).data("product-id"),variant_id=jQuery(this).data("variant-id"),$variants=jQuery(".saso-product-container[data-
1product-id='"+product_id+"']").find("select.saso-variants");if($variants.length==1){var variant_id=parseInt($variants.val());if(variant_id==0){alert(window.saso_config.upsell_variant_choose_message);return}}sasoRemovePreviousFreeGifts(function(){jQuery.ajax({type:"POST",dataType:"json",url:"/cart/add.js",data:{quantity:1,id:variant_id},success:function(res){window.saso.upsell_added=!0,sasoShowCrossSellClosed();var a=window.saso.action_crosssell_popup_action;window.sasoc.$cart_offers&&window.sasoc.$cart_offers.length||typeof a.price_discount=="object"&&a.price_discount&&typeof a.price_discount.amount=="number"?setTimeout(function(){window.location.href="/cart"},100):(jQuery(".saso-product-container[data-product-id="+product_id+"]").fadeOut("slow",function(){jQuery(".saso-product-container[data-product-id="+product_id+"]").remove(),jQuery(".saso-product-container:visible").length==0&&window.sasoc.magnificPopup.instance.close()}),window.saso_config.crosssell_close_after_one_add&&window.sasoc.magnificPopup.instance.close())},error:function(res){typeof res=="object"&&typeof res.responseJSON=="object"&&typeof res.responseJSON.description=="string"&&alert(res.responseJSON.description),typeof res=="string"&&alert(res)}})})}function sasoRemovePreviousFreeGifts(callback){if(typeof window.saso.discounts!="object"||typeof window.saso.discounts.cart!="object"||typeof window.saso.discounts.cart.items!="object"||typeof window.saso.discounts.multiple_offers_free_gift!="string"||window.saso.discounts.multiple_offers_free_gift!="one"||typeof window.saso.ignore_previous_free_gifts=="boolean"&&window.saso.ignore_previous_free_gifts)return callback();var itemsfg=window.saso.discounts.cart.items.filter(function(item){return typeof item.offer_type=="string"&&item.offer_type=="Free Gift"}),updates_request=[];if(itemsfg.map(function(item){updates_request.push("updates["+item.variant_id+"]=0")}),updates_request.length==0)return callback();jQuery.ajax({type:"POST",dataType:"text",url:"/cart/update.js",data:updates_request.join(","),success:function(done_data){return callback()}})}function sasoStart(){window.sasoc={magnificPopup:jQuery.magnificPopup,$cart_offers:jQuery(".saso-cart-offers")},window.sasoDocCookies.getItem("saso_link_code")&&(window.saso.only_special_link_code=window.sasoDocCookies.getItem("saso_link_code")),window.saso_magnificPopup=window.sasoc.magnificPopup,setTimeout(function(){window.sasoc.$first_add_to_cart_el=null;var selectors=["input[name='add']","button[name='add']","#add-to-cart","#AddToCartText","#AddToCart"],found_selectors=0;if(selectors.forEach(function(selector){found_selectors+=jQuery(selector).length,window.sasoc.$first_add_to_cart_el==null&&found_selectors&&(window.sasoc.$first_add_to_cart_el=jQuery(selector).first()),window.saso_config.crosssell_popup_on_add&&jQuery(selector).on("click",function(e){window.saso.action_crosssell_el={$el:$(this)},window.saso.action_crosssell_el.variant_id=null;var ids=window.saso.action_crosssell_el.$el.parents("form:first").find("[name='id']");ids.length==1&&(window.saso.action_crosssell_el.variant_id=$(ids[0]).val()),sasoShowCrossSell({variant_id:window.saso.action_crosssell_el.variant_id})})}),(window.saso.page_type=="collection"||window.saso.page_type=="product")&&found_selectors==0,jQuery(".saso-summary").length==0&&jQuery(".saso-cart-total").length>0&&jQuery('<div class="saso-summary"></div>').insertBefore(".saso-cart-total"),window.saso.page_type=="product"&&jQuery(".saso-volumes").length==0&&window.sasoc.$first_add_to_cart_el!=null){var vol_el_after=window.sasoc.$first_add_to_cart_el;vol_el_after.parent().is("div")&&(vol_el_after=vol_el_after.parent()),vol_el_after.after('<div class="saso-volumes"></div>')}jQuery("body").on("click",".saso-volume-discount-tiers .saso-add-to-cart",sasoVolumesAddToCart),jQuery("body").on("click",".saso-cross-sell-popup .saso-add-to-cart",sasoUpsellAddToCart),jQuery("body").on("click",".saso-volume-discount-tiers .add-to-cart",sasoVolumesAddToCart),jQuery("body").on("click",".saso-cross-sell-popup .add-to-cart",sasoUpsellAddToCart),jQuery("body").on("change","#saso-use-discount-code-instead-check",sasoUseDiscountCodeInsteadChange),jQuery("body").on("click",".saso-crosssell-nav",function(){var saso_product_id=jQuery(this).data("product-id"),sasoHost2="saso-www";jQuery.ajax({type:"POST",dataType:"json",url:"https://"+sasoHost2+".herokuapp.com/api/v1/cross-sell-add",data:{shop_slug:window.saso.shop_slug,product_id:saso_product_id,cart_token:window.saso.cart.token},success:function(done_data){}})}),jQuery("body").on("change",".saso-variants",function(ev){var img=jQuery(this).find(":selected").data("img");typeof img=="string"&&img.length&&jQuery(ev.target).closest(".saso-product-container").find("img").attr("src",img);var price=sasoShopifyformatMoney(jQuery(this).find(":selected").data("price"),window.saso.money_format),compare_at_price=sasoShopifyformatMoney(jQuery(this).find(":selected").data("c
1ompare-at-price"),window.saso.money_format);jQuery(ev.target).closest(".saso-product-container").find(".saso-price").html(price),jQuery(ev.target).closest(".saso-product-container").find(".saso-was-price").html(compare_at_price)}),jQuery("body").on("change",'input[name="updates[]"]:not(.saso-ignore)',function(ev){jQuery('[name="update"]').click()}),jQuery("body").on("click",".saso-cross-sell-popup .close",function(ev){ev.preventDefault(),window.sasoc.magnificPopup.instance.close()}),jQuery("body").on("click",".saso-cross-sell-popup .saso-close",function(ev){ev.preventDefault(),window.sasoc.magnificPopup.instance.close()})},1);var cooka=[],cook=window.sasoDocCookies.getItem("saso_shown_upsells");cook&&typeof cook=="string"&&(cooka=cook.split(",")),window.saso.saso_shown_upsells=cooka;var sasoHost=("saso-www"+Math.round(Math.random()*4)).replace("www0","www").replace("www4","www3").replace("www5","www3").replace("www6","www3");typeof sasoGetParameterByName("d")=="string"&&sasoGetParameterByName("d")=="y"&&(sasoHost="saso-www"),jQuery.ajax({cache:!1,contentType:"application/json; charset=utf-8",dataType:"json",type:"POST",url:"https://"+sasoHost+".herokuapp.com/api/v2/page-actions",data:JSON.stringify(window.saso),success:function(data){setTimeout(function(){sasoDoActions(data)},1)}})}sasoStart(),typeof ga=="function"&&ga(function(tracker){window.gaclientId=tracker.get("clientId")});
2//# sourceMappingURL=/cdn/shop/t/176/assets/special-offers.js.map?v=154724331412935157001666103972

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.