/* Version: 0.0.241 - August 22, 2024 14:18:22 */ !function(){"use strict";function e(e,t,i,n="",o="/",r){if(e){let s;i&&(s=new Date,s.setTime(s.getTime()+1e3*i*60)),window.document.cookie=e+"="+encodeURIComponent(t)+";path="+o+(n?";domain="+n:"")+(s?";expires="+s.toUTCString():"")+(r?";SameSite="+r:"")}}function t(e){if(e&&window.document.cookie){const t=window.document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]*)\\s*(;|$)");return t?decodeURIComponent(t[2]):null}return null}function i(t,i,n,o){e(t,"",-1,i,n,o)}function n(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(e=>(e^function(e=16){const t=window.crypto||window.msCrypto;return t&&t.getRandomValues?t.getRandomValues(new Uint8Array(1))[0]%e:Math.random()*e}()>>e/4).toString(16)))}var o=new class{constructor(){this.enabled=window.location.href.search(/[?&]?pubcid_debug=true[&$]?/)>=0}debug(...e){this.enabled&&"undefined"!=typeof console&&console.log(...e)}errro(...e){console.error(...e)}};const r="cookie",s="html5",a="_exp";function c(e="localStorage"){let t={};try{const t=window[e],i="__"+e+"_test__";return t.setItem(i,i),t.removeItem(i),!0}catch(i){return i instanceof DOMException&&(22===i.code||1014===i.code||"QuotaExceededError"===i.name||"NS_ERROR_DOM_QUOTA_REACHED"===i.name)&&0!==t.length}}function l(e){try{localStorage.removeItem(e+a),localStorage.removeItem(e)}catch(t){o.debug(t)}}function d(e,i){let n;return e===r?n=t(i):e===s&&(n=function(e){let t=null;try{const i=localStorage.getItem(e+a);if(i){new Date(i).getTime()-Date.now()>0?t=localStorage.getItem(e):l(e)}else t=localStorage.getItem(e)}catch(i){o.debug(i)}return t}(i)),"undefined"===n||"null"===n?null:n}function u(t,i,n,c,l){i&&n&&(t===r?e(i,n,c,l,"/","Lax"):t===s&&function(e,t,i){try{if(void 0!==i&&null!=i){const t=new Date(Date.now()+60*i*1e3).toUTCString();localStorage.setItem(e+a,t)}localStorage.setItem(e,t)}catch(n){o.debug(n)}}(i,n,c))}function p(e,t,n){t&&(e===r?i(t,n,"/","Lax"):e===s&&l(t))}class h{constructor(e,t,i,n){this.cmpApi=e,this.returnMsgName=t,this.getMsgName=i,this.locatorFrame=n}}var f="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function g(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var m,w,y,v={exports:{}};w=f,y=function(){var e=function(){},t="undefined",i=typeof window!==t&&typeof window.navigator!==t&&/Trident\/|MSIE /.test(window.navigator.userAgent),n=["trace","debug","info","warn","error"],o={},r=null;function s(e,t){var i=e[t];if("function"==typeof i.bind)return i.bind(e);try{return Function.prototype.bind.call(i,e)}catch(n){return function(){return Function.prototype.apply.apply(i,[e,arguments])}}}function a(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function c(){for(var i=this.getLevel(),o=0;o=0&&t<=u.levels.SILENT)return t;throw new TypeError("log.setLevel() called with invalid level: "+e)}"string"==typeof e?p+=":"+e:"symbol"==typeof e&&(p=void 0),u.name=e,u.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},u.methodFactory=i||d,u.getLevel=function(){return null!=l?l:null!=a?a:s},u.setLevel=function(e,i){return l=f(e),!1!==i&&function(e){var i=(n[e]||"silent").toUpperCase();if(typeof window!==t&&p){try{return void(window.localStorage[p]=i)}catch(o){}try{window.document.cookie=encodeURIComponent(p)+"="+i+";"}catch(o){}}}(l),c.call(u)},u.setDefaultLevel=function(e){a=f(e),h()||u.setLevel(e,!1)},u.resetLevel=function(){l=null,function(){if(typeof window!==t&&p){try{window.localStorage.removeItem(p)}catch(e){}try{window.document.cookie=encodeURIComponent(p)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch(e){}}}(),c.call(u)},u.enableAll=function(e){u.setLevel(u.levels.TRACE,e)},u.disableAll=function(e){u.setLevel(u.levels.SILENT,e)},u.rebuild=function(){if(r!==u&&(s=f(r.getLevel())),c.call(u),r===u)for(var e in o)o[e].rebuild()},s=f(r?r.getLevel():"WARN");var g=h();null!=g&&(l=f(g)),c.call(u)}(r=new u).getLogger=function(e){if("symbol"!=typeof e&&"string"!=typeof e||""===e)throw new TypeError("You must supply a name when creating a logger.");var t=o[e];return t||(t=o[e]=new u(e,r.methodFactory)),t};var p=typeof window!==t?window.log:void 0;return r.noConflict=function(){return typeof window!==t&&window.log===r&&(window.log=p),r},r.getLoggers=function(){return o},r.default=r,r},(m=v).exports?m.exports=y():w.log=y();var b=g(v.exports);const _="__tcfapiCall";class C extends h{constructor(){super("__tcfapi","__tcfapiReturn",_,"__tcfapiLocator"),this.cmpData={},this.consentCallbackList=[]}formatData(e){const t={version:2};return e&&(t.gdprApplies=e.gdprApplies,t.consentString=e.tcString,t.tcData=e,t.hasStorageAccess=t.tcData&&t.tcData.purpose&&t.tcData.purpose.consents&&t.tcData.purpose.consents[1]),b.debug("Caching TCF data",JSON.stringify(t)),t}createMsg(e,t,i){return{[_]:{command:e,version:2,parameter:t,callId:i}}}callCmp(e,t,i,n){e(t,2,i,n)}getListenerCmd(){return[["addEventListener"]]}parseMsg(e,t){b.debug("TCF parse message",t,JSON.stringify(e));const i=t?e:void 0;this.cmpSuccess=t,this.cmpData=this.formatData(i),b.debug("Clearing TCF callback queue, queue size:",this.consentCallbackList.length),this.consentCallbackList.forEach((e=>{e(this.cmpData,t)})),this.consentCallbackList.length=0}fetchDataCallback(e,t){t?!1!==e.gdprApplies&&"tcloaded"!==e.eventStatus&&"useractioncomplete"!==e.eventStatus||(b.debug("TCF parse response",t,JSON.stringify(e)),this.parseMsg(e,t)):this.parseMsg(void 0,t)}getConsent(e){void 0!==this.cmpSuccess?(b.debug("Using cached TCF result",this.cmpSuccess,JSON.stringify(this.cmpData)),e(this.cmpData,this.cmpSuccess)):(b.debug("No consent data yet, queuing TCF callback for later"),this.consentCallbackList.push(e))}}class S{constructor(e){this.driver=e}fetchConsentData(e){const t=this.driver.getListenerCmd();t&&this.sendCmpRequests(t,((e,t)=>{b.debug("Received CMP server response",t,JSON.stringify(e)),this.driver.fetchDataCallback(e,t)}),e)}getConsent(e){this.driver.getConsent(e)}sendCmpRequests(e,t,i=3e4){this.driver||t(Error("No CMP/TCF found"),!1),e.forEach((e=>{this.callApi(e[0],e[1],t)})),setTimeout((()=>{void 0===this.driver.cmpSuccess&&(b.debug("Timedout waiting for CMP server"),this.driver.fetchDataCallback(void 0,!1))}),i)}}class I extends S{constructor(e,t){super(t),this.name="localProxy",this.fCmp=e}callApi(e,t,i){this.driver.callCmp(this.fCmp,e,i,t)}}class k extends S{constructor(e){super(e)}callSafeFrame(e,t,i){window.$sf.ext.register(300,250,(function(e,t){if(e===this.driver.returnMsgName){let e=t;this.driver.getSafeFrameData&&(e=this.driver.getSafeFrameData(t)),i(e,t.success)}})),window.$sf.ext[this.driver.safeframeCall](e)}}class x extends S{constructor(e,t){super(t),this.cmpCallbacks={},this.cmpFrame=e,this.driver=t,this.name="frameProxy",this.fProcess=e=>this.processEvent(e),this.setup()}processEvent(e){let t={};try{t="string"==typeof e.data?JSON.parse(e.data):e.data}catch(i){}if(t[this.driver.returnMsgName]&&t[this.driver.returnMsgName].callId){let e=t[this.driver.returnMsgName],i=this.cmpCallbacks[e.callId];void 0!==i&&(i(e.returnValue,e.success),delete this.cmpCallbacks[e.callId])}}setup(){window.addEventListener?window.addEventListener("message",this.fProcess,!1):window.attachEvent("onmessage",this.fProcess)}stop(){window.removeEventListener?window.removeEventListener("message",this.fProcess,!1):window.detachEvent("onmessage",this.fProcess())}callApi(e,t,i){let n=Math.random()+"",o=this.driver.createMsg(e,t,n);this.cmpCallbacks[n]=i,this.cmpFrame.postMessage(o,"*")}}function E(){let e;return e=function(e){let t,i;try{t=window[e.cmpApi]||window.top[e.cmpApi]}catch(n){}if("function"==typeof t)b.debug("Using local proxy"),i=new I(t,e);else if(window.$sf&&window.$sf.ext&&window.$sf.ext[e.safeframeCall])b.debug("Using safe frame proxy"),i=new k(e);else{b.debug("Using frame proxy");const t=function(e){let t,i=window;for(;!t;){try{i.frames[e]&&(t=i)}catch(n){}if(i===window.top)break;i=i.parent}return t}(e.locatorFrame);t&&(i=new x(t,e))}return i}(new C),e}class L{constructor(e={}){this.config={timeout:1e3,alwaysCallback:!1,type:"iab"},Object.assign(this.config,e),b.debug("Config",JSON.stringify(this.config)),"iab"===this.config.type&&(this.proxy=E(),this.proxy&&this.proxy.fetchConsentData(this.config.timeout))}checkConsent(e){this.consentEnabled()?this.proxy?(b.debug("checking Consent"),this.proxy.getConsent(e)):(b.debug("No proxy available for CMP"),e({})):(b.debug("consent not enabled"),e({gdprApplies:!1}))}consentEnabled(){return"iab"===this.config.type}hasStorageConsent(e){this.checkConsent((t=>{let i=t.gdprApplies;void 0===i&&(i=!this.config.alwaysCallback),e(!i||t.hasStorageAccess)}))}}class A{constructor(e={}){var t,i;if(this.config={name:"_pubcid",optoutName:"_pubcid_optout",expInterval:525600,create:!0,cookieDomain:void 0,type:"html5,cookie",extend:!0,pixelUrl:"",consent:{type:"iab",alwaysCallback:!0}},t=this.config,i=e,t&&i&&Object.keys(i).forEach((e=>{const n=i[e];void 0!==n&&t.hasOwnProperty(e)&&(t[e]=n)})),this.cachedDomain=void 0,this.typeEnabled=null,"string"==typeof this.config.type){const e=this.config.type.split(",");for(let t=0;t{let i=null;t?(this.createPubcid(),i=this.readPubcid()):this.deletePubcid(),"function"==typeof e&&e(i)}))}readPubcidWithConsent(e){this.hasConsent((t=>{const i=t?this.readPubcid():null;"function"==typeof e&&e(i)}))}getPixel(e=""){if(this.config.pixelUrl){!function(e){const t=document.createElement("img");t.width=1,t.height=1,t.style.display="none",t.src=e}(function(e,t,i){const n=e.match(/([^?#]+)(\?[^#]*)?(#.*)?/),o=n[1]||"",r=n[2]||"",s=n[3]||"";if(t=encodeURIComponent(t),i=encodeURIComponent(i||""),r){const e=r.substr(1).split("&");let n=e.length;for(let i=0;ivoid 0!==t&&void 0!==t.url&&""!==t.url&&D.test(t.url)?t.url:e,N=function(t,i,n=259200){O("localStorage")&&window.localStorage.setItem(t,i);e(t,i,n,window.location.hostname?`.${window.location.hostname}`:void 0)},O=function(e){try{e=window[e];let t="__storage_test__";return e.setItem(t,t),e.removeItem(t),!0}catch(t){return!1}},F=function(e){try{let i=null,n=null;return function(){let e=navigator.cookieEnabled;try{if(!e){let t="testcookie";document.cookie=t,e=-1!==document.cookie.indexOf(t)}}catch(t){return!1}return e}()&&(i=t(e)),O("localStorage")&&(n=window.localStorage.getItem(e)),i||n}catch(i){}},R=()=>{let e="";return window.PublisherCommonId&&(e=window.PublisherCommonId.getId()),e};let M=!1,j=1;const $=()=>{try{(()=>{if(!M&&window.PublisherCommonId){if("undefined"==typeof googletag)throw new Error("Google tag doesn't exist");{const e=window.PublisherCommonId.getId();if(!e)return;googletag.pubads().setPublisherProvidedId(e),googletag.pubads().setTargeting("_aud",J()),googletag.enableServices(),M=!0}}})()}catch{if(j>=10||M)return void(M=!0);j+=1,setTimeout($,200)}},J=()=>{let e="_rl_aud",t=[];try{let i=localStorage.getItem(e);"string"==typeof i&&(t=i.split(","))}catch(e){}if(0===t.length){let i=F(e);i&&(t=i.split(","))}return t},z=async e=>{const t=(new TextEncoder).encode(e),i=await crypto.subtle.digest("SHA-256",t);return Array.from(new Uint8Array(i)).map((e=>e.toString(16).padStart(2,"0"))).join("")},W=async e=>{const t=(new TextEncoder).encode(e),i=await crypto.subtle.digest("SHA-512",t);return Array.from(new Uint8Array(i)).map((e=>e.toString(16).padStart(2,"0"))).join("")},q=["architecture","bitness","uafullversion","model","platform","platformVersion","fullVersionList"],Z=e=>{if(!e||0===e.length)return"";let t="";for(let i of e){""!==t&&(t+=", ");t+=`${i.brand}/${i.version}`}return t};var H=window,V=document;class B extends Array{next=()=>{if(this.gprc())return null;for(var e=0;e{for(var e=0;e{try{return window._relyScriptDefined}catch(e){return!1}})())throw new Error("Retargetly script has been already defined");window._relyScriptDefined=!0;const G=new class extends Array{constructor(e){super(),this.def=!0,this.timeout=2e3,this.postMessage=!0,this.ptc="https:"==H.location.protocol?"https":"http",this.options=e||{},this.options.spa_autoreload=!e||e.spa_autoreload,this.x=encodeURIComponent,this.iframeCount=0,this.referer="",this.segmentsToAssign=[],this.partnerSegmentsToAssign=[],this.relyIdCookieName="_rlid",this.relySegmentsCookieName="_rl_sg",this.reloadedFormTags,this.sic,this.stack=new B,this.oldURL=V.location.href,this.udts=200,this.udact=!1,this.h="api.retargetly.com"}getUrl=T;generateAndSaveRelyId=()=>{let e=n();return this.saveLocalUserId(e),e};callback=()=>{var e=this.stack.gprc();e&&!e.processed&&(e.processing=!1,e.processed=!0,this.stack_call())};pts=e=>{if("pageview"!=e.type&&"formtags"!=e.type)for(var t=0;t{for(var t in e)if("pid"==t)return e[t];return this.pid?this.pid:null};send=(e=!0)=>{var t,i,n,o,r={},s=["tags","sec","gender","age","born","ml_sh5","ml_sh2","mb_sh5","mb_sh2","nid_sh5","nid_sh2","ml_raw","mb_raw","nid_raw","external_id","custom","sg","partnerSg","ml_md5"];if((t=this.length)>0)for(var a=0;a0)for(n in r)this.pts({pid:n,type:"data",value:r[n].params.join("&")});else!this.postMessage&&this.sic&&this.pid&&this.pts({type:"sic",pid:this.pid});this.stack_call(),this.length=0};stack_call=async()=>{var e=this.stack.next();if(null!==e){var t="script",i="",n="";if(void 0!==this.options.limit_drop&&(n=this.options.limit_drop),"pageview"==e.type){t="iframe";const o=new URLSearchParams(e.pv_obj).toString(),r=new URLSearchParams(this.getIDsObject()).toString();i=this.ptc+"://"+this.h+"/api?id="+e.pid+"&src="+e.s+"&"+o+"&limit_drop="+n+"&"+r}else"data"==e.type?i=this.ptc+"://"+this.h+"/data?id="+e.pid+"&"+e.value+"&userid="+this.getLocalUserId()+"&sg="+this.segmentsToAssign.join()+"&partnerSg="+this.partnerSegmentsToAssign.join()+"&fp="+R():"formtags"==e.type?i=this.ptc+"://"+this.h+"/formtags?id="+e.pid:"sic"==e.type&&(i=this.ptc+"://"+this.h+"/cks?id="+e.pid);if(""!=i){const n=await(async()=>{let e={};if(!navigator.userAgentData)return e;if(!navigator.userAgentData.brands)return e;const t=await navigator.userAgentData.getHighEntropyValues(q);return e={plat:t.platform||"",ufv:Z(t.fullVersionList||[])},e})(),r=this.uachMap(n);i+="&"+new URLSearchParams(r).toString();var o=null;"iframe"==t?(this.iframeCount++,(o=V.createElement("iframe")).setAttribute("id","rely-iframe-"+this.iframeCount),o.src=i,o.style.display="none"):"script"==t?(o=V.createElement("script")).src=i:"image"==t&&((o=V.createElement("img")).src=i),null!==o?(o.referrerPolicy="no-referrer-when-downgrade",e.processing=!0,o.onload=function(){this.callback()}.bind(this),setTimeout(function(){this.callback()}.bind(this),this.timeout),V.body.appendChild(o)):this.callback()}}};getIDsObject=()=>({userid:this.getLocalUserId(),fp:R()});pvoMap=e=>{let t={ilvl:"il",url:"url",rf:"ref",tl:"n",desc:"md",kw:"mk"},i={};for(let n in e)n in t?i[t[n]]=e[n]:i[n]=e[n];return i};uachMap=e=>{let t={plat:"platform",ufv:"fullVersionList"},i={};for(let n in e)n in t?i[t[n]]=e[n]:i[n]=e[n];return i};rpv=()=>{let e=((e,t="")=>{let i={},n=window.parent!==window.self?window.parent===window.top?1:2:0;const o={ilvl:n,url:0==n?document.location.href:1==n?document.referrer:"",rf:0==n?document.referrer:"",tl:0==n?document.title:"",desc:"",kw:""};o.url=T(o.url,e);try{i=window.top.document,o.url=document.top.location.href,o.referrer=i.referrer,o.title=i.title||""}catch(a){}let r;t&&(o.referrer=t);let s=i.getElementsByTagName?i.getElementsByTagName("meta"):[];for(let c=0;c{this.udact=!0;var e=T(V.location.href,this.options);this.oldURL!=e&&(this.rpid(),this.referer=this.oldURL,this.oldURL=e,this.rpv()),setTimeout(this.udtc,this.udts)};rpid=()=>{for(var e=0;e<_rl_ids.length;e++)_rl_ids[e].processed=!1};spv=e=>{var t,i=0;if("undefined"!=typeof _rl_ids){this.rmrid();for(var n=0;n<_rl_ids.length;n++)_rl_ids[n].processed||(i=_rl_ids[n].pid,t=0,"number"==typeof _rl_ids[n].src&&(t=_rl_ids[n].src),i&&(this.pid=i,this.pts({type:"pageview",pid:i,s:t,pv_obj:e}),"function"==typeof script_epsilon_tag&&script_epsilon_tag(),_rl_ids[n].processed=!0))}0!=this.stack.length&&(this.length>0&&this.send(),this.stack_call())};svid=()=>{var e,t;if("undefined"==typeof _rl_ids&&(_rl_ids=[]),"number"==typeof _rl_id&&_rl_id>99)e=_rl_id,t=0,"number"==typeof _rl_src&&(t=_rl_src),_rl_ids.push({pid:e,src:t});else if(0==_rl_ids.length){var i=V.getElementsByTagName("script"),n=i[i.length-1].getAttribute("src",2);n&&(e=n.match(/.*\?id=(\d\d\d+)/))&&_rl_ids.push({pid:e[1],src:0})}this.rmrid()};rmrid=()=>{for(var e=_rl_ids.length-1;e>=0;e--)this.erid(_rl_ids[e].pid,_rl_ids[e].src,e)&&_rl_ids.splice(e)};erid=(e,t,i)=>{for(var n=0;n<_rl_ids.length;n++)if(n!=i&&_rl_ids[n].pid==e&&_rl_ids[n].src==t)return!0;return!1};getLocalStorageOrCookieUserId=()=>F(this.relyIdCookieName);getLocalUserId=()=>{let e=this.getLocalStorageOrCookieUserId();return e||this.generateAndSaveRelyId()};saveLocalUserId=e=>{N(this.relyIdCookieName,e)};saveSgInLocalStorageAndFPCookies=e=>{N(this.relySegmentsCookieName,e)};reloadFormTags=()=>{"object"==typeof _rl_ids&&"object"==typeof _rl_ids[0]&&_rl_ids[0].pid&&(this.pts({type:"formtags",pid:_rl_ids[0].pid}),this.stack_call())};validEmail=e=>/^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+.[A-Za-z]{2,4}$/.test(e);validBase64=e=>/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}(window._rely&&window._rely.options?window._rely.options:{});window._rely.getLocalUserId=G.getLocalUserId.bind(G),window._rely.getLocalStorageOrCookieUserId=G.getLocalStorageOrCookieUserId.bind(G),window._rely.getUrl=G.getUrl.bind(G),window._rely.saveSgInLocalStorageAndFPCookies=G.saveSgInLocalStorageAndFPCookies.bind(G),window._rely.reloadFormTags=G.reloadFormTags.bind(G),window._rely.saveLocalUserId=G.saveLocalUserId.bind(G),window._rely.push=G.push.bind(G),window._rely.send=G.send.bind(G),new Promise(((e,t)=>{try{if(!window.PublisherCommonId){U.reg(b),U.apply(b,{template:"[%n] %l -",nameFormatter:function(e){return e||"Pubcid"}});let e=window.pubcid_options||{};e={...e,autoinit:!1},e.consent||(e.consent={type:null}),function(e,t,i={}){const o="PublisherCommonId",r=e[o]||{};function s(e){if("function"!=typeof e){const t=[].slice.call(e),i=t.shift();"function"==typeof r[i]?(b.debug(`Processing command: ${i}`),r[i].apply(r,t)):b.warn(`Skipped unrecognized command: ${i}`)}else b.debug("Processing anonymous function"),e()}r.que=r.que||[];const a=new A(i);r.getId=function(){return a.readPubcid()||""},r.init=function(){a.updatePubcidWithConsent()},r.createId=function(){a.createPubcid()},r.deleteId=function(){a.deletePubcid()},r.generateId=function(){return n()},r.updateIdWithConsent=function(e){a.updatePubcidWithConsent(e)},r.getIdWithConsent=function(e){a.readPubcidWithConsent(e)},(void 0===i.autoinit||i.autoinit)&&r.init(),r.que.forEach((e=>{s(e)})),r.que.push=s,e[o]=r}(window,document,e)}window.PublisherCommonId.updateIdWithConsent((t=>{b.debug(`Pubcid initialized: ${t}`),e(t)}))}catch(i){t(i)}})).then((e=>{if($(),e){try{var t=window.addEventListener?"addEventListener":"attachEvent";(0,window[t])("attachEvent"==t?"onmessage":"message",(function(e){if(e.origin,G.ptc,G.h,void 0!==e.data){var t=(e.data+"").split("|");if(t.length>0)if("ok"==t[0])G.callback();else if("sg"==t[0])N(G.relySegmentsCookieName,t[1]);else if("storageAudiences"==t[0]){(e=>{if(e.dtk&&e.device.audiences){let t=e.device.audiences.join(",");N("_rl_aud",t)}})(JSON.parse(t[1]))}}}),!1)}catch(i){G.postMessage=!1,console.log(i)}G.svid(),void 0!==G.options&&G.options.spa_autoreload&&!G.udact&&G.udtc(),G.rpv();const e=setInterval((async()=>{try{let i,n,o="";if(window.tp&&window.tp.pianoId&&"function"==typeof window.tp.pianoId.getUser){const e=window.tp.pianoId.getUser();e&&"string"==typeof e.email&&(i=e.email)}if(!i&&window.viafoura&&window.viafoura.users&&"function"==typeof window.viafoura.users.current){const e=window.viafoura.users.current();e&&"string"==typeof e.email&&(i=e.email)}if(!i&&window._etmc&&window._etmc.user_info&&"string"==typeof window._etmc.user_info.email&&(i=window._etmc.user_info.email),!i&&"function"==typeof window.rpl_getUserInfo){const e=window.rpl_getUserInfo();e&&"string"==typeof e.email&&(i=e.email)}if(!i)try{i=JSON.parse(localStorage.getItem("paywall_user")).email}catch(t){}if(!i)try{i=JSON.parse(localStorage.getItem("impulse_session")).user.email}catch(t){}if(i||(i=localStorage.getItem("go_user_email")),!i){let e=localStorage.getItem("userID");e&&G.validBase64(e)&&(i=window.atob(e))}if(i||(i=localStorage.getItem("xtremepush:user.email")),!i)try{let e=localStorage.getItem("customer");i=JSON.parse(e).data.email}catch(t){}if(!i)try{let e=localStorage.getItem("analyticsCustomer");i=JSON.parse(e).email}catch(t){}if(!i)try{let e=localStorage.getItem("user"),t=JSON.parse(e);i=t.email,n=t.identification,o=t.phone}catch(t){}if(!i)try{let e=localStorage.getItem("orderform");i=JSON.parse(e).clientProfileData.email}catch(t){}if(i=i?i.trim().toLowerCase():"",i&&G.validEmail(i)){let n="",o="";try{o=await z(i)}catch(t){}try{n=(e=>{function t(e,t){var i=e[0],a=e[1],c=e[2],l=e[3];i=n(i,a,c,l,t[0],7,-680876936),l=n(l,i,a,c,t[1],12,-389564586),c=n(c,l,i,a,t[2],17,606105819),a=n(a,c,l,i,t[3],22,-1044525330),i=n(i,a,c,l,t[4],7,-176418897),l=n(l,i,a,c,t[5],12,1200080426),c=n(c,l,i,a,t[6],17,-1473231341),a=n(a,c,l,i,t[7],22,-45705983),i=n(i,a,c,l,t[8],7,1770035416),l=n(l,i,a,c,t[9],12,-1958414417),c=n(c,l,i,a,t[10],17,-42063),a=n(a,c,l,i,t[11],22,-1990404162),i=n(i,a,c,l,t[12],7,1804603682),l=n(l,i,a,c,t[13],12,-40341101),c=n(c,l,i,a,t[14],17,-1502002290),i=o(i,a=n(a,c,l,i,t[15],22,1236535329),c,l,t[1],5,-165796510),l=o(l,i,a,c,t[6],9,-1069501632),c=o(c,l,i,a,t[11],14,643717713),a=o(a,c,l,i,t[0],20,-373897302),i=o(i,a,c,l,t[5],5,-701558691),l=o(l,i,a,c,t[10],9,38016083),c=o(c,l,i,a,t[15],14,-660478335),a=o(a,c,l,i,t[4],20,-405537848),i=o(i,a,c,l,t[9],5,568446438),l=o(l,i,a,c,t[14],9,-1019803690),c=o(c,l,i,a,t[3],14,-187363961),a=o(a,c,l,i,t[8],20,1163531501),i=o(i,a,c,l,t[13],5,-1444681467),l=o(l,i,a,c,t[2],9,-51403784),c=o(c,l,i,a,t[7],14,1735328473),i=r(i,a=o(a,c,l,i,t[12],20,-1926607734),c,l,t[5],4,-378558),l=r(l,i,a,c,t[8],11,-2022574463),c=r(c,l,i,a,t[11],16,1839030562),a=r(a,c,l,i,t[14],23,-35309556),i=r(i,a,c,l,t[1],4,-1530992060),l=r(l,i,a,c,t[4],11,1272893353),c=r(c,l,i,a,t[7],16,-155497632),a=r(a,c,l,i,t[10],23,-1094730640),i=r(i,a,c,l,t[13],4,681279174),l=r(l,i,a,c,t[0],11,-358537222),c=r(c,l,i,a,t[3],16,-722521979),a=r(a,c,l,i,t[6],23,76029189),i=r(i,a,c,l,t[9],4,-640364487),l=r(l,i,a,c,t[12],11,-421815835),c=r(c,l,i,a,t[15],16,530742520),i=s(i,a=r(a,c,l,i,t[2],23,-995338651),c,l,t[0],6,-198630844),l=s(l,i,a,c,t[7],10,1126891415),c=s(c,l,i,a,t[14],15,-1416354905),a=s(a,c,l,i,t[5],21,-57434055),i=s(i,a,c,l,t[12],6,1700485571),l=s(l,i,a,c,t[3],10,-1894986606),c=s(c,l,i,a,t[10],15,-1051523),a=s(a,c,l,i,t[1],21,-2054922799),i=s(i,a,c,l,t[8],6,1873313359),l=s(l,i,a,c,t[15],10,-30611744),c=s(c,l,i,a,t[6],15,-1560198380),a=s(a,c,l,i,t[13],21,1309151649),i=s(i,a,c,l,t[4],6,-145523070),l=s(l,i,a,c,t[11],10,-1120210379),c=s(c,l,i,a,t[2],15,718787259),a=s(a,c,l,i,t[9],21,-343485551),e[0]=d(i,e[0]),e[1]=d(a,e[1]),e[2]=d(c,e[2]),e[3]=d(l,e[3])}function i(e,t,i,n,o,r){return t=d(d(t,e),d(n,r)),d(t<>>32-o,i)}function n(e,t,n,o,r,s,a){return i(t&n|~t&o,e,t,r,s,a)}function o(e,t,n,o,r,s,a){return i(t&o|n&~o,e,t,r,s,a)}function r(e,t,n,o,r,s,a){return i(t^n^o,e,t,r,s,a)}function s(e,t,n,o,r,s,a){return i(n^(t|~o),e,t,r,s,a)}function a(e){var t,i=[];for(t=0;t<64;t+=4)i[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return i}var c="0123456789abcdef".split("");function l(e){for(var t="",i=0;i<4;i++)t+=c[e>>8*i+4&15]+c[e>>8*i&15];return t}function d(e,t){return e+t&4294967295}return function(e){for(var t=0;t>2]|=e.charCodeAt(i)<<(i%4<<3);if(r[i>>2]|=128<<(i%4<<3),i>55)for(t(o,r),i=0;i<16;i++)r[i]=0;return r[14]=8*n,t(o,r),o}(e))})(i)}catch(t){}(n||o)&&(o&&G.push({ml_sh2:o}),n&&G.push({ml_md5:n}),G.send()),clearInterval(e)}if(o=o?o.trim():"",o){let i,n="";try{i=await z(o)}catch(t){}try{n=await W(o)}catch(t){}(i||i)&&(i&&G.push({mb_sh2:i}),n&&G.push({mb_sh5:n}),G.send()),clearInterval(e)}if(n=n?n.trim():"",n){let i,o="";try{i=await z(n)}catch(t){}try{o=await W(n)}catch(t){}(i||i)&&(i&&G.push({nid_sh2:i}),o&&G.push({nid_sh5:o}),G.send()),clearInterval(e)}}catch(i){console.error("Rely error: ",i)}}),1e3);setTimeout((()=>{clearInterval(e)}),6e4)}})).catch((e=>{console.error("error initializing pubcid",e)}))}(); try{_rely.saveLocalUserId("a0263972-99e5-4348-8f2a-6607201f9f4d");} catch(e) {};