1var lotameIsCompatible = function() { return ( typeof Object.keys !== 'undefined' && typeof window.postMessage !== 'undefined' && typeof XMLHttpRequest !== 'undefined' && typeof(new XMLHttpRequest().withCredentials) !== 'undefined' && typeof console !== 'undefined' && typeof console.log !== 'undefined' && typeof document.createElement !== 'undefined' ); }; if(!lotameIsCompatible()){ if(console && console.error){ console.error('Lotame: This browser does not meet the minimum requirements.'); } } else { function sync16621_a(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}function sync16621_b(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:sync16621_a(a)}}var sync16621_aa="function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b},sync16621_c; if("function"==typeof Object.setPrototypeOf)sync16621_c=Object.setPrototypeOf;else{var sync16621_d;a:{var sync16621_ba={Wa:!0},sync16621_e={};try{sync16621_e.__proto__=sync16621_ba;sync16621_d=sync16621_e.Wa;break a}catch(a){}sync16621_d=!1}sync16621_c=sync16621_d?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var sync16621_f=sync16621_c; function sync16621_g(a,b){a.prototype=sync16621_aa(b.prototype);a.prototype.constructor=a;if(sync16621_f)sync16621_f(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.jb=b.prototype}var sync16621_h="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this;function sync16621_i(a,b){return Object.prototype.hasOwnProperty.call(a,b)} var sync16621_ca="function"==typeof Object.assign?Object.assign:function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];if(d)for(var f in d)sync16621_i(d,f)&&(a[f]=d[f])}return a},sync16621_j="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)}; function sync16621_k(a,b){if(b){var c=sync16621_h;a=a.split(".");for(var d=0;d<a.length-1;d++){var f=a[d];f in c||(c[f]={});c=c[f]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&sync16621_j(c,a,{configurable:!0,writable:!0,value:b})}}sync16621_k("Object.assign",function(a){return a||sync16621_ca});function sync16621_l(){sync16621_l=function(){};sync16621_h.Symbol||(sync16621_h.Symbol=sync16621_da)} function sync16621_ea(a,b){this.La=a;sync16621_j(this,"description",{configurable:!0,writable:!0,value:b})}sync16621_ea.prototype.toString=function(){return this.La};var sync16621_da=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new sync16621_ea("jscomp_symbol_"+(c||"")+"_"+b++,c)}var b=0;return a}(); function sync16621_m(){sync16621_l();var a=sync16621_h.Symbol.iterator;a||(a=sync16621_h.Symbol.iterator=sync16621_h.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&sync16621_j(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return sync16621_fa(sync16621_a(this))}});sync16621_m=function(){}}function sync16621_fa(a){sync16621_m();a={next:a};a[sync16621_h.Symbol.iterator]=function(){return this};return a} sync16621_k("Object.is",function(a){return a?a:function(b,c){return b===c?0!==b||1/b===1/c:b!==b&&c!==c}});sync16621_k("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var f=d.length;c=c||0;for(0>c&&(c=Math.max(c+f,0));c<f;c++){var h=d[c];if(h===b||Object.is(h,b))return!0}return!1}});sync16621_k("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)sync16621_i(b,d)&&c.push([d,b[d]]);return c}}); sync16621_k("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)sync16621_i(b,d)&&c.push(b[d]);return c}});sync16621_k("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var f=d.length,h=0;h<f;h++){var g=d[h];if(b.call(c,g,h,d)){b=g;break a}}b=void 0}return b}}); sync16621_k("WeakMap",function(a){function b(e){this.V=(g+=Math.random()+1).toString();if(e){e=sync16621_b(e);for(var k;!(k=e.next()).done;)k=k.value,this.set(k[0],k[1])}}function c(){}function d(e){if(!sync16621_i(e,h)){var k=new c;sync16621_j(e,h,{value:k})}}function f(e){var k=Object[e];k&&(Object[e]=function(l){if(l instanceof c)return l;d(l);return k(l)})}if(function(){if(!a||!Object.seal)return!1;try{var e=Object.seal({}
vendor: 6,112 bytes, line 1
1),k=Object.seal({}),l=new a([[e,2],[k,3]]);if(2!=l.get(e)||3!=l.get(k))return!1; l.delete(e);l.set(k,4);return!l.has(e)&&4==l.get(k)}catch(m){return!1}}())return a;var h="$jscomp_hidden_"+Math.random();f("freeze");f("preventExtensions");f("seal");var g=0;b.prototype.set=function(e,k){d(e);if(!sync16621_i(e,h))throw Error("WeakMap key fail: "+e);e[h][this.V]=k;return this};b.prototype.get=function(e){return sync16621_i(e,h)?e[h][this.V]:void 0};b.prototype.has=function(e){return sync16621_i(e,h)&&sync16621_i(e[h],this.V)};b.prototype.delete=function(e){return sync16621_i(e,h)&& sync16621_i(e[h],this.V)?delete e[h][this.V]:!1};return b}); sync16621_k("Map",function(a){function b(){var e={};return e.F=e.next=e.head=e}function c(e,k){var l=e.C;return sync16621_fa(function(){if(l){for(;l.head!=e.C;)l=l.F;for(;l.next!=l.head;)return l=l.next,{done:!1,value:k(l)};l=null}return{done:!0,value:void 0}})}function d(e,k){var l=k&&typeof k;"object"==l||"function"==l?h.has(k)?l=h.get(k):(l=""+ ++g,h.set(k,l)):l="p_"+k;var m=e.U[l];if(m&&sync16621_i(e.U,l))for(e=0;e<m.length;e++){var n=m[e];if(k!==k&&n.key!==n.key||k===n.key)return{id:l,list:m, index:e,g:n}}return{id:l,list:m,index:-1,g:void 0}}function f(e){this.U={};this.C=b();this.size=0;if(e){e=sync16621_b(e);for(var k;!(k=e.next()).done;)k=k.value,this.set(k[0],k[1])}}if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var e=Object.seal({x:4}),k=new a(sync16621_b([[e,"s"]]));if("s"!=k.get(e)||1!=k.size||k.get({x:4})||k.set({x:4},"t")!=k||2!=k.size)return!1;var l=k.entries(),m=l.next();if(m.done||m.value[0]!=e||"s"!=m.value[1])return!1; m=l.next();return m.done||4!=m.value[0].x||"t"!=m.value[1]||!l.next().done?!1:!0}catch(n){return!1}}())return a;sync16621_m();var h=new WeakMap;f.prototype.set=function(e,k){e=0===e?0:e;var l=d(this,e);l.list||(l.list=this.U[l.id]=[]);l.g?l.g.value=k:(l.g={next:this.C,F:this.C.F,head:this.C,key:e,value:k},l.list.push(l.g),this.C.F.next=l.g,this.C.F=l.g,this.size++);return this};f.prototype.delete=function(e){e=d(this,e);return e.g&&e.list?(e.list.splice(e.index,1),e.list.length||delete this.U[e.id], e.g.F.next=e.g.next,e.g.next.F=e.g.F,e.g.head=null,this.size--,!0):!1};f.prototype.clear=function(){this.U={};this.C=this.C.F=b();this.size=0};f.prototype.has=function(e){return!!d(this,e).g};f.prototype.get=function(e){return(e=d(this,e).g)&&e.value};f.prototype.entries=function(){return c(this,function(e){return[e.key,e.value]})};f.prototype.keys=function(){return c(this,function(e){return e.key})};f.prototype.values=function(){return c(this,function(e){return e.value})};f.prototype.forEach=function(e, k){for(var l=this.entries(),m;!(m=l.next()).done;)m=m.value,e.call(k,m[1],m[0],this)};f.prototype[Symbol.iterator]=f.prototype.entries;var g=0;return f}); sync16621_k("Promise",function(a){function b(g){this.X=0;this.ta=void 0;this.O=[];var e=this.qa();try{g(e.resolve,e.reject)}catch(k){e.reject(k)}}function c(){this.I=null}function d(g){return g instanceof b?g:new b(function(e){e(g)})}if(a)return a;c.prototype.za=function(g){if(null==this.I){this.I=[];var e=this;this.Aa(function(){e.$a()})}this.I.push(g)};var f=sync16621_h.setTimeout;c.prototype.Aa=function(g){f(g,0)};c.prototype.$a=function(){for(;this.I&&this.I.length;){var g=this.I;this.I=[];for(var e= 0;e<g.length;++e){var k=g[e];g[e]=null;try{k()}catch(l){this.Xa(l)}}}this.I=null};c.prototype.Xa=function(g){this.Aa(function(){throw g;})};b.prototype.qa=function(){function g(l){return function(m){k||(k=!0,l.call(e,m))}}var e=this,k=!1;return{resolve:g(this.gb),reject:g(this.sa)}};b.prototype.gb=function(g){if(g===this)this.sa(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof b)this.hb(g);else{a:switch(typeof g){case "object":var e=null!=g;break a;case "function":e=!0;break a; default:e=!1}e?this.fb(g):this.Ea(g)}};b.prototype.fb=function(g){var e=void 0;try{e=g.then}catch(k){this.sa(k);return}"function"==typeof e?this.ib(e,g):this.Ea(g)};b.prototype.sa=function(g){this.Ia(2,g)};b.prototype.Ea=function(g){this.Ia(1,g)};b.prototype.Ia=function(g,e){if(0!=this.X)throw Error("Cannot settle("+g+", "+e+"): Promise already settled in state"+this.X);this.X=g;this.ta=e;this.ab()};b.prototype.ab=function(){if(null!=this.O){for(var g=0;g<this.O.length;++g)h.za(this.O[g]);this.O= null}};var h=new c;b.prototype.hb=function(g){var e=this.qa();g.aa(e.resolve,e.reject)};b.prototype.ib=function(g,e){var k=this.qa();try{g.call(e,k.resolve,k.reject)}catch(l){k.reject(l)}};b.prototype.then=function(g,e){function k(p,q){return"function"==typeof p?function(r){try{l(p(r))}catch(t){m(t)}}:q}var l,m,n=new b(function(p,q){l=p;m=q});this.aa(k(g,l),k(e,m));return n};b.prototype.catch=function(g){return this.then(void 0,g)};b.prototype.aa=function(g,e){function k(){switch(l.X){case 1:g(l.ta); break;case 2:e(l.ta);break;default:throw Error("Unexpected state: "+l.X);}}var l=this;null==this.O?h.za(k):this.O.push(k)};b.resolve=d;b.reject=function(g){return new b(function(e,k){k(g)})};b.race=function(g){return new b(function(e,k){for(var l=sync16621_b(g),m=l.next();!m.done;m=l.next())d(m.value).aa(e,k)})};b.all=function(g){var e=sync16621_b(g),k=e.next();return k.done?d([]):new b(function(l,m){function n(r){return function(t){p[r]=t;q--;0==q&&l(p)}}var p=[],q=0;do p.push(void 0),q++,d(k.value).aa(n(p.length- 1),m),k=e.next();while(!k.done)})};return b});function sync16621_n(){this.Da=-1!==window.location.href.indexOf("lotameDebug\x3dtrue");this.name="LT.JS"}sync16621_n.prototype.debug=function(a,b){this.Da&&a&&"undefined"!==typeof console&&"undefined"!==typeof console.log&&(b?console.log(this.name+": "+a,b):console.log(this.name+": "+a))}; sync16621_n.prototype.error=function(a,b){a&&"undefined"!==typeof console&&"undefined"!==typeof console.error&&(null!=b?console.error(this.name+": "+a,b):console.error(this.name+": "+a))};var sync16621_=new sync16621_n;function sync16621_o(){this.fa=23328E3}sync16621_o.prototype.P=function(a,b,c,d){d=void 0===d?this.fa:d;document.cookie=a+"\x3d"+b+"; Domain\x3d"+c+"; path\x3d/; SameSite\x3dLax;
1 expires\x3d"+(new Date(Date.now()+1E3*d)).toUTCString()};sync16621_o.prototype.W=function(a){var b=null,c=""+document.cookie;0!==c.length&&(a=c.match(a+"\x3d([^;]*)"),"undefined"!==typeof a&&null!==a&&(b=a[1]));return b};function sync16621_p(a,b,c){a=void 0===a?{}:a;b=void 0===b?{}:b;c=void 0===c?"lotame_":c;this.a=Object.assign({},{bcpClient:16621,audienceExtractionEnabled:!1,consentClientIds:[8791,16621],panoramaIdEnabled:!0,enableAudienceMatching:!0,googleEspEnabled:!1,enableDeclaredIds:!1,enableDeclaredIdsOnEvents:!0,protocol:"https",tagsDomain:"tags.crwdcntrl.net",privacyDomain:"privacy.crwdcntrl.net",firstPartyOnlyDomain:"ltmsphrcl.net",firstPartyOnlyCollectionPrefix:"c",bcpVersion:"6",sharedS3Path:"lt/shared/2", strictConsentEnabled:!1,tcfLotameVendorID:"95",lotameActiveConsent:!1,cookieNames:["_cc_id","_cc_aud","_cc_cc"],profileIdCookieName:"_cc_id",panoramaIdName:"panoramaId",panoramaIdTypeName:"panoramaIdType",declaredIdName:"lotame_16621_did",cmpWaitMillis:250,sensitivePrefix:"st"},a);-1!==window.location.href.indexOf("strictConsentEnabled\x3dtrue")&&(this.a.strictConsentEnabled=!0);a=c+"16621";this.a.namespace=window[a];c=this.a.namespace;if(!c)throw"Configuration Error! Please verify that your code and configuration match the specs and check for syntax errors in the console."; b=Object.assign({},{onProfileReady:null,bcpPrefix:"bcp"},b);this.Za=sync16621_ga(a,c,b);Object.assign(this.a,this.Za);this.a.iframeOrigin=this.a.protocol+"://tags.crwdcntrl.net";this.a.bcpDomain=this.a.bcpPrefix+".crwdcntrl.net";this.a.sensitiveDomain=this.a.bcpPrefix+"."+this.a.sensitivePrefix+".crwdcntrl.net";this.a.bcpFirstPartyOnlyDomain=this.a.firstPartyOnlyCollectionPrefix+".ltmsphrcl.net";this.a.sensitiveFirstPartyOnlyDomain=this.a.firstPartyOnlyCollectionPrefix+"."+this.a.sensitivePrefix+ ".ltmsphrcl.net";this.a.privacyFirstPartyOnlyDomain=this.a.firstPartyOnlyCollectionPrefix+".ltmsphrcl.net"}function sync16621_ha(a){return!(!a.a.audienceExtractionEnabled||!a.a.enableAudienceMatching||null===a.a.onProfileReady&&!1===a.a.audienceLocalStorage)} function sync16621_ga(a,b,c){var d={},f=Object.keys(c),h=b.config;h&&(Object.keys(h).filter(function(g){return!f.includes(g)}).forEach(function(g){return sync16621_.error("'"+g+"' is an unsupported config option.")}),d=Object.keys(h).filter(function(g){return f.includes(g)}).reduce(function(g,e){switch(e){case "audienceLocalStorage":"boolean"===typeof h[e]?g[e]=h[e]?"lotame_16621_auds":!1:"string"===typeof h[e]?g[e]=h[e]:sync16621_.error("The audienceLocalStorage config option is being ignored as it is neither a boolean nor a string. The default value of false will be used instead."); break;case "onTagReady":"function"!==typeof h[e]?sync16621_.error("The onTagReady config option is being ignored as it is not a function."):g[e]=h[e];break;case "onProfileReady":"function"!==typeof h[e]?sync16621_.error("The onProfileReady config option is being ignored as it is not a function."):g[e]=h[e];break;case "autoRun":"boolean"!==typeof h[e]?sync16621_.error("The autoRun config option is being ignored as it is not a boolean. The default value of true will be used instead."):g[e]=h[e];break; case "bcpPrefix":-1===["bcp","cn"].indexOf(h[e])?sync16621_.error("The bcpPrefix config option is being ignored as it is not valid. The default value of bcp will be used instead."):g[e]=h[e];break;case "clientId":sync16621_.debug("The clientId config option is not needed anymore");break;case "gpc":if(1==h[e])throw'Aborting because "gpc: 1" was present in the page configuration. Subsequent calls to the '+a+" interface will fail.";break;default:sync16621_.error("'"+e+"' is an unsupported config option.")}return g}, {}));return Object.assign({},c,d)}function sync16621_ia(a){if("undefined"==typeof a.a.cookieDomain){var b=a.a;var c=String(document.domain).toLowerCase();var d=new sync16621_o;var f=c.split(".");if(2==f.length)d=c;else{var h=-2;do{var g=c=f.slice(h).join(".");d.P("lotame_domain_check",g,c,10);d.W("lotame_domain_check")===g?g=!1:(h+=-1,g=Math.abs(h)<=f.length)}while(g);d=c}b.cookieDomain=d}return a.a.cookieDomain}sync16621_p.prototype.J=function(){return JSON.parse(JSON.stringify(this.a))};function sync16621_ja(){sync16621_p.call(this,{lastProfileUpdateMillisKey:"_cc_id_update_ts",profileRefreshMillis:6048E5,autoRunSyncJs:!1,source:"SYNCJS"},{gpc:0},"lotame_sync_")}sync16621_g(sync16621_ja,sync16621_p);var sync16621_ka=new RegExp(/^.{1,64}@.{1,255}$/),sync16621_la=new RegExp(/^[0-9a-f]{64}$/),sync16621_q=["EMAIL","EE","EMAIL_SHA256"]; function sync16621_r(a){a=void 0===a?{}:a;this.ja=null;this.$=!1;if(a&&sync16621_s(a)){var b=!1;a&&sync16621_s(a)?"undefined"===typeof a.id||"undefined"===typeof a.type?sync16621_.error("id object must contain both 'id' and 'type' attributes."):2<Object.keys(a).length?sync16621_.error("id object may only contain 'id' and 'type' attributes, got "+Object.keys(a).join(",")):sync16621_q.includes(a.type)?"EMAIL"!=a.type||sync16621_ka.test(a.id)?"EMAIL_SHA256"!=a.type||sync16621_la.test(a.id)?b=!0:sync16621_.error("supplied id must be valid sha256 hash, was '"+ a.id+"'"):sync16621_.error("supplied id must be valid email address, was '"+a.id+"'"):sync16621_.error("id object type must one of "+sync16621_q.join()+", found '"+a.type+"'"):sync16621_.error("id should be an object");b&&(this.ja=a,this.$=!0)}else sync16621_.error("idInput should be an object")}sync16621_r.prototype.D=function(){return!(this.$&&"string"===typeof this.ja)};sync16621_r.prototype.J=function(){return{did:this.ja}};function sync16621_t(a){a=void 0===a?{}:a;this.H=null;if(a=a.thirdParty){var b=!0;"object"!=typeof a&&(b=!1,sync16621_.error("tagInput.data.thirdParty should be an object"));a.namespace||(b=!1,sync16621_.error("tagInput.data.thirdParty.namespace is not defined"));a.value||(b=!1,sync16621_.error("tagInput.data.thirdParty.value is not defined"));a.namespace&&"string"!=typeof a.namespace&&(b=!1,sync16621_.error("tagInput.data.thirdParty.namespace should be defined and have a string as its value"));a.value&& "string"!=typeof a.value&&(b=!1,sync16621_.error("tagInput.data.thirdParty.value should be defined and have a string as its value"));b&&(this.H={},this.H[a.namespace]=a.value)}}function sync16621_u(a){return!!(a.H&&0<Object.keys(a.H).length)}sync16621_t.prototype.ca=function(){return{tp:sync16621_u(this)?this.H:void 0}};sync16621_t.prototype.D=function(){return!sync16621_u(this)}; sync16621_t.prototype.J=function(){if(sync16621_u(this)){var a=null;if(this.H){a={};var b=Object.keys(this.H);a.namespace=b[0];a.value=this.H[b[0]]}}else a=void 0;return{kb:a}};function sync16621_v(a){a=void 0===a?{}:a;sync16621_t.call(this,a);this.j=this.T=this.R=this.u=null;sync16621_ma(this,a.behaviorIds);sync16621_na(this,a.behaviors);sync16621_oa(this,a.ruleBuilder);a=a.declaredId;var b;if(b=a)b=!1,a&&sync16621_s(a)?"undefined"===typeof a.id||"undefined"===typeof a.type?sync16621_.error("Declared ID object must contain both 'id' and 'type' attributes."):2<Object.keys(a).length?sync16621_.error("Declared ID object may only contain 'id' and 'type' attributes, got "+Object.keys(a).join(",")): sync16621_q.includes(a.type)?"EMAIL"!=a.type||sync16621_ka.test(a.id)?"EMAIL_SHA256"!=a.type||sync16621_la.test(a.id)?b=!0:sync16621_.error("In declared ID, supplied id must be valid sha256 hash, was '"+a.id+"'"):sync16621_.error("In declared ID, supplied id must be valid email address, was '"+a.id+"'"):sync16621_.error("Declared ID object type must one of "+sync16621_q.join()+", found '"+a.type+"'"):sync16621_.error("Declared ID should be an object");b&&(this.j=a)}sync16621_g(sync16621_v,sync16621_t); function sync16621_ma(a,b){b&&(Array.isArray(b)&&b.every(function(c){return"number"===typeof c})?a.u=b:sync16621_.error("tagInput.data.behaviorIds should be an array of numbers"))} function sync16621_na(a,b){if(b){var c=!0;"object"!=typeof b&&sync16621_.error("tagInput.data.behaviors should be an object");for(var d=sync16621_b(Object.entries(b)),f=d.next();!f.done;f=d.next()){var h=sync16621_b(f.value);f=h.next().value;h=h.next().value;if(!Array.isArray(h)||!h.every(function(g){return"string"===typeof g})){sync16621_.error("tagInput.data.behaviors."+f+" should be an array of str
1ings");c=!1;break}}c&&(a.R=b)}}function sync16621_w(a){return!!(a.R&&0<Object.keys(a.R).length)} function sync16621_oa(a,b){if(b){for(var c=!0,d=sync16621_b(Object.entries(b)),f=d.next();!f.done;f=d.next()){var h=sync16621_b(f.value);f=h.next().value;h=h.next().value;if(!Array.isArray(h)||!h.every(function(g){return"string"===typeof g})){sync16621_.error("tagInput.data.ruleBuilder."+f+" should be an array of strings");c=!1;break}}c&&(a.T=b)}}function sync16621_x(a){return!!(a.T&&0<Object.keys(a.T).length)}function sync16621_y(a){return!!(a.j&&0<Object.keys(a.j).length)} sync16621_v.prototype.ca=function(){return Object.assign({},{b:this.u&&0<this.u.length?this.u:void 0,bt:sync16621_w(this)?this.R:void 0,db:sync16621_x(this)?this.T:void 0,did:sync16621_y(this)?this.j:void 0},sync16621_t.prototype.ca.call(this))};sync16621_v.prototype.D=function(){return!(this.u&&0<this.u.length)&&!sync16621_w(this)&&!sync16621_x(this)&&!sync16621_y(this)&&sync16621_t.prototype.D.call(this)}; sync16621_v.prototype.J=function(){return Object.assign({},{behaviorIds:this.u&&0<this.u.length?this.u:void 0,behaviors:sync16621_w(this)?this.R:void 0,ruleBuilder:sync16621_x(this)?this.T:void 0,declaredId:sync16621_y(this)?this.j:void 0},sync16621_t.prototype.J.call(this))};var sync16621_z;function sync16621_s(a){return"[object Object]"===Object.prototype.toString.call(a)}function sync16621_A(a){return 0===Object.keys(a).length&&a.constructor===Object} function sync16621_pa(a,b){var c=void 0===c?!0:c;b=b||{};var d=Object.assign({method:"GET",Ja:sync16621_B,error:sync16621_B,complete:sync16621_B},b),f=new XMLHttpRequest;f.onreadystatechange=function(){if(4==f.readyState){var h={};if(200==f.status){var g={};try{g=JSON.parse(f.response)}catch(e){sync16621_.error("Could not parse the following response from Lotame's servers: "+f.response)}d.Ja(g,f.statusText,h);d.complete(g,f.statusText,h)}else d.error(h,f.statusText,f.response),d.complete(h,f.statusText, f.response)}};b="undefined"===typeof d.data?"":JSON.stringify(d.data);f.open(d.method,a,!0);f.setRequestHeader("Content-Type","text/plain;charset\x3dUTF-8");c&&(f.withCredentials=!0);f.send(b)}function sync16621_qa(a,b){sync16621_z||(sync16621_z={});sync16621_z.consentGranted||(sync16621_z.consentGranted={});sync16621_z.consentGranted[a]=b} function sync16621_ra(){var a=void 0===a?[]:a;"object"==typeof sync16621_z&&"object"==typeof sync16621_z.consentGranted&&(Object.values(sync16621_z.consentGranted).forEach(function(b){b.apply(null,a)}),sync16621_z.consentGranted={})}function sync16621_B(){}function sync16621_C(){this.w=[]}sync16621_C.prototype.enqueue=function(a){this.w.push(a)};sync16621_C.prototype.D=function(){return 0===this.w.length};function sync16621_D(){this.xa=new sync16621_C} sync16621_D.prototype.enqueue=function(a){sync16621_s(a)&&this.xa.enqueue(new sync16621_v(a))};sync16621_D.prototype.D=function(){return this.xa.D()};function sync16621_sa(a){this.va=this.Ua=this.Va=!1;this.Oa="unknown";this.Qa=new sync16621_D;this.Ra=!1;this.Pa=a}sync16621_sa.prototype.J=function(){return JSON.parse(JSON.stringify({running:this.Va,runRequested:this.Ua,pageLoaded:this.va,dataCollectionEnvironment:this.Oa,internalDataQueue:this.Qa,internalDataQueueBeingProcessed:this.Ra,dataCollectionOnlyUseCase:this.Pa}))};function sync16621_E(a){this.f=a;this.Ca=new sync16621_o;this.eb=this.f.a.profileIdCookieName;this.ia=null;this.Ka=this.f.a.cookieNames;this.fa=23328E3;this.Ma="_exp"}function sync16621_F(a){return sync16621_G(a,a.eb)}function sync16621_G(a,b){var c=a.W(b);c||(c=sync16621_H(a,b));return c}function sync16621_I(a,b,c,d){a.P(b,c,void 0===d?a.fa:Math.ceil((d-(new Date).getTime())/1E3));sync16621_J(a,b,c)}sync16621_E.prototype.P=function(a,b,c){this.Ca.P(a,b,sync16621_ia(this.f),c)}; function sync16621_K(a){if(null===a.ia){try{var b=window.localStorage;b.setItem("__storage_test__","__storage_test__");b.removeItem("__storage_test__");var c=!0}catch(d){c=d instanceof DOMException&&(22===d.code||1014===d.code||"QuotaExceededError"===d.name||"NS_ERROR_DOM_QUOTA_REACHED"===d.name)&&b&&0!==b.length}a.ia=c}return a.ia}function sync16621_J(a,b,c){sync16621_K(a)&&window.localStorage.setItem(b,c||"")}function sync16621_L(a,b){a.W(b)&&a.P(b,"",0);sync16621_M(a,b)} function sync16621_M(a,b){sync16621_K(a)&&(window.localStorage.removeItem(b),window.localStorage.removeItem(b+a.Ma))}sync16621_E.prototype.W=function(a){return this.Ca.W(a)};function sync16621_H(a,b){return sync16621_K(a)?window.localStorage.getItem(b):null}function sync16621_ta(a,b){b&&b.forEach(function(c){var d=c.k,f=c.v;c=c.e;a.P(d,f,c);0<c?sync16621_J(a,d,f):sync16621_M(a,d)})} sync16621_E.prototype.K=function(){var a=this,b=[];
1a.Ka.forEach(function(c){var d=sync16621_G(a,c);d&&b.push({k:c,v:d})});return b};sync16621_E.prototype.B=function(){return this.f.a.panoramaIdEnabled?sync16621_G(this,this.f.a.panoramaIdName):null};function sync16621_ua(a){return a.f.a.panoramaIdEnabled?sync16621_G(a,a.f.a.panoramaIdTypeName):null}function sync16621_va(a){return!(!sync16621_F(a)&&!a.B())} function sync16621_wa(a,b){var c=!1;if(a=sync16621_H(a,"lotame_"+b+"_consent"))try{var d=Object(JSON.parse(a));if(d&&Array.isArray(d.consent)&&0<d.consent.length&&Array.isArray(d.consent[0].types)){var f=d.consent[0].types.find(function(h){return"analytics"==h.name});f&&(c="boolean"==typeof f.consent?f.consent:!1)}}catch(h){sync16621_.debug("Error parsing stored consent from local storage: lotame_"+b+"_consent")}return c} function sync16621_xa(a,b){b=void 0===b?[]:b;b=sync16621_b([a.f.a.panoramaIdName,a.f.a.panoramaIdTypeName,a.f.a.declaredIdName,a.f.a.panoramaIdName+"_expiry"].concat(a.Ka,b));for(var c=b.next();!c.done;c=b.next())sync16621_L(a,c.value)};function sync16621_N(a,b){this.f=a;this.storage=b;this.Ya=250;this.Ha=0}sync16621_N.prototype.ra=function(){console.error("Class extending BaseConsentHandler must implement pollForConsent()")};sync16621_h.Object.defineProperties(sync16621_N,{Na:{configurable:!0,enumerable:!0,get:function(){return 60}}});function sync16621_O(a,b){this.id=a;this.bb=b}sync16621_O.prototype.ea=function(){var a=this;return{getId:function(){return a.id},getIdType:function(){return a.id?a.bb||"UNKNOWN":null}}};var sync16621_ya=new Map(Object.entries({i:"panoIndiv",c:"panoDevice"}));function sync16621_za(a){if(null==a)return null;for(var b=sync16621_b(sync16621_ya),c=b.next();!c.done;c=b.next()){var d=sync16621_b(c.value);c=d.next().value;d=d.next().value;if(a===d)return c}return null};function sync16621_P(a,b){a=a||{};this.f=b||{};this.Z=this.M=this.Y=this.oa=this.wa=this.ga=null;if(b=a.aud)Array.isArray(b)?this.ga=b:sync16621_.error("profileData.audienceIds should be an array");if(b=a.pid)"string"!==typeof b?sync16621_.error("if defined, profileData.profileId should be a string"):this.wa=b;if(b=a.tc)Array.isArray(b)?this.oa=b:sync16621_.error("profileData.targetingCo
1des should be an array");(b=a.spx)&&!Array.isArray(b)&&sync16621_.error("profileData.syncPixels should be an array"); if(b=a.e)Array.isArray(b)?(this.Y=b,Array.isArray(b)&&b.forEach(this.Sa)):sync16621_.error("profileData.errorCodes should be an array");(b=a.exb)&&!Array.isArray(b)&&sync16621_.error("profileData.exportBeaconIds should be an array");sync16621_Aa(this,a.c);sync16621_Ba(this,a.ids)} function sync16621_Aa(a,b){if(b)if(Array.isArray(b)){var c=[];b.forEach(function(d){var f=!0,h=d.k,g=d.v,e=d.e;"string"!==typeof h&&(sync16621_.error("profileData.cookies key attribute should be a string but was "+h),f=!1);"string"!==typeof g&&(sync16621_.error("profileData.cookies value attribute should be a string but was "+g),f=!1);"number"!==typeof e&&(sync16621_.error("profileData.cookies expiration attribute should be a number but was "+e),f=!1);f&&c.push(d)});a.M=c}else sync16621_.error("profileData.cookies ("+ b+") should be an array")} function sync16621_Ba(a,b){if(b)if(Array.isArray(b)){var c=[];b.forEach(function(d){var f=!0,h=d.c,g=d.i,e=d.t,k=d.e;"string"!==typeof h&&(sync16621_.error("profileData.ids category attribute should be a string but was "+h),f=!1);"string"!==typeof g&&"core"!==h&&(sync16621_.error("profileData.ids id attribute should be a string but was "+g),f=!1);e&&"string"!==typeof e&&(sync16621_.error("if set, profileData.ids type attribute should be a string but was "+e),f=!1);-1==["undefined","string"].indexOf(typeof k)&& (sync16621_.error("if set, profileData.ids expiry attribute should be a string but was "+k),f=!1);f&&c.push(d)});a.Z=c}else sync16621_.error("profileData.ids ("+b+") should be an array")}function sync16621_Ca(a,b){var c=[];a.oa?c=a.oa:a.ga&&(c=a.ga.join(",").split(","));return"number"===typeof b&&0<b?c.slice(0,b):c}function sync16621_Q(a){return(a.Z||[]).find(function(b){return"core"==b.c})}sync16621_P.prototype.B=function(){var a=sync16621_Q(this);return a?a.i:null}; function sync16621_Da(a){var b=sync16621_Q(a);a=b?b.i:null;b?(b=b.t,b=null==b?null:(b=sync16621_ya.get(b))?b:"UNKNOWN"):b=null;return(new sync16621_O(a,b)).ea()}function sync16621_Ea(a){return(a.Z||[]).find(function(b){return"did"==b.c})}sync16621_P.prototype.K=function(){return this.M};function sync16621_Fa(a,b){return(a=(a.Z||[]).find(function(c){return b==c.t&&"sync"==c.c}))?a.i:null} sync16621_P.prototype.ea=function(){var a=this,b={};return b.getProfileId=function(){return a.wa},b.getAudienceString=function(c,d){return(d=sync16621_Ca(a,d))&&d!==[]?d.join(void 0===c?",":c):null},b.getAudiences=function(c){return sync16621_Ca(a,c)},b.getErrorCodes=function(){return a.Y},b.getThirdParty=function(c){return sync16621_Fa(a,c)},b.getPanoramaId=function(){return a.B()},b.getPanorama=function(){return sync16621_Da(a)},b}; sync16621_P.prototype.Sa=function(a){var b=void 0;switch(a){case 100:b="Audience extraction calls are not enabled.";break;case 101:b="Appropriate consent for audience extraction is not present.";break;case 102:b="Data collection is not enabled.";break;case 103:b="Id syncing is not enabled.";break;case 104:b="Data collection client id validation failed.";break;case 105:b="Audience extraction client id validation failed.";break;case 106:b="Linked parent id for audience extraction is invalid.";break; case 107:b="Aborting because third party cookies are disabled and domain is not configured to use first party storage.";break;case 111:b="Aborting because no consent was present on the request or stored server-side";break;case 112:break;case 113:b="Received Error Code 113";break;case 114:b="Aborting because TCF string was expected but not present.";break;case 115:b="Declared Ids are not enabled for this client - the request contained a Declared ID but the indicated data collection client is not enabled for this feature."; break;case 116:b="The request contained a Declared ID that was not properly formatted.";break;default:b="Unhandled error code "+a+" was received from the data collection call."}b&&sync16621_.error(b)};function sync16621_Ga(a){return Array.isArray(a.Y)?!!a.Y.some(function(b){return-1!==[102,104,111].indexOf(b)}):!1};function sync16621_R(){this.ka=this.ha=void 0;this.ua=this.la=this.ya=!1;this.ma=!0;this.G=this.j=this.M=this.w=void 0;this.pa=!1;this.S=this.na=this.A=this.o=this.l=void 0}function sync16621_Ha(){var a=new sync16621_R;a.ya=!1;return a}function sync16621_S(a,b){a.ua=b;return a}function sync16621_T(a,b){a.ha=b;return a}function sync16621_U(a,b){a.la=b;return a}function sync16621_V(a,b){a.M=b;return a}function sync16621_Ia(a,b){"undefined"!==typeof b&&(a.j=b);return a} function sync16621_W(a,b){"object"===typeof b&&(a.G=b);return a}function sync16621_X(a,b){"undefined"!==typeof b&&(a.o=b);return a}function sync16621_Y(a,b){"undefined"!==typeof b&&(a.l=b);return a}function sync16621_Z(a,b){"undefined"!==typeof b&&(a.A=b);return a}function sync16621__(a,b){"undefined"!==typeof b&&(a.na=b);return a} function sync16621_0(a){var b=Object.assign({},a.w,sync16621_Ja(a)),c=Object.assign({},{ref:a.ka,pv:a.ua,dcc:a.ha,co:a.pa,src:a.na},sync16621_Ka(a));return Object.assign({r:{rpr:a.ya,rpx:a.ma,rid:a.la},m:c,d:b,c:a.M},sync16621_La(a))}function sync16621_1(a){var b=Object.assign({},a.w,sync16621_Ja(a)),c=Object.assign({},{dcc:a.ha,src:a.na},sync16621_Ka(a));return Object.assign({r:{rid:a.la},m:c,d:b,c:a.M},sync16621_La(a))}function sync16621_Ja(a){return"object"===typeof a.j?a.j.J():{}} function sync16621_2(a){return"object"===typeof a.j||"object"===typeof a.w&&"object"===typeof a.w.did}function sync16621_La(a){var b={},c="boolean"===typeof a.l,d="string"===typeof a.o,f="boolean"===typeof a.S;c||d||f?(b.consent={},c||d?(b.consent.gdpr_applies=c?a.l:null,b.consent.gdpr_consent=d?a.o:null):b.consent.lac=a.S):a.A&&(b.consent={lac:!0});return b}function sync16621_Ka(a){var b={};"object"==typeof a.G&&0<Object.keys(a.G||{}).length&&(b.ch=a.G);return b};function sync16621_3(a,b,c){sync16621_N.call(this,a,b);this.N=c;this.o=this.l=null;this.Ta="1 3 5 7 8 9 10".split(" ");this.Ba=null;this.ba={}}sync16621_g(sync16621_3,sync16621_N); sync16621_3.prototype.ra=function(){var a=this;if("undefined"!==typeof window.__tcfapi)try{window.__tcfapi("addEventListener",2,function(b,c){return sync16621_Ma(a,b,c)})}catch(b){b&&sync16621_.error("There was a problem using the TCF API: "+b)}else if(sync16621_Na(this))try{window.__lotameIframeTcfApi("addEventListener",2,function(b,c){return sync16621_Ma(a,b,c)})}catch(b){b&&sync16621_.error("There was a problem using the TCF IFRAME
1LOCATOR API: "+b)}else this.Ha<sync16621_3.Na&&setTimeout(function(){a.ra(); a.Ha++},this.Ya)};function sync16621_Na(a){try{var b=window;if(b!==window.top)for(;b;){if(b.frames&&b.frames.__tcfapiLocator)return a.Ba=b,sync16621_Oa(a),!0;if(b===window.top)break;b=b.parent}}catch(c){c&&sync16621_.error("There was a problem while setting up the TCF IFRAME LOCATOR API: "+c)}return!1} function sync16621_Oa(a){"undefined"===typeof window.__lotameIframeTcfApi&&(sync16621_.debug("Initializing TCF support in an iframe"),window.__lotameIframeTcfApi=function(b,c,d,f){var h=Math.random()+"";b={__tcfapiCall:{command:b,parameter:f,version:c,callId:h}};a.ba[h]=d;a.Ba.postMessage(b,"*")},window.addEventListener("message",function(b){var c={};try{c="string"===typeof b.data?JSON.parse(b.data):b.data}catch(d){}(b=c.__tcfapiReturn)&&"function"===typeof a.ba[b.callId]&&(a.ba[b.callId](b.returnValue, b.success),a.ba[b.callId]=null)},!1))} function sync16621_Ma(a,b,c){if(c&&b&&("tcloaded"===b.eventStatus||"useractioncomplete"===b.eventStatus)&&(b.tcString&&"string"==typeof b.tcString&&(a.o=b.tcString),b.gdprApplies&&"boolean"==typeof b.gdprApplies&&(a.l=b.gdprApplies),b.vendor&&b.vendor.consents&&b.purpose&&b.purpose.consents&&"object"===typeof b.purpose.consents)){c=!0;for(var d=sync16621_b(a.Ta),f=d.next();!f.done;f=d.next())if(f=f.value,!b.purpose.consents[f]||"boolean"!==typeof b.purpose.consents[f]||!0!==b.purpose.consents[f]){c= !1;break}c&&!0===b.vendor.consents[a.f.a.tcfLotameVendorID]?(a.N.L=!0,sync16621_ra()):(a.N.L=!1,sync16621_Pa(a))}}function sync16621_Pa(a){a.f.a.strictConsentEnabled&&sync16621_va(a.storage)&&("SYNCJS"==a.f.a.source?sync16621_Qa(a.N,function(){return sync16621_xa(a.storage,[a.f.a.lastProfileUpdateMillisKey])}):sync16621_Ra(a.N,function(){return sync16621_xa(a.storage)}))};function sync16621_Sa(a,b,c){this.f=a||{};this.storage=b||{};this.state=c;this.cb=!(!navigator.userAgent||-1==navigator.userAgent.indexOf("Safari")||-1!=navigator.userAgent.indexOf("Chrome")||-1!=navigator.userAgent.indexOf("Tizen"));this.Ga=null;this.G=void 0;this.A=this.L=!1;a=sync16621_b(this.f.a.consentClientIds);for(b=a.next();!b.done;b=a.next())if(sync16621_wa(this.storage,parseInt(b.value,10))){this.L=!0;break}this.h=new sync16621_3(this.f,this.storage,this);!0!==this.f.a.lotameActiveConsent&& this.h.ra()}function sync16621_Ra(a,b){b=void 0===b?sync16621_B:b;var c=!sync16621_va(a.storage),d=sync16621_Ha();d.ka=sync16621_Ta();d=sync16621_T(sync16621_U(sync16621_S(d,!0),!1),a.f.a.bcpClient);d.pa=c;d.ma=!1;c=sync16621_V(sync16621__(sync16621_Z(sync16621_X(sync16621_Y(d,a.h.l),a.h.o),a.A),a.f.a.source),a.storage.K());sync16621_4(a,c);sync16621_5(a,sync16621_0(c),sync16621_6(a,c),"data",b)} function sync16621_Qa(a,b){b=void 0===b?sync16621_B:b;var c=sync16621__(sync16621_Z(sync16621_X(sync16621_Y(sync16621_V(sync16621_S(sync16621_U(sync16621_T(new sync16621_R,a.f.a.bcpClient),!1),!1),a.storage.K()),a.h.l),a.h.o),a.A),a.f.a.source);sync16621_4(a,c);sync16621_5(a,sync16621_1(c),sync16621_6(a,c),"map",b)} function sync16621_Ua(a,b){var c=void 0===c?sync16621_B:c;b&&sync16621_s(b)&&!sync16621_A(b)&&!b.D()&&sync16621_7(a).then(function(d){d=sync16621_Va(a,b,d);sync16621_5(a,sync16621_0(d),sync16621_6(a,d),"data",c)})} function sync16621_Wa(a,b,c){c=void 0===c?sync16621_B:c;sync16621_7(a).then(function(d){d=sync16621__(sync16621_Z(sync16621_X(sync16621_Y(sync16621_W(sync16621_V(sync16621_S(sync16621_U(sync16621_T(new sync16621_R,a.f.a.bcpClient),!0),!1),a.storage.K()),d),a.h.l),a.h.o),a.A),a.f.a.source);sync16621_8(a)&&(d.S=!0);if(b){var f=b.ca();sync16621_A(f)||(d.w=f)}sync16621_4(a,d);sync16621_5(a,sync16621_1(d),sync16621_6(a,d),"map",c)})} function sync16621_Ta(){var a=window.location.href,b=a.indexOf("?");-1!==b&&(a=a.substring(0,b));return a}function sync16621_5(a,b,c,d,f){f=void 0===f?sync16621_B:f;sync16621_pa(sync16621_Xa(a,void 0===d?"data":d,c),{method:"POST",data:b,Ja:function(h){a.Ga=new sync16621_P(h,a.f);f(a.Ga)},error:function(h,g){sync16621_.error("Aborting due to error contacting Lotame's servers. Error reason was '"+(void 0===g?" not provided":g)+"'.")}})}
1 sync16621_Sa.prototype.ping=function(a){if(a&&sync16621_s(a)&&!sync16621_A(a)&&!a.D()){var b=!1;if(!sync16621_Ya(this)){if(window.navigator&&window.navigator.sendBeacon){b=sync16621_Va(this,a);var c=sync16621_Xa(this,"data",sync16621_6(this,b));sync16621_.debug("Using navigator.sendBeacon() to send the following data on page exit",a);b=navigator.sendBeacon(c,JSON.stringify(sync16621_0(b)))}b||(sync16621_.debug("Falling back to ajax to send the following data on page exit",a),sync16621_Ua(this,a))}}}; function sync16621_Va(a,b,c){c=void 0===c?{}:c;var d=sync16621_Ha();d.ka=sync16621_Ta();d=sync16621_U(sync16621_T(sync16621_S(d,!1),a.f.a.bcpClient),!1);d.ma=!1;b=b.ca();d.w=b;b=sync16621_ia(a.f)?!1:!0;d.pa=b;c=sync16621__(sync16621_Z(sync16621_X(sync16621_Y(sync16621_W(sync16621_V(d,a.storage.K()),c),a.h.l),a.h.o),a.A),a.f.a.source);sync16621_8(a)&&(c.S=!0);sync16621_4(a,c);return c} function sync16621_Za(a,b,c){c=void 0===c?sync16621_B:c;if(a.f.a.enableDeclaredIds){var d=!1;if(sync16621_s(b)){var f=new sync16621_r(b);(d=f.$)&&sync16621_7(a).then(function(h){h=sync16621_Ia(sync16621__(sync16621_Z(sync16621_X(sync16621_Y(sync16621_W(sync16621_V(sync16621_S(sync16621_U(sync16621_T(new sync16621_R,a.f.a.bcpClient),!1),!1),a.storage.K()),h),a.h.l),a.h.o),a.A),a.f.a.source),f);sync16621_8(a)&&(h.S=!0);sync16621_5(a,sync16621_1(h),sync16621_6(a,h),"map",c)})}d||sync16621_.error("Call to identify must include a properly formatted ID object.")}else sync16621_.error("Client "+ a.f.a.bcpClient+" is not enabled to declare identifiers. Please contact a Lotame representative.")}function sync16621_Ya(a){return(a.f.a.strictConsentEnabled||a.f.a.lotameActiveConsent)&&!a.L}function sync16621_Xa(a,b,c){return a.f.a.protocol+"://"+a.f.a[c]+"/"+a.f.a.bcpVersion+"/"+b}function sync16621_6(a,b){return a.cb?sync16621_2(b)?"sensitiveFirstPartyOnlyDomain":"bcpFirstPartyOnlyDomain":sync16621_2(b)?"sensitiveDomain":"bcpDomain"} function sync16621_4(a,b){if(a.f.a.enableDeclaredIds&&a.f.a.enableDeclaredIdsOnEvents&&!sync16621_2(b)){a:{a=a.storage;if(a=sync16621_H(a,a.f.a.declaredIdName))try{var c=Object(JSON.parse(a));break a}catch(d){sync16621_.debug("Error parsing declared ID from local storage: "+a)}c=null}c&&(c=new sync16621_r(c),c.$&&sync16621_Ia(b,c))}} function sync16621_7(a){if("undefined"==typeof a.G){var b={};if("object"==typeof navigator.userAgentData&&"function"==typeof navigator.userAgentData.getHighEntropyValues)return Promise.race([navigator.userAgentData.getHighEntropyValues(["model","platformVersion","fullVersionList"]),new Promise(function(c){return setTimeout(c,10,b)})]);a.G=b}return Promise.resolve(a.G)}function sync16621_8(a){return a.f.a.lotameActiveConsent&&a.L};function sync16621__a(a,b){this.enabled=!0===a.a.googleEspEnabled&&!0===a.a.panoramaIdEnabled&&!0;this.storage=b;sync16621_.Da&&sync16621_.debug("Google Esp Module Enabled: "+this.enabled);!0===this.enabled&&(window.googletag=window.googletag||{cmd:[]},window.googletag.encryptedSignalProviders=window.googletag.encryptedSignalProviders||[])} function sync16621_0a(a,b){b=b||"";a.enabled&&window.googletag.encryptedSignalProviders.push({id:"crwdcntrl.net",collectorFunction:function(){sync16621_.debug("panoramaId provided to googleEsp: "+b);return Promise.resolve(b)}})};function sync16621_1a(a,b,c){this.f=a;this.storage=b;this.N=c} function sync16621_2a(a,b){var c=b.K();c&&sync16621_ta(a.storage,c);if(c=(c=sync16621_Q(b))?c.e:null){var d=sync16621_Da(b),f=b.B();d=d?d.getIdType():null;var h=a.f.a.panoramaIdName,g=a.f.a.panoramaIdTypeName,e=parseInt(c,10);sync16621_I(a.storage,h+"_expiry",c,e);"string"===typeof f&&f?sync16621_I(a.storage,h,f,e):sync16621_L(a.storage,h);"string"===typeof d&&d&&"UNKNOWN"!==d?sync16621_I(a.storage,g,d,e):sync16621_L(a.storage,g)}a.f.a.enableDeclaredIds&&a.f.a.enableDeclaredIdsOnEvents&&(b=sync16621_Ea(b))&& (b.i?(a=a.storage,sync16621_J(a,a.f.a.declaredIdName,JSON.stringify({id:b.i,type:b.t}))):(a=a.storage,sync16621_M(a,a.f.a.declaredIdName)))}function sync16621_9(a,b){if("function"===typeof a.f.a.onProfileReady)try{(0,a.f.a.onProfileReady)(b.ea())}catch(c){c&&sync16621_.error("The following error occurred in the onProfileReady callback: "+c)}} function sync16621_3a(a){var b=a.f.a.namespace;Array.isArray(b.cmd)?b.cmd.forEach(function(c){if("function"===typeof c)try{c.apply(a)}catch(d){d&&sync16621_.error("The following error occurred when executing queued commands: "+d)}}):b.cmd=[];b.cmd.push=function(c){if("function"===typeof c)try{c.apply(a)}catch(d){d&&sync16621_.error("The following error occurred when executing a command: "+d)}}}function sync16621_$(a,b,c){sync16621_Ya(a.N)?sync16621_qa(b,function(){c()}):c()};function sync16621_4a(){var a=this;this.f=new sync16621_ja;
1this.state=new sync16621_sa(!sync16621_ha(this.f));this.storage=new sync16621_E(this.f);this.da=new sync16621_Sa(this.f,this.storage,this.state);this.s=new sync16621_1a(this.f,this.storage,this.da);this.Fa=new sync16621__a(this.f,this.storage);"complete"===document.readyState&&(this.state.va=!0);sync16621_5a(this);sync16621_3a(this.s);var b=this.storage.B();b&&sync16621_$(this.s,"googleEspPanoPush",function(){sync16621_0a(a.Fa,b)});!0===this.f.a.autoRunSyncJs&& sync16621_$(this.s,"sync",function(){a.sync({})})} function sync16621_5a(a){var b=a.f.a.namespace;b.getProfileId=function(){return sync16621_F(a.storage)};b.getPanoramaId=function(){return a.storage.B()};b.sync=function(c){return sync16621_$(a.s,"sync",function(){a.sync(c)})};b.setIdentity=function(c){return sync16621_$(a.s,"setIdentity",function(){sync16621_6a(a,c)})};b.getInternalState=function(){return a.state.J()};b.getInternalConfigs=function(){return a.f.J()};b.getPanorama=function(){return(new sync16621_O(a.storage.B(),sync16621_ua(a.storage))).ea()}; b.setUserConsent=function(c){var d=a.da;if(c&&sync16621_s(c)){var f=c.lotameConsent;"boolean"===typeof f?!0===f?d.f.a.lotameActiveConsent?(d.L=!0,sync16621_ra()):(sync16621_.debug("setUserConsent was triggered and passed along, but will not be enforced because the client is not enabled for lotameConsent in this region."),d.A=!0):sync16621_.debug("Call to setUserConsent with lotameConsent\x3dfalse"):sync16621_.error("unexpected input to setUserConsent, lotameConsent value is expected to be a boolean ", c)}else sync16621_.error("unexpected input to setUserConsent. Expected Object. Received: ",c)}} sync16621_4a.prototype.sync=function(a){var b=this,c=!0,d=void 0;d=sync16621_s(a)&&!sync16621_A(a)?new sync16621_t(a):new sync16621_t;if(d.D())if(this.f.a.panoramaIdEnabled){if(a=sync16621_G(this.storage,this.f.a.panoramaIdName+"_expiry"),(parseInt(a,10)||0)>Date.now()){c={};c.pid=sync16621_F(this.storage);var f={c:"core"};f.i=this.storage.B();f.t=sync16621_za(sync16621_ua(this.storage));f.e=a;c.ids=[f];sync16621_9(this.s,new sync16621_P(c,this.f));c=!1}}else a=sync16621_F(this.storage),f=sync16621_G(this.storage, this.f.a.lastProfileUpdateMillisKey),a&&f&&Date.now()-this.f.a.profileRefreshMillis<f&&(sync16621_9(this.s,new sync16621_P({pid:a},this.f)),c=!1);c&&sync16621_Wa(this.da,d,function(h){sync16621_J(b.storage,b.f.a.lastProfileUpdateMillisKey,String(Date.now()));sync16621_2a(b.s,h);sync16621_Ga(h)?sync16621_.error("Aborting due to above errors."):sync16621_0a(b.Fa,b.storage.B());sync16621_9(b.s,h)})};function sync16621_6a(a,b){sync16621_Za(a.da,b,function(c){sync16621_2a(a.s,c)})};sync16621_.name="SYNC.JS";try{new sync16621_4a}catch(a){sync16621_.error(a)};} //# sourceMappingURL=sync.js.map
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.