d3c3cq33003psk.cloudfront.net
52.85.177.95 

URL: http://d3c3cq33003psk.cloudfront.net/opentag-66635-astonmartinmaincontainer.js
Submission: On August 09 via manual from US

Form analysis 0 forms found in the DOM

Text Content

/*
* Opentag, a tag deployment platform
* Copyright 2011-2016, Qubit Group
* http://opentag.qubitproducts.com
*/
(function(){var F=function(){return this}();F.qubit=F.qubit||{};F.qubit.SYSTEM_DEFAULTS={pingServerUrl:"opentag-stats.qubit.com/ping",tellLoadTimesProbability:1}})();(function(){var F={"id":"66635"};try{var c=function(){return this}();if(!c.qubit)c.qubit={};var E=c.qubit;if(!E.cs)E.cs={};E.CLIENT_CONFIG=F;var K=F.id||"efault";K="d"+K;if(!E.cs[K])E.cs[K]={};E.cs[K].ClientConfig=F;if(E.SYSTEM_DEFAULTS)E.cs[K].SystemDefaults=E.SYSTEM_DEFAULTS}catch(V){}})();
(function(){(function(){function F(){return ha.uv}function c(){var a=F();if(!a||!a.emit)return false;if(!ea){ea=true;for(var r=0;r<X.length;r++){var p=X[r];if(p.on)a.on.apply(a,p.on);else if(p.emit)a.emit.apply(a,p.emit)}a.on(/.*/,function(w){var k=w.meta.type;var e=Z[k];if(!e)Z[k]={current:w,history:[w]};else{e.current=w;e.history.push(w)}}).replay();aa=true}return true}(function(){if(!Function.prototype.bind)Function.prototype.bind=function(a){if(typeof this!=="function")throw new TypeError("Function.prototype.bind - what is trying "+
"to be bound is not callable");var r=Array.prototype.slice.call(arguments,1);var p=this;var w=function(){};var k=function(){return p.apply(this instanceof w?this:a,r.concat(Array.prototype.slice.call(arguments)))};w.prototype=this.prototype;k.prototype=new w;return k}})();var E={__anonymous__:true};var K=null;try{K=(false||eval)("this")}catch(a){}if(!K)try{var V=function(){return this};K=V()}catch(a){}E=K;var B=E.qubit||{};if(!E.qubit)E.qubit=B;var Y="3.1.1-r1";if(B.VERSION&&B.VERSION!==Y)try{console.warn("There is already 'qubit.VERSION' set to: "+
B.VERSION)}catch(a){}B.VERSION=Y;try{if(typeof module==="object")module.exports=E}catch(a){}var O=function(){};var fa;(function(){function a(){}function r(k,e,n,f,l){var t=k.split(".");var h=a.NAMESPACE_BASE||E;var y=null;var x=null;var z;if(l)h=K;var C=h;h=n||h;for(z=0;z<t.length-1;z+=1){y=h;x=t[z];h[x]=h[x]||{};h=h[x]}y=h;x=t[t.length-1];if(K.TAGSDK_NS_OVERRIDE)f=false;if(K.TAGSDK_NS_FORCED_OVERRIDE_OPTION!==undefined)f=!K.TAGSDK_NS_FORCED_OVERRIDE_OPTION;if(e!==undefined){if(y[x]===undefined||
!f)y[x]=e}else y[x]=y[x]||{};if(e){e.CLASSPATH=t.join(".");t.splice(t.length-1,1);e.PACKAGE_NAME=t.join(".")}return{root:C,object:y,instance:y[x]}}a.global=function(){return K};a.STANDARD_CS_NS="qubit.cs";a.clientSpaceClasspath=function(){if(window.qubit.CLIENT_CONFIG)return"qubit.cs.d"+window.qubit.CLIENT_CONFIG.id;return a.STANDARD_CS_NS};a.globalNamespace=function(k,e,n,f){return r(k,e,n,f,true)};a.namespace=function(k,e,n,f){return r(k,e,n,f,false)};a.clientNamespace=function(k,e,n,f){return a.namespace(a.clientSpaceClasspath()+
"."+k,e,n,f)};a.clazz=function(k,e,n,f,l){a.namespace(k,e,f,true);if(typeof n==="function"){e.SUPER=n;e.superclass=n;e.prototype=new n(l);e.prototype.SUPER=n;e.prototype.CLASS=e}var t=k.split(".");if(e.prototype){e.prototype.CLASSPATH=t.join(".");e.prototype.CLASS_NAME=t[t.length-1];t.splice(t.length-1,1);e.prototype.PACKAGE_NAME=t.join(".")}else{e.CLASSPATH=t.join(".");e.STATIC_NAME=t[t.length-1];t.splice(t.length-1,1);e.PACKAGE_NAME=t.join(".")}return e};a.clazz("qubit.Define",a);a.clientClazz=
function(k,e,n,f,l){return a.clazz(a.clientSpaceClasspath()+"."+k,e,n,f,l)};a.STANDARD_VS_NS="qubit.vs";a.vendorsSpaceClasspath=function(k){var e=B.VENDOR_SPACE_CP;var n=e===undefined||e===null?a.STANDARD_VS_NS:e;if(k)if(n)return n+"."+k;else return k;return n};var p=a.vendorsSpaceClasspath();var w;if(p)w=a.namespace(p,{},null,true).instance;else w=a.global();a.getVendorSpace=function(){return w};a.vendorNamespace=function(k,e,n,f){k=a.vendorsSpaceClasspath(k);return a.namespace(k,e,n,f)};a.vendorClazz=
function(k,e,n,f,l){k=a.vendorsSpaceClasspath(k);return a.clazz(k,e,n,f,l)}})();(function(){function a(k){}var r="abcdefghijklmnopqrstuvwxyz"+"0123456789"+"ABCDEFGHIJKLMNOPQRSTUVWXYZ"+"*!-#$\x26+()@"+"'%./:\x3c\x3e?["+'"]^_`{|}~'+"\\"+";\x3d";var p={};for(var w=0;w<r.length;w++)p[r.charAt(w)]=w;B.Define.clazz("qubit.Cookie",a);a.cookieAlphabet=r;a.cookieAlphabetMap=p;a.decode=function(k){return unescape(k)};a.encode=function(k){return escape(k)};a.set=function(k,e,n,f,l){var t;if(n){var h=new Date;
h.setTime(h.getTime()+n*24*60*60*1E3);t="; expires\x3d"+h.toGMTString()}else t="";if(!l){k=a.encode(k);e=a.encode(e)}var y=k+"\x3d"+e+t+"; path\x3d/;";if(f)y+=" domain\x3d"+f;document.cookie=y};a.get=function(k,e){var n=k+"\x3d";var f=document.cookie.split(";");for(var l=0;l<f.length;l++){for(var t=f[l];t.charAt(0)===" ";)t=t.substring(1,t.length);if(t.indexOf(n)===0){var h=t.substring(n.length,t.length);if(!e)h=a.decode(h);return h}}return null};a.getAllForName=function(k,e){if(!k)return[];var n=
k+"\x3d";var f=document.cookie.split(";");var l=[];for(var t=0;t<f.length;t++){for(var h=f[t];h.charAt(0)===" ";)h=h.substring(1,h.length);if(h.indexOf(n)===0){var y=h.substring(n.length,h.length);if(e)y=a.decode(y);l.push(y)}}return l};a.getAll=function(k){var e=document.cookie.split(";");var n=[];for(var f=0;f<e.length;f++){for(var l=e[f];l.charAt(0)===" ";)l=l.substring(1,l.length);var t=l.substring(0,l.indexOf("\x3d"));var h=l.substring(t.length+1,l.length);if(k)h=a.decode(h);n.push([t,h])}return n};
a.rm=function(k,e){a.set(k,"",-1,e)}})();(function(){function a(b){return l.addToArrayIfNotExist(l.ANON_VARS,b)}function r(b){return b.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")}function p(b,g){var m=h.length;for(var A=0;A<m;A++)if(b===h[A][0])return h[A][1];h[h.length]=[b,g];return false}function w(b,g,m,A,D){var G=false;var H=false;var I=false;var L=false;var M=false;var Q=false;var R=false;if(g){M=!!g.all;G=M||g.nodes;L=M||g.win;H=M;R=!!g.emptyForMaxDeep;I=g.noFunctions&&!M;if(g.noOwn!==undefined)H=
!!g.noOwn;if(g.noFunctions!==undefined)I=!!g.noFunctions;if(g.win!==undefined)L=!!g.win;if(g.nodes!==undefined)G=!!g.nodes;Q=!!g.copyReference}if(m!==undefined&&!m){if(R)return;return b}else if(m!==undefined)m--;if(!b||!(b instanceof Object))return b;if(!G){try{if(b instanceof Node)return b}catch(ba){if(b instanceof ActiveXObject&&b.nodeType!==undefined)return b}if(b===document)return b}if(!L)if(b===t)return b;var N=b instanceof Array?[]:{};if(b instanceof Date)N=new Date(b);if(!I&&b instanceof Function){var U=
String(b).replace(/\s+/g,"");if(U.indexOf("{[nativecode]}")+14===U.length)N=function(){return b.apply(D||this,arguments)};else N=function(){return b.apply(this,arguments)}}if(A===undefined){h=[];A=0}var W=p(b,N);if(W)return W;var S;if(N instanceof Array)for(S=0;S<b.length;S++)if(b[S]===b[S])N[N.length]=w(b[S],g,m,A+1,b);else N[N.length]=b[S];else{S=0;for(var T in b){if(H||b.hasOwnProperty(T))if(b[T]===b[T])N[T]=w(b[T],g,m,A+1,b);else N[T]=b[T];S++}}if(g.proto)N.prototype=w(b.prototype,g,m,A+1,b);
if(Q)N.___copy_ref=b;return N}function k(b,g){for(var m=0;m<g&&m<y.length;m++)if(b===y[m])return true;return false}function e(b,g,m,A,D,G,H,I){m=m||{};if(m.hasOwn===undefined)m.hasOwn=true;if(m.objectsOnly&&!(b instanceof Object))return;if(I!==undefined&&!I)return;else if(I!==undefined)I--;if(!m||!m.nodes)try{if(b instanceof Node)return}catch(U){if(b instanceof ActiveXObject&&b.nodeType!==undefined)return}if(b===t)return;if(A===undefined){y=[];A=0}if(k(b,A))return;y[A]=b;D=D||b;if(D&&G&&D[G]!==D[G])return;
var L=g(b,D,G,H);if(L)return;var M=0;var Q="";for(var R in b){if(!m.hasOwn||b.hasOwnProperty(R))try{var N=b[R];if(m.track)Q=H?H+"."+R:R;e(N,g,m,A+1,D,R,Q,I)}catch(U){}M++}}var n=B.Define;var f=B.Cookie;var l=function(){};var t=n.global();n.clazz("qubit.opentag.Utils",l);l.global=n.global;l.namespace=n.namespace;l.clazz=n.clazz;l.getObjectUsingPath=function(b,g){g=g||t;var m=b.split(".");for(var A=0;A<m.length;A++)if(g&&m[A])g=g[m[A]];return g};l.getParentObject=function(b){var g=b.lastIndexOf(".");
var m=b.substring(0,g);return l.getObjectUsingPath(m)};l.variableExists=function(b){return b!==undefined&&b!==null};l.ANON_VARS=[];l.getAnonymousAcessor=function(b){var g=l.indexInArray(b,l.ANON_VARS);if(g===-1)g=a(b);return"qubit.opentag.Utils.ANON_VARS["+g+"]"};l.replaceAll=function(b,g,m){return b.replace(new RegExp(r(g),"g"),m)};l.secureText=function(b){if(typeof b!=="string")b+="";b=b.replace(/</g,"\x26lt;");b=b.replace(/>/g,"\x26gt;");return b};l.getUrl=function(){return document.location.href};
l.getQueryParam=function(b){var g;var m;var A;var D;var G;var H;var I;D=l.getUrl();if(D.indexOf("?")>0){H=D.substring(D.indexOf("?")+1).split("\x26");for(g=0,m=H.length;g<m;g+=1){G=H[g];if(G.indexOf("\x3d")>0){I=G.split("\x3d");if(I.length===2&&I[0]===b)return I[1]}}}return null};l.getElementValue=function(b){var g=document.getElementById(b);if(g)return g.textContent||g.innerText;return null};var h=[];l.objectCopy=function(b,g){g=g||{};var m=w(b,g,g.maxDeep);h=[];return m};var y=[];l.traverse=function(b,
g,m){var A;e(b,g,m,A,A,A,A,m.maxDeep)};l.prepareQuotedString=function(b){if(typeof b==="string")return'"'+b.replace(/\"/g,'\\"')+'"';else return b};l.expressionToFunction=function(b,g){g=g||"";var m="function ("+g+") {"+b+"}";return l.gevalAndReturn(m).result};l.defineWrappedClass=function(b,g,m,A,D){var G=function(){if(D)return D.apply(this,arguments);else return g.apply(this,arguments)};n.clazz(b,G,g,A);for(var H in m)if(m.hasOwnProperty(H)&&H!=="CONSTRUCTOR")G.prototype[H]=m[H];return G};l.copyAandAddFromB=
function(b,g,m){m=m||8;var A=this.objectCopy(b,{maxDeep:m});for(var D in g)if(g.hasOwnProperty(D))A[D]=g[D];return A};l.keys=function(b){if(b instanceof Object){if(Object.keys)return Object.keys(b);var g=[];for(var m in b)if(b.hasOwnProperty(m))g[g.length]=m;return g}else throw"keys() called on non-object!";};l.getSrcElement=function(b){var g;b=b||window.event;if(b.srcElement)g=b.srcElement;else if(b.target)g=b.target;return g};l.addToArrayIfNotExist=function(b,g,m){var A=0;for(var D=false;A<b.length;A+=
1){var G=m&&m(b[A],g);if(G||b[A]===g){D=true;break}}if(!D){b[b.length]=g;A=-1}return A};l.indexInArray=function(b,g){var m=0;for(var A=false;m<b.length;m++)if(b[m]===g){A=true;break}return A?m:-1};l.removeFromArray=function(b,g){var m=0;for(var A=0;m<b.length;)if(b[m]===g){b.splice(m,1);A++}else m++;return A};l.addClass=function(b,g){var m;try{b.classList.add(g)}catch(A){if(b.className===null){b.className=g;return}m=b.className.split(" ");l.addToArrayIfNotExist(m,g);b.className=m.join(" ")}};l.removeClass=
function(b,g){var m;try{b.classList.remove(g)}catch(A){if(b.className===null){b.className="";return}m=b.className.split(" ");l.removeFromArray(m,g);b.className=m.join(" ")}};var x="try{this.qubitopentagutilsgevalandreturn__var_test__\x3d(";var z=");}catch(ex){"+"this.qubitopentagutilsgevalandreturn__var_test__error \x3d ex;}";l.gevalAndReturn=function(b){var g=K;g.qubitopentagutilsgevalandreturn__var_test__=undefined;g.qubitopentagutilsgevalandreturn__var_test__error=undefined;b=x+b+z;l.geval(b);
var m=g.qubitopentagutilsgevalandreturn__var_test__;var A=g.qubitopentagutilsgevalandreturn__var_test__error;try{g.qubitopentagutilsgevalandreturn__var_test__=fa;g.qubitopentagutilsgevalandreturn__var_test__error=fa;delete g.qubitopentagutilsgevalandreturn__var_test__;delete g.qubitopentagutilsgevalandreturn__var_test__error}catch(D){}return{result:m,error:A}};l.trim=function(b){try{return String(b).trim()}catch(g){return String(b).replace(/^\s+|\s+$/g,"")}};l.setIfUnset=function(b,g){if(b&&g)for(var m in g)if(g.hasOwnProperty(m)&&
!b.hasOwnProperty(m))b[m]=g[m]};l.overrideFromLeftToRight=function(b,g){if(b&&g)for(var m in g)if(g.hasOwnProperty(m))b[m]=g[m];return b};l.geval=function(b){if(window&&window.execScript)return window.execScript(b===""?" ":b);else return function(){return t["eval"].call(t,b)}()};var C=[];l.bodyAvailable=function(b){var g=!!document.body;if(g){if(C){for(var m=0;m<C.length;m++)try{C[m]()}catch(A){}C=false}b()}else C.push(b)};l.rmCookiesMatching=function(b){var g=f.getAll();for(var m=0;m<g.length;m++){var A=
g[m][0];if(A.match(b)===0)f.rm(A)}};var q=[];var u=false;var v=false;l.bodyReady=function(b){if(v){if(b)b();return true}u=u||!!(document.body&&document.readyState==="complete");if(u){v=true;for(var g=0;g<q.length;g++)try{q[g]()}catch(m){}if(b)b()}else if(b)q.push(b);return u};var d=t.onload;t.onload=function(b){try{l.bodyReady()}catch(m){try{window.qubit.opentag.Utils.bodyReady()}catch(A){}}var g=false;try{g=d}catch(m){}if(g)g(b)};(function(){var b;var g=false;var m=1;var A;var D;var G;var H;D=function(L){var M;
if(L===true)m-=1;if(!m||L!==true&&!g){if(!document.body)return setTimeout(D,1);g=true;if(L!==true){m-=1;if(m>0)return}for(;A.length>0;){M=A.shift();M()}}};H=function(){if(g)return;try{document.documentElement.doScroll("left")}catch(L){setTimeout(H,1);return}D()};G=function(){if(A)return;A=[];if(document.readyState==="complete")return setTimeout(D,1);if(document.addEventListener){document.addEventListener("DOMContentLoaded",b,false);window.addEventListener("load",D,false)}else if(document.attachEvent){document.attachEvent("onreadystatechange",
b);window.attachEvent("onload",D);var L=false;try{L=window.frameElement===null||window.frameElement===undefined}catch(M){}if(document.documentElement.doScroll&&L)H()}};var I=function(L){G();if(g)setTimeout(L,1);else A.push(L)};if(document.addEventListener)b=function(){document.removeEventListener("DOMContentLoaded",b,false);D()};else if(document.attachEvent)b=function(){if(document.readyState==="complete"){document.detachEvent("onreadystatechange",b);D()}};I(function(){u=true;l.bodyReady()})})()})();
(function(){function a(x,z,C){this.collectLogs=!!a.isCollecting();this.collectLocally=C;this.collection=[];this.getPrefix=function(){var q="";if(z){if(typeof z==="function")q=z(this.ref);else if(z.CLASS_NAME)q=z.CLASS_NAME;else if(z.constructor&&z.constructor.name)q=z.constructor.name;if(q)q+=" -\x3e "}return(x||"")+q}}function r(x,z,C,q,u,v,d,b){var g;var m=k>=b;if(a.getCollectLevel()>=0||m){if(u)g=[q,d,C];else g=[z+x.getPrefix()+q,v,C];g[3]=b;x.collect(g,b);if(m)x.printMessage.apply(x,g)}}var p=
B.Define;var w=null;p.clazz("qubit.opentag.Log",a);a.LEVEL_FINEST=4;a.LEVEL_FINE=3;a.LEVEL_INFO=2;a.LEVEL_WARN=1;a.LEVEL_ERROR=0;a.LEVEL_NONE=-1;a.MAX_LOG_LEN=1E4;a.prototype.MAX_LOG_LEN=-1;var k=a.LEVEL_NONE;var e=a.LEVEL_NONE;var n=true;a.setLevelFromCookie=function(){var x=B.Cookie.get("qubit.opentag.Log.LEVEL");if(x){x=+x;if(!isNaN(x))if(x>0){var z=a.LEVEL_FINE;a.setCollectLevel(x>z?x:z);a.setLevel(+x)}}};a.setCollecting=function(x){n=!!x};a.isCollecting=function(){return n||a.COLLECT};a.setLevel=
function(x){k=+x};a.setCollectAndLevel=function(x){a.setLevel(x);a.setCollectLevel(x)};a.getLevel=function(){return k};a.setCollectLevel=function(x){e=+x};a.getCollectLevel=function(){return e};var f=[];a.logsCollection=f;a.rePrintAll=function(x,z,C,q){var u=k;if(x!==undefined)k=x;try{if(a.isCollecting()){try{if(!C)w.clear()}catch(g){}var v=q||a.logsCollection;var d=0;for(var b=0;b<v.length;b++)(function(g){var m=v[g];var A=m[3];if(A!==undefined&&k>=A){d++;if(!z)a.print.apply(a,m);else B.opentag.Timed.setTimeout(function(){if(x!==
undefined)k=x;try{a.print.apply(a,m)}finally{k=u}},d*z)}})(b)}}catch(g){}finally{k=u}};var l=p.global();var t=!!(l.webkitMediaStream||l.webkitURL||l.mozContact);a.isStyleSupported=function(){return t};var h={};a.setConsole=function(x){w=x||h;return w};a.delayPrint=-1;var y=(new Date).valueOf();a.prototype.printMessage=function(x,z,C,q){if(a.delayPrint>0){var u=a.delayPrint;var v=y-(new Date).valueOf();if(v>0)u+=v;try{B.opentag.Timed.setTimeout(function(){this.print(x,z,C,q)}.bind(this),u)}catch(d){setTimeout(function(){this.print(x,
z,C,q)}.bind(this),u)}y=(new Date).valueOf()+u}else this.print(x,z,C,q)};a.prototype.print=function(x,z,C,q){a.print(x,z,C,q)};a.print=function(x,z,C,q){if(q!==undefined&&k<q)return;try{if(w&&w.log)if(z&&a.isStyleSupported())if(C&&w[C])w[C]("%c"+x,z);else w.log("%c"+x,z);else if(C&&w[C])w[C](x);else w.log(x)}catch(u){}};a.prototype.collect=function(x,z){if(z===undefined)z=a.getCollectLevel();var C=false;var q=this.collectLogs&&a.isCollecting()&&a.getCollectLevel()>=+z;if(q){f.push(x);C=true}if(this.collectLocally&&
q){this.collection.push(x);C=true}if(a.MAX_LOG_LEN>0)if(f.length>a.MAX_LOG_LEN)f.splice(0,f.length-a.MAX_LOG_LEN);if(a.MAX_LOG_LEN>0||this.MAX_LOG_LEN>0){var u=a.MAX_LOG_LEN;if(this.MAX_LOG_LEN>0)u=this.MAX_LOG_LEN;if(this.collection.length>u)this.collection.splice(0,this.collection.length-u)}return C?x:null};a.clearAllLogs=function(){try{w.clear()}catch(x){}finally{f.splice(0,f.length)}};a.getCollectedByLevel=function(x,z){z=z||f;var C=[];for(var q=0;q<z.length;q++){var u=z[q];var v=u[0];var d=v[4];
if(d===x)C.push(u)}return C};a.prototype.rePrint=function(x,z,C){a.rePrintAll(x,z,!C,this.collection)};a.prototype.FINEST=function(x,z){r(this,"FINEST: ",false,x,z,"color:#CCCCCC;",false,a.LEVEL_FINEST)};a.prototype.FINE=function(x,z){r(this,"FINE: ",false,x,z,"color:#999999;",false,a.LEVEL_FINE)};a.prototype.INFO=function(x,z,C){r(this,"INFO: ","info",x,z,C,C,a.LEVEL_INFO)};a.prototype.WARN=function(x,z){r(this,"WARN: ","warn",x,z,"color:#26A110;",false,a.LEVEL_WARN)};a.prototype.ERROR=function(x,
z){r(this,"ERROR: ","error",x,z,"color:red;",false,a.LEVEL_ERROR)};a.setConsole(p.global().console);a.setLevelFromCookie()})();(function(){function a(p){if(p){this._rate=p.rate||10;this._smallestRate=-1;if(p.start)this.startPooling();this.config=p}this.inervals=[];this._lck_obj={};this._binded_pool=this._pool.bind(this)}B.Define.clazz("qubit.opentag.Timer",a);a.prototype.timers=[];a.prototype.startPooling=function(p){if(p&&this.config.dynamic)if(this._smallestRate<0||this._smallestRate>p)this._smallestRate=
Math.min(Math.floor(p/2),1500);if(!this.started){this.started=true;setTimeout(this._binded_pool,0)}};a.prototype._pool=function(){this.maxFrequent(function(){var w="";if(this.config&&this.config.name)w="["+this.config.name+"]"},5E3,this._lck_obj);this.callTimers();if(this.timers.length!==0){var p=this._smallestRate>this._rate?this._smallestRate:this._rate;setTimeout(this._binded_pool,p)}else{this.started=false;this._smallestRate=-1}};a.prototype.callTimers=function(){this.lastCalled=(new Date).valueOf();
for(var p=0;p<this.timers.length;p++){var w=this.timers[p];var k=(new Date).valueOf();if(k>=w.time){try{w.execute()}catch(e){}this.timers.splice(p,1);--p}}};a.prototype.cancellAll=function(){this.timers=[]};a.prototype.setRate=function(p){this._rate=p};a.prototype.maxFrequent=function(p,w,k){if(!k){p.__maxFrequent__timer_opentag_qubit_=p.__maxFrequent__timer_opentag_qubit_||{};k=p.__maxFrequent__timer_opentag_qubit_}var e=k.____last__timed__max__frequent____;if(!e||(new Date).valueOf()-e>w){e=(new Date).valueOf();
k.____last__timed__max__frequent____=e;p()}};a.prototype.runIfNotScheduled=function(p,w,k){k=k||p;if(k.__lastRun__&&(new Date).valueOf()<w+k.__lastRun__)return this.schedule(p,w,k);else{k.__lastRun__=(new Date).valueOf();p();return true}};a.prototype.schedule=function(p,w,k){if(k.___scheduled___)return false;else{k.___scheduled___=(new Date).valueOf();this.setTimeout(function(){k.___scheduled___=false;k.__lastRun__=(new Date).valueOf();p()},w);return true}};var r=1;a.prototype.setTimeout=function(p,
w){var k={id:r++,time:(new Date).valueOf()+ +w,execute:p};this.timers.push(k);this.startPooling(w);return k};a.prototype.setInterval=function(p,w){var k=setInterval(p,w);this.inervals.push(k);return k}})();(function(){B.Define.namespace("qubit.opentag.Timed",new B.opentag.Timer({rate:37,dynamic:true}));var a=B.opentag.Timed;a.tillTrue=function(r,p,w){var k=function(){if(!r())a.setTimeout(k,w||33);else p()};k()}})();var J={};J.html=J.html||{};J.html.fileLoader={};J.html.fileLoader.load=function(a,
r,p,w,k,e){var n;var f;var l;var t;var h;h=false;t=function(y){return function(){if(!h){h=true;if(y&&!l)l={url:document.location.href};p(a,l,y)}}};try{if(r)f=r(a)}catch(y){f=false;p(a,"Exception loading pre",true)}finally{if(f!==false){n=J.html.fileLoader.createScriptEl(a,k,false,e);if(p){n.onload=t(false);n.onerror=t(true);n.onreadystatechange=function(){if(this.readyState==="complete"||this.readyState==="loaded")setTimeout(function(){t(false)()},1)}}if(!w)w=window.document.getElementsByTagName("head")[0];
w.appendChild(n)}}};J.html.fileLoader.createScriptEl=function(a,r,p,w){var k;var e=document.createElement("script");e.type="text/javascript";e.src=J.html.fileLoader.tidyUrl(a)+(p?"?"+(new Date).getTime():"");if(r!==false){e.async="true";e.defer="true"}else{e.async="false";if(e.async!==false)e.async=false;e.defer="false";if(e.defer!==false)e.defer=false}for(k in w)if(w.hasOwnProperty(k))e.setAttribute(k,w[k]);return e};J.html.fileLoader.tidyUrl=function(a){if(a.substring(0,5)==="http:")return a;if(a.substring(0,
6)==="https:")return a;return"//"+a};(function(){function a(k){this.log=new B.opentag.Log("",function(){return this.CLASS_NAME+"["+this.config.name+"]"}.bind(this),"collectLogs");this.config={order:0,include:true,name:"Filter-"+p++,script:undefined,session:undefined};this.session=null;if(k){for(var e in k)if(k.hasOwnProperty(e))this.config[e]=k[e];if(k.session)this.setSession(k.session);this.register(this)}}var r=B.opentag.Utils;var p=0;var w=[];B.Define.clazz("qubit.opentag.filter.BaseFilter",a);
a.state={DISABLED:-3,SESSION:-2,PASS:-1,FAIL:0};a.prototype.reset=function(){this.enable()};a.prototype.disable=function(){this.config.disabled=true};a.prototype.enable=function(){this.config.disabled=false};a.prototype.match=function(){return true};a.prototype.setSession=function(k){this.session=k};a.prototype.getSession=function(){return this.session};a.prototype.getState=function(){var k=a.state.PASS;if(this.config.disabled)return a.state.DISABLED;if(this.config.script)k=this.config.script.call(this,
k);if(isNaN(+k))k=a.state.FAIL;this.lastState=+k;return k};a.getFilters=function(){return w};a.prototype.register=function(){a.register(this)};a.register=function(k){r.addToArrayIfNotExist(w,k)}})();(function(){var a=B.Define;var r={CONTAINS:"CONTAINS",MATCHES_EXACTLY:"MATCHES_EXACTLY",STARTS_WITH:"STARTS_WITH",ENDS_WITH:"ENDS_WITH",REGULAR_EXPRESSION:"REGULAR_EXPRESSION",ALL_URLS:"ALL_URLS"};a.namespace("qubit.opentag.filter.pattern.PatternType",r)})();(function(){function a(e){this._lockObject=
{};var n={patternType:k.CONTAINS,pattern:""};if(e)for(var f in e)if(e.hasOwnProperty(f))n[f]=e[f];a.SUPER.call(this,n)}var r=B.opentag.Utils;var p=B.opentag.filter.BaseFilter;var w=B.opentag.Timed;var k=B.opentag.filter.pattern.PatternType;B.Define.clazz("qubit.opentag.filter.URLFilter",a,p);a.prototype.PATTERNS=k;a.prototype.getURL=function(e){return e||r.getUrl()};a.prototype.match=function(e){e=this.getURL(e);var n=true;var f=this.config.pattern;switch(this.config.patternType){case k.CONTAINS:n=
e.toLowerCase().indexOf(f.toLowerCase())>=0;break;case k.MATCHES_EXACTLY:n=e.toLowerCase()===this.config.pattern.toLowerCase();break;case k.STARTS_WITH:n=e.toLowerCase().indexOf(f.toLowerCase())===0;break;case k.ENDS_WITH:n=e.lastIndexOf(f.toLowerCase())+f.length===e.length;break;case k.REGULAR_EXPRESSION:n=(new RegExp(f)).test(e);break;case k.ALL_URLS:n=true;break}return n}})();(function(){function a(e){var n={};if(e){for(var f in e)if(e.hasOwnProperty(f)){if(f==="customStarter"&&e[f])this.customStarter=
e[f];else if(f==="customScript"&&e[f])this.customScript=e[f];n[f]=e[f]}this.uid="f"+k++}this.tagsToRun=[];a.SUPER.call(this,n)}var r=B.opentag.filter.BaseFilter;var p=B.opentag.filter.URLFilter;var w=B.opentag.Utils;var k=0;B.Define.clazz("qubit.opentag.filter.Filter",a,p);a.prototype.customStarter=function(e,n,f){n(false)};a.prototype.isSession=function(){if(this.config.sessionDisabled)return false;if(this.customStarter===null&&this.customScript===null)return false;return true};a.prototype.customScript=
function(e){return true};a.prototype.match=function(e){var n=true;try{if(this.customScript){if(this._matchState===undefined)this._matchState=!!this.customScript(this.getSession());n=this._matchState}}catch(f){n=false}return n&&a.SUPER.prototype.match.call(this,e)};a.prototype.runTag=function(e){w.addToArrayIfNotExist(this.tagsToRun,e);if(!this.starterExecuted){if(!this._starterWasRun){this._starterWasRun=true;var n=function(f){this.reRun=f;this.starterExecuted=(new Date).valueOf();this._processQueuedTagsToRun()}.bind(this);
if(this.customStarter)this.customStarter(this.getSession(),n,e);else a.prototype.customStarter.call(this,this.getSession(),n,e)}}else this._triggerTag(e)};a.prototype._processQueuedTagsToRun=function(){for(var e=0;e<this.tagsToRun.length;e++){var n=this.tagsToRun[e];this._triggerTag(n)}};a.prototype._triggerTag=function(e){if(this.reRun===true)e.run();else e.runOnce()};a.prototype.getState=function(e){if(e)this.setSession(e);var n=a.SUPER.prototype.getState.call(this);if(n===r.state.DISABLED)return r.state.DISABLED;
if(n===r.state.PASS)if(this.isSession())n=r.state.SESSION;if(this.config.script)n=this.config.script.call(this,n,this.getSession());this.lastState=n;return n};a.prototype.reset=function(){this._matchState=undefined;a.SUPER.prototype.reset.call(this);this._starterWasRun=undefined;this.starterExecuted=undefined;this.tagsToRun=[];this.reRun=undefined}})();J.html.GlobalEval={};J.html.GlobalEval.globalEval=function(a){if(window.execScript)window.execScript(a===""?" ":a);else{var r=function(){window["eval"].call(window,
a)};r()}};J.html.HtmlInjector={};J.html.HtmlInjector.inject=function(a,r,p,w,k){var e;var n;var f;var l;var t;var h;var y;if(p.toLowerCase().indexOf("\x3cscript")>=0){f=document.createElement("div");f.innerHTML="a"+p;l=f.getElementsByTagName("script");t=[];for(e=0,n=l.length;e<n;e+=1)t.push(l[e]);y=[];for(e=0,n=t.length;e<n;e+=1){h=t[e];var x={attributes:J.html.HtmlInjector.getAttributes(h)};if(h.src)x.src=h.src;else x.script=h.innerHTML;y.push(x);h.parentNode.removeChild(h)}if(f.innerHTML)if(f.innerHTML.length>
0)f.innerHTML=f.innerHTML.substring(1);J.html.HtmlInjector.doInject(a,r,f);J.html.HtmlInjector.loadScripts(y,0,w,a)}else{f=document.createElement("div");f.innerHTML=p;J.html.HtmlInjector.doInject(a,r,f);if(w)w()}};J.html.HtmlInjector.doInject=function(a,r,p){if(p.childNodes.length>0){for(var w=document.createDocumentFragment();p.childNodes.length>0;)w.appendChild(p.removeChild(p.childNodes[0]));if(r)J.html.HtmlInjector.injectAtStart(a,w);else J.html.HtmlInjector.injectAtEnd(a,w)}};J.html.HtmlInjector.injectAtStart=
function(a,r){if(a.childNodes.length===0)a.appendChild(r);else a.insertBefore(r,a.childNodes[0])};J.html.HtmlInjector.injectAtEnd=function(a,r,p){if(!p)p=1;if(a===document.body&&document.readyState!=="complete"&&p<50)setTimeout(function(){J.html.HtmlInjector.injectAtEnd(a,r,p+1)},100);else a.appendChild(r)};J.html.HtmlInjector.loadScripts=function(a,r,p,w){var k;var e;var n=false;for(k=a.length;r<k;r+=1){e=a[r];if(e.src){n=true;break}else J.html.GlobalEval.globalEval(e.script)}if(n)J.html.fileLoader.load(e.src,
null,function(){J.html.HtmlInjector.loadScripts(a,r+1,p,w)},w,false,e.attributes);if(p&&r===k)p()};J.html.HtmlInjector.getAttributes=function(a){var r;var p;var w;var k;var e;var n={};if(a){w=a.attributes;p=w.length;for(r=0;r<p;r++){k=w[r].value;e=w[r].name.toLowerCase();if(k!==""&&(e==="id"||e==="class"||e==="charset"||e.substr(0,5)==="data-"))n[e]=k}return n}};(function(){function a(){y=y||{write:document.write,writeln:document.writeln}}function r(){document.write=y.write;document.writeln=y.writeln;
y=null}var p=B.opentag.filter.BaseFilter;var w=B.opentag.Utils;var k=J.html.HtmlInjector;var e=J.html.fileLoader;var n=B.opentag.filter.Filter;var f=function(){};B.Define.clazz("qubit.opentag.TagsUtils",f);var l=false;f.bodyLoaded=function(){if(l)return true;l=!!(document.body&&document.readyState!=="loading");return l};f.bodyAvailable=function(b){return!!document.body};var t={};var h={SUCCESS:"success",FAIL:"failure",INIT:"not started"};f.loadScript=function(b){var g=b.url;var m=function(G,H,I){t[g].error=
H;if(I){t[g].state=h.FAIL;b.onerror()}else{t[g].state=h.SUCCESS;b.onsuccess()}};if(t[g]){if(b.noMultipleLoad)return m(g,t[g].error,t[g].state===h.FAIL);t[g].count+=1}else t[g]={count:1,state:null};var A=!b.async;var D=f.bodyLoaded();if(A&&D);A=A&&!D;if(A)f.writeScriptURL(g,function(G,H){m(g,H,!G)});else e.load(g,false,m,b.node,b.async)};var y=null;f.redirectDocumentWritesToArray=function(b,g){var m=b;a();document.write=function(A){m.push(A)};document.writeln=function(A){m.push(A)}};f.flushDocWritesArray=
function(b,g,m,A,D){var G=g;if(G&&b){var H=b.splice(0,b.length);try{f.injectHTML(G,m,H.join("\n"),D||O);return true}catch(L){}}else{var I="Flushing location not found!";return false}if(D)D();return true};f.unlockDocumentWrites=function(){if(y)r()};var x=f.prototype.PACKAGE_NAME+".TagsUtils._writeScriptURL_callbacks";var z={};B.Define.namespace(x,z,K,true);var C=0;var q=(new Date).valueOf();f.writeScriptURL=function(b,g){var m="_"+q+"_"+C++;var A=x+"."+m;var D=false;z[m]=function(Q){if(D)return;D=
true;if(Q)g(false,"error while loading script "+b);else g(true);z[m]=undefined;delete f.writeScriptURL.callbacks[m]};var G='if(this.readyState \x3d\x3d\x3d "loaded" || '+'this.readyState \x3d\x3d\x3d "complete"){ try {'+A+"(true)"+"} catch (ex) {}}";var H="try{"+A+"(false)}catch(ex){}";var I="try{"+A+"(true)}catch(ex){}";var L="scr";var M;b=e.tidyUrl(b);M="\x3c"+L+"ipt onload\x3d'"+H+"'  onerror\x3d'"+I+"' onreadystatechange\x3d'"+G+"' type\x3d'text/javascript' "+" src\x3d'"+b+"'\x3e"+"\x3c/"+L+"ipt\x3e";
if(y){r();document.write(M);a()}else document.write(M);w.bodyReady(function(){if(!D){D=true;g(true)}})};f.writeScriptURL.callbacks={};var u=p.state.SESSION;var v=p.state.PASS;var d=p.state.FAIL;f.filtersState=function(b,g,m,A){b=b.sort(function(ba,ia){try{var ca=ia.config.order;var da=ba.config.order;if(isNaN(-da))da=0;if(isNaN(-ca))ca=0;return ca-da}catch(ja){return 0}});var D=v;if(!b||b.length===0)return D;var G=null;var H=false;var I=false;var L=0;var M;var Q;var R=[];var N;var U;for(var W=0;W<
b.length;W++){N=b[W];N.setSession(g);if(N.match()){M=N.getState();if(M>0){if(L===0||L>M)L=M}else if(M===p.state.DISABLED)H=true;else if(M===u){I=true;G=N;Q=N;R.push(N)}else G=N}else U=N}var S=false;if(G===null){S=true;if(!H)D=d;else D=v}else if(G.config.include)D=M;else D=M===v?d:v;if(L>0&&(D===v||S))D=L;if(D===u||D===v&&I){if(!Q.config.include)return d;D=u;if(Q instanceof n&&Q.isSession())if(A)for(var T=0;T<R.length;T++)try{R[T].runTag(m)}catch(ba){}}if(m.config.dedupe&&D===v)if(U&&U instanceof n&&
U.isSession()){m.sendDedupePing=true;D=d}return D};f.injectHTML=function(b,g,m,A){return k.inject(b,!g?1:0,m,A||O)};f.getHTMLLocationForTag=function(b){var g;var m=b.prepareLocationObject(b.config.locationObject);switch(m){case "HEAD":g=document.getElementsByTagName("head")[0];break;case "BODY":g=document.body;break;default:if(m)g=document.getElementById(m);else g=document.body}return g}})();(function(){function a(f){this.config={};this.handlers=[];this.parameters=null;this.callHandlersOnRead=false;
if(f){this.uniqueId="BV"+k++;a.ALL_VARIABLES[this.uniqueId]=this;for(var l in f)if(f.hasOwnProperty(l)){this.config[l]=f[l];if(l==="value")this.value=f.value}var t=a.register(this);if(t&&t!==this);return t}}function r(){if(n)return false;for(var f=0;f<e.length;f++)try{var l=e[f];l.getValue()}catch(t){}w.setTimeout(r,a.CHECK_POLL_RATE);return true}var p=B.opentag.Utils;var w=B.opentag.Timed;var k=0;B.Define.clazz("qubit.opentag.pagevariable.BaseVariable",a);a.ALL_VARIABLES={};var e=[];a.OBSERVED_VARIABLES=
e;a.pageVariables=[];a.register=function(f){if(f instanceof a){for(var l=0;l<a.pageVariables.length;l++){var t=a.pageVariables[l];if(f===t)return t}a.pageVariables.push(f);return f}return null};a.prototype.getValue=function(){this._updateCurrentValue(this.value);return this.currentValue};a.prototype._updateCurrentValue=function(f){if(!this.valuesAreEqual(f,this.currentValue)){this.oldValue=this.currentValue;this.currentValue=f;if(!n||this.callHandlersOnRead)this._handleValueChanged();return true}return false};
a.prototype.getDefaultValue=function(){return this.defaultValue};a.prototype.setDefaultValue=function(f){this.defaultValue=f};a.prototype.exists=function(f){var l=p.variableExists(this.getValue());if(f)l=l||p.variableExists(this.getDefaultValue());return l};a.prototype.getRelativeValue=function(f,l){var t=this.getValue();if(!p.variableExists(t))t=l;var h;if(f&&!p.variableExists(t)){h=this.getDefaultValue();if(p.variableExists(h))t=h}return t};a.prototype.replaceToken=function(f,l,t,h){var y=this.exists();
var x=y?this.getValue():t;f="\\$\\{"+f+"\\}";if(h||x instanceof Array){var z;if(y)z=this.getValueAccessorString();else z=p.getAnonymousAcessor(x);return l.replace(new RegExp(f,"g"),z)}else return l.replace(new RegExp(f,"g"),x)};a.prototype.getAccessorString=function(){return"qubit.opentag.pagevariable.BaseVariable.ALL_VARIABLES."+this.uniqueId};a.prototype.getValueAccessorString=function(){return this.getAccessorString()+".getValue()"};a.prototype.onValueChanged=function(f,l){if(p.addToArrayIfNotExist(this.handlers,
f)===-1);if(l!==false)this.startObservingForChanges()};a.prototype.deatchOnValueChanged=function(f){if(p.removeFromArray(this.handlers,f)>0);};a.prototype._handleValueChanged=function(){var f={oldValue:this.oldValue,newValue:this.currentValue,variable:this};for(var l=0;l<this.handlers.length;l++)try{this.handlers[l](f)}catch(t){}};var n=true;a.CHECK_POLL_RATE=333;a.prototype.startObservingForChanges=function(){this.addToObservedVariables();if(n){n=false;r()}};a.prototype.stopObservingForChanges=function(){this.removeFromObservedVariables();
if(e.length===0)n=true};a.prototype.addToObservedVariables=function(){p.addToArrayIfNotExist(e,this)};a.prototype.removeFromObservedVariables=function(){p.removeFromArray(e,this)};a.prototype.getObservedVariables=function(){return e};a.prototype.valuesAreEqual=function(f,l){return f===l}})();(function(){function a(w){this._lockExprObject={};a.SUPER.apply(this,arguments)}var r=B.opentag.Utils;var p=B.opentag.Timed;B.Define.clazz("qubit.opentag.pagevariable.Expression",a,B.opentag.pagevariable.BaseVariable);
a.prototype.getValue=function(){var w;var k;var e=this.value;try{if(e&&e.indexOf("[#]")===-1){var n=r.gevalAndReturn(e);w=n.result;this.failMessage=null;k=n.error}else w=a.parseUVArray(e)}catch(t){k=t}if(k){var f="could not read value of expression: \n"+e+"\nexact cause: "+k;if(this.failMessage!==f)this.failMessage=f;w=null}var l=this._updateCurrentValue(w);return w};a.parseUVArray=function(w){var k=w.split("[#]");var e=r.gevalAndReturn(k[0]).result;var n=[];var f=k[1];if(f.indexOf(".")===0)f=f.replace(".",
"");for(var l=0;l<e.length;l++){var t=r.getObjectUsingPath(f,e[l]);n.push(t)}return n};a.prototype.replaceToken=function(w,k,e,n){if(this.getValue()instanceof Array)n=true;return a.SUPER.prototype.replaceToken.call(this,w,k,e,n)}})();(function(){function a(p){a.SUPER.apply(this,arguments)}var r=B.opentag.Utils;B.Define.clazz("qubit.opentag.pagevariable.DOMText",a,B.opentag.pagevariable.BaseVariable);a.prototype.getValue=function(){var p=r.getElementValue(this.value);this._updateCurrentValue(p);return p}})();
(function(){function a(r){a.SUPER.apply(this,arguments);this._lockObject={}}B.Define.clazz("qubit.opentag.pagevariable.Cookie",a,B.opentag.pagevariable.BaseVariable);a.prototype.getValue=function(){var r=B.Cookie.get(this.value);this._updateCurrentValue(r);return r}})();(function(){function a(p){a.SUPER.apply(this,arguments)}var r=B.opentag.Utils;B.Define.clazz("qubit.opentag.pagevariable.URLQuery",a,B.opentag.pagevariable.BaseVariable);a.prototype.getValue=function(){var p=r.getQueryParam(this.value);
this._updateCurrentValue(p);return p}})();(function(){function a(){}function r(u,v){var d=[];try{var b=u.parameters;if(b)for(var g=0;g<b.length;g++)if(u.getVariableForParameter(b[g])===v)d.push(b[g])}catch(m){}return d}var p=B.opentag.Utils;var w=B.opentag.TagsUtils;var k=B.opentag.Timed;var e=B.opentag.pagevariable.BaseVariable;var n=B.opentag.pagevariable.Expression;var f=B.opentag.pagevariable.UniversalVariable;var l=B.opentag.pagevariable.DOMText;var t=B.opentag.pagevariable.Cookie;var h=B.opentag.pagevariable.URLQuery;
B.Define.clazz("qubit.opentag.TagHelper",a);a.injectHTMLForLoader=function(u,v,d,b){var g=b!==undefined?b:u.getHtml();if(g){var m=u.config.locationPlaceHolder==="END";var A=w.getHTMLLocationForTag(u);u.injectHTMLNotFinished=true;try{if(A)w.injectHTML(A,m,g,function(){u.injectHTMLNotFinished=false;if(v)try{v()}catch(D){}}.bind(u));else if(d&&document.readyState==="loading"){document.write(g);u.injectHTMLNotFinished=false}else u.injectHTMLFailed=(new Date).valueOf()}catch(D){u.injectHTMLNotFinished=
false;u.injectHTMLFailed=(new Date).valueOf()}}};a.getAllVariablesWithParameters=function(u){var v=u.getPageVariables();var d=[];for(var b=0;b<v.length;b++){var g=v[b];var m=r(u,g);for(var A=0;A<m.length;A++)d.push({parameter:m[A],variable:g})}return d};var y={};a.allParameterVariablesReadyForTag=function(u,v){var d=v;var b=true;var g=u.getPageVariables();for(var m=0;m<g.length;m++){var A=g[m];try{var D=r(u,A);var G=A.exists();if(!G&&d){if(D.length>0)G=!!D[0].defaultValue;G=G||A.exists(true)}if(!G){b=
false;break}}catch(H){b=false;break}}return b};var x="2";var z="3";var C="4";var q="5";a.validateAndGetVariableForParameter=function(u){if(u.hasOwnProperty("variable")&&u.variable)u.variable=a.initPageVariable(u.variable);return u.variable};a.initPageVariable=function(u){if(!u||u instanceof e)return u;if(typeof u==="string"){var v=p.getObjectUsingPath(u);if(v&&v instanceof e)return v}switch(u.type){case x:return new n(u);case z:return new h(u);case C:return new t(u);case q:return new l(u);case "EPRESSION":return new n(u);
case "URL_PARAMETER":return new h(u);case "COOKIE_VALUE":return new t(u);case "DOM_VALUE":return new l(u);default:return new e(u)}}})();(function(){function a(w){this.calls={}}var r=B.Define;var p=B.opentag.Utils;a.prototype.on=function(w,k){if(!this.calls[w])this.calls[w]=[];return p.addToArrayIfNotExist(this.calls[w],k)};a.prototype.call=function(w,k){var e=this.calls[w];if(e)for(var n=0;n<e.length;n++)try{e[n](k)}catch(f){}};a.prototype.remove=function(w,k){if(this.calls[w])return p.removeFromArray(this.calls[w],
k);return null};a.prototype.removeAll=function(w){var k=0;for(var e in this.calls)if(this.calls.hasOwnProperty(e))k+=p.removeFromArray(this.calls[e],w);return k};a.prototype.clear=function(){this.calls={}};r.clazz("qubit.Events",a)})();(function(){function a(h){this.log=new f("",function(){return this.CLASS_NAME+"["+this.config.name+"]"}.bind(this),"collectLogs");this.urlsLoaded=0;this.urlsFailed=0;this.runCounter=0;this.events=new B.Events({});this._depLoadedHandler=function(){if(this.dependenciesLoaded()&&
this.awaitingDependencies)this._triggerLoadingAndExecution()}.bind(this);this.config={name:"Tag-"+n++,async:true,usesDocumentWrite:false,timeout:this.LOADING_TIMEOUT,dependencies:[],url:null,urlLocation:null,locationPlaceHolder:"END",locationObject:null,dontWaitForInjectionLocation:false,noMultipleLoad:false,loadDependenciesOnLoad:false};this.delayDocWrite=false;this.dependencies=[];this._lockObject={count:0};this._lockObjectDepsLoaded={};this.genericDependencies=[];if(h){if(!h.name){var y="Tag-"+
n++;this.config.name=y}this.addState("INITIAL");for(var x in h)this.config[x]=h[x];if(h.genericDependencies)this.genericDependencies=this.genericDependencies.concat(h.genericDependencies);if(h.dependencies)this.dependencies=h.dependencies.concat(this.dependencies);if(h.PACKAGE)this._package=h.PACKAGE;this.onInit()}}function r(){if(this.cancelled){this._handleCancel();return}this.waitForDependenciesFinished=(new Date).valueOf();var h=this._fullBodyNeededAndUnLoaded();var y=this._bodyNeededButNotAvailable();
if(h||y)this.waitForDependenciesFinished=false;else{if(!this.timeoutCountdownStart)this.timeoutCountdownStart=(new Date).valueOf();if(this.allDependenciesLoaded())this._markLoadedSuccesfuly();else if(this._loadingOutOfTimeFrames()){this.loadingTimedOut=(new Date).valueOf();if(this.allDependenciesLoaded(true))this._markLoadedSuccesfuly();else{this.addState("TIMED_OUT");this._markLoadingDependenciesFailed();this._triggerOnLoadTimeout()}}else this.waitForDependenciesFinished=false}if(!this.waitForDependenciesFinished)this._setTimeout(r.bind(this),
65);else this.addState("LOADED_DEPENDENCIES")}var p=B.opentag.Utils;var w=B.opentag.TagsUtils;var k=B.opentag.Timed;var e=B.opentag.TagHelper;var n=0;var f=B.opentag.Log;var l="after";var t="before";B.Define.clazz("qubit.opentag.GenericLoader",a);a.prototype.onInit=O;a.prototype.LOADING_TIMEOUT=5*1E3;a.prototype.getHtml=function(){if(this.config.html)return this.config.html;if(this.htmlContent)return p.trim(this.htmlContent);return null};a.prototype._executeScript=function(){var h=false;try{this.script();
h=true}catch(y){this.addState("EXECUTED_WITH_ERRORS");this.executedWithErrors=(new Date).valueOf();this._onError(y)}finally{this._onExecute(h)}};a.prototype.getTimeout=function(){return this._getTimeout()};a.prototype._getTimeout=function(h){var y=+this.config.timeout;var x=this.dependencies;if(y!==-1&&x.length>0){var z=0;h=h||[];var C=p.indexInArray(h,this)!==-1;if(!C){h[h.length]=this;for(var q=0;q<x.length;q++){var u=x[q]._getTimeout(h);if(u>z)z=u}if(z>0)y+=z}else return 0}return y};a.prototype._onExecute=
function(h){this.onExecute(h)};a.prototype.onExecute=O;a.prototype._flushDocWrites=function(h){var y=true;this._docWriteNotFlushed=false;try{var x=w.getHTMLLocationForTag(this);if(x&&this._securedWrites&&this._securedWrites.length>0){var z=this.config.locationPlaceHolder==="END";y=w.flushDocWritesArray(this._securedWrites,x,z,this.log,h);if(y)this._docWriteFlushed=(new Date).valueOf();else this._docWriteNotFlushed=(new Date).valueOf()}}catch(C){this._onError(C)}if(h)h();if(this._securedWrites&&this._securedWrites.length>
0){y=false;this._docWriteNotFlushed=(new Date).valueOf()}return y};a.prototype.log=O;a.prototype.finished=function(){return!!this.runIsFinished};a.prototype.script=function(){};a.prototype.before=function(){this.beforeRun=(new Date).valueOf();try{this.events.call(t,this)}catch(h){this._onError(h)}};a.prototype.onBefore=function(h){this.events.on(t,h)};a.prototype.after=function(h){this.afterRun=(new Date).valueOf();try{this.events.call(l,{success:h,tag:this})}catch(y){this._onError(y)}};a.prototype.onAfter=
function(h){this.events.on(l,h)};a.prototype.runOnce=function(){if(!this._runOnceTriggered&&!this.scriptExecuted){this._runOnceTriggered=(new Date).valueOf();this.run()}};a.CANCEL_ALL=false;a.prototype.run=function(){if(!isNaN(this.config.runningLimit))if(this.config.runningLimit<=this.runCounter)return false;if(this.cancelled||a.CANCEL_ALL){this._handleCancel();return false}if(this.isRunning)return false;if(this.lastRun)this.reset();this.lastRun=this.isRunning=(new Date).valueOf();this.runCounter++;
this._ignoreDeps=!!this.ignoreDependencies;if(!this._ignoreDeps&&!this.dependenciesLoaded()){this._attachDepsEventsToContinue();return false}return this._triggerLoadingAndExecution()};a.prototype._triggerLoadingAndExecution=function(){this.awaitingDependencies=-(new Date).valueOf();this.load();if(this._ignoreDeps)this.execute();else this.waitForDependenciesAndExecute();return true};a.prototype._attachDepsEventsToContinue=function(){this.awaitingDependencies=(new Date).valueOf();var h=this.dependencies;
for(var y=0;y<h.length;y++)try{h[y].events.on("success",this._depLoadedHandler)}catch(x){}};a.prototype.dependenciesLoaded=function(){var h=this.dependencies;for(var y=0;y<h.length;y++)if(h[y]!==this){var x=+h[y].scriptExecuted>0;if(!x)return false}return true};a.prototype._setTimeout=function(h,y){this._wasTimed=(new Date).valueOf();return k.setTimeout(h,y)};a.prototype._handleCancel=function(){this.addState("CANCELLED");try{this.onCancel()}catch(h){this._onError(h)}};a.prototype.waitForDependenciesAndExecute=
function(){if(this.cancelled){this._handleCancel();return}if(this.loadedDependencies)this.execute();else if(this.loadingDependenciesFailed){this._markFailure();this._markFinished()}else this._setTimeout(this.waitForDependenciesAndExecute.bind(this),30)};a.prototype.execute=function(){this._triggerExecution()};a.prototype._triggerExecution=function(){if(this.cancelled){this._handleCancel();return}if(this.scriptExecuted)return;var h=true;if(this.shouldWaitForDocWriteProtection())h=false;else{if(!this._beforeEntered){this._beforeEntered=
(new Date).valueOf();var y=false;try{y=this.before()}catch(z){this._onError(z)}if(y){this._markFailure();this._markFinished();return}}h=this.loadExecutionURLsAndHTML(this._triggerExecution.bind(this))}if(this.scriptExecuted)return;if(this.unexpectedFail)h=true;if(!h)this._setTimeout(this._triggerExecution.bind(this),30);else{this._flushDocWrites();if(this.scriptLoadingFailed||this.injectHTMLFailed||this.unexpectedFail)this._markFailure();else{this.scriptExecuted=(new Date).valueOf();this.addState("EXECUTED");
this._executeScript()}if(this.cancelled){this._handleCancel();return false}else{var x=this.scriptExecuted>0;try{if(!this.afterRun){this.afterRun=(new Date).valueOf();this.after(x)}}catch(z){this.executedWithErrors=(new Date).valueOf()}if(!this.executedWithErrors)if(x)this.events.call("success")}this._flushDocWrites();this._markFinished()}};a.prototype._markFailure=function(){this.scriptExecuted=-(new Date).valueOf();this.addState("FAILED_TO_EXECUTE")};a.prototype._markFinished=function(){this.runIsFinished=
(new Date).valueOf();this.isRunning=false;if(a.LOCK_DOC_WRITE===this){this._flushDocWrites();w.unlockDocumentWrites();a.LOCK_DOC_WRITE=false}this.onFinished(true)};a.prototype.onFinished=O;a.prototype.onCancel=O;a.prototype.onFinished=O;a.prototype.shouldWaitForDocWriteProtection=function(){if(this.willSecureDocumentWrite())if(!a.LOCK_DOC_WRITE){a.LOCK_DOC_WRITE=this;this._secureWriteAndCollectForExecution()}else if(a.LOCK_DOC_WRITE!==this){if(!this._lockedDocWriteInformed)this._lockedDocWriteInformed=
(new Date).valueOf();return true}return false};a.prototype.runWithoutDependencies=function(){this.ignoreDependencies=true;this.run()};a.prototype.loadExecutionURLsAndHTML=function(h){if(this.cancelled){this._handleCancel();return true}if(!this._loadExecutionURLsAndHTMLInformed)this._loadExecutionURLsAndHTMLInformed=true;this._triggerURLsLoading(h);if(!this.loadURLsNotFinished){this._flushDocWrites();this._triggerHTMLInjection();this._flushDocWrites();if(!this.injectHTMLNotFinished){this._flushDocWrites();
if(!this._docWriteNotFlushed){if(this._docWriteFlushed);return true}}}return false};a.prototype._triggerURLsLoading=function(h){if(!this._urlLoadTriggered&&this.config.url){this._urlLoadTriggered=true;this.loadURLs(false,h)}};a.prototype._triggerHTMLInjection=function(){if(!this._injectHTMLTriggered&&this.getHtml()){this._injectHTMLTriggered=true;this.injectHTML()}};a.prototype.STATE={INITIAL:0,STARTED:1,LOADING_DEPENDENCIES:2,LOADED_DEPENDENCIES:4,LOADING_URL:8,LOADED_URL:16,EXECUTED:32,EXECUTED_WITH_ERRORS:64,
FAILED_TO_LOAD_DEPENDENCIES:128,FAILED_TO_LOAD_URL:256,FAILED_TO_EXECUTE:512,TIMED_OUT:1024,UNEXPECTED_FAIL:2048,CANCELLED:2048*2};a.prototype.addState=function(h){if(this.STATE.hasOwnProperty(h)){this.state=this.state|this.STATE[h];try{this.onStateChange(h)}catch(y){this._onError(y)}}};a.prototype.onStateChange=O;a.prototype.cancel=function(){this.cancelled=(new Date).valueOf()};a.prototype.unCancel=function(){this.cancelled=undefined};a.prototype.state=a.prototype.STATE.INITIAL;a.prototype._markLoadedSuccesfuly=
function(){this.loadedDependencies=(new Date).valueOf();this.onAllDependenciesLoaded()};a.prototype._secureWriteAndCollectForExecution=function(){if(!this._securedWrites){this._securedWrites=[];w.redirectDocumentWritesToArray(this._securedWrites,this.log)}};a.prototype._markLoadingDependenciesFailed=function(){this.addState("FAILED_TO_LOAD_DEPENDENCIES");this.loadingDependenciesFailed=(new Date).valueOf()};a.prototype.allDependenciesLoaded=function(h,y){return this.getDependenciesToBeLoaded(h,y).length===
0};a.prototype.getDependenciesToBeLoaded=function(h,y){var x=y||[];if(!this.injectionLocationReady())x.push("injection location");var z;var C=this.dependencies;for(z=0;z<C.length;z++)if(C[z]!==this){var q=+C[z].scriptExecuted>0;if(!q){var u=C[z].config?C[z].config.name:"anonymous";x.push("dependant Tag with name -\x3e "+u)}}for(z=0;z<this.genericDependencies.length;z++){var v=this.genericDependencies[z](this);if(!v)x.push("this.genericDependencies["+z+"] (index: "+z+")")}if(x!=="");return x};a.prototype.docWriteAsksToWaitForBody=
function(){return!!(this.delayDocWrite&&this.config.usesDocumentWrite)};a.prototype._bodyNeededButNotAvailable=function(){if(this._dontWaitForInjections())return false;return this._isBodyLocationNeeded()&&!w.bodyAvailable()};a.prototype._isBodyLocationNeeded=function(){if(!this.isLoadingAsynchronously())return false;if(this._isBodyLocationSet())return true;else{var h=this.config.locationObject==="HEAD";return h&&this.config.locationPlaceHolder==="END"}};a.prototype._isBodyLocationSet=function(){var h=
this.config.locationObject;return!h||h==="BODY"};a.prototype._fullBodyNeededAndUnLoaded=function(){if(this._dontWaitForInjections())return false;var h=false;if(this._isBodyLocationNeeded())h=this.config.locationPlaceHolder==="END";h=h||(this.fullbodyNeeded||this.docWriteAsksToWaitForBody());return h&&!p.bodyReady()};a.prototype._dontWaitForInjections=function(){return this.config.dontWaitForInjectionLocation||this.dontWaitForInjectionLocation||a.dontWaitForInjectionLocation};a.prototype.injectionLocationReady=
function(){if(this._dontWaitForInjections())return true;if(this._fullBodyNeededAndUnLoaded())return false;if(!this.isLoadingAsynchronously())return true;return!!w.getHTMLLocationForTag(this)};a.prototype._loadingOutOfTimeFrames=function(){if(this.getTimeout()<0)return false;return(new Date).valueOf()-this.timeoutCountdownStart>this.getTimeout()};a.prototype.loadDependencies=function(){this._loadDependencies()};a.prototype.addClientDependenciesList=function(h,y){return this.addDependenciesList(h,B.Define.clientSpaceClasspath())};
a.prototype.addDependenciesList=function(h,y){if(!h||h.length===0)return;if(!this.failedDependenciesToParse)this.failedDependenciesToParse=[];var x=this.dependencies;for(var z=0;z<h.length;z++){var C=h[z];var q=false;if(C instanceof a)x.push(C);else if(typeof C==="string"){var u=C;if(y)C=y+"."+C;var v=p.getObjectUsingPath(C);if(v)if(v instanceof a)x.push(v);else q=true;else this.failedDependenciesToParse.push(u)}else q=true;if(q){this.badDepsObjects=this.badDepsObjects||[];p.addToArrayIfNotExist(this.badDepsObjects,
C)}}};a.prototype._loadDependencies=function(h){h=h||[];var y=this.dependencies;var x=p.indexInArray(h,this)!==-1;if(!x){h[h.length]=this;for(var z=0;z<y.length;z++)y[z].load(h)}};a.prototype.onError=O;a.prototype._onError=function(h){try{this.onError(h)}catch(y){}};a.prototype._triggerOnLoadTimeout=function(){this.onLoadTimeout()};a.prototype.onLoadTimeout=O;a.prototype.onScriptsLoadSuccess=O;a.prototype.onScriptLoadError=O;a.prototype.onAllDependenciesLoaded=O;a.prototype.onBeforeLoad=null;a.prototype.load=
function(){if(this.loadStarted)return;else{this.loadStarted=(new Date).valueOf();try{if(this.onBeforeLoad)this.onBeforeLoad()}catch(h){this._onError(h)}}this.addState("LOADING_DEPENDENCIES");try{if(!this._ignoreDeps&&this.config.loadDependenciesOnLoad)this.loadDependencies()}catch(h){throw h;}r.call(this)};a.prototype._singleUrlLoadHandler=function(h,y,x){++this.urlsLoaded;if(!h)++this.urlsFailed;if(this.urlsLoaded===y.length){this.loadURLsNotFinished=false;if(h&&this.urlsFailed===0){this.addState("LOADED_URL");
this.urlsLoaded=(new Date).valueOf();try{if(x)x(true)}catch(C){this._onError(C)}finally{this.onScriptsLoadSuccess()}}else{var z="error loading urls. Failed "+this.urlsFailed;this._onError(z);this.addState("FAILED_TO_LOAD_URL");this.urlsLoaded=-(new Date).valueOf();try{this.scriptLoadingFailed=true;if(x)x(false)}catch(C){this._onError(C)}finally{this.onScriptLoadError(z)}}}};a.prototype.loadURLs=function(h,y){var x=h||this.config.url;this.addState("LOADING_URL");try{if(x&&!(x instanceof Array))x=[x];
for(var z=0;z<x.length;z++){this.loadURLsNotFinished=true;var C=x[z];C=this.prepareURL(C);this.loadURL(C,function(q){this._singleUrlLoadHandler(q,x,y)}.bind(this))}}catch(q){this.loadURLsNotFinished=false;this.addState("UNEXPECTED_FAIL");this.unexpectedFail=(new Date).valueOf();this._onError(q)}};a.prototype.prepareLocationObject=function(h){return h};a.prototype.prepareURL=function(h){return h};a.prototype.prepareHTML=function(h){return h};a.prototype.loadURL=function(h,y,x){var z=h;this.addState("LOADING_URL");
w.loadScript({onsuccess:function(){try{if(y)y(true)}catch(C){}}.bind(this),onerror:function(){try{if(y)y(false)}catch(C){}}.bind(this),url:z,node:x||this.config.urlLocation,async:this.isLoadingAsynchronously(),noMultipleLoad:this.config.noMultipleLoad})};a.prototype.reset=function(){var h;this._injectHTMLTriggered=h;this._loadExecutionURLsAndHTMLInformed=h;this._lockedDocWriteInformed=h;this._runOnceTriggered=h;this._urlLoadTriggered=h;this.afterRun=h;this.beforeRun=h;this.filtersRunTriggered=h;this.injectHTMLFailed=
h;this.loadStarted=h;this.loadURLsNotFinished=h;this.loadedDependencies=h;this.loadingDependenciesFailed=h;this.loadingTimedOut=h;this.runIsFinished=h;this.scriptExecuted=h;this.scriptLoadingFailed=h;this.delayDocWrite=h;this._securedWrites=h;this.state=0;this.unexpectedFail=h;this.urlsFailed=0;this.urlsLoaded=0;this.waitForDependenciesFinished=h;this.isRunning=h;this._lastRun=h;this.cancelled=h;this._beforeEntered=h;this.awaitingDependencies=h;this.timeoutCountdownStart=h;this.addState("INITIAL")};
a.prototype.isLoadingAsynchronously=function(){if(this._wasTimed)return true;return!!(this.config.async||this.forceAsynchronous)};a.prototype.willSecureDocumentWrite=function(){return this.config.usesDocumentWrite&&this.isLoadingAsynchronously()};a.prototype.injectHTML=function(h){var y=!this.docWriteAsksToWaitForBody();var x=this.prepareHTML(this.getHtml());if(x)e.injectHTMLForLoader(this,h,y,x)};a.prototype.clone=function(){var h=new a(this.config);return h}})();(function(){function a(d){var b=
{filterTimeout:d&&d.filterTimeout||this.FILTER_WAIT_TIMEOUT,PACKAGE:d&&d.PACKAGE,dedupe:false,needsConsent:false,inactive:false,variables:null,runner:null,disabled:false,locked:false,reRunOnVariableChange:false};p.setIfUnset(d,b);a.SUPER.apply(this,arguments);this.namedVariables={};this.parameters=[];this.filters=[];this.session=null;this.pingSent=false;this.oldPingSent=false;this.dedupePingSent=false;this.oldDedupePingSent=false;this.reRunCounter=0;if(d){this.addState("INITIAL");try{a.register(this)}catch(g){}this.setupConfig(d);
this.uniqueRefString=null;if(d.init)try{d.init.call(this,d)}catch(g){}this.onTagInit();this.handleVariableChange=this._handleVariableChange.bind(this)}}function r(d,b){var g=d.namedVariables;var m=f.initPageVariable(g[b]);g[b]=m;return m}var p=B.opentag.Utils;var w=B.opentag.TagsUtils;var k=B.opentag.Timed;var e=B.opentag.filter.BaseFilter;var n=B.opentag.GenericLoader;var f=B.opentag.TagHelper;var l=B.opentag.pagevariable.BaseVariable;var t=B.Cookie;var h=B.Define;h.clazz("qubit.opentag.BaseTag",
a,n);a.prototype.setupConfig=function(d){if(!d)return;if(d.filters)this.addFilters(d.filters);if(d.parameters)this.addParameters(d.parameters);if(d.variables)for(var b in d.variables)if(d.variables.hasOwnProperty(b)){var g=this.getParameterByTokenName(b);if(g){var m=d.variables[b];g.variable=m;if(m.defaultValue!==undefined)g.defaultValue=m.defaultValue;if(m.uv!==undefined)g.uv=m.uv}}if(d.locked)this.lock()};a.prototype.valueForToken=function(d,b){var g=this.getParameterByTokenName(d);if(g){if(b===
undefined)if(this.loadingTimedOut)b=true;return this.getParameterValue(g,b)}var m=this.namedVariables;if(m&&m[d]){var A=r(this,d);if(A)return A.getRelativeValue(b)}return undefined};a.prototype.addParameters=function(d){this.parameters=this.parameters.concat(d)};a.prototype.LOADING_TIMEOUT=5*1E3;a.prototype.FILTER_WAIT_TIMEOUT=-1;a.prototype._isVariable=function(d){return d!==null&&d!==undefined};a.prototype.run=function(){if(this.destroyed)throw"Tag is destroyed.";this.resolveAllDynamicData();var d=
this.parameters;if(d)for(var b=0;b<d.length;b++){var g=this.getVariableForParameter(d[b]);if(!this._isVariable(g)){this._markLoadingDependenciesFailed();this._markFinished();return}}if(this.config.runner){var m=false;try{this.addState("AWAITING_CALLBACK");m=this._runner=(new Date).valueOf();this.config.runner.call(this)}catch(A){}return m}else{this._runner=false;return this.start()}};a.prototype.lock=function(){this.locked=true;this._unlock=null};a.prototype.unlock=function(){this.locked=false;if(this._unlock){this._unlock();
this._unlock=false}};a.prototype.start=function(){if(!this.locked)return a.SUPER.prototype.run.call(this);else{this._unlock=function(){return a.SUPER.prototype.run.call(this)}.bind(this);return false}};a.prototype.startOnce=function(){if(!this.locked)return a.SUPER.prototype.runOnce.call(this);else{this._unlock=function(){return a.SUPER.prototype.runOnce.call(this)}.bind(this);return false}};a.prototype.getFilters=function(){return this.filters};a.prototype.runOnceIfFiltersPass=function(){if(!this._runOnceIfFiltersPassTriggered&&
!this.scriptExecuted){this._runOnceIfFiltersPassTriggered=(new Date).valueOf();this.runIfFiltersPass()}};a.prototype.runIfFiltersPass=function(){if(this.destroyed)throw"Tag is destroyed.";this.resolveAllDynamicData();var d=this.filtersState(true);this.addState("FILTER_ACTIVE");if(!this.filtersRunTriggered)this.filtersRunTriggered=(new Date).valueOf();if(d===e.state.SESSION){this.addState("AWAITING_CALLBACK");this.awaitingCallback=(new Date).valueOf()}else if(d===e.state.PASS){this.filtersPassed=(new Date).valueOf();
try{this.onFiltersPassed()}catch(g){}this.run()}else if(d===e.state.FAIL){this._markFiltersFailed();this._markFinished()}else if(d>0){var b=this.config.filterTimeout;if(b<0||(new Date).valueOf()-this.filtersRunTriggered>b){if(!this._awaitingForFilterInformed){this._awaitingForFilterInformed=(new Date).valueOf();try{this.onFiltersDelayed()}catch(g){}}this._setTimeout(this.runIfFiltersPass.bind(this),d)}else{this._markFiltersFailed();this._markFinished();this.filtersRunTimedOut=(new Date).valueOf()}}try{this.onFiltersCheck(d)}catch(g){}return d};
a.prototype._markFiltersFailed=function(){this.addState("FILTERS_FAILED");this.filtersPassed=-(new Date).valueOf()};a.prototype.STATE={INITIAL:0,FILTER_ACTIVE:1,AWAITING_CALLBACK:2,FILTERS_FAILED:4,STARTED:8,LOADING_DEPENDENCIES:16,LOADED_DEPENDENCIES:32,LOADING_URL:64,LOADED_URL:128,EXECUTED:256,EXECUTED_WITH_ERRORS:512,FAILED_TO_LOAD_DEPENDENCIES:1024,FAILED_TO_LOAD_URL:2048,FAILED_TO_EXECUTE:4096,TIMED_OUT:4096*2,UNEXPECTED_FAIL:4096*2*2,CANCELLED:4096*2*2*2};a.prototype.addState=function(d){a.SUPER.prototype.addState.call(this,
d);try{a.onStateChange(this)}catch(A){}this.stateStack=[];var b=this.STATE;var g=this.state;var m=this.stateStack;if(g&b.INITIAL)m.push("Initial state.");if(g&b.FILTER_ACTIVE)m.push("Tag running with filters pass triggered.");if(g&b.FILTERS_FAILED)m.push("Filters failed to pass.");if(g&b.AWAITING_CALLBACK)m.push("Awaiting callback to run this tag. Not pooling.");if(g&b.STARTED)m.push("Tag is initialized and loading has been started.");if(g&b.LOADING_DEPENDENCIES)m.push("Dependencies are being loaded.");
if(g&b.LOADED_DEPENDENCIES)m.push("Dependencies loading process has been finished.");if(g&b.LOADING_URL)m.push("External URL is being loaded.");if(g&b.LOADED_URL)m.push("External URL has been loaded.");if(g&b.EXECUTED)m.push("Main script has been executed.");if(g&b.EXECUTED_WITH_ERRORS)m.push("Main script has been executed but errors occured.");if(g&b.FAILED_TO_LOAD_DEPENDENCIES)m.push("Dependencies has failed to load.");if(g&b.FAILED_TO_LOAD_URL)m.push("URL location failed to load.");if(g&b.FAILED_TO_EXECUTE)m.push("Script failed to execute.");
if(g&b.TIMED_OUT)m.push("Script timed out awaiting for dependencies.");if(g&b.UNEXPECTED_FAIL)m.push("Script occured UNEXPECTED exception and is failed.");if(g&b.CANCELLED)m.push("Tag has been cancelled.")};a.prototype.onTagInit=O;a.onStateChange=O;a.prototype.onFiltersDelayed=O;a.prototype.onFiltersPassed=O;a.prototype.onFiltersCheck=O;a.prototype.state=a.prototype.STATE.INITIAL;a.prototype.arePageVariablesLoaded=function(d){return f.allParameterVariablesReadyForTag(this,d)};a.prototype.getDependenciesToBeLoaded=
function(d,b){var g=b||[];if(!this.arePageVariablesLoaded(d))g.push("page variables");return a.SUPER.prototype.getDependenciesToBeLoaded.call(this,d,g)};a.prototype.resolveAllDynamicData=function(){this.resolvePageVariables();this.resolveDependencies();this.resolveFilters()};a.prototype.resolveDependencies=function(){var d=this.failedDependenciesToParse;if(d){this.failedDependenciesToParse=null;this.addDependenciesList(d,h.clientSpaceClasspath())}return this.dependencies};a.prototype.addClientVariablesMap=
function(d){this.unresolvedClientVariablesMap=this._addVariablesMap(d,h.clientSpaceClasspath());return this.unresolvedClientVariablesMap};a.prototype.resolvePageVariables=function(){var d=this.unresolvedClientVariablesMap;if(d){this.unresolvedClientVariablesMap=null;this.addClientVariablesMap(d)}d=this.unresolvedVariablesMap;if(d){this.unresolvedVariablesMap=null;this.addVariablesMap(d)}return this.getPageVariables()};a.prototype.addVariablesMap=function(d){this.unresolvedVariablesMap=this._addVariablesMap(d);
return this.unresolvedVariablesMap};a.prototype._addVariablesMap=function(d,b){if(!d)return;var g={};var m=this.namedVariables;for(var A in d)if(d.hasOwnProperty(A)){var D=d[A];if(D instanceof l)m[A]=D;else if(typeof D==="string"){var G=D;if(b)D=b+"."+D;var H=p.getObjectUsingPath(D);if(H)if(H instanceof l)m[A]=H;else m[A]=D;else g[A]=G}else;}return g};a.prototype.prepareURL=function(d){return this.replaceTokensWithValues(d)};a.prototype.prepareLocationObject=function(d){return this.replaceTokensWithValues(d)};
a.prototype.prepareHTML=function(d){if(d)d=this.replaceTokensWithValues(d);return d};a.prototype._executeScript=function(){if(this.config&&this.config.script)if(typeof this.config.script==="function")this.script=this.config.script;else{var d=this.replaceTokensWithValues(String(this.config.script));this.script=p.expressionToFunction(d).bind(this)}a.SUPER.prototype._executeScript.call(this)};a.prototype.replaceTokensWithValues=function(d){if(!d||d.indexOf("${")===-1)return d;var b=this.parameters;if(b)for(var g=
0;g<b.length;g++){var m=b[g];var A=this.getVariableForParameter(m);if(A){var D=b[g].token;var G=this.valueForToken(D);d=A.replaceToken(D,d,G)}}return d};a.prototype.getParameter=function(d){var b=this.parameters;var g=null;if(b)for(var m=0;m<b.length;m++)if(b[m].name===d)g=b[m];return g};a.prototype.setParameterValueByTokenName=function(d,b){var g=this.getParameterByTokenName(d);if(g!==null){g.variable={value:b};return true}return false};a.prototype.getParameterValue=function(d,b){var g=typeof d===
"string"?this.getParameter(d):d;if(g){var m=this.getVariableForParameter(g);if(m)try{var A;if(b&&g.defaultValue!=="")A=p.gevalAndReturn(g.defaultValue).result;A=m.getRelativeValue(b,A);return A}catch(D){return undefined}}return undefined};a.prototype.filtersState=function(d){var b=d;return w.filtersState(this.filters,this.session,this,b)};a.prototype.addFilter=function(d){p.addToArrayIfNotExist(this.filters,d)};a.prototype.addFilters=function(d){for(var b=0;b<d.length;b++)this.addFilter(d[b])};a.prototype.addClientFiltersList=
function(d){this.unresolvedClientFilterClasspaths=this.addFiltersList(d,h.clientSpaceClasspath());return this.unresolvedClientFilterClasspaths};a.prototype.resolveFilters=function(){var d=this.unresolvedClientFilterClasspaths;if(d){this.unresolvedClientFilterClasspaths=null;this.addClientFiltersList(d)}return this.filters};a.prototype.addFiltersList=function(d,b){var g=[];for(var m=0;m<d.length;m++)try{var A=d[m];var D=A;var G=null;if(typeof A==="string"){G=A;if(b)A=b+"."+A;A=p.getObjectUsingPath(A)}if(typeof A===
"function"){var H=A;A=new H}if(!A);if(!A instanceof e)A=null;if(A)this.addFilter(A);else if(G)p.addToArrayIfNotExist(g,G)}catch(I){this.failedFilters=this.failedFilters||[];this.failedFilters.push(d[m])}return g};a.prototype.reset=function(){a.SUPER.prototype.reset.call(this);var d;this.filtersPassed=d;this.dedupePingSent=false;this.oldDedupePingSent=false;this.pingSent=false;this.oldPingSent=false;this._runOnceIfFiltersPassTriggered=d;this.filtersRunTriggered=d;this._runner=d;this.reRunCounter=0;
this.detachVariablesChangedListeners()};a.prototype.resetFilters=function(){for(var d=0;d<this.filters.length;d++)this.filters[d].reset()};a.prototype.getParameterByTokenName=function(d){var b=null;if(this.parameters){var g=this.parameters;for(var m=0;m<g.length;m++)if(g[m].token===d)b=g[m]}return b};a.prototype.removeFilter=function(d){p.removeFromArray(this.filters,d)};var y=0;var x=[];var z={};var C={};a.register=function(d){var b=p.addToArrayIfNotExist(x,d);if(b===-1)d._tagIndex=x.length-1;else d._tagIndex=
b;if(d.config.id){var g="Q"+d.config.id;C[g]=d;d.uniqueId=g}else C[d.CLASSPATH]=d};a.getById=function(d){return C[String(d)]};a.prototype.getById=a.getById;a.prototype.unregister=function(d){a.unregister(d||this)};a.prototype.destroy=function(){this.destroyed=true;this.cancel();a.unregister(this)};a.unregister=function(d){var b=p.removeFromArray(x,d);d._tagIndex=-1};a.getTags=function(){return x};a.getAccessorsMap=function(){return z};a.prototype.getTags=function(){return x};a.prototype.getPageVariables=
function(){var d=this.parameters;var b=[];if(d)for(var g=0;g<d.length;g++){var m=this.getVariableForParameter(d[g]);if(this._isVariable(m))p.addToArrayIfNotExist(b,m)}if(this.namedVariables)for(var A in this.namedVariables)p.addToArrayIfNotExist(b,r(this,A));return b};a.prototype.getAccessorString=function(){if(!this._accessorsMapKey){this._accessorsMapKey="_"+y++;z[this._accessorsMapKey]=this}return"qubit.opentag.BaseTag.getAccessorsMap()."+this._accessorsMapKey};a.prototype.getVariableForParameter=
function(d){var b;var g=this.namedVariables;if(g&&g[d.token])b=r(this,d.token);if(!b)b=f.validateAndGetVariableForParameter(d);return b};a.prototype.printVariablesState=function(){var d=[];var b=f.getAllVariablesWithParameters(this);for(var g=0;g<b.length;g++){var m=b[g].parameter;var A=b[g].variable;var D;if(m&&m.token)D=this.valueForToken(m.token);else D=A.getRelativeValue(true);var G={name:A.config.name,exists:A.exists(),token:m?m.token:null,value:D,variable:A};d.push(G)}return d};a.prototype._triggerOnLoadTimeout=
function(){this.onLoadTimeout()};a.prototype.getId=function(){return this._getUniqueId()};a.prototype._getUniqueId=function(){if(this.config.id)return this.config.id;if(String(this.CLASSPATH).indexOf(h.STANDARD_CS_NS)===0)return this.CLASSPATH.substring(h.STANDARD_CS_NS.length+1);else return this.CLASSPATH+"#"+this.config.name};var q="qubit.tag.forceRunning_";var u="qubit.tag.disableRunning_";var v="qubit.tag.forceAllToRun";a.prototype.cookieSaysToRunEvenIfDisabled=function(){var d=this._getUniqueId();
var b=!!t.get(v);if(!b)b=!!t.get(q+d);return b};a.prototype.setCookieForcingTagToRun=function(){var d=this._getUniqueId();t.set(q+d,"true")};a.setCookieForcingTagsToRun=function(){t.set(v,"true")};a.prototype.setCookieToDisable=function(){var d=this._getUniqueId();t.set(u+d,"true")};a.prototype.rmCookieToDisable=function(){var d=this._getUniqueId();t.rm(u+d)};a.prototype.disabledByCookie=function(){var d=this._getUniqueId();return!!t.get(u+d)};a.rmCookieForcingTagsToRun=function(){t.rm(v)};a.prototype.rmCookieForcingTagToRun=
function(){var d=this._getUniqueId();t.rm(q+d)};a.rmAllDisablingCookies=function(){p.rmCookiesMatching(u)};a.rmAllCookiesForcingTagToRun=function(){p.rmCookiesMatching(q);a.rmCookieForcingTagsToRun()};a.prototype.onVariableChanged=function(d){this.attachVariablesChangedListeners(true);this.events.on("variableChanged",d)};a.prototype._handleVariableChange=function(d){this.events.call("variableChanged",d);if(!this.isRunning&&this.config.reRunOnVariableChange){if(!isNaN(this.config.reRunLimit))if(this.config.reRunLimit<=
this.reRunCounter)return;var b=this.reRunCounter+1;this.reset();this.reRunCounter=b;this.resetFilters();this.runIfFiltersPass()}};a.prototype.attachVariablesChangedListeners=function(d){var b=this.getPageVariables();var g=!!(this.config.reRunOnVariableChange||this.config.observeVariables||d);if(g)for(var m=0;m<b.length;m++){var A=b[m];A.onValueChanged(this.handleVariableChange,g)}};a.prototype.detachVariablesChangedListeners=function(){var d=this.getPageVariables();for(var b=0;b<d.length;b++){var g=
d[b];g.deatchOnValueChanged(this.handleVariableChange)}};a.prototype._markFinished=function(){a.SUPER.prototype._markFinished.call(this);this.attachVariablesChangedListeners()}})();(function(){var a=B.opentag.Utils;var r=B.opentag.filter.BaseFilter;var p=function(){};B.Define.clazz("qubit.opentag.Tags",p);p.getById=function(k){return B.opentag.BaseTag.getById(String(k))};p.getAllTagsByState=function(){return B.opentag.Container.getAllTagsByState(p.getTags())};p.findTagByName=function(k){var e=this.getTags();
var n=[];for(var f=0;f<e.length;f++)if(e[f].config.name===k)n.push(e[f]);return n};p.findTagByMatch=function(k){var e=this.getTags();var n=[];for(var f=0;f<e.length;f++)if(e[f].config.name.match(k))n.push(e[f]);return n};p.findTagContainers=function(k){var e=p.getContainers();var n=[];for(var f=0;f<e.length;f++){var l=e[f].tags;for(var t in l)if(l[t]===k){n.push(e[f]);break}}return n};p.getTags=function(){return B.opentag.BaseTag.getTags()};p.resetAllTags=function(k){var e=p.getTags();for(var n=0;n<
e.length;n++){e[n].reset();if(!k)e[n].resetFilters()}};p.getContainersPageVariables=function(){var k=p.getContainers();var e=[];for(var n=0;n<k.length;n++)e=e.concat(k.getPageVariables());return e};p.getAllPageVariables=function(){var k=p.getTags();var e=[];for(var n=0;n<k.length;n++)e=e.concat(k[n].getPageVariables());return e};p.cancelAll=function(){var k=p.getTags();for(var e=0;e<k.length;e++)k[e].cancel()};p.resetAll=function(k){var e=p.getTags();for(var n=0;n<e.length;n++){e[n].reset();if(!k)e[n].resetFilters()}};
p.getPageVariableByName=function(k){var e=p.getAllPageVariables();var n=[];for(var f=0;f<e.length;f++)if(e[f].config.name===k)n.push(e[f]);return n};p.getLoadTime=function(k){var e=k.beforeRun;var n=k.runIsFinished;if(isNaN(n))return{tag:k,loadTime:null};else return{tag:k,loadTime:n-e}};p.getLoadTimes=function(k){var e=[];if(k instanceof B.opentag.BaseTag){e.push([p.getLoadTime(k[l])]);return e}k=k||p.getTags();var n=k instanceof Array;if(n)for(var f=0;f<k.length;f++){if(k[f]instanceof B.opentag.BaseTag)e.push(p.getLoadTime(k[f]))}else for(var l in k)if(k[l]instanceof
B.opentag.BaseTag)e.push(p.getLoadTime(k[l]));return e};p.forceAllContainersAndTagsToRunIfDisabled=function(){B.opentag.Container.setCookieForDisabledContainersToRun();B.opentag.BaseTag.setCookieForcingTagsToRun()};p.rmAllContainersAndTagsForcingFlags=function(){B.opentag.Container.rmCookieForDisabledContainersToRun();B.opentag.BaseTag.rmAllCookiesForcingTagToRun()};p.getContainers=function(){return B.opentag.Container.getContainers()};p.findAllTagsByClassPath=function(k){var e=(new Date).valueOf();
var n=[];var f=[];try{f.push(B.opentag.CustomTag);f.push(B.opentag.LibraryTag)}catch(y){}var l=p.getTags();for(var t=0;t<l.length;t++){var h=l[t];if(a.indexInArray(f,h)<0&&h.PACKAGE_NAME.indexOf(k)===0)n.push(h)}return n};p.findAllTags=function(k,e){var n=B.opentag.BaseTag;var f;var l=[];var t=(new Date).valueOf();try{l.push(B.opentag.CustomTag);l.push(B.opentag.LibraryTag)}catch(h){}f=p.findAllInstances(k,n,l,e);return f};var w=function(k,e,n,f){var l=[];if(typeof k==="string")k=a.getObjectUsingPath(k);
if(k){var t={objectsOnly:true};if(f)t.maxDeep=true;var h=function(y,x,z,C){if(e(y)){for(var q=0;q<n.length;q++)if(n[q]===y)return true;a.addToArrayIfNotExist(l,y);return true}return false}.bind(this);a.traverse(k,h,t)}return l};p.findAllInstances=function(k,e,n,f){var l=function(t){return t instanceof e};return w(k,l,n,f)};p.findAllInheriting=function(k,e,n,f){var l=function(t){return t.prototype instanceof e};return w(k,l,n,f)};p.findAllFilters=function(k,e){var n=[];try{n.push(B.opentag.filter.Filter);
n.push(B.opentag.filter.URLFilter)}catch(f){}return p.findAllInheriting(k,r,n,e)}})();J.cookie={};J.cookie.PageView={};J.cookie.PageView.update=function(){var a;var r;r=function w(){return Math.floor(1+Math.random()*65536).toString(36).substring(1)};if(!window.__pageViewId__){a=(new Date).getTime().toString(36);window.__pageViewId__=a+r()+r()+r()}return window.__pageViewId__};J.html.PostData=function(a,r,p,w){var k;var e;var n;var f;var l;var t;var h;var y;var x;var z;z=2;x=5E3;h=false;y=function(){if(z>
0)setTimeout(function(){if(!h){z-=1;k()}},x)};e=navigator.userAgent.toLowerCase();n=e.indexOf("msie")!==-1;f=e.indexOf("msie 9")!==-1;l=e.indexOf("msie 7")!==-1||e.indexOf("msie 6")!==-1;t=("https:"===document.location.protocol?"https:":"http:")+a;p=p||"POST";k=function(){var C;try{C=null;try{C=new XMLHttpRequest}catch(q){}if(C&&!n)C.open(p,t,true);else if(typeof XDomainRequest!=="undefined"){C=new XDomainRequest;C.open(p,t)}else C=null;try{C.withCredentials=false}catch(q){}if(C.setRequestHeader)if(w)C.setRequestHeader("Content-Type",
w);else C.setRequestHeader("Content-Type","text/plain;charset\x3dUTF-8");C.onload=function(){h=true};C.onreadystatechange=function(){};C.ontimeout=function(){};C.onerror=function(){};C.onprogress=function(){};C.send(r)}catch(q){try{try{J.html.fileLoader.load(t)}catch(u){if(window.console&&window.console.log)window.console.log(q)}}catch(u){}}};if(l){J.html.fileLoader.load(t);return}else k()};(function(){function a(){}function r(w,k){var e={};e.clientId=""+k.clientId;e.containerId=""+w.getContainerId();
e.classpath=""+w.PACKAGE_NAME;e.opentagStats=true;if(w.sentPing)e.containerLoad=false;else{w.sentPing=(new Date).valueOf();e.containerLoad=true}e.isS3=false;e.pageViewId=J.cookie.PageView.update();e.tags=[];return e}var p="text/plain;charset\x3dUTF-8";B.Define.clazz("qubit.opentag.Ping",a);a.prototype.oldSend=function(w,k){var e=w.config;var n="c\x3d"+e.clientId+"\x26"+"p\x3d"+w.getContainerId()+"\x26"+"l\x3d"+e.tellLoadTimesProbability+"\x26"+"pv\x3d"+J.cookie.PageView.update()+"\x26"+"d\x3d";var f=
[];for(var l=0;l<k.length;l++){var t=k[l].tag;var h=k[l].loadTime;if(h===null||isNaN(h))continue;var y=a.getPingID(t);if(!t.oldPingSent&&y&&h!==null)if(y!==undefined){f.push('"'+y+'":'+h);t.oldPingSent=true}else;else if(t.oldPingSent);else if(h===null);}if(e.pingServerUrl&&f.length>0){n+=encodeURIComponent("{"+f.join(",")+"}");var x="//"+e.pingServerUrl+"/tag2?"+n;J.html.PostData(x,null,"GET")}else{if(!f.length);if(!e.pingServerUrl);}};a.prototype.sendErrors=function(w,k){};a.prototype.oldSendDedupe=
function(w,k){var e=w.config;var n="c\x3d"+e.clientId+"\x26"+"p\x3d"+w.getContainerId()+"\x26"+"l\x3d"+e.tellLoadTimesProbability+"\x26"+"pv\x3d"+J.cookie.PageView.update()+"\x26"+"dd\x3d";var f=[];for(var l=0;l<k.length;l++){var t=k[l];var h=a.getPingID(t);if(h===undefined);else if(!t.oldDedupePingSent){f.push(h);t.oldDedupePingSent=true}}if(f.length>0&&e.pingServerUrl){n+=encodeURIComponent("["+f.join(",")+"]");J.html.PostData("//"+e.pingServerUrl+"/tag2?"+n,null,"GET")}else{if(!f.length);if(!e.pingServerUrl);
}};a.getPingID=function(w){if(w.config.id)return w.config.id;var k=w.PACKAGE_NAME.lastIndexOf(".");if(k!==-1)return w.PACKAGE_NAME.substring(k+1);else return w.PACKAGE_NAME};a.prototype.send=function(w,k){var e=w.config.pingServerUrl;if(e&&e.indexOf("opentag-stats")!==-1)this.newSend(w,k);else this.oldSend(w,k)};a.prototype.newSend=function(w,k){var e=w.config;var n=r(w,e);var f=n.tags;var l=e.pingServerUrl;for(var t=0;t<k.length;t++){var h=k[t].tag;var y=k[t].loadTime;if(y===null||isNaN(y))continue;
var x={};var z=a.getPingID(h);if(!h.pingSent&&z&&y!==null)if(z!==undefined){x.tagId=z;x.loadTime=y;x.fired=true;f.push(x);h.pingSent=true}else;else if(h.pingSent);else if(y===null);}if(l&&(f.length>0||n.containerLoad)){var C=P.stringify(n);var q="//"+l;J.html.PostData(q,C,"POST",p)}else{if(!f.length);if(!l);}};a.prototype.sendDedupe=function(w,k){var e=w.config.pingServerUrl;if(e&&e.indexOf("opentag-stats")!==-1)this.newSendDedupe(w,k);else this.oldSendDedupe(w,k)};a.prototype.newSendDedupe=function(w,
k){var e=w.config;var n=r(w,e);var f=e.pingServerUrl;var l=n.tags;for(var t=0;t<k.length;t++){var h=k[t];var y=a.getPingID(h);var x={};if(y===undefined);else if(!h.dedupePingSent){x.tagId=""+y;x.fired=false;x.loadTime=0;l.push(x);h.dedupePingSent=true}}if(f&&(l.length>0||n.containerLoad)){var z=P.stringify(n);var C="//"+f;J.html.PostData(C,z,"POST",p)}else{if(!l.length);if(!f);}}})();J.cookie.SimpleSessionCounter={};J.cookie.SimpleSessionCounter._cookieName="_qst_s";J.cookie.SimpleSessionCounter._sessionCookie=
"_qsst_s";J.cookie.SimpleSessionCounter.update=function(a){var r;var p;var w;var k=30;r=B.Cookie.get(J.cookie.SimpleSessionCounter._cookieName);p=B.Cookie.get(J.cookie.SimpleSessionCounter._sessionCookie);if(!r)r=1;else{r=parseInt(r,10);if(!p||parseInt(p,10)<(new Date).getTime()-k*60*1E3)r+=1}B.Cookie.set(J.cookie.SimpleSessionCounter._cookieName,r,365,a);B.Cookie.set(J.cookie.SimpleSessionCounter._sessionCookie,(new Date).getTime().toString(),null,a);return r};var P={};(function(){function a(h){return h<
10?"0"+h:h}function r(h){e.lastIndex=0;return e.test(h)?'"'+h.replace(e,function(y){var x=l[y];return typeof x==="string"?x:"\\u"+("0000"+y.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+h+'"'}function p(h){return isFinite(h.valueOf())?h.getUTCFullYear()+"-"+a(h.getUTCMonth()+1)+"-"+a(h.getUTCDate())+"T"+a(h.getUTCHours())+":"+a(h.getUTCMinutes())+":"+a(h.getUTCSeconds())+"Z":null}function w(h,y){var x;var z;var C;var q;var u=n;var v;var d=y[h];if(d instanceof Date)d=p(d);else if(d instanceof String||
d instanceof Number||d instanceof Boolean)d=d.valueOf();if(typeof t==="function")d=t.call(y,h,d);switch(typeof d){case "string":return r(d);case "number":return isFinite(d)?String(d):"null";case "boolean":case "null":return String(d);case "object":if(!d)return"null";n+=f;v=[];if(Object.prototype.toString.apply(d)==="[object Array]"){q=d.length;for(x=0;x<q;x+=1)try{v[x]=w(x,d)||"null"}catch(b){v[x]='{"stack_exceeded": null}'}C=v.length===0?"[]":n?"[\n"+n+v.join(",\n"+n)+"\n"+u+"]":"["+v.join(",")+
"]";n=u;return C}if(t&&typeof t==="object"){q=t.length;for(x=0;x<q;x+=1)if(typeof t[x]==="string"){z=t[x];try{C=w(z,d)}catch(b){C='{"stack_exceeded": null}'}if(C)v.push(r(z)+(n?": ":":")+C)}}else for(z in d)if(Object.prototype.hasOwnProperty.call(d,z)){try{C=w(z,d)}catch(b){C='{"stack_exceeded": null}'}if(C)v.push(r(z)+(n?": ":":")+C)}C=v.length===0?"{}":n?"{\n"+n+v.join(",\n"+n)+"\n"+u+"}":"{"+v.join(",")+"}";n=u;return C}}var k=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;
var e=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;var n;var f;var l={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};var t;if(typeof P.stringify!=="function")P.stringify=function(h,y,x){var z;n="";f="";if(typeof x==="number")for(z=0;z<x;z+=1)f+=" ";else if(typeof x==="string")f=x;t=y;if(y&&typeof y!=="function"&&(typeof y!=="object"||typeof y.length!=="number"))throw new Error("JSON.stringify");
return w("",{"":h})};if(typeof P.parse!=="function")P.parse=function(h,y){function x(C,q){var u;var v;var d=C[q];if(d&&typeof d==="object")for(u in d)if(Object.prototype.hasOwnProperty.call(d,u)){v=x(d,u);if(v!==undefined)d[u]=v;else delete d[u]}return y.call(C,q,d)}var z;h=String(h);k.lastIndex=0;if(k.test(h))h=h.replace(k,function(C){return"\\u"+("0000"+C.charCodeAt(0).toString(16)).slice(-4)});if(/^[\],:{}\s]*$/.test(h.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,
"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){z=eval("("+h+")");return typeof y==="function"?x({"":z},""):z}throw new SyntaxError("JSON.parse");}})();(function(){function a(l){if(l)if(l.alphabet){this.alphabet=l.alphabet;this.dict={};for(var t=0;t<this.alphabet.length;t++)this.dict[this.alphabet[t]]=t}else{this.alphabet=p;this.dict=e}}function r(l,t){for(var h in t)if(l===t[h])return h;return null}var p=[];var w=Math.pow(2,8);for(var k=0;k<w;k++)p.push(String.fromCharCode(k));var e={};for(var n=0;n<p.length;n++)e[p[n]]=
n;var f=B.Define;f.clazz("qubit.compression.LZW",a);a.prototype.encode=function(l){var t=this.alphabet.length;var h={};var y=[];var x=0;var z=l.charAt(x++);var C;for(var q=this.dict;!!(C=l.charAt(x++));){var u=z+C;if(q.hasOwnProperty(u)||h.hasOwnProperty(u))z=u;else{var v=q.hasOwnProperty(z)?q[z]:h[z];if(v===undefined)throw"Dictionary base is to small for those contents: "+z;y.push(v);h[u]=t++;z=C}}if(z!=="")y.push(h.hasOwnProperty(z)?h[z]:q[z]);return y};a.prototype.decode=function(l){var t=this.dict;
var h=this.alphabet.length;var y;var x={};var z=r(l[0],t);var C=z;var q=[z];for(var u=1;u<l.length;u++){var v=l[u];y=r(v,t);if(y===null){if(x.hasOwnProperty(v))y=x[v];if(y===null)y=C+z}q.push(y);z=y.charAt(0);x[h++]=C+z;C=y}return q.join("")}})();(function(){function a(q){var u=0;var v=q<0;if(v)q=-q;var d="";var b=true;do{u=q%x;if(b){d=t[y[u]];b=false}else d=y[u]+d;q=(q-u)/x}while(q>0);if(v)return"-"+d;return d}function r(q){var u=0;var v=0;var d=true;for(var b=0;b<q.length;b++){var g=q.charAt(q.length-
1-b);if(d){d=false;g=w.charAt(f[g])}u+=e[g]*Math.pow(x,v++)}return u}function p(q){}var w="abcdefghijklmnopqrstuvwxyz"+"0123456789"+"'%./:\x3c\x3e?[";var k="ABCDEFGHIJKLMNOPQRSTUVWXYZ"+"*!-+()@{|}"+'"]^_`~$\x26#';var e={};for(var n=0;n<w.length;n++)e[w.charAt(n)]=n;var f={};for(var l=0;l<w.length;l++)f[k.charAt(l)]=l;var t={};for(var h=0;h<w.length;h++)t[w.charAt(h)]=k.charAt(h);var y=w.split("");var x=y.length;var z=new B.compression.LZW({});var C=B.Define;C.clazz("qubit.compression.Compressor",
p);p.prototype.compress=function(q,u){var v=(u||z).encode(q);var d=[];for(var b=0;b<v.length;b++)d.push(String.fromCharCode(v[b]));return d.join("")};p.prototype.compressAnsi=function(q,u){var v=(u||z).encode(q);var d=[];for(var b=0;b<v.length;b++){var g=a(v[b]);d.push(g)}return d.join("")};p.prototype.decompressAnsi=function(q,u){var v=[];var d="";for(var b=0;b<q.length;b++){var g=q.charAt(b);if(f.hasOwnProperty(g)){var m=d+g;d="";m=r(m);v.push(m)}else d+=g}return(u||z).decode(v)};p.prototype.decompress=
function(q,u){var v=[];for(var d=0;d<q.length;d++)v.push(q.charCodeAt(d));return(u||z).decode(v)}})();(function(){function a(v){var d=[];for(var b=0;b<v.length;b++){var g=e(v[b][0]);d.push([new RegExp(g,"g"),"*"+v[b][1]])}return d}function r(v,d){for(var b=0;b<d.length;b++)if(d[b][1]===v)return d[b][0];return null}function p(v){this._regexDefs=y;this._defs=h;if(v)if(v.definitions){this._regexDefs=a(v.definitions);this._defs=v.definitions}}function w(v,d){var b=[];for(var g=0;g<v.length;g++){var m=
true;if(d)m=v.charCodeAt(g)<=d;var A=t.cookieAlphabetMap.hasOwnProperty(v.charAt(g));if(m&&!A)b.push("*"+v.charCodeAt(g)+".");else b.push(v.charAt(g))}return b.join("")}function k(v,d){d=d.replace(/@/g,"@@");var b=[];var g=0;for(var m=0;g<v.length;g++){var A=v[g][0];var D=new RegExp(e(A),"g");var G=d.replace(D,"@"+m+"-");if(G!==d){b.push(v[g][0]);m++;d=G}}return[d,b]}function e(v){return v.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")}function n(v){var d={};var b="";for(var g=0;g<v.length;g++){var m=
v.charAt(g);if(!z[m]){if(isNaN(d[b]))d[b]=v.split(b).length-1;b=""}else b+=m}var A=[];for(var D in d)if(d.hasOwnProperty(D)){var G=d[D];if(G>=u&&D.length>=q)A.push([D,G])}A=A.sort(function(H,I){if(H[0].length===I[0].length)return 0;if(I[0].length>H[0].length)return 1;else return-1});return A}function f(v,d){if(!d||d.length===0||!v)return v;var b="";var g=false;var m=false;var A="";for(var D=0;D<v.length;D++){var G=v.charAt(D);if(G==="@"||g||m)if(g||m){g=false;if(G==="@")b+="@";else if(!isNaN(+("-"+
G))){m=true;A=A+G}else if(m){if(d&&G==="-"&&d[+A])b+=d[+A];else b+="@"+A+G;A="";m=false}else b+="@"+G}else g=true;else b+=G}if(A)b+="@"+A;if(g)b+="@";return b}var l=B.Define;var t=B.Cookie;var h=[['","referrer":[{"url":"http://',"1-"],['","referrer":[{"url":"https://',"2-"],[',"referrer":[{"url":"http://',"3-"],[',"referrer":[{"url":"https://',"4-"],[',"sessionStartTime":',"5-"],["www.google.co.uk","6-"],["www.google.","7-"],['"sessionStartTime":',"8-"],['"landing":"',"9-"],["http%3A%2F%2Fwww","10-"],
['"landing":',"L"],['"time":',"A"],['"pageViews":',"P"],['"sessionCount":',"B"],['"referrer":',"R"],['"url":"http://www.',"J"],['"url":"https://www.',"M"],['"url":"',"I"],['"url":',"U"],["http://www.","W"],["https://www.","V"],["%2Fen%2Ftsuk%2F","K"],['"sessionLandingPage":',"F"],["http%3A%2F%2F","D"],["http://","H"],["https://","X"],['""',"O"],['",',"Y"],['":{}}',"z"],["\x3c","S"],["\x3e","G"],["[","Z"],["]","E"],["{","a"],["}","b"],["(","c"],[")","d"],["!","e"],["#","f"],["$","g"],["!","q"],["'",
"i"],[":","j"],["?","k"],["^","x"],["`","m"],["|","n"],["~","o"],["%","v"],[",","C"]];var y=a(h);l.clazz("qubit.opentag.compression.Encoder",p);p.prototype.encode=function d(b,g){var m=b.replace(/\*/g,"**");var A=n(m);for(var D=0;D<this._regexDefs.length;D++){var G=this._regexDefs[D];m=m.replace(G[0],G[1])}m=m.replace(/;/g,"*-");m=m.replace(/&/g,"*.");m=m.replace(/\\/g,"*/");m=m.replace(/=/g,"*+");m=m.replace(/\n/g,"*N");m=m.replace(/ /g,"*_");m=m.replace(/\t/g,"*T");m=m.replace(/"/g,"*Q");var H=
n(m);H.concat(A);var I=k(H,m);var L=I[1];var M=L.length>0;if(M)m=I[0];if(!g)m=w(m);else m=w(m,g);if(M)return"Y"+L.join("*")+"@"+m;else return"N"+m};var x="abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ+_.";var z={};for(var C=0;C<x.length;C++)z[x.charAt(C)]=true;var q=4;var u=2;p.prototype.decode=function(d){var b=null;if(d.charAt(0)==="N")d=d.substring(1);else if(d.charAt(0)==="Y"){var g=d.indexOf("@");if(g>=0){b=d.substring(1,g);b=b.split("*");d=d.substring(g+1);d=f(d,b)}}var m="";
var A=false;var D=false;var G="";for(var H=0;H<d.length;H++){var I=d.charAt(H);if(I==="*"||A||D)if(A||D){A=false;if(!isNaN(+("-"+I))){G=G+I;D=true}else if(D){if(I===".")m+=String.fromCharCode(+G);else if(I==="-"&&r(G+"-",this._defs))m+=r(G+"-",this._defs);else m+="*"+G+I;G="";D=false}else if(I==="*")m+="*";else if(I==="-")m+=";";else if(I==="/")m+="\\";else if(I===".")m+="\x26";else if(I==="+")m+="\x3d";else if(I==="N")m+="\n";else if(I==="_")m+=" ";else if(I==="T")m+="\t";else if(I==="Q")m+='"';
else if(r(I,this._defs)!==null){var L=r(I,this._defs);m+=L}else m+="*"+I}else A=true;else m+=I}if(G)m+="*"+G;if(A)m+="*";return m}})();(function(){function a(k){this.testBinary=false;this.binSupported=w;if(k){this.compressor=new B.compression.Compressor;this.encoder=new B.opentag.compression.Encoder({})}}var r=B.Define;var p=B.Cookie;var w=false;r.clazz("qubit.opentag.compression.CookieCompressor",a);a.prototype.compress=function(k,e){if(typeof k!=="string"||k==="")return k;var n=this.encoder.encode(k);
var f;if(this.binSupported||this.testBinary){var l=this.compressor.compress(n);f='"B'+this.encoder.encode(l,128)+'"';p.set("__qtag_test_bin__",f,undefined,undefined,true);var t=p.get("__qtag_test_bin__",true);p.rm("__qtag_test_bin__");if(t&&t!==f)f=null}var h;var y=this.encoder.encode(this.compressor.compressAnsi(n));if(!e&&n.length<=y.length)h="E"+n;else h="C"+y;if(f&&f.length<h.length)return f;else return h};a.prototype.decompress=function(k){if(typeof k!=="string"||k==="")return k;if(k.charAt(0)===
'"')k=k.substring(1,k.length-1);var e=k.charAt(0);k=k.substring(1);switch(e){case "E":return this.encoder.decode(k);case "C":var n=this.compressor.decompressAnsi(this.encoder.decode(k));return this.encoder.decode(n);case "B":var f=this.compressor.decompress(this.encoder.decode(k));return this.encoder.decode(f);default:throw"This code is not supported! Code: "+e;}}})();(function(){var a=B.Cookie;var r=B.opentag.Utils;var p=function(){};B.Define.clazz("qubit.opentag.Session",p);var w=new B.opentag.compression.CookieCompressor({});
p.readCompressedCookie=function(k){var e=a.get(k,true);return w.decompress(e)};p.setupSession=function(k){var e=k.config;var n;var f;var l;var t;var h;var y;n={};n.sessionCount=J.cookie.SimpleSessionCounter.update(e.cookieDomain);h="qtag_"+k.getContainerId();var x="x_qtag_"+k.getContainerId();l=a.get(h);var z=!!l;if(l===null){l=a.get(x,true);l=w.decompress(l)}if(l)try{l=P.parse(l)}catch(q){l={sc:0,sessionCount:0,pageViews:0,sessionStartTime:0,referrer:[],sessionLandingPage:"",__v:{}}}else l={sc:0,
sessionCount:0,pageViews:0,sessionStartTime:0,referrer:[],sessionLandingPage:"",__v:{}};y=(new Date).getTime();if(n.sessionCount!==parseInt(l.sc,10)){l.sessionStartTime=y;l.sc=n.sessionCount;l.sessionCount+=1;l.referrer.push({url:p.getReferrer(),landing:r.getUrl().substring(0,300),time:y});l.sessionLandingPage=r.getUrl().substring(0,300)}else if(p.isReferrerDifferent())if(!p.referrerIsSameAsPrevious(l.referrer,y,30*60*1E3)){l.referrer.push({url:p.getReferrer(),landing:r.getUrl().substring(0,300),
time:y});l.sessionLandingPage=r.getUrl().substring(0,300);l.sessionStartTime=y;l.sessionCount+=1}n.sessionCount=l.sessionCount;n.sessionStartTime=l.sessionStartTime;n.pageStartTime=y;l.pageViews+=1;n.pageViews=l.pageViews;n.sessionLandingPage=l.sessionLandingPage;n.referrer=l.referrer;if(n.referrer.length>5)n.referrer.splice(2,n.referrer.length-5);t=P.stringify(l);for(f=0;w.compress(t).length>e.maxCookieLength&&f<5;){if(l.referrer.length>=3)l.referrer.splice(2,1);else if(l.referrer.length===2)l.referrer=
[l.referrer[0]];else if(l.referrer.length===1)l.referrer=[];t=P.stringify(l);f+=1}n.referrer=l.referrer;if(z)a.rm(h);var C=w.compress(t);a.rm(x);if(e.maxCookieLength>0)a.set(x,C,365,e.cookieDomain,true);n.setVariable=function(q,u,v){var d=!!v?v:0;l.__v[q]=[u,d];var b=w.compress(P.stringify(l));if(e.maxCookieLength>0)a.set(x,b,365,e.cookieDomain,true);else a.rm(x)};n.getCookie=function(q,u){var v=a.get(q,true);if(v&&(u||q.indexOf("x_")===0))try{v=w.decompress(v)}catch(d){}else if(v!==null)v=a.decode(v);
return v};n.getVariable=function(q){var u;var v;var d;u=l.__v[q];if(u){v=u[1];if(v===0||v>(new Date).getTime())return u[0]}return null};n.on=function(q,u,v){if(u.attachEvent)u.attachEvent("on"+q,v);else if(u.addEventListener)u.addEventListener(q,v,false)};n.getTagCookie=function(){return p.readCompressedCookie(x)};p.lastSession=n;return n};p.referrerIsSameAsPrevious=function(k,e,n){var f;var l;var t;if(k.length>0){f=p.getReferrer();l=r.getUrl().substring(0,300);t=k[k.length-1];return t.url===f&&t.landing===
l&&t.time+n>e}return false};p.isReferrerDifferent=function(){var k;var e;var n;n=p.getReferrer();k=n.indexOf("://");if(k===-1)return true;k+=3;try{if(n.substring(k).indexOf(p.getDomain())!==0)return true;return false}catch(f){return true}};p.getReferrer=function(){if(document.referrer)return document.referrer.substring(0,300);return"direct"};p.getDomain=function(){return document.location.host}})();(function(){function a(k){p.setIfUnset(k,a.defaultConfig);if(this.singleton){var e=this.PACKAGE_NAME+
"."+this.CLASS_NAME;var n=B.opentag.Utils.getObjectUsingPath(e,E);if(n.__instance)return n.__instance;n.__instance=this}a.SUPER.call(this,k)}function r(k,e){var n=k.toString();n=n.replace(/\s*function\s*\([\w\s,_\d\$]*\)\s*\{/,"");n=n.substring(0,n.lastIndexOf("}"));n=n.replace(/(["']\s*\+\s*)\s*_*\w+\s*\.\s*valueForToken\s*\(\s*'([^']*)'\s*\)/g,'$1"${$2}"');n=n.replace(/\s*_*\w+\s*\.\s*valueForToken\s*\(\s*'([^']*)'\s*\)(\s*\+\s*["'])/g,'"${$1}"$2');n=n.replace(/(["']\s*\+\s*)\s*_*\w+\s*\.\s*valueForToken\s*\(\s*"([^"]*)"\s*\)/g,
'$1"${$2}"');n=n.replace(/\s*_*\w+\s*\.\s*valueForToken\s*\(\s*"([^"]*)"\s*\)(\s*\+\s*["'])/g,'"${$1}"$2');n=n.replace(/(\s*)_*\w+\s*\.\s*valueForToken\s*\(\s*'([^']*)'(\s*)\)/g,"$1${$2}$3");n=n.replace(/(\s*)_*\w+\s*\.\s*valueForToken\s*\(\s*"([^"]*)"(\s*)\)/g,"$1${$2}$3");n=e.replaceTokensWithValues(n);p.geval(n)}var p=B.opentag.Utils;var w=B.Define;B.Define.clazz("qubit.opentag.LibraryTag",a,B.opentag.BaseTag);a.defaultConfig={vendor:null,imageUrl:null,description:"",async:false,isPrivate:false,
upgradeable:true,html:"",parameters:[],prePostWindowScope:false};a.prototype.pre=function(){};a.prototype.post=function(){};a.prototype.before=function(){a.SUPER.prototype.before.call(this);try{var k=this.config;if(k&&k.pre)if(typeof k.pre==="function")this.pre=k.pre;else{var e=this.replaceTokensWithValues(String(k.pre));this.pre=p.expressionToFunction(e).bind(this)}if(this.config.prePostWindowScope&&this.pre!==a.prototype.pre&&this.pre.toString)r(this.pre,this);else this.pre()}catch(n){return true}return false};
a.prototype.after=function(k){a.SUPER.prototype.after.call(this,k);try{var e=this.config;if(e&&e.post)if(typeof e.post==="function")this.post=e.post;else{var n=this.replaceTokensWithValues(String(e.post));this.post=p.expressionToFunction(n).bind(this)}if(this.config.prePostWindowScope&&this.post!==a.prototype.post&&this.post.toString)r(this.post,this);else this.post(k)}catch(f){}};a.define=function(k,e){k=k.replace(/^[\.]+/g,"").replace(/[\.]+$/g,"").replace(/\.+/g,".");k=B.Define.vendorsSpaceClasspath(k);
var n={};if(e.getDefaultConfig)n=e.getDefaultConfig();var f=e.CONSTRUCTOR;var l={};for(var t in e)if(t!=="config")l[t]=e[t];var h=function(z){z=z||{};z=p.overrideFromLeftToRight(n,z);var C=B.opentag.LibraryTag.call(this,z);if(f)f.call(this,z);if(C)return C};var y=B.opentag.Utils.defineWrappedClass(k,a,l,K,h);var x=w.STANDARD_VS_NS+".";if(k.indexOf(x)!==0)p.namespace(x+k,y);return y};a.getLibraryByClasspath=function(k){return p.getObjectUsingPath(k,B.Define.getVendorSpace())}})();(function(){function a(){}
var r=B.opentag.LibraryTag;var p=B.Define;a.library=function(){return r.define.apply(r,arguments)};a.libraryRef=function(){return r.getLibraryByClasspath.apply(r.getLibraryByClasspath,arguments)};p.namespace("qubit.Quick",a)})();(function(){function a(q){this.runQueue=[];this.tags={};this.config={cookieDomain:"",maxCookieLength:1E3,gzip:true,delayDocWrite:false,clientId:"",name:"",tellLoadTimesProbability:null,pingServerUrl:null,trackSession:null,disabled:false,containerId:"",scanTags:false,noPings:false};
this.ignoreTagsState=false;if(q){this.setConfig(q);if(!q.name)this.config.name="Cont-"+h++;a.register(this);if(a.NO_PINGS)this.config.noPings=true;this.ping=new B.opentag.Ping(this.config);this._sendPingsTrigger=this.sendPings.bind(this);if(q.init)try{q.init.call(this,q)}catch(v){}var u=this;this._tagLoadedHandler=function(v){if(u._containerAlreadySentPings){u.sendPingsNotTooOften();if(v.success);}}}return this}function r(q,u,v){if(q[v]){x[v]=x[v]||1;v+="("+x[v]+")";x[v]++}q[v]=u}var p=B.opentag.Utils;
var w=B.opentag.filter.BaseFilter;var k=B.opentag.filter.Filter;var e=B.opentag.BaseTag;var n=B.opentag.Timed;var f=B.opentag.Tags;var l=B.opentag.Session;var t=B.Cookie;var h=1;try{window.opentag_consentGiven=function(){a.consentIsGiven=true;var q=a.getContainers();for(var u=0;u<q.length;u++)try{q[u].run()}catch(v){}}.bind(this)}catch(q){}B.Define.clazz("qubit.opentag.Container",a);var y=[];a.register=function(q){p.addToArrayIfNotExist(y,q)};a.prototype.isTellingLoadTimes=function(){var q=this.config.tellLoadTimesProbability;
if(q===null)q=0;return q>Math.random()};a.prototype.destroy=function(q){this.destroyed=true;this.unregister();if(q)for(var u in this.tags){var v=this.tags[u];if(v instanceof e){v.destroy();this.tags[u]=null;delete this.tags[u]}}var d=this.PACKAGE_NAME.split(".");d=d[d.length-1];var b=p.getParentObject(this.PACKAGE_NAME);b[d]=null;delete b[d]};a.findContainersByName=function(q){var u=this.getContainers();var v=[];for(var d=0;d<u.length;d++)if(u[d].config.name===q)v.push(u[d]);return v};a.getById=function(q){var u=
this.getContainers();for(var v=0;v<u.length;v++)if(u[v].getContainerId()===q)return u[v];return null};a.prototype.unregister=function(q){a.unregister(this,q)};a.unregister=function(q,u){p.addToArrayIfNotExist(y,q);var v=p.removeFromArray(y,q);if(u)for(var d in this.tags){var b=this.tags[d];if(b instanceof e){b.unregister();this.tags[d]=null;delete this.tags[d]}}if(!v||v.length===0);};a.prototype.hasConsent=function(){return t.get("qubitconsent")==="Accepted"};a.prototype.register=function(q){a.register(q||
this)};a.getContainers=function(){return y};a.prototype.getContainers=function(){return a.getContainers()};a.prototype.onTagRegistered=function(q){};a.prototype.registerTag=function(q){var u=q.config.name;if(this.tags[u]);else{this.tags[u]=q;q.onAfter(this._tagLoadedHandler);try{this.onTagRegistered(q)}catch(v){}}};a.prototype.registerTags=function(q){for(var u=0;u<q.length;u++)this.registerTag(q[u])};a.prototype.setConfig=function(q){for(var u in q)this.config[u]=q[u]};a.prototype.run=function(){this.runTags({command:"runOnceIfFiltersPass"})};
a.prototype.runWithoutFilters=function(){this.runTags({command:"run"})};a.prototype.getTagByname=function(q){return this.tags[q]};a.prototype.containerScriptLoadedSynchronously=function(){var q;var u;var v;var d;var b;d=document.getElementsByTagName("script");for(q=0,u=d.length;q<u;q+=1){v=d[q];b=v.getAttribute("src");if(!!b&&b.indexOf(""+this.config.clientId+"-"+this.getContainerId()+".js")>0)return v.getAttribute("async")===null&&(v.getAttribute("defer")===false||v.getAttribute("defer")===""||v.getAttribute("defer")===
null)}return true};a.prototype.prepareSessionIfNeeded=function(){var q=this.config.trackSession;if(q!==true&&q!==false){var u=this.tags;for(var v in u)if(u.hasOwnProperty(v)){var d=u[v];d.resolveAllDynamicData();var b=d.getFilters();for(var g=0;g<b.length;g++){var m=b[g];if(m instanceof k&&m.isSession()){this.trackSession=true;break}}if(this.trackSession)break}}else this.trackSession=q;if(a.TRACK_SESSION)this.trackSession=true;if(this.trackSession)this.session=l.setupSession(this);if(this.session);
};a.prototype.runTags=function(q,u){if(this.destroyed)throw"Container has been destroyed.";if(!u)if(a.LOCKED||p.global().QUBIT_CONTAINERS_LOCKED)return;if(this.onBeforeRun)try{this.onBeforeRun()}catch(M){}var v=!this.containerScriptLoadedSynchronously();var d="runIfFiltersPass";if(q&&q.command)d=q.command;this.runningStarted=(new Date).valueOf();var b={};if(this.config.scanTags)if(!this._scanned){this.scanForTags();this._scanned=(new Date).valueOf()}this.prepareSessionIfNeeded();var g=this.getTagsInOrder();
for(var m=0;m<g.length;m++)try{var A=g[m];var D=A.config.name;if(this.includedToRun(A)){var G=A.resolveDependencies();if(G.length>0)for(var H=0;H<G.length;H++){var I=G[H];var L=I.config.name;if(!b[L]&&this.tags[L]){b[L]=I;this._tagRunner(I,d,v)}}if(!b[D]){b[D]=A;this._tagRunner(A,d,v)}}}catch(M){}n.setTimeout(function(){this.sendPingsNotTooOften()}.bind(this),3100);this.waitForAllTagsToFinish()};a.prototype.getTagsInOrder=function(){var q=[];for(var u in this.tags){var v=this.tags[u];var d=v.config.priority;
if(+d>0){var b=0;for(var g=0;g<q.length;g++){var m=q[g];if(m){var A=+m.config.priority;if(A>0&&A>d)b++;else break}}q.splice(b,0,v)}else q.push(v)}return q};a.prototype._tagRunner=function(q,u,v){try{if(this.includedToRun(q)){if(v)q.forceAsynchronous=true;if(this.config.delayDocWrite)q.delayDocWrite=true;q.session=q.session||this.session;q[u]()}}catch(d){}};a.prototype.getContainerId=function(){if(this.config.containerId)return this.config.containerId;else{if(this._pkgName)return this._pkgName;var q=
this.PACKAGE_NAME.split(".");q=q[q.length-1];this._pkgName=q;return q}};a.prototype.includedToRun=function(q){if(!q)return false;var u=q.config;if(u.inactive)return false;if(u.disabled)if(!q.cookieSaysToRunEvenIfDisabled())return false;if(q.disabledByCookie())return false;var v=a.consentIsGiven||!u.needsConsent||this.hasConsent();var d=q.state===e.prototype.STATE.INITIAL;return this.ignoreTagsState||v&&d};a.prototype.scanForTags=function(q,u){if(q)this.tags={};var v;if(u&&typeof u==="object")v=this.findAllTags(u);
else v=this.findAllTagsByClassPath();this.registerTags(v);return v};a.prototype.findAllTags=function(q,u){q=q||this.tagsPackageName||this.PACKAGE_NAME;return f.findAllTags(q,u)};a.prototype.findAllTagsByClassPath=function(q){q=q||this.PACKAGE_NAME;return f.findAllTagsByClassPath(q)};a.prototype.findAllFilters=function(q,u){q=q||this.tagsPackageName||this.PACKAGE_NAME;return f.findAllFilters(q,u)};a.prototype.waitForAllTagsToFinish=function(){if(this._waitForAllTagsToFinishWaiting)return;if(!this._lastWaited)this._lastWaited=
(new Date).valueOf();var q=(new Date).valueOf()-this._lastWaited>15*1E3;var u=this.allTagsFinished()||q;if(!this._showFinishedOnce&&u){this._lastWaited=null;if(q);this._showFinishedOnce=true;this.runningFinished=(new Date).valueOf();this._containerAlreadySentPings=(new Date).valueOf();this.sendPingsNotTooOften();if(this.onTagsInitiallyRun)this.onTagsInitiallyRun()}else if(!u){this._waitForAllTagsToFinishWaiting=true;this._showFinishedOnce=false;n.setTimeout(function(){this._waitForAllTagsToFinishWaiting=
false;this.waitForAllTagsToFinish()}.bind(this),100)}else;};a.prototype.onTagsInitiallyRun=O;a.prototype.resetAllTags=function(q){for(var u in this.tags)if(this.tags.hasOwnProperty(u)){var v=this.tags[u];v.reset();if(!q)v.resetFilters()}};a.prototype.reset=function(q){this.runningFinished=undefined;this._waitForAllTagsToFinishWaiting=undefined;this.runningStarted=undefined;this._showFinishedOnce=undefined;this.resetAllTags(q)};a.prototype.sendPingsNotTooOften=function(){this._sndLck=this._sndLck||
{};n.runIfNotScheduled(this._sendPingsTrigger,2E3,this._sndLck)};a.prototype.sendPings=function(){if(this.config.noPings)return;var q;if(this.isTellingLoadTimes()){var u=this.getAllTagsByState();var v=this;var d=[];if(u.run)d=f.getLoadTimes(u.run);this.lastPingsSentTime=(new Date).valueOf();this.ping.send(this,d);d=f.getLoadTimes();var b=[];for(q=0;q<d.length;q++){var g=d[q].tag;if(g.config.dedupe&&g.sendDedupePing)b.push(g)}if(b.length>0){this.lastDedupePingsSentTime=(new Date).valueOf();this.ping.sendDedupe(this,
b)}if(u.other){d=f.getLoadTimes(u.other);var m=[];for(q=0;q<d.length;q++)m.push(d[q]);if(m.length>0)this.ping.send(this,m)}if(u.awaiting){d=f.getLoadTimes(u.awaiting);var A=[];for(q=0;q<d.length;q++)A.push(d[q]);if(A.length>0)this.ping.send(this,A)}}};a.prototype.getAllTagsByState=function(){return a.getAllTagsByState(this.tags)};a.getAllTagsByState=function(q){var u=null;var v=null;var d=null;var b=null;var g=null;var m=null;var A=e.prototype.STATE.EXECUTED_WITH_ERRORS;for(var D in q){var G=q[D];
if(G instanceof e){var H=G.config.name;if(G.scriptExecuted>0){u=u||{};r(u,G,H)}else if(G.locked){m=m||{};r(m,G,H)}else if(G.scriptExecuted<0||G.state>=A){b=b||{};r(b,G,H)}else if(G.filtersState()===w.state.SESSION||G.filtersState()>0){d=d||{};r(d,G,H)}else if(G.config.needsConsent){g=g||{};r(g,G,H)}else{v=v||{};r(v,G,H)}}}return{run:u,failed:b,awaiting:d,consent:g,locked:m,other:v}};var x={};a.prototype.allTagsFinished=function(){for(var q in this.tags)if(this.tags.hasOwnProperty(q)){var u=this.tags[q];
if(u instanceof B.opentag.BaseTag){var v=u.filtersState();if(!u.config.disabled){var d=u.filtersState()<0&&!u.locked;var b=!(u.finished()||u.config.runner&&!u.isRunning);if(d&&b){var g=v!==w.state.SESSION;var m=+u.awaitingDependencies>0;if(g&&!m)return false}}}}return true};a.prototype.getPageVariables=function(){var q=[];for(var u in this.tags)if(this.tags.hasOwnProperty(u)){var v=this.tags[u].getPageVariables();for(var d=0;d<v.length;d++)p.addToArrayIfNotExist(q,v[d])}return q};a.getPageVariableByName=
function(q){var u=this.getAllPageVariables();var v=[];for(var d=0;d<u.length;d++)if(u[d].config.name===q)v.push(u[d]);return v};var z="qubit.opentag.disableContainerRunning_";var C="qubit.opentag.forceContainerRunning";a.prototype._getCookieNameForDisabling=function(){return z+this.getContainerId()+this.config.name};a.prototype.disabledByCookie=function(){return!!t.get(this._getCookieNameForDisabling())};a.prototype.setCookieToDisable=function(){t.set(this._getCookieNameForDisabling(),"true")};a.prototype.rmCookieToDisable=
function(){t.rm(this._getCookieNameForDisabling())};a.rmAllDisablingCookies=function(){p.rmCookiesMatching(z)};a.setCookieForDisabledContainersToRun=function(){t.set(C,"true")};a.rmCookieForDisabledContainersToRun=function(){t.rm(C)}})();(function(){function a(p){var w={url:null,html:"",locationPlaceHolder:"NOT_END",locationObject:"BODY",async:true};r.setIfUnset(p,w);a.SUPER.call(this,p)}var r=B.opentag.Utils;B.Define.clazz("qubit.opentag.CustomTag",a,B.opentag.LibraryTag)})();(function(){function a(f){return f.replace(/^\s+/,
"").replace(/\s+$/,"")}var r={callbacks:{},unfired_events:[],early_callbacks:null,currentUV:null};var p;var w="universal_variable";var k=0;var e=500;var n;r._isArray=function(f){return Object.prototype.toString.call(f)==="[object Array]"};r._targetChanged=function(f,l,t){var h;var y;var x;if(t===null)if(l==="null")return false;else return true;else if(t===undefined)if(l===t)return false;else return true;else{h=P.parse(l);y=r._getNested(h,f);x=r._getNested(t,f);return!r._jsonIsEqual(y,x)}};r._processCallbacks=
function(){var f;if(r.early_callbacks&&r.early_callbacks.length>0){for(f=0;f<r.early_callbacks.length;f+=1)r.push(r.early_callbacks[f]);r.early_callbacks=null}};r._keyStringToArr=function(f){f=a(f);if(f==="")return[];else{f=f.replace(/\[(\w+)\]/g,".$1");f=f.replace(/^\./,"");return f.split(".")}};r._getNested=function(f,l){var t=r._keyStringToArr(l);for(var h;t.length>0;){h=t.shift();if(f.hasOwnProperty(h))f=f[h];else return}return f};r._jsonIsEqual=function(f,l){if(typeof f!=="string")f=P.stringify(f,
r._stripEvents);if(typeof l!=="string")l=P.stringify(l,r._stripEvents);return f===l};r._stripEvents=function(f,l){if(f!=="events")return l;else return undefined};r._on=function(f,l){var t;var h;t=f.split(":");f=t[0];h=t[1];r.callbacks[f]=r.callbacks[f]||[];if(h)r.callbacks[f].push({keyString:h,func:l});else r.callbacks[f].push({func:l})};r._trigger=function(f,l){var t;var h;if(r.callbacks[f])for(t=0;t<r.callbacks[f].length;t+=1)if(typeof r.callbacks[f][t].func==="function"){h=r.callbacks[f][t].keyString;
if(h){if(f==="change"&&r._targetChanged(h,r.currentUV,p))r.callbacks[f][t].func(l)}else r.callbacks[f][t].func(l)}};r._eventsPush=function(f){var l;var t;p.events[p.events.length]=f;f.time=f.time||(new Date).getTime();if(r.callbacks.event){l=0;t=r.callbacks.event.length;for(l;l<t;l+=1)r.callbacks.event[l].func(f)}f.has_fired=true};r._getUnfiredEvents=function(){var f=0;for(f=0;f<p.events.length;f+=1)if(!p.events[f].has_fired){r.unfired_events.push(p.events.splice(f,1)[0]);f-=1}};r._fireEvents=function(){for(;r.unfired_events.length>
0;)p.events.push(r.unfired_events.shift())};r._resetEventsPush=function(){p.events=p.events||[];if(p.events.push.toString().indexOf("[native code]")!==-1){p.events.push=r._eventsPush;r._getUnfiredEvents();r._fireEvents()}};r._checkForChanges=function(){if(r.callbacks.change&&r.callbacks.change.length>0)if(!r._jsonIsEqual(r.currentUV,p)){r._trigger("change",p);r.currentUV=P.stringify(p,r._stripEvents)}};r._setUVLocation=function(f){w=f;r._initUV()};r._initUV=function(){window[w]=window[w]||{events:[]};
p=window[w];if(!p.events)p.events=[]};r.push=function(f){if(!r._isArray(f))return;if(f[0]==="on")r._on(f[1],f[2]);else if(f[0]==="trigger"&&f[1])r._trigger(f[1])};r.init=function(f,l){if(l)w=l;r._initUV();if(!window.uv_listener||r._isArray(window.uv_listener)){r.early_callbacks=window.uv_listener||null;window.uv_listener=r;if(!f)r.start()}else if(l)window.uv_listener._setUVLocation(w)};r.start=function(){r.currentUV=P.stringify(p,r._stripEvents);n=setInterval(function(){r._initUV();r._resetEventsPush();
r._checkForChanges()},e);r._processCallbacks()};J.html.UVListener=r})();(function(){function a(){}function r(){var l=false;if(n.get("opentag_debug")||document.location.href.indexOf("opentag_debug")>=0)l=true;return l}function p(){var l=false;if(n.get("opentag_debug_tool")||document.location.href.indexOf("opentag_debug_tool")>=0)l=true;return l}function w(){try{var l=K.TAGSDK_MAIN_DISABLED_FUNCTION;if(l&&l())return true}catch(t){}if(document.location.href.indexOf("opentag_disabled\x3dtrue")>=0)return true;
return false}function k(l,t,h){if(h&&(l[t]===undefined||l[t]===""||l[t]===null))l[t]=h}function e(l){var t=B.opentag.Utils.getParentObject(l.PACKAGE_NAME);var h=t.ClientConfig;if(h&&h.clientId)return h.clientId;else{var y=l.PACKAGE_NAME.split(".");return y[y.length-2].substring(1)}}var n=B.Cookie;var f=B.opentag.Utils;B.opentag.Log.setLevelFromCookie();a.run=function(){var l=false;if(w())return;var t=false;var h=p();var y=h||r();if(!t&&y){if(!B.DEBUG_MODE)K.TAGSDK_NS_OVERRIDE=true;else K.TAGSDK_NS_OVERRIDE=
false;l=true}if(B.DEBUG_MODE)K.TAGSDK_NS_OVERRIDE=false;try{J.html.UVListener.init()}catch(x){}a.runAllContainers(l)};a.runAllContainers=function(l){try{var t=B.opentag.Container.getContainers();for(var h=0;h<t.length;h++){var y=t[h];var x=y.config;if(!y.runningStarted&&!y.configuredInMain){x.scanTags=true;var z=f.getParentObject(y.PACKAGE_NAME).ClientConfig;if(z)k(y.config,"clientId",z.id);var C=f.getParentObject(y.PACKAGE_NAME).SystemDefaults;if(C){k(x,"pingServerUrl",C.pingServerUrl);k(x,"tellLoadTimesProbability",
C.tellLoadTimesProbability)}y.configuredInMain=true;if(l){y.destroy(true);a.loadDebugVersion(y)}else if(!K.QUBIT_OPENTAG_STOP_MAIN_EXECUTION)y.run();else(function(){var q=B.opentag.RUN_STOPPED_EXECUTON;B.opentag.RUN_STOPPED_EXECUTON=function(){try{if(q)q()}finally{y.run()}}})(y)}}}catch(q){}};a.loadDebugVersion=function(l){var t=document.createElement("script");var h;var y=l.config.scriptURL;var x=e(l);var z=l.getContainerId();if(y){h=y;var C="-debug.js".length;if(h.lastIndexOf("-debug.js")!==h.length-
C){h=h.substring(0,h.length-".js".length);h+="-debug.js"}}var q="//d3c3cq33003psk.cloudfront.net/opentag-"+x+"-"+z+"-debug.js";if(h&&q!==h)t.src=h;else t.src="//s3-eu-west-1.amazonaws.com/opentag/opentag-"+x+"-"+z+"-debug.js";document.getElementsByTagName("head")[0].appendChild(t)};B.Define.namespace("qubit.opentag.Main",a)})();(function r(){function p(){function w(v){q.level=v}function k(v,d){q.info(v,"event emitted");d=h(d||{});d.meta=d.meta||{};d.meta.type=v;z.push(d);f();u.listeners=x(u.listeners,
function(b){return!b.disposed})}function e(v,d,b){function g(){q.info("Replaying events");n(function(){t(u.events,function(G){if(A.disposed)return;if(!y(v,G.meta.type))return;d.call(b,G)})});return D}function m(){q.info("Disposing event handler");A.disposed=true;return D}q.info("Attaching event handler for",v);var A={type:v,callback:d,disposed:false,context:b||window};u.listeners.push(A);var D={replay:g,dispose:m};return D}function n(v){q.info("Calling event handlers");C++;try{v()}catch(d){q.error("UV API Error",
d.stack)}C--;f()}function f(){if(z.length===0)q.info("No more events to process");if(z.length>0&&C>0)q.info("Event will be processed later");if(z.length>0&&C===0){q.info("Processing event");var v=z.shift();u.events.push(v);n(function(){t(u.listeners,function(d){if(d.disposed)return;if(!y(d.type,v.meta.type))return;try{d.callback.call(d.context,v)}catch(b){q.error("Error emitting UV event",b.stack)}})})}}function l(v,d,b){var g=u.on(v,function(){d.apply(b||window,arguments);g.dispose()});return g}
function t(v,d){var b=v.length;for(var g=0;g<b;g++)d(v[g],g)}function h(v){var d={};for(var b in v)if(v.hasOwnProperty(b))d[b]=v[b];return d}function y(v,d){return typeof v==="string"?v===d:v.test(d)}function x(v,d){var b=v.length;var g=[];for(var m=0;m<b;m++)if(d(v[m]))g.push(v[m]);return g}var z=[];var C=0;var q={info:function d(){if(q.level>w.INFO)return;if(console&&console.info)console.info.apply(console,arguments)},error:function b(){if(q.level>w.ERROR)return;if(console&&console.error)console.error.apply(console,
arguments)}};w.ALL=0;w.INFO=1;w.ERROR=2;w.OFF=3;w(w.ERROR);var u={on:e,emit:k,once:l,events:[],listeners:[],logLevel:w};return u}if(typeof module==="object"&&module.exports)module.exports=p;else if(window&&window.uv===undefined)window.uv=p()})();var Z={};var X=[];var ea=false;var aa=false;var ha=B.Define.global();var ga={allEventsByType:Z,subscribe:function(r,p){if(aa){var w=F();w.on(r,p)}else X.push({on:[r,p]})},getEventHistory:function(r){return this.allEventsByType[r]},publish:function(r,p){if(aa){var w=
F();w.emit(r,p)}else X.push({emit:[r,p]})},connect:function(){c()}};ga.connect();B.Define.namespace("qubit.qprotocol.PubSub",ga);(function(){function r(e){r.SUPER.apply(this,arguments)}var p=B.qprotocol.PubSub;var w=B.opentag.Utils;var k=":";B.Define.clazz("qubit.opentag.pagevariable.QProtocolVariable",r,B.opentag.pagevariable.BaseVariable);r.prototype.init=function(){if(this.initialized)return false;else this.initialized=(new Date).valueOf();this.callHandlersOnRead=true;if(!this.handlerAttached){var e=
this;var n=this.getValueAndPath(this.value);this.eventName=n[0];this.objectPath=n[1];this.updateValue();p.subscribe(this.eventName,function(f){e.updateValue(f)});this.handlerAttached=(new Date).valueOf()}};r.prototype.getValueAndPath=function(e){var n=e;var f;if(n){var l=e.indexOf(k);if(l!==-1){n=e.substring(0,l);f=e.substring(l+1)}}return[n,f]};r.prototype.getValue=function(){this.init();return this.currentValue};r.prototype.getEventsHistory=function(){return p.getEventHistory(this.eventName)};r.prototype.updateValue=
function(e){if(!e){var n=this.getEventsHistory();if(n)e=n.current}var f;var l=this.objectPath;if(e&&l)f=w.getObjectUsingPath(l,e);else f=e;this._updateCurrentValue(f);return f};r.prototype.startObservingForChanges=function(){};r.prototype.stopObservingForChanges=function(){}})();(function(){function r(p){r.SUPER.apply(this,arguments)}B.Define.clazz("qubit.opentag.pagevariable.UniversalVariable",r,B.opentag.pagevariable.Expression)})()})()})();(function(){})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Light Reaction TTD AstonMartin_Produktseite_DB11_Retargeting_TTD"});var E="astonmartinmaincontainer.tags.lightreactionttdastonmartinproduktseitedb11retargetingttd.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent='\x3ciframe width\x3d"0" height\x3d"0" name\x3d"Trade Desk Tracking - AstonMartin_Produktseite_DB11_Retargeting" frameborder\x3d"0" scrolling\x3d"no" src\x3d"//insight.adsrvr.org/tags/c6l7zsg/ikty778/iframe"\x3e\x3c/iframe\x3e';
c.addClientFiltersList(["astonmartinmaincontainer.filters.URLDb11AstonmartinComDeDELPOnly"]);c.addClientVariablesMap({});c.addParameters([]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Light Reaction APN AstonMartin_Probefahrt_Demarkierung_Retargeting_AppNexus"});var E="astonmartinmaincontainer.tags.lightreactionapnastonmartinprobefahrtdemarkierungretargetingappnexus.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent='\x3c!-- Segment Pixel - AstonMartin_Probefahrt_Demarkierung_Retargeting_AppNexus - DO NOT MODIFY --\x3e\n\x3cscript src\x3d"https://secure.adnxs.com/seg?add\x3d8353857\x26t\x3d1" type\x3d"text/javascript"\x3e\x3c/script\x3e\n\x3c!-- End of Segment Pixel --\x3e';
c.addClientFiltersList(["astonmartinmaincontainer.filters.BUTTONDb11AstonmartinComDeDEStartseiteKontakt"]);c.addClientVariablesMap({});c.addParameters([]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Light Reaction Turbine AstonMartin_Produktseite_DB11_Turbine"});var E="astonmartinmaincontainer.tags.lightreactionturbineastonmartinproduktseitedb11turbine.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent='\x3cimg src\x3d"//de-gmtdmp.mookie1.com/t/v2/activity?tagid\x3dV2_223719\x26src.rand\x3d${random}" style\x3d"display:none;"/\x3e';c.addClientFiltersList(["astonmartinmaincontainer.filters.URLDb11AstonmartinComDeDELPOnly"]);
c.addClientVariablesMap({"random":"astonmartinmaincontainer.variables.RandomID"});c.addParameters([{"name":"random","token":"random"}]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"As24 - DC - Aston Martin - Probefahrt - Formular - Button Absenden - DB11","url":""});var E="astonmartinmaincontainer.tags.as24dcastonmartinprobefahrtformularbuttonabsendendb11.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent="\x3c!-- Activity name for this tag: Probefahrt Angefragt --\x3e\n\x3cscript type\x3d'text/javascript'\x3e\nvar axel \x3d Math.random()+\"\";\nvar a \x3d axel * 10000000000000;\ndocument.write('\x3cimg src\x3d\"https://pubads.g.doubleclick.net/activity;xsp\x3d39482;ord\x3d'+ a +'?\" width\x3d1 height\x3d1 border\x3d0/\x3e');\n\x3c/script\x3e\n\x3cnoscript\x3e\n\x3cimg src\x3d\"https://pubads.g.doubleclick.net/activity;xsp\x3d39482;ord\x3d1?\" width\x3d1 height\x3d1 border\x3d0/\x3e\n\x3c/noscript\x3e";
c.addClientFiltersList(["astonmartinmaincontainer.filters.URLAstonmartinComDeDeStartseiteKontaktVielenDankRefTestdrive"]);c.addClientVariablesMap({});c.addParameters([]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Sizmek_france_AstonMartin-DB11_Leasing-FR_Contact-Form_3/3_Sales","url":"bs.serving-sys.com/Serving/ActivityServer.bs?cn\x3das\x26ActivityID\x3d1033507\x26rnd\x3d${random}"});var E="astonmartinmaincontainer.tags.sizmekfranceastonmartindb11leasingfrcontactform33sales.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent="";c.addClientFiltersList(["astonmartinmaincontainer.filters.URLDb11AstonmartinComCampaignsThankYouFrenchRefFRANCELeasing"]);
c.addClientVariablesMap({"random":"astonmartinmaincontainer.variables.RandomID"});c.addParameters([{"name":"random","token":"random"}]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Sizmek - Aston Martin - Leasing - Formular - DB11","url":"bs.serving-sys.com/Serving/ActivityServer.bs?cn\x3das\x26ActivityID\x3d994991\x26rnd\x3d${random}"});var E="astonmartinmaincontainer.tags.sizmekastonmartinleasingformulardb11.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent="";c.addClientFiltersList(["astonmartinmaincontainer.filters.URLDb11AstonmartinComDeDEStartseiteLeasingDriveForm"]);c.addClientVariablesMap({"random":"astonmartinmaincontainer.variables.RandomID"});
c.addParameters([{"name":"random","token":"random"}]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Sizmek_france_AstonMartin-DB11_Leasing-FR_Contact-Form_1/3","url":"bs.serving-sys.com/Serving/ActivityServer.bs?cn\x3das\x26ActivityID\x3d1033503\x26rnd\x3d${random}"});var E="astonmartinmaincontainer.tags.sizmekfranceastonmartindb11leasingfrcontactform13.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent="";c.addClientFiltersList(["astonmartinmaincontainer.filters.URLDb11AstonmartinComCampaignsLeasingFRFRRefFrance",
"astonmartinmaincontainer.filters.ExcludeDriveForm"]);c.addClientVariablesMap({"random":"astonmartinmaincontainer.variables.RandomID"});c.addParameters([{"name":"random","token":"random"}]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Light Reaction TTD AstonMartin_Homepage_Leasing_Retargeting_TTD"});var E="astonmartinmaincontainer.tags.lightreactionttdastonmartinhomepageleasingretargetingttd.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent='\x3ciframe width\x3d"0" height\x3d"0" name\x3d"Trade Desk Tracking - AstonMartin_Homepage_Leasing_Retargeting" frameborder\x3d"0" scrolling\x3d"no" src\x3d"//insight.adsrvr.org/tags/c6l7zsg/c45bkik/iframe"\x3e\x3c/iframe\x3e';
c.addClientFiltersList(["astonmartinmaincontainer.filters.URLDb11AstonmartinComDeDEStartseiteLeasingDriveForm"]);c.addClientVariablesMap({});c.addParameters([]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Light Reaction APN AstonMartin_Homepage_Leasing_Retargeting_AppNexus"});var E="astonmartinmaincontainer.tags.lightreactionapnastonmartinhomepageleasingretargetingappnexus.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent='\x3c!-- Segment Pixel - AstonMartin_Homepage_Leasing_Retargeting_AppNexus - DO NOT MODIFY --\x3e\n\x3cscript src\x3d"https://secure.adnxs.com/seg?add\x3d8353854\x26t\x3d1" type\x3d"text/javascript"\x3e\x3c/script\x3e\n\x3c!-- End of Segment Pixel --\x3e';
c.addClientFiltersList(["astonmartinmaincontainer.filters.URLDb11AstonmartinComDeDEStartseiteLeasingDriveForm"]);c.addClientVariablesMap({});c.addParameters([]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Sizmek_france_AstonMartin_DB11_TestDrive-FR_Contact-Form_2/3","url":"bs.serving-sys.com/Serving/ActivityServer.bs?cn\x3das\x26ActivityID\x3d1033493\x26rnd\x3d${random}"});var E="astonmartinmaincontainer.tags.sizmekfranceastonmartindb11testdrivefrcontactform23.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent="";c.addClientFiltersList(["astonmartinmaincontainer.filters.URLDb11AstonmartinComCampaignsTestdriveFRFRRefFranceDriveForm"]);
c.addClientVariablesMap({"random":"astonmartinmaincontainer.variables.RandomID"});c.addParameters([{"name":"random","token":"random"}]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Light Reaction Turbine AstonMartin_Homepage_Probefahrt_Turbine"});var E="astonmartinmaincontainer.tags.lightreactionturbineastonmartinhomepageprobefahrtturbine.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent='\x3cimg src\x3d"//de-gmtdmp.mookie1.com/t/v2/activity?tagid\x3dV2_223712\x26src.rand\x3d${random}" style\x3d"display:none;"/\x3e';c.addClientFiltersList(["astonmartinmaincontainer.filters.BUTTONDb11AstonmartinComDeDEStartseiteLeasing"]);
c.addClientVariablesMap({"random":"astonmartinmaincontainer.variables.RandomID"});c.addParameters([{"name":"random","token":"random"}]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Sizmek - Aston Martin - Leasing - Formular - Button Absenden - DB11","url":"bs.serving-sys.com/Serving/ActivityServer.bs?cn\x3das\x26ActivityID\x3d994994\x26rnd\x3d${random}"});var E="astonmartinmaincontainer.tags.sizmekastonmartinleasingformularbuttonabsendendb11.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent="";c.addClientFiltersList(["astonmartinmaincontainer.filters.URLAstonmartinComDeDeStartseiteKontaktVielenDankRefLeasing"]);
c.addClientVariablesMap({"random":"astonmartinmaincontainer.variables.RandomID"});c.addParameters([{"name":"random","token":"random"}]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Sizmek_france_AstonMartin_DB11_TestDrive-FR_Contact-Form_1/3","url":"bs.serving-sys.com/Serving/ActivityServer.bs?cn\x3das\x26ActivityID\x3d1033492\x26rnd\x3d${random}"});var E="astonmartinmaincontainer.tags.sizmekfranceastonmartindb11testdrivefrcontactform13.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent="";c.addClientFiltersList(["astonmartinmaincontainer.filters.URLDb11AstonmartinComCampaignsTestdriveFRFRRefFrance",
"astonmartinmaincontainer.filters.ExcludeDriveForm"]);c.addClientVariablesMap({"random":"astonmartinmaincontainer.variables.RandomID"});c.addParameters([{"name":"random","token":"random"}]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Light Reaction Turbine AstonMartin_Homepage_Leasing_Turbine"});var E="astonmartinmaincontainer.tags.lightreactionturbineastonmartinhomepageleasingturbine.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent='\x3cimg src\x3d"//de-gmtdmp.mookie1.com/t/v2/activity?tagid\x3dV2_223705\x26src.rand\x3d${random}" style\x3d"display:none;"/\x3e';c.addClientFiltersList(["astonmartinmaincontainer.filters.URLDb11AstonmartinComDeDEStartseiteLeasingDriveForm"]);
c.addClientVariablesMap({"random":"astonmartinmaincontainer.variables.RandomID"});c.addParameters([{"name":"random","token":"random"}]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Plista - Aston Martin - Probefahrt Dankeseite"});var E="astonmartinmaincontainer.tags.plistaastonmartinprobefahrtdankeseite.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent='\x3cimg src\x3d"https://farm-de.plista.com/activity2;domainid:243753;event:24" style\x3d"width:1px;height:1px;" alt\x3d"" /\x3e';c.addClientFiltersList(["astonmartinmaincontainer.filters.BUTTONDb11AstonmartinComDeDEStartseiteKontakt"]);
c.addClientVariablesMap({});c.addParameters([]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Light Reaction TTD AstonMartin_Leasing_Demarkierung_Retargeting_TTD"});var E="astonmartinmaincontainer.tags.lightreactionttdastonmartinleasingdemarkierungretargetingttd.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent='\x3ciframe width\x3d"0" height\x3d"0" name\x3d"Trade Desk Tracking - AstonMartin_Leasing_Demarkierung_Retargeting" frameborder\x3d"0" scrolling\x3d"no" src\x3d"//insight.adsrvr.org/tags/c6l7zsg/ck0hl0v/iframe"\x3e\x3c/iframe\x3e';c.addClientFiltersList(["astonmartinmaincontainer.filters.ButtonID"]);
c.addClientVariablesMap({});c.addParameters([]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Light Reaction Sizmek AstonMartin_Lead_Leasing_Sizmek","url":"bs.serving-sys.com/Serving/ActivityServer.bs?cn\x3das\x26ActivityID\x3d1016798\x26rnd\x3d${random}"});var E="astonmartinmaincontainer.tags.lightreactionsizmekastonmartinleadleasingsizmek.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent="";c.addClientFiltersList(["astonmartinmaincontainer.filters.ButtonID"]);c.addClientVariablesMap({"random":"astonmartinmaincontainer.variables.RandomID"});
c.addParameters([{"name":"random","token":"random"}]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Sizmek - Aston Martin - Probefahrt - Formular - Button Absenden - DB11","url":"bs.serving-sys.com/Serving/ActivityServer.bs?cn\x3das\x26ActivityID\x3d994998\x26rnd\x3d${random}"});var E="astonmartinmaincontainer.tags.sizmekastonmartinprobefahrtformularbuttonabsendendb11.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent="";c.addClientFiltersList(["astonmartinmaincontainer.filters.URLAstonmartinComDeDeStartseiteKontaktVielenDankRefTestdrive"]);
c.addClientVariablesMap({"random":"astonmartinmaincontainer.variables.RandomID"});c.addParameters([{"name":"random","token":"random"}]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Sizmek - Aston Martin - Probefahrt - Startseite - DB11","url":"bs.serving-sys.com/Serving/ActivityServer.bs?cn\x3das\x26ActivityID\x3d994996\x26rnd\x3d${random}"});var E="astonmartinmaincontainer.tags.sizmekastonmartinprobefahrtstartseitedb11.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent="";c.addClientFiltersList(["astonmartinmaincontainer.filters.BUTTONDb11AstonmartinComDeDEStartseiteLeasing"]);c.addClientVariablesMap({"random":"astonmartinmaincontainer.variables.RandomID"});
c.addParameters([{"name":"random","token":"random"}]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Sizmek_france_AstonMartin-DB11_Leasing-FR_Contact-Form_2/3","url":"bs.serving-sys.com/Serving/ActivityServer.bs?cn\x3das\x26ActivityID\x3d1033506\x26rnd\x3d${random}"});var E="astonmartinmaincontainer.tags.sizmekfranceastonmartindb11leasingfrcontactform23.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent="";c.addClientFiltersList(["astonmartinmaincontainer.filters.URLDb11AstonmartinComCampaignsLeasingFRFRRefFranceDriveForm"]);
c.addClientVariablesMap({"random":"astonmartinmaincontainer.variables.RandomID"});c.addParameters([{"name":"random","token":"random"}]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Light Reaction APN AstonMartin_Produktseite_DB11_Retargeting_AppNexus"});var E="astonmartinmaincontainer.tags.lightreactionapnastonmartinproduktseitedb11retargetingappnexus.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent='\x3c!-- Segment Pixel - AstonMartin_Produktseite_DB11_Retargeting_AppNexus - DO NOT MODIFY --\x3e\n\x3cscript src\x3d"https://secure.adnxs.com/seg?add\x3d8353853\x26t\x3d1" type\x3d"text/javascript"\x3e\x3c/script\x3e\n\x3c!-- End of Segment Pixel --\x3e';
c.addClientFiltersList(["astonmartinmaincontainer.filters.URLDb11AstonmartinComDeDELPOnly"]);c.addClientVariablesMap({});c.addParameters([]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Light Reaction Sizmek AstonMartin_Lead_Probefahrt_Sizmek","url":"bs.serving-sys.com/Serving/ActivityServer.bs?cn\x3das\x26ActivityID\x3d1016797\x26rnd\x3d${random}"});var E="astonmartinmaincontainer.tags.lightreactionsizmekastonmartinleadprobefahrtsizmek.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent="";c.addClientFiltersList(["astonmartinmaincontainer.filters.BUTTONDb11AstonmartinComDeDEStartseiteKontakt"]);
c.addClientVariablesMap({"random":"astonmartinmaincontainer.variables.RandomID"});c.addParameters([{"name":"random","token":"random"}]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Light Reaction APN AstonMartin_Leasing_Demarkierung_Retargeting_AppNexus"});var E="astonmartinmaincontainer.tags.lightreactionapnastonmartinleasingdemarkierungretargetingappnexus.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent='\x3c!-- Segment Pixel - AstonMartin_Leasing_Demarkierung_Retargeting_AppNexus - DO NOT MODIFY --\x3e\n\x3cscript src\x3d"https://secure.adnxs.com/seg?add\x3d8353856\x26t\x3d1" type\x3d"text/javascript"\x3e\x3c/script\x3e\n\x3c!-- End of Segment Pixel --\x3e';
c.addClientFiltersList(["astonmartinmaincontainer.filters.ButtonID"]);c.addClientVariablesMap({});c.addParameters([]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Sizmek - Aston Martin - Leasing - Startseite - DB11","url":"bs.serving-sys.com/Serving/ActivityServer.bs?cn\x3das\x26ActivityID\x3d994989\x26rnd\x3d${random}"});var E="astonmartinmaincontainer.tags.sizmekastonmartinleasingstartseitedb11.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent="";c.addClientFiltersList(["astonmartinmaincontainer.filters.URLDb11AstonmartinComDeDEStartseiteLeasing"]);c.addClientVariablesMap({"random":"astonmartinmaincontainer.variables.RandomID"});
c.addParameters([{"name":"random","token":"random"}]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Sizmek_france_AstonMartin_DB11_TestDrive-FR_Contact-Form_3/3_Sales","url":"bs.serving-sys.com/Serving/ActivityServer.bs?cn\x3das\x26ActivityID\x3d1033494\x26rnd\x3d${random}"});var E="astonmartinmaincontainer.tags.sizmekfranceastonmartindb11testdrivefrcontactform33sales.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent="";c.addClientFiltersList(["astonmartinmaincontainer.filters.URLDb11AstonmartinComCampaignsThankYouFrenchRefFrance",
"astonmartinmaincontainer.filters.ExcludeURLLeasing"]);c.addClientVariablesMap({"random":"astonmartinmaincontainer.variables.RandomID"});c.addParameters([{"name":"random","token":"random"}]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Light Reaction TTD AstonMartin_Probefahrt_Demarkierung_Retargeting_TTD"});var E="astonmartinmaincontainer.tags.lightreactionttdastonmartinprobefahrtdemarkierungretargetingttd.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent='\x3ciframe width\x3d"0" height\x3d"0" name\x3d"Trade Desk Tracking - AstonMartin_Probefahrt_Demarkierung_Retargeting" frameborder\x3d"0" scrolling\x3d"no" src\x3d"//insight.adsrvr.org/tags/c6l7zsg/vxw99oe/iframe"\x3e\x3c/iframe\x3e';
c.addClientFiltersList(["astonmartinmaincontainer.filters.BUTTONDb11AstonmartinComDeDEStartseiteKontakt"]);c.addClientVariablesMap({});c.addParameters([]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Light Reaction TTD AstonMartin_Homepage_Probefahrt_Retargeting_TTD"});var E="astonmartinmaincontainer.tags.lightreactionttdastonmartinhomepageprobefahrtretargetingttd.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent='\x3ciframe width\x3d"0" height\x3d"0" name\x3d"Trade Desk Tracking - AstonMartin_Homepage_Probefahrt_Retargeting" frameborder\x3d"0" scrolling\x3d"no" src\x3d"//insight.adsrvr.org/tags/c6l7zsg/y52z1dt/iframe"\x3e\x3c/iframe\x3e';
c.addClientFiltersList(["astonmartinmaincontainer.filters.BUTTONDb11AstonmartinComDeDEStartseiteLeasing"]);c.addClientVariablesMap({});c.addParameters([]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();
(function(){var F=qubit.opentag.CustomTag;var c=new F({"usesDocumentWrite":true,"name":"Light Reaction APN AstonMartin_Homepage_Probefahrt_Retargeting_AppNexus"});var E="astonmartinmaincontainer.tags.lightreactionapnastonmartinhomepageprobefahrtretargetingappnexus.Tag";qubit.Define.clientNamespace(E,c);c.htmlContent='\x3c!-- Segment Pixel - AstonMartin_Homepage_Probefahrt_Retargeting_AppNexus - DO NOT MODIFY --\x3e\n\x3cscript src\x3d"https://secure.adnxs.com/seg?add\x3d8353855\x26t\x3d1" type\x3d"text/javascript"\x3e\x3c/script\x3e\n\x3c!-- End of Segment Pixel --\x3e';
c.addClientFiltersList(["astonmartinmaincontainer.filters.BUTTONDb11AstonmartinComDeDEStartseiteLeasing"]);c.addClientVariablesMap({});c.addParameters([]);c.genericDependencies=[];c.addClientDependenciesList([]);c.pre=function(){};c.script=function(){};c.post=function(){}})();(function(){var F=qubit.opentag.Container;var c=new F({"name":"Aston Martin Maincontainer"});var E="astonmartinmaincontainer.Container";qubit.Define.clientNamespace(E,c)})();
(function(){var F=qubit.opentag.pagevariable.Expression;var c=new F({"name":"Random_ID"});var E="astonmartinmaincontainer.variables.RandomID";qubit.Define.clientNamespace(E,c);c.value="(function() {\n  var ebRand \x3d Math.random()+'';\n  ebRand \x3d ebRand * 1000000;\n  return ebRand;\n})()"})();
(function(){var F=qubit.opentag.filter.Filter;var c=new F({"name":"URL astonmartin.com/de-de/startseite/kontakt/vielen-dank?ref\x3dleasing","pattern":"astonmartin.com/de-de/startseite/kontakt/vielen-dank?ref\x3dleasing"});var E="astonmartinmaincontainer.filters.URLAstonmartinComDeDeStartseiteKontaktVielenDankRefLeasing";qubit.Define.clientNamespace(E,c);c.customStarter=null;c.customScript=null;c.lexicalPattern=""})();
(function(){var F=qubit.opentag.filter.Filter;var c=new F({"name":"URL db11.astonmartin.com/campaigns/thank-you-french?ref\x3dFRANCE-leasing","pattern":"db11.astonmartin.com/campaigns/thank-you-french?ref\x3dFRANCE-leasing"});var E="astonmartinmaincontainer.filters.URLDb11AstonmartinComCampaignsThankYouFrenchRefFRANCELeasing";qubit.Define.clientNamespace(E,c);c.customStarter=null;c.customScript=null;c.lexicalPattern=""})();
(function(){var F=qubit.opentag.filter.Filter;var c=new F({"name":"URL db11.astonmartin.com/de-DE/startseite/leasing"});var E="astonmartinmaincontainer.filters.URLDb11AstonmartinComDeDEStartseiteLeasing";qubit.Define.clientNamespace(E,c);c.customStarter=null;c.customScript=function(K){return(new RegExp("db11.astonmartin.com/de-DE/startseite/leasing$")).test(document.location.href)||(new RegExp("db11.astonmartin.com/de-DE/startseite/leasing/$")).test(document.location.href)||document.location.href.indexOf&&
document.location.href.indexOf("db11.astonmartin.com/de-DE/startseite/leasing?")>=0||document.location.href.indexOf&&document.location.href.indexOf("db11.astonmartin.com/de-DE/startseite/leasing/?")>=0};c.lexicalPattern='{"rows":[{"operators":["or","or","or"],"starters":[],"variables":[{"type":"currentUrl","comparator":"7","value":"db11.astonmartin.com/de-DE/startseite/leasing"},{"type":"currentUrl","comparator":"7","value":"db11.astonmartin.com/de-DE/startseite/leasing/"},{"type":"currentUrl","comparator":"3","value":"db11.astonmartin.com/de-DE/startseite/leasing?"},{"type":"currentUrl","comparator":"3","value":"db11.astonmartin.com/de-DE/startseite/leasing/?"}]}],"operators":[]}'})();
(function(){var F=qubit.opentag.filter.Filter;var c=new F({"include":false,"name":"Exclude driveForm","pattern":"driveForm"});var E="astonmartinmaincontainer.filters.ExcludeDriveForm";qubit.Define.clientNamespace(E,c);c.customStarter=null;c.customScript=null;c.lexicalPattern=""})();
(function(){var F=qubit.opentag.filter.Filter;var c=new F({"include":false,"name":"Exclude URL leasing","pattern":"leasing"});var E="astonmartinmaincontainer.filters.ExcludeURLLeasing";qubit.Define.clientNamespace(E,c);c.customStarter=null;c.customScript=null;c.lexicalPattern=""})();
(function(){var F=qubit.opentag.filter.Filter;var c=new F({"include":true,"name":"BUTTON db11.astonmartin.com/de-DE/startseite/kontakt","priority":1});var E="astonmartinmaincontainer.filters.BUTTONDb11AstonmartinComDeDEStartseiteKontakt";qubit.Define.clientNamespace(E,c);c.customStarter=function(K,V){jQuery("#btnSubmit").click(function(){V()})};c.customScript=function(K){return document.location.href.indexOf&&document.location.href.indexOf("db11.astonmartin.com/de-DE/startseite/kontakt")>=0};c.lexicalPattern=
""})();
(function(){var F=qubit.opentag.filter.Filter;var c=new F({"name":"URL db11.astonmartin.com/de-DE/startseite/kontakt"});var E="astonmartinmaincontainer.filters.BUTTONDb11AstonmartinComDeDEStartseiteLeasing";qubit.Define.clientNamespace(E,c);c.customStarter=null;c.customScript=function(K){return(new RegExp("db11.astonmartin.com/de-DE/startseite/kontakt$")).test(document.location.href)||(new RegExp("db11.astonmartin.com/de-DE/startseite/kontakt/$")).test(document.location.href)||document.location.href.indexOf&&document.location.href.indexOf("db11.astonmartin.com/de-DE/startseite/kontakt?")>=
0||document.location.href.indexOf&&document.location.href.indexOf("db11.astonmartin.com/de-DE/startseite/kontakt/?")>=0};c.lexicalPattern='{"rows":[{"operators":["or","or","or"],"starters":[],"variables":[{"type":"currentUrl","comparator":"7","value":"db11.astonmartin.com/de-DE/startseite/kontakt"},{"type":"currentUrl","comparator":"7","value":"db11.astonmartin.com/de-DE/startseite/kontakt/"},{"type":"currentUrl","comparator":"3","value":"db11.astonmartin.com/de-DE/startseite/kontakt?"},{"type":"currentUrl","comparator":"3","value":"db11.astonmartin.com/de-DE/startseite/kontakt/?"}]}],"operators":[]}'})();
(function(){var F=qubit.opentag.filter.Filter;var c=new F({"name":"URL astonmartin.com/de-de/startseite/kontakt/vielen-dank?ref\x3dtestdrive","pattern":""});var E="astonmartinmaincontainer.filters.URLAstonmartinComDeDeStartseiteKontaktVielenDankRefTestdrive";qubit.Define.clientNamespace(E,c);c.customStarter=null;c.customScript=function(K){return(new RegExp("astonmartin.com/de-de/startseite/kontakt/vielen-dank$")).test(document.location.href)||(new RegExp("astonmartin.com/de-de/startseite/kontakt/vielen-dank/$")).test(document.location.href)};
c.lexicalPattern='{"rows":[{"operators":["or"],"starters":[],"variables":[{"type":"currentUrl","comparator":"7","value":"astonmartin.com/de-de/startseite/kontakt/vielen-dank"},{"type":"currentUrl","comparator":"7","value":"astonmartin.com/de-de/startseite/kontakt/vielen-dank/"}]}],"operators":[]}'})();
(function(){var F=qubit.opentag.filter.Filter;var c=new F({"name":"URL db11.astonmartin.com/de-DE LP Only"});var E="astonmartinmaincontainer.filters.URLDb11AstonmartinComDeDELPOnly";qubit.Define.clientNamespace(E,c);c.customStarter=null;c.customScript=function(K){return(new RegExp("db11.astonmartin.com/de-DE$")).test(document.location.href)||(new RegExp("db11.astonmartin.com/de-DE/$")).test(document.location.href)||document.location.href.indexOf&&document.location.href.indexOf("db11.astonmartin.com/de-DE?")>=
0||document.location.href.indexOf&&document.location.href.indexOf("db11.astonmartin.com/de-DE/?")>=0};c.lexicalPattern='{"rows":[{"operators":["or","or","or"],"starters":[],"variables":[{"type":"currentUrl","comparator":"7","value":"db11.astonmartin.com/de-DE"},{"type":"currentUrl","comparator":"7","value":"db11.astonmartin.com/de-DE/"},{"type":"currentUrl","comparator":"3","value":"db11.astonmartin.com/de-DE?"},{"type":"currentUrl","comparator":"3","value":"db11.astonmartin.com/de-DE/?"}]}],"operators":[]}'})();
(function(){var F=qubit.opentag.filter.Filter;var c=new F({"name":"URL db11.astonmartin.com/campaigns/leasing-FR-FR?ref\x3dFrance","pattern":"db11.astonmartin.com/campaigns/leasing-FR-FR?ref\x3dFrance","patternType":"CONTAINS"});var E="astonmartinmaincontainer.filters.URLDb11AstonmartinComCampaignsLeasingFRFRRefFrance";qubit.Define.clientNamespace(E,c);c.customStarter=null;c.customScript=function(K){return true};c.lexicalPattern='{"rows":[],"operators":[]}'})();
(function(){var F=qubit.opentag.filter.Filter;var c=new F({"include":true,"name":"BUTTON db11.astonmartin.com/de-DE/startseite/leasing","priority":1});var E="astonmartinmaincontainer.filters.ButtonID";qubit.Define.clientNamespace(E,c);c.customStarter=function(K,V){jQuery("#btnSubmit").click(function(){V()})};c.customScript=function(K){return document.location.href.indexOf&&document.location.href.indexOf("db11.astonmartin.com/de-DE/startseite/leasing")>=0};c.lexicalPattern=""})();
(function(){var F=qubit.opentag.filter.Filter;var c=new F({"name":"URL db11.astonmartin.com/campaigns/testdrive-FR-FR?ref\x3dFrance ","pattern":"db11.astonmartin.com/campaigns/testdrive-FR-FR?ref\x3dFrance","patternType":"CONTAINS"});var E="astonmartinmaincontainer.filters.URLDb11AstonmartinComCampaignsTestdriveFRFRRefFrance";qubit.Define.clientNamespace(E,c);c.customStarter=null;c.customScript=function(K){return true};c.lexicalPattern='{"rows":[],"operators":[]}'})();
(function(){var F=qubit.opentag.filter.Filter;var c=new F({"name":"URL db11.astonmartin.com/campaigns/thank-you-french?ref\x3dFrance","pattern":"db11.astonmartin.com/campaigns/thank-you-french?ref\x3dFrance"});var E="astonmartinmaincontainer.filters.URLDb11AstonmartinComCampaignsThankYouFrenchRefFrance";qubit.Define.clientNamespace(E,c);c.customStarter=null;c.customScript=null;c.lexicalPattern=""})();
(function(){var F=qubit.opentag.filter.Filter;var c=new F({"name":"URL db11.astonmartin.com/campaigns/leasing-FR-FR?ref\x3dFrance#driveForm","pattern":"db11.astonmartin.com/campaigns/leasing-FR-FR?ref\x3dFrance#driveForm"});var E="astonmartinmaincontainer.filters.URLDb11AstonmartinComCampaignsLeasingFRFRRefFranceDriveForm";qubit.Define.clientNamespace(E,c);c.customStarter=null;c.customScript=null;c.lexicalPattern=""})();
(function(){var F=qubit.opentag.filter.Filter;var c=new F({"name":"URL db11.astonmartin.com/de-DE/startseite/leasing#driveForm","pattern":""});var E="astonmartinmaincontainer.filters.URLDb11AstonmartinComDeDEStartseiteLeasingDriveForm";qubit.Define.clientNamespace(E,c);c.customStarter=function(K,V){var B=window.setInterval(function(){if(!jQuery)return;var Y=document.location.hash;if(Y.indexOf("driveForm")>-1){V();window.clearInterval(B)}},1E3)};c.customScript=function(K){return true};c.lexicalPattern=
""})();(function(){var F=qubit.opentag.filter.Filter;var c=new F({"name":"URL db11.astonmartin.com/campaigns/testdrive-FR-FR?ref\x3dFrance#driveForm","pattern":"db11.astonmartin.com/campaigns/testdrive-FR-FR?ref\x3dFrance#driveForm"});var E="astonmartinmaincontainer.filters.URLDb11AstonmartinComCampaignsTestdriveFRFRRefFranceDriveForm";qubit.Define.clientNamespace(E,c);c.customStarter=null;c.customScript=null;c.lexicalPattern=""})();
(function(){try{qubit.opentag.Main.run()}catch(F){try{console.error("Errors during opentag main runtime.",F)}catch(c){}}})();