function _truste_eumap(){truste=self.truste||{};truste.eu||(truste.eu={});truste.util||(truste.util={}); truste.util.error=function(p,l,o){o=o||{};var n=l&&l.toString()||"",e=o.caller||"";if(l&&l.stack){n+="\n"+l.stack.match(/(@|at)[^\n\r\t]*/)[0]+"\n"+l.stack.match(/(@|at)[^\n\r\t]*$/)[0] }truste.util.trace(p,n,o);if(truste.util.debug||!l&&!p){return}var d={apigwlambdaUrl:"https://api-js-log.trustarc.com/error",enableJsLog:false}; if(d.enableJsLog){delete o.caller;delete o.mod;delete o.domain;delete o.authority;o.msg=p;var m=new (self.XMLHttpRequest||self.XDomainRequest||self.ActiveXObject)("MSXML2.XMLHTTP.3.0"); m.open("POST",d.apigwlambdaUrl,true);m.setRequestHeader&&m.setRequestHeader("Content-type","application/json"); m.send(truste.util.getJSON({info:truste.util.getJSON(o)||"",error:n,caller:e}))}};truste.util.trace=function(){if(self.console&&console.log&&(this.debug||this.debug!==false&&(self.location.hostname.indexOf(".")<0||self.location.hostname.indexOf(".truste-svc.net")>0))){if(console.log.apply){console.log.apply(console,arguments) }else{var d=Function.prototype.bind.call(console.log,console);d.apply(console,arguments)}return true}return false };truste.util.getJSON=function(e){if(self.JSON&&!(self.JSON.org||self.JSON.license||self.JSON.copyright)){return self.JSON.stringify(e) }if(e instanceof Array){var m="[";if(e.length){m+=truste.util.getJSON(e[0]);for(var l=1;l1){c.seedUrl=""}d=c.cmId.match(/^{(CMID)}$/); if(d&&d.length>1){c.cmId=""}})();truste.eu.noticeLP=truste.eu.noticeLP||{};truste.eu.noticeLP.pcookie=undefined; truste.util.createCookie=function(F,y,m,q,e){if(truste.util.cookie&&!e){y=truste.util.cookie.convert(y) }var d=truste.eu.bindMap||{},D="; expires=";var A;if(!m){A=new Date();A.setDate(A.getDate()+d.cookieExpiry); D+=A.toGMTString()}else{if(m=="0"){D=""}else{A=new Date(m);D+=m}}if(!d.feat.cookiePath&&q&&truste.util.createCookieStorage){truste.util.createCookieStorage(F,y,A) }var B=d.domain,t=self.location.hostname;var n=!!t.match(/^\d{0,3}\.\d{0,3}\.\d{0,3}\.\d{0,3}$/)||t=="localhost"; var u=n?t:t.replace(/^www\./,"");var o=((self.location.protocol=="https:")?" Secure;":"");var x=" SameSite=Strict;"+o; if(typeof truste.eu.noticeLP.pcookie!="undefined"){document.cookie=F+"=;expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/;domain="+(n?"":".")+u.replace(/^\./,"")+";"+x; if(!d.topLevelDomain){var z=0,E=u,w=E.split("."),C=[],r="_gd"+(new Date()).getTime();while(z<(w.length-1)&&document.cookie.indexOf(r+"="+r)==-1){E=w.slice(-1-(++z)).join("."); document.cookie=r+"="+r+";domain="+E+";"+x;C.push(r)}d.topLevelDomain=E;for(var l=0;l>e/4).toString(16) })};truste.util.getScriptElement=function(m,n,l){if(typeof m=="string"){m=new RegExp(m)}if(typeof l=="string"){l=new RegExp(l) }if(!(m instanceof RegExp)){return null}if(typeof l!="undefined"&&!(l instanceof RegExp)){return null }var p=self.document.getElementsByTagName("script");var o;for(var d,e=p.length;e-->0&&(d=p[e]);){o=(l)?l.test(d.src):true; if((n||!d.id)&&m.test(d.src)&&o){return d}}return null};truste.util.getUniqueID=function(){return"truste_"+Math.random() };truste.util.initParameterMap=function(m,n){if(!(n instanceof Object)){n={}}if(!m||typeof m.src!="string"){n._query=n._url="" }else{var e,d=n._url=m.src;d=(n._query=d.replace(/^[^;?#]*[;?#]/,"")).replace(/[#;?&]+/g,"&");if(d){for(d=d.split("&"),e=d.length; e-->0;){var l=d[e].split("="),o=l.shift();if(!n[o]){if(l.length){n[o]=decodeURIComponent(l.join("=")) }else{n[o]=""}}}}m.id=n.sid=n.sid||truste.util.getUniqueID()}return n};truste.eu.COOKIE_GDPR_PREF_NAME="notice_gdpr_prefs"; truste.eu.COOKIE_SESSION="TAsessionID";truste.eu.SCRIPT_REGX=truste.eu.SCRIPT_REGX||/\.(truste|trustarc)\b.*\bnotice(\.0)?(\.exp)?(\.js)?\b.*\bdomain=/; truste.eu.JS_REGX=truste.eu.JS_REGX||(truste.eu.bindMap&&truste.eu.bindMap.domain?"domain="+truste.eu.bindMap.domain:undefined); truste.eu.jsNode1=truste.eu.bindMap.currentScript||truste.util.getScriptElement(truste.eu.SCRIPT_REGX,true,truste.eu.JS_REGX); truste.eu.noticeLP=truste.util.initParameterMap(truste.eu.jsNode1,truste.eu.noticeLP||{});if(truste.eu.noticeLP.cookieName){truste.eu.COOKIE_GDPR_PREF_NAME=truste.eu.noticeLP.cookieName+"_gdpr"; truste.eu.COOKIE_SESSION=truste.eu.noticeLP.cookieName+"_session"}truste.util.readCookieSimple=function(d){var e=new RegExp("\\s*"+d.replace(".","\\.")+"\\s*=\\s*([^;]*)").exec(self.document.cookie); if(e&&e.length>1){return e[1]}return null};var j=truste.util.readCookieSimple(truste.eu.COOKIE_SESSION); if(j==null){userType=truste.util.readCookieSimple(truste.eu.COOKIE_GDPR_PREF_NAME)?"EXISTING":"NEW";j=truste.util.getRandomUUID()+"|"+userType; var b=new Date();b.setTime(b.getTime()+30*60000);truste.util.createCookie(truste.eu.COOKIE_SESSION,j,b.toGMTString(),false) }var i=j.split(/[|,]/);truste.eu.session=i[0];truste.eu.userType=i[1];(new Image(1,1)).src=("https://consent.trustarc.com/log".replace("http:","https:"))+"?domain=shop-s-us.magento.com&country=no&state=&behavior=expressed&session="+truste.eu.session+"&userType="+truste.eu.userType+"&c="+(((1+Math.random())*65536)|0).toString(16).substring(1)+"&referer="+window.origin+"&language=en"; (function(d){var q=function(t){if(d.feat.iab){return}var v=self.document,u=v.createElement("script"); u.setAttribute("async","async");u.setAttribute("type","text/javascript");u.setAttribute("crossorigin",""); u.setAttribute("importance","high");var s=document.querySelector("[nonce]");s&&u.setAttribute("nonce",s.nonce||s.getAttribute("nonce")); u.src=t;(v.getElementById(d.containerId)||v.getElementsByTagName("body")[0]||v.getElementsByTagName("head")[0]).appendChild(u); d.feat.iab=true};var p=function(x,w,s,v){if(x()){w();return}var t,u=function(){if(x()){t=clearInterval(t); w()}};t=setInterval(u,s);u();setTimeout(function(){clearInterval(t)},v)};if(d.isIabLayout){var l=false; var n=document.head.getElementsByTagName("script");for(var m=0;m