//tealium universal tag - utag.313 ut4.0.202402231936, Copyright 2024 Tealium.com Inc. All Rights Reserved. var ns_=ns_||{};var ns_p=ns_p||{};function udm_(a){var b="comScore=",c=document,d=c.cookie,e="",f="indexOf",g="substring",h="length",i=2048,j,k="&ns_",l="&",m,n,o,p,q=window,r=q.encodeURIComponent||escape;if(d[f](b)+1)for(o=0,n=d.split(";"),p=n[h];o
i&&a[f](l)>0&&(j=a[g](0,i-8).lastIndexOf(l),a=(a[g](0,j)+k+"cut="+r(a[g](j+1)))[g](0,i)),c.images?(m=new Image,q.ns_p||(ns_p=m),m.src=a):c.write("<","p","><",'img src="',a,'" height="1" width="1" alt="*"',"><","/p",">")}
function ns_order(a,b,c){var d=this,e="ns_undefined",f="length";d.toV=function(a){return(new String(a)).replace(/(%3C|%3E|<|>)/gi,"_")},d.toF=function(a){var b=parseFloat(a);return isNaN(b)?e:b},d.counterURL=a,d.clientID=d.toV(b),d.orderID=d.toV(c),d.l=[],d.addLine=function(a,b,c,g,h,i){d.l[d.l[f]]={ns_prod_id:a?a:e,ns_brand:b?b:e,ns_prod_grp:c?c:e,ns_shop:g?g:e,ns_qty:d.toF(h),ns_prod_price:i?i:0}},d.sendOrder=function(){var a="ns_order_id_"+d.orderID+"=true";if(!!d.orderID&&!ns_.order_sent[d.orderID]&&document.cookie.indexOf(a)==-1){ns_.order_sent[d.orderID]=!0,document.cookie=a;var b=d.counterURL+"&ns_commerce=true&ns_ec_sv=6.1202.02&ns_type=hidden"+"&ns_client_id="+d.clientID+"&ns_order_id="+d.orderID+"&ns_orderlines="+d.l[f];for(var c=0,a=d.l[f];cf&&g!=-1){while(g>f)a=a.substring(0,g),g=a.lastIndexOf("&");a=a.substring(0,g+1)+"ns_cut="+a.substr(g+1,f-g-1)}var h='img height="1" width="1" style="position:absolute;top:0;left:0;"';if(d.layers)d.images?(new Image).src=a:d.write("<"+h+' src="'+a+'">');else{var i=function(a){var b=document.all(a);b&&b.length&&(b=b[0]);return b},j=function(a){c.onload=c.onerror=null;if(ns_.pipe.length>0){var e=ns_.pipe.join(""),f=e.indexOf("src"),g=e.indexOf('"',f),h=e.indexOf('"',g+1),k=e.substring(g+1,h),e=e.substring(0,f)+'id="ns_1"'+e.substring(h+1);ns_.pipe=[],b.innerHTML=e,c=d.getElementById?d.getElementById("ns_1"):i("ns_1"),c.onload=j,c.src=k}};rs=d.readyState,ns_=typeof ns_!="undefined"?ns_:{},ns_.pipe=typeof ns_.pipe!="undefined"?ns_.pipe:[],b=d.getElementById?d.getElementById("ns_"):i("ns_");if(!b){var k=["<",'div id="ns_" style="position:absolute;top:0;left:0;z-index:32766;background-color:transparent !important"><',h,' id="ns_1">',"div>"].join("");rs=="complete"?d.body.innerHTML+=k:d.write(k)}c=d.getElementById?d.getElementById("ns_1"):i("ns_1");if(c&&c.onload)ns_.pipe[ns_.pipe.length]="<"+h+' src="'+a+'">';else if(b||c)b&&(b.innerHTML="<"+h+' id="ns_1">'),b=d.getElementById?d.getElementById("ns_"):i("ns_"),c=d.getElementById?d.getElementById("ns_1"):i("ns_1"),c.onload=c.onerror=j,c.src=a}},ns_.order_sent=ns_.order_sent||{}
/*@cc_on@if(@_jscript_version<5.6)ns_={Form:function(){}};ns_.Form.onFailure=function(){};ns_.Form.prototype.onFailure=function(){};@else@*/
if(typeof(ns_)=="undefined"){ns_=new Object()}ns_.extend=function(a,c){for(var b in c){a[b]=c[b]}return a};ns_.encode=self.encodeURIComponent?self.encodeURIComponent:function(a){return escape(a).replace(/\//g,"%2F")};ns_.b={};ns_.b.ie=/*@cc_on!@*/
false;ns_.b.ie9=ns_.b.ie&&document.addEventListener;ns_.b.sf=navigator.vendor?/apple/i.test(navigator.vendor):false;ns_.b.ch=window.chrome?true:false;ns_.b.ff=/firefox/i.test(navigator.userAgent);ns_.b.op=window.opera?true:false;if(typeof(ns_)=="undefined"){ns_=new Object()}ns_.dt={initDate:new Date().getTime(),lastRun:new Date().getTime(),delta:0,intervalID:null,intervalTime:1000,intervalRuns:0,timedObserver:function(){var a=ns_.dt.getTime();ns_.dt.intervalID=setTimeout(ns_.dt.timedObserver,ns_.dt.intervalTime);ns_.dt.intervalRuns++;var b=a-ns_.dt.lastRun-ns_.dt.intervalTime;if(b>(ns_.dt.intervalTime*2)||b<-(ns_.dt.intervalTime*2)){ns_.dt.delta+=b;a-=b}ns_.dt.lastRun=a},getTime:function(){var a=new Date().getTime();return a-ns_.dt.delta}};ns_.dt.timedObserver();ns_.extend(Function.prototype,(function(){var e=Array.prototype.slice;function d(k,h){var j=k.length,i=h.length;while(i--){k[j+i]=h[i]}return k}function f(i,h){i=e.call(i,0);return d(i,h)}function a(){return this.STargumentIsSuper()?["$super"]:[""]}function c(){return/^[\s\(]*function[^(]*\(\s*\$super/.test(this.toString())}function b(j){if(arguments.length<2&&typeof arguments[0]=="undefined"){return this}var h=this,i=e.call(arguments,1);return function(){var k=f(i,arguments);return h.apply(j,k)}}function g(i){var h=this;return function(){var j=d([h.STbind(this)],arguments);return i.apply(this,j)}}return{STargumentNames:a,STargumentIsSuper:c,STbind:b,STwrap:g}})());ns_.Class={extend:function(c,a){if(arguments.length==1){a=c,c=null}if(typeof(c)=="function"){var b=function(){return this.initialize.apply(this,arguments)};b.prototype=new c()}else{var b=function(){}}if(a){ns_.Class.inherit(b.prototype,a)}return b},inherit:function(e,b,h){if(arguments.length==3){var c=e[h],d=b[h],g=d;var a;if(e&&g.STargumentIsSuper()){d=(function(f){return function(){return f.apply(this,arguments)}})(c).STwrap(g)}else{d=function(){var j=this.parent;this.parent=c;var f=g.apply(this,arguments);j?this.parent=j:delete this.parent;return f}}d.valueOf=function(){return g};d.toString=function(){return g.toString()};e[h]=d}else{for(var i in b){if(e[i]&&typeof(b[i])=="function"){ns_.Class.inherit(e,b,i)}else{e[i]=b[i]}}}return e}};if(typeof(ns_.ar)=="undefined"){ns_.ar={push:function(){for(var b=0,a=arguments.length;b2){for(var f=2,c=d.length;fe.length||r+i>n.length)return!1;while(--i>=0){var s=e.charAt(t++),o=n.charAt(r++);if(s!=o)return!1}return!0},size:function(e){var t=0,n;for(var n in e)e.hasOwnProperty(n)&&t++;return t},log:function(e,t){if(typeof t!="undefined"&&t){var n=new Date,r=n.getHours()+":"+n.getMinutes()+":"+n.getSeconds();console.log(r,e)}},isTrue:function(e){return typeof e=="undefined"?!1:typeof e=="string"?(e=e.toLowerCase(),e==="true"||e==="1"||e==="on"):e?!0:!1},toString:function(t){if(typeof t=="undefined")return"undefined";if(typeof t=="string")return t;if(Object.prototype.toString.call(t)==="[object Array]")return t.join(",");if(e.size(t)>0){var n="";for(var r in t)t.hasOwnProperty(r)&&(n+=r+":"+t[r]+";");return n}return t.toString()},exists:function(e){return typeof e!="undefined"&&e!=null},firstGreaterThan0:function(){for(var e=0,t=arguments.length;e