(function(){'use strict';var n;function aa(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}function ba(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];if(b)return b.call(a);if("number"==typeof a.length)return{next:aa(a)};throw Error(String(a)+" is not an iterable or ArrayLike");}function u(a){if(!(a instanceof Array)){a=ba(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a}
var ca="function"==typeof Object.create?Object.create:function(a){function b(){}b.prototype=a;return new b};function da(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;b<a.length;++b){var c=a[b];if(c&&c.Math==Math)return c}throw Error("Cannot find global object");}var ea=da(this),fa;
if("function"==typeof Object.setPrototypeOf)fa=Object.setPrototypeOf;else{var ha;a:{var ia={a:!0},ja={};try{ja.__proto__=ia;ha=ja.a;break a}catch(a){}ha=!1}fa=ha?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}var ka=fa;
function la(a,b){a.prototype=ca(b.prototype);a.prototype.constructor=a;if(ka)ka(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.Lb=b.prototype}function w(){for(var a=Number(this),b=[],c=a;c<arguments.length;c++)b[c-a]=arguments[c];return b};var ma={Jb:"app",Kb:"web"};function qa(a,b,c,d){this.m=a;this.method=b;this.version=c;this.g=d}function ra(a){return!!a&&void 0!==a.omid_message_guid&&void 0!==a.omid_message_method&&void 0!==a.omid_message_version&&"string"===typeof a.omid_message_guid&&"string"===typeof a.omid_message_method&&"string"===typeof a.omid_message_version&&(void 0===a.omid_message_args||void 0!==a.omid_message_args)}function sa(a){return new qa(a.omid_message_guid,a.omid_message_method,a.omid_message_version,a.omid_message_args)}
function ta(a){var b={};b=(b.omid_message_guid=a.m,b.omid_message_method=a.method,b.omid_message_version=a.version,b);void 0!==a.g&&(b.omid_message_args=a.g);return b};function ua(a){this.m=a};function va(){var a=w.apply(0,arguments);wa(function(){throw new (Function.prototype.bind.apply(Error,[null,"Could not complete the test successfully - "].concat(u(a))));},function(){return console.error.apply(console,u(a))})}function wa(a,b){"undefined"!==typeof jasmine&&jasmine?a():"undefined"!==typeof console&&console&&console.error&&b()};function xa(a,b){if(!b)throw Error("Value for "+a+" is undefined, null or blank.");if("string"!==typeof b&&!(b instanceof String))throw Error("Value for "+a+" is not a string.");if(""===b.trim())throw Error("Value for "+a+" is empty string.");}function ya(a){if(!a)throw Error("functionToExecute must not be truthy.");}
function Aa(a,b){if(null==b)throw Error(a+" must not be null or undefined.");if("number"!==typeof b||isNaN(b))throw Error("Value for "+a+" is not a number");if(0>b)throw Error(a+" must be a positive number.");};function Ba(){return/\d+\.\d+\.\d+(-.*)?/.test("1.5.0-iab4484")}function Ca(){for(var a=["1","5","0"],b=["1","0","3"],c=0;3>c;c++){var d=parseInt(a[c],10),e=parseInt(b[c],10);if(d>e)break;else if(d<e)return!1}return!0};function Da(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=16*Math.random()|0;return"y"===a?(b&3|8).toString(16):b.toString(16)})};function Ea(a,b){try{return a.frames&&!!a.frames[b]}catch(c){return!1}}function Fa(a){return["omid_v1_present","omid_v1_present_web","omid_v1_present_app"].some(function(b){return Ea(a,b)})}function Ga(a){for(var b=ba(Object.values(ma)),c=b.next();!c.done;c=b.next()){c=c.value;var d={};d=(d.app="omid_v1_present_app",d.web="omid_v1_present_web",d)[c];if(Ea(a,d))return c}return null};var D=function(){if("undefined"!==typeof omidGlobal&&omidGlobal)return omidGlobal;if("undefined"!==typeof global&&global)return global;if("undefined"!==typeof window&&window)return window;if("undefined"!==typeof globalThis&&globalThis)return globalThis;var a=Function("return this")();if(a)return a;throw Error("Could not determine global object context.");}();function Ha(a,b){return a&&(a[b]||(a[b]={}))};function Ia(a){return null!=a&&"undefined"!==typeof a.top&&null!=a.top}function Ja(a){if(a===D)return!1;try{if("undefined"===typeof a.location.hostname)return!0}catch(b){return!0}return!1}function Ka(){var a;"undefined"===typeof a&&"undefined"!==typeof window&&window&&(a=window);return Ia(a)?a:D};function La(a){this.m=a;this.handleExportedMessage=La.prototype.N.bind(this)}la(La,ua);La.prototype.v=function(a){var b=void 0===b?this.m:b;if(!b)throw Error("Message destination must be defined at construction time or when sending the message.");b.handleExportedMessage(ta(a),this)};La.prototype.N=function(a,b){ra(a)&&this.g&&this.g(sa(a),b)};function Ma(a,b){this.m=b=void 0===b?D:b;var c=this;a.addEventListener("message",function(d){if("object"===typeof d.data){var e=d.data;ra(e)&&d.source&&c.g&&c.g(sa(e),d.source)}})}la(Ma,ua);Ma.prototype.v=function(a){var b=void 0===b?this.m:b;if(!b)throw Error("Message destination must be defined at construction time or when sending the message.");b.postMessage(ta(a),"*")};var Oa=["omid","v1_VerificationServiceCommunication"],Pa=["omidVerificationProperties","serviceWindow"];function Qa(a,b){return b.reduce(function(c,d){return c&&c[d]},a)};function Ra(a){if(!a){a=Ka();var b=void 0===b?Fa:b;var c=[],d=Qa(a,Pa);d&&c.push(d);c.push(Ia(a)?a.top:D);a:{c=ba(c);for(var e=c.next();!e.done;e=c.next()){b:{d=a;e=e.value;var f=b;if(!Ja(e))try{var g=Qa(e,Oa);if(g){var h=new La(g);break b}}catch(m){}h=f(e)?new Ma(d,e):null}if(d=h){a=d;break a}}a=null}}if(this.g=a)this.g.g=this.Fb.bind(this);else if(b=(b=D.omid3p)&&"function"===typeof b.registerSessionObserver&&"function"===typeof b.addEventListener?b:null)this.v=b;this.ba=this.pa=0;this.N={};this.T=
[];this.m=(b=D.omidVerificationProperties)?b.injectionId:void 0}function Sa(a){var b=G;ya(a);b.v?b.v.registerSessionObserver(a,"adloox.com-omid",b.m):b.na("addSessionListener",a,"adloox.com-omid",b.m)}n=Ra.prototype;n.addEventListener=function(a,b){xa("eventType",a);ya(b);this.v?this.v.addEventListener(a,b,this.m):this.na("addEventListener",b,a,this.m)};function Ta(a){var b=G;xa("url",a);D.document&&D.document.createElement?Ua(b,a):b.na("sendUrl",function(){},a)}
function Ua(a,b){function c(e){var f=a.T.indexOf(d);0<=f&&a.T.splice(f,1);e&&e()}var d=D.document.createElement("img");a.T.push(d);d.addEventListener("load",c.bind(a,void 0));d.addEventListener("error",c.bind(a,void 0));d.src=b}function Va(a,b,c){var d=G;xa("url",a);D.document?Wa(a,b,c):d.na("injectJavaScriptResource",function(e,f){e?(Xa(f,a),b()):(va("Service failed to load JavaScript resource."),c())},a)}
function Wa(a,b,c){var d=D.document,e=d.body;d=d.createElement("script");d.onload=b;d.onerror=c;d.src=a;d.type="application/javascript";e.appendChild(d)}function Xa(a,b){try{eval(a)}catch(c){va('Error evaluating the JavaScript resource from "'+b+'".')}}n.setTimeout=function(a,b){ya(a);Aa("timeInMillis",b);if(Ya())return D.setTimeout(a,b);var c=this.pa++;this.na("setTimeout",a,c,b);return c};n.clearTimeout=function(a){Aa("timeoutId",a);Ya()?D.clearTimeout(a):this.eb("clearTimeout",a)};
n.setInterval=function(a,b){ya(a);Aa("timeInMillis",b);if(Za())return D.setInterval(a,b);var c=this.ba++;this.na("setInterval",a,c,b);return c};n.clearInterval=function(a){Aa("intervalId",a);Za()?D.clearInterval(a):this.eb("clearInterval",a)};function Ya(){return"function"===typeof D.setTimeout&&"function"===typeof D.clearTimeout}function Za(){return"function"===typeof D.setInterval&&"function"===typeof D.clearInterval}
n.Fb=function(a){var b=a.method,c=a.m;a=a.g;if("response"===b&&this.N[c]){var d=Ba()&&Ca()?a?a:[]:a&&"string"===typeof a?JSON.parse(a):[];this.N[c].apply(this,d)}"error"===b&&window.console&&va(a)};n.eb=function(a){this.na.apply(this,[a,null].concat(u(w.apply(1,arguments))))};n.na=function(a,b){var c=w.apply(2,arguments);if(this.g){var d=Da();b&&(this.N[d]=b);var e="VerificationService."+a;c=Ba()&&Ca()?c:JSON.stringify(c);this.g.v(new qa(d,e,"1.5.0-iab4484",c))}};var $a=void 0;
if($a=void 0===$a?"undefined"===typeof omidExports?null:omidExports:$a){var ab=["OmidVerificationClient"];ab.slice(0,ab.length-1).reduce(Ha,$a)[ab[ab.length-1]]=Ra};var H=function(){function a(b){return b&&b.Math===Math&&b}return a("object"===typeof globalThis&&globalThis)||a("object"===typeof window&&window)||a("object"===typeof self&&self)||a("object"===typeof global&&global)||function(){return this}()||Function("return this")()}(),J=H==H.self,bb="document"in H&&"documentMode"in H.document;function cb(a){return bb?a.capture||!1:a}var db=new Ra,eb=Ka(),fb;var gb=D.omidVerificationProperties;fb=gb&&gb.injectionSource?gb.injectionSource:void 0;
var G="web"===(fb||Ga(eb)||Ga(Ia(eb)?eb.top:D))&&!db.m||!db.g&&!db.v?!1:db;function K(){}function hb(a,b){a=typeof a;return b?a==b:a}function L(a){return null!==a&&hb(a,"object")}function ib(a){return hb(a,"string")}function M(a){return hb(a,"number")}function N(a){return hb(a,"function")}function O(a){return hb(a,"boolean")}var jb=J?function(a){try{return a instanceof a.ownerDocument.defaultView.Element}catch(b){return!1}}:function(){return!1};
function P(a){return M(a)?Math.floor(a):parseInt(a,10)}function kb(){return(new Date).getTimezoneOffset()}var Q=L(H.performance)&&N(H.performance.now)?function(){return P(H.performance.now())}:function(){return(new Date).getTime()+6E4*kb()},lb=Q();function mb(a){return(a||[]).reduce(function(b,c,d){return b+d%2*c},0)}function nb(a){return 1<(a||[]).length&&0==a[0]}function R(a,b){return(G||H).setTimeout(a,b)}function ob(a){G&&!M(a)||(G||H).clearTimeout(a)}
function pb(a,b){return(G||H).setInterval(a,b)}function qb(a){G&&!M(a)||(G||H).clearInterval(a)}
var rb=J?function(a){var b=H.document.createElement("a");b.href=a;return b}:function(a){var b=/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;a=a.match(b)||"about:blank".match(b);a={protocol:a[1]||"",hostname:a[3]||"//",pathname:a[5]||"/",search:a[6]||"",hash:a[8]||""};a.host=a.hostname.replace(/:[0-9]+$/,"");a.port=P(a.hostname.replace(/^.*:([0-9]+)$/,"$1"));if(isNaN(a.port))switch(a.protocol){case "http":a.port=80;break;case "https":a.port=443;break;default:a.port=0}a.href=a.protocol+
"//"+a.hostname+a.path+a.search+a.hash;a.origin=a.protocol+"//"+a.hostname;return a};function sb(a){return encodeURIComponent(a).replace(/[!'()*]/g,function(b){return"%"+b.charCodeAt(0).toString(16)})}function tb(a){var b=[],c;for(c in a)if(a.hasOwnProperty(c)&&void 0!==a[c]){var d=a[c];d instanceof Array||(d=[d]);for(var e=0;e<d.length;e++){var f=N(d[e])?d[e]():d[e];void 0!==f&&b.push(sb(c)+"="+sb(f))}}return b.join("&")}
function ub(a){var b={};if(!a.length)return b;a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].split("=",2);if(d[0].length){var e=decodeURIComponent(d[0]);d=d[1];try{d=decodeURIComponent(d)}catch(f){}d=d||!0;void 0===b[e]?b[e]=[d]:b[e].push(d)}}return b}function vb(a){return L(a)?a[a.length-1]:a}var wb;
if(J){var xb;if(!(xb=H.document.currentScript))a:{for(var yb=RegExp("/tfav_adl_55\\.js(?:[#?]|$)"),zb=H.document.scripts,Ab=zb.length;0<Ab--;)if(zb[Ab]&&zb[Ab].src&&zb[Ab].src.match(yb)&&!zb[Ab].getAttribute("data-adloox-sid")){xb=zb[Ab];break a}xb=null}wb=xb}else wb=void 0;var S=wb,Bb=S?rb(S.src):void 0;var Cb=Array.prototype.findLast?function(a,b){return a.findLast(b)}:function(a,b){return[].concat(u(a)).reverse().find(b)};
function Db(a){var b=this;this.l=a;a.i.att=function(){var c=b.l.R.Gb,d=Object.keys(c).filter(function(k){return/^ev/.test(k)}).reduce(function(k,p){return k.concat(c[p].data)},[]),e=(d.find(function(k){return"rvr"==k[1]})||[Infinity,"rvr"])[0],f=Eb(c,e),g=[];g.push(0<f.length?f[0][0][1]-f[0][0][0]:0);var h="int skp rr rp pe pl pd pu".split(" ");d=d.filter(function(k){return h.includes(k[1])});var m=(d.find(function(k){return"rr"==k[1]})||[Infinity,"rr"])[0];"sr"in c&&(d=d.concat(c.sr.x.data).concat(c.sr.y.data));
d=d.map(function(k){return k[0]}).filter(function(k){return k>=m});g.push(~~d.some(function(k){return f.some(function(p){return p[0][0]<=k&&k<p[0][1]})}));d=Object.keys(c).filter(function(k){return/^vp/.test(k)}).reduce(function(k,p){var l=Cb(c[p].w.data,function(q){return q[0]<=e});l=Math.min(k[0],l&&0<l[1]?l[1]:Infinity);p=Cb(c[p].h.data,function(q){return q[0]<=e});p=Math.min(k[1],p&&0<p[1]?p[1]:Infinity);return[l,p]},[Infinity,Infinity]);Infinity==d[0]&&(d[0]="n");Infinity==d[1]&&(d[1]="n");g.push(d.join("~"));
return g.join(".")}}
function Eb(a,b){function c(m,k){return m in a?(m=Cb(a[m].data,function(p){return k>=p[0]}))?m[1]:null:null}var d=Object.keys(a).filter(function(m){return/^(vw|pg|fo)/.test(m)});b=Fb(d,a,b);d=[];for(var e=b.length;0<e--;){var f=c("vw",b[e]);null===f&&(f=c("vwo",b[e]));null===f&&(f=c("vwm",b[e]));null===f&&(f=0);f=~~(80<=f);var g=c("pg",b[e]);null===g&&(g=c("pgm",b[e]));null===g&&(g=1);var h=c("fo",b[e]);null===h&&(h=1);d.unshift([b[e],f*g*h])}return d.reduce(function(m,k,p,l){return p==l.length-1||
0==k[1]?m:m.concat([[[k[0],l[p+1][0]],k[1]]])},[]).sort(function(m,k){return k[0][1]-1-k[0][0]-(m[0][1]-1-m[0][0])})}function Fb(a,b,c){a=a.reduce(function(e,f){return e.concat(b[f].data.map(function(g){return g[0]}))},[Q()-lb]);a=[].concat(u(new Set(a))).sort(function(e,f){return e-f});var d=a.lastIndexOf(function(e){return e<=c});-1!=d&&(a.splice(0,d),a[d][0]=Math.max(a[d][0],c));return a};function Gb(a){var b=this;this.l=a;this.u=this.s=null;this.g={};this.S=this.ja=this.fa=null;a.subscribe("rollstate.audio.run",function(){b.S=!0});a.subscribe("rollstate.audio.pause",function(){b.S=!1});this.L=this.duration=void 0;this.Ca=this.Ba=null;this.data=this.F.bind(this);a.subscribe("adunit",this.m,this)}Gb.prototype.Ia=function(){var a=!1,b;for(b in this.g){var c=this.g[b];a=a||c.U;if(c.muted||c.ratio<this.u.P.volume||c.P||c.state)return!1}return a?!0:void 0};
Gb.prototype.Ja=function(){if(this.u.H){var a=!1,b;for(b in this.g){var c=this.g[b];a=a||c.U;if(c.muted||c.ratio<(this.u.H.volume||NaN)||c.H||c.state)return!1}return a?!0:void 0}};
Gb.prototype.m=function(a,b,c){function d(m){e.s?Hb(e,m):m.j("rollstate.audio.run")}var e=this,f=Number.MIN_VALUE;switch(a.config.creatype){case 6:case 23:this.ja=200;break;default:this.ja=100}this.u={P:{volume:Math.max(f,(a.config.custom1vol||0)/100),time:Math.max(2E3,1E3*(a.config.custom1volsec||0))}};a.ea=Math.min(a.ea,this.u.P.time);a.config.custom2vol&&a.config.custom2volsec&&(this.u.H={volume:a.config.custom2vol/100,time:1E3*a.config.custom2volsec},a.ea=Math.min(a.ea,this.u.H.time));if(c.slot){c.slot.setAttribute("data-adloox-type",
"slot");c.slot.setAttribute("data-adloox-sid",a.M);f=[c.slot].concat(u(c.slot.getElementsByTagName("*")));for(var g=0;g<f.length;g++)if(O(f[g].muted)&&M(f[g].volume)&&N(f[g].addEventListener)){this.s=f[g];break}}c.video&&M(c.video.volume)&&(c.video.setAttribute("data-adloox-type","video"),c.video.setAttribute("data-adloox-sid",a.M),this.s=c.video);Ib(this);c=[];for(var h in this.g)c.push(h);0<c.length&&(a.A.sa=c);a.i.aud=function(){return e.duration};a.i.aud2=function(){return e.L};this.S=!1;a.ua&&
a.config.targetelt.length&&1==(this.s||{}).defaultMuted?a.subscribe("fw",d):d(a,b)};
function Hb(a,b){function c(e){b.audio.data({id:"audio",U:!0,ratio:e.volume,muted:e.muted})}var d=b.j.bind(a,"rollstate.audio.run");a.s.addEventListener("playing",d);a.s.addEventListener("pause",b.j.bind(a,"rollstate.audio.pause"));a.s.addEventListener("volumechange",function(e){e=e.target;a.S&&e.muted?b.j("rollstate.audio.pause"):a.S||e.muted||b.j("rollstate.audio.run");c(e)});c(a.s);!a.s.paused&&3<=a.s.readyState&&!a.s.muted&&d()}
function Ib(a){a.l.subscribe("impression",function(b,c){function d(){d=K;g.Ca=!0;b.j("audible.custom")}function e(){e=K;g.Ba=!0;b.j("audible.iab")}function f(h,m,k){if(!b.ma)return k;k||(k=[0]);k.length%2==~~h&&k.push(0);k[k.length-1]+=m;return k}var g=this;b.subscribe("audio.booted",function(h,m){var k=this;this.Ca=this.Ba=!1;m=Math.max(c,m);var p=pb(function(){var l=Q()-m;m+=l;var q=k.Ia();O(q)&&(k.duration=f(q,l,k.duration),q&&k.duration&&0==k.duration.length%2&&k.duration[k.duration.length-1]>
k.u.P.time&&e());q=k.Ja();O(q)&&(k.L=f(q,l,k.L),q&&k.L&&0==k.L.length%2&&k.L[k.L.length-1]>k.u.H.time&&d())},this.ja);h.subscribe("end",function(){qb(p)})},this)},a);a.fa=!1;Jb(a)}Gb.prototype.F=function(a){this.g[a.id]=a;!1===this.fa&&Jb(this)};function Jb(a){var b=!0,c;for(c in a.g)b=b&&!1!==a.g[c].X;b&&(a.fa=!0,a.l.j("audio.booted"))};function Kb(a,b,c){this.F=[];this.l=b;this.g=c?null:[];this.m=this.v=null}function Lb(a){function b(f,g){return f[0]-g[0]}function c(f,g){return f[1]-g[1]}if(null===a.g||0==a.g.length)return a.F;var d=a.g.slice(),e=[];e.push(d[0]);e.push(d[d.length-1]);50>e[1][0]-e[0][0]?e.shift():(d.sort(c),e.push(d[0]),e.push(d[d.length-1]),e.sort(b));d=a.F.concat(e);for(a=d.length;1<a--;)d[a][1]===d[a-1][1]&&d.splice(a,1);return d}
function T(a,b,c){c=c||Q();c=Math.floor(c);M(b)&&(b=Math.floor(b),b=isFinite(b)?b:"n");0==a.F.length||null===a.g?(a.F.push([c,b]),a.F.sort(function(d,e){var f=ba(d);d=f.next().value;f.next();e=ba(e);f=e.next().value;e.next();return d-f})):c<a.F[a.F.length-1][0]||(a.g.push([c,b]),a.m?clearTimeout(a.m):a.v=c,a.m=R(function(){a.F=Lb(a);a.g=[];a.v=null;a.m=null},Math.min(100,300-(c-a.v))))}Kb.prototype.toString=function(){return this.data.map(function(a){return a.join("~")}).join(".")};
ea.Object.defineProperties(Kb.prototype,{data:{configurable:!0,enumerable:!0,get:function(){return Lb(this).slice()}}});
function Mb(a){var b=this;this.l=a;this.aa=a.D.K&&a.D.K.Z?H.top:H;this.g={};a.i.ts=function(){var c=Object.keys(b.g).reduce(function(d,e){"data"in b.g[e]?d.push(e+"-"+b.g[e].data.map(function(f){return f.join("~")}).join(".")):Object.keys(b.g[e]).forEach(function(f){d.push(e+f+"-"+b.g[e][f].data.map(function(g){return g.join("~")}).join("."))});return d},[]).join("_").replace(/-_/g,"_").replace(/-$/,"");return 1500<c.length?null:c};a.subscribe("adunit",function(){b.l.C.s&&(b.timeline("vw",b.mb.bind(b)),
b.timeline("sz",b.zb.bind(b),["w","h","ws","hs"]),b.timeline("au",b.pb.bind(b)))});this.timeline("pg",this.tb.bind(this));this.timeline("fo",this.sb.bind(this));this.timeline("vp",this.Bb.bind(this),["w","h"]);this.timeline("sc",this.lb.bind(this),["w","h","o","a"]);this.timeline("sr",this.vb.bind(this),["x","y"]);this.timeline("ev",this.rb.bind(this),null,!0)}n=Mb.prototype;
n.timeline=function(a,b,c,d){var e=this,f;c?f=c.reduce(function(g,h){g[h]=new Kb(a+h,e.l,d);return g},{}):f=new Kb(a,this.l,d);if(b)try{if(!b(f))return null}catch(g){return null}return this.g[a]=f};n.mb=function(a){if(!jb(this.l.C.s))return!1;var b={threshold:[].concat(u(Array(101).keys())).map(function(c){return c/100})};(new H.IntersectionObserver(function(c){c=c[0];T(a,100*c.intersectionRatio,c.time)},b)).observe(this.l.C.s);return!0};
n.zb=function(a){function b(e){var f=c(d.l.C.s);f&&(T(a.ws,f.w,e),T(a.hs,f.Eb,e))}function c(e){function f(m){var k=m.style.backgroundImage.match(/^url\("?([^")]+)"?\)$/);if(!k)return null;var p=new Image;p.width=m.clientWidth;p.height=m.clientHeight;p.src=k[1];return p}var g=[];if("none"!=e.style.display)if(["VIDEO","IMG"].includes(e.tagName))g.push(e);else if(e.style.backgroundImage){var h=f(e);h&&g.push(h)}e.querySelectorAll("video, img").forEach(function(m){"none"!=m.style.display&&g.push(m)});
e.querySelectorAll('[style*="background-image: url("]').forEach(function(m){"none"!=m.style.display&&(m=f(m))&&g.push(m)});g.sort(function(m,k){return("videoWidth"in m?m.videoWidth:m.naturalWidth)*("videoHeight"in m?m.videoHeight:m.naturalHeight)-("videoWidth"in k?k.videoWidth:k.naturalWidth)*("videoHeight"in k?k.videoHeight:k.naturalHeight)});return(e=g.pop())?{w:("videoWidth"in e?e.videoWidth:e.naturalWidth)/e.clientWidth*100,Eb:("videoHeight"in e?e.videoHeight:e.naturalHeight)/e.clientHeight*100}:
null}var d=this;if(!jb(this.l.C.s))return!1;this.l.subscribe("impression",function(e,f){return b(f)});(new H.ResizeObserver(function(e){var f=Q();e=e[0];T(a.w,e.contentRect.width,f);T(a.h,e.contentRect.height,f);b(f)})).observe(this.l.C.s);return!0};n.pb=function(a){function b(){T(a,c.volume*~~!c.muted*100,Q())}var c=this.l.C.s;if(!jb(c)||!M(c.volume))return!1;c.addEventListener("volumechange",b);b();return!0};
n.tb=function(a){function b(){T(a,~~("hidden"!=H.document.visibilityState))}if(!("document"in H))return!1;H.document.addEventListener("visibilitychange",b);b();return!0};n.sb=function(a){function b(c){T(a,~~c)}if(this.l.D.K&&(!this.l.D.K.Z||this.l.D.K.ia))return!1;this.aa.addEventListener("focus",b.bind(this,!0));this.aa.addEventListener("blur",b.bind(this,!1));b(this.aa.document.hasFocus());return!0};
n.Bb=function(a){function b(){var c=Q();T(a.w,this.aa.innerWidth,c);T(a.h,this.aa.innerHeight,c)}this.aa.addEventListener("resize",b.bind(this));b.apply(this);return!0};
n.lb=function(a){function b(){var d=Q();ob(c);var e=-1;switch(H.screen.orientation.type){case "portrait-primary":e=0;break;case "landscape-primary":e=1;break;case "portrait-secondary":e=2;break;case "landscape-secondary":e=3}T(a.w,H.screen.width,d);T(a.h,H.screen.height,d);-1!=e&&T(a.o,e,d);T(a.a,H.screen.orientation.angle,d);c=R(b,1E3)}if(!("screen"in H))return!1;var c=null;H.screen.orientation.onchange=b;b();return!0};
n.vb=function(a){function b(){var c=Q();T(a.x,this.aa.scrollX,c);T(a.y,this.aa.scrollY,c)}this.aa.addEventListener("scroll",b.bind(this),{passive:!0});b.apply(this);return!0};
n.rb=function(a){function b(d,e,f){T(a,d,f?f:e?e.timeStamp:Q())}var c=this;b("sb",null,lb);this.l.subscribe("start",b.bind(this,"ss"));this.l.subscribe("end",b.bind(this,"se"));this.l.subscribe("rollstate.run",b.bind(this,"rr"));this.l.subscribe("rollstate.pause",b.bind(this,"rp"));b(this.l.ma?"rr":"rp");this.l.subscribe("rollstate.visi.run",b.bind(this,"rvr"));this.l.subscribe("rollstate.visi.pause",b.bind(this,"rvp"));b(this.l.C.S?"rvr":"rvp");this.l.subscribe("rollstate.audio.run",b.bind(this,
"rar"));this.l.subscribe("rollstate.audio.pause",b.bind(this,"rap"));b(this.l.audio.S?"rar":"rap");this.l.subscribe("adunit",function(d){var e=d.C.s;if(e){c.l.i.d4=~~e.ownerDocument.hasFocus();c.aa.addEventListener("blur",function(g){R(function(){var h=g.target;try{for(;!e.contains(m);){var m=h.document.activeElement;if("IFRAME"!=m.tagName)break;h=m.contentWindow}}catch(k){}e.contains(m)&&b("ckb",g)},0)});e.addEventListener("pointerenter",b.bind(c,"pe"),{capture:!0,passive:!0});e.addEventListener("pointerleave",
b.bind(c,"pl"),{capture:!0,passive:!0});b(e.matches(":hover")?"pe":"pl");var f=e;if("IFRAME"==f.tagName)try{f==H.frameElement?f=f.contentDocument.body:f.contentDocument?f=f.contentDocument.body:f=null}catch(g){f=null}f&&(f=[f].concat(u(f.querySelectorAll("*"))).sort(function(g,h){g=d.D.la(g);h=d.D.la(h);return h.width*h.height-g.width*g.height})[0],f.addEventListener("pointerdown",b.bind(c,"pd"),cb({capture:!0,passive:!0})),f.addEventListener("pointerup",b.bind(c,"pu"),cb({capture:!0,passive:!0})),
f.addEventListener("pointercancel",b.bind(c,"pu"),cb({capture:!0})),b(e.matches(":active")?"pd":"pu"))}});return!0};ea.Object.defineProperties(Mb.prototype,{Gb:{configurable:!0,enumerable:!0,get:function(){return this.g}}});var Nb;function Ob(a){var b=1==a.l.config.creatype;if(J&&!b&&a.s){b=[a.u.P.da];a.u.H&&b.push(a.u.H.da);try{Nb=new IntersectionObserver(function(c){a.F({id:"intersection",U:!0,ratio:c[0].intersectionRatio})},{threshold:b}),a.F({id:"intersection",X:!1}),Nb.observe(a.s),a.l.subscribe("end",Nb.disconnect.bind(Nb))}catch(c){}}};function Pb(a){function b(){b=function(){var d=NaN;if(a.G){d=a.s;for(var e=a.G,f=e.width,g=e.height;d;){var h=Rb(d);f=Math.max(Math.min(f,f-Math.abs(Math.min(0,e.left))-Math.abs(Math.min(0,h.width-e.right))),0);g=Math.max(Math.min(g,g-Math.abs(Math.min(0,e.top))-Math.abs(Math.min(0,h.height-e.bottom))),0);(d=a.l.D.frameElement(d))&&(e=a.l.D.la(d))}d=f*g/(a.G.width*a.G.height)}a.F({id:"classic",U:!0,ratio:d})};b()}var c=1==a.l.config.creatype;J&&!c&&a.s&&!Nb&&(a.F({id:"classic",X:!1}),a.l.subscribe("visi.rect",
function(){b()}))};function Sb(a,b){function c(){var e={id:"element",U:!0},f=a.s.ownerDocument,g=[a.G.left+P(a.G.width/2),a.G.top+P(a.G.height/2)],h=!f.elementFromPoint(g[0],g[1]);e.P=Tb([!f.elementFromPoint(g[0]-a.u.P.i.x,g[1]-a.u.P.i.y),h,!f.elementFromPoint(g[0]+a.u.P.i.x,g[1]+a.u.P.i.y)]);a.u.H&&(e.H=Tb([!f.elementFromPoint(g[0]-a.u.H.i.x,g[1]-a.u.H.i.y),h,!f.elementFromPoint(g[0]+a.u.H.i.x,g[1]+a.u.H.i.y)]));a.F(e)}var d=1==a.l.config.creatype;J&&!d&&a.s&&!Nb&&!a.l.D.K.Z&&bb&&(a.F({id:"element",X:!0}),b.push(c))}
;function Ub(a,b){function c(){var g={id:"elements",U:!0},h=a.s.ownerDocument.elementsFromPoint(a.G.left+a.G.width/2,a.G.top+a.G.height/2);if(null!==h){var m=h.indexOf(a.s),k=a.s.hidden,p=1<h.filter(function(q){return!e.includes(q.tagName)}).length;h=.7<h.slice(0,m).reduce(function(q,r){return Math.min(1,q+d(r))},0);m=.3>d(a.s);g.state=k||m;var l=[];k&&l.push("hidden");p&&l.push("stacked");h&&l.push("_covered");m&&l.push("invisible");0<l.length&&(a.l.i.view=l.join(","))}a.F(g)}function d(g){g=U(g).getComputedStyle(g).getPropertyValue("opacity");
return P(g)||1}var e=["HTML","BODY"],f=1==a.l.config.creatype;J&&!f&&a.s&&!e.includes(a.s.tagName)&&U(a.s)&&N(H.document.elementsFromPoint)&&(a.F({id:"elements",X:!0}),b.push(c))};function Vb(a,b){function c(){a.F({id:"focus",state:a.l.D.va})}J&&"mraid"!=a.l.D.type&&a.l.D.K.Z&&!a.l.D.K.ia&&(a.F({id:"focus",X:!0}),b.push(c))};function Wb(a,b){function c(){a.F({id:"page",state:a.l.D.hidden})}J&&-1==["mraid","omid"].indexOf(a.l.D.type)&&(a.F({id:"page",X:!0}),b.push(c))};function Xb(a){function b(){a.F({id:"takeover",U:!0,state:Yb(U(a.s)).y>Rb(a.s).height})}var c=1==a.l.config.creatype;J&&c&&a.s&&(a.l.subscribe("geometry",b),b())};function Tb(a){if(null!==a[0]&&null!==a[1]&&null!==a[2])return a[1]&&(a[0]||a[2])}function Zb(a){var b=this;this.l=a;this.u=this.s=this.G=null;this.g={};this.S=this.ja=this.fa=null;a.subscribe("rollstate.visi.run",function(){b.S=!0});a.subscribe("rollstate.visi.pause",function(){b.S=!1});this.L=this.duration=this.Y=void 0;this.za=this.qa=null;this.data=this.F.bind(this);a.subscribe("adunit",this.m,this)}
Zb.prototype.Ia=function(){var a=!1,b;for(b in this.g){var c=this.g[b];a=a||c.U;if(c.ratio<this.u.P.da||c.P||c.state)return!1}return a?!0:void 0};Zb.prototype.Ja=function(){if(this.u.H){var a=!1,b;for(b in this.g){var c=this.g[b];a=a||c.U;if(c.ratio<(this.u.H.da||NaN)||c.H||c.state)return!1}return a?!0:void 0}};
Zb.prototype.m=function(a,b,c){function d(l){!k&&c.video?$b(f,l,c):!k&&jb(c.slot)?ac(l,c):l.j("rollstate.visi.run")}function e(l){f.G=l||null;f.s&&f.l.D.la&&(f.G=f.l.D.la(f.s));f.G&&(f.u.P.i={x:P(f.G.width*Math.sqrt(f.u.P.da)/2),y:P(f.G.height*Math.sqrt(f.u.P.da)/2)},f.u.H&&(f.u.H.i={x:P(f.G.width*Math.sqrt(f.u.H.da)/2),y:P(f.G.height*Math.sqrt(f.u.H.da)/2)}));a.j("visi.rect",f.G)}var f=this,g=.5,h=1E3;switch(a.config.creatype){case 6:case 23:this.ja=200;h=2E3;break;default:this.ja=100,!this.l.D.K.Ra&&
this.G&&242500<=this.G.width*this.G.height&&(g=.3)}this.u={P:{da:Math.max(g,(a.config.custom1area||0)/100),time:Math.max(h,1E3*(a.config.custom1sec||0))}};a.ea=Math.min(a.ea,this.u.P.time);a.config.custom2area&&a.config.custom2sec&&(this.u.H={da:a.config.custom2area/100,time:1E3*a.config.custom2sec},a.ea=Math.min(a.ea,this.u.H.time));jb(c.slot)&&(c.slot.setAttribute("data-adloox-type","slot"),c.slot.setAttribute("data-adloox-sid",a.M),this.s=c.slot);jb(c.video)&&(c.video.setAttribute("data-adloox-type",
"video"),c.video.setAttribute("data-adloox-sid",a.M),this.s=c.video);if(!this.s){if(c.slot){try{c.slot.setAttribute("data-adloox-type","slot"),c.slot.setAttribute("data-adloox-sid",a.M)}catch(l){}this.s=c.slot}if(c.video){try{c.video.setAttribute("data-adloox-type","video"),c.video.setAttribute("data-adloox-sid",a.M)}catch(l){}this.s=c.video}}if(this.s){if(!jb(this.s)||Object.getOwnPropertyDescriptor(this.s,"tagName"))a.i.au=1}else a.i.au=0;a.subscribe("geometry",function(l,q,r){e(r)});e(c.rect);
bc(this);g=[];for(var m in this.g)g.push(m);0<g.length&&(a.A.sv=g);var k=1==this.l.config.creatype,p=null;this.l.subscribe("impression",function(){e(c.rect);p=f.G});a.i.size=function(){var l=p||f.G;return null===l?void 0:l.width+"x"+l.height};a.i.pdv=function(){return f.Y};a.i.ad=function(){return f.duration};a.i.ad2=function(){return f.L};a.i.p_d_v=function(){return mb(f.Y)/1E3};a.i.a_d=function(){return mb(f.duration)/1E3};a.i.wasatf=function(){return 2*~~nb(f.duration)};a.i.visible=function(){return 2*
~~f.qa};k?(a.i.wasatf=2,a.i.a_d2=function(){return mb(f.Y)/1E3},a.i.wasatf2=2,a.i.visible2=function(){return 2*~~(2E3<=mb(f.Y))}):this.u.H&&(a.i.a_d2=function(){return mb(f.L)/1E3},a.i.wasatf2=function(){return 2*~~nb(f.L)},a.i.visible2=function(){return 2*~~f.za});this.S=!1;a.ua&&a.config.targetelt.length&&"hidden"==this.s.style.visibility?a.subscribe("fw",d):d(a,b)};
function $b(a,b,c){var d=b.j.bind(a,"rollstate.visi.run");c.video.addEventListener("playing",d);c.video.addEventListener("pause",b.j.bind(a,"rollstate.visi.pause"));if(c.video.paused||3>(c.video.readyState||0))var e=pb(function(){a.S?qb(e):0<c.video.currentTime&&d()},200);else d()}
function ac(a,b){var c=0,d=[].concat(u(b.slot.getElementsByTagName("*")));d.push(b.slot);var e=[];d.forEach(function(f){var g="";switch(f.tagName){case "IMG":f.src&&(g=f.src);break;default:var h=L(f.style)&&f.style["background-image"];h&&(h=h.match(/^url\("?([^")]+)"?\)$/))&&(g=h[1])}if(/^https?:/.test(g)&&"none"!=f.style.display&&"none"!=f.style.visibility){var m=function(){m=K;--c||a.j("rollstate.visi.run")};h=function(p,l){m(p,l)};var k="IMG"==f.tagName?f:new Image;k.onload=k.onerror=h;"IMG"!=
f.tagName&&(k.src=g);k.complete||4===k.readyState||0<k.naturalWidth?m=K:(c++,e.push(h))}});c?R(function(){e.forEach(function(f){return f(null,!0)})},2E3):a.j("rollstate.visi.run")}
function bc(a){var b=[];a.l.subscribe("impression",function(c){function d(){d=K;g.za=!0;c.j("viewable.custom")}function e(){e=K;g.qa=!0;c.j("viewable.iab")}function f(k,p,l){if(!c.ma)return l;l||(l=[0]);l.length%2==~~k&&l.push(0);l[l.length-1]+=p;return l}var g=this,h=Q(),m=pb(function(){var k=Q()-h;h+=k;b.forEach(function(l){return l()});var p=g.l.D.va||g.l.D.hidden;!g.Y&&p&&(g.Y=[0,1]);g.Y=f(!p,k,g.Y);g.fa&&(p=g.Ia(),O(p)&&(g.duration=f(p,k,g.duration),p&&g.duration&&0==g.duration.length%2&&g.duration[g.duration.length-
1]>g.u.P.time&&e()),p=g.Ja(),O(p)&&(g.L=f(p,k,g.L),p&&g.L&&0==g.L.length%2&&g.L[g.L.length-1]>g.u.H.time&&d()))},this.ja);c.subscribe("end",function(){qb(m)})},a);Ob(a);Pb(a);Sb(a,b);Ub(a,b);Vb(a,b);Wb(a,b);Xb(a);a.fa=!1;cc(a)}Zb.prototype.F=function(a){this.g[a.id]=a;!1===this.fa&&cc(this)};function cc(a){var b=!0,c;for(c in a.g)b=b&&!1!==a.g[c].X;b&&(a.fa=!0,a.qa=!1,a.za=!1,a.l.j("visi.booted"))};function dc(a,b){var c=this;this.D=a;this.M=Math.floor(1E11*Math.random()+1).toString();this.config={};this.m=[];this.data=null;this.i={};this.ea=Infinity;a=ib(b)?[b]:[];Bb&&(Bb.hash&&a.push(Bb.hash.slice(1)),Bb.search&&a.push(Bb.search.slice(1)));M(H.adloox_pc_viewed)&&a.push("custom2area="+H.adloox_pc_viewed);M(H.adloox_time_viewed)&&a.push("custom2sec="+H.adloox_time_viewed);ib(H.adloox_target)&&a.push("targetelt="+H.adloox_target);ec(this,ub(a.join("&")));this.subscribe=V.bind(this,this);this.unsubscribe=
fc.bind(this,this);this.j=gc.bind(this,this);this.start=this.Ab.bind(this);this.end=this.Sa.bind(this);this.Da=this.qb.bind(this);this.ma=null;this.subscribe("rollstate.run",function(){c.ma=!0});this.subscribe("rollstate.pause",function(){c.ma=!1});this.ended=this.N=this.fb=!1;this.A={sm:this.D.type};this.g=this.ua=null;this.C=new Zb(this);this.audio=new Gb(this);this.R=new Mb(this);new Db(this);this.v=null;this.i.visite_id=this.M;this.i.seq=0;this.i.test=function(){return c.config.test};this.i.timezone=
kb;this.i.js="tfav_adl_55.js";this.i.date_regen="a0e5856";this.i.type_crea=function(h){return h.creatype}.bind(this,this.config);this.i.sl=function(){var h=[],m;for(m in c.A){var k=void 0;try{k=JSON.stringify(c.A[m])}catch(p){k="null"}h.push(['"'+m+'"',k].join(":"))}return h.length?h:void 0};for(a=1;21>a;a++)void 0!==this.m[a]&&(this.i["id"+a]=this.m[a]);this.i.p_d=function(){return(Q()-lb)/1E3};this.j("init");var d={px_imp:"impression",px_view:"viewable.iab",px_viewc:"viewable.custom"};for(e in d)this.subscribe(d[e],
function(h){for(var m=(this.config[h]||[]).length;0<m--;)this.j("send",this.config[h][m])}.bind(this,e));var e={4:["VPAID.AdVideoFirstQuartile","OMID.firstQuartile"],5:["VPAID.AdVideoMidpoint","OMID.midpoint"],6:["VPAID.AdVideoThirdQuartile","OMID.thirdQuartile"],7:["VPAID.AdVideoComplete","OMID.complete"]};for(var f in e)for(var g in e[f])this.subscribe(e[f][g],function(h,m){h={visite_id:this.M,id_visiteur:this.M,client:this.i.client,plat:this.i.plat,tagid:this.i.tagid,tm:(new Date).toISOString(),
type_crea:m.creatype,event:h};for(m=1;21>m;m++)void 0!==this.m[m]&&(h["id"+m]=this.m[m]);this.j("send",this.config.urlv,h)}.bind(this,f,this.config));this.subscribe("send.visi",this.Ka,this);this.subscribe("start",function(){c.config.ping&&c.subscribe("impression",c.ub,c);c.j("send.tracked",c.config.urlt0,c.i)});this.subscribe("config",function(h,m,k){c.N=!0;h.i.seq=function(){var l=1;return function(){return l++}}();m=k.keywords||[];delete k.keywords;if(0<Object.keys(k).length){var p=["tagid","ping",
"vast","vast_skiptracking"].concat(u(Object.keys(d)),["px_viewn","px_viewu","js_imp"]);h.config.targetelt&&!k.targetelt&&p.push("targetelt");h.config=p.reduce(function(l,q){q in h.config&&(l[q]=h.config[q]);return l},{})}ec(h,ub(tb(k)));h.config.fwtype=1==h.config.creatype?2:h.config.fwtype||1;h.ua=!(2==h.config.fwtype||4==h.config.fwtype);switch(h.config.fwtype){case 2:k="log";break;case 3:k="wl";break;default:k=h.config.fwtype}h.i.fw=k;h.D.bb(h,m)});this.subscribe("end",function(h,m){c.Ka(h,m,!0);
for(h=(c.config.bridge||[]).length;0<h--;)c.j("send",c.config.bridge[h]);if(O(c.ma)){var k;null===c.C.qa?k="px_viewu":!1===c.C.qa&&(k="px_viewn");for(h=(c.config[k]||[]).length;0<h--;)c.j("send",c.config[k][h])}});this.subscribe("adunit",function(h,m,k){if(jb(k.slot)){m=function(v){if(1==v.ownerDocument.querySelectorAll(v.nodeName.toLowerCase()).length)return"";if(v.id)return"#"+p(v.id);if(v.name)return"[name='"+p(v.name)+"']";if(v.className){var x=[],C=[];v.classList.forEach(function(y){y="."+p(y);
x.push(y);try{1==v.ownerDocument.querySelectorAll(y).length&&C.push(y)}catch(A){}});C.sort(function(y,A){return y.length-A.length});return C[0]||x.join("")}return""};var p=function(v){try{return CSS.escape(v)}catch(x){}return v},l=[],q=k.slot;for(k=q.ownerDocument.defaultView;q&&q.nodeType===Node.ELEMENT_NODE;){var r=q.nodeName.toLowerCase(),z=m(q);if(!z){for(var I=q,t=1;I=I.previousElementSibling;)I.nodeName.toLowerCase()==r&&t++;1!=t&&(z=":nth-of-type("+t+")")}l.unshift(""+r+z);if("#"==z.substr(0,
1))break;q=q.parentNode}for(;k!=k.parent;){q="";r=null;try{r=k.frameElement}catch(v){}r&&(q=m(r));if(!q&&k.parent.frames)for(r=k.parent.frames.length;0<r--;)if(k.parent.frames[r]==k){0<r&&(q=":nth-of-type("+(r+1)+")");break}l.unshift("iframe"+q);k=k.parent}h.i.d2=l.join(">")}R(function(){function v(){v=K;h.j("rollstate.run");h.j("impression")}var x=null;h.C.s?x="visi":h.audio.s&&(x="audio");x?h.subscribe("rollstate."+x+".run",function(){v()}):v()},0)})}
function ec(a,b){for(var c in b)if(a.config[c]=b[c].filter(function(f){return!!f.length}),a.config[c].length){var d=vb(a.config[c]);if(c.match(/^id[0-9]+$/)){var e=P(c.substr(2));0<e&&(a.config[c]=a.m[e]=d)}else switch(c){case "fwtype":d=P(d);a.config[c]=1<=d&&4>=d?d:1;break;case "creatype":case "tagid":case "custom1area":case "custom2area":case "custom1vol":case "custom2vol":a.config[c]=P(d);0<a.config[c]||delete a.config[c];break;case "custom1sec":case "custom2sec":case "custom1volsec":case "custom2volsec":a.config[c]=
parseFloat(d);0<a.config[c]||delete a.config[c];break;case "ping":a.config[c]=P(d);isNaN(a.config[c])&&delete a.config[c];break;case "id":case "vast":case "url":case "urlt":case "urlt0":case "urle":case "urlv":a.config[c]=d;break;case "client":delete a.config[c];break;case "vast_skiptracking":a.config[c]=!0}}else delete a.config[c];a.config.creatype||(a.config.creatype=2);a.config.targetelt||(a.config.targetelt=[]);for(b=a.config.targetelt.length;0<b--;)a.config.targetelt[b].length||a.config.targetelt.splice(b,
1);"russia"==a.m[12]&&(a.config.fwtype=2);a.i.tagid=a.config.tagid;a.i.client=a.config.client||"weborama";if(a.config.url||a.config.urlt||a.config.urlt0)a.config.fwtype=4;a.config.url||(a.config.url="https://data00.adlooxtracking.com/ads");a.config.urlt||(a.config.urlt=a.config.url+"/ic5.php");a.config.urlt0||(a.config.urlt0=a.config.urlt);a.config.urle||(a.config.urle=a.config.url+"/err.php");a.config.urlv||(a.config.urlv="https://pixel.adlooxtracking.com/ads/vast/vast_tracker.php");b=H.tab_adloox_transaction_id_weborama instanceof
Array?H.tab_adloox_transaction_id_weborama[0]:a.config.transaction_id;void 0!==b&&(a.config.transaction_id=b);a.M=a.config.id||a.M}n=dc.prototype;n.Ab=function(){var a=this,b=R(function(){this.Sa()}.bind(this),117E4);this.subscribe("end",function(){ob(b)});V(null,"manager.booted",function(){a.fb=!0;a.j("start")})};n.Sa=function(){this.ended||(this.ended=!0,this.j("end"))};n.qb=function(a,b){this.config[a]=(this.config[a]||[]).concat(b)};
n.ub=function(a){function b(){c.ended||(e=R(function(){c.Ka(a,Q(),!1);d=!0;b()},Math.floor(1E3*(d?f+f/4*Math.random():g+.5+2*Math.random()))),f=Math.min(64,2*Math.max(f,1)))}var c=this,d,e,f=1,g=this.ea/1E3;b();this.subscribe("viewable.iab",function(){ob(e);g=-.5;f=0;b()})};n.Ka=function(a,b,c){!this.N||this.ended&&!c||this.g||!c&&500>b-this.v||(this.v=b,this.j("send",this.config.urlt,this.i))};var hc=!1,ic={},jc=[],kc=0;function lc(a,b){if(null==b.I||b.I==a.I)try{b.Na.apply(b.context||null,[a.I,a.Hb].concat(a.hb))}catch(c){a.I.j("error",{err:c.message,"%b":c.stack})}}function mc(){M(hc)&&ob(hc);for(hc=!0;kc<jc.length;kc++)for(var a=jc[kc],b=(ic[a.name]||[]).slice(),c=0;c<b.length;c++)lc(a,b[c]);hc=!1}function gc(a,b){var c=w.apply(2,arguments);u(c);jc.push({I:a,Hb:Q(),name:b,hb:c});!0!==hc&&(a&&a.ended?mc():!1===hc&&(hc=R(mc,0)))}
function V(a,b,c,d){b in ic||(ic[b]=[]);a={I:a,Na:c,context:d};ic[b].push(a);for(c=0;c<kc;c++)d=jc[c],d.name==b&&(K.apply(null,["fire [playback]",d.name].concat(u(d.hb))),lc(d,a))}function fc(a,b,c){for(var d=ic[b]||[],e=d.length;0<e--;){var f=d[e];f.I!=a||f.Na!=c&&f.Na.Db!=c||ic[b].splice(e,1)}};function nc(){var a=this;this.Ra=/Android|webOS|iP(?:hone|od|ad)|BlackBerry|mobi|Opera Mini/i.test(H.navigator.userAgent);this.ia=/Version\/[0-9.]+ Chrome\/[0-9.]+ Mobile|iP(?:hone|od|ad).*AppleWebKit(?!.*Version\/[0-9.]+)|; wv/.test(H.navigator.userAgent);this.Qa=H!=H.top;try{this.Z=!!H.top.document}catch(c){this.Z=!1}this.m=L(H.document)&&H.document;this.N=L(H.location)&&H.location;this.T=L(H.navigator)&&H.navigator;this.ba=L(H.screen)&&H.screen;this.g=this.v=void 0;if(this.N){this.v=this.Z?H.top.location.href:
this.m&&this.m.referrer||this.N.href;var b=location.ancestorOrigins;b&&b.length&&(this.g=b.item(b.length-1));this.g&&0==this.v.indexOf(this.g+"/")&&(this.g=void 0)}if(this.uri=this.g||this.v)this.uri=rb(this.uri);V(null,"init",function(c){if(a.m){var d=a.m;oc(c);c.i.fai=(a.Z?H.top.document.title:d.title)||void 0}a.N&&(c.i.ao=a.g,c.i.url_referrer=a.v.substr(0,500));a.T&&(c.i.nav_lang=a.T.language);a.ba&&(d=a.ba,c.i.resolution=d.width+"x"+d.height)})}
function oc(a){function b(d){d=rb(d);d=d.protocol+"//"+d.host;if(!H.document.querySelector('link[rel="preconnect"][href="'+d+'"]')){var e=H.document.createElement("link");e.rel="preconnect";e.href=d;H.document.head.appendChild(e)}}b(a.config.url);for(var c=(a.config.bridge||[]).length;0<c--;)b(a.config.bridge[c])};function pc(a,b){this.m="__"+a+"api";this.pa="tcf"==a?2:1;this.N=b;this.g=null;"function"==typeof H[this.m]?this.g=H[this.m]:J?this.g=qc(this):this.g=this.v;this.T="get"+("tcf"==a?"TC":"USP")+"Data"}function rc(a,b){var c=null,d=[a.T,a.pa,function(){var e=w.apply(0,arguments);ob(c);b.apply(null,e)}];a.N&&d.push([a.N]);c=R(function(){c=null},2E3);a.g.apply(null,d)}pc.prototype.I=function(a){[1650].includes(a.config.tagid)&&(this.g=this.ba)};pc.prototype.v=function(a,b,c){c({msg:"CMP not found"},!1)};
pc.prototype.ba=function(a,b,c){c({msg:"CMP handled OOB"},!1)};
function qc(a){function b(g){var h={};H.addEventListener("message",function(m){var k=L(m.data)&&L(m.data[d])&&m.data[d].callId;k in h&&(h[k](m.data[d].returnValue,m.data[d].success),delete h[k])});return function(m,k,p,l){var q=Math.random().toString(16).substr(2);h[q]=p;p={};p[c]={command:m,parameter:l,version:k,callId:q};g.postMessage(p,"*")}}var c=a.m+"Call",d=a.m+"Return",e=H;do{e=e.parent;var f=void 0;try{f=e.frames[a.m+"Locator"]}catch(g){}if(f)return b(f.parent)}while(e!=H.top);return a.v}
;function sc(a,b){var c=this;this.type=b||"base";this.pa=!1;this.T=1;this.V={};this.va=this.hidden=null;this.K=new nc;this.ba=this.nb.bind(this);this.g=this.ob.bind(this);a("session manager",this.type);var d=new pc("tcf",93);this.ba();var e=new pc("usp");this.ba();V(null,"init",function(f){c.T&&(d.I(f),rc(d,function(g,h){a("IAB Privacy TCF",g,h);V(null,"init",function(m){m.i.tc=O(h)&&L(g)?g.tcString:""});c.g()}),e.I(f),rc(e,function(g,h){a("IAB Privacy CCPA",g,h);V(null,"init",function(m){m.i.usp=
O(h)&&L(g)?g.uspString:""});c.g()}))});V(null,"fw",this.xa,this);V(null,"send.tracked",this.yb,this);V(null,"send",this.wb,this);V(null,"error",this.xb,this)}n=sc.prototype;n.nb=function(){this.T++};n.ob=function(){--this.T||gc(null,"manager.booted")};n.xa=function(a,b,c){a.g=c.state;a.g&&a.end()};n.wb=function(a,b,c,d){this.ra(a,c,d)};n.ra=function(){throw"__send unsupported";};n.yb=function(a,b,c,d){this.Ha(a,c,d)};n.Ha=function(){throw"__send_tracked unsupported";};
n.xb=function(a,b,c){this.pa||(this.pa=!0,c.client="weborama"+(a.config.client?":"+a.config.client:""),c.js="tfav_adl_55.js",c.visite_id=a?a.M:0,this.ra(a,a.config.urle,c));this.pa=!1};function U(a){a=a.ownerDocument;return!!a&&(a.defaultView||a.parentWindow)}
n.url=function(a,b,c){var d=1==a.config.creatype;N(b)&&(b=b());if(ib(b)&&b==b.trim())return c=c?tb(c):null,b+=c?(-1==b.indexOf("?")?"?":"&")+c:"",b.split("[ADL_SID]").join(a?a.M:0).split("[ADL_TYPE]").join(a?a.C.s?"vis":a.audio.s?"aud":"???":"").split("[ADL_IMP]").join(~~(a&&O(a.ma))).split("[ADL_VW]").join(a&&O(a.C.qa)?~~a.C.qa:"").split("[ADL_VWC]").join(a?d?~~(2E3<=mb(a.C.Y)):O(a.C.za)?~~a.C.za:"":"").split("[ADL_ATF]").join(a&&void 0!==a.C.duration?~~nb(a.C.duration):"").split("[ADL_AD]").join(a&&
O(a.audio.Ba)?~~a.audio.Ba:"").split("[ADL_ADC]").join(a&&O(a.audio.Ca)?~~a.audio.Ca:"").split("[ADL_DP]").join(a&&void 0!==a.C.Y?a.C.Y:"").split("[ADL_DV]").join(a&&void 0!==a.C.duration?a.C.duration:"").split("[ADL_DVC]").join(a&&void 0!==a.C.L?a.C.L:"").split("[ADL_DA]").join(a&&void 0!==a.audio.duration?a.audio.duration:"").split("[ADL_DAC]").join(a&&void 0!==a.audio.L?a.audio.L:"").split("[ADL_FW]").join(a&&O(a.g)?~~a.g:"").split("[ERRORCODE]").join(901).split(/(?:\[|$\{|%%)(?:RANDOM|CACHEBUST[A-Z]*)(?:\]|\}|%%)/i).join(Math.floor(99E6*
Math.random()+1E6)).split(/\[TIMESTAMP\]/i).join(sb((new Date).toISOString()))};n.bb=function(a){a.g=!1;a.j("fw",{state:a.g})};function tc(a,b){function c(){for(var e in d.V)d.V[e].end()}sc.call(this,a,b);var d=this;"onpagehide"in H?H.addEventListener("pagehide",c):(H.addEventListener("beforeunload",c,cb({passive:!0})),H.addEventListener("unload",c));this.hidden="hidden"==H.document.visibilityState;this.N=!this.hidden;H.document.addEventListener("visibilitychange",function(){a("visibilitychange",H.document.visibilityState);d.hidden="hidden"==H.document.visibilityState;d.N=d.N||!d.hidden;if("unloaded"==H.document.visibilityState)c();
else if(d.hidden)for(var e in d.V)d.V[e].fb&&!d.V[e].ended&&d.V[e].j("send.visi")});this.K.Z&&!this.K.ia&&"mraid"!=b&&(this.va=!H.top.document.hasFocus(),H.top.addEventListener("focus",function(){a("focus",!0);d.va=!1}),H.top.addEventListener("blur",function(){a("focus",!1);d.va=!0}));this.jb=(H.document.cookie||"").split(/\s*;\s*/g).reduce(function(e,f){f=f.split("=");e[decodeURIComponent(f[0])]=decodeURIComponent(f[1]);return e},{});V(null,"adunit",function(e,f,g){function h(){e.ended||h.Ya||(h.Ya=
!0,R(function(){h.Ya=!1;e.j("geometry")},200))}if(g.video||g.slot)(g.video||g.slot).addEventListener("mouseenter",h),(g.video||g.slot).addEventListener("mouseleave",h);for(f=g.video&&U(g.video)||g.slot&&U(g.slot)||H;;)try{f.addEventListener("resize",h);f.addEventListener("scroll",h);if(f==H.top)break;f=f.parent}catch(m){break}});V(null,"init",function(e){"ping"in e.config||!(d.hidden||d.K.Ra||d.K.ia)||"vpaid"==b||(e.config.ping=1);e.config.test=d.jb.adloox_test;"cookieDeprecationLabel"in H.navigator?
(e.i.d3="_pending",H.navigator.cookieDeprecationLabel.getValue().then(function(f){e.i.d3=f})):e.i.d3="_na";uc(e)});V(null,"impression",function(e){(e.config.js_imp||[]).forEach(function(f){var g=H.document.createElement("iframe");g.style.display="none";g.src="javascript:false";g.onload=function(){var h=g.contentWindow.document.createElement("script");h.src=d.url(e,f);g.contentWindow.document.head.appendChild(h)};vc(g,S);e.subscribe("end",function(){g.parentNode.removeChild(g)})});(e.config.html_imp||
[]).forEach(function(f){var g=H.document.createElement("iframe");g.style.display="none";g.src=f;vc(g,S);e.subscribe("end",function(){g.parentNode.removeChild(g)})})});N(H.navigator.getUserAgent)&&(this.ba(),H.navigator.getUserAgent().then(function(e){a("CH-UA",e);V(null,"init",function(f){for(var g in e)ib(e[g])&&e[g].length&&(f.i["ch_ua_"+g]=e[g])});d.g()}))}la(tc,sc);
function Yb(a){var b=a.document;b=b.documentElement||b.body.parentNode||b.body;var c=void 0!==a.pageXOffset;return{x:P(c?a.pageXOffset:b.scrollLeft),y:P(c?a.pageYOffset:b.scrollTop)}}function Rb(a){var b=U(a);a=a.ownerDocument.documentElement;return{width:Math.max(a.clientWidth,b.innerWidth||0),height:Math.max(a.clientHeight,b.innerHeight||0)}}n=tc.prototype;n.frameElement=function(a){a.ownerDocument&&(a=U(a));try{return a.frameElement}catch(b){return null}};
n.la=function(a){var b=null;try{b=a.getBoundingClientRect(),b={left:P(b.left),right:P(b.right),top:P(b.top),bottom:P(b.bottom)},b.width=b.right-b.left,b.height=b.bottom-b.top}catch(c){}return b};
function uc(a){var b=[];("callPhantom"in H||"_phantom"in H||"phantom"in H)&&b.push("phantom");("callSelenium"in H||"_selenium"in H)&&b.push("selenium");"__nightmare"in H&&b.push("nightmare");H.navigator.webdriver&&b.push("webdriver");H.document.documentElement.getAttribute("selenium")&&b.push("docselenium");Object.keys(H).some(function(c){return/^\$cdc_/.test(c)})&&b.push("cdc");Object.keys(H).some(function(c){return/^\$wdc_/.test(c)})&&b.push("wdc");H.document.documentElement.getAttribute("webdriver")&&
b.push("docwebdriver");H.document.documentElement.getAttribute("driver")&&b.push("docdriver");/Chrome/.test(H.navigator.userAgent)&&"Google Inc"==H.navigator.vendor&&!H.navigator.plugins.length&&b.push("plugins");""===H.navigator.languages&&b.push("languages");(function(c){return!(!c.getContext||c.getContext("webgl"))})(H.document.createElement("canvas"))&&b.push("webgl");0<b.length&&(a.i.headless=b.join(","));b=[];Object.getOwnPropertyDescriptor(H.navigator,"userAgent")&&b.push("ua");(function(c,
d){return c[d]instanceof Function&&!!c[d].toString().match("^function "+d+"\\(\\) \\{\\s+\\[native code\\]\\s+\\}$")})(H,"IntersectionObserver")||b.push("io");Object.getOwnPropertyDescriptor(H.document,"hidden")&&b.push("hidden");0<b.length&&(a.i.falsify=b.join(","))}function vc(a,b){b?b.parentNode.insertBefore(a,b.nextSibling):(H.document.body||H.document.head).appendChild(a)}function Y(a){return L(a)?(a.textContent||a.innerText||"").trim():null}
n.ra=function(a,b,c){var d=c&&c["%b"]||null;if(d){var e="text/plain";c["%t"]&&(e=c["%t"],delete c["%t"]);d=new Blob([d],{type:e});delete c["%b"]}var f=this.url(a,b,c);if(f){b=function(){if(!a||a.ended||d){try{var g=new XMLHttpRequest;g.open(d?"POST":"GET",f,a?!a.ended:!0);g.timeout=500;g.send(d)}catch(h){return}return!0}};if(c=!(N(H.fetch)?function(){var g=new Request(f,{mode:"no-cors",cache:"no-store",priority:"low",keepalive:!0,method:d?"POST":"GET",body:d});if("keepalive"in g)return H.fetch(g),
!0}:K)())c=N(H.navigator.sendBeacon)?d?H.navigator.sendBeacon(f,d):H.navigator.sendBeacon(f):void 0,c=!c;c&&!b()&&((new Image).src=f);a.ended&&"undefined"!=typeof console&&console.debug("")}};
n.Ha=function(a,b){var c=this;a.i.iframe=this.K.Qa?this.K.Z?3:1:0;a.i.activetab=function(){return~~c.N};var d=function(){var h=!1;return function(m){h||(h=!0,a.j("config",m))}.bind(this)}(),e=this.url(a,b,a.i)+"&cf=1";if(e){var f=function(){var h=function(){var p=!1;return function(l){p||(p=!0,a.j("config",l))}}(),m=String.fromCharCode(97+26*Math.random())+Math.random().toString(16).substr(2);Object.defineProperty(H,m,{value:h});var k=H.document.createElement("script");k.src=e+"&jsonp="+m;k.setAttribute("data-adloox-sid",
a.M);k.onerror=function(){return h({})};vc(k,S||H.document.head)};try{var g=new XMLHttpRequest;g.open("GET",e);g.timeout=5E3;g.ontimeout=g.onerror=f;g.onload=function(){if(400<=g.status)return f();var h=g.responseText.trim();try{h=JSON.parse(h)}catch(m){}return d(h)};g.send(null)}catch(h){f()}}else d({})};n.url=function(a,b,c){if(b=sc.prototype.url.call(this,a,b,c))return b.split("[ADL_DOM]").join((this.K.uri||{}).hostname)};
n.bb=function(a,b){var c=this;if(!O(a.g)){var d=function(){c.ra(a,a.config.urlt,a.i);a.j("fw",{state:a.g})};a.g=!1;if(4==a.config.fwtype)d();else if("%%BLOCK%%"==b)a.ua&&(a.g=!0),d();else{var e={},f=Infinity,g=b.map(function(l){return l.split("+").map(function(q){return q.trim().toLowerCase()})}).filter(function(l){return l.every(function(q){return 0<q.length?(f=Math.min(f,q.length),!0):!1})}).filter(function(l){l=l.sort().join("+");if(l in e)return!1;e[l]=1;return!0});if(g.length){var h=function r(q){if(q){for(var z=
[q],I=L(q.frames)?q.frames.length:0;0<I--;)z.push.apply(z,u(r(q.frames[I])));return z}}(H.top).reduce(function(q,r){try{q.push.apply(q,u(r.document.querySelectorAll("title,p")))}catch(z){}return q},[]).filter(function(q){return!q.closest("a")}).map(function(q){q=q.cloneNode(!0);q.querySelectorAll("a").forEach(function(r){return r.remove()});return Y(q).toLowerCase()}).filter(function(q){return 0<q.length});var m=h.reduce(function(q,r){try{var z=/[^\p{L}]/u}catch(I){z=/\s+/}return r.split(z).reduce(function(I,
t){t.length>=f&&(I[t]=1);return I},q)},{})}var k=g.length,p=function(){for(;0<k--;){if(g[k].every(function(l){return-1!=l.indexOf(" ")?h.some(function(q){return-1!=q.indexOf(l)}):l in m})){a.ua&&(a.g=!0);a.i.ads_forceblock=1;a.i.alerte_desc="keyword content:"+g[k].join("+");c.ra(a,a.config.urlt,a.i);break}if(0==k%100&&0<=k)return R(p,0)}a.j("fw",{state:a.g})};p()}}};function wc(a){function b(){b=K;c.start()}tc.call(this,a,"browser");var c=new dc(this);this.V[c.M]=c;S&&S.setAttribute("data-adloox-sid",c.M);this.m=10;c.subscribe("config",this.v,this);"prerender"==H.document.visibilityState?H.document.addEventListener("visibilitychange",b,cb({once:!0})):b();this.g()}la(wc,tc);
wc.prototype.xa=function(a,b,c){a.ua&&a.subscribe("impression",function(d){var e=d.C.s||H.document.body;"BODY"!=e.tagName||d.D.K.Qa||d.D.K.ia||(e=null);e&&(c.state?e.style.visibility="hidden":"hidden"==e.style.visibility&&d.config.targetelt.length&&(e.style.visibility="visible"));(d=d.audio.s)&&c.state&&(d.muted=!0)});tc.prototype.xa.call(this,a,b,c)};
wc.prototype.v=function(a){function b(){var m=d?c.K.Z?H.top.document.documentElement:void 0:xc(c,a);m?(a.A.hunt=g,a.j("adunit","VIDEO"==m.tagName?{video:m}:{slot:m})):null===m?(h++,R(b,Math.min(5E3,h*h*200))):(a.A.hunt="died",a.end())}var c=this,d=1==a.config.creatype,e=S?S.parentNode:null;if(!d&&!a.config.targetelt.length&&e){var f=/ celtra-ad-v[34] /.test(" "+e.className+" ")?e:e.querySelector(".celtra-ad-v3,.celtra-ad-v4");if(f){a.A.hunt="celtra0";e=function(){var m=f.celtra.viewabilityObservee;
a.A.hunt="celtra";a.j("adunit","VIDEO"==m.tagName?{video:m}:{slot:m})};(f.celtra||{}).loaded?e():f.addEventListener("celtraLoaded",e);return}}var g=d?"takeover":a.config.targetelt.length?"targetelt":"wabbit";a.A.hunt=g+"0";var h=0;b()};
function xc(a,b){function c(t){for(var v=[H],x=0;x<v.length;x++){var C,y=v[x];if(y){for(C=L(y.frames)?y.frames.length:0;0<C--;)-1==v.indexOf(y.frames[C])&&v.push(y.frames[C]);if(L(y.parent)&&y!=y.parent)for(-1==v.indexOf(y.parent)&&v.push(y.parent),C=L(y.parent.frames)?y.parent.frames.length:0;0<C--;)-1==v.indexOf(y.parent.frames[C])&&v.push(y.parent.frames[C])}}for(x=0;x<t.length;x++)for(C=0;C<v.length;C++){y=void 0;try{y=v[C].document}catch(B){}if(y&&y.body){var A=void 0;try{A=y.getElementById(t[x])}catch(B){A=
null}if(A)return A;try{A=y.body.getElementsByClassName(t[x])}catch(B){A=[]}if(A.length)return A[0];try{A=y.body.querySelector(t[x])}catch(B){A=null}if(A)return A}}return null}function d(t){function v(Na){var na=Math.log(a.m-A+2);na*=na;if(!x)return na;var Qb=g(C);Na=g(Na);!Qb&&Na?na*=.2:Qb&&!Na&&(na*=5);return na}var x=null,C=null,y=null,A=a.m,B=t;if(B.ownerDocument.head.contains(B)){B=B.ownerDocument.body.lastChild;if(!B)return null;do B=B.previousSibling;while(B&&1!=B.nodeType)}var F=null,E=null,
W=null,X=null,oa=0,pa=0;do{if(!F&&!E&&B&&"BODY"!=B.tagName){F=E=W=X=B;(B=B.parentNode)&&"BODY"==B.tagName&&(B=null);do E=E.nextSibling;while(E&&1!=E.nodeType)}if(F&&oa>=pa){var za=(W=h(F))&&v(W);!W||x&&W.width*W.height/za<C.width*C.height/y||!e(F,W)||(x=F,y=za,C=W);W=F;do F=F.previousSibling;while(F&&1!=F.nodeType);for(;F&&F.children&&F.children.length;)F=F.children[F.children.length-1],oa++}if(E&&pa>=oa){za=(X=h(E))&&v(X);!X||x&&X.width*X.height/za<C.width*C.height/y||!e(E,X)||(x=E,y=za,C=X);X=E;
do E=E.nextSibling;while(E&&1!=E.nodeType);for(;E&&E.children&&E.children.length;)E=E.children[0],pa++}!F&&W&&oa>=pa&&((F=W.parentNode)&&"BODY"==F.tagName&&(W=F=null),oa--);!E&&X&&pa>=oa&&((E=X.parentNode)&&"BODY"==E.tagName&&(X=E=null),pa--)}while((F||E||B)&&0<A--);x||250!=a.m||"complete"!==t.ownerDocument.readyState||(x=void 0);a.m=Math.min(250,2*a.m);return x}function e(t,v){if(!jb(t))return!1;switch(t.tagName){case "DIV":var x=t.style["background-image"];if(x&&!/^url\("?([^")]+)"?\)$/.test(x))break;
case "SPAN":if(t.innerText&&t.innerText.trim())break;case "ARTICLE":case "VIDEO":case "IMG":case "CANVAS":case "OBJECT":case "EMBED":case "SVG":case "IFRAME":case "INS":return"proxy"!=t.getAttribute("data-adloox-type")&&f(t,v)}return!1}function f(t,v){if(t.clientWidth+5<t.scrollWidth)return!1;v=v||a.la(t);if(20>v.width||20>v.height)return!1;t=Yb(U(t));return 0<=v.top+t.y+5&&0<=v.left+t.x+5}function g(t){return!!{"390x220":1,"320x240":1,"320x250":1,"320x300":1,"600x400":1,"330x280":1,"320x100":1,"970x250":1,
"320x50":1,"120x20":1,"160x20":1,"210x30":1,"300x600":1,"300x1050":1,"970x90":1,"300x250":1,"180x150":1,"160x600":1,"720x90":1,"970x60":1,"120x60":1,"80x30":1,"600x250":1,"600x150":1,"600x600":1,"720x310":1,"550x480":1}[t.width+"x"+t.height]}function h(t){if(t=a.la(t))t.width=10*(t.width/10|0),t.height=10*(t.height/10|0);return t}var m=S||H.document.body;try{if(b.config.targetelt.length)return c(b.config.targetelt);var k=m;try{for(;!f(k)&&U(k)!=H.top;){k=a.frameElement(k);if(!k)break;m=k}}catch(t){}k=
null;k=d(m);var p=a.frameElement(m);!k&&p&&(k=d(p));if(!k&&(U(m)!=H.top||b.D.K.ia)){var l=m.ownerDocument.body;l&&f(l)&&(k=l)}if(!k&&p&&(U(p)!=H.top||b.D.K.ia)){var q=p.ownerDocument.body;q&&f(q)&&(k=q)}if(k)for(var r=h(k);;){var z=k.parentNode;if(!z||!e(z))break;var I=h(z);if(!I||r.width!=I.width||r.height!=I.height)break;k=z}return k}catch(t){b.j("error",{err:t.message,"%b":t.stack})}};function yc(a){function b(){L(H.mraid)&&N(H.mraid.getState)?"loading"==H.mraid.getState()?H.mraid.addEventListener("ready",c):c():b.t=R(b,200)}function c(){d.j("MRAID.ready");d.A.mraid={version:H.mraid.getVersion(),env:H.MRAID_ENV};1<d.A.mraid.version&&(d.A.mraid.type=H.mraid.getPlacementType());d.C.data({id:"mraid",X:!1});R(d.start,0)}tc.call(this,a,"mraid");this.m=this.v=null;var d=new dc(this);this.V[d.M]=d;d.config.creatype=2;S&&S.setAttribute("data-adloox-sid",d.M);d.subscribe("start",this.Fa,
this);b();this.g()}la(yc,tc);yc.prototype.xa=function(a,b,c){if(c.state)try{H.mraid.close(),H.mraid.close(),H.mraid.unload()}catch(d){}tc.prototype.xa.call(this,a,b,c)};
yc.prototype.Fa=function(a){var b=this,c=a.R.timeline("vwm"),d=a.R.timeline("szm",null,["w","h"]),e=a.R.timeline("scm",null,["w","h","o"]),f=a.R.timeline("pgm"),g=Q();this.v="hidden"==H.mraid.getState();T(f,~~!this.v,g);H.mraid.addEventListener("stateChange",function(l){a.j("MRAID.stateChange",l);b.v="hidden"==l;T(f,~~!b.v);b.v&&a.j("send.visi");zc(b,a)});if(3<=a.A.mraid.version){H.mraid.addEventListener("exposureChange",function(l){a.j("MRAID.exposureChange",l);b.m=l/100;T(c,l);zc(b,a)});var h=a.R.timeline("aum");
H.mraid.addEventListener("audioVolumeChange",function(l){T(h,l)})}else this.m=~~H.mraid.isViewable(),T(c,100*this.m,g),H.mraid.addEventListener("viewableChange",function(l){a.j("MRAID.viewableChange",l);b.m=~~l;T(c,100*b.m);zc(b,a)});if(1<a.A.mraid.version){var m=function(){var l=Q(),q=H.mraid.getScreenSize();T(e.w,q.width,l);T(e.h,q.height,l);R(m,1E3)},k=H.mraid.getScreenSize();k&&(a.i.resolution=k.width+"x"+k.height);m()}if(2<=a.A.mraid.version){k=function(l,q,r){r=r||Q();T(d.w,l,r);T(d.h,q,r);
if(3<=a.A.mraid.version&&N(H.mraid.getCurrentAppOrientation)){l=-1;switch(H.mraid.getCurrentAppOrientation().orientation){case "portrait":l=0;break;case "landscape":l=1}-1!=l&&T(e.o,l,r)}};H.mraid.addEventListener("sizeChange",k);var p=H.mraid.getCurrentPosition();k(p.width,p.height,g)}zc(this,a);a.j("adunit",{slot:H.document.documentElement})};function zc(a,b){b.C.data({id:"mraid",state:a.v,ratio:a.m})};function Ac(a){tc.call(this,a,"vpaid");var b=this;this.I=null;this.gb=[];this.v=this.Za=this.ya=this.ta=this.Pa=this.height=this.width=this.J=this.slot=this.Va=this.Wa=this.Ma=this.B=null;this.Ga=2;this.oa=Infinity;this.ka=this.Xa=this.ga=null;this.Oa=this.wa=!1;this.volume=null;this.Fa=0;this.m=H.navigator.connection?1E3*H.navigator.connection.downlink:5E4;this.O=function(e){(b.B==b.W?b.I.j:K).apply(null,[e].concat(u(w.apply(1,arguments))))};this.Ea=[[.01,function(){return b.O("VPAID.AdVideoStart")}],
[.25,function(){return b.O("VPAID.AdVideoFirstQuartile")}],[.5,function(){return b.O("VPAID.AdVideoMidpoint")}],[.75,function(){return b.O("VPAID.AdVideoThirdQuartile")}],[.99,function(){return b.O("VPAID.AdVideoComplete")}]];this.Oa=!1;this.W={resizeAd:function(e,f,g){this.width=e;this.height=f;this.Pa=g;this.I.j("VPAID.AdSizeChange")},startAd:function(){this.W.startAd=K;this.J.play()},stopAd:function(){this.W.stopAd=K;this.I.end()},pauseAd:function(){this.J.pause()},resumeAd:function(){this.J.play()},
expandAd:K,collapseAd:K,skipAd:function(){this.wa&&(this.W.skipAd=K,this.Oa=!0,this.B.stopAd.call(this.B))},getAdLinear:function(){return!0},getAdWidth:function(){return this.width},getAdHeight:function(){return this.height},getAdExpanded:function(){return!1},getAdSkippableState:function(){return this.wa},getAdRemainingTime:function(){return isFinite(this.J.duration)?this.J.duration-this.J.currentTime:-2},getAdDuration:function(){return isFinite(this.J.duration)?this.J.duration:-2},getAdVolume:function(){return isFinite(this.J.volume)?
this.J.volume:1},setAdVolume:function(e){M(e)&&0<=e&&1>=e&&(this.J.volume=e)},getAdCompanions:function(){return this.Xa},getAdIcons:function(){return!1}};for(var c in this.W)this.W[c]=this.W[c].bind(this);this.ha={handshakeVersion:function(e){e=P(e);1<=e&&2>=e&&(this.Ga=e);return this.Ga+".0"},initAd:function(e,f,g,h,m,k){function p(){l.ka&&l.O("VPAID.AdClickThru",Y(l.ka),l.ka.id,!0)}var l=this,q=(((m||{}).AdParameters||"").match(/(?:^|.*&)vpaid=adloox(?:$|&.*)/)||[""])[0],r=new dc(this,q);r.config.creatype=
23;this.I=this.V[r.M]=r;S&&S.setAttribute("data-adloox-sid",r.M);q&&("adparameters"in r.config?m.AdParameters=r.config.adparameters:delete m.AdParameters);this.Ma=Q();this.Wa=this.width=e;this.Va=this.height=f;this.Pa=g;this.ta=h;this.ya=m;this.Za=k;this.slot=k.slot;this.J=k.videoSlot;r.A.vpaid={videoSlotCanAutoPlay:k.videoSlotCanAutoPlay,videoSlotIsAProxy:!jb(this.J)||"VIDEO"!=this.J.tagName||!!Object.getOwnPropertyDescriptor(this.J,"tagName")};r.audio.data({id:"vpaid",X:!1});r.subscribe("VPAID.AdStarted",
function(){l.volume=Bc(l)});this.gb.forEach(function(z){return l.ha.subscribe.apply(l.ha,u(z))});r.start();r.subscribe("fw",function(z,I,t){t.state&&l.$("adloox.com brand safety")});r.subscribe("adunit",function(z,I,t){function v(){y||(y=!0,l.O("VPAID.AdStarted"),l.B==l.W&&isFinite(l.oa)&&(l.ga=U(l.slot).document.createElement("div"),l.ga.innerText="Skip ad",l.ga.onclick=function(A){l.wa&&z.j("VPAID.AdSkipped");A.stopPropagation()},l.ga.style="display: block; position: absolute; bottom: 2em; right: 0; background-color: #000; color: white; font-size: 1em; font-weight: bold; width: auto; padding: 8px; z-index: 1000; border: 1px solid white; border-right: none; cursor: pointer; user-select: none;opacity: 0.3;",
z.subscribe("VPAID.AdSkippableStateChange",function(){l.ga.style="display: block; position: absolute; bottom: 2em; right: 0; background-color: #000; color: white; font-size: 1em; font-weight: bold; width: auto; padding: 8px; z-index: 1000; border: 1px solid white; border-right: none; cursor: pointer; user-select: none;opacity: 0.6;"}),l.slot.appendChild(l.ga)))}function x(A,B){t.video.addEventListener(A,B);C.push([A,B])}var C=[];z.subscribe("end",function(){C.forEach(function(A){t.video.removeEventListener(A[0],
A[1])})});x("loadedmetadata",function(){l.O("VPAID.AdLoaded");l.O("VPAID.AdDurationChange");x("durationchange",function(){l.O("VPAID.AdDurationChange")})});var y=!1;x("play",v);x("timeupdate",function(){2>l.Ga&&l.O("VPAID.AdRemainingTimeChange");isFinite(l.oa)&&!l.wa&&t.video.currentTime>=l.oa&&(l.wa=!0,l.O("VPAID.AdSkippableStateChange"));l.ga&&isFinite(l.oa)&&(l.ga.innerText=l.wa?"Skip ad":Math.max(0,Math.ceil(l.oa-t.video.currentTime)));var A=isFinite(t.video.duration)&&0<t.video.duration&&t.video.currentTime/
t.video.duration;l.Ea=l.Ea.filter(function(B){var F=M(B[0])?B[0]:Date.parse("1970-01-01 "+B[0]+"Z")/1E3/t.video.duration;if(A<F)return!0;B[1]();return!1})});x("playing",function(){var A=y;y||v();A&&z.j("rollstate.run");l.O("VPAID.AdPlaying")});x("pause",function(){t.video.ended||(z.j("rollstate.pause"),l.O("VPAID.AdPaused"))});x("volumechange",function(){Bc(l)});l.B==l.W&&x("ended",function(){l.B.stopAd.call(l.B)});x("error",function(){l.$(t.video.error?t.video.error.message:"unable to load video")})});
r.subscribe("VPAID.AdLoaded",function(z){l.La(z)});r.subscribe("VPAID.AdSizeChange",function(z){z.j("geometry")});r.subscribe("VPAID.AdImpression",r.j.bind(null,"send.visi"));r.subscribe("VPAID.AdVideoFirstQuartile",r.j.bind(null,"send.visi"));r.subscribe("VPAID.AdVideoMidpoint",r.j.bind(null,"send.visi"));r.subscribe("VPAID.AdVideoThirdQuartile",r.j.bind(null,"send.visi"));r.subscribe("VPAID.AdVideoComplete",r.j.bind(null,"send.visi"));this.slot.addEventListener("click",p,cb({capture:!!this.ka,passive:!0}));
r.subscribe("end",function(){l.slot.removeEventListener("click",p);if(l.B==l.W){delete l.J.src;try{delete l.J.preload}catch(z){}l.O(l.Oa&&2<=l.Ga?"VPAID.AdSkipped":"VPAID.AdStopped")}});e=r.config.vast;"::"==e.substr(0,2)?(r.config.vast_clickthru&&(this.ka=document.createElement("p"),this.ka.textContent=r.config.vast_clickthru),r=Cc(this,r,e.substr(2))):r=":"==e.substr(0,1)?Dc(this,r,e.substr(1)):Ec(this,r,e);if(!r)return this.$("unsuitable vast parameter")},startAd:function(){var e=this;2!=this.I.config.fwtype&&
4!=this.I.config.fwtype?this.I.subscribe("fw",function(f,g,h){h.state||e.B.startAd.call(e.B)}):this.B.startAd.call(this.B)},subscribe:function(e,f,g){if(this.I){var h=function(m,k){e.apply(g||H,w.apply(2,arguments))};h.Db=e;this.I.subscribe("VPAID."+f,h)}else this.gb.push([e,f,g])},unsubscribe:function(e,f){this.I.unsubscribe("VPAID."+f,e)}};"resizeAd stopAd pauseAd resumeAd expandAd collapseAd skipAd getAdLinear getAdWidth getAdHeight getAdExpanded getAdSkippableState getAdRemainingTime getAdDuration getAdVolume setAdVolume getAdCompanions getAdIcons".split(" ").forEach(function(e){b.ha[e]=
function(){if(this.B)return this.B[e].apply(this.B,w.apply(0,arguments))}});for(var d in this.ha)this.ha[d]=function(e,f){var g=w.apply(2,arguments);try{var h=f.apply(this,g);K.apply(null,["VPAID",e].concat(u(g),["=>",h]));return h}catch(m){}}.bind(this,d,this.ha[d]);this.kb=function(){return this.ha}.bind(this);this.g()}la(Ac,tc);
function Cc(a,b,c){b.j("adunit",{slot:a.slot,video:a.J});a.B=a.W;Bc(a);b.subscribe("impression",function(d){d.j("VPAID.AdImpression")});a.J.preload="metadata";a.J.src=a.url(b,ib(c)?c:Y(c));a.J.load();return!0}function Bc(a){var b=a.B.getAdVolume.call(a.B);0<a.volume&&0==b?a.O("VPAID.AdVolumeChange.mute"):0==a.volume&&0<b&&a.O("VPAID.AdVolumeChange.unmute");a.volume=b;a.O("VPAID.AdVolumeChange");a.I.audio.data({id:"vpaid",ratio:a.volume,muted:0==a.volume});return b}
function Fc(a,b,c,d,e,f){for(var g=Math.max(a.m,a.ta),h=[],m=0;m<c.length;m++){var k=c[m];if(!k.getAttribute("apiFramework")){var p=k.getAttribute("type");if(p){var l=k.getAttribute("codec");l&&(p+=';codecs="'+l+'"');if(a.J.canPlayType(p)){var q=k.getAttribute("width"),r=k.getAttribute("height");q&&r&&(p="true"==(k.getAttribute("scalable")||"false").toLowerCase(),l="true"==(k.getAttribute("maintainAspectRatio")||"true").toLowerCase(),(d||p||q==a.width&&r==a.height)&&!(!e&&p&&1<q*r/(a.width*a.height))&&
(q=a.width/q/(a.height/r),e||!p||!l||.95<=q&&1.05>=q))&&(p=Math.max(k.getAttribute("bitrate"),k.getAttribute("maxBitrate")),g<p||!f&&0<a.ta&&p>a.ta||h.push(k))}}}}h=h.sort(function(z,I){z=Math.max(z.getAttribute("bitrate"),z.getAttribute("maxBitrate"));I=Math.max(I.getAttribute("bitrate"),I.getAttribute("maxBitrate"));return f?z-I:I-z});g=h[0];for(m=1;m<h.length;m++)k=g.getAttribute("width"),p=g.getAttribute("height"),l=h[m].getAttribute("width"),q=h[m].getAttribute("height"),1-Math.abs(l*q/(a.width*
a.height))<1-Math.abs(k*p/(a.width*a.height))&&(g=h[m]);return g?Cc(a,b,g):d&&e&&f?!1:Fc(a,b,c,!0,!!d,!!e)}
function Dc(a,b,c,d){d&&(a.ya=d.querySelector("AdParameters"),a.ya={AdParameters:Y(a.ya)||void 0});var e=document.createElement("iframe");e.src="javascript:false";e.style.display="none";e.onload=function(){var f=document.createElement("script");f.src=a.url(b,c);f.onload=function(){var g=e.contentWindow.getVPAIDAd;if(!N(g))return a.$("VPAID unit has no getVPAIDAd");a.B=g();a.B.handshakeVersion.call(a.B,"2.0");b.subscribe("VPAID.AdSkipped",b.end);b.subscribe("VPAID.AdStopped",b.end);"Loaded Started Stopped Skipped SkippableStateChange SizeChange LinearChange DurationChange ExpandedChange RemainingTimeChange VolumeChange Impression VideoStart VideoFirstQuartile VideoMidpoint VideoThirdQuartile VideoComplete ClickThru Interaction UserAcceptInvitation UserMinimize UserClose Paused Playing Log Error".split(" ").forEach(function(h){a.B.subscribe.call(a.B,
function(){b.j("VPAID.Ad"+h,w.apply(0,arguments))},"Ad"+h,a)});b.j("adunit",{slot:a.slot,video:a.J});a.B.initAd.call(a.B,a.width,a.height,a.Pa,a.ta,a.ya,a.Za)};e.contentWindow.document.head.appendChild(f)};vc(e,S);return!0}function Gc(a,b,c,d){(d=d&&d.getAttribute("skipoffset"))&&3<=a.v&&(a.oa=Date.parse("1970-01-01 "+d+"Z")/1E3,b.A.vpaid.skipoffset=a.oa);(b=c.querySelector("ClickThrough"))&&/^https?:/.test(Y(b))&&(a.ka=b)}
function Hc(a,b,c,d){var e={skip:"AdSkipped",creativeView:"AdStarted",start:"AdVideoStart",firstQuartile:"AdVideoFirstQuartile",midpoint:"AdVideoMidpoint",thirdQuartile:"AdVideoThirdQuartile",complete:"AdVideoComplete",pause:"AdPaused",resume:"AdPlaying",Impression:"AdImpression",ClickTracking:"AdClickThru",Error:"AdError",mute:"AdVolumeChange.mute",unmute:"AdVolumeChange.unmute"};[].concat(u(c.querySelectorAll("Tracking,Impression,ClickTracking,Error,Viewable,NotViewable,ViewUndetermined"))).forEach(function(h){var m=
Y(h);if(/^https?:/.test(m)){var k=function(){b.j("send",a.url(b,m))},p=h.getAttribute("event")||h.tagName;switch(p){case "progress":d&&(h=(h.getAttribute("offset")||"").trim(),"%"==h.substr(-1)?a.Ea.push([P(h.substr(0,h.length-1))/100,k]):/^[0-9:]+$/.test(h)&&a.Ea.push([h,k]));break;case "Viewable":b.Da("px_view",Y(h));break;case "NotViewable":b.Da("px_viewn",Y(h));break;case "ViewUndetermined":b.Da("px_viewu",Y(h));break;default:(h=e[p])&&b.subscribe("VPAID."+h,k)}}});c=c.querySelectorAll("Survey");
for(var f=0;f<c.length;f++){var g=Y(c[f]);/^https?:/.test(g)&&b.Da("js_imp",g)}}
function Ec(a,b,c,d){var e=new XMLHttpRequest;e.open("GET",a.url(b,c));e.withCredentials=!d;e.onload=function(){if(4==e.readyState){if(400<=e.status)return a.$.call(a,"failed to fetch VAST");a:{var f=e.responseXML;if("VAST"!=f.documentElement.tagName)var g=a.$("not a VAST tag");else{a.v=parseFloat(f.documentElement.getAttribute("version"));g=!a.Fa&&b.config.vast_skiptracking;var h=[],m=[];f=f.querySelectorAll("Ad");for(var k=0;k<f.length;k++){var p=f[k],l=p.getAttribute("sequence");l?(l=P(l),0<l&&
(h[l]=p)):m.push(p)}h=h.concat(m);for(m=0;m<h.length;m++)if(f=h[m]){if(k=f.querySelector("VASTAdTagURI")){Gc(a,b,f);g||Hc(a,b,f);g=5>a.Fa++?Ec(a,b,Y(k)):a.$("too many wrappers");break a}a.Xa=(f.querySelector("CompanionAds")||{}).outerHTML;k=f.querySelector("Creatives").querySelectorAll("Creative");for(p=0;p<k.length;p++)if(l=f.querySelector("Linear")){Gc(a,b,f,l);g||Hc(a,b,f,l);var q=l.querySelectorAll("MediaFiles > MediaFile"),r=l.querySelector("MediaFiles > MediaFile[apiFramework='VPAID'][type='application/javascript']");
if(r&&Dc(a,b,Y(r),l)||Fc(a,b,q)){g=!0;break a}}}b.j("error",{err:"vpaid","%b":"no suitable linear in "+b.config.vast+": width="+a.width+", height="+a.height+", desiredBitrate="+a.ta+" (connmax="+a.m+")"});g=!1}}if(!g)return a.$.call(a,"VAST returned nothing usable")}};e.onerror=function(){if(d)return a.$.call(a,"unable to download VAST");Ec(a,b,c,!0)};e.ontimeout=a.$.bind(a,"timeout downloading VAST");e.timeout=5E3;e.send(null);return!0}
Ac.prototype.La=function(a){var b=this,c=Q();a.R.timeline("szv",function(d){function e(f,g){T(d.w,b.B.getAdWidth.call(b.B),g);T(d.h,b.B.getAdHeight.call(b.B),g)}T(d.w,b.Wa,b.Ma);T(d.h,b.Va,b.Ma);a.subscribe("VPAID.AdSizeChange",e);e(a,c);return!0},["w","h"]);a.R.timeline("auv",function(d){function e(f,g){f=b.B.getAdVolume.call(b.B);0<=f&&T(d,100*f,g)}a.subscribe("VPAID.AdVolumeChange",e);e(a,c);return!0});a.R.timeline("evv",function(d){function e(f,g,h){T(d,f,h)}"Interaction UserMinimize UserClose UserAcceptInvitation UserClose UserAcceptInvitation ClickThru".split(" ").forEach(function(f){return a.subscribe("VPAID.Ad"+
f,e.bind(b,"int"))});a.subscribe("VPAID.AdSkipped",e.bind(b,"skp"));return!0},null,!0)};Ac.prototype.$=function(a){this.I.j("VPAID.AdError",a);this.I.end()};function Ic(a){sc.call(this,a,"omid");var b=this;Sa(function(c){switch(c.type){case "sessionStart":var d=new dc(b,c.data.verificationParameters);d.config.creatype=0;b.V[c.adSessionId]=d;var e=b.La(d);d.data={context:c.data.context,ca:e};S&&S.setAttribute("data-adloox-sid",d.M);b.Ua(c);default:try{b.Ta(c)}catch(f){b.V[c.adSessionId].j("error",{err:"omid: "+f.message,"%b":f.stack})}}});this.g()}la(Ic,sc);n=Ic.prototype;
n.La=function(a){return{$a:null,Ib:a.R.timeline("vwo"),Cb:a.R.timeline("auo"),cb:a.R.timeline("sco",null,["w","h"]),ib:a.R.timeline("vpo",null,["w","h"]),ab:a.R.timeline("evo")}};
n.Ta=function(a){var b=this.V[a.adSessionId],c=a.data,d=b.data.context;b.j("OMID."+a.type,a);Jc(b,a);switch(a.type){case "sessionStart":var e=function(g){return ib(g)&&!g.length?void 0:g};b.A.omid={};["impressionType","creativeType","mediaType","pageUrl","contentUrl"].forEach(function(g){return b.A.omid[g]=e(c[g])});"apiVersion environment accessMode adSessionType omidNativeInfo omidJSInfo app deviceInfo".split(" ").forEach(function(g){return b.A.omid[g]=e(d[g])});["pageUrl","contentUrl"].forEach(function(g){ib(b.A.omid[g])&&
(b.A.omid[g]=b.A.omid[g].substr(0,500))});b.A.omid.contentUrl==b.A.omid.pageUrl&&delete b.A.omid.contentUrl;b.C.data({id:"omid",X:!1});b.audio.data({id:"omid",X:!1});switch(c.creativeType){case "audio":case "video":b.config.creatype=6;break;default:b.config.creatype=2}break;case "sessionError":b.j("error",{err:"omid","%b":c.message});break;case "sessionFinish":b.end();break;case "loaded":switch(c.creativeType){case "audio":case "video":b.config.creatype=6;break;default:b.config.creatype=2}b.A.omid.autoPlay=
c.autoPlay;b.A.omid.skipOffset=c.skipOffset;b.A.omid.position=c.position;b.A.omid.duration=c.duration;break;case "impression":if(!b.config.creatype)switch(c.mediaType){case "video":b.config.creatype=6;break;default:b.config.creatype=2}6!=b.config.creatype||b.data.audio||b.audio.data({id:"omid",U:!0,ratio:1});b.j("send.visi");case "geometryChange":this.Aa(b,a);a=c.adView;if(L(a)){var f=a.geometry||{};b.j("geometry",{width:f.width||0,height:f.height||0,top:f.y||0,left:f.x||0});this.hidden=a.reasons.some(function(g){return["notFound",
"hidden","noOutputDevice"].includes(g)});this.va=a.reasons.some(function(g){return["noWindowFocus","backgrounded"].includes(g)});b.C.data({id:"omid",U:!0,ratio:(a.percentageInView||0)/100})}break;case "start":this.Aa(b,a);case "volumeChange":a=function(g){g=Math.max(0,Math.min(1,M(g)?g:void 0));return isNaN(g)?1:g};b.audio.data({id:"omid",U:!0,ratio:a(c.mediaPlayerVolume)*a(c.videoPlayerVolume)*a(c.deviceVolume)});b.data.audio=!0;break;case "resume":b.j("rollstate.run");b.j("send.visi");break;case "pause":b.j("rollstate.pause");
b.j("send.visi");break;case "firstQuartile":case "midpoint":case "thirdQuartile":case "complete":b.j("send.visi")}};
function Jc(a,b){var c=b.timestamp-a.data.ca.$a;switch(b.type){case "sessionStart":a.data.ca.$a=b.timestamp-(Q()-lb);break;case "impression":case "geometryChange":if(!L(b.data.adView))break;T(a.data.ca.Ib,b.data.adView.percentageInView,c);T(a.data.ca.cb.w,b.data.adView.geometry.width,c);T(a.data.ca.cb.h,b.data.adView.geometry.height,c);T(a.data.ca.ib.w,b.data.viewport.width,c);T(a.data.ca.ib.h,b.data.viewport.height,c);break;case "start":case "volumeChange":var d=function(g){g=Math.max(0,Math.min(1,
M(g)?g:void 0));return isNaN(g)?1:g},e=d(b.data.deviceVolume),f=d(b.data.mediaPlayerVolume);b=d(b.data.videoPlayerVolume);T(a.data.ca.Cb,e*f*b*100,c);break;case "skipped":T(a.data.ca.ab,"skp",c);break;case "adUserInteraction":T(a.data.ca.ab,"int",c)}}
n.Aa=function(a,b){if(!a.data.Aa){b=b.data;var c=a.data.context,d={};switch(b.creativeType){case "audio":break;default:if(!L(b.adView)||-1!=b.adView.reasons.indexOf("notFound"))return;d.slot=c.slotElement;d.video=c.videoElement;b.adView&&(d.rect=b.adView.geometry);var e=b.viewport;L(e)&&0<e.width*e.height&&(a.A.omid.viewport=b.viewport,"limited"==c.accessMode&&(a.i.resolution=b.viewport.width+"x"+b.viewport.height));if(!("resolution"in a.i))return}a.start();a.j("adunit",d);a.data.Aa=!0}};
n.Ua=function(a){function b(g){return c(g)}function c(g){for(var h=e.length;0<h--;){var m=e[h][0].timestamp;if(m==g.timestamp){e[h].unshift(g);return}if(m>g.timestamp)break}e.splice(h+1,0,[g])}var d=this;this.Ua=K;V(null,"impression",function(g){(g.config.js_imp||[]).forEach(function(h){Va(this.url(g,h))})});var e=[],f=a.data.context;-1!=f.supports.indexOf("vlid")&&G.addEventListener(a.data.creativeType?"media":"video",b);"limited"!=f.accessMode&&-1==f.supports.indexOf("clid")||G.addEventListener("geometryChange",
b);G.addEventListener("impression",b);R(function(){c=d.Ta.bind(d);e=e.reduce(function(h,m){return h.concat(m)},[]);for(var g=e.length;0<g--;)c(e[g])},0)};n.ra=function(a,b,c){c&&c["%b"]&&(c.body=c["%b"],delete c["%b"]);(a=this.url(a,b,c))&&Ta(a)};
n.Ha=function(a,b,c){var d=function(){var f=!1;return function(g){f||(f=!0,a.j("config",g))}.bind(this)}(),e=String.fromCharCode(97+26*Math.random())+Math.random().toString(16).substr(2);Object.defineProperty(H,e,{value:d});(b=this.url(a,b,c)+("&cf=1&jsonp="+e))?Va(b,function(){},function(){return d({})}):d({})};n.url=function(a,b,c){if(b=sc.prototype.url.call(this,a,b,c))return b.split("[ADL_DOM]").join(rb(a.A.omid.pageUrl||a.A.omid.contentUrl||"").hostname||"")};var Z=null;function Kc(){delete H.getVPAIDAd;Z=K;Z=new Ac(K);return Z.kb()}function Lc(){H.getVPAIDAd==Kc&&delete H.getVPAIDAd;Z||(L(H.MRAID_ENV)||L(H.mraid)?(Z=K,Z=new yc(K)):(Z=K,Z=new wc(K)))}function Mc(){R(function(){R(Lc,0)},0)}if(G)try{Z=new Ic(K)}catch(a){}Z||(J?(N(H.getVPAIDAd)||(H.getVPAIDAd=Kc),"loading"===H.document.readyState?H.document.addEventListener("DOMContentLoaded",Mc):Mc()):Z=new sc(K));}).call(this);
