PageSourceSearch

https://www.digifilles.fr/bundles/common/js/smarttag.js

js digifilles.fr collected 2026-10-08 07:15:02 UTC 60,804 bytes, 121 lines download raw bytes

1;(function(){var dfltPluginCfg={};var dfltGlobalCfg={"site":492674,"log":"","logSSL":"","domain":"xiti.com","collectDomain":"logi9.xiti.com","collectDomainSSL":"logs3.xiti.com","userIdOrigin":"server","pixelPath":"/hit.xiti","disableCookie":false,"disableStorage":false,"cookieSecure":true,"cookieDomain":"","preview":false,"plgs":["Clicks","ClientSideUserId","ContextVariables","Page","InternalSearch","IdentifiedVisitor","Campaigns"],"lazyLoadingPath":"","documentLevel":"document","redirect":false,"activateCallbacks":true,"medium":"","ignoreEmptyChapterValue":true,"base64Storage":false,"sendHitWhenOptOut":true,"forceHttp":false,"requestMethod":"GET","maxHitSize":2000};(function(a){a.ATInternet=a.ATInternet||{};a.ATInternet.Tracker=a.ATInternet.Tracker||{};a.ATInternet.Tracker.Plugins=a.ATInternet.Tracker.Plugins||{}})(window);
2    var Utils=function(){function a(f){var b=typeof f;if("object"!==b||null===f)return"string"===b&&(f='"'+f+'"'),String(f);var d,k,c=[],q=f.constructor===Array;for(d in f)f.hasOwnProperty(d)&&(k=f[d],b=typeof k,"function"!==b&&"undefined"!==b&&("string"===b?k='"'+k.replace(/[^\\]"/g,'\\"')+'"':"object"===b&&null!==k&&(k=a(k)),c.push((q?"":'"'+d+'":')+String(k))));return(q?"[":"{")+String(c)+(q?"]":"}")}function l(a){return null===a?"":(a+"").replace(g,"")}function c(a){var b,d=null;return(a=l(a+""))&&
3    !l(a.replace(n,function(a,f,c,p){b&&f&&(d=0);if(0===d)return a;b=c||f;d+=!p-!c;return""}))?Function("return "+a)():null}var h=this,n=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g,g=RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g");h.isLocalStorageAvailable=function(){try{var a=localStorage;a.setItem("__storage_test__","__storage_test__");a.removeItem("__storage_test__");return!0}catch(b){return!1}};
4        h.isBeaconMethodAvailable=function(){return window.navigator&&"function"===typeof window.navigator.sendBeacon};h.Base64={_keyStr:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(a){var b="",d,k,c,q,p,m,e=0;for(a=h.Base64._utf8_encode(a);e<a.length;)d=a.charCodeAt(e++),k=a.charCodeAt(e++),c=a.charCodeAt(e++),q=d>>2,d=(d&3)<<4|k>>4,p=(k&15)<<2|c>>6,m=c&63,isNaN(k)?p=m=64:isNaN(c)&&(m=64),b=b+this._keyStr.charAt(q)+this._keyStr.charAt(d)+this._keyStr.charAt(p)+this._keyStr.charAt(m);
5                return b},decode:function(a){var b="",d,k,c,q,m,e=0;for(a=a.replace(/[^A-Za-z0-9\+\/\=]/g,"");e<a.length;)d=this._keyStr.indexOf(a.charAt(e++)),k=this._keyStr.indexOf(a.charAt(e++)),q=this._keyStr.indexOf(a.charAt(e++)),m=this._keyStr.indexOf(a.charAt(e++)),d=d<<2|k>>4,k=(k&15)<<4|q>>2,c=(q&3)<<6|m,b+=String.fromCharCode(d),64!=q&&(b+=String.fromCharCode(k)),64!=m&&(b+=String.fromCharCode(c));return b=h.Base64._utf8_decode(b)},_utf8_encode:function(a){a=a.replace(/\r\n/g,"\n");for(var b="",d=0;d<
6            a.length;d++){var k=a.charCodeAt(d);128>k?b+=String.fromCharCode(k):(127<k&&2048>k?b+=String.fromCharCode(k>>6|192):(b+=String.fromCharCode(k>>12|224),b+=String.fromCharCode(k>>6&63|128)),b+=String.fromCharCode(k&63|128))}return b},_utf8_decode:function(a){for(var b="",d=0,k,c,q;d<a.length;)k=a.charCodeAt(d),128>k?(b+=String.fromCharCode(k),d++):191<k&&224>k?(c=a.charCodeAt(d+1),b+=String.fromCharCode((k&31)<<6|c&63),d+=2):(c=a.charCodeAt(d+1),q=a.charCodeAt(d+2),b+=String.fromCharCode((k&15)<<12|
7                (c&63)<<6|q&63),d+=3);return b}};h.loadScript=function(a,b){var d;b=b||function(){};d=document.createElement("script");d.type="text/javascript";d.src=a.url;d.async=!1;d.defer=!1;d.onload=d.onreadystatechange=function(a){a=a||window.event;if("load"===a.type||/loaded|complete/.test(d.readyState)&&(!document.documentMode||9>document.documentMode))d.onload=d.onreadystatechange=d.onerror=null,b(null,a)};d.onerror=function(a){d.onload=d.onreadystatechange=d.onerror=null;b({msg:"script not loaded",event:a})};
8            var k=document.head||document.getElementsByTagName("head")[0];k.insertBefore(d,k.lastChild)};h.cloneSimpleObject=function(a,b){if("object"!==typeof a||null===a||a instanceof Date)return a;var d=new a.constructor,k;for(k in a)a.hasOwnProperty(k)&&(void 0===k||b&&void 0===a[k]||(d[k]=h.cloneSimpleObject(a[k])));return d};h.jsonSerialize=function(f){try{return"undefined"!==typeof JSON&&JSON.stringify?JSON.stringify(f):a(f)}catch(b){return null}};h.jsonParse=function(a){try{return"undefined"!==typeof JSON&&
9        JSON.parse?JSON.parse(a+""):c(a)}catch(b){return null}};h.arrayIndexOf=function(a,b){if(Array.prototype.indexOf){var d=-1;"undefined"!==typeof a.indexOf(b)&&(d=a.indexOf(b));return d}return function(b){if(null==this)throw new TypeError;var d=Object(this),a=d.length>>>0;if(0===a)return-1;var f=0;1<arguments.length&&(f=Number(arguments[1]),f!=f?f=0:0!=f&&Infinity!=f&&-Infinity!=f&&(f=(0<f||-1)*Math.floor(Math.abs(f))));if(f>=a)return-1;for(f=0<=f?f:Math.max(a-Math.abs(f),0);f<a;f++)if(f in d&&d[f]===
10            b)return f;return-1}.apply(a,[b])};h.objectIsEmpty=function(a){for(var b in a)if(a.hasOwnProperty(b))return!1;return!0};h.uuid=function(){return{v4:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=16*
10Math.random()|0;return("x"===a?b:b&3|8).toString(16)})},num:function(a){var b=new Date,d=function(b){b-=100*Math.floor(b/100);return 10>b?"0"+b:String(b)};return d(b.getHours())+""+d(b.getMinutes())+""+d(b.getSeconds())+""+function(b){return Math.floor((9*Math.random()+
11                1)*Math.pow(10,b-1))}(a-6)}}};h.getObjectKeys=function(a){var b=[],d;for(d in a)a.hasOwnProperty(d)&&b.push(d);return b};h.completeFstLevelObj=function(a,b,d){if(a){if(b)for(var k in b)!b.hasOwnProperty(k)||a[k]&&!d||(a[k]=b[k])}else a=b;return a};h.isPreview=function(){return window.navigator&&"preview"===window.navigator.loadPurpose};h.isPrerender=function(a){var b,d=!1,k=["webkit","ms"];if("prerender"===document.visibilityState)b="visibilitychange";else for(var c=0;c<k.length;c++)"prerender"===
12        document[k[c]+"VisibilityState"]&&(b=k[c]+"visibilitychange");if("undefined"!==typeof b){var q=function(d){a(d);h.removeEvtListener(document,b,q)};h.addEvtListener(document,b,q);d=!0}return d};var m=h.addEvtListener=function(a,b,d){a.addEventListener?a.addEventListener(b,d,!1):a.attachEvent&&a.attachEvent("on"+b,d)},e=h.removeEvtListener=function(a,b,d){a.removeEventListener?a.removeEventListener(b,d,!1):a.detachEvent&&a.detachEvent("on"+b,d)};h.hashcode=function(a){var b=0;if(0===a.length)return b;
13            for(var d=0;d<a.length;d++)var k=a.charCodeAt(d),b=(b<<5)-b+k,b=b|0;return b};h.setLocation=function(a){var b=a.location;a=window[a.target]||window;b&&(a.location.href=b)};h.dispatchCallbackEvent=function(a){var b;if("function"===typeof window.Event)b=new Event("ATCallbackEvent");else try{b=document.createEvent("Event"),b.initEvent&&b.initEvent("ATCallbackEvent",!0,!0)}catch(d){}b&&"function"===typeof document.dispatchEvent&&(b.name=a,document.dispatchEvent(b))};h.addCallbackEvent=function(a){m(document,
14            "ATCallbackEvent",a)};h.removeCallbackEvent=function(a){h.removeEvent("ATCallbackEvent",a)};(function(){function a(b,d){d=d||{bubbles:!1,cancelable:!1,detail:void 0};var k;try{k=document.createEvent("CustomEvent"),k.initCustomEvent(b,d.bubbles,d.cancelable,d.detail)}catch(c){}return k}"function"===typeof window.CustomEvent?window.ATCustomEvent=window.CustomEvent:("function"===typeof window.Event&&(a.prototype=window.Event.prototype),window.ATCustomEvent=a)})();h.addEvent=function(a,b,d,k){h[a]=new ATCustomEvent(a,
15            {detail:{name:b,id:d}});m(document,a,k)};h.removeEvent=function(a,b){e(document,a,b)};h.dispatchEvent=function(a,b){h[a]=h[a]||new ATCustomEvent(a,{detail:{name:b,id:-1}});try{document.dispatchEvent(h[a])}catch(d){}};h.addOptOutEvent=function(a,b){h.addEvent("ATOptOutEvent","clientsideuserid",a,b)};h.removeOptOutEvent=function(a){h.removeEvent("ATOptOutEvent",a)};h.dispatchOptOutEvent=function(a){h.optedOut=a;h.dispatchEvent("ATOptOutEvent","clientsideuserid")};h.userOptedOut=function(){h.dispatchOptOutEvent(!0)};
16        h.userOptedIn=function(){h.dispatchOptOutEvent(!1)};h.isOptedOut=function(){if(null===h.optedOut){var a;a:{a=null;h.isLocalStorageAvailable()&&(a=localStorage.getItem("atoptedout"));if(null===a){var b=/(?:^| )atoptedout=([^;]+)/.exec(document.cookie);null!==b&&(a=b[1])}if(null!==a)try{a=decodeURIComponent(a)}catch(d){}if(a&&(a=h.jsonParse(a)||h.jsonParse(h.Base64.decode(a)),null!==a)){a=!!a.val;break a}a=!1}h.optedOut=a}return!!h.optedOut};h.optedOut=null;h.consentReceived=function(a){h.consent=!!a};
17        h.consent=!0;h.isTabOpeningAction=function(a){var b=!1;a&&(a.ctrlKey||a.shiftKey||a.metaKey||a.button&&1===a.button)&&(b=!0);return b}};ATInternet.Utils=new Utils;
18    var BuildManager=function(a){var l=this,c=0,h=0,n=["dz"],g="",m=function(a,b,d,k,c,f,e){a="&"+a+"=";return{param:a,paramSize:a.length,str:b,strSize:b.length,truncate:d,multihit:k,separator:c||"",encode:f,last:e}},e=function(a,b){var d="",k=0,c=0,f=0,k=-1,e=null,m=null,g;for(g in a)a.hasOwnProperty(g)&&(e=a[g])&&(k=b-c,e.last&&null!==m?m[g]=e:e.strSize+e.paramSize<=k?(d+=e.param+e.str,c+=e.paramSize+e.strSize):(m=m||{},m[g]=e,e.truncate&&(f=k-e.paramSize,e.separator&&(k=e.str.substring(0,k),k=e.encode?
19        k.lastIndexOf(encodeURIComponent(e.separator)):k.lastIndexOf(e.separator),0<k&&(f=k)),d+=e.param+e.str.substring(0,f),c+=e.paramSize+e.str.substring(0,f).length,m[g].str=e.str.substring(f,e.
19strSize),m[g].strSize=m[g].str.length)));return[d,m]},f=function(b,d,k){var c="",f=function(b){if(b==={})return[];var d=[],k;k={};var f=!1,q=void 0,g,p,r,l,w,s,v,y,C="",x;for(x in b)if(b.hasOwnProperty(x))if(s=w=l=r=!1,g=b[x]._value,p=b[x]._options||{},"boolean"===typeof p.encode&&(r=p.encode),"function"===typeof g&&
20        (g=g()),g=g instanceof Array?g.join(p.separator||","):"object"===typeof g?ATInternet.Utils.jsonSerialize(g):"undefined"===typeof g?"undefined":g.toString(),r&&(g=encodeURIComponent(g)),-1<ATInternet.Utils.arrayIndexOf(n,x)?l=!0:"boolean"===typeof p.truncate&&(l=p.truncate),"boolean"===typeof p.multihit&&(w=p.multihit),"boolean"===typeof p.last&&(s=p.last),g=m(x,g,l,w,p.separator,r,s),w)h-=g.paramSize+g.strSize,C+=g.param+g.str;else if(s)g.paramSize+g.strSize>h&&(g.str=g.str.substring(0,h-g.paramSize),
21            g.strSize=g.str.length),v=x,y=g;else if(k[x]=g,k[x].paramSize+k[x].strSize>h&&!k[x].truncate){a.emit("Tracker:Hit:Build:Error",{lvl:"ERROR",msg:'Too long parameter: "'+k[x].param+'"',details:{value:k[x].str}});f=!0;q=x;break}v&&(k[v]=y);k=[k,f,q,C];b=k[0];f=k[1];c=k[3];f&&(k=k[2],b=b[k],b.str=b.str.substring(0,h-b.paramSize),b.strSize=b.str.length,f={},f.mherr=m("mherr","1",!1,!1,"",!1,!1),f[k]=b,b=f);b=e(b,h);if(null===b[1])d=b[0];else for(d.push(b[0]);null!==b[1];)b=e(b[1],h),d.push(b[0]);return d},
22        g="";a.buffer.presentInFilters(d,"hitType")||(d=a.buffer.addInFilters(d,"hitType",["page"]));d=a.buffer.addInFilters(d,"hitType",["all"]);var l;if("object"===typeof b&&null!==b){d=a.buffer.addInFilters(d,"permanent",!0);d=a.buffer.get(d,!0);var w;for(l in b)b.hasOwnProperty(l)&&(w={},b[l]&&"object"===typeof b[l]&&b[l].hasOwnProperty("_value")?(g=b[l]._value,b[l].hasOwnProperty("_options")&&(w=b[l]._options)):g=b[l],d[l]={_value:g,_options:w});g=f(d)}else for(l in d=a.buffer.get(d,!0),g=f(d),d)d.hasOwnProperty(l)&&
23        (d[l]._options&&d[l]._options.permanent||a.buffer.del(l));k&&k(g,c)};l.getCollectDomain=function(){var b="",b=a.getConfig("logSSL")||a.getConfig("log"),d=a.getConfig("domain");return b=b&&d?b+"."+d:a.getConfig("collectDomainSSL")||a.getConfig("collectDomain")};var b=function(b){var d="",k=a.getConfig("baseURL");if(k)d=k;else{var k=l.getCollectDomain(),c=a.getConfig("pixelPath"),c=c||"/";"/"!==c.charAt(0)&&(c="/"+c);k&&(d=(a.getConfig("forceHttp")?"http://":"https://")+k+c)}k=a.getConfig("site");d&&
24        k?b&&b(null,d+"?s="+k):b&&b({message:"Config error"})},d=function(a,d,k){b(function(b,e){b?k&&k(b):(h=c-(e.length+27),f(a,d,function(b,a){var d=[],c=ATInternet.Utils.uuid().num(13);if(b instanceof Array)for(var f=1;f<=b.length;f++)d.push(e+a+"&mh="+f+"-"+b.length+"-"+c+b[f-1]);else d.push(e+a+b);k&&k(null,d)}))})},k=function(b,d,k,c,f){return function(){return function(e){a.emit(b,{lvl:f,details:{hit:d,method:k,event:e}});c&&c()}}()};l.send=function(b,k,c,f){d(b,k,function(b,d){if(b)a.emit("Tracker:Hit:Build:Error",
25        {lvl:"ERROR",msg:b.message,details:{}}),c&&c();else for(var k=0;k<d.length;k++)l.sendUrl(d[k],c,f)})};c=Math.max(a.getConfig("maxHitSize")||0,2E3);h=Math.max(a.getConfig("maxHitSize")||0,2E3);g=a.getConfig("requestMethod")||"GET";"POST"!==g||ATInternet.Utils.isBeaconMethodAvailable()||(g="GET");l.sendUrl=function(b,d,c){c=c||g;ATInternet.Utils.isOptedOut()&&!a.getConfig("sendHitWhenOptOut")?k("Tracker:Hit:Sent:NoTrack",b,c,d,"INFO")():"POST"===c?window.navigator.sendBeacon(b,null)?k("Tracker:Hit:Sent:Ok",
26        b,"POST",d,"INFO")():k("Tracker:Hit:Sent:Error",b,"POST",d,"ERROR")():(c=new Image,c.onload=k("Tracker:Hit:Sent:Ok",b,"GET",d,"INFO"),c.onerror=k("Tracker:Hit:Sent:Error",b,"GET",d,"ERROR"),c.src=b)}},TriggersManager=function(){function a(a,c,m){for(var e=[],f=0;f<a.length;f++)a[f].callback(c,m),a[f].singleUse||e.push(a[f]);return e}function l(a,c,m,e){var f=a.shift();if("*"===f)return c["*"]=c["*"]||[],c["*"].push({callback:m,singleUse:e}),c["*"].length-1;if(0===a.length)return l([f,"*"],c,m,e);
27            c["*"]=c["*"]||[];c[f]=c[f]||{};return l(a,c[f],m,e)}function c(h,g,m,e){var f=g.shift();"*"!==f&&(0===g.length?c(h,[f,"*"],m,e):m[f]&&(m[f]["*"]=a(m[f]["*"],h,e),c(h,g,m[f],e)))}var h={};this.on=function(a,c,m){m=m||!1;return l(a.split(":"),h,c,m)};this.emit=function(l,g){h["*"]&&(h["*"]=a(h["*"],l,g));c(l,l.split(":"),h,g)}},PluginsManager=function(a){var l={},c={},h=0,n={},g=0,m=function(b){var a=!1;l[b]&&(a=!0);return a}
27,e=this.unload=function(b){m(b)?(l[b]=void 0,a.emit("Tracker:Plugin:Unload:"+
28        b+":Ok",{lvl:"INFO"})):a.emit("Tracker:Plugin:Unload:"+b+":Error",{lvl:"ERROR",msg:"not a known plugin"});return a},f=this.load=function(b,d){"function"===typeof d?"undefined"===typeof a.getConfig.plgAllowed||0===a.getConfig.plgAllowed.length||-1<a.getConfig.plgAllowed.indexOf(b)?(l[b]=new d(a),c[b]&&m(b)&&(c[b]=!1,h--,m(b+"_ll")&&e(b+"_ll"),0===h&&a.emit("Tracker:Plugin:Lazyload:File:Complete",{lvl:"INFO",msg:"LazyLoading triggers are finished"})),a.emit("Tracker:Plugin:Load:"+b+":Ok",{lvl:"INFO"})):
29        a.emit("Tracker:Plugin:Load:"+b+":Error",{lvl:"ERROR",msg:"Plugin not allowed",details:{}}):a.emit("Tracker:Plugin:Load:"+b+":Error",{lvl:"ERROR",msg:"not a function",details:{obj:d}});return a},b=this.isLazyloading=function(b){return b?!0===c[b]:0!==h},d=function(a){return!m(a)&&!b(a)&&m(a+"_ll")},k=function(b){c[b]=!0;h++;ATInternet.Utils.loadScript({url:a.getConfig("lazyLoadingPath")+b+".js"})},r=function(b){return d(b)?(k(b),!0):!1},q=function(b){n[b]?n[b]++:n[b]=1;g++},p=function(b,a,d,k){var c=
30            null;a=a.split(".");m(b)&&l[b][a[0]]&&(c=1<a.length&&l[b][a[0]][a[1]]?l[b][a[0]][a[1]].apply(l[b],d):l[b][a[0]].apply(l[b],d));k&&k(c)},t=function(b,d,k,c){q(b);a.onTrigger("Tracker:Plugin:Load:"+b+":Ok",function(){p(b,d,k,function(d){n[b]--;g--;0===g&&a.emit("Tracker:Plugin:Lazyload:Exec:Complete",{lvl:"INFO",msg:"All exec waiting for lazyloading are done"});c&&c(d)})},!0)},s=function(b){for(var a={mcount:0,plugins:{}},d=0;d<b.length;d++)l.hasOwnProperty(b[d])||(a.mcount++,a.plugins[b[d]]=!0);return a};
31            this.isExecWaitingLazyloading=function(){return 0!==g};a.exec=this.exec=function(a,c,f,e){d(a)?(t(a,c,f,e),k(a)):b(a)?t(a,c,f,e):p(a,c,f,e)};this.waitForDependencies=function(b,d){var k=s(b);if(0===k.mcount)a.emit("Tracker:Plugin:Dependencies:Loaded",{lvl:"INFO",details:{dependencies:b}}),d();else for(var c in k.plugins)k.plugins.hasOwnProperty(c)&&(a.emit("Tracker:Plugin:Dependencies:Error",{lvl:"WARNING",msg:"Missing plugin "+c}),a.onTrigger("Tracker:Plugin:Load:"+c,function(b,a){var c=b.split(":"),
32            f=c[3];"Ok"===c[4]&&(k.plugins[f]=!1,k.mcount--,0===k.mcount&&d())},!0),r(c))};this.init=function(){for(var b in ATInternet.Tracker.pluginProtos)ATInternet.Tracker.pluginProtos.hasOwnProperty(b)&&f(b,ATInternet.Tracker.pluginProtos[b])}},CallbacksManager=function(a){var l=this,c={},h=function(a){if(a.name){var c=!0;"undefined"!==typeof configuration&&(configuration.include instanceof Array&&-1===ATInternet.Utils.arrayIndexOf(configuration.include,a.name)&&(c=!1),configuration.exclude instanceof Array&&
33        -1!==ATInternet.Utils.arrayIndexOf(configuration.exclude,a.name)&&(c=!1));if(ATInternet.Callbacks&&ATInternet.Callbacks.hasOwnProperty(a.name)){var m={};m[a.name]={"function":ATInternet.Callbacks[a.name]};c&&l.load(a.name,m[a.name]["function"]);ATInternet.Tracker.callbackProtos[a.name]||(ATInternet.Tracker.callbackProtos[a.name]=m[a.name])}}};l.load=function(c,g){"function"===typeof g?(new g(a),a.emit("Tracker:Callback:Load:"+c+":Ok",{lvl:"INFO",details:{obj:g}})):a.emit("Tracker:Callback:Load:"+
34        c+":Error",{lvl:"ERROR",msg:"not a function",details:{obj:g}});return a};l.init=function(){if(a.getConfig("activateCallbacks")){var n=a.getConfig("callbacks");if("undefined"!==typeof n&&n.include instanceof Array)for(var g=0;g<n.include.length;g++)ATInternet.Callbacks&&ATInternet.Callbacks.hasOwnProperty(n.include[g])&&(c[n.include[g]]={"function":ATInternet.Callbacks[n.include[g]]},ATInternet.Tracker.callbackProtos[n.include[g]]||(ATInternet.Tracker.callbackProtos[n.include[g]]=c[n.include[g]]));
35        else for(g in ATInternet.Callbacks)ATInternet.Callbacks.hasOwnProperty(g)&&(c[g]={"function":ATInternet.Callbacks[g]},ATInternet.Tracker.callbackProtos[g]||(ATInternet.Tracker.callbackProtos[g]=c[g]));if("undefined"!==typeof n&&n.exclude instanceof Array)for(g=0;g<n.exclude.length;g++)c[n.exclude[g]]&&(c[n.exclude[g]]=void 0);for(var m in c)c.hasOwnProperty(m)&&c[m]&&l.load(m,c[m]["function"]);ATInternet.Utils.addCallbackEvent(h)}};l.removeCallbackEvent=function(){ATInternet.Utils.removeCallbackEvent(h)}},
36        BufferManager=function(a){var l=this,c={};l.set=function(a,m,e){e=e||{};e.hitType=e.hitType||["page"];c[a]={_value:m,_options:e}};var h=function(a,c,e){return(a=ATInternet.Utils.cloneSimpleObject(a[c]))&&!e?a._value:a},n=function m(a,f){if(!(a&&f instanceof Array&&a instanceof Array))return[];if(0===a.length)return f;var b=a[0],d,k=[],h=ATInternet.Utils.cloneSimpleObject(a);h.shift();for(var q=0;q<f.length;q++)if("object"!==typeof b[1])c[f[q]]&&c[f[q]]._options[b[0]]===b[1]&&k.push(f[q]);else{d=b[1].length;
37            for(var p=0;p<d;p++)if(c[f[q]]&&c[f[q]]._options[b[0]]instanceof Array&&0<=ATInternet.Utils.arrayIndexOf(c[f[q]]._options[b[0]],b[1][p])){k.push(f[q]);break}}return m(h,k)};l.get=function(a,e){var f={};if("string"===typeof a)f=h(c,a,e);else for(var b=n(a,ATInternet.Utils.getObjectKeys(c)),d=0;d<b.length;d++)f[b[d]]=h(c,b[d],e);return f};l.presentInFilters=function(a,c){return a&&0!==a.length?a[0][0]===c?!0:l.presentInFilters(a.slice(1),c):!1};l.addInFilters=function(a,c,f,b){if(!a||0===a.length)return b?
38            []:[[c,f]];var d=a[0][0],k=a[0][1];d===c&&(k instanceof Array&&-1===ATInternet.Utils.arrayIndexOf(k,f[0])&&k.push(f[0]),b=!0);return[[d,k]].concat(l.addInFilters(a.slice(1),c,f,b))};l.del=function(a){c[a]=void 0};l.clear=function(){c={}}},Tag=function(a,l,c){l=l||{};var h=this;h.version="5.19.0";var n=window.ATInternet.Utils.cloneSimpleObject(l);h.triggers=new TriggersManager(h);h.emit=h.triggers.emit;h.onTrigger=h.triggers.on;var g=window.ATInternet.Utils.cloneSimpleObject(dfltGlobalCfg)||{},m;for(m in a)a.hasOwnProperty(m)&&
39        (g[m]=a[m]);h.getConfig=function(a){return g[a]};h.setConfig=function(a,c,b){void 0!==g[a]&&b||(h.emit("Tracker:Config:Set:"+a,{lvl:"INFO",details:{bef:g[a],aft:c}}),g[a]=c)};h.configPlugin=function(a,c,b){g[a]=g[a]||{};for(var d in c)c.hasOwnProperty(d)&&void 0===g[a][d]&&(g[a][d]=c[d]);b&&(b(g[a]),h.onTrigger("Tracker:Config:Set:"+a,function(a,d){b(d.details.aft)}));return g[a]};h.getContext=function(a){return n[a]};h.setContext=function(a,c){h.emit("Tracker:Context:Set:"+a,{lvl:"INFO",details:{bef:n[a],
40                aft:c}});n[a]=c};
40h.delContext=function(a,c){h.emit("Tracker:Context:Deleted:"+a+":"+c,{lvl:"INFO",details:{key1:a,key2:c}});if(a)n.hasOwnProperty(a)&&(c?n[a]&&n[a].hasOwnProperty(c)&&(n[a][c]=void 0):n[a]=void 0);else if(c)for(var b in n)n.hasOwnProperty(b)&&n[b]&&n[b].hasOwnProperty(c)&&(n[b][c]=void 0)};h.plugins=new PluginsManager(h);h.buffer=new BufferManager(h);h.setParam=h.buffer.set;h.getParams=function(a){return h.buffer.get(a,!1)};h.getParam=h.buffer.get;h.delParam=h.buffer.del;h.builder=
41            new BuildManager(h);h.sendHit=h.builder.send;h.sendUrl=h.builder.sendUrl;h.callbacks=new CallbacksManager(h);h.setParam("ts",function(){return(new Date).getTime()},{permanent:!0,hitType:["all"]});(h.getConfig("disableCookie")||h.getConfig("disableStorage"))&&h.setParam("idclient","Consent-NO",{permanent:!0,hitType:["all"]});h.getConfig("medium")&&h.setParam("medium",h.getConfig("medium"),{permanent:!0,hitType:["all"]});h.plugins.init();h.callbacks.init();ATInternet.Tracker.instances.push(h);h.emit("Tracker:Ready",
42        {lvl:"INFO",msg:"Tracker initialized",details:{tracker:h,args:{config:a,context:l,callback:c}}});c&&c(h)};ATInternet.Tracker.Tag=Tag;ATInternet.Tracker.instances=[];ATInternet.Tracker.pluginProtos={};ATInternet.Tracker.addPlugin=function(a,l){l=l||ATInternet.Tracker.Plugins[a];if(!ATInternet.Tracker.pluginProtos[a]){ATInternet.Tracker.pluginProtos[a]=l;for(var c=0;c<ATInternet.Tracker.instances.length;c++)ATInternet.Tracker.instances[c].plugins.load(a,l)}};
43    ATInternet.Tracker.delPlugin=function(a){if(ATInternet.Tracker.pluginProtos[a]){ATInternet.Tracker.pluginProtos[a]=void 0;for(var l=0;l<ATInternet.Tracker.instances.length;l++)ATInternet.Tracker.instances[l].plugins.unload(a)}};ATInternet.Tracker.callbackProtos={};
44}).call(window);(function(){var dfltPluginCfg={};var dfltGlobalCfg={"storageMode":"cookie"};ATInternet.Tracker.Plugins.Cookies=ATInternet.Tracker.Plugins.Storage=function(a){var l=this,c={},h=!1,n=null;a.configPlugin("Storage",dfltPluginCfg||{},function(a){c=a;"localStorage"===c.storageMode&&(h=ATInternet.Utils.isLocalStorageAvailable())});var g={},m=function(b){return a.getConfig("base64Storage")?ATInternet.Utils.Base64.encode(b):encodeURIComponent(b)},e=function(b){return a.getConfig("base64Storage")?ATInternet.Utils.Base64.decode(b):decodeURIComponent(b)},f=function(){this.getData=function(a){var b=
45    null;(a=RegExp("(?:^| )"+a+"=([^;]+)").exec(document.cookie)||null)&&(b=e(a[1]));return b};this.setData=function(b){var d=!1;if(b.name&&"string"===typeof b.name){var c=b.options||{},e=c.end||{},f=c.domain||a.getConfig("cookieDomain"),g=c.secure||a.getConfig("cookieSecure"),k=ATInternet.Utils.jsonSerialize(b),k=b.name+"="+m(k),k=k+(c.path&&"string"===typeof c.path?";path="+c.path:""),k=k+(f&&"string"===typeof f?";domain="+f:"")+(g&&"boolean"===typeof g?";secure":"");"function"===typeof e.toUTCString?
46    k+=";expires="+e.toUTCString():"number"===typeof e&&(k+=";max-age="+e.toString());document.cookie=k;this.getData(b.name)&&(d=!0)}return d}};n=h?new function(){var a=function(a){var b=+new Date,d=!1,c;a.options&&("undefined"!==typeof a.options.expires?c=a.options.expires:(a=a.options.end||{},"function"===typeof a.getTime?c=a.getTime():"number"===typeof a&&(c=b+1E3*a)));"number"===typeof c&&b>=c&&(d=!0);return{itemToDelete:d,timestamp:c}},b=function(a){var b=!1;try{localStorage.removeItem(a),b=!0}catch(d){}return b};
47        this.getData=function(d){var c=null,f=localStorage.getItem(d);if(f){var f=e(f),g=ATInternet.Utils.jsonParse(f);g&&"object"===typeof g?a(g).itemToDelete&&b(d)||(delete g.options.expires,c=ATInternet.Utils.jsonSerialize(g)):c=f}return c};this.setData=function(d){var c=!1;if(d.name&&"string"===typeof d.name){var e=a(d);"number"===typeof e.timestamp&&(d.options.expires=e.timestamp);var f=ATInternet.Utils.jsonSerialize(d);if(e.itemToDelete)c=b(d.name);else try{localStorage.setItem(d.name,m(f)),c=!0}catch(g){}}return c}}:
48    new f;var b=function(b,d){var c=!1;!ATInternet.Utils.consent&&!d||a.getConfig("disableCookie")||a.getConfig("disableStorage")||!b||"object"!==typeof b||(c=n.setData(b));return c},d=function(a,b,d){a={name:a,val:b};d&&d.session&&"number"===typeof d.session&&(d.end=d.session);a.options=d||{};return a},k=function(b){var d=null,c=null;a.getConfig("disableCookie")||a.getConfig("disableStorage")||!b||"string"!==typeof b||(c=n.getData(b));(b=c)&&(d=ATInternet.Utils.jsonParse(b));return d},r=function(a,d){var c=
49    ATInternet.Utils.cloneSimpleObject(a);return b(c,d)?ATInternet.Utils.jsonParse(ATInternet.Utils.jsonSerialize(a)):null},q=function(a,b,d){if(!d&&g[a])d=g[a];else if(d=k(a))d.options=d.options||{},d.options.session&&"number"===typeof d.options.session&&(d.options.end=d.options.session,r(d,!1)),g[a]=d;return d?b?(a=null,!d||"object"!==typeof d.val||d.val instanceof Array||void 0===d.val[b]||(a=d.val[b]),a):d.val:null},p=function(a,b,c,e,f){if(b){if(f=k(a))!f||"object"!==typeof f.val||f.val instanceof
50Array?f=null:"undefined"===typeof c?delete f.val[b]:f.val[b]=c,f&&(f=r(f,e))}else f=f||{},f=d(a,c,f),f=r(f,e);return f?(g[a]=f,f.val):null},t=function(a,c){if(c)p(a,c,void 0,!1,null);else{g[a]=void 0;var e=d(a,"",{end:new Date("Thu, 01 Jan 1970 00:00:00 UTC"),path:"/"});b(e,!1)}};a.storage={};a.storage.get=l.get=function(a,b){b=!!b;return a instanceof Array?q(a[0],a[1],b):q(a,"",b)};a.storage.getPrivate=l.getPrivate=function(b,d){b instanceof Array?b[0]+=a.getConfig("site"):b+=a.getConfig("site");
51    return l.get(b,d)};a.storage.set=l.set=function(a,b,d,c){return a instanceof Array?p(a[0],a[1],b,c,null):p(a,null,b,c,d)};a.storage.setPrivate=l.setPrivate=function(b,d,c){b instanceof Array?b[0]+=a.getConfig("site"):b+=a.getConfig("site");return l.set(b,d,c)};a.storage.del=l.del=function(a){a instanceof Array?t(a[0],a[1]):t(a,"")};a.storage.delPrivate=l.delPrivate=function(b){b instanceof Array?b[0]+=a.getConfig("site"):b+=a.getConfig("site");l.del(b)};a.storage.cacheInvalidation=l.cacheInvalidation=
52    function(){g={}}};ATInternet.Tracker.addPlugin("Storage");ATInternet.Tracker.addPlugin("Cookies");
53}).call(window);(function(){var dfltPluginCfg={};var dfltGlobalCfg={};window.ATInternet.Tracker.Plugins.Utils=function(a){var l=this,c={};a.utils={};a.utils.getQueryStringValue=l.getQueryStringValue=function(a,h){var e=ATInternet.Utils.hashcode(h).toString();if(!c[e]){c[e]={};for(var f=RegExp("[&#?]{1}([^&=#?]*)=([^&#]*)?","g"),b=f.exec(h);null!==b;)c[e][b[1]]=b[2],b=f.exec(h)}return c[e].hasOwnProperty(a)?c[e][a]:null};a.utils.manageChapters=l.manageChapters=function(c,h,e){var f="";if(c)for(var b=a.getConfig("ignoreEmptyChapterValue"),d="",k=1;k<parseInt(e,10)+1;k++)d=
54    c[h+k]||"",f=b?f+(d?d+"::":""):f+(c.hasOwnProperty(h+k)?d+"::":"");return f};a.utils.getDocumentLevel=l.getDocumentLevel=function(){var c=a.getConfig("documentLevel");if(c){if(0>c.indexOf("."))return window[c]||document;c=c.split(".");return window[c[0]][c[1]]||document}return document};a.utils.getLocation=l.getLocation=function(){return l.getDocumentLevel().location.href};a.utils.getHostName=l.getHostName=function(){return l.getDocumentLevel().location.hostname};a.dispatchIndex={};a.dispatchStack=
55    [];a.dispatchEventFor={};var h=0;a.dispatchSubscribe=function(c){return a.dispatchIndex[c]?!1:(a.dispatchStack.push(c),a.dispatchIndex[c]=!0)};a.dispatchSubscribed=function(c){return!0===a.dispatchIndex[c]};a.addSpecificDispatchEventFor=function(c){return a.dispatchEventFor[c]?!1:(a.dispatchEventFor[c]=!0,h++,!0)};a.processSpecificDispatchEventFor=function(c){a.dispatchEventFor[c]&&(a.dispatchEventFor[c]=!1,h--,0===h&&(a.dispatchEventFor={},a.emit("Tracker:Plugin:SpecificEvent:Exec:Complete",{lvl:"INFO"})))};
56    a.dispatch=function(c){var l=function(){for(var e="",b=null;0<a.dispatchStack.length;)e=a.dispatchStack.pop(),0===a.dispatchStack.length&&(b=c),a[e].onDispatch(b);a.dispatchIndex={};a.delContext(void 0,"customObject")},e=function(){if(a.plugins.isExecWaitingLazyloading())a.onTrigger("Tracker:Plugin:Lazyload:Exec:Complete",function(){l()},!0);else l()};if(0===h)e();else a.onTrigger("Tracker:Plugin:SpecificEvent:Exec:Complete",function(){e()},!0)};a.dispatchRedirect=function(c){var h=!0,e=null;c&&(e=
57        null,c.hasOwnProperty("event")&&(e=c.event||window.event),!ATInternet.Utils.isTabOpeningAction(e)&&c.elem&&(c.elem.timeoutonly=!0,a.plugins.exec("TechClicks","manageClick",[c.elem,e],function(a){h=a})),e=c.callback);a.dispatch(e);return h};var n=a.manageSend=function(c){if(!ATInternet.Utils.isPreview()||a.getConfig("preview"))ATInternet.Utils.isPrerender(function(a){c(a)})||c()};a.processTagObject=function(c,h,e){if((c=a.getParam(c,!0))&&c._options.permanent){for(var f=!1,b=c._options.hitType||[],
58                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                d=0;d<b.length;d++)if(-1!==ATInternet.Utils.arrayIndexOf(h.concat("all"),b[d])){f=!0;break}f&&(e=ATInternet.Utils.completeFstLevelObj(c._value||{},e,!0))}return e};a.processContextObjectAndSendHit=function(c,h,e,f){var b={hitType:h.hitType,encode:h.encode,separator:h.separator,truncate:h.truncate},d=a.getParam(c,!0);if(d){for(var k=!1,l=d._options.hitType||[],q=0;q<l.length;q++)if(-1!==ATInternet.Utils.arrayIndexOf(h.hitType.concat("all"),l[q])){k=!0;break}k?(k=ATInternet.Utils.cloneSimpleObject(d),
59        k._value=ATInternet.Utils.completeFstLevelObj(k._value||{},e,!0),a.setParam(c,k._value,b),n(function(){a.sendHit(null,[["hitType",h.hitType]],f,h.requestMethod)}),d._options.permanent&&a.setParam(c,d._value,d._options)):(a.setParam(c,e,b),n(function(){a.sendHit(null,[["hitType",h.hitType]],f,h.requestMethod)}),a.setParam(c,d._value,d._options))}else a.setParam(c,e,b),n(function(){a.sendHit(null,[["hitType",h.hitType]],f,h.requestMethod)})}};window.ATInternet.Tracker.addPlugin("Utils");
60}).call(window);(function(){var dfltPluginCfg={"clicksAutoManagementEnabled":true,"clicksAutoManagementTimeout":500};var dfltGlobalCfg={};window.ATInternet.Tracker.Plugins.TechClicks=function(a){var l=this,c,h;a.configPlugin("TechClicks",dfltPluginCfg||{},function(a){c=a.clicksAutoManagementEnabled;h=a.clicksAutoManagementTimeout});l.deactivateAutoManagement=function(){c=!1};var n=function(a){switch(a.target){case "_top":window.top.location.href=a.url;break;case "_parent":window.parent.location.href=a.url;break;default:window.location.href=a.url}},g=function(a){var b=a.timeout;a.mailto?l.timeout=setTimeout(function(){window.location.href=
61    a.mailto}
61,b):a.form?l.timeout=setTimeout(function(){a.form.submit()},b):a.url&&(l.timeout=setTimeout(function(){n({url:a.url,target:a.target})},b))},m=function(b){for(var c,e="_self",f=b.timeoutonly;b;){if(b.href&&0===b.href.indexOf("http")){c=b.href.split('"').join('\\"');e=b.target?b.target:e;break}b=b.parentNode}if(c){if(!f)a.onTrigger("Tracker:Hit:Sent:Ok",function(){l.timeout&&clearTimeout(l.timeout);n({url:c,target:e})});g({url:c,target:e,timeout:h})}},e=function(b){var c=b;for(b=c.timeoutonly;c&&
62"FORM"!==c.nodeName;)c=c.parentNode;if(c){if(!b)a.onTrigger("Tracker:Hit:Sent:Ok",function(){l.timeout&&clearTimeout(l.timeout);c.submit()});g({form:c,timeout:h})}},f=function(b){var c=b;for(b=c.timeoutonly;c&&!(c.href&&0<=c.href.indexOf("mailto:"));)c=c.parentNode;if(c){if(!b)a.onTrigger("Tracker:Hit:Sent:Ok",function(){l.timeout&&clearTimeout(l.timeout);window.location.href=c.href});g({mailto:c.href,timeout:h})}},b=function(a){for(var b=a;b;){if(b.href){if(0<=b.href.indexOf("mailto:"))return"mailto";
63    if(0===b.href.indexOf("http"))return"redirection"}else if("FORM"===b.nodeName){var c=a;a=!1;c&&(b=c.tagName||"",b=b.toLowerCase(),"form"===b?a=!0:(c=c.getAttribute("type")||"",c=c.toLowerCase(),"button"===b?"reset"!==c&&"button"!==c&&(a=!0):"input"===b&&"submit"===c&&(a=!0)));if(a)return"form";break}b=b.parentNode}return""};a.techClicks={};a.techClicks.manageClick=l.manageClick=function(a,g){var h=!0;if(c&&a){var l;a:{for(l=a;l;){if("function"===typeof l.getAttribute&&("_blank"===l.getAttribute("target")||
64    "no"===l.getAttribute("data-atclickmanagement"))){l=!0;break a}l=l.parentNode}l=a;for(var n=window.location.href,t;l;){if((t=l.href)&&0<=t.indexOf("#")&&n.substring(0,0<=n.indexOf("#")?n.indexOf("#"):n.length)===t.substring(0,t.indexOf("#"))){l=!0;break a}l=l.parentNode}l=!1}n=b(a);if(!l&&n){switch(n){case "mailto":f(a);h=!1;break;case "form":e(a);h=!1;break;case "redirection":m(a),h=!1}g&&(l=g.defaultPrevented,"function"===typeof g.isDefaultPrevented&&(l=g.isDefaultPrevented()),l||g.preventDefault&&
65g.preventDefault())}}return h}};window.ATInternet.Tracker.addPlugin("TechClicks");
66}).call(window);(function(){var dfltPluginCfg={"requestMethod":"POST"};var dfltGlobalCfg={};ATInternet.Tracker.Plugins.Clicks=function(a){var l="",c={};a.configPlugin("Clicks",dfltPluginCfg||{},function(a){c=a});var h=function(a){var c="";switch(a){case "exit":c="S";break;case "download":c="T";break;case "action":c="A";break;case "navigation":c="N"}return c},n=function(c){return a.utils.manageChapters(c,"chapter",3)+(c.name?c.name:"")},g=function(c){var e={p:n(c),s2:c.level2||"",click:h(c.type)||""},f=["click"],b=a.getContext("page")||{};e.pclick=n(b);e.s2click=b.level2||"";if(b=c.customObject)b=
67    a.processTagObject("stc",f,b),e.stc={_value:ATInternet.Utils.jsonSerialize(b),_options:{hitType:f,encode:!0,separator:",",truncate:!0}};a.sendHit(e,[["hitType",f]],c.callback,l)},l=c.requestMethod;"POST"!==l||ATInternet.Utils.isBeaconMethodAvailable()||(l="GET");a.click={};a.clickListener=this.clickListener={};a.click.send=this.send=function(c){var e=!0,f=null;c&&c.hasOwnProperty("event")&&(f=c.event||window.event);!ATInternet.Utils.isTabOpeningAction(f)&&c.elem&&(e=a.techClicks.manageClick(c.elem,
68    f));g(c);return e};a.clickListener.send=this.clickListener.send=function(c){if(c.elem){var e="click";a.plugins.exec("TechClicks","isFormSubmit",[c.elem],function(a){e=a?"submit":"click"});ATInternet.Utils.addEvtListener(c.elem,e,function(f){ATInternet.Utils.isTabOpeningAction(f)||a.techClicks.manageClick(c.elem,f);g(c)})}};a.click.set=this.set=function(c){a.dispatchSubscribe("click");a.setContext("click",{name:n(c),level2:c.level2||"",customObject:c.customObject});a.setParam("click",h(c.type)||"",
69    {hitType:["click"]})};a.click.onDispatch=this.onDispatch=function(c){var e=["click"],f=a.getContext("click")||{},b=a.getContext("page")||{};a.setParam("pclick",n(b),{hitType:e});a.setParam("s2click",b.level2||"",{hitType:e});a.setParam("p",f.name,{hitType:e});a.setParam("s2",f.level2,{hitType:e});(f=f.customObject)?a.processContextObjectAndSendHit("stc",{hitType:e,encode:!0,separator:",",truncate:!0,requestMethod:l},f,c):a.manageSend(function(){a.sendHit(null,[["hitType",e]],c,l)});a.setContext("click",
70    void 0)}};ATInternet.Tracker.addPlugin("Clicks");
71}).call(window);(function(){var dfltPluginCfg={"clientSideMode":"always","userIdCookieDuration":397,"userIdExpirationMode":"fixed","optOut":"OPT-OUT","userIdStorageName":"atuserid","optOutStorageName":"atoptedout","itpCompliant":false,"baseDomain":""};var dfltGlobalCfg={};window.ATInternet.Tracker.Plugins.ClientSideUserId=function(a){var l={},c=!1,h=void 0,n=null,g=!1,m=!1,e=!1,f=null,b="",d=!1,k=!1,r=-1;a.configPlugin("ClientSideUserId",dfltPluginCfg||{},function(a){l=a});var q=function(){var b=l.baseDomain;if(!b){var d=a.getConfig("cookieDomain");d&&(b=d,"."===b.charAt(0)&&(b=b.substring(1,b.length)))}var d=a.builder.getCollectDomain(),c=a.utils.getHostName();
71return!!(b&&d&&c&&-1!==d.indexOf(b)&&-1!==c.indexOf(b))},p=function(){if("relative"===l.userIdExpirationMode||
72    "fixed"===l.userIdExpirationMode&&null===n||d){var c=new Date;c.setTime(c.getTime()+864E5*l.userIdCookieDuration);a.storage.set(b,f,{end:c,path:"/"},k);c=a.storage.get(b,!0);ATInternet.Utils.consent&&!d&&f!==c&&a.setParam("idclient",f+"-NO",{multihit:!0,permanent:!0,hitType:["all"]})}},t=function(){a.setParam("idclient",f,{multihit:!0,permanent:!0,hitType:["all"]});p()},s=function(){h=a.getContext("userIdentifier");n=a.storage.get("atuserid");var p=!1;if("required"===l.clientSideMode){var r="";window.navigator&&
73(r=window.navigator.userAgent);if(/Safari/.test(r)&&!/Chrome/.test(r)||/iPhone|iPod|iPad/.test(r))p=!0}else"always"===l.clientSideMode&&(p=!0);g=p;p=!1;r=ATInternet.Utils.optedOut;!1===r&&(a.storage.del("atoptedout"),a.getParam("idclient")===l.optOut&&a.delParam("idclient"));var s=a.storage.get("atoptedout",!0);if(!0===r||s===l.optOut)p=!0;p&&(ATInternet.Utils.optedOut=!0);m=p;e="undefined"!==typeof h;p=!1;if(!a.getConfig("forceHttp")&&l.itpCompliant&&!e&&!m)switch(l.clientSideMode){case "never":p=
74    q();break;case "always":case "required":g&&null!==n||(p=q())}c=p;!c&&(g||m||e)?(a.setConfig("userIdOrigin","client"),b=l.userIdStorageName,k=d=!1,m?(f=l.optOut,b=l.optOutStorageName,k=d=!0):a.getConfig("disableCookie")||a.getConfig("disableStorage")?(f=a.getParam("idclient"),d=!0):e?(f=h,d=!0):f=null!==n?n:ATInternet.Utils.uuid().v4(),t()):a.setConfig("userIdOrigin","server")},v=function(a){a&&(a=a.detail)&&"clientsideuserid"===a.name&&a.id===r&&s()};(function(){a.plugins.waitForDependencies(["Storage",
75    "Utils"],function(){var a=ATInternet.Utils.uuid();r=parseInt(a.num(8));ATInternet.Utils.removeOptOutEvent(v);ATInternet.Utils.addOptOutEvent(r,v);s()})})();a.clientSideUserId={};a.clientSideUserId.set=function(a){m||(f=a,d=!0,b=l.userIdStorageName,k=!1,t())};a.clientSideUserId.store=function(){k=d=!0;p()};a.clientSideUserId.get=function(){return f}};window.ATInternet.Tracker.addPlugin("ClientSideUserId");
76}).call(window);(function(){var dfltPluginCfg={"domainAttribution":true};var dfltGlobalCfg={"redirectionLifetime":30};window.ATInternet.Tracker.Plugins.ContextVariables=function(a){var l="",c=null,h,n="",g="",m={};a.configPlugin("ContextVariables",dfltPluginCfg||{},function(a){m=a});a.setConfig("redirectionLifetime",dfltGlobalCfg.redirectionLifetime,!0);var e=function(b,c){var f=null;a.plugins.exec("Storage",b,c,function(a){f=a});return f},f=function(){a.setParam("hl",function(){var a=new Date;return a.getHours()+"x"+a.getMinutes()+"x"+a.getSeconds()},{permanent:!0,hitType:["all"]})},b=function(a){(a=h?h:"acc_dir"===
77l?"":null!==l?l:"acc_dir"===c?"":c?c:a?a.referrer:"")&&(a=a.replace(/[<>]/g,"").substring(0,1600).replace(/&/g,"$"));return a};a.plugins.waitForDependencies(["Storage","Utils"],function(){n="set"+(m.domainAttribution?"":"Private");g="get"+(m.domainAttribution?"":"Private");var d=a.utils.getLocation();l=a.utils.getQueryStringValue("xtref",d);void 0===l&&(l="");h=a.getContext("forcedReferer");if(a.getConfig("redirect")){var d=a.utils.getDocumentLevel(),d=h?h:null!==l?l:d?d.referrer:"acc_dir",k;if(k=
78    d){k={path:"/",end:a.getConfig("redirectionLifetime")};var r=e(g,["atredir"]);null!==r?k="object"===typeof r&&!(r instanceof Array):(e(n,["atredir",{},k]),k=!0)}k&&e(n,[["atredir","ref"],d])}else{c=e(g,[["atredir","ref"]]);e("del",[["atredir","ref"]]);a.setParam("vtag",a.version,{permanent:!0,hitType:["all"]});a.setParam("ptag","js",{permanent:!0,hitType:["all"]});d="";try{d+=window.screen.width+"x"+window.screen.height+"x"+window.screen.pixelDepth+"x"+window.screen.colorDepth}catch(q){}a.setParam("r",
79    d,{permanent:!0,hitType:["all"]});d="";window.innerWidth?d+=window.innerWidth+"x"+window.innerHeight:document.body&&document.body.offsetWidth&&(d+=document.body.offsetWidth+"x"+document.body.offsetHeight);a.setParam("re",d,{permanent:!0,hitType:["all"]});f();window.navigator&&a.setParam("lng",window.navigator.language||window.navigator.userLanguage,{permanent:!0,hitType:["all"]});d=ATInternet.Utils.uuid().num(13);a.setParam("idp",d,{permanent:!0,hitType:["page","clickzone"]});window.navigator&&a.setParam("jv",
80    window.navigator.javaEnabled()?"1":"0",{hitType:["page"]});d=a.utils.getDocumentLevel();a.setParam("ref",b(d),{permanent:!0,last:!0,hitType:["page","ecommerce","avinsights"]})}a.emit("ContextVariables:Ready",{lvl:"INFO"})})};window.ATInternet.Tracker.addPlugin("ContextVariables");
81}).call(window);(function(){var dfltPluginCfg={};var dfltGlobalCfg={};ATInternet.Tracker.Plugins.Page=function(a){var l=["pageId","chapterLabel","update"],c=["pid","pch
81ap","pidt"],h=["page","site"],n=["f","x"],g=function(b){return a.utils.manageChapters(b,"chapter",3)+(b.name?b.name:"")},m=function(a,b,d){b?a=b:a||"undefined"===typeof d||(a=d);return a},e=function(a,b,d){b.hasOwnProperty(d)&&(a[d]=m(a[d],b[d]))},f=function(b,d,c){if(d)for(var e=0;e<h.length;e++)if(d.hasOwnProperty(h[e])&&d[h[e]])for(var f in d[h[e]])d[h[e]].hasOwnProperty(f)&&(c?b[n[e]+f]=d[h[e]][f]:
82    a.setParam(n[e]+f,d[h[e]][f]))},b=function(b,d,e){if(d){var f=a.utils.manageChapters(d,"chapter",3);f&&(d.chapterLabel=f.replace(/::$/gi,""));for(f=0;f<c.length;f++)d.hasOwnProperty(l[f])&&(e?b[c[f]]=d[l[f]]:a.setParam(c[f],d[l[f]]))}},d=function(b,d,c){if(d&&d.keywords instanceof Array){var e=d.keywords.length;if(0<e){for(var f="",k=0;k<e;k++)f+="["+d.keywords[k]+"]"+(k<e-1?"|":"");c?b.tag=f:a.setParam("tag",f)}}},k=function(b,d,c){if(d){var e,f=function(a){return a?a:"0"};e=""+(f(d.category1)+"-");
83    e+=f(d.category2)+"-";e+=f(d.category3);c?b.ptype=e:a.setParam("ptype",e)}},r=function(b,d,c){if(d)for(var e in d)d.hasOwnProperty(e)&&"undefined"!==typeof d[e]&&(c?b[e]=d[e]:a.setParam(e,d[e]))};a.customVars=this.customVars={};a.customVars.set=this.customVars.set=function(b){var d=a.getContext("page")||{},c=d.customVars;if(c){if(b)for(var e in b)b.hasOwnProperty(e)&&(c[e]=ATInternet.Utils.completeFstLevelObj(c[e],b[e],!0))}else c=b;d.customVars=c;a.setContext("page",d)};a.dynamicLabel=this.dynamicLabel=
84    {};a.dynamicLabel.set=this.dynamicLabel.set=function(b){var d=a.getContext("page")||{};d.dynamicLabel=ATInternet.Utils.completeFstLevelObj(d.dynamicLabel,b,!0);a.setContext("page",d)};a.tags=this.tags={};a.tags.set=this.tags.set=function(b){var d=a.getContext("page")||{};d.tags=ATInternet.Utils.completeFstLevelObj(d.tags,b,!0);a.setContext("page",d)};a.customTreeStructure=this.customTreeStructure={};a.customTreeStructure.set=this.customTreeStructure.set=function(b){var d=a.getContext("page")||{};
85    d.customTreeStructure=ATInternet.Utils.completeFstLevelObj(d.customTreeStructure,b,!0);a.setContext("page",d)};a.page={};a.page.reset=this.reset=function(){a.setContext("page",void 0)};a.page.set=this.set=function(b){a.dispatchSubscribe("page");var d=a.getContext("page")||{};d.name=m(d.name,b.name,"");d.level2=m(d.level2,b.level2,"");e(d,b,"chapter1");e(d,b,"chapter2");e(d,b,"chapter3");d.customObject=ATInternet.Utils.completeFstLevelObj(d.customObject,b.customObject,!0);a.setContext("page",d)};a.page.send=
86    this.send=function(c){var h=!0,l={p:g(c),s2:c.level2||""},s=c.customObject;if(s){var n=["page"],s=a.processTagObject("stc",n,s);l.stc={_value:ATInternet.Utils.jsonSerialize(s),_options:{hitType:n,encode:!0,separator:",",truncate:!0}}}s=a.getContext("page")||{};s.vrn&&(l.vrn=s.vrn,s.vrn=void 0,a.setContext("page",s));n=a.getContext("InternalSearch")||{};"undefined"!==typeof n.keyword&&(l.mc=ATInternet.Utils.cloneSimpleObject(n.keyword),"undefined"!==typeof n.resultPageNumber&&(l.np=ATInternet.Utils.cloneSimpleObject(n.resultPageNumber)),
87        a.setContext("InternalSearch",void 0));ATInternet.Utils.isPreview()&&a.getConfig("preview")&&(l.pvw=1);f(l,c.customVars,!0);b(l,c.dynamicLabel,!0);d(l,c.tags,!0);k(l,c.customTreeStructure,!0);n=a.getContext("campaigns")||{};r(l,n,!0);a.setContext("campaigns",void 0);n=null;c&&c.hasOwnProperty("event")&&(n=c.event||window.event);!ATInternet.Utils.isTabOpeningAction(n)&&c.elem&&(h=a.techClicks.manageClick(c.elem,n));a.manageSend(function(){a.sendHit(l,null,c.callback,null)});s.name=m(s.name,c.name,
88        "");s.level2=m(s.level2,c.level2,"");e(s,c,"chapter1");e(s,c,"chapter2");e(s,c,"chapter3");a.setContext("page",s);return h};a.page.onDispatch=this.onDispatch=function(c){var e=a.getContext("page")||{},m=a.getContext("InternalSearch")||{};a.setParam("p",g(e));a.setParam("s2",e.level2||"");e.vrn&&(a.setParam("vrn",e.vrn),e.vrn=void 0,a.setContext("page",e));"undefined"!==typeof m.keyword&&(a.setParam("mc",ATInternet.Utils.cloneSimpleObject(m.keyword)),"undefined"!==typeof m.resultPageNumber&&a.setParam("np",
89    ATInternet.Utils.cloneSimpleObject(m.resultPageNumber)),a.setContext("InternalSearch",void 0));ATInternet.Utils.isPreview()&&a.getConfig("preview")&&a.setParam("pvw",1);f(null,e.customVars,!1);b(null,e.dynamicLabel,!1);d(null,e.tags,!1);k(null,e.customTreeStructure,!1);m=a.getContext("campaigns")||{};r(null,m,!1);a.setContext("campaigns",void 0);var h=["page"];(e=e.customObject)?a.processContextObjectAndSendHit("stc",{hitType:h,encode:!0,separator:",",truncate:!0},e,c):a.manageSend(function(){a.sendHit(null,
90    [["hitType",h]],c,null)})}};ATInternet.Tracker.addPlugin("Page");
91}).call(window);(function(){var dfltPluginCfg={"urlKeyword":"","urlResultPageNumber":"","urlResultPosition":""};var dfltGlobalCfg={};window.ATInternet.Tracker.Plugins.InternalSearch=function(a){var l={};a.configPlugin("InternalSearch",dfltPluginCfg||{},function(a){l=a});a.internalSearch={};a.internalSearch.set=this.set=function(c){var h={},l=h;c.hasOwnProperty("keyword")&&(l.keyword=c.keyword);l=h;c.hasOwnProperty("resultPageNumber")&&(l.resultPageNumber=c.resultPageNumber);c=a.getContext("InternalSearch")||{};h=ATInternet.Utils.completeFstLevelObj(h,c);"undefined"===typeof h.resultPageNumber&&(h.resultPageNumber="1");a.setContext("InternalSearch",
92    h)};a.internalSearch.send=this.send=function(c){var h=!0,l=null;c&&c.hasOwnProperty("event")&&(l=c.event||window.event);
92!ATInternet.Utils.isTabOpeningAction(l)&&c.elem&&(h=a.techClicks.manageClick(c.elem,l));l={np:"undefined"!==typeof c.resultPageNumber?c.resultPageNumber:"1",click:"IS"};c.hasOwnProperty("keyword")&&(l.mc=c.keyword);c.hasOwnProperty("resultPosition")&&(l.mcrg=c.resultPosition);var g=a.getContext("page")||{};g.level2&&(l.s2=g.level2);a.sendHit(l,[["hitType",["InternalSearch"]]],c.callback,
93    null);return h};a.plugins.waitForDependencies(["Utils"],function(){var c;if(l.urlKeyword){var h=document.location.href;c={};var n=a.utils.getQueryStringValue(l.urlKeyword,h);n&&(c.keyword=n);l.urlResultPageNumber&&(n=a.utils.getQueryStringValue(l.urlResultPageNumber,h),c.resultPageNumber=n||"1")}c&&a.setContext("InternalSearch",c);a.emit("InternalSearch:Ready",{lvl:"INFO",details:{config:{urlKeyword:l.urlKeyword,urlResultPageNumber:l.urlResultPageNumber},url:h,data:c}})})};window.ATInternet.Tracker.addPlugin("InternalSearch");
94}).call(window);(function(){var dfltPluginCfg={"hitParameter":"col","hitValue":"2"};var dfltGlobalCfg={};window.ATInternet.Tracker.Plugins.Event=function(a){var l={},c=function(a){for(var b=[],d=0;d<a.length;d++)for(var c in a[d])a[d].hasOwnProperty(c)&&b.push({name:c,data:a[d][c]});return ATInternet.Utils.jsonSerialize(b)},h=function(f,b){var d=b||"event";a.setParam("events",c(f),{hitType:[d],encode:!0,truncate:!0,separator:","})},n=function(c){for(var b={},d=a.getConfig("ignoreEmptyChapterValue"),k="",e="",g=1;3>=g;g++)if(e="chapter"+g,k=c[e]||"",d&&k||!d&&c.hasOwnProperty(e))b[e]=k;b.$=c.name||"";
95    d="level2";c=c.level2||"";""===c||isNaN(c)||(d="level2_id",c=Number(c));k={};k[d]=c;return ATInternet.Utils.jsonSerialize([{data:{page:b,site:k}}])},g=function(c,b){var d=b||"event";a.setParam("context",n(c),{hitType:[d],encode:!0})},m=function(a){return"object"===typeof a&&!(a instanceof Array)},e=function(a,b){return a instanceof Array&&b instanceof Array?a.concat(b):m(a)&&m(b)?ATInternet.Utils.completeFstLevelObj(a,b,!0):b};a.event={};a.event.reset=function(c){c=c||"event";a.getContext(c);a.setContext(c,
96    void 0)};a.event.send=function(f,b,d){var k=!0,e="event";d&&d.origin&&(e=d.origin);var g={};g[f]=b;var m={};m[l.hitParameter]={_value:l.hitValue,_options:{multihit:!0}};f=a.getContext("page");"undefined"!==typeof f&&(m.context={_value:n(f),_options:{encode:!0}});m.events={_value:c([g]),_options:{encode:!0,truncate:!0,separator:","}};ATInternet.Utils.isPreview()&&a.getConfig("preview")&&(m.pvw=1);g=null;d&&d.hasOwnProperty("event")&&(g=d.event||window.event);!ATInternet.Utils.isTabOpeningAction(g)&&
97d&&d.elem&&(k=a.techClicks.manageClick(d.elem,g));a.manageSend(function(){var b;d&&(b=d.callback);a.sendHit(m,[["hitType",[e]]],b,null)});return k};a.event.set=function(c,b,d,k){k=k||"event";a.setParam(l.hitParameter,l.hitValue,{multihit:!0,hitType:[k]});a.dispatchSubscribe(k);for(var g=a.getContext(k)||[],h=!1,p=0;p<g.length;p++)g[p][c]&&(h=!0,d?m(g[p][c])&&(g[p][c][d]=e(g[p][c][d],b)):g[p][c]=e(g[p][c],b));h||(h={},d?(h[c]={},h[c][d]=b):h[c]=b,g.push(h));a.setContext(k,g)};a.event.add=function(c,
98                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     b,d){d=d||"event";var k=a.getContext(d)||[],e={};e[c]=b;k.push(e);a.setContext(d,k)};a.event.onDispatch=function(c,b){var d=b||"event",k=a.getContext("page");"undefined"!==typeof k&&g(k,d);k=a.getContext(d);"undefined"!==typeof k&&h(k,d);a.setContext(d,void 0);ATInternet.Utils.isPreview()&&a.getConfig("preview")&&a.setParam("pvw",1,{hitType:[d]});a.manageSend(function(){a.sendHit(null,[["hitType",[d]]],c,null)})};(function(){a.plugins.waitForDependencies(["Utils"],function(){a.configPlugin("Event",
99    dfltPluginCfg||{},function(a){l=a})})})()};window.ATInternet.Tracker.addPlugin("Event");
100}).call(window);(function(){var dfltPluginCfg={"lifetime":182,"domainAttribution":true};var dfltGlobalCfg={"redirectionLifetime":30};window.ATInternet.Tracker.Plugins.IdentifiedVisitor=function(a){var l=null,c=null,h=null,n=null,g="",m="",e=null,f=null,b="",d="",k={};a.configPlugin("IdentifiedVisitor",dfltPluginCfg||{},function(a){k=a});a.setConfig("redirectionLifetime",dfltGlobalCfg.redirectionLifetime,!0);var r=function(b,d){var c=null;a.plugins.exec("Storage",b,d,function(a){c=a});return c},q=function(a,c){var k=r(d,[a]);if(null!==k)return"object"===typeof k&&!(k instanceof Array);r(b,[a,{},c]);return!0},p=function(a,d){q("atidvisitor",
101    {path:"/",session:86400*k.lifetime})&&r(b,[["atidvisitor",a],d])},t=function(b,d){a.setParam(b,d,{hitType:["all"],permanent:!0});p(b,d)},s=function(){var b=function(a,b){/-/.test(b)?(a.category=b.split("-")[0],a.id=b.split("-")[1]):a.id=b},d={category:"",id:""};b(d,m||f);var k={category:"",id:""};b(k,g||e);k.id?(k.category&&t("ac",k.category),t("at",k.id)):l&&(a.setParam("at",l,{hitType:["all"],permanent:!0}),h&&a.setParam("ac",h,{hitType:["all"],permanent:!0}));d.id?(d.category&&t("ac",d.category),
102    t("an",d.id)):c&&a.setParam("anc",h+"-"+c,{hitType:["all"],permanent:!0})};a.plugins.waitForDependencies(["Storage","Utils"],function(){b="set"+(k.domainAttribution?"":"Private");d="get"+(k.domainAttribution?"":"Private");var v=a.utils.getLocation();g=a.utils.getQueryStringValue("xtat",v);m=a.utils.getQueryStringValue("xtan",v);a.getConfig("redirect")?(g||m)&&q("atredir",{path:"/",end:a.getConfig("redirectionLifetime")})&&(m&&r(b,[["atredir","an"],m]),g&&r(b,[["atredir","at"],g])):(e=r(d,[["atredir",
103    "at"]]),f=r(d,[["atredir","an"]]),r("del",[["atredir","at"]]),r("del",[["atredir","an"]]),l=r(d,[["atidvisitor","at"]]),c=r(d,[["atidvisitor","an"]]),h=r(d,[["atidvisitor","ac"]]),n=r(d,[["atidvisitor","vrn"]]),s(),v="-"+a.getConfig("site")+"-",RegExp(v).test(n)||(n=(n||"")+v,p("vrn",n),v=a.getContext("page")||{},v.vrn=1,a.setContext("page",v)));a.emit("IdentifiedVisitor:Ready",{lvl:"INFO",details:{storageRedirectTextual:e,storageRedirectNumeric:f,storageTextual:l,storageNumeric:c,storageCategory:h,
104        storageVrn:n}})});a.identifiedVisitor={};a.identifiedVisitor.set=this.set=function(a){var b=a.id;a=a.category;"number"===typeof b?t("an",b.toString()):t("at",b);"undefined"!==typeof a&&t("ac",a)};a.identifiedVisitor.unset=this.unset=function(){for(var b=["an","at","ac"],d=0;d<b.length;d++)a.exec("Storage","del",[["atidvisitor",b[d]]]),a.delParam(b[d]);a.delParam("anc")}};window.ATInternet.Tracker.addPlugin("IdentifiedVisitor");
105}).call(window);(function(){var dfltPluginCfg={"lifetime":30,"lastPersistence":true,"listEventsForExec":[],"domainAttribution":true};var dfltGlobalCfg={"visitLifetime":30,"redirectionLifetime":30};window.ATInternet.Tracker.Plugins.Campaigns=function(a){a.setConfig("visitLifetime",dfltGlobalCfg.visitLifetime,!0);a.setConfig("redirectionLifetime",dfltGlobalCfg.redirectionLifetime,!0);var l={},c,h;a.configPlugin("Campaigns",dfltPluginCfg||{},function(a){l=a});var n,g,m,e,f,b,d,k,r,q,p,t,s,v=function(){var b=function(a){var b="";a&&(b=isNaN(a)&&-1===a.search(/\[(.*?)\]/g)?"["+a+"]":a);return b},d=function(a){for(;"-"===a.charAt(a.length-1);)a=a.substring(0,a.length-1);return a};this.SponsoredLinks=
106    function(){var c={google:"goo",yahoo:"ysm",miva:"miv",orange:"wan",msn:"msn",mirago:"mir",sklik:"skl",adfox:"adf",etarget:"etg",yandex:"yan",ebay:"eba",searchalliance:"sal",bing:"bin",naver:"nav",baidu:"bdu",qwant:"qwt",waze:"waz",amazon:"amz"},k={search:"s",content:"c"};this.at_medium="sl";this.at_term=this.at_network=this.at_variant=this.at_creation=this.at_platform=this.at_campaign="";this.format=function(){var a="sec",f=b(this.at_campaign),e=c[this.at_platform]||"",m=b(this.at_creation),q=b(this.at_variant),
107        g=k[this.at_network]||"",p=b(this.at_term);return d(a+("-"+f+"-"+e+"-"+m+"-"+q+"-"+g+"-"+p))};this.setProperties=function(b){this.at_campaign=a.utils.getQueryStringValue("at_campaign",b)||"";this.at_platform=a.utils.getQueryStringValue("at_platform",b)||"";this.at_creation=a.utils.getQueryStringValue("at_creation",b)||"";this.at_variant=a.utils.getQueryStringValue("at_variant",b)||"";this.at_network=a.utils.getQueryStringValue("at_network",b)||"";this.at_term=a.utils.getQueryStringValue("at_term",
108        b)||""}};this.Email=function(){var c={acquisition:"erec",retention:"epr",promotion:"es"};this.at_medium="email";this.at_send_time=this.at_recipient_list=this.at_recipient_id=this.at_link=this.at_send_date=this.at_creation=this.at_campaign=this.at_emailtype="";this.format=function(){var a=c[this.at_emailtype]||c.promotion,k=b(this.at_campaign),f=b(this.at_creation),e=this.at_send_date,m=b(this.at_link),a=a+("-"+k+"-"+f+"-"+e+"-"+m+"-"+(this.at_recipient_id+(this.at_recipient_list?"@"+this.at_recipient_list:
109    ""))+"-"+this.at_send_time);return d(a)};this.setProperties=function(b){this.at_emailtype=a.utils.getQueryStringValue("at_emailtype",b)||"";this.at_campaign=a.utils.getQueryStringValue("at_campaign",b)||"";this.at_creation=a.utils.getQueryStringValue("at_creation",b)||"";this.at_send_date=a.utils.getQueryStringValue("at_send_date",b)||"";this.at_link=a.utils.getQueryStringValue("at_link",b)||"";this.at_recipient_id=a.utils.getQueryStringValue("at_recipient_id",b)||"";this.at_recipient_list=a.utils.getQueryStringValue("at_recipient_list",
110    b)||"";this.at_send_time=a.utils.getQueryStringValue("at_send_time",b)||""}};this.Affiliate=function(){this.at_medium="affiliate";this.at_variant=this.at_creation=this.at_format=this.at_identifier=this.at_type=this.at_campaign="";this.format=function(){var a="al",c=b(this.at_campaign),k=b(this.at_type),f=b(this.at_identifier),e=b(this.at_format),m=b(this.at_creation),q=b(this.at_variant);return d(a+("-"+c+"-"+k+"-"+f+"-"+e+"-"+m+"-"+q))};this.setProperties=function(b){this.at_campaign=a.utils.getQueryStringValue("at_campaign",
111    b)||"";this.at_type=a.utils.getQueryStringValue("at_type",b)||"";this.at_identifier=a.utils.getQueryStringValue("at_identifier",b)||"";this.at_format=a.utils.getQueryStringValue("at_format",b)||"";this.at_creation=a.utils.getQueryStringValue("at_creation",b)||"";this.at_variant=a.utils.getQueryStringValue("at_variant",b)||""}};this.Display=function(){this.at_medium="display";this.at_detail_placement=this.at_general_placement=this.at_channel=this.at_format=this.at_variant=this.at_creation=this.at_campaign=
112    "";this.format=function(){var a="ad",c=b(this.at_campaign),k=b(this.at_creation),f=b(this.at_variant),e=b(this.at_format),m=b(this.at_channel),q=b(this.at_general_placement),g=b(this.at_detail_placement);return d(a+("-"+c+"-"+k+"-"+f+"-"+e+"-"+m+"-"+q+"-"+g))};this.setProperties=function(b){this.at_campaign=a.utils.getQueryStringValue("at_campaign",b)||"";this.at_creation=a.utils.getQueryStringValue("at_creation",b)||"";this.at_variant=a.utils.getQueryStringValue("at_variant",b)||"";this.at_format=
113    a.utils.getQueryStringValue("at_format",b)||"";this.at_channel=a.utils.getQueryStringValue("at_channel",b)||"";this.at_general_placement=a.utils.getQueryStringValue("at_general_placement",b)||"";this.at_detail_placement=a.utils.getQueryStringValue("at_detail_placement",b)||""}};this.Custom=function(){this.at_custom4=this.at_custom3=this.at_custom2=this.at_custom1=this.at_campaign=this.at_medium="";this.format=function(){var a="";/\d+$/.test(this.at_medium)&&(a=/\d+$/.exec(this.at_medium)[0]);var a=
114    "cs"+a,c=b(this.at_campaign),k=b(this.at_custom1),f=b(this.at_custom2),e=b(this.at_custom3),m=b(this.at_custom4);return d(a+("-"+c+"-"+k+"-"+f+"-"+e+"-"+m))};this.setProperties=function(b){this.at_medium=a.utils.getQueryStringValue("at_medium",b)||"";this.at_campaign=a.utils.getQueryStringValue("at_campaign",b)||"";this.at_custom1=a.utils.getQueryStringValue("at_custom1",b)||"";this.at_custom2=a.utils.getQueryStringValue("at_custom2",b)||"";this.at_custom3=a.utils.getQueryStringValue("at_custom3",
115    b)||"";this.at_custom4=a.utils.getQueryStringValue("at_custom4",b)||""}};this.medium={sl:this.SponsoredLinks,email:this.Email,affiliate:this.Affiliate,display:this.Display}},y=function(b,d){var k=a.storage[h](b);if(null!==k)return"object"===typeof k&&!(k instanceof Array);a.storage[c](b,{},d);return!0},w=function(b,d){var c=a.getContext("campaigns")||{};c[b]=d;a.setContext("campaigns",c)};(function(){a.plugins.waitForDependencies(["Storage","Utils"],function(){c="set"+(l.domainAttribution?"":"Private");
116    h="get"+(l.domainAttribution?"":"Private");n=a.storage[h](["atredir","gopc"]);g=a.storage[h](["atredir","gopc_err"]);m=a.storage[h](["atredir","camp"]);a.storage.del(["atredir","gopc"]);a.storage.del(["atredir","gopc_err"]);a.storage.del(["atredir","camp"]);e=a.storage[h](["atsession","histo_camp"]);f=a.storage[h](["atreman","camp"]);b=a.storage[h](["atreman","date"]);var u=a.utils.getLocation(),z=a.utils.getQueryStringValue("at_medium",u);if(z){var B=new v,z="function"===typeof B.medium[z]?new B.medium[z]:
117        new B.Custom;z.setProperties(u);d=z.format()}else d=a.utils.getQueryStringValue("xtor",u);k=a.utils.getQueryStringValue("xtdt",u);r=a.utils.getQueryStringValue("xts",u);q=a.getContext("forcedCampaign");p=!!a.getConfig("redirect");t=!!(d&&k&&r);s=!1;t&&(u=(new Date).getTime()/6E4,s=!p&&r!==a.getConfig("site")||0>u-k||u-k>=a.getConfig("visitLifetime"));u=q||m||d;p&&u&&y("atredir",{path:"/",end:a.getConfig("redirectionLifetime")}
117)&&(a.storage[c](["atredir","camp"],u),z=u=!1,q||(m?(u=n,z=g):(u=t,z=s)),
118        a.storage[c](["atredir","gopc"],u),a.storage[c](["atredir","gopc_err"],z));!p&&f&&(w("xtor",f),u=(new Date).getTime()/36E5,u=Math.floor(u-b),w("roinbh",0<=u?u:0));p||(u=null,u=m?n?q||u:q||m:t?q:q||d||u,e&&e instanceof Array&&-1<e.indexOf(u)&&(u=null),u&&w("xto",u));if(!p&&!q){var A;m?g&&(A=m):s&&(A=d);A&&w("pgt",A)}if(!p&&(A=m?q||m:q||d||null)&&!(!q&&!m&&t&&s||!q&&m&&n&&g)){if((!e||e instanceof Array&&0>e.indexOf(A))&&y("atsession",{path:"/",session:60*a.getConfig("visitLifetime")}))a.storage[c](["atsession",
119        "histo_camp"],e&&e.push(A)?e:[A]);f&&!l.lastPersistence||!y("atreman",{path:"/",session:86400*l.lifetime})||(a.storage[c](["atreman","camp"],A),a.storage[c](["atreman","date"],(new Date).getTime()/36E5))}a.emit("Campaigns:process:done",{lvl:"INFO"})})})()};window.ATInternet.Tracker.addPlugin("Campaigns");
120}).call(window);
121if(typeof window.ATInternet.onTrackerLoad==='function'){window.ATInternet.onTrackerLoad();}

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.