// Copyright 2011 Google Inc. All Rights Reserved. (function(){var l,aa=function(a){var b=0;return function(){return b>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};return e}); fa("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c0&&c>0;)if(d[--c]!=b[--e])return!1;return e<=0}});fa("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f=f}});fa("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}}); fa("String.prototype.repeat",function(a){return a?a:function(b){var c=Fa(this,null,"repeat");if(b<0||b>1342177279)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});fa("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)sa(b,d)&&c.push([d,b[d]]);return c}});fa("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});fa("Number.MIN_SAFE_INTEGER",function(){return-9007199254740991}); fa("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)sa(b,d)&&c.push(b[d]);return c}});fa("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}});fa("Array.prototype.includes",function(a){return a?a:function(b,c){var d=this;d instanceof String&&(d=String(d));var e=d.length;c=c||0;for(c<0&&(c=Math.max(c+e,0));c0&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});fa("Math.sign",function(a){return a?a:function(b){b=Number(b);return b===0||isNaN(b)?b:b>0?1:-1}}); fa("Array.prototype.flat",function(a){return a?a:function(b){b=b===void 0?1:b;var c=[];Array.prototype.forEach.call(this,function(d){Array.isArray(d)&&b>0?(d=Array.prototype.flat.call(d,b-1),c.push.apply(c,d)):c.push(d)});return c}});fa("Number.parseInt",function(a){return a||parseInt});/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var Ha=Ha||{},B=this||self,Ia=function(a,b,c){a=a.split(".");c=c||B;a[0]in c||typeof c.execScript=="undefined"||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||b===void 0?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b},Ka=function(a,b){var c=Ja("CLOSURE_FLAGS");a=c&&c[a];return a!=null?a:b},Ja=function(a){a=a.split(".");for(var b=B,c=0;c>>0),Pa=0,Qa=function(a,b,c){return a.call.apply(a.bind,arguments)},Ra=function(a,b,c){if(!a)throw Error();if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var e=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(e,d);return a.apply(b,e)}}return function(){return a.apply(b, arguments)}},Sa=function(a,b,c){Sa=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Qa:Ra;return Sa.apply(null,arguments)},Ta=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var d=c.slice();d.push.apply(d,arguments);return a.apply(this,d)}},Ua=function(){return Date.now()},Va=function(a){return a},Wa=function(a,b){function c(){}c.prototype=b.prototype;a.Xb=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.kq=function(d,e, f){for(var g=Array(arguments.length-2),h=2;h=0;--d)d in c&&b.call(void 0,c[d],d,a)} var bb=function(a,b){for(var c=a.length,d=[],e=0,f=typeof a==="string"?a.split(""):a,g=0;g=0;d--)if(d in c&&b.call(void 0,c[d],d,a))return d;return-1}function kb(a,b){return Za(a,b)>=0} function lb(a,b){b=Za(a,b);var c;(c=b>=0)&&nb(a,b);return c}function nb(a,b){return Array.prototype.splice.call(a,b,1).length==1}function ob(a,b){var c=0;ab(a,function(d,e){b.call(void 0,d,e,a)&&nb(a,e)&&c++})}function pb(a){return Array.prototype.concat.apply([],arguments)}function qb(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;db?1:a=.3:this.na>=.5};var Bb={Jo:0,Po:1},Cb={668123728:0,668123729:1},Eb={44731964:0,44731965:1},Fb={NONE:0,tp:1,To:2},Gb={480596784:0,480596785:1,21063355:2};function Hb(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Ib(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function Jb(a){var b=Lb,c;for(c in b)if(!a.call(void 0,b[c],c,b))return!1;return!0}function Mb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Nb(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function Ob(a,b){var c=Ma(b),d=c?b:arguments;for(c=c?0:1;c0&&(b[e]=d)},a);return b},lc=function(a){a=kc(a);var b=[];Hb(a,function(c,d){d in Object.prototype||typeof c!="undefined"&& b.push([d,":",c].join(""))});return b},nc=function(a){var b=mc().ea;b.l&&$a(Mb(b.g),function(c){return bc(c,a)})};var oc=function(a){gc(a,"od",xb);ac(gc(a,"opac",Bb));ac(gc(a,"sbeos",Bb));ac(gc(a,"prf",Bb));ac(gc(a,"mwt",Bb));gc(a,"iogeo",Bb)};var pc=document,C=window;var qc=Ka(610401301,!1),rc=Ka(653718497,Ka(1,!0));var sc=function(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c},tc=function(a,b){var c=String(b).toLowerCase();a=String(a.slice(0,b.length)).toLowerCase();return(c/g,yc=/"/g,zc=/'/g,Ac=/\x00/g,Bc=/[\x00&<>"']/,Cc=function(a,b){return a.indexOf(b)!=-1},Dc=function(a,b){return Cc(a.toLowerCase(), b.toLowerCase())},Fc=function(a,b){var c=0;a=uc(String(a)).split(".");b=uc(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;c==0&&e b?1:0};function Gc(){var a=B.navigator;return a&&(a=a.userAgent)?a:""}var Hc,Ic=B.navigator;Hc=Ic?Ic.userAgentData||null:null;function Jc(a){return qc?Hc?Hc.brands.some(function(b){return(b=b.brand)&&Cc(b,a)}):!1:!1}function Kc(a){return Cc(Gc(),a)};function Lc(){return qc?!!Hc&&Hc.brands.length>0:!1}function Mc(){return Lc()?!1:Kc("Opera")}function Nc(){return Lc()?!1:Kc("Trident")||Kc("MSIE")}function Oc(){return Lc()?Jc("Microsoft Edge"):Kc("Edg/")}function Pc(){return Kc("Firefox")||Kc("FxiOS")}function Qc(){return Kc("Safari")&&!(Rc()||(Lc()?0:Kc("Coast"))||Mc()||(Lc()?0:Kc("Edge"))||Oc()||(Lc()?Jc("Opera"):Kc("OPR"))||Pc()||Kc("Silk")||Kc("Android"))} function Rc(){return Lc()?Jc("Chromium"):(Kc("Chrome")||Kc("CriOS"))&&!(Lc()?0:Kc("Edge"))||Kc("Silk")}function Sc(){return Kc("Android")&&!(Rc()||Pc()||Mc()||Kc("Silk"))}function Tc(a){var b={};a.forEach(function(c){b[c[0]]=c[1]});return function(c){return b[c.find(function(d){return d in b})]||""}} function Uc(a){var b=Gc();if(a==="Internet Explorer"){if(Nc())if((a=/rv: *([\d\.]*)/.exec(b))&&a[1])b=a[1];else{a="";var c=/MSIE +([\d\.]+)/.exec(b);if(c&&c[1])if(b=/Trident\/(\d.\d)/.exec(b),c[1]=="7.0")if(b&&b[1])switch(b[1]){case "4.0":a="8.0";break;case "5.0":a="9.0";break;case "6.0":a="10.0";break;case "7.0":a="11.0"}else a="7.0";else a=c[1];b=a}else b="";return b}var d=RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g");c=[];for(var e;e=d.exec(b);)c.push([e[1],e[2],e[3]||void 0]);b=Tc(c); switch(a){case "Opera":if(Mc())return b(["Version","Opera"]);if(Lc()?Jc("Opera"):Kc("OPR"))return b(["OPR"]);break;case "Microsoft Edge":if(Lc()?0:Kc("Edge"))return b(["Edge"]);if(Oc())return b(["Edg"]);break;case "Chromium":if(Rc())return b(["Chrome","CriOS","HeadlessChrome"])}return a==="Firefox"&&Pc()||a==="Safari"&&Qc()||a==="Android Browser"&&Sc()||a==="Silk"&&Kc("Silk")?(b=c[2])&&b[1]||"":""} function Vc(a){if(Lc()&&a!=="Silk"){var b=Hc.brands.find(function(c){return c.brand===a});if(!b||!b.version)return NaN;b=b.version.split(".")}else{b=Uc(a);if(b==="")return NaN;b=b.split(".")}return b.length===0?NaN:Number(b[0])};/* Copyright Google LLC SPDX-License-Identifier: Apache-2.0 */ function Wc(a){return{valueOf:a}.valueOf()};var Xc=globalThis.trustedTypes,Yc;function Zc(){var a=null;if(!Xc)return a;try{var b=function(c){return c};a=Xc.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a}function $c(){Yc===void 0&&(Yc=Zc());return Yc};var ad=function(a){this.g=a};ad.prototype.toString=function(){return this.g+""};function bd(a){var b=$c();return new ad(b?b.createScriptURL(a):a)}function cd(a){if(a instanceof ad)return a.g;throw Error("");};var ed=function(a){this.g=a};ed.prototype.toString=function(){return this.g};var fd=new ed("about:invalid#zClosurez");function gd(a){return a instanceof ed}function hd(a){if(gd(a))return a.g;throw Error("");};var id=function(a){this.ki=a};function jd(a){return new id(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})}var kd=[jd("data"),jd("http"),jd("https"),jd("mailto"),jd("ftp"),new id(function(a){return/^[^:]*([/?#]|$)/.test(a)})];function ld(a,b){b=b===void 0?kd:b;if(gd(a))return a;for(var c=0;c")!=-1&&(a=a.replace(xc,">")),a.indexOf('"')!=-1&&(a=a.replace(yc,""")),a.indexOf("'")!=-1&&(a=a.replace(zc,"'")),a.indexOf("\x00")!=-1&&(a=a.replace(Ac,"�")));return a},Fd=function(a){return Cc(a,"&")?"document"in B?Dd(a):Ed(a):a},Dd=function(a){var b={"&":"&","<":"<",">":">", """:'"'};var c=B.document.createElement("div");return a.replace(Gd,function(d,e){var f=b[d];if(f)return f;e.charAt(0)=="#"&&(e=Number("0"+e.slice(1)),isNaN(e)||(f=String.fromCharCode(e)));f||(vd(c,td(d+" ")),f=c.firstChild.nodeValue.slice(0,-1));return b[d]=f})},Ed=function(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:return c.charAt(0)!="#"||(c=Number("0"+c.slice(1)),isNaN(c))?b:String.fromCharCode(c)}})}, Gd=/&([^;\s<&]+);?/g,Hd=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a},Id=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},E=function(a){return a==null?"":String(a)},Jd=function(){return Math.floor(Math.random()*2147483648).toString(36)+Math.abs(Math.floor(Math.random()*2147483648)^Ua()).toString(36)},Kd=Math.random()*2147483648|0,Ld=function(a){var b=Number(a);return b==0&&D(a)?NaN:b},Md=function(a){return String(a).replace(/\-([a-z])/g, function(b,c){return c.toUpperCase()})},Nd=function(){return"googleAvInapp".replace(/([A-Z])/g,"-$1").toLowerCase()},Od=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},Pd=function(a){isFinite(a)&&(a=String(a));return typeof a==="string"?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN};function Qd(){return qc?!!Hc&&!!Hc.platform:!1}function Rd(){return Kc("iPhone")&&!Kc("iPod")&&!Kc("iPad")};var Sd=function(a){Sd[" "](a);return a};Sd[" "]=function(){};var Td=function(a,b){try{return Sd(a[b]),!0}catch(c){}return!1};var Ud=Nc(),Vd=Kc("Gecko")&&!(Dc(Gc(),"WebKit")&&!Kc("Edge"))&&!(Kc("Trident")||Kc("MSIE"))&&!Kc("Edge"),Wd=Dc(Gc(),"WebKit")&&!Kc("Edge"),Xd=Wd&&Kc("Mobile"),Yd=Qd()?Hc.platform==="macOS":Kc("Macintosh"),Zd=Qd()?Hc.platform==="Windows":Kc("Windows"),$d=Qd()?Hc.platform==="Android":Kc("Android"),ae=Rd(),be=Kc("iPad"),ce=Kc("iPod"),de=Rd()||Kc("iPad")||Kc("iPod");Sc();Rc();var ee=Qc()&&!(Rd()||Kc("iPad")||Kc("iPod"));var fe=!Ud&&!Qc();var ge=function(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0};l=ge.prototype;l.clone=function(){return new ge(this.x,this.y)};l.Gd=function(a){return a instanceof ge&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};l.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};l.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};l.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this}; l.scale=function(a,b){this.x*=a;this.y*=typeof b==="number"?b:a;return this};var he=function(a,b){this.width=a;this.height=b};l=he.prototype;l.clone=function(){return new he(this.width,this.height)};l.aspectRatio=function(){return this.width/this.height};l.isEmpty=function(){return!(this.width*this.height)};l.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};l.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; l.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};l.scale=function(a,b){this.width*=a;this.height*=typeof b==="number"?b:a;return this};function ie(a){if(a instanceof sd)return a;a=String(a).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");return td(a)}function je(a){var b=ie("");return td(a.map(function(c){return ud(ie(c))}).join(ud(b).toString()))}var ke=/^[a-z][a-z\d-]*$/i,le="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),me="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),ne=["action","formaction","href"]; function oe(a){var b;if(!ke.test("div"))throw Error("");if(le.indexOf("DIV")!==-1)throw Error("");var c="":(a=je(b.map(function(d){return d instanceof sd?d:ie(String(d))})),c+=">"+a.toString()+"");return td(c)} function pe(a){for(var b="",c=Object.keys(a),d=0;d")+1,c.lastIndexOf("2&&Ue(a,d,b,2);return d},Ue=function(a,b,c,d){function e(h){h&&b.appendChild(typeof h==="string"?a.createTextNode(h):h)}for(;d0)e(f);else{a:{if(f&&typeof f.length=="number"){if(Na(f)){var g=typeof f.item=="function"||typeof f.item=="string";break a}if(typeof f==="function"){g=typeof f.item=="function";break a}}g=!1}$a(g?qb(f):f,e)}}},Te=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&& (b=b.toLowerCase());return a.createElement(b)},Ve=function(a,b){Ue(Ge(a),a,arguments,1)},We=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},Xe=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Ye=function(a){return a.children!=void 0?a.children:Array.prototype.filter.call(a.childNodes,function(b){return b.nodeType==1})},Ze=function(a,b){if(!a||!b)return!1;if(a.contains&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b|| !!(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a},Ge=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},$e=function(a,b){if("textContent"in a)a.textContent=b;else if(a.nodeType==3)a.data=String(b);else if(a.firstChild&&a.firstChild.nodeType==3){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else We(a),a.appendChild(Ge(a).createTextNode(String(b)))},af={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},bf={IMG:" ",BR:"\n"},df= function(a){var b=[];cf(a,b,!0);a=b.join("");a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");a=a.replace(/ +/g," ");a!=" "&&(a=a.replace(/^\s*/,""));return a},cf=function(a,b,c){if(!(a.nodeName in af))if(a.nodeType==3)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in bf)b.push(bf[a.nodeName]);else for(a=a.firstChild;a;)cf(a,b,c),a=a.nextSibling},ef=function(a,b){a&&(a=a.parentNode);for(var c=0;a;){if(b(a))return a;a=a.parentNode; c++}return null},Fe=function(a){this.g=a||B.document||document};l=Fe.prototype;l.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};l.lm=function(a,b,c){return Re(this.g,arguments)};l.appendChild=function(a,b){a.appendChild(b)};l.append=Ve;l.canHaveChildren=function(a){if(a.nodeType!=1)return!1;switch(a.tagName){case "APPLET":case "AREA":case "BASE":case "BR":case "COL":case "COMMAND":case "EMBED":case "FRAME":case "HR":case "IMG":case "INPUT":case "IFRAME":case "ISINDEX":case "KEYGEN":case "LINK":case "NOFRAMES":case "NOSCRIPT":case "META":case "OBJECT":case "PARAM":case "SCRIPT":case "SOURCE":case "STYLE":case "TRACK":case "WBR":return!1}return!0}; l.contains=Ze;var ff=function(){this.g=this.od=null};var gf=function(a,b){this.j=(a===void 0?0:a)||0;this.g=(b===void 0?"":b)||""};gf.prototype.ki=function(){return!!this.j||!!this.g};gf.prototype.toString=function(){return this.j+(this.g?"-":"")+this.g};gf.prototype.matches=function(a){return this.g||a.g?this.g==a.g:this.j||a.j?this.j==a.j:!1};var hf=function(){};hf.prototype.g=function(){return 0};hf.prototype.l=function(){return 0};hf.prototype.o=function(){return 0};hf.prototype.j=function(){return 0};var kf=function(){if(!jf())throw Error();};q(kf,hf);var jf=function(){return!(!C||!C.performance)};kf.prototype.g=function(){return jf()&&C.performance.now?C.performance.now():hf.prototype.g.call(this)};kf.prototype.l=function(){return jf()&&C.performance.memory?C.performance.memory.totalJSHeapSize||0:hf.prototype.l.call(this)};kf.prototype.o=function(){return jf()&&C.performance.memory?C.performance.memory.usedJSHeapSize||0:hf.prototype.o.call(this)}; kf.prototype.j=function(){return jf()&&C.performance.memory?C.performance.memory.jsHeapSizeLimit||0:hf.prototype.j.call(this)};var lf=function(){},mf=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},nf=function(a){var b=0,c=!1,d=[],e=function(){b=0;c&&(c=!1,f())},f=function(){b=B.setTimeout(e,1E3);var g=d;d=[];a.apply(void 0,g)};return function(g){d=arguments;b?c=!0:f()}};var pf=mf(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});B.addEventListener("test",null,b)}catch(c){}return a});function qf(a){return a?a.passive&&pf()?a:a.capture||!1:!1}var rf=function(a,b,c,d){return a.addEventListener?(a.addEventListener(b,c,qf(d)),!0):!1},sf=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,qf())};var tf=function(){return pc.prerendering?3:{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[pc.visibilityState||pc.webkitVisibilityState||pc.mozVisibilityState||""]||0},uf=function(a){var b;a.visibilityState?b="visibilitychange":a.mozVisibilityState?b="mozvisibilitychange":a.webkitVisibilityState&&(b="webkitvisibilitychange");return b};var vf=function(){};vf.prototype.isVisible=function(){return tf()===1};var wf=function(){return tf()===0};var yf=function(){return qc&&Hc?Hc.mobile:!xf()&&(Kc("iPod")||Kc("iPhone")||Kc("Android")||Kc("IEMobile"))},xf=function(){return qc&&Hc?!Hc.mobile&&(Kc("iPad")||Kc("Android")||Kc("Silk")):Kc("iPad")||Kc("Android")&&!Kc("Mobile")||Kc("Silk")};var zf=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Af=function(a){var b=a.match(zf);a=b[1];var c=b[3];b=b[4];var d="";a&&(d+=a+":");c&&(d=d+"//"+c,b&&(d+=":"+b));return d},Bf=function(a,b){if(a){a=a.split("&");for(var c=0;c=0){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?Bd(e):"")}}},Cf=function(a,b,c){c=c!=null?"="+encodeURIComponent(String(c)): "";if(b+=c){c=a.indexOf("#");c<0&&(c=a.length);var d=a.indexOf("?");if(d<0||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.slice(0,d),e,a.slice(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;a=a[0]+(a[1]?"?"+a[1]:"")+a[2]}return a},Df=function(a,b,c,d){for(var e=c.length;(b=a.indexOf(c,b))>=0&&b=0},Gf=function(a,b){var c=a.search(Ef),d=Df(a, 0,b,c);if(d<0)return null;var e=a.indexOf("&",d);if(e<0||e>c)e=c;d+=b.length+1;return Bd(a.slice(d,e!==-1?e:0))},Hf=/[?&]($|#)/,If=function(a,b){for(var c=a.search(Ef),d=0,e,f=[];(e=Df(a,d,b,c))>=0;)f.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);f.push(a.slice(d));return f.join("").replace(Hf,"$1")};var Jf=function(a){try{return!!a&&a.location.href!=null&&Td(a,"foo")}catch(b){return!1}},Lf=function(a,b){var c=!0;c=c===void 0?!1:c;b=b===void 0?B:b;b=Kf(b);for(var d=0;b&&d++<40&&(!c&&!Jf(b)||!a(b));)b=Kf(b)},Kf=function(a){try{var b=a.parent;if(b&&b!=a)return b}catch(c){}return null},Mf=function(){if(!globalThis.crypto)return Math.random();try{var a=new Uint32Array(1);globalThis.crypto.getRandomValues(a);return a[0]/65536/65536}catch(b){return Math.random()}},Nf=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a, c)&&b(a[c],c,a)},Pf=function(){var a=[];Nf(Of,function(b){a.push(b)});return a};function Qf(a){var b,c;return(c=(b=/https?:\/\/[^\/]+/.exec(a))==null?void 0:b[0])!=null?c:""} var Of={to:"allow-forms",uo:"allow-modals",vo:"allow-orientation-lock",wo:"allow-pointer-lock",xo:"allow-popups",yo:"allow-popups-to-escape-sandbox",zo:"allow-presentation",Ao:"allow-same-origin",Bo:"allow-scripts",Co:"allow-top-navigation",Do:"allow-top-navigation-by-user-activation"},Rf=mf(function(){return Pf()}),Sf=function(a){var b=Rf();return a.length?bb(b,function(c){return!kb(a,c)}):b},Tf=function(a){a=a&&a.toString&&a.toString();return typeof a==="string"&&Cc(a,"[native code]")},Uf=mf(function(){return yf()? 2:xf()?1:0}),Vf=function(a,b){b=b===void 0?document:b;return b.createElement(String(a).toLowerCase())},Wf=function(a){for(var b=a;a&&a!=a.parent;)a=a.parent,Jf(a)&&(b=a);return b};var Xf=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)"),ag=function(a){a=a||Yf();for(var b=new Zf(B.location.href,!1),c=null,d=a.length-1,e=d;e>=0;--e){var f=a[e];!c&&Xf.test(f.url)&&(c=f);if(f.url&&!f.hi){b=f;break}}e=null;f=a.length&&a[d].url;b.depth!=0&&f&&(e=a[d]);return new $f(b,e,c)},Yf=function(){var a=B,b=[],c=null;do{var d=a;if(Jf(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new Zf(e||""));try{a=d.parent}catch(f){a=null}}while(a&& d!=a);d=0;for(a=b.length-1;d<=a;++d)b[d].depth=a-d;d=B;if(d.location&&d.location.ancestorOrigins&&d.location.ancestorOrigins.length==b.length-1)for(a=1;a=m.length){d-=m.length;b+=m;e=a.l;break}c=c==null?g:c}}a="";c!=null&& (a=""+e+"trn="+c);return b+a},hg=function(a){var b=1,c;for(c in a.j)c.length>b&&(b=c.length);return 3997-b-a.l.length-1};var jg=function(a,b){this.g=a;this.depth=b},lg=function(){var a=Yf(),b=Math.max(a.length-1,0),c=ag(a);a=c.g;var d=c.j,e=c.l,f=[];c=function(h,k){return h==null?k:h};e&&f.push(new jg([e.url,e.hi?2:0],c(e.depth,1)));d&&d!=e&&f.push(new jg([d.url,2],0));a.url&&a!=e&&f.push(new jg([a.url,0],c(a.depth,b)));var g=cb(f,function(h,k){return f.slice(0,f.length-k)});!a.url||(e||d)&&a!=e||(d=Qf(a.url))&&g.push([new jg([d,1],c(a.depth,b))]);g.push([]);return cb(g,function(h){return kg(b,h)})}; function kg(a,b){var c=db(b,function(e,f){return Math.max(e,f.depth)},-1),d=ub("",c+2);d[0]=a;$a(b,function(e){return d[e.depth+1]=e.g});return d}function mg(){var a=a===void 0?lg():a;return a.map(function(b){return dg(b)})};var og=function(a,b,c,d,e){ng(a,b,c===void 0?null:c,d===void 0?!1:d,e===void 0?!1:e)};function ng(a,b,c,d,e){e=e===void 0?!1:e;a.google_image_requests||(a.google_image_requests=[]);var f=Vf("IMG",a.document);if(c||d){var g=function(h){c&&c(h);d&&lb(a.google_image_requests,f);sf(f,"load",g);sf(f,"error",g)};rf(f,"load",g);rf(f,"error",g)}e&&(f.attributionSrc="");f.src=b;a.google_image_requests.push(f)} var tg=function(a,b){var c=c===void 0?!1:c;var d="https://pagead2.googlesyndication.com/pagead/gen_204?id="+b;Nf(a,function(e,f){if(e||e===0)d+="&"+f+"="+encodeURIComponent(""+e)});pg(d,c)},pg=function(a,b){var c=window;b=b===void 0?!1:b;var d=d===void 0?!1:d;c.fetch?(b={keepalive:!0,credentials:"include",redirect:"follow",method:"get",mode:"no-cors"},d&&(b.mode="cors","setAttributionReporting"in XMLHttpRequest.prototype?b.attributionReporting={eventSourceEligible:"true",triggerEligible:"false"}: b.headers={"Attribution-Reporting-Eligible":"event-source"}),c.fetch(a,b)):og(c,a,void 0,b,d)};var ug=function(a){var b="fi";if(a.fi&&a.hasOwnProperty(b))return a.fi;b=new a;return a.fi=b};var vg=function(){this.j=new vf;this.g=jf()?new kf:new hf},xg=function(){wg();var a=C.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&typeof C.setInterval==="function"&&typeof C.clearInterval==="function"&&typeof C.setTimeout==="function"&&typeof C.clearTimeout==="function")};vg.prototype.setInterval=function(a,b){return C.setInterval(a,b)};vg.prototype.clearInterval=function(a){C.clearInterval(a)};vg.prototype.setTimeout=function(a,b){return C.setTimeout(a,b)}; vg.prototype.clearTimeout=function(a){C.clearTimeout(a)};var yg=function(){wg();return mg()};var zg=function(){},wg=function(){var a=ug(zg);if(!a.g){if(!C)throw Error("Context has not been set and window is undefined.");a.g=ug(vg)}return a.g};function Ag(){throw Error("Invalid UTF8");}function Bg(a,b){b=String.fromCharCode.apply(null,b);return a==null?b:a+b}var Cg=void 0,Dg,Eg=typeof TextDecoder!=="undefined",Fg,Gg=typeof String.prototype.isWellFormed==="function",Hg=typeof TextEncoder!=="undefined"; function Ig(a){var b=!1;b=b===void 0?!1:b;if(Hg){if(b&&(Gg?!a.isWellFormed():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(a)))throw Error("Found an unpaired surrogate");a=(Fg||(Fg=new TextEncoder)).encode(a)}else{for(var c=0,d=new Uint8Array(3*a.length),e=0;e>6|192;else{if(f>=55296&&f<=57343){if(f<=56319&&e=56320&&g<=57343){f=(f-55296)*1024+g-56320+ 65536;d[c++]=f>>18|240;d[c++]=f>>12&63|128;d[c++]=f>>6&63|128;d[c++]=f&63|128;continue}else e--}if(b)throw Error("Found an unpaired surrogate");f=65533}d[c++]=f>>12|224;d[c++]=f>>6&63|128}d[c++]=f&63|128}}a=c===d.length?d:d.subarray(0,c)}return a};function Jg(a){B.setTimeout(function(){throw a;},0)};var Kg=function(a){for(var b=[],c=0,d=0;d255&&(b[c++]=e&255,e>>=8);b[c++]=e}return b},Lg=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return b.length>1?b:"0"+b}).join("")};var Mg={},Ng=null,Og=Vd||Wd||!ee&&typeof B.atob=="function",Qg=function(a,b){b===void 0&&(b=0);Pg();b=Mg[b];for(var c=Array(Math.floor(a.length/3)),d=b[64]||"",e=0,f=0;e>2];g=b[(g&3)<<4|h>>4];h=b[(h&15)<<2|k>>6];k=b[k&63];c[f++]=""+m+g+h+k}m=0;k=d;switch(a.length-e){case 2:m=a[e+1],k=b[(m&15)<<2]||d;case 1:a=a[e],c[f]=""+b[a>>2]+b[(a&3)<<4|m>>4]+k+d}return c.join("")},Sg=function(a){if(Og)return B.atob(a);var b="";Rg(a,function(c){b+=String.fromCharCode(c)}); return b},Tg=function(a){var b=[];Rg(a,function(c){b.push(c)});return b},Ug=function(a){var b=a.length,c=b*3/4;c%3?c=Math.floor(c):Cc("=.",a[b-1])&&(c=Cc("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;Rg(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d},Rg=function(a,b){function c(k){for(;d>4);g!=64&&(b(f<<4&240|g>>2),h!=64&&b(g<<6&192|h))}},Pg=function(){if(!Ng){Ng={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));Mg[c]=d;for(var e=0;e=$h&&a<=ai:a[0]==="-"?bi(a,ci):bi(a,di)}),ci=Number.MIN_SAFE_INTEGER.toString(),$h=Yh?BigInt(Number.MIN_SAFE_INTEGER):void 0,di=Number.MAX_SAFE_INTEGER.toString(),ai=Yh?BigInt(Number.MAX_SAFE_INTEGER):void 0; function bi(a,b){if(a.length>b.length)return!1;if(a.lengthe)return!1;if(d>>0;gi=b;hi=(a-b)/4294967296>>>0}function ki(a){if(a<0){ji(0-a);var b=v(li(gi,hi));a=b.next().value;b=b.next().value;gi=a>>>0;hi=b>>>0}else ji(a)}function mi(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,a==0&&(b=b+1>>>0));var d=b*4294967296+(a>>>0);a=Number.isSafeInteger(d)?d:ni(a,b);return typeof a==="number"?c?-a:a:c?"-"+a:a} function ni(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else lh()?c=""+(BigInt(b)<>>24|b<<8)&16777215,b=b>>16&65535,a=(a&16777215)+c*6777216+b*6710656,c+=b*8147497,b*=2,a>=1E7&&(c+=a/1E7>>>0,a%=1E7),c>=1E7&&(b+=c/1E7>>>0,c%=1E7),c=b+oi(c)+oi(a));return c}function oi(a){a=String(a);return"0000000".slice(a.length)+a} function pi(){var a=gi,b=hi;b&2147483648?lh()?a=""+(BigInt(b|0)<>>0)):(b=v(li(a,b)),a=b.next().value,b=b.next().value,a="-"+ni(a,b)):a=ni(a,b);return a} function qi(a){if(a.length<16)ki(Number(a));else if(lh())a=BigInt(a),gi=Number(a&BigInt(4294967295))>>>0,hi=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");hi=gi=0;for(var c=a.length,d=0+b,e=(c-b)%6+b;e<=c;d=e,e+=6)d=Number(a.slice(d,e)),hi*=1E6,gi=gi*1E6+d,gi>=4294967296&&(hi+=Math.trunc(gi/4294967296),hi>>>=0,gi>>>=0);b&&(b=v(li(gi,hi)),a=b.next().value,b=b.next().value,gi=a,hi=b)}}function li(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};function ri(a){if(a!=null&&typeof a!=="number")throw Error("Value of float/double field must be a number, found "+typeof a+": "+a);return a}function si(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)}function ti(a){if(a!=null&&typeof a!=="boolean")throw Error("Expected boolean but got "+La(a)+": "+a);return a}function ui(a){if(a==null||typeof a==="boolean")return a;if(typeof a==="number")return!!a}var vi=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/; function wi(a){var b=typeof a;switch(b){case "bigint":return!0;case "number":return Number.isFinite(a)}return b!=="string"?!1:vi.test(a)}function xi(a){if(!Number.isFinite(a))throw kh("enum");return a|0}function yi(a){return a==null?a:xi(a)}function zi(a){return a==null?a:Number.isFinite(a)?a|0:void 0}function Ai(a){if(typeof a!=="number")throw kh("int32");if(!Number.isFinite(a))throw kh("int32");return a|0} function Bi(a){if(a==null)return a;if(typeof a==="string"){if(!a)return;a=+a}if(typeof a==="number")return Number.isFinite(a)?a|0:void 0}function Ci(a){if(typeof a!=="number")throw kh("uint32");if(!Number.isFinite(a))throw kh("uint32");return a>>>0}function Di(a){if(a==null)return a;if(typeof a==="string"){if(!a)return;a=+a}if(typeof a==="number")return Number.isFinite(a)?a>>>0:void 0} function Ei(a){var b=0;b=b===void 0?0:b;if(!wi(a))throw kh("int64");var c=typeof a;switch(b){case 4096:switch(c){case "string":return Fi(a);case "bigint":return String(BigInt.asIntN(64,a));default:return Gi(a)}case 8192:switch(c){case "string":return Hi(a);case "bigint":return Zh(BigInt.asIntN(64,a));default:return Ii(a)}case 0:switch(c){case "string":return Fi(a);case "bigint":return Zh(BigInt.asIntN(64,a));default:return Ji(a)}default:throw Error("Unknown format requested type for int64");}} function Ki(a){return a[0]==="-"?a.length<20?!0:a.length===20&&Number(a.substring(0,7))>-922337:a.length<19?!0:a.length===19&&Number(a.substring(0,6))<922337}function Li(a){if(Ki(a))return a;qi(a);return pi()}function Ji(a){a=Math.trunc(a);Number.isSafeInteger(a)||(ki(a),a=mi(gi,hi));return a}function Gi(a){a=Math.trunc(a);if(Number.isSafeInteger(a))a=String(a);else{var b=String(a);Ki(b)?a=b:(ki(a),a=pi())}return a} function Fi(a){var b=Math.trunc(Number(a));if(Number.isSafeInteger(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return Li(a)}function Hi(a){var b=Math.trunc(Number(a));if(Number.isSafeInteger(b))return Zh(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return lh()?Zh(BigInt.asIntN(64,BigInt(a))):Zh(Li(a))}function Ii(a){return Number.isSafeInteger(a)?Zh(Ji(a)):Zh(Gi(a))} function Mi(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String(BigInt.asIntN(64,a));if(wi(a)){if(b==="string")return Fi(a);if(b==="number")return Ji(a)}}function Ni(a){if(typeof a!=="string")throw Error();return a}function Oi(a){if(a!=null&&typeof a!=="string")throw Error();return a}function Pi(a){return a==null||typeof a==="string"?a:void 0} function Qi(a,b,c,d){if(a!=null&&typeof a==="object"&&a.Cg===Eh)return a;if(!Array.isArray(a))return c?d&2?Ri(b):new b:void 0;var e=c=uh(a);e===0&&(e|=d&32);e|=d&2;e!==c&&wh(a,e);return new b(a)}function Ri(a){var b=a[qh];if(b)return b;b=new a;th(b.M,34);return a[qh]=b};var Zi=function(a){Si===void 0&&(Si=typeof Proxy==="function"?Ti(Proxy):null);var b;(b=!Si)||(Ui===void 0&&(Ui=typeof WeakMap==="function"?Ti(WeakMap):null),b=!Ui);if(b)return a;if(b=Vi(a))return b;if(Math.random()>.01)return a;Wi(a);b=new Si(a,{set:function(c,d,e){Xi();c[d]=e;return!0}});Yi(a,b);return b};function Xi(){jh()}var $i=void 0,aj=void 0,Vi=function(a){var b;return(b=$i)==null?void 0:b.get(a)},bj=function(a){var b;return((b=aj)==null?void 0:b.get(a))||a}; function Yi(a,b){($i||($i=new Ui)).set(a,b);(aj||(aj=new Ui)).set(b,a)}var Si=void 0,Ui=void 0;function Ti(a){try{return a.toString().indexOf("[native code]")!==-1?a:null}catch(b){return null}}var cj=void 0;function Wi(a){if(cj===void 0){var b=new Si([],{});cj=Array.prototype.concat.call([],b).length===1}cj&&typeof Symbol==="function"&&Symbol.isConcatSpreadable&&(a[Symbol.isConcatSpreadable]=!0)};var dj;function ej(a,b){dj=b;a=new a(b);dj=void 0;return a}var fj,gj;function hj(a){switch(typeof a){case "boolean":return fj||(fj=[0,void 0,!0]);case "number":return a>0?void 0:a===0?gj||(gj=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}}function ij(a,b,c){a=G(a,b[0],b[1],c?1:2);b!==fj&&c&&th(a,16384);return a} function G(a,b,c,d){var e;d=(e=d)!=null?e:0;a==null&&(a=dj);dj=void 0;if(a==null)e=96,c?(a=[c],e|=512):a=[],b&&(e=e&-33521665|(b&1023)<<15);else{if(!Array.isArray(a))throw Error("narr");e=uh(a);if(e&2048)throw Error("farr");if(e&64)return a;d===1||d===2||(e|=64);if(c&&(e|=512,c!==a[0]))throw Error("mid");a:{d=a;c=e;if(e=d.length){var f=e-1;if(Hh(d[f])){c|=256;b=f-(+!!(c&512)-1);if(b>=1024)throw Error("pvtlmt");e=c&-33521665|(b&1023)<<15;break a}}if(b){b=Math.max(b,e-(+!!(c&512)-1));if(b>1024)throw Error("spvt"); e=c&-33521665|(b&1023)<<15}else e=c}}wh(a,e);return a};function jj(a,b){return kj(b)}function kj(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "bigint":return ei(a)?Number(a):String(a);case "boolean":return a?1:0;case "object":if(a)if(Array.isArray(a)){if(Jh(a))return}else{if(bh(a))return Xg(a);if(a instanceof eh){var b=a.g;return b==null?"":typeof b==="string"?b:a.g=Xg(b)}}}return a};function lj(a,b,c){var d=mh(a),e=d.length,f=b&256?d[e-1]:void 0;e+=f?-1:0;for(b=b&512?1:0;b=a.length||b>=c))return a[b]}var zj=function(a,b,c,d){if(c===-1)return null;var e=b>>15&1023||536870912;if(c>=e){if(b&256)return a[a.length-1][c]}else{var f=a.length;if(d&&b&256&&(d=a[f-1][c],d!=null)){if(Bj(a,b,e,c)&&rh!=null){var g;a=(g=ih)!=null?g:ih={};g=a[rh]||0;g>=4||(a[rh]=g+1,jh())}return d}return Bj(a,b,e,c)}},Dj=function(a,b,c){var d=a.M,e=vh(d);Mh(e);Cj(d,e,b,c);return a}; function Cj(a,b,c,d){var e=b>>15&1023||536870912;if(c>=e){var f=b;if(b&256)var g=a[a.length-1];else{if(d==null)return f;g=a[e+(+!!(b&512)-1)]={};f|=256}g[c]=d;c "+a)};function Dk(a){if(typeof a==="string")return{buffer:ah(a),Od:!1};if(Array.isArray(a))return{buffer:new Uint8Array(a),Od:!1};if(a.constructor===Uint8Array)return{buffer:a,Od:!1};if(a.constructor===ArrayBuffer)return{buffer:new Uint8Array(a),Od:!1};if(a.constructor===eh)return{buffer:hh(a)||new Uint8Array(0),Od:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),Od:!1};throw Error("Type not convertible to a Uint8Array, expected a Uint8Array, an ArrayBuffer, a base64 encoded string, a ByteString or an Array of numbers"); };var Ek=function(a,b){this.j=null;this.A=!1;this.g=this.l=this.o=0;this.init(a,void 0,void 0,b)};Ek.prototype.init=function(a,b,c,d){d=d===void 0?{}:d;this.Mf=d.Mf===void 0?!1:d.Mf;a&&(a=Dk(a),this.j=a.buffer,this.A=a.Od,this.o=b||0,this.l=c!==void 0?this.o+c:this.j.length,this.g=this.o)};Ek.prototype.clear=function(){this.j=null;this.A=!1;this.g=this.l=this.o=0;this.Mf=!1};Ek.prototype.reset=function(){this.g=this.o}; var Fk=function(a,b){a.g=b;if(b>a.l)throw Ck(a.l,b);},Gk=function(a){var b=a.j,c=a.g,d=b[c++],e=d&127;if(d&128&&(d=b[c++],e|=(d&127)<<7,d&128&&(d=b[c++],e|=(d&127)<<14,d&128&&(d=b[c++],e|=(d&127)<<21,d&128&&(d=b[c++],e|=d<<28,d&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]&128)))))throw Bk();Fk(a,c);return e},Hk=function(a){var b=a.j,c=a.g,d=b[c+0],e=b[c+1],f=b[c+2];b=b[c+3];Fk(a,a.g+4);return(d<<0|e<<8|f<<16|b<<24)>>>0},Ik=function(a){var b=Hk(a),c=Hk(a);a=(c>>31)*2+1;var d=c>>>20& 2047;b=4294967296*(c&1048575)+b;return d==2047?b?NaN:a*Infinity:d==0?a*4.9E-324*b:a*Math.pow(2,d-1075)*(b+4503599627370496)},Jk=function(a){for(var b=0,c=a.g,d=c+10,e=a.j;ca.l)throw Ck(b,a.l-c);a.g=d;return c},Mk=function(a,b){if(b==0)return gh();var c=Lk(a,b);a.Mf&&a.A?c=a.j.subarray(c,c+b):(a= a.j,b=c+b,c=c===b?new Uint8Array(0):fi?a.slice(c,b):new Uint8Array(a.subarray(c,b)));return c.length==0?gh():new eh(c,ch)},Nk=[];var Pk=function(a,b){if(Nk.length){var c=Nk.pop();c.init(a,void 0,void 0,b);a=c}else a=new Ek(a,b);this.g=a;this.l=this.g.g;this.j=this.o=-1;Ok(this,b)},Ok=function(a,b){b=b===void 0?{}:b;a.Lh=b.Lh===void 0?!1:b.Lh};Pk.prototype.reset=function(){this.g.reset();this.l=this.g.g;this.j=this.o=-1}; var Qk=function(a){var b=a.g;if(b.g==b.l)return!1;a.l=a.g.g;var c=Gk(a.g)>>>0;b=c>>>3;c&=7;if(!(c>=0&&c<=5))throw Ak(c,a.l);if(b<1)throw Error("Invalid field number: "+b+" (at position "+a.l+")");a.o=b;a.j=c;return!0},Rk=function(a){switch(a.j){case 0:a.j!=0?Rk(a):Jk(a.g);break;case 1:a=a.g;Fk(a,a.g+8);break;case 2:if(a.j!=2)Rk(a);else{var b=Gk(a.g)>>>0;a=a.g;Fk(a,a.g+b)}break;case 5:a=a.g;Fk(a,a.g+4);break;case 3:b=a.o;do{if(!Qk(a))throw Error("Unmatched start-group tag: stream EOF");if(a.j==4){if(a.o!= b)throw Error("Unmatched end-group tag");break}Rk(a)}while(1);break;default:throw Ak(a.j,a.l);}},Sk=function(a,b,c){var d=a.g.l,e=Gk(a.g)>>>0,f=a.g.g+e,g=f-d;g<=0&&(a.g.l=f,c(b,a,void 0,void 0,void 0),g=f-a.g.g);if(g)throw Error("Message parsing ended unexpectedly. Expected to read "+(e+" bytes, instead read "+(e-g)+" bytes, either the data ended unexpectedly or the message misreported its own length"));a.g.g=f;a.g.l=d},Tk=function(a){var b=Gk(a.g)>>>0;a=a.g;var c=Lk(a,b);a=a.j;if(Eg){var d=a,e;(e= Dg)||(e=Dg=new TextDecoder("utf-8",{fatal:!0}));b=c+b;d=c===0&&b===d.length?d:d.subarray(c,b);try{var f=e.decode(d)}catch(m){if(Cg===void 0){try{e.decode(new Uint8Array([128]))}catch(p){}try{e.decode(new Uint8Array([97])),Cg=!0}catch(p){Cg=!1}}!Cg&&(Dg=void 0);throw m;}}else{f=c;b=f+b;c=[];for(var g=null,h,k;f=b?Ag():(k=a[f++],h<194||(k&192)!==128?(f--,Ag()):c.push((h&31)<<6|k&63)):h<240?f>=b-1?Ag():(k=a[f++],(k&192)!==128||h===224&&k<160||h===237&&k>=160||((e= a[f++])&192)!==128?(f--,Ag()):c.push((h&15)<<12|(k&63)<<6|e&63)):h<=244?f>=b-2?Ag():(k=a[f++],(k&192)!==128||(h<<28)+(k-144)>>30!==0||((e=a[f++])&192)!==128||((d=a[f++])&192)!==128?(f--,Ag()):(h=(h&7)<<18|(k&63)<<12|(e&63)<<6|d&63,h-=65536,c.push((h>>10&1023)+55296,(h&1023)+56320))):Ag(),c.length>=8192&&(g=Bg(g,c),c.length=0);f=Bg(g,c)}return f},Uk=function(a,b,c){var d=Gk(a.g)>>>0;for(d=a.g.g+d;a.g.g0;c--){h=f[c-1];if(!(h==null||Jh(h)||Gh(h)&&h.size===0))break; var r=!0}if(f!==a||g||r){if(!b)f=Array.prototype.slice.call(f,0,c);else if(r||g||k)f.length=c;k&&f.push(k)}r=f}else r=a;return r}function Zk(a,b){if(b==null)return new a;if(!Array.isArray(b))throw Error("must be an array");if(Object.isFrozen(b)||Object.isSealed(b)||!Object.isExtensible(b))throw Error("arrays passed to jspb constructors must be mutable");th(b,128);return ej(a,Bh(b))};var $k=function(a,b){this.j=a>>>0;this.g=b>>>0},bl=function(a){if(!a)return al||(al=new $k(0,0));if(!/^-?\d+$/.test(a))return null;qi(a);return new $k(gi,hi)},al;var cl=function(){this.g=[]};cl.prototype.length=function(){return this.g.length};cl.prototype.end=function(){var a=this.g;this.g=[];return a}; var dl=function(a,b,c){for(;c>0||b>127;)a.g.push(b&127|128),b=(b>>>7|c<<25)>>>0,c>>>=7;a.g.push(b)},el=function(a,b){for(;b>127;)a.g.push(b&127|128),b>>>=7;a.g.push(b)},fl=function(a,b){if(b>=0)el(a,b);else{for(var c=0;c<9;c++)a.g.push(b&127|128),b>>=7;a.g.push(1)}},gl=function(a,b){a.g.push(b>>>0&255);a.g.push(b>>>8&255);a.g.push(b>>>16&255);a.g.push(b>>>24&255)};var hl=function(){this.l=[];this.j=0;this.g=new cl},il=function(a,b){b.length!==0&&(a.l.push(b),a.j+=b.length)},kl=function(a,b){jl(a,b,2);b=a.g.end();il(a,b);b.push(a.j);return b},ll=function(a,b){var c=b.pop();for(c=a.j+a.g.length()-c;c>127;)b.push(c&127|128),c>>>=7,a.j++;b.push(c);a.j++},ml=function(a){il(a,a.g.end());for(var b=new Uint8Array(a.j),c=a.l,d=c.length,e=0,f=0;f0;){for(var k=0;k>31)*2+1;var e=d>>>23&255;d&=8388607;Zl(b,c,e==255?d?NaN:a*Infinity:e==0?a*1.401298464324817E-45*d:a*Math.pow(2,e-150)*(d+8388608));return!0},function(a,b,c){b=si(b);b!=null&&(jl(a,c,5),a=a.g,c=ii||(ii=new DataView(new ArrayBuffer(8))),c.setFloat32(0,+b,!0),hi=0,gi= c.getUint32(0,!0),gl(a,gi))},rl()),im=Xl(function(a,b,c){if(a.j!==0)return!1;a=a.g;var d=0,e=0,f=0,g=a.j,h=a.g;do{var k=g[h++];d|=(k&127)<32&&(e|=(k&127)>>4);for(f=3;f<32&&k&128;f+=7)k=g[h++],e|=(k&127)<>>0,e>>>0);else throw Bk();Zl(b,c,a===0?void 0:a);return!0},function(a,b,c){b=Mi(b);if(b!=null){switch(typeof b){case "string":bl(b)}if(b!=null)switch(jl(a,c,0),typeof b){case "number":a=a.g;ki(b);dl(a,gi,hi);break;case "bigint":c=BigInt.asUintN(64, b);c=new $k(Number(c&BigInt(4294967295)),Number(c>>BigInt(32)));dl(a.g,c.j,c.g);break;default:c=bl(b),dl(a.g,c.j,c.g)}}},rl()),jm=Xl(function(a,b,c){if(a.j!==0)return!1;Zl(b,c,Gk(a.g));return!0},am,ul),km=Yl(function(a,b,c){if(a.j!==0&&a.j!==2)return!1;b=Oj(b,vh(b),c,!1,!1);a.j==2?Uk(a,Gk,b):b.push(Gk(a.g));return!0},function(a,b,c){b=Vl(Bi,b);if(b!=null&&b.length){c=kl(a,c);for(var d=0;d>>0;a=Mk(a.g,d);Zl(b,c,a===gh()?void 0:a);return!0},function(a,b,c){b=b==null||typeof b=="string"||bh(b)||b instanceof eh?b:void 0;b!=null&&nl(a,c,Dk(b).buffer)},rl()),zm=Xl(function(a,b,c){if(a.j!==0)return!1;Zl(b,c,Gk(a.g)>>>0);return!0},dm,vl),Am=Xl(function(a,b,c){if(a.j!==0)return!1;a=Gk(a.g)>>>0;Zl(b,c,a===0?void 0:a);return!0},dm,vl), Bm=Xl(function(a,b,c){if(a.j!==0)return!1;Zl(b,c,Gk(a.g));return!0},em,xl),Cm=Yl(function(a,b,c){if(a.j!==0&&a.j!==2)return!1;b=Oj(b,vh(b),c,!1,!1);a.j==2?Uk(a,Kk,b):b.push(Gk(a.g));return!0},function(a,b,c){b=Vl(Bi,b);if(b!=null&&b.length){c=kl(a,c);for(var d=0;d-1)return b.apply(null,w(c));try{return a.g=a.l.g.g(),b.apply(null,w(c))}finally{a.o+=a.l.g.g()-a.g,a.g=-1,a.j+=1}}};var Mm=function(a,b){this.j=a;this.l=b;this.g=new Km(a)};var Nm=function(){this.g={}},Om=function(a,b){a=a.g[b.key];if(b.valueType==="proto"){try{var c=JSON.parse(a);if(Array.isArray(c))return c}catch(d){}return b.defaultValue}return typeof a===typeof b.defaultValue?a:b.defaultValue};var Pm={Ep:1,gq:2,xp:3};var Qm=function(){this.A=void 0;this.N=0;this.B=new gf(0,"");this.l=0;this.J=-1;this.ea=new fc;ac(gc(this.ea,"mv",Fb)).l=Gb===void 0?null:Gb;gc(this.ea,"omid",Bb);ac(gc(this.ea,"epoh",Bb));ac(gc(this.ea,"epph",Bb));ac(gc(this.ea,"umt",Bb)).l=Cb===void 0?null:Cb;ac(gc(this.ea,"phel",Bb));ac(gc(this.ea,"phell",Bb));ac(gc(this.ea,"oseid",Pm));var a=this.ea;a.g.sloi||(a.g.sloi=new dc);ac(a.g.sloi);gc(this.ea,"mm",zb);ac(gc(this.ea,"ovms",yb));ac(gc(this.ea,"xdi",Bb));ac(gc(this.ea,"amp",Bb));ac(gc(this.ea, "prf",Bb));ac(gc(this.ea,"gtx",Bb));ac(gc(this.ea,"mvp_lv",Bb));ac(gc(this.ea,"ssmol",Bb)).l=Eb===void 0?null:Eb;ac(gc(this.ea,"fmd",Bb));gc(this.ea,"gen204simple",Bb);this.j=new Mm(wg(),this.ea);this.C=this.g=this.o=!1;this.flags=new Nm}; Qm.prototype.Rg=function(a){if(typeof a==="string"&&a.length!=0){var b=this.ea;if(b.l){a=a.split("&");for(var c=a.length-1;c>=0;c--){var d=a[c].split("="),e=decodeURIComponent(d[0]);d.length>1?(d=decodeURIComponent(d[1]),d=/^[0-9]+$/g.exec(d)?parseInt(d,10):d):d=1;(e=b.g[e])&&e.j(d)}}}}; Qm.prototype.Sg=function(a){if(typeof a==="string"&&a.length!=0){var b=this.flags;try{var c=JSON.parse(a)[0];a="";for(var d=0;d=0;return a}),bn=function(a,b){this.events=[];this.g=b||B;var c=null;b&&(b.google_js_reporting_queue=b.google_js_reporting_queue||[],this.events=b.google_js_reporting_queue,c=b.google_measure_js_timing);this.j=an()||(c!=null?c:Math.random()2048||this.events.push(a)};var cn=function(a){a&&Zm&&an()&&(Zm.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),Zm.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))}; bn.prototype.start=function(a,b){if(!this.j)return null;a=new Ym(a,b,Xm()||Wm());b="goog_"+a.label+"_"+a.uniqueId+"_start";Zm&&an()&&Zm.mark(b);return a};bn.prototype.end=function(a){if(this.j&&typeof a.value==="number"){a.duration=(Xm()||Wm())-a.value;var b="goog_"+a.label+"_"+a.uniqueId+"_end";Zm&&an()&&Zm.mark(b);this.B(a)}};var fn=function(){var a=dn;this.C=en;this.A="jserror";this.l=!0;this.j=null;this.B=this.sc;this.g=a===void 0?null:a;this.o=!1};l=fn.prototype;l.Ji=function(a){this.j=a};l.nk=function(a){this.A=a};l.Li=function(a){this.l=a};l.rk=function(a){this.o=a};l.Ud=function(a,b,c){var d=this;return Lm(mc().j.g,function(){try{if(d.g&&d.g.j){var e=d.g.start(a.toString(),3);var f=b();d.g.end(e)}else f=b()}catch(h){var g=d.l;try{cn(e),g=d.B(a,new gn(hn(h)),void 0,c)}catch(k){d.sc(217,k)}if(!g)throw h;}return f})()}; l.Tg=function(a,b,c,d){var e=this;return Lm(mc().j.g,function(){var f=Ea.apply(0,arguments);return e.Ud(a,function(){return b.apply(c,f)},d)})}; l.sc=function(a,b,c,d,e){e=e||this.A;try{var f=new bg;gg(f,1,"context",a);Tm(b)||(b=new gn(hn(b)));b.msg&&gg(f,2,"msg",b.msg.substring(0,512));var g=b.meta||{};if(this.j)try{this.j(g)}catch(k){}if(d)try{d(g)}catch(k){}fg(f,3,[g]);var h=ag();h.j&&gg(f,4,"top",h.j.url||"");fg(f,5,[{url:h.g.url||""},{url:h.g.url?Af(h.g.url):""}]);Rm(this.C,e,f,this.o,c)}catch(k){try{Rm(this.C,e,{context:"ecmserr",rctx:a,msg:hn(k),url:h&&h.g.url},this.o,c)}catch(m){}}return this.l}; var hn=function(a){var b=a.toString();a.name&&b.indexOf(a.name)==-1&&(b+=": "+a.name);a.message&&b.indexOf(a.message)==-1&&(b+=": "+a.message);if(a.stack)a:{a=a.stack;var c=b;try{a.indexOf(c)==-1&&(a=c+"\n"+a);for(var d;a!=d;)d=a,a=a.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");b=a.replace(/\n */g,"\n");break a}catch(e){b=c;break a}b=void 0}return b},gn=function(a){Sm.call(this,Error(a),{message:a})};q(gn,Sm);var en,jn,dn=new bn(1,window),kn=function(){C&&typeof C.google_measure_js_timing!="undefined"&&(C.google_measure_js_timing||dn.C())};en=new function(){var a="https:";C&&C.location&&C.location.protocol==="http:"&&(a="http:");this.j=a;this.g=.01;this.l=Math.random()};jn=new fn;C&&C.document&&(C.document.readyState=="complete"?kn():dn.j&&rf(C,"load",function(){kn()})); var ln=function(a){jn.Ji(function(b){$a(a,function(c){c(b)})})},mn=function(a,b){return jn.Ud(a,b)},nn=function(a,b,c,d){return jn.Tg(a,b,c,d)},on=function(a,b,c,d){jn.sc(a,b,c,d)};var pn=Date.now(),qn=-1,rn=-1,sn,tn=-1,un=!1,vn=function(){return Date.now()-pn},wn=function(){var a=mc().A,b=rn>=0?vn()-rn:-1,c=un?vn()-qn:-1,d=tn>=0?vn()-tn:-1;if(a==947190542)return 100;if(a==79463069)return 200;a=[2E3,4E3];var e=[250,500,1E3];on(637,Error(),.001);var f=b;c!=-1&&c1500&&d<4E3?500:g};var xn=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};l=xn.prototype;l.getWidth=function(){return this.right-this.left};l.getHeight=function(){return this.bottom-this.top};l.clone=function(){return new xn(this.top,this.right,this.bottom,this.left)};l.contains=function(a){return this&&a?a instanceof xn?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1}; l.expand=function(a,b,c,d){Na(a)?(this.top-=a.top,this.right+=a.right,this.bottom+=a.bottom,this.left-=a.left):(this.top-=a,this.right+=Number(b),this.bottom+=Number(c),this.left-=Number(d));return this};var yn=function(a,b){return a==b?!0:a&&b?a.top==b.top&&a.right==b.right&&a.bottom==b.bottom&&a.left==b.left:!1};xn.prototype.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this}; xn.prototype.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};xn.prototype.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this}; var zn=function(a,b,c){b instanceof ge?(a.left+=b.x,a.right+=b.x,a.top+=b.y,a.bottom+=b.y):(a.left+=b,a.right+=b,typeof c==="number"&&(a.top+=c,a.bottom+=c));return a};xn.prototype.scale=function(a,b){b=typeof b==="number"?b:a;this.left*=a;this.right*=a;this.top*=b;this.bottom*=b;return this};var An=function(a,b,c){var d=new xn(0,0,0,0);this.time=a;this.volume=null;this.l=b;this.g=d;this.j=c};An.prototype.Gd=function(a,b){return!!a&&(!(b===void 0?0:b)||this.volume==a.volume)&&this.l==a.l&&yn(this.g,a.g)&&!0};var Bn=function(a,b,c,d,e,f,g,h){this.l=a;this.J=b;this.j=c;this.A=d;this.g=e;this.o=f;this.B=g;this.C=h};Bn.prototype.getTimestamp=function(){return this.B};Bn.prototype.Gd=function(a,b){return this.l.Gd(a.l,b===void 0?!1:b)&&this.J==a.J&&yn(this.j,a.j)&&yn(this.A,a.A)&&this.g==a.g&&this.o==a.o&&this.B==a.B&&this.C==a.C};var Cn={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},Tb={ij:"start",FIRST_QUARTILE:"firstquartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdquartile",COMPLETE:"complete",ERROR:"error",yl:"metric",PAUSE:"pause",hj:"resume",SKIPPED:"skip",Nl:"viewable_impression",Cl:"mute",Ml:"unmute",FULLSCREEN:"fullscreen",cl:"exitfullscreen",Vi:"bufferstart",Ui:"bufferfinish",dl:"fully_viewable_audible_half_duration_impression",xl:"measurable_impression",Tk:"abandon",bl:"engagedview",IMPRESSION:"impression", Yk:"creativeview",LOADED:"loaded",PROGRESS:"progress",Ho:"close",Io:"collapse",yp:"overlay_resize",zp:"overlay_unmeasurable_impression",Ap:"overlay_unviewable_impression",Cp:"overlay_viewable_immediate_impression",Bp:"overlay_viewable_end_of_session_impression",Zk:"custom_metric_viewable",Vk:"audio_audible",Xk:"audio_measurable",Wk:"audio_impression"},Dn="start firstquartile midpoint thirdquartile resume loaded".split(" "),En=["start","firstquartile","midpoint","thirdquartile"],Fn=["abandon"],Gn= {UNKNOWN:-1,ij:0,FIRST_QUARTILE:1,MIDPOINT:2,THIRD_QUARTILE:3,COMPLETE:4,yl:5,PAUSE:6,hj:7,SKIPPED:8,Nl:9,Cl:10,Ml:11,FULLSCREEN:12,cl:13,dl:14,xl:15,Tk:16,bl:17,IMPRESSION:18,Yk:19,LOADED:20,Zk:21,Vi:22,Ui:23,Wk:27,Xk:28,Vk:29};var Lb={ro:"addEventListener",Uo:"getMaxSize",Wo:"getScreenSize",Xo:"getState",Yo:"getVersion",Fp:"removeEventListener",up:"isViewable"},Hn=function(a){var b=a!==a.top,c=a.top===Wf(a),d=-1,e=0;if(b&&c&&a.top.mraid){d=3;var f=a.top.mraid}else d=(f=a.mraid)?b?c?2:1:0:-1;f&&(f.IS_GMA_SDK||(e=2),Jb(function(g){return typeof f[g]==="function"})||(e=1));return{Lb:f,Wf:e,Rn:d}};var In=function(){var a=window.document;return a&&typeof a.elementFromPoint==="function"};function Jn(a,b,c){try{a&&(b=b.top);var d=b;a&&d!==null&&d!=d.top&&(d=d.top);try{var e=(c===void 0?0:c)?(new he(d.innerWidth,d.innerHeight)).round():Ne(d||window).round()}catch(p){e=new he(-12245933,-12245933)}a=e;var f=a.height,g=a.width;if(g===-12245933)return new xn(g,g,g,g);var h=Pe(He(b.document).g),k=h.x,m=h.y;return new xn(m,k+g,m+f,k)}catch(p){return new xn(-12245933,-12245933,-12245933,-12245933)}};var Kn=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};Kn.prototype.clone=function(){return new Kn(this.left,this.top,this.width,this.height)};var Ln=function(a){return new xn(a.top,a.left+a.width,a.top+a.height,a.left)},Mn=function(a,b){var c=Math.max(a.left,b.left),d=Math.min(a.left+a.width,b.left+b.width);if(c<=d){var e=Math.max(a.top,b.top);a=Math.min(a.top+a.height,b.top+b.height);if(e<=a)return new Kn(c,e,d-c,a-e)}return null};l=Kn.prototype; l.contains=function(a){return a instanceof ge?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};l.getSize=function(){return new he(this.width,this.height)};l.ceil=function(){this.left=Math.ceil(this.left);this.top=Math.ceil(this.top);this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this}; l.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};l.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};l.scale=function(a,b){b=typeof b==="number"?b:a;this.left*=a;this.width*=a;this.top*=b;this.height*=b;return this};var On=function(a,b,c){if(typeof b==="string")(b=Nn(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Nn(c,d);f&&(c.style[f]=e)}},Pn={},Nn=function(a,b){var c=Pn[b];if(!c){var d=Md(b);c=d;a.style[d]===void 0&&(d=(Wd?"Webkit":Vd?"Moz":null)+Od(d),a.style[d]!==void 0&&(c=d));Pn[b]=c}return c},Qn=function(a,b){var c=Ge(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},Rn=function(a,b){return Qn(a,b)||(a.currentStyle? a.currentStyle[b]:null)||a.style&&a.style[b]},Sn=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},Tn=function(a){var b=Ge(a),c=Rn(a,"position"),d=c=="fixed"||c=="absolute";for(a=a.parentNode;a&&a!=b;a=a.parentNode)if(a.nodeType==11&&a.host&&(a=a.host),c=Rn(a,"position"),d=d&&c=="static"&&a!=b.documentElement&&a!=b.body,!d&&(a.scrollWidth>a.clientWidth||a.scrollHeight>a.clientHeight||c=="fixed"||c=="absolute"||c=="relative"))return a;return null},Un= function(a){var b=Ge(a),c=new ge(0,0);if(a==(b?Ge(b):document).documentElement)return c;a=Sn(a);b=Pe(He(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c},Wn=function(a,b){var c=new ge(0,0),d=Qe(Ge(a));if(!Td(d,"parent"))return c;do{var e=d==b?Un(a):Vn(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c},Vn=function(a){a=Sn(a);return new ge(a.left,a.top)},Xn=function(a){typeof a=="number"&&(a=Math.round(a)+"px");return a},Zn=function(a){var b=Yn;if(Rn(a,"display")!= "none")return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a},Yn=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=Wd&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Sn(a),new he(a.right-a.left,a.bottom-a.top)):new he(b,c)},$n=function(a){var b=Un(a);a=Zn(a);return new Kn(b.x,b.y,a.width,a.height)},ao=function(a,b){a=a.style;"opacity"in a?a.opacity=b:"MozOpacity"in a?a.MozOpacity=b:"filter"in a&&(a.filter=b===""?"":"alpha(opacity="+Number(b)*100+")")},bo=function(a,b){a.style.display=b?"":"none"};var co=function(a,b){b=Math.pow(10,b);return Math.floor(a*b)/b},eo=function(a){return new xn(a.top,a.right,a.bottom,a.left)},fo=function(a){var b=a.top||0,c=a.left||0;return new xn(b,c+(a.width||0),b+(a.height||0),c)},go=function(a){return a!=null&&a>=0&&a<=1};function ho(){var a=Gc();return a?eb("AmazonWebAppPlatform;Android TV;Apple TV;AppleTV;BRAVIA;BeyondTV;Freebox;GoogleTV;HbbTV;LongTV;MiBOX;MiTV;NetCast.TV;Netcast;Opera TV;PANASONIC;POV_TV;SMART-TV;SMART_TV;SWTV;Smart TV;SmartTV;TV Store;UnionTV;WebOS".split(";"),function(b){return Dc(a,b)})||Dc(a,"OMI/")&&!Dc(a,"XiaoMi/")?!0:Dc(a,"Presto")&&Dc(a,"Linux")&&!Dc(a,"X11")&&!Dc(a,"Android")&&!Dc(a,"Mobi"):!1} function io(){var a=Gc();return Dc(a,"AppleTV")||Dc(a,"Apple TV")||Dc(a,"CFNetwork")||Dc(a,"tvOS")}function jo(){var a=Gc();return Dc(a,"sdk_google_atv_x86")||Dc(a,"Android TV")}function ko(a){return(a=a.userAgentData)?a.brands.some(function(b){return b.brand.includes("kepler_webview")}):Dc(Gc(),"Kepler")}function lo(){return Dc(Gc(),"CrKey")&&!(Dc(Gc(),"CrKey")&&Dc(Gc(),"SmartSpeaker"))||Dc(Gc(),"PlayStation")||Dc(Gc(),"Roku")||ho()||Dc(Gc(),"Xbox")||io()||jo()};var no=function(){this.N=!1;this.l=!Jf(C.top);this.C=xf()||yf();var a=Yf();a=a.length>0&&a[a.length-1]!=null&&a[a.length-1].url!=null?((a=a[a.length-1].url.match(zf)[3]||null)?decodeURI(a):a)||"":"";this.domain=a;this.g=new xn(0,0,0,0);this.A=new he(0,0);this.o=new he(0,0);this.J=new xn(0,0,0,0);this.frameOffset=new ge(0,0);this.F=!1;this.B=0;this.D=!1;this.j=!(!C||!Hn(C).Lb);mo(this)},oo=function(a,b){b&&b.screen&&(a.A=new he(b.screen.width,b.screen.height))},po=function(a,b){a:{var c=a.g?new he(a.g.getWidth(), a.g.getHeight()):new he(0,0);b=b===void 0?C:b;b!==null&&b!=b.top&&(b=b.top);var d=0,e=0;try{var f=b.document,g=f.body,h=f.documentElement;if(f.compatMode=="CSS1Compat"&&h.scrollHeight)d=h.scrollHeight!=c.height?h.scrollHeight:h.offsetHeight,e=h.scrollWidth!=c.width?h.scrollWidth:h.offsetWidth;else{var k=h.scrollHeight,m=h.scrollWidth,p=h.offsetHeight,n=h.offsetWidth;h.clientHeight!=p&&(k=g.scrollHeight,m=g.scrollWidth,p=g.offsetHeight,n=g.offsetWidth);k>c.height?k>p?(d=k,e=m):(d=p,e=n):k0||a.D)return!0;a=wg().j.isVisible();var b=wf();return a||b},qo=function(){return ug(no)};var so=function(a){this.l=a;this.j=0;this.g=null};so.prototype.cancel=function(){wg().clearTimeout(this.g);this.g=null};var to=function(a){var b=wg(),c=mc().j.g;a.g=b.setTimeout(Lm(c,nn(143,function(){a.j++;a.l.sample()})),wn())};var uo=function(a,b,c){this.l=a;this.ta=c===void 0?"na":c;this.C=[];this.Aa=!1;this.o=new An(-1,!0,this);this.g=this;this.N=b;this.K=this.D=!1;this.ba="uk";this.O=!1;this.A=!0};uo.prototype.F=function(){return!1};uo.prototype.G=function(){return this.Aa=!0};uo.prototype.je=function(){return this.g.ba};uo.prototype.ff=function(){return this.g.K};var wo=function(a,b,c){if(!a.K||(c===void 0?0:c))a.K=!0,a.ba=b,a.N=0,a.g!=a||vo(a)};uo.prototype.getName=function(){return this.g.ta};uo.prototype.Zc=function(){return this.g.Z()}; uo.prototype.Z=function(){return{}};uo.prototype.Cc=function(){return this.g.N};var xo=function(a,b){kb(a.C,b)||(a.C.push(b),b.me(a.g),b.dd(a.o),b.uc()&&(a.D=!0))};uo.prototype.R=function(){var a=qo();a.g=Jn(!0,this.l,a.C)};uo.prototype.W=function(){oo(qo(),this.l)};uo.prototype.ca=function(){return this.o.g};var yo=function(a){a=a.g;a.W();a.R();var b=qo();b.J=Jn(!1,a.l,b.C);po(qo(),a.l);a.o.g=a.ca()};uo.prototype.sample=function(){};var zo=function(a,b){a.g!=a?zo(a.g,b):a.A!==b&&(a.A=b,vo(a))}; uo.prototype.isActive=function(){return this.g.A};var Ao=function(a){a.D=a.C.length?eb(a.C,function(b){return b.uc()}):!1},Bo=function(a){var b=qb(a.C);$a(b,function(c){c.dd(a.o)})},vo=function(a){var b=qb(a.C);$a(b,function(c){c.me(a.g)});a.g!=a||Bo(a)};l=uo.prototype;l.me=function(a){var b=this.g;this.g=a.Cc()>=this.N?a:this;b!==this.g?(this.A=this.g.A,vo(this)):this.A!==this.g.A&&(this.A=this.g.A,vo(this))};l.dd=function(a){if(a.j===this.g){var b=!this.o.Gd(a,this.D);this.o=a;b&&Bo(this)}}; l.uc=function(){return this.D};l.dispose=function(){this.O=!0};l.Ka=function(){return this.O};var Co=function(a,b,c,d){this.element=a;this.g=new xn(0,0,0,0);this.l=null;this.C=new xn(0,0,0,0);this.j=b;this.ea=c;this.L=d;this.K=!1;this.timestamp=-1;this.D=new Bn(b.o,this.element,this.g,new xn(0,0,0,0),0,0,vn(),0);this.A=void 0};Co.prototype.jh=function(){return!0};Co.prototype.N=function(){};Co.prototype.dispose=function(){if(!this.Ka()){var a=this.j;lb(a.C,this);a.D&&this.uc()&&Ao(a);this.N();this.K=!0}};Co.prototype.Ka=function(){return this.K}; var Do=function(a,b){return a.A?new xn(Math.max(b.top+a.A.top,b.top),Math.min(b.left+a.A.right,b.right),Math.min(b.top+a.A.bottom,b.bottom),Math.max(b.left+a.A.left,b.left)):b.clone()};l=Co.prototype;l.Zc=function(){return this.j.Zc()};l.Cc=function(){return this.j.Cc()};l.je=function(){return this.j.je()};l.ff=function(){return this.j.ff()};l.me=function(){};l.dd=function(){this.xc()};l.uc=function(){return this.L};var Eo=function(a){this.A=!1;this.g=a;this.o=function(){}};l=Eo.prototype;l.Cc=function(){return this.g.Cc()};l.je=function(){return this.g.je()};l.ff=function(){return this.g.ff()};l.create=function(a,b,c){var d=null;this.g&&(d=this.Me(a,b,c),xo(this.g,d));return d};l.kh=function(){return this.ae()};l.ae=function(){return!1};l.init=function(a){return this.g.G()?(xo(this.g,this),this.o=a,!0):!1};l.me=function(a){a.Cc()==0&&this.o(a.je(),this)};l.dd=function(){};l.uc=function(){return!1}; l.dispose=function(){this.A=!0};l.Ka=function(){return this.A};l.Zc=function(){return{}};var Fo=function(a,b,c){this.l=c===void 0?0:c;this.j=a;this.g=b==null?"":b},Go=function(a){switch(Math.trunc(a.l)){case -16:return-16;case -8:return-8;case 0:return 0;case 8:return 8;case 16:return 16;default:return 16}},Ho=function(a,b){return a.lb.l?!1:a.jb.j?!1:typeof a.gtypeof b.g?!1:a.g0&&(a+="?"+b);return a};var Oo=function(a){var b=[],c=[];Hb(a,function(d,e){if(!(e in Object.prototype)&&typeof d!="undefined")switch(Array.isArray(d)&&(d=d.join(",")),d=[e,"=",d].join(""),e){case "adk":case "r":case "tt":case "error":case "mtos":case "tos":case "p":case "bs":b.unshift(d);break;case "req":case "url":case "referrer":case "iframe_loc":c.push(d);break;default:b.push(d)}});return b.concat(c)},Po=function(a){a=a.toString();wg();og(C,a)};var Qo=function(){this.g=0};function Ro(a){a&&typeof a.dispose=="function"&&a.dispose()};var L=function(){this.N=this.N;this.J=this.J};L.prototype.N=!1;L.prototype.Ka=function(){return this.N};L.prototype.dispose=function(){this.N||(this.N=!0,this.P())};L.prototype[Symbol.dispose]=function(){this.dispose()};var M=function(a,b){So(a,Ta(Ro,b))},So=function(a,b){a.N?b():(a.J||(a.J=[]),a.J.push(b))};L.prototype.P=function(){if(this.J)for(;this.J.length;)this.J.shift()()};var To=function(a,b,c){$a(a.l,function(d){var e=a.g;if(!d.g&&(d.l(b,c),d.o())){d.g=!0;var f=d.j(),g=new Io;g.add("id","av-js");g.add("type","verif");g.add("vtype",d.A);d=ug(Qo);g.add("i",d.g++);g.add("adk",e);Ko(g,f);e=new No(g);Po(e)}})};var Uo=function(){this.j=this.l=this.o=this.g=0},Vo=function(a,b,c,d){b&&(a.g+=c,a.j+=c,a.o+=c,a.l=Math.max(a.l,a.o));if(d===void 0?!b:d)a.o=0};var Wo=[1,.75,.5,.3,0],Xo=function(a){this.j=a=a===void 0?Wo:a;this.g=cb(this.j,function(){return new Uo})},Zo=function(a,b){return Yo(a,function(c){return c.g},b===void 0?!0:b)},ap=function(a,b){return $o(a,b,function(c){return c.g})},bp=function(a,b){return Yo(a,function(c){return c.l},b===void 0?!0:b)},cp=function(a,b){return $o(a,b,function(c){return c.l})},dp=function(a,b){return $o(a,b,function(c){return c.j})},ep=function(a){$a(a.g,function(b){b.j=0})},fp=function(a,b,c,d,e,f,g){g=g===void 0? !0:g;c=f?Math.min(b,c):c;for(f=0;f0&&c>=h;h=!(b>0&&b>=h)||d;Vo(a.g[f],g&&k,e,!g||h)}},Yo=function(a,b,c){a=cb(a.g,function(d){return b(d)});return c?a:gp(a)},$o=function(a,b,c){var d=jb(a.j,function(e){return b<=e});return d==-1?0:c(a.g[d])},gp=function(a){return cb(a,function(b,c,d){return c>0?d[c]-d[c-1]:d[c]})};var hp=function(){this.l=new Xo;this.W=this.R=0;this.Z=new Uo;this.G=this.B=-1;this.la=1E3;this.ta=new Xo([1,.9,.8,.7,.6,.5,.4,.3,.2,.1,0]);this.aa=this.K=-1},ip=function(a,b){return bp(a.l,b===void 0?!0:b)}; hp.prototype.N=function(a,b,c,d){this.B=this.B!=-1?Math.min(this.B,b.na):b.na;this.G=Math.max(this.G,b.na);this.K=this.K!=-1?Math.min(this.K,b.sb):b.sb;this.aa=Math.max(this.aa,b.sb);fp(this.ta,b.sb,c.sb,b.g,a,d);this.R+=a;b.na===0&&(this.W+=a);fp(this.l,b.na,c.na,b.g,a,d);c=d||c.Pd!=b.Pd?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.g;Vo(this.Z,c,a,b)};hp.prototype.Gc=function(){return this.Z.l>=this.la};function jp(a){a=a===void 0?B:a;var b=a.context||a.AMP_CONTEXT_DATA;if(!b)try{b=a.parent.context||a.parent.AMP_CONTEXT_DATA}catch(e){}var c,d;return((c=b)==null?0:c.pageViewId)&&((d=b)==null?0:d.canonicalUrl)?b:null};if(pc&&pc.URL){var kp=pc.URL,lp;if(lp=!!kp){var mp;a:{if(kp){var np=RegExp(".*[&#?]google_debug(=[^&]*)?(&.*)?$");try{var op=np.exec(decodeURIComponent(kp));if(op){mp=op[1]&&op[1].length>1?op[1].substring(1):"true";break a}}catch(a){}}mp=""}lp=mp.length>0}jn.Li(!lp)}var pp=function(a,b,c,d){var e=e===void 0?!1:e;c=nn(d,c);rf(a,b,c,{capture:e})};var qp=new xn(0,0,0,0);function rp(a,b){b=sp(b);return b===0?0:sp(a)/b}function sp(a){return Math.max(a.bottom-a.top,0)*Math.max(a.right-a.left,0)}function tp(a,b){if(!a||!b)return!1;for(var c=0;a!==null&&c++<100;){if(a===b)return!0;try{if(a=a.parentElement||a){var d=Ge(a),e=d&&Qe(d),f=e&&e.frameElement;f&&(a=f)}}catch(g){break}}return!1} function up(a,b,c){if(!a||!b)return!1;b=zn(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;Jf(window.top)&&window.top&&window.top.document&&(window=window.top);if(!In())return!1;a=window.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=Ge(c))&&b.defaultView&&b.defaultView.frameElement)&&tp(b,a);var d=a===c;a=!d&&a&&ef(a,function(e){return e===c});return!(b||d||a)} function vp(a,b,c,d){return qo().l?!1:a.getWidth()<=0||a.getHeight()<=0?!0:c&&d?mn(208,function(){return up(a,b,c)}):!1};var wp=new xn(0,0,0,0),yp=function(a,b,c){L.call(this);this.position=wp.clone();this.zg=this.hg();this.ni=-2;this.Wn=Date.now();this.Bk=-1;this.ug=b;this.tg=null;this.Xe=!1;this.Jg=null;this.opacity=-1;this.Kn=c;this.Xn=!1;this.oi=function(){};this.Fk=function(){};this.xb=new ff;this.xb.od=a;this.xb.g=a;this.Tb=!1;this.Fd={ri:null,pi:null};this.vk=!0;this.Cf=null;this.qe=this.hn=!1;mc().N++;this.rb=this.Zh();this.zk=-1;this.ma=null;this.Lj=this.en=!1;this.ea=new fc;oc(this.ea);xp(this);this.Kn==1? ic(this.ea,"od",1):ic(this.ea,"od",0)};q(yp,L);yp.prototype.P=function(){this.xb.g&&(this.Fd.ri&&(sf(this.xb.g,"mouseover",this.Fd.ri),this.Fd.ri=null),this.Fd.pi&&(sf(this.xb.g,"mouseout",this.Fd.pi),this.Fd.pi=null));this.Cf&&this.Cf.dispose();this.ma&&this.ma.dispose();delete this.zg;delete this.oi;delete this.Fk;delete this.xb.od;delete this.xb.g;delete this.Fd;delete this.Cf;delete this.ma;delete this.ea;L.prototype.P.call(this)};yp.prototype.bd=function(){return this.ma?this.ma.g:this.position}; yp.prototype.Rg=function(a){mc().Rg(a)};yp.prototype.Sg=function(a){mc().Sg(a)};var xp=function(a){a=a.xb.od;var b;if(b=a&&a.getAttribute)b=/-[a-z]/.test("googleAvInapp")?!1:fe&&a.dataset?"googleAvInapp"in a.dataset:a.hasAttribute?a.hasAttribute("data-"+Nd()):!!a.getAttribute("data-"+Nd());b&&(qo().j=!0)};yp.prototype.uc=function(){return!1};yp.prototype.hg=function(){return new hp};yp.prototype.Ya=function(){return this.zg}; var zp=function(a,b){b!=a.qe&&(a.qe=b,a=qo(),b?a.B++:a.B>0&&a.B--)},Ap=function(a,b){if(a.ma){if(b.getName()===a.ma.getName())return;a.ma.dispose();a.ma=null}b=b.create(a.xb.g,a.ea,a.uc());if(b=b!=null&&b.jh()?b:null)a.ma=b},Bp=function(a,b,c){if(!a.tg||a.ug==-1||b.getTimestamp()===-1||a.tg.getTimestamp()===-1)return 0;a=b.getTimestamp()-a.tg.getTimestamp();return a>c?0:a};yp.prototype.Jj=function(a){return Bp(this,a,1E4)}; var Cp=function(a,b,c){if(a.ma){a.ma.xc();var d=a.ma.D,e=d.l,f=e.g;if(d.A!=null){var g=d.j;a.Jg=new ge(g.left-f.left,g.top-f.top)}f=a.Xg()?Math.max(d.g,d.o):d.g;g={};e.volume!==null&&(g.volume=e.volume);e=a.Jj(d);a.tg=d;a.Oi(f,b,c,!1,g,e,d.C)}},Dp=function(a){if(a.Xe&&a.Cf){var b=jc(a.ea,"od")==1,c=qo().g,d=a.Cf,e=a.ma?a.ma.getName():"ns",f=a.Jg,g=new he(c.getWidth(),c.getHeight());c=a.Xg();a={Tn:e,Jg:f,oo:g,Xg:c,na:a.rb.na,io:b};if(b=d.j){b.xc();e=b.D;f=e.l.g;var h=g=null;e.A!=null&&f&&(g=e.j,g= new ge(g.left-f.left,g.top-f.top),h=new he(f.right-f.left,f.bottom-f.top));e=c?Math.max(e.g,e.o):e.g;c={Tn:b.getName(),Jg:g,oo:h,Xg:c,io:!1,na:e}}else c=null;c&&To(d,a,c)}};l=yp.prototype;l.Oi=function(a,b,c,d,e,f,g){this.Tb||(this.Xe&&(a=this.uh(a,c,e,g),d=d&&this.rb.na>=(this.Pd()?.3:.5),this.Pi(f,a,d),this.ug=b,a.na>0&&-1===this.zk&&(this.zk=b),this.Bk==-1&&this.Gc()&&(this.Bk=b),this.ni==-2&&(this.ni=sp(this.bd())?a.na:-1),this.rb=a),this.oi(this))}; l.Pi=function(a,b,c){this.Ya().N(a,b,this.rb,c)};l.Zh=function(){return new Ab};l.uh=function(a,b,c,d){c=this.Zh();c.g=b;b=wg().j;b=wf()?-1:b.isVisible()?0:1;c.j=b;c.na=this.Ah(a);c.Pd=this.Pd();c.sb=d;return c};l.Ah=function(a){return this.opacity===0&&jc(this.ea,"opac")===1?0:a};l.Pd=function(){return!1};l.Xg=function(){return this.en||this.hn};l.Kb=function(){return 0};l.Gc=function(){return this.zg.Gc()}; l.Kj=function(){var a=this.Xe;a=(this.Lj||this.Ka())&&!a;var b=mc().l!==2||this.Xn;return this.Tb||b&&a?2:this.Gc()?4:3};l.eg=function(){return 0};var Ep=function(a,b,c){b&&(a.oi=b);c&&(a.Fk=c)};var Fp=function(){};Fp.prototype.next=function(){return Gp};var Gp={done:!0,value:void 0};Fp.prototype.be=function(){return this};var Hp=function(){this.o=this.g=this.l=this.j=this.A=0},Ip=function(a){var b={};b=(b.ptlt=Ua()-a.A,b);var c=a.j;c&&(b.pnk=c);(c=a.l)&&(b.pnc=c);(c=a.o)&&(b.pnmm=c);(a=a.g)&&(b.pns=a);return b};var Jp=function(){Ab.call(this);this.fullscreen=!1;this.volume=void 0;this.l=!1;this.mediaTime=-1};q(Jp,Ab);var Kp=function(a){return go(a.volume)&&a.volume>0};var Mp=function(a,b,c,d){c=c===void 0?!0:c;d=d===void 0?function(){return!0}:d;return function(e){var f=e[a];if(Array.isArray(f)&&d(e))return Lp(f,b,c)}},Np=function(a,b){return function(c){return b(c)?c[a]:void 0}},Op=function(a){return function(b){for(var c=0;c0?f[e-1]+1:0,d+1).reduce(function(g,h){return g+ h},0)})};var Pp=Op([void 0,1,2,3,4,8,16]),Qp=Op([void 0,4,8,16]),Rp={sv:"sv",v:"v",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",p0:Np("p0",Qp),p1:Np("p1",Qp),p2:Np("p2",Qp),p3:Np("p3",Qp),cp:"cp",tos:"tos",mtos:"mtos",amtos:"amtos",mtos1:Mp("mtos1",[0,2,4],!1,Qp),mtos2:Mp("mtos2",[0,2,4],!1,Qp),mtos3:Mp("mtos3",[0,2,4],!1,Qp),mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",vht:"vht",mut:"mut",a:"a",a0:Np("a0",Qp),a1:Np("a1",Qp),a2:Np("a2",Qp),a3:Np("a3",Qp),ft:"ft",dft:"dft",at:"at",dat:"dat",as:"as", vpt:"vpt",gmm:"gmm",std:"std",efpf:"efpf",swf:"swf",nio:"nio",px:"px",nnut:"nnut",vmer:"vmer",vmmk:"vmmk",vmiec:"vmiec",nmt:"nmt",tcm:"tcm",bt:"bt",pst:"pst",vpaid:"vpaid",dur:"dur",vmtime:"vmtime",dtos:"dtos",dtoss:"dtoss",dvs:"dvs",dfvs:"dfvs",dvpt:"dvpt",fmf:"fmf",vds:"vds",is:"is",i0:"i0",i1:"i1",i2:"i2",i3:"i3",ic:"ic",cs:"cs",c:"c",c0:Np("c0",Qp),c1:Np("c1",Qp),c2:Np("c2",Qp),c3:Np("c3",Qp),mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:Np("qmtos",Pp),qnc:Np("qnc",Pp),qmv:Np("qmv",Pp),qnv:Np("qnv",Pp), raf:"raf",rafc:"rafc",lte:"lte",ces:"ces",tth:"tth",femt:"femt",femvt:"femvt",emc:"emc",emuc:"emuc",emb:"emb",avms:"avms",nvat:"nvat",qi:"qi",psm:"psm",psv:"psv",psfv:"psfv",psa:"psa",pnk:"pnk",pnc:"pnc",pnmm:"pnmm",pns:"pns",ptlt:"ptlt",pngs:"pings",veid:"veid",ssb:"ssb",ss0:Np("ss0",Qp),ss1:Np("ss1",Qp),ss2:Np("ss2",Qp),ss3:Np("ss3",Qp),dc_rfl:"urlsigs",obd:"obd",omidp:"omidp",omidr:"omidr",omidv:"omidv",omida:"omida",omids:"omids",omidpv:"omidpv",omidam:"omidam",omidct:"omidct",omidia:"omidia", omiddc:"omiddc",omidlat:"omidlat",omiddit:"omiddit",nopd:"nopd",co:"co",tm:"tm",tu:"tu"},Sp=Object.assign({},Rp,{avid:function(a){return function(){return a}}("audio"),avas:"avas",vs:"vs"}),Tp={atos:"atos",avt:Mp("atos",[2]),davs:"davs",dafvs:"dafvs",dav:"dav",ss:function(a,b){return function(c){return c[a]===void 0&&b!==void 0?b:c[a]}}("ss",0),t:"t"};var Up=function(){this.j=this.g=""};var Vp=function(){},Wp=function(a,b){var c={};if(a!==void 0)if(b!=null)for(var d in b){var e=b[d];d in Object.prototype||e!=null&&(c[d]=typeof e==="function"?e(a):a[e])}else Zb(c,a);return Mo(Ko(new Io,c))};var Xp=function(){var a={};this.j=(a.vs=[1,0],a.vw=[0,1],a.am=[2,2],a.a=[4,4],a.f=[8,8],a.bm=[16,16],a.b=[32,32],a.avw=[0,64],a.avs=[64,0],a.pv=[256,256],a.gdr=[0,512],a.p=[0,1024],a.r=[0,2048],a.m=[0,4096],a.um=[0,8192],a.ef=[0,16384],a.s=[0,32768],a.pmx=[0,16777216],a.mut=[33554432,33554432],a.umutb=[67108864,67108864],a.tvoff=[134217728,134217728],a);this.g={};for(var b in this.j)this.j[b][1]>0&&(this.g[b]=0);this.l=0}; Xp.prototype.reportEvent=function(a){var b=this.j[a],c=b[1];this.l+=b[0];c>0&&this.g[a]==0&&(this.g[a]=1)};var Yp=function(a){var b=Nb(a.j),c=0,d;for(d in a.g)kb(b,d)&&a.g[d]==1&&(c+=a.j[d][1],a.g[d]=2);return c},Zp=function(a){var b=0,c;for(c in a.g){var d=a.g[c];if(d==1||d==2)b+=a.j[c][1]}return b};var $p=function(){this.g=this.j=0};$p.prototype.getValue=function(){return this.j};var aq=function(a,b,c){b>=32||(a.g&1<=.5;go(b.volume)&&(this.o=this.o!=-1?Math.min(this.o,b.volume):b.volume,this.C=Math.max(this.C,b.volume));f&&(this.L+=a,this.D+=e?a:0);fp(this.j,b.na,c.na,b.g,a,d,e);Vo(this.g,!0,a);Vo(this.A,e,a);Vo(this.F,c.fullscreen,a);Vo(this.Fa,e&&!f,a);a=Math.floor(b.mediaTime/1E3);aq(this.O,a,b.isVisible());aq(this.ia,a,b.na>=1);aq(this.ca,a,Kp(b))}};var dq=function(){this.l=!1};dq.prototype.j=function(a){this.l||(this.g(a)?(a=this.N.report(this.o,a),this.A|=a,a=a==0):a=!1,this.l=a)};var eq=function(a,b){this.l=!1;this.o=a;this.N=b;this.A=0};q(eq,dq);eq.prototype.g=function(){return!0};eq.prototype.C=function(){return!1};eq.prototype.getId=function(){var a=this,b=Rb(function(c){return c==a.o});return Gn[b].toString()};eq.prototype.toString=function(){var a="";this.C()&&(a+="c");this.l&&(a+="s");this.A>0&&(a+=":"+this.A);return this.getId()+a};var fq=function(a,b){eq.call(this,a,b);this.B=[]};q(fq,eq);fq.prototype.j=function(a,b){b=b===void 0?null:b;b!=null&&this.B.push(b);eq.prototype.j.call(this,a)};var gq=function(){};var hq=function(){};q(hq,gq);hq.prototype.j=function(){return null};hq.prototype.l=function(){return[]};var iq=function(a,b,c,d){Co.call(this,a,b,c,d)};q(iq,Co);l=iq.prototype;l.vh=function(){if(this.element){var a=this.element,b=this.j.g.l;try{try{var c=eo(a.getBoundingClientRect())}catch(m){c=new xn(0,0,0,0)}var d=c.right-c.left,e=c.bottom-c.top,f=Wn(a,b),g=f.x,h=f.y;var k=new xn(Math.round(h),Math.round(g+d),Math.round(h+e),Math.round(g))}catch(m){k=qp.clone()}this.l=k;this.g=Do(this,this.l)}};l.vj=function(){this.C=this.j.o.g}; l.Mj=function(a){var b=jc(this.ea,"od")==1;return vp(a,this.C,this.element,b)};l.wj=function(){this.timestamp=vn()}; l.xc=function(){this.wj();this.vh();if(this.element&&typeof this.element.videoWidth==="number"&&typeof this.element.videoHeight==="number"){var a=this.element;var b=new he(a.videoWidth,a.videoHeight);a=this.g;var c=a.getWidth(),d=a.getHeight(),e=b.width;b=b.height;e<=0||b<=0||c<=0||d<=0||(e/=b,b=c/d,a=a.clone(),e>b?(c/=e,d=(d-c)/2,d>0&&(d=a.top+d,a.top=Math.round(d),a.bottom=Math.round(d+c))):(d*=e,c=Math.round((c-d)/2),c>0&&(c=a.left+c,a.left=Math.round(c),a.right=Math.round(c+d))));this.g=a}this.vj(); a=this.g;c=this.C;a=a.left<=c.right&&c.left<=a.right&&a.top<=c.bottom&&c.top<=a.bottom?new xn(Math.max(a.top,c.top),Math.min(a.right,c.right),Math.min(a.bottom,c.bottom),Math.max(a.left,c.left)):new xn(0,0,0,0);c=a.top>=a.bottom||a.left>=a.right?new xn(0,0,0,0):a;a=this.j.o;b=e=d=0;if((this.g.bottom-this.g.top)*(this.g.right-this.g.left)>0)if(this.Mj(c))c=new xn(0,0,0,0);else{d=qo().A;b=new xn(0,d.height,d.width,0);var f;d=rp(c,(f=this.A)!=null?f:this.g);e=rp(c,qo().g);b=rp(c,b)}f=c.top>=c.bottom|| c.left>=c.right?new xn(0,0,0,0):zn(c,-this.g.left,-this.g.top);ro()||(e=d=0);this.D=new Bn(a,this.element,this.g,f,d,e,this.timestamp,b)};l.getName=function(){return this.j.getName()};var jq=new xn(0,0,0,0),kq=function(a,b,c){Co.call(this,null,a,b,c);this.J=a.isActive();this.B=0};q(kq,iq);l=kq.prototype;l.jh=function(){this.o();return!0};l.dd=function(){iq.prototype.xc.call(this)};l.wj=function(){};l.vh=function(){};l.xc=function(){this.o();iq.prototype.xc.call(this)};l.me=function(a){a=a.isActive();a!==this.J&&(a?this.o():(qo().g=new xn(0,0,0,0),this.g=new xn(0,0,0,0),this.C=new xn(0,0,0,0),this.timestamp=-1));this.J=a};function lq(a){return[a.top,a.left,a.bottom,a.right]} var mq={},nq=(mq.firstquartile=0,mq.midpoint=1,mq.thirdquartile=2,mq.complete=3,mq),oq=function(a,b,c,d,e,f){f=f===void 0?new hq:f;yp.call(this,b,c,d);this.zi=e;this.Ih=0;this.Ma={};this.za=new Xp;this.Mk={};this.Ra="";this.ud=null;this.Gb=!1;this.g=[];this.Hc=f.j();this.C=f.l();this.A=null;this.o=-1;this.ca=this.F=void 0;this.K=this.G=0;this.O=-1;this.Ta=this.ta=!1;this.aa=this.D=this.j=this.Ke=this.Xa=0;this.jb=this.Z=-1;this.Wa=0;this.Fa=new Xo;this.R=this.ia=this.ba=0;this.la=-1;this.Pa=0;this.B= lf;this.L=[this.hg()];this.hc=2;this.Zd={};this.Zd.pause="p";this.Zd.resume="r";this.Zd.skip="s";this.Zd.mute="m";this.Zd.unmute="um";this.Zd.exitfullscreen="ef";this.l=null;this.vb=this.Ua=!1;this.fc=Math.floor(Date.now()/1E3-1704067200);this.W=0};q(oq,yp);oq.prototype.uc=function(){return!0};var pq=function(a){a.Lj=!0;a.Pa!=0&&(a.Pa=3)},qq=function(a){return a===void 0?a:Number(a)?co(a,3):0};l=oq.prototype;l.Jj=function(a){return Bp(this,a,Math.max(1E4,this.o/3))}; l.Oi=function(a,b,c,d,e,f,g){var h=this,k=this.B(this)||{};Zb(k,e);this.o=k.duration||this.o;this.F=k.isVpaid||this.F;this.ca=k.isYouTube||this.ca;wg();this.vb=!1;e=rq(this,b);sq(this)===1&&(f=e);yp.prototype.Oi.call(this,a,b,c,d,k,f,g);this.Hc&&this.Hc.l&&$a(this.C,function(m){m.j(h)})}; l.Pi=function(a,b,c){yp.prototype.Pi.call(this,a,b,c);tq(this).N(a,b,this.rb,c);this.Ta=Kp(this.rb)&&Kp(b);this.O==-1&&this.ta&&(this.O=this.Ya().g.g);this.za.l=0;a=this.Gc();b.isVisible()&&this.za.reportEvent("vs");a&&this.za.reportEvent("vw");go(b.volume)&&this.za.reportEvent("am");Kp(b)?this.za.reportEvent("a"):this.za.reportEvent("mut");this.qe&&this.za.reportEvent("f");b.j!=-1&&(this.za.reportEvent("bm"),b.j==1&&(this.za.reportEvent("b"),Kp(b)&&this.za.reportEvent("umutb")));Kp(b)&&b.isVisible()&& this.za.reportEvent("avs");this.Ta&&a&&this.za.reportEvent("avw");b.na>0&&this.za.reportEvent("pv");uq(this,this.Ya().g.g,!0)&&this.za.reportEvent("gdr");cp(this.Ya().l,1)>=2E3&&this.za.reportEvent("pmx");this.vb&&this.za.reportEvent("tvoff")};l.hg=function(){return new bq};l.Ya=function(){return this.zg};var tq=function(a,b){return a.L[b!=null&&b=0?c:-1;return a}; var sq=function(a){var b=!!jc(mc().ea,"umt");return a.F||!b&&!a.ca?0:1},rq=function(a,b){a.Pa==2?b=0:a.ug==-1?b=0:(b-=a.ug,b=b>Math.max(1E4,a.o/3)?0:b);var c=a.B(a)||{};c=c.currentTime!==void 0?c.currentTime:a.G;var d=c-a.G,e=0;d>=0?(a.K+=b,a.R+=Math.max(b-d,0),e=Math.min(d,a.K)):a.ia+=Math.abs(d);d!=0&&(a.K=0);a.la==-1&&d>0&&(a.la=tn>=0?vn()-tn:-1);a.G=c;return e};oq.prototype.Ah=function(a){return qo().N?0:this.qe?1:yp.prototype.Ah.call(this,a)};oq.prototype.Kb=function(){return 1}; oq.prototype.getDuration=function(){return this.o}; var vq=function(a,b){eb(a.C,function(c){return c.o==b.o})||a.C.push(b)},wq=function(a){var b=ap(a.Ya().j,1);return uq(a,b)},uq=function(a,b,c){return b>=15E3?!0:a.ta?(c===void 0?0:c)?!0:a.o>0?b>=a.o/2:a.O>0?b>=a.O:!1:!1},xq=function(a){var b={},c=qo();b.insideIframe=c.l;b.unmeasurable=a.Tb;var d=a.bd(),e=a.ma?a.ma.l:null;b.position=d;e&&!yn(d,e)&&(b.containerPosition=e);b.exposure=a.rb.na;b.documentSize=c.o;b.viewportSize=new he(c.g.getWidth(),c.g.getHeight());a.l!=null&&(b.presenceData=a.l);b.screenShare= a.rb.sb;return b},yq=function(a){var b=co(a.rb.na,2),c=a.za.l,d=a.rb,e=tq(a),f=qq(e.o),g=qq(e.C),h=qq(d.volume),k=co(e.B,2),m=co(e.G,2),p=co(d.na,2),n=co(e.K,2),r=co(e.aa,2);d=co(d.sb,2);var u=a.bd().clone().round();a=a.ma&&a.ma.l?(a.ma?a.ma.l:null).clone().round():null;e=ip(e,!1);return{no:b,kf:c,Dg:f,wg:g,Qe:h,Eg:k,xg:m,na:p,Fg:n,yg:r,sb:d,position:u,Ue:a,Gg:e}},Aq=function(a,b){zq(a.g,b,function(){return{no:0,kf:void 0,Dg:-1,wg:-1,Qe:-1,Eg:-1,xg:-1,na:-1,Fg:-1,yg:-1,sb:-1,position:void 0,Ue:void 0, Gg:[]}});a.g[b]=yq(a)},zq=function(a,b,c){for(var d=a.length;d0?1:0;n.atos=Zo(m.j);n.ssb=Zo(m.ta,!1);n.amtos=bp(m.j,!1);n.uac=a.Xa;n.vpt=m.g.g;p=="nio"&&(n.nio=1,n.avms="nio");n.gmm="4";n.gdr=uq(a,m.g.g,!0)?1:0;n.efpf=a.hc;if(p== "gsv"||p=="nis")p=a.ma,p.B>0&&(n.nnut=p.B);n.tcm=sq(a);n.nmt=a.ia;n.bt=a.R;n.pst=a.la;n.vpaid=a.F;n.dur=a.o;n.vmtime=a.G;n.is=a.za.l;a.g.length>=1&&(n.i0=a.g[0].kf,n.a0=[a.g[0].Qe],n.c0=[a.g[0].na],n.ss0=[a.g[0].sb],p=a.g[0].position,f=a.g[0].Ue,n.p0=p?lq(p):void 0,p&&f&&!yn(f,p)&&(n.cp0=lq(f)));a.g.length>=2&&(n.i1=a.g[1].kf,n.a1=Eq(a.g[1].Dg,a.g[1].Qe,a.g[1].wg),n.c1=Eq(a.g[1].Eg,a.g[1].na,a.g[1].xg),n.ss1=Eq(a.g[1].Fg,a.g[1].sb,a.g[1].yg),p=a.g[1].position,f=a.g[1].Ue,n.p1=p?lq(p):void 0,p&&f&& !yn(f,p)&&(n.cp1=lq(f)),n.mtos1=a.g[1].Gg);a.g.length>=3&&(n.i2=a.g[2].kf,n.a2=Eq(a.g[2].Dg,a.g[2].Qe,a.g[2].wg),n.c2=Eq(a.g[2].Eg,a.g[2].na,a.g[2].xg),n.ss2=Eq(a.g[2].Fg,a.g[2].sb,a.g[2].yg),p=a.g[2].position,f=a.g[2].Ue,n.p2=p?lq(p):void 0,p&&f&&!yn(f,p)&&(n.cp2=lq(f)),n.mtos2=a.g[2].Gg);a.g.length>=4&&(n.i3=a.g[3].kf,n.a3=Eq(a.g[3].Dg,a.g[3].Qe,a.g[3].wg),n.c3=Eq(a.g[3].Eg,a.g[3].na,a.g[3].xg),n.ss3=Eq(a.g[3].Fg,a.g[3].sb,a.g[3].yg),p=a.g[3].position,f=a.g[3].Ue,n.p3=p?lq(p):void 0,p&&f&&!yn(f, p)&&(n.cp3=lq(f)),n.mtos3=a.g[3].Gg);n.cs=Zp(a.za);b&&(n.ic=Yp(a.za),n.dvpt=m.g.j,n.dvs=dp(m.l,.5),n.dfvs=dp(m.l,1),n.davs=dp(m.j,.5),n.dafvs=dp(m.j,1),c&&(m.g.j=0,ep(m.l),ep(m.j)),a.Gc()&&(n.dtos=m.L,n.dav=m.D,n.dtoss=a.Ih+1,c&&(m.L=0,m.D=0,a.Ih++)),n.dat=m.A.j,n.dft=m.F.j,c&&(m.A.j=0,m.F.j=0));n.ps=[h.o.width,h.o.height];n.bs=[h.g.getWidth(),h.g.getHeight()];n.scs=[h.A.width,h.A.height];n.dom=h.domain;a.Ke&&(n.vds=a.Ke);if(a.C.length>0||a.Hc)b=qb(a.C),a.Hc&&b.push(a.Hc),n.pings=cb(b,function(r){return r.toString()}); b=cb(bb(a.C,function(r){return r.C()}),function(r){return r.getId()});rb(b);n.ces=b;a.j&&(n.vmer=a.j);a.D&&(n.vmmk=a.D);a.aa&&(n.vmiec=a.aa);n.avms=a.ma?a.ma.getName():"ns";a.ma&&Zb(n,a.ma.Zc());k.g&&(n.femt=a.Z,n.femvt=a.jb,n.emc=a.Wa,n.emb=Zo(a.Fa,!1),n.emuc=a.ba,n.avms="exc");d?(n.c=co(a.rb.na,2),n.ss=co(a.rb.sb,2)):n.tth=vn()-sn;n.mc=co(m.G,2);n.nc=co(m.B,2);n.mv=qq(m.C);n.nv=qq(m.o);n.lte=co(a.ni,2);d=tq(a,e);ip(m);n.qmtos=ip(d);n.qnc=co(d.B,2);n.qmv=qq(d.C);n.qnv=qq(d.o);n.qas=d.o>0?1:0;n.qi= a.Ra;n.avms||(n.avms="geo");n.psm=m.O.g;n.psv=m.O.getValue();n.psfv=m.ia.getValue();n.psa=m.ca.getValue();k=lc(k.ea);k.length&&(n.veid=k);a.l&&Zb(n,Ip(a.l));n.avas=a.eg();n.vs=a.Kj();n.co=Fq(a);n.tm=m.R;n.tu=m.W;return n},Bq=function(a,b){if(kb(Fn,b))return!0;var c=a.Ma[b];return c!==void 0?(a.Ma[b]=!0,!c):!1};oq.prototype.Kj=function(){return this.Tb?2:wq(this)?5:this.Gc()?4:3};oq.prototype.eg=function(){return this.Ua?this.Ya().A.l>=2E3?4:3:2}; var Fq=function(a){var b=a.W.toString(10).padStart(2,"0");b=""+a.fc+b;a.W<99&&a.W++;return b};var Gq=Ua(),Pq=function(){this.g={};var a=Qe();Nq(this,a,document);var b=Oq();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)Nq(this,c,c.document);Nq(this,a.top,a.top.document)}}catch(d){}},Oq=function(){var a=document.documentElement;try{if(!Jf(Qe().top))return"2";var b=[],c=Qe(a.ownerDocument);for(a=c;a!=c.top;a=a.parent)if(a.frameElement)b.push(a.frameElement);else break;return b&&b.length!=0?"1":"0"}catch(d){return"2"}},Nq=function(a,b,c){pp(c,"mousedown",function(){return Qq(a)},301); pp(b,"scroll",function(){return Rq(a)},302);pp(c,"touchmove",function(){return Sq(a)},303);pp(c,"mousemove",function(){return Tq(a)},304);pp(c,"keydown",function(){return Uq(a)},305)},Qq=function(a){Hb(a.g,function(b){b.l>1E5||++b.l})},Rq=function(a){Hb(a.g,function(b){b.g>1E5||++b.g})},Sq=function(a){Hb(a.g,function(b){b.g>1E5||++b.g})},Uq=function(a){Hb(a.g,function(b){b.j>1E5||++b.j})},Tq=function(a){Hb(a.g,function(b){b.o>1E5||++b.o})};var Vq=function(){this.g=[];this.j=[]},Wq=function(a,b){return fb(a.g,function(c){return c.Ra==b})},Xq=function(a,b){return b?fb(a.g,function(c){return c.xb.od==b}):null},Yq=function(a,b){return fb(a.j,function(c){return c.Kb()==2&&c.Ra==b})},$q=function(){var a=Zq;return a.g.length==0?a.j:a.j.length==0?a.g:pb(a.j,a.g)};Vq.prototype.reset=function(){this.g=[];this.j=[]}; var ar=function(a,b){a=b.Kb()==1?a.g:a.j;var c=gb(a,function(d){return d==b});return c!=-1?(a.splice(c,1),b.ma&&b.ma.N(),b.dispose(),!0):!1},br=function(a){var b=Zq;if(ar(b,a)){switch(a.Kb()){case 0:var c=function(){return null};case 2:c=function(){return Yq(b,a.Ra)};break;case 1:c=function(){return Wq(b,a.Ra)}}for(var d=c();d;d=c())ar(b,d)}},cr=function(a){var b=Zq;a=bb(a,function(c){return!Xq(b,c.xb.od)});b.g.push.apply(b.g,w(a))},dr=function(a){var b=[];$a(a,function(c){eb(Zq.g,function(d){return d.xb.od=== c.xb.od&&d.Ra===c.Ra})||(Zq.g.push(c),b.push(c))})},Zq=ug(Vq);var er=function(a,b,c,d){Co.call(this,a,b,c,d);this.o=this.B=0};q(er,Co);er.prototype.getName=function(){return"exc"};er.prototype.xc=function(){this.D=new Bn(this.j.o,this.element,this.g,new xn(0,0,0,0),this.B,0,vn(),this.o)};var fr=function(){Eo.call(this,new uo(C,2))};q(fr,Eo);fr.prototype.getName=function(){return"exc"};fr.prototype.kh=function(){return!0};fr.prototype.ae=function(){return!0};fr.prototype.Me=function(a,b,c){return new er(a,this.g,b,c)};var gr=function(){this.g=this.j=null},hr=function(a,b){if(a.j==null)return!1;var c=function(d,e){b(d,e)};a.g=fb(a.j,function(d){return d!=null&&d.kh()});a.g&&(a.g.init(c)?yo(a.g.g):b(a.g.g.je(),a.g));return a.g!=null};var jr=function(a){a=ir(a);Eo.call(this,a.length?a[a.length-1]:new uo(C,0));this.l=a;this.j=null};q(jr,Eo);l=jr.prototype;l.getName=function(){return(this.j?this.j:this.g).getName()};l.Zc=function(){return(this.j?this.j:this.g).Zc()};l.Cc=function(){return(this.j?this.j:this.g).Cc()};l.init=function(a){var b=!1;$a(this.l,function(c){c.G()&&(b=!0)});b&&(this.o=a,xo(this.g,this));return b};l.dispose=function(){$a(this.l,function(a){a.dispose()});Eo.prototype.dispose.call(this)}; l.kh=function(){return eb(this.l,function(a){return a.F()})};l.ae=function(){return eb(this.l,function(a){return a.F()})};l.Me=function(a,b,c){return new iq(a,this.g,b,c)};l.dd=function(a){this.j=a.j};var ir=function(a){if(!a.length)return[];a=bb(a,function(c){return c!=null&&c.F()});for(var b=1;bc.time?b:c},a[0])};l=lr.prototype;l.xc=function(){var a=nr(this);a.length>0&&or(this,a);iq.prototype.xc.call(this)}; l.vh=function(){};l.Mj=function(){return!1};l.vj=function(){};l.Zc=function(){var a={};return Object.assign(this.j.Zc(),(a.niot_obs=this.G,a.niot_cbk=this.F,a))};l.getName=function(){return"nio"};var qr=function(a){a=a===void 0?C:a;Eo.call(this,new uo(a,2))};q(qr,Eo);qr.prototype.getName=function(){return"nio"};qr.prototype.ae=function(){return!qo().j&&this.g.g.l.IntersectionObserver!=null};qr.prototype.Me=function(a,b,c){return new lr(a,this.g,b,c)};var sr=function(){var a=rr();uo.call(this,C.top,a,"geo")};q(sr,uo);sr.prototype.ca=function(){return qo().g};sr.prototype.F=function(){var a=rr();this.N!==a&&(this.g!=this&&a>this.g.N&&(this.g=this,vo(this)),this.N=a);return a==2};var rr=function(){mc();var a=qo();return a.l||a.j?0:2};var tr=function(){};var ur=function(){this.done=!1;this.g={Pl:0,jj:0,yq:0,Cj:0,di:-1,om:0,mm:0,qm:0,Sn:0};this.A=null;this.C=!1;this.l=null;this.B=0;this.j=new so(this)},xr=function(){var a=vr;a.C||(a.C=!0,wr(a,function(){return a.o.apply(a,w(Ea.apply(0,arguments)))}),a.o())};ur.prototype.sample=function(){yr(this,$q(),!1)}; var zr=function(){ug(tr);var a=ug(gr);a.g!=null&&a.g.g?yo(a.g.g):mo(qo())},yr=function(a,b,c){if(!a.done&&(a.j.cancel(),b.length!=0)){a.l=null;try{zr();var d=vn();mc().J=d;if(ug(gr).g!=null)for(var e=0;e=0?vn()-rn:-1,h=vn();e.g.di==-1&&(g=h);var k=qo(),m=mc(),p=kc(m.ea),n=$q();try{if(n.length>0){var r= k.g;r&&(p.bs=[r.getWidth(),r.getHeight()]);var u=k.o;u&&(p.ps=[u.width,u.height]);C.screen&&(p.scs=[C.screen.width,C.screen.height])}else p.url=encodeURIComponent(C.location.href.substring(0,512)),f.referrer&&(p.referrer=encodeURIComponent(f.referrer.substring(0,512)));p.tt=g;p.pt=rn;p.bin=m.l;C.google_osd_load_pub_page_exp!==void 0&&(p.olpp=C.google_osd_load_pub_page_exp);p.deb=[1,e.g.Pl,e.g.jj,e.g.Cj,e.g.di,0,e.j.j,e.g.om,e.g.mm,e.g.qm,e.g.Sn,-1].join(";");p.tvt=Ar(e,h);k.j&&(p.inapp=1);if(C!== null&&C!=C.top){n.length>0&&(p.iframe_loc=encodeURIComponent(C.location.href.substring(0,512)));var t=k.J;p.is=[t.getWidth(),t.getHeight()]}}catch(z){p.error=1}vr.l=p}r=Xb(vr.l);u=mc().j;jc(u.l,"prf")==1?(t=new Jm,e=u.g,f=0,e.g>-1&&(f=e.l.g.g()-e.g),t=Nj(t,1,ri(e.o+f),0),e=u.g,t=rk(t,5,e.g>-1?e.j+1:e.j),t=uk(t,2,u.j.g.o()),t=uk(t,3,u.j.g.l()),u=uk(t,4,u.j.g.j()),t={},u=(t.pf=Qg(u.g()),t)):u={};Zb(r,u);Zb(b,d,c,r,a())}])},vr=ug(ur);var Er=null,Fr="",Gr=!1,Hr=function(){var a=Er||C;if(!a)return"";var b=[];if(!a.location||!a.location.href)return"";b.push("url="+encodeURIComponent(a.location.href.substring(0,512)));a.document&&a.document.referrer&&b.push("referrer="+encodeURIComponent(a.document.referrer.substring(0,512)));return b.join("&")};function Ir(){var a="av.default_js_unreleased_RCxx".match(/_(\d{8})_RC\d+$/)||"av.default_js_unreleased_RCxx".match(/_(\d{8})_\d+_\d+$/)||"av.default_js_unreleased_RCxx".match(/_(\d{8})_\d+\.\d+$/)||"av.default_js_unreleased_RCxx".match(/_(\d{8})_\d+_RC\d+$/),b;if(((b=a)==null?void 0:b.length)==2)return a[1];a="av.default_js_unreleased_RCxx".match(/.*_(\d{2})\.(\d{4})\.\d+_RC\d+$/);var c;return((c=a)==null?void 0:c.length)==3?"20"+a[1]+a[2]:null} var Jr=function(){return"ima_html5_sdk".includes("ima_html5_sdk")?{ac:"ima",bc:null}:"ima_html5_sdk".includes("ima_native_sdk")?{ac:"nima",bc:null}:"ima_html5_sdk".includes("admob-native-video-javascript")?{ac:"an",bc:null}:"av.default_js_unreleased_RCxx".includes("cast_js_sdk")?{ac:"cast",bc:Ir()}:"av.default_js_unreleased_RCxx".includes("youtube.player.web")?{ac:"yw",bc:Ir()}:"av.default_js_unreleased_RCxx".includes("outstream_web_client")?{ac:"out",bc:Ir()}:"av.default_js_unreleased_RCxx".includes("drx_rewarded_web")? {ac:"r",bc:Ir()}:"av.default_js_unreleased_RCxx".includes("gam_native_web_video")?{ac:"n",bc:Ir()}:"av.default_js_unreleased_RCxx".includes("admob_interstitial_video")?{ac:"int",bc:Ir()}:{ac:"j",bc:null}},Kr=Jr().ac,Lr=Jr().bc;var Nr=function(a,b){var c={sv:"966"};Lr!==null&&(c.v=Lr);c.cb=Kr;c.nas=Zq.g.length;c.msg=a;b!==void 0&&(a=Mr(b))&&(c.e=Gn[a]);return c},Or=function(a){return a.lastIndexOf("custom_metric_viewable",0)==0},Mr=function(a){var b=Or(a)?"custom_metric_viewable":a.toLowerCase();return Rb(function(c){return c==b})};var Pr={Qo:"visible",Eo:"audible",Sp:"time",Tp:"timetype"},Qr={visible:function(a){return/^(100|[0-9]{1,2})$/.test(a)},audible:function(a){return a=="0"||a=="1"},timetype:function(a){return a=="mtos"||a=="tos"},time:function(a){return/^(100|[0-9]{1,2})%$/.test(a)||/^([0-9])+ms$/.test(a)}},Rr=function(){this.g=void 0;this.j=!1;this.l=0;this.o=-1;this.A="tos"},Sr=function(a){try{var b=a.split(",");return b.length>Nb(Pr).length?null:db(b,function(c,d){d=d.toLowerCase().split("=");if(d.length!=2||Qr[d[0]]=== void 0||!Qr[d[0]](d[1]))throw Error("Entry ("+d[0]+", "+d[1]+") is invalid.");c[d[0]]=d[1];return c},{})}catch(c){return null}},Tr=function(a,b){if(a.g==void 0)return 0;switch(a.A){case "mtos":return a.j?cp(b.j,a.g):cp(b.l,a.g);case "tos":return a.j?ap(b.j,a.g):ap(b.l,a.g)}return 0};var Ur=function(a,b,c,d){eq.call(this,b,d);this.B=a;this.J=c};q(Ur,eq);Ur.prototype.getId=function(){return this.B};Ur.prototype.C=function(){return!0};Ur.prototype.g=function(a){var b=a.Ya(),c=a.getDuration();return eb(this.J,function(d){if(d.g!=void 0)var e=Tr(d,b);else b:{switch(d.A){case "mtos":e=d.j?b.A.l:b.g.g;break b;case "tos":e=d.j?b.A.g:b.g.g;break b}e=0}e==0?d=!1:(d=d.l!=-1?d.l:c!==void 0&&c>0?d.o*c:-1,d=d!=-1&&e>=d);return d})};var Vr=function(){};q(Vr,Vp);Vr.prototype.g=function(a){var b=new Up;b.g=Wp(a,Rp);b.j=Wp(a,Tp);return b};var Wr=function(a){eq.call(this,"fully_viewable_audible_half_duration_impression",a)};q(Wr,eq);Wr.prototype.g=function(a){return wq(a)};var Xr=function(a){this.g=a};q(Xr,gq);var Yr=function(a,b){eq.call(this,a,b)};q(Yr,eq);Yr.prototype.g=function(a){return a.Ya().Gc()};var Zr=function(a){fq.call(this,"measurable_impression",a)};q(Zr,fq);Zr.prototype.g=function(a){var b=kb(this.B,jc(mc().ea,"ovms"));return!a.Tb&&(a.Pa!=0||b)};var $r=function(){Xr.apply(this,arguments)};q($r,Xr);$r.prototype.j=function(){return new Zr(this.g)};$r.prototype.l=function(){return[new Yr("viewable_impression",this.g),new Wr(this.g)]};var as=function(a,b,c){kq.call(this,a,b,c)};q(as,kq);as.prototype.o=function(){var a=Ja("ima.admob.getViewability"),b=jc(this.ea,"queryid");typeof a==="function"&&b&&a(b)};as.prototype.getName=function(){return"gsv"};var bs=function(a){a=a===void 0?C:a;Eo.call(this,new uo(a,2))};q(bs,Eo);bs.prototype.getName=function(){return"gsv"};bs.prototype.ae=function(){var a=qo();mc();return a.j&&!1};bs.prototype.Me=function(a,b,c){return new as(this.g,b,c)};var cs=function(a,b,c){kq.call(this,a,b,c)};q(cs,kq);cs.prototype.o=function(){var a=this,b=Ja("ima.bridge.getNativeViewability"),c=jc(this.ea,"queryid");typeof b==="function"&&c&&b(c,function(d){Ub(d)&&a.B++;var e=d.opt_nativeViewVisibleBounds||{},f=d.opt_nativeViewHidden;a.g=fo(d.opt_nativeViewBounds||{});var g=a.j.o;g.g=f?jq.clone():fo(e);a.timestamp=d.opt_nativeTime||-1;qo().g=g.g;d=d.opt_nativeVolume;d!==void 0&&(g.volume=d)})};cs.prototype.getName=function(){return"nis"};var ds=function(a){a=a===void 0?C:a;Eo.call(this,new uo(a,2))};q(ds,Eo);ds.prototype.getName=function(){return"nis"};ds.prototype.ae=function(){var a=qo();mc();return a.j&&!1};ds.prototype.Me=function(a,b,c){return new cs(this.g,b,c)};var es=function(){uo.call(this,C,2,"mraid");this.ia=0;this.L=this.aa=!1;this.J=null;this.j=Hn(this.l);this.o.g=new xn(0,0,0,0);this.la=!1};q(es,uo);es.prototype.F=function(){return this.j.Lb!=null};es.prototype.Z=function(){var a={};this.ia&&(a.mraid=this.ia);this.aa&&(a.mlc=1);a.mtop=this.j.Rn;this.J&&(a.mse=this.J);this.la&&(a.msc=1);a.mcp=this.j.Wf;return a}; es.prototype.B=function(a){var b=Ea.apply(1,arguments);try{return this.j.Lb[a].apply(this.j.Lb,b)}catch(c){on(538,c,.01,function(d){d.method=a})}};var fs=function(a,b,c){a.B("addEventListener",b,c)}; es.prototype.G=function(){var a=this;if(this.Aa)return!this.ff();this.Aa=!0;if(this.j.Wf===2)return this.J="ng",wo(this,"w"),!1;if(this.j.Wf===1)return this.J="mm",wo(this,"w"),!1;qo().D=!0;this.l.document.readyState&&this.l.document.readyState=="complete"?gs(this):pp(this.l,"load",function(){wg().setTimeout(nn(292,function(){return gs(a)}),100)},292);return!0}; var gs=function(a){mc().C=!!a.B("isViewable");fs(a,"viewableChange",hs);a.B("getState")==="loading"?fs(a,"ready",is):js(a)},js=function(a){typeof a.j.Lb.AFMA_LIDAR==="string"?(a.aa=!0,ks(a)):(a.j.Wf=3,a.J="nc",wo(a,"w"))},ks=function(a){a.L=!1;var b=jc(mc().ea,"rmmt")==1,c=!!a.B("isViewable");(b?!c:1)&&wg().setTimeout(nn(524,function(){a.L||(ls(a),on(540,Error()),a.J="mt",wo(a,"w"))}),500);ms(a);fs(a,a.j.Lb.AFMA_LIDAR,ns)},ms=function(a){var b=jc(mc().ea,"sneio")==1,c=a.j.Lb.AFMA_LIDAR_EXP_1!==void 0, d=a.j.Lb.AFMA_LIDAR_EXP_2!==void 0;(b=b&&d)&&(a.j.Lb.AFMA_LIDAR_EXP_2=!0);c&&(a.j.Lb.AFMA_LIDAR_EXP_1=!b)},ls=function(a){a.B("removeEventListener",a.j.Lb.AFMA_LIDAR,ns);a.aa=!1};es.prototype.R=function(){var a=qo(),b=os(this,"getMaxSize");a.g=new xn(0,b.width,b.height,0)};es.prototype.W=function(){qo().A=os(this,"getScreenSize")}; var os=function(a,b){if(a.B("getState")==="loading")return new he(-1,-1);b=a.B(b);if(!b)return new he(-1,-1);a=parseInt(b.width,10);b=parseInt(b.height,10);return isNaN(a)||isNaN(b)?new he(-1,-1):new he(a,b)};es.prototype.dispose=function(){ls(this);uo.prototype.dispose.call(this)}; var is=function(){try{var a=ug(es);a.B("removeEventListener","ready",is);js(a)}catch(b){on(541,b)}},ns=function(a,b){try{var c=ug(es);c.L=!0;var d=a?new xn(a.y,a.x+a.width,a.y+a.height,a.x):new xn(0,0,0,0);var e=vn(),f=ro();var g=new An(e,f,c);g.g=d;g.volume=b;c.dd(g)}catch(h){on(542,h)}},hs=function(a){var b=mc(),c=ug(es);a&&!b.C&&(b.C=!0,c.la=!0,c.J&&wo(c,"w",!0))};var ps=function(a){this.key=a;this.defaultValue=!1;this.valueType="boolean"};var qs=new ps("45381479"),rs=new ps("45378663");var us=function(){this.Aa=!1;this.K="";this.l=!1;this.g=this.j=null;var a={};this.O=(a.start=this.Rm,a.firstquartile=this.Mm,a.midpoint=this.Om,a.thirdquartile=this.Sm,a.complete=this.Jm,a.error=this.Km,a.pause=this.yi,a.resume=this.ik,a.skip=this.Qm,a.viewable_impression=this.lc,a.mute=this.Ie,a.unmute=this.Ie,a.fullscreen=this.Nm,a.exitfullscreen=this.Lm,a.fully_viewable_audible_half_duration_impression=this.lc,a.measurable_impression=this.lc,a.abandon=this.yi,a.engagedview=this.lc,a.impression= this.lc,a.creativeview=this.lc,a.progress=this.Ie,a.custom_metric_viewable=this.lc,a.bufferstart=this.yi,a.bufferfinish=this.ik,a.audio_measurable=this.lc,a.audio_audible=this.lc,a);a={};this.W=(a.overlay_resize=this.Pm,a.abandon=this.bi,a.close=this.bi,a.collapse=this.bi,a.overlay_unmeasurable_impression=function(b){return Dq(b,"overlay_unmeasurable_impression",ro())},a.overlay_viewable_immediate_impression=function(b){return Dq(b,"overlay_viewable_immediate_impression",ro())},a.overlay_unviewable_impression= function(b){return Dq(b,"overlay_unviewable_impression",ro())},a.overlay_viewable_end_of_session_impression=function(b){return Dq(b,"overlay_viewable_end_of_session_impression",ro())},a);mc().l=3;ts(this);this.D=null};us.prototype.o=function(a){zp(a,!1);br(a)};us.prototype.A=function(){};var vs=function(a,b,c,d){a=a.B(null,d,!0,b);a.A=c;cr([a]);return a}; us.prototype.B=function(a,b,c,d){var e=this;a=new oq(C,a,c?b:-1,7,this.Bh(),this.Bj());a.Ra=d;hc(a.ea);ic(a.ea,"queryid",a.Ra);a.Rg(this.K);Ep(a,function(){return e.aa.apply(e,w(Ea.apply(0,arguments)))},function(){return e.R.apply(e,w(Ea.apply(0,arguments)))});(d=ug(gr).g)&&Ap(a,d);this.D&&(a.ma&&(a.ma.A=this.D),this.D=null);a.xb.od&&ug(tr);return a}; var ws=function(a,b,c){wb(b);var d=a.g;$a(b,function(e){var f=cb(e.g,function(g){var h=Sr(g);if(h==null)g=null;else if(g=new Rr,h.visible!=null&&(g.g=h.visible/100),h.audible!=null&&(g.j=h.audible==1),h.time!=null){var k=h.timetype=="mtos"?"mtos":"tos",m=sc(h.time,"%")?"%":"ms";h=parseInt(h.time,10);m=="%"&&(h/=100);m=="ms"?(g.l=h,g.o=-1):(g.l=-1,g.o=h);g.A=k===void 0?"tos":k}return g});eb(f,function(g){return g==null})||vq(c,new Ur(e.id,e.event,f,d))})},xs=function(){var a=[],b=mc();b.g||a.push(ug(sr)); jc(b.ea,"mvp_lv")&&a.push(ug(es));var c=[new bs,new ds];b.g&&c.push(new fr);c.push(new jr(a));b.g||c.push(new qr(C));return c},zs=function(a){if(!a.Aa){a.Aa=!0;try{var b=vn(),c=mc(),d=qo();rn=b;c.A=79463069;a.j!=="o"&&(Er=Wf(C));if(xg()){vr.g.jj=0;vr.g.di=vn()-b;var e=xs(),f=ug(gr);f.j=e;hr(f,function(){ys()})?vr.done||(Cr(),xo(f.g.g,a),xr()):d.l&&!c.g?ys():xr()}else Gr=!0}catch(g){throw Zq.reset(),g;}}},As=function(a){vr.j.cancel();Fr=a;vr.done=!0},Bs=function(a){if(a.j)return a.j;var b=ug(gr).g; if(b)switch(b.getName()){case "nis":a.j="n";break;case "gsv":a.j="m"}a.j||(a.j="h");return a.j},Cs=function(a,b,c){if(a.g==null)return b.Ke|=4,!1;a=a.g.report(c,b);b.Ke|=a;return a==0};us.prototype.me=function(a){switch(a.Cc()){case 0:if(a=ug(gr).g)a=a.g,lb(a.C,this),a.D&&this.uc()&&Ao(a);ys();break;case 2:xr()}};us.prototype.dd=function(){};us.prototype.uc=function(){return!1};var ys=function(){var a=[new qr(C)],b=ug(gr);b.j=a;hr(b,function(){As("i")})?vr.done||(Cr(),xr()):As("i")}; us.prototype.R=function(a,b){a.Tb=!0;switch(a.Kb()){case 1:Ds(a,b);break;case 2:this.Ei(a)}this.Ii(a)};var Ds=function(a,b){if(!a.Gb){var c=Dq(a,"start",ro());c=a.zi.g(c).g;var d={id:"lidarv"};d.r=b;d.sv="966";Lr!==null&&(d.v=Lr);Bf(c,function(e,f){return d[e]=e=="mtos"||e=="tos"?f:encodeURIComponent(f)});b=Hr();Bf(b,function(e,f){return d[e]=encodeURIComponent(f)});b="//pagead2.googlesyndication.com/pagead/gen_204?"+Mo(Ko(new Io,d));Po(b);a.Gb=!0}};l=us.prototype; l.Rm=function(a){var b=a.B(a);b&&(b=b.volume,a.Ua=go(b)&&b>0);Aq(a,0);return Dq(a,"start",ro())};l.Ie=function(a,b,c){yr(vr,[a],!ro());return this.lc(a,b,c)};l.lc=function(a,b,c){return Dq(a,c,ro())};l.Mm=function(a){return Es(a,"firstquartile",1)};l.Om=function(a){a.ta=!0;return Es(a,"midpoint",2)};l.Sm=function(a){return Es(a,"thirdquartile",3)};l.Jm=function(a){var b=Es(a,"complete",4);pq(a);return b};l.Km=function(a){a.Pa=3;return Dq(a,"error",ro())}; var Es=function(a,b,c){yr(vr,[a],!ro());Aq(a,c);c!=4&&zq(a.L,c,a.hg);return Dq(a,b,ro())};l=us.prototype;l.ik=function(a,b,c){b=ro();a.Pa!=2||b||(a.Ya().J=vn());yr(vr,[a],!b);a.Pa==2&&(a.Pa=1);return Dq(a,c,b)};l.Qm=function(a,b){b=this.Ie(a,b||{},"skip");pq(a);return b};l.Nm=function(a,b){zp(a,!0);return this.Ie(a,b||{},"fullscreen")};l.Lm=function(a,b){zp(a,!1);return this.Ie(a,b||{},"exitfullscreen")}; l.yi=function(a,b,c){b=a.Ya();b.ba=cq(b,vn(),a.Pa!=1);yr(vr,[a],!ro());a.Pa==1&&(a.Pa=2);return Dq(a,c,ro())};l.Pm=function(a){yr(vr,[a],!ro());return a.j()};l.bi=function(a){yr(vr,[a],!ro());this.hk(a);pq(a);return a.j()}; var ts=function(a){Dr(function(){var b=Fs();a.j!=null&&(b.sdk=a.j);var c=ug(gr);c.g!=null&&(b.avms=c.g.getName());return b})},Gs=function(a,b,c,d){var e=Xq(Zq,c);e!==null&&e.Ra!==b&&(a.o(e),e=null);e||(b=a.B(c,vn(),!1,b),Zq.j.length==0&&(mc().A=79463069),dr([b]),e=b,e.A=Bs(a),d&&(e.ud=d));return e};us.prototype.aa=function(){};var Is=function(a,b){b.D=0;for(var c in Cn)a[c]==null&&(b.D|=Cn[c]);Hs(a,"currentTime");Hs(a,"duration")};l=us.prototype;l.Ei=function(){};l.hk=function(){};l.cj=function(){}; l.Ii=function(){};l.Ch=function(){};l.Bj=function(){this.g||(this.g=this.Ch());return this.g==null||this.l?new hq:new $r(this.g)};l.Bh=function(){return new Vr};var Hs=function(a,b){var c=a[b];c!==void 0&&c>0&&(a[b]=Math.floor(c*1E3))},Fs=function(){var a=qo(),b={},c={},d={};return Object.assign({},(b.sv="966",b),Lr!==null&&(c.v=Lr,c),(d["if"]=a.l?"1":"0",d.nas=String(Zq.g.length),d))};var Js=function(a){eq.call(this,"audio_audible",a)};q(Js,eq);Js.prototype.g=function(a){return a.eg()==4};var Ks=function(a){fq.call(this,"audio_measurable",a)};q(Ks,fq);Ks.prototype.g=function(a){a=a.eg();return a==3||a==4};var Ls=function(){Xr.apply(this,arguments)};q(Ls,Xr);Ls.prototype.j=function(){return new Ks(this.g)};Ls.prototype.l=function(){return[new Js(this.g)]};var Ms=function(){};q(Ms,Vp);Ms.prototype.g=function(a){a&&(a.e===28&&(a=Object.assign({},a,{avas:3})),a.vs===4||a.vs===5)&&(a=Object.assign({},a,{vs:3}));var b=new Up;b.g=Wp(a,Sp);b.j=Wp(a,Tp);return b};var Ns=function(a){this.j=a};Ns.prototype.report=function(a,b){var c=this.g(b);if(typeof c==="function"){var d={};var e={};d=Object.assign({},Lr!==null&&(d.v=Lr,d),(e.sv="966",e.cb=Kr,e.e=Os(a),e));e=Dq(b,a,ro());Zb(d,e);b.Mk[a]=e;d=b.Kb()==2?Oo(d).join("&"):b.zi.g(d).g;try{return c(b.Ra,d,a),0}catch(f){return 2}}else return 1};var Os=function(a){var b=Or(a)?"custom_metric_viewable":a;a=Rb(function(c){return c==b});return Gn[a]};Ns.prototype.g=function(){return Ja(this.j)};var Ps=function(a,b){this.j=a;this.l=b};q(Ps,Ns);Ps.prototype.g=function(a){if(!a.ud)return Ns.prototype.g.call(this,a);if(this.l[a.ud])return function(){};on(393,Error());return null};var Qs=function(){us.call(this);this.C=void 0;this.G=null;this.F=!1;this.N={};this.L=0;this.J="ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED"};q(Qs,us);Qs.prototype.A=function(a,b){var c=this,d=ug(gr);if(d.g!=null)switch(d.g.getName()){case "nis":var e=Rs(this,a,b);break;case "gsv":e=Ss(this,a,b);break;case "exc":e=Ts(this,a)}e||(b.opt_overlayAdElement?e=void 0:b.opt_adElement&&(e=Gs(this,a,b.opt_adElement,b.opt_osdId)));e&&e.Kb()==1&&(e.B==lf&&(e.B=function(f){return c.cj(f)}),Us(this,e,b));return e}; var Us=function(a,b,c){c=c.opt_configurable_tracking_events;a.g!=null&&Array.isArray(c)&&ws(a,c,b)}; Qs.prototype.cj=function(a){a.j=0;a.aa=0;if(a.A=="h"||a.A=="n"){if(mc().o)var b=Ja("ima.bridge.getVideoMetadata");else if(a.ud&&Vs(this)){var c=this.N[a.ud];c?b=function(e){return Ws(c,e)}:c!==null&&on(379,Error())}else b=Ja("ima.common.getVideoMetadata");if(typeof b==="function")try{var d=b(a.Ra)}catch(e){a.j|=4}else a.j|=2}else if(a.A=="b")if(b=Ja("ytads.bulleit.getVideoMetadata"),typeof b==="function")try{d=b(a.Ra)}catch(e){a.j|=4}else a.j|=2;else if(a.A=="ml")if(b=Ja("ima.common.getVideoMetadata"), typeof b==="function")try{d=b(a.Ra)}catch(e){a.j|=4}else a.j|=2;else a.j|=1;a.j||(d===void 0?a.j|=8:d===null?a.j|=16:Ub(d)?a.j|=32:d.errorCode!=null&&(a.aa=d.errorCode,a.j|=64));d==null&&(d={});Is(d,a);go(d.volume)&&go(this.C)&&(d.volume*=this.C);return d}; var Ss=function(a,b,c){var d=Wq(Zq,b);d||(d=c.opt_nativeTime||-1,d=vs(a,b,Bs(a),d),c.opt_osdId&&(d.ud=c.opt_osdId));return d},Rs=function(a,b,c){var d=Wq(Zq,b);d||(d=vs(a,b,"n",c.opt_nativeTime||-1));return d},Ts=function(a,b){var c=Wq(Zq,b);c||(c=vs(a,b,"h",-1));return c};Qs.prototype.Ch=function(){if(Vs(this))return new Ps("ima.common.triggerExternalActivityEvent",this.N);var a=Xs(this);return a!=null?new Ns(a):null}; var Xs=function(a){var b=mc();switch(Bs(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":if(b.o)return"ima.bridge.triggerExternalActivityEvent";case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null};Qs.prototype.Ei=function(a){!a.g&&a.Tb&&Cs(this,a,"overlay_unmeasurable_impression")&&(a.g=!0)}; Qs.prototype.hk=function(a){a.vk&&(a.Gc()?Cs(this,a,"overlay_viewable_end_of_session_impression"):Cs(this,a,"overlay_unviewable_impression"),a.vk=!1)}; var Ys=function(a,b,c,d){c=c===void 0?{}:c;var e={};Zb(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);var f=a.A(b,c);c=f?f.zi:a.Bh();if(e.opt_bounds)return c.g(Nr("ol",d));if(d!==void 0)if(Mr(d)!==void 0)if(Gr)a=Nr("ue",d);else if(zs(a),Fr=="i")a=Nr("i",d),a["if"]=0;else if(b=a.A(b,e)){b:{Fr=="i"&&(b.Tb=!0,a.Ii(b));f=e.opt_fullscreen;f!==void 0&&zp(b,!!f);var g;if(g=!qo().j&&!lo()&&wf(wg().j)){switch(b.Kb()){case 1:Ds(b,"pv");break;case 2:a.Ei(b)}As("pv")}f=d.toLowerCase();if(g=!g)c:{if(jc(mc().ea, "ssmol")&&(g=a.l,f==="loaded"))break c;g=kb(Dn,f)}if(g&&b.Pa==0){Fr!="i"&&(vr.done=!1);g=e!==void 0?e.opt_nativeTime:void 0;tn=g=typeof g==="number"?g:vn();b.Xe=!0;var h=ro();b.Pa=1;b.Ma={};b.Ma.start=!1;b.Ma.firstquartile=!1;b.Ma.midpoint=!1;b.Ma.thirdquartile=!1;b.Ma.complete=!1;b.Ma.resume=!1;b.Ma.pause=!1;b.Ma.skip=!1;b.Ma.mute=!1;b.Ma.unmute=!1;b.Ma.viewable_impression=!1;b.Ma.measurable_impression=!1;b.Ma.fully_viewable_audible_half_duration_impression=!1;b.Ma.fullscreen=!1;b.Ma.exitfullscreen= !1;b.Ih=0;h||(b.Ya().J=g);yr(vr,[b],!h)}(g=b.Zd[f])&&b.za.reportEvent(g);jc(mc().ea,"fmd")||kb(En,f)&&b.Hc&&b.Hc.j(b,null);switch(b.Kb()){case 1:var k=Or(f)?a.O.custom_metric_viewable:a.O[f];break;case 2:k=a.W[f]}if(k&&(d=k.call(a,b,e,d),jc(mc().ea,"fmd")&&kb(En,f)&&b.Hc&&b.Hc.j(b,null),d!==void 0)){e=Nr(void 0,f);Zb(e,d);d=e;break b}d=void 0}b.Pa==3&&a.o(b);a=d}else a=Nr("nf",d);else a=void 0;else Gr?a=Nr("ue"):f?(a=Nr(),Zb(a,Cq(f,!0,!1,!1))):a=Nr("nf");return typeof a==="string"?c.g():c.g(a)}; Qs.prototype.aa=function(a){this.l&&a.Kb()==1&&Zs(this,a)};Qs.prototype.Ii=function(a){this.l&&a.Kb()==1&&Zs(this,a)};var Zs=function(a,b){var c;if(b.ud&&Vs(a)){var d=a.N[b.ud];d?c=function(f,g){$s(d,f,g)}:d!==null&&on(379,Error())}else c=Ja("ima.common.triggerViewabilityMeasurementUpdate");if(typeof c==="function"){var e=xq(b);e.nativeVolume=a.C;c(b.Ra,e)}},Vs=function(a){return mc().o||Bs(a)!="h"&&Bs(a)!="m"?!1:a.L!=0}; Qs.prototype.B=function(a,b,c,d){if(Om(mc().flags,rs)){var e=jc(mc().ea,"mm"),f={};(e=(f[zb.Uk]="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO",f[zb.VIDEO]="ACTIVE_VIEW_TRAFFIC_TYPE_VIDEO",f)[e])&&e&&(this.J=e);this.J==="ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED"&&on(1044,Error())}a=us.prototype.B.call(this,a,b,c,d);this.F&&(b=this.G,a.l==null&&(a.l=new Hp),b.g[a.Ra]=a.l,a.l.A=Gq);return a};Qs.prototype.o=function(a){a&&a.Kb()==1&&this.F&&delete this.G.g[a.Ra];return us.prototype.o.call(this,a)}; Qs.prototype.Bj=function(){this.g||(this.g=this.Ch());return this.g==null||this.l?new hq:this.J==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new Ls(this.g):new $r(this.g)};Qs.prototype.Bh=function(){return this.J==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new Ms:new Vr};var at=function(a){var b={};return b.viewability=a.g,b.googleViewability=a.j,b},bt=function(a,b,c){c=c===void 0?{}:c;a=Ys(ug(Qs),b,c,a);return at(a)},ct=nn(193,bt,void 0,Fs);Ia("Goog_AdSense_Lidar_sendVastEvent",ct); var dt=nn(194,function(a,b){b=b===void 0?{}:b;a=Ys(ug(Qs),a,b);return at(a)});Ia("Goog_AdSense_Lidar_getViewability",dt);var et=nn(195,function(){return yg()});Ia("Goog_AdSense_Lidar_getUrlSignalsArray",et);var ft=nn(196,function(){return JSON.stringify(yg())});Ia("Goog_AdSense_Lidar_getUrlSignalsList",ft);var gt=ra(["//tpc.googlesyndication.com/sodar/",""]);B.console&&typeof B.console.log==="function"&&Sa(B.console.log,B.console);var ht=function(a){for(var b=[],c=a=Qe(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};var it=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.j=!1};it.prototype.stopPropagation=function(){this.j=!0};it.prototype.preventDefault=function(){this.defaultPrevented=!0};var jt=function(){if(!B.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{var c=function(){};B.addEventListener("test",c,b);B.removeEventListener("test",c,b)}catch(d){}return a}();var kt=function(a,b){it.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.l=this.g=0;this.key="";this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.Pb=null;a&&this.init(a,b)};Wa(kt,it); kt.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;b=a.relatedTarget;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.g=Wd||a.offsetX!==void 0?a.offsetX:a.layerX,this.l=Wd|| a.offsetY!==void 0?a.offsetY:a.layerY,this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=a.pointerType;this.state=a.state;this.Pb=a;a.defaultPrevented&&kt.Xb.preventDefault.call(this)}; kt.prototype.stopPropagation=function(){kt.Xb.stopPropagation.call(this);this.Pb.stopPropagation?this.Pb.stopPropagation():this.Pb.cancelBubble=!0};kt.prototype.preventDefault=function(){kt.Xb.preventDefault.call(this);var a=this.Pb;a.preventDefault?a.preventDefault():a.returnValue=!1};var lt="closure_listenable_"+(Math.random()*1E6|0),mt=function(a){return!(!a||!a[lt])};var nt=0;var ot=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.kg=e;this.key=++nt;this.xf=this.Of=!1},pt=function(a){a.xf=!0;a.listener=null;a.proxy=null;a.src=null;a.kg=null};var qt=function(a){this.src=a;this.g={};this.j=0};qt.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.g[f];a||(a=this.g[f]=[],this.j++);var g=rt(a,b,d,e);g>-1?(b=a[g],c||(b.Of=!1)):(b=new ot(b,this.src,f,!!d,e),b.Of=c,a.push(b));return b};qt.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.g))return!1;var e=this.g[a];b=rt(e,b,c,d);return b>-1?(pt(e[b]),nb(e,b),e.length==0&&(delete this.g[a],this.j--),!0):!1}; var tt=function(a,b){var c=b.type;c in a.g&&lb(a.g[c],b)&&(pt(b),a.g[c].length==0&&(delete a.g[c],a.j--))};qt.prototype.bf=function(a,b,c,d){a=this.g[a.toString()];var e=-1;a&&(e=rt(a,b,c,d));return e>-1?a[e]:null};var rt=function(a,b,c,d){for(var e=0;e>>0),zt=function(a){if(typeof a==="function")return a;a[Ht]||(a[Ht]=function(b){return a.handleEvent(b)});return a[Ht]};var N=function(){L.call(this);this.C=new qt(this);this.jg=this;this.aa=null};Wa(N,L);N.prototype[lt]=!0;l=N.prototype;l.addEventListener=function(a,b,c,d){yt(this,a,b,c,d)};l.removeEventListener=function(a,b,c,d){Ft(this,a,b,c,d)}; l.dispatchEvent=function(a){var b,c=this.aa;if(c)for(b=[];c;c=c.aa)b.push(c);c=this.jg;var d=a.type||a;if(typeof a==="string")a=new it(a,c);else if(a instanceof it)a.target=a.target||c;else{var e=a;a=new it(d,c);Zb(a,e)}e=!0;var f;if(b)for(f=b.length-1;!a.j&&f>=0;f--){var g=a.currentTarget=b[f];e=It(g,d,!0,a)&&e}a.j||(g=a.currentTarget=c,e=It(g,d,!0,a)&&e,a.j||(e=It(g,d,!1,a)&&e));if(b)for(f=0;!a.j&&f0){this.j--;var a=this.g;this.g=a.next;a.next=null}else a=this.l();return a};var Lt=function(a,b){a.o(b);a.j<100&&(a.j++,b.next=a.g,a.g=b)};var Mt=function(){this.j=this.g=null};Mt.prototype.add=function(a,b){var c=Nt.get();c.set(a,b);this.j?this.j.next=c:this.g=c;this.j=c};Mt.prototype.remove=function(){var a=null;this.g&&(a=this.g,this.g=this.g.next,this.g||(this.j=null),a.next=null);return a};var Nt=new Kt(function(){return new Ot},function(a){return a.reset()}),Ot=function(){this.next=this.g=this.j=null};Ot.prototype.set=function(a,b){this.j=a;this.g=b;this.next=null};Ot.prototype.reset=function(){this.next=this.g=this.j=null};var Pt,Qt=!1,Rt=new Mt,Tt=function(a,b){Pt||St();Qt||(Pt(),Qt=!0);Rt.add(a,b)},St=function(){var a=Promise.resolve(void 0);Pt=function(){a.then(Ut)}};function Ut(){for(var a;a=Rt.remove();){try{a.j.call(a.g)}catch(b){Jg(b)}Lt(Nt,a)}Qt=!1};var Wt=function(a){this.g=0;this.B=void 0;this.o=this.j=this.l=null;this.A=this.C=!1;if(a!=lf)try{var b=this;a.call(void 0,function(c){Vt(b,2,c)},function(c){Vt(b,3,c)})}catch(c){Vt(this,3,c)}},Xt=function(){this.next=this.context=this.j=this.l=this.g=null;this.o=!1};Xt.prototype.reset=function(){this.context=this.j=this.l=this.g=null;this.o=!1};var Yt=new Kt(function(){return new Xt},function(a){a.reset()}),Zt=function(a,b,c){var d=Yt.get();d.l=a;d.j=b;d.context=c;return d}; Wt.prototype.then=function(a,b,c){return $t(this,Jt(typeof a==="function"?a:null),Jt(typeof b==="function"?b:null),c)};Wt.prototype.$goog_Thenable=!0;var au=function(a,b){return $t(a,null,Jt(b))};Wt.prototype.cancel=function(a){if(this.g==0){var b=new bu(a);Tt(function(){cu(this,b)},this)}}; var cu=function(a,b){if(a.g==0)if(a.l){var c=a.l;if(c.j){for(var d=0,e=null,f=null,g=c.j;g&&(g.o||(d++,g.g==a&&(e=g),!(e&&d>1)));g=g.next)e||(f=g);e&&(c.g==0&&d==1?cu(c,b):(f?(d=f,d.next==c.o&&(c.o=d),d.next=d.next.next):du(c),eu(c,e,3,b)))}a.l=null}else Vt(a,3,b)},gu=function(a,b){a.j||a.g!=2&&a.g!=3||fu(a);a.o?a.o.next=b:a.j=b;a.o=b},$t=function(a,b,c,d){var e=Zt(null,null,null);e.g=new Wt(function(f,g){e.l=b?function(h){try{var k=b.call(d,h);f(k)}catch(m){g(m)}}:f;e.j=c?function(h){try{var k=c.call(d, h);k===void 0&&h instanceof bu?g(h):f(k)}catch(m){g(m)}}:g});e.g.l=a;gu(a,e);return e.g};Wt.prototype.N=function(a){this.g=0;Vt(this,2,a)};Wt.prototype.D=function(a){this.g=0;Vt(this,3,a)}; var Vt=function(a,b,c){if(a.g==0){a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.g=1;a:{var d=c,e=a.N,f=a.D;if(d instanceof Wt){gu(d,Zt(e||lf,f||null,a));var g=!0}else{if(d)try{var h=!!d.$goog_Thenable}catch(m){h=!1}else h=!1;if(h)d.then(e,f,a),g=!0;else{if(Na(d))try{var k=d.then;if(typeof k==="function"){hu(d,k,e,f,a);g=!0;break a}}catch(m){f.call(a,m);g=!0;break a}g=!1}}}g||(a.B=c,a.g=b,a.l=null,fu(a),b!=3||c instanceof bu||iu(a,c))}},hu=function(a,b,c,d,e){var f=!1,g=function(k){f|| (f=!0,c.call(e,k))},h=function(k){f||(f=!0,d.call(e,k))};try{b.call(a,g,h)}catch(k){h(k)}},fu=function(a){a.C||(a.C=!0,Tt(a.J,a))},du=function(a){var b=null;a.j&&(b=a.j,a.j=b.next,b.next=null);a.j||(a.o=null);return b};Wt.prototype.J=function(){for(var a;a=du(this);)eu(this,a,this.g,this.B);this.C=!1}; var eu=function(a,b,c,d){if(c==3&&b.j&&!b.o)for(;a&&a.A;a=a.l)a.A=!1;if(b.g)b.g.l=null,ju(b,c,d);else try{b.o?b.l.call(b.context):ju(b,c,d)}catch(e){ku.call(null,e)}Lt(Yt,b)},ju=function(a,b,c){b==2?a.l.call(a.context,c):a.j&&a.j.call(a.context,c)},iu=function(a,b){a.A=!0;Tt(function(){a.A&&ku.call(null,b)})},ku=Jg,bu=function(a){Xa.call(this,a)};Wa(bu,Xa);bu.prototype.name="cancel";var lu=function(a,b){N.call(this);this.j=a||1;this.g=b||B;this.l=Sa(this.Vn,this);this.o=Ua()};Wa(lu,N);l=lu.prototype;l.enabled=!1;l.Qb=null;l.setInterval=function(a){this.j=a;this.Qb&&this.enabled?(this.stop(),this.start()):this.Qb&&this.stop()};l.Vn=function(){if(this.enabled){var a=Ua()-this.o;a>0&&a2147483647?-1:B.setTimeout(a,b||0)},nu=function(a){B.clearTimeout(a)},ou=function(a){var b=null;return au(new Wt(function(c,d){b=mu(function(){c(void 0)},a);b==-1&&d(Error("Failed to schedule timer."))}),function(c){nu(b);throw c;})};var pu=function(){return Math.round(Date.now()/1E3)};var qu=function(){this.g={};return this};qu.prototype.remove=function(a){var b=this.g;a in b&&delete b[a]};qu.prototype.set=function(a,b){this.g[a]=b};var ru=function(a,b){a.g.eb=Wb(a.g,"eb",0)|b};qu.prototype.get=function(a){return Wb(this.g,a,null)};var tu=null,uu=function(){this.g={};this.j=0},vu=function(){tu||(tu=new uu);return tu},wu=function(a,b){a.g[b.getName()]=b},xu=function(a,b){this.o=a;this.l=!0;this.g=b};xu.prototype.getName=function(){return this.o};xu.prototype.getValue=function(){return this.g};xu.prototype.j=function(){return String(this.g)};var yu=function(a,b){xu.call(this,String(a),b);this.A=a;this.g=!!b};q(yu,xu);yu.prototype.j=function(){return this.g?"1":"0"};var zu=function(a,b){xu.call(this,a,b)};q(zu,xu); zu.prototype.j=function(){return this.g?Math.round(this.g.top)+"."+Math.round(this.g.left)+"."+(Math.round(this.g.top)+Math.round(this.g.height))+"."+(Math.round(this.g.left)+Math.round(this.g.width)):""};var Au=function(a){if(a.match(/^-?[0-9]+\.-?[0-9]+\.-?[0-9]+\.-?[0-9]+$/)){a=a.split(".");var b=Number(a[0]),c=Number(a[1]);return new zu("",new Kn(c,b,Number(a[3])-c,Number(a[2])-b))}return new zu("",new Kn(0,0,0,0))};var Bu=function(a){var b=new Kn(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new Kn(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d0?(e=Ln(b),f=Ln(c),e=e.top>=f.top&&e.top0?(e=Ln(b),f=Ln(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;wu(a,new yu(1024,e));d&&d>0?(e=Ln(b),f=Ln(c),e=e.left>=f.left&&e.left0?(b=Ln(b),c=Ln(c),c=b.right<=c.right&&b.right>c.left):c=!1;wu(a,new yu(4096,c))}};var Eu=function(a,b){var c=0;Ob(Qe(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){a=vu();a.g={};var e=new yu(32,!0);e.l=!1;wu(a,e);e=Qe().document;e=e.visibilityState||e.webkitVisibilityState||e.mozVisibilityState||e.msVisibilityState||"";wu(a,new yu(64,e.toLowerCase().substring(e.length-6)!="hidden"?!0:!1));a:{try{var f=Qe().top;try{var g=!!f.location.href||f.location.href===""}catch(p){g=!1}if(g){var h=ht(d);var k=h&&h.length!=0?"1":"0";break a}k="2";break a}catch(p){k="2"; break a}k=void 0}wu(a,new yu(256,k=="2"));wu(a,new yu(128,k=="1"));h=g=Qe().top;k=="2"&&(h=Qe());f=Cu(d,h);wu(a,new zu("er",f));try{var m=h.document&&!h.document.body?null:Ne(h||window)}catch(p){m=null}m?(h=Pe(He(h.document).g),wu(a,new yu(16384,!!h)),m=h?new Kn(h.x,h.y,m.width,m.height):null):m=null;wu(a,new zu("vi",m));if(m&&"1"==k){k=ht(d);d=[];for(h=0;h0?Math.round(window.performance.timing.domLoading/1E3):null;c.set.call(c,"td",pu()-(a!=null?a:b!=null?b:pu()))};new lu(200); var Fu=function(a,b){try{var c=new Eu(a,b);a=[];var d=Number(c.g.get("eb"));c.g.remove("eb");var e,f=c.g;b=[];for(var g in f.g)b.push(g+f.g[g]);(e=b.join("_"))&&a.push(e);if(c.j){var h=c.j.serialize();h&&a.push(h)}var k,m=c.l;e=d;f=[];e||(e=0);for(var p in m.g){var n=m.g[p];if(n instanceof yu)n.getValue()&&(e|=n.A);else{var r=m.g[p],u=r.l?r.j():"";u&&f.push(p+u)}}f.push("eb"+String(e));(k=f.join("_"))&&a.push(k);c.g.set("eb",d);return a.join("_")}catch(t){return"tle;"+Hd(t.name,12)+";"+Hd(t.message, 40)}};var Gu=function(a){this.M=G(a)};q(Gu,K);Gu.prototype.getName=function(){return J(this,1)};Gu.prototype.getValue=function(){return J(this,2)};var Hu=function(a){this.M=G(a)};q(Hu,K);var Iu=function(a){this.M=G(a)};q(Iu,K);var Ju=function(a){this.M=G(a)};q(Ju,K);var Ku=function(a){this.M=G(a)};q(Ku,K);var Lu=function(a){this.M=G(a)};q(Lu,K);var Mu=function(a){this.M=G(a)};q(Mu,K);var Nu=function(a){return I(a,Hu,29)};var Ou=function(a){this.M=G(a)};q(Ou,K);var Pu=Im(Ou);var Qu=function(a){this.M=G(a)};q(Qu,K);function Ru(a){var b=a.toString();a.name&&b.indexOf(a.name)==-1&&(b+=": "+a.name);a.message&&b.indexOf(a.message)==-1&&(b+=": "+a.message);if(a.stack)a:{a=a.stack;var c=b;try{a.indexOf(c)==-1&&(a=c+"\n"+a);for(var d;a!=d;)d=a,a=a.replace(RegExp("((https?:/..*/)[^/:]*:\\d+(?:.|\n)*)\\2"),"$1");b=a.replace(RegExp("\n *","g"),"\n");break a}catch(e){b=c;break a}b=void 0}return b};var Uu=function(){var a=Su;this.A=Tu;this.C="jserror";this.j=!0;this.g=a===void 0?null:a;this.l=null;this.o=!1;this.Ze=this.sc};l=Uu.prototype;l.Ji=function(a){this.l=a};l.nk=function(a){this.C=a};l.Li=function(a){this.j=a};l.rk=function(a){this.o=a}; l.Ud=function(a,b,c){try{if(this.g&&this.g.j){var d=this.g.start(a.toString(),3);var e=b();this.g.end(d)}else e=b()}catch(h){b=this.j;try{cn(d),b=this.Ze(a,new Sm(h,{message:Ru(h)}),void 0,c)}catch(k){this.sc(217,k)}if(b){var f,g;(f=window.console)==null||(g=f.error)==null||g.call(f,h)}else throw h;}return e};l.Tg=function(a,b,c,d){var e=this;return function(){var f=Ea.apply(0,arguments);return e.Ud(a,function(){return b.apply(c,f)},d)}}; l.sc=function(a,b,c,d,e){e=e||this.C;try{var f=new bg;gg(f,1,"context",a);Tm(b)||(b=new Sm(b,{message:Ru(b)}));b.msg&&gg(f,2,"msg",b.msg.substring(0,512));var g=b.meta||{};if(this.l)try{this.l(g)}catch(k){}if(d)try{d(g)}catch(k){}fg(f,3,[g]);var h=ag();h.j&&gg(f,4,"top",h.j.url||"");fg(f,5,[{url:h.g.url||""},{url:h.g.url?Af(h.g.url):""}]);Vu(this.A,e,f,this.o,c)}catch(k){try{Vu(this.A,e,{context:"ecmserr",rctx:a,msg:Ru(k),url:h&&h.g.url},this.o,c)}catch(m){}}return this.j};var Wu=function(a){this.M=G(a)};q(Wu,K);var Xu=[2,3,4];var Yu=[0,Xu,Bm,Em,-2];var Zu=function(a){this.M=G(a)};q(Zu,K);var $u=[3,4,5],av=[6,7];var bv=function(a){this.M=G(a)};q(bv,K);var cv=[4,5];var dv=[0,$u,av,Dm,rm,function(){return dv},Em,-2,gm,pm,nm];var ev=[0,cv,dv,Bm,jm,Em,xm,Yu];function fv(a,b){var c=bk(a,Zu,2,Ej());if(!c.length)return gv(a,b);a=nk(a,1);if(a===1){var d=fv(c[0],b);return d.success?{success:!0,value:!d.value}:d}c=cb(c,function(h){return fv(h,b)});switch(a){case 2:var e;return(e=(d=c.find(function(h){return h.success&&!h.value}))!=null?d:c.find(function(h){return!h.success}))!=null?e:{success:!0,value:!0};case 3:var f,g;return(g=(f=c.find(function(h){return h.success&&h.value}))!=null?f:c.find(function(h){return!h.success}))!=null?g:{success:!0,value:!1};default:return{success:!1, errorType:3}}} function gv(a,b){var c=Uj(a,$u);a:{switch(c){case 3:var d=pk(a,3,$u);break a;case 4:d=pk(a,4,$u);break a;case 5:d=pk(a,5,$u);break a}d=void 0}if(!d)return{success:!1,errorType:2};b=(b=b[c])&&b[d];if(!b)return{success:!1,Nc:d,vf:c,errorType:1};try{var e=b.apply;var f=ok(a,8);var g=e.call(b,null,w(f))}catch(h){return{success:!1,Nc:d,vf:c,errorType:2}}e=nk(a,1);if(e===4)return{success:!0,value:!!g};if(e===5)return{success:!0,value:g!=null};if(e===12)a=J(a,Vj(a,av,7));else a:{switch(c){case 4:a=mk(a, Vj(a,av,6));break a;case 5:a=J(a,Vj(a,av,7));break a}a=void 0}if(a==null)return{success:!1,Nc:d,vf:c,errorType:3};if(e===6)return{success:!0,value:g===a};if(e===9)return{success:!0,value:g!=null&&Fc(String(g),a)===0};if(g==null)return{success:!1,Nc:d,vf:c,errorType:4};switch(e){case 7:c=ga;break;case 12:c=Sh(a)&&Sh(g)&&(new RegExp(a)).test(g);break;case 10:c=g!=null&&Fc(String(g),a)===-1;break;case 11:c=g!=null&&Fc(String(g),a)===1;break;default:return{success:!1,errorType:3}}return{success:!0, value:c}}function hv(a,b){return a?b?fv(a,b):{success:!1,errorType:1}:{success:!0,value:!0}};var Wj=function(a){this.M=G(a)};q(Wj,K);var iv=function(a){this.M=G(a)};q(iv,K);iv.prototype.getValue=function(){return I(this,Wj,2)};var jv=function(a){this.M=G(a)};q(jv,K);var kv=Im(jv),lv=[1,2,3,6,7,8];var mv=function(a){this.M=G(a)};q(mv,K);var nv=Gm([0,Dm,om]);function ov(a,b){try{var c=function(d){var e={};return[(e[d.Qc]=d.Ag,e)]};return JSON.stringify([a.filter(function(d){return d.Vb}).map(c),Xk(b),a.filter(function(d){return!d.Vb}).map(c)])}catch(d){return pv(d,b),""}}function qv(a,b){var c=new hl;try{var d=a.filter(function(f){return f.Vb}).map(rv);ql(c,1,d);ol(c,2,nv(b),pl);var e=a.filter(function(f){return!f.Vb}).map(rv);ql(c,3,e)}catch(f){pv(f,b)}return ml(c)} function pv(a,b){try{tg({m:Ru(a instanceof Error?a:Error(String(a))),b:nk(b,1)||null,v:J(b,2)||null},"rcs_internal")}catch(c){}}function rv(a){var b=new hl;ol(b,a.Qc,a.Vg,pl);return ml(b)}function pl(a,b){a=a.subarray(0,a.length);il(b,b.g.end());il(b,a)}var tv=function(a,b){var c=new mv;a=zk(c,1,a);b=wk(a,2,b);a=b.M;c=vh(a);this.j=c&2?b:ej(b.constructor,qj(a,c,!0))};var uv=function(a){this.M=G(a)};q(uv,K);uv.prototype.getTagSessionCorrelator=function(){return lk(this,1)};var vv=function(a,b){return uk(a,1,b)},wv=function(a,b){return uk(a,2,b)},xv=function(a,b){return zk(a,3,b)};var yv=Gm([0,im,-1,Dm]);var zv=function(a){this.M=G(a)};q(zv,K);var Av=function(){var a=new zv;return fk(a,1,xi,[20],zi)};var Bv=[0,Cm];var Cv=[0,jm];var Dv=function(a){this.M=G(a)};q(Dv,K);var Ev=[0,jm,-1,Bm];var Fv=function(a){this.M=G(a)};q(Fv,K);var Gv=function(a,b){return zk(a,1,b)},Hv=function(a,b){return zk(a,2,b)};var Iv=[0,Dm,-1];var Jv=function(a){this.M=G(a)};q(Jv,K);var Kv=[1,2];var Lv=[0,Kv,Em,-1,lm];var Mv=function(a){this.M=G(a)};q(Mv,K);var Nv=function(a,b){return ck(a,1,b)},Ov=function(a,b){return ek(a,2,b)},Pv=function(a,b){return Mj(a,4,b,Ai)},Qv=function(a,b){return ek(a,5,b)},Rv=function(a,b){return zk(a,6,b)};var Sv=[0,Iv,rm,Iv,1,km,rm,Lv,Dm];var Tv=function(a){this.M=G(a)};q(Tv,K);var Uv=[1,2,3,4,6];var Vv=[0,Uv,Em,-3,km,Em];var Wv=function(a){this.M=G(a)};q(Wv,K);var Xv=[0,lm,rm,Vv,-1];var Yv=function(a){this.M=G(a)};q(Yv,K);Yv.prototype.getTagSessionCorrelator=function(){return lk(this,2)};var $v=function(a){var b=new Yv;return dk(b,4,Zv,a)},Zv=[4,5,7,8,9];var aw=Gm([0,Zv,im,-1,1,xm,Sv,xm,Cv,im,xm,Xv,xm,Ev,xm,ev]);var bw=function(a){this.M=G(a)};q(bw,K);bw.prototype.Bf=function(a){return uk(this,7,a)};bw.prototype.Ki=function(a){return uk(this,8,a)};var cw=[0,om,-1,jm,Dm,Bv,im,-2,Dm,km,om];var dw=function(a){this.M=G(a)};q(dw,K);var ew=[0,jm,-2];var fw=function(a){this.M=G(a)};q(fw,K);var gw=[0,lm,-1];var hw=function(a){this.M=G(a)};q(hw,K);var iw=[0,lm,-1];var jw=function(a){this.M=G(a)};q(jw,K);jw.prototype.bd=function(){return I(this,fw,2)};jw.prototype.getSize=function(){return I(this,hw,3)};jw.prototype.getDuration=function(){return I(this,dw,4)};var kw=[0,Dm,gw,iw,ew];var lw=[0,gw,iw,ew,jm];var mw=function(a){this.M=G(a)};q(mw,K);mw.prototype.getSize=function(){return I(this,hw,2)};var nw=[0,Dm,iw];var ow=function(a){this.M=G(a)};q(ow,K);var pw=Im(ow);var qw=Gm([0,nw,lw,kw,cw]);var rw=function(a){this.M=G(a)};q(rw,K);var tw=[0,Dm,lm];var uw=function(a){this.M=G(a)};q(uw,K);var vw=function(a,b){return uk(a,1,b)},ww=Im(uw);var xw=[0,im,-1];var yw=function(a){this.M=G(a)};q(yw,K);var zw=[0,Dm,Bm,-1,xw,-1];var Aw=function(a){this.M=G(a)};q(Aw,K);Aw.prototype.Bf=function(a){return uk(this,3,a)};var Bw=[6];var Cw=Gm([0,Bw,Bv,im,-1,tw,km,xm,zw]);var Dw=function(a){this.M=G(a)};q(Dw,K);var Ew=function(a,b){ck(a,13,b)};var Fw=function(a){this.M=G(a)};q(Fw,K);Fw.prototype.getEscapedQemQueryId=function(){return J(this,2)};var Gw=function(){tv.apply(this,arguments)};q(Gw,tv);var Hw=function(){Gw.apply(this,arguments)};q(Hw,Gw);Hw.prototype.Af=function(){this.o.apply(this,w(Ea.apply(0,arguments).map(function(a){return{Vb:!0,Qc:4,Ag:Xk(a)}})))};Hw.prototype.B=function(){this.o.apply(this,w(Ea.apply(0,arguments).map(function(a){return{Vb:!0,Qc:16,Ag:Xk(a)}})))};Hw.prototype.mk=function(){this.o.apply(this,w(Ea.apply(0,arguments).map(function(a){return{Vb:!0,Qc:20,Ag:Xk(a)}})))}; Hw.prototype.lk=function(){this.o.apply(this,w(Ea.apply(0,arguments).map(function(a){return{Vb:!0,Qc:25,Ag:Xk(a)}})))};var Iw=function(){Gw.apply(this,arguments)};q(Iw,Gw);Iw.prototype.Af=function(){this.g.apply(this,w(Ea.apply(0,arguments).map(function(a){return{Vb:!0,Qc:4,Vg:aw(a)}})))};Iw.prototype.B=function(){this.g.apply(this,w(Ea.apply(0,arguments).map(function(a){return{Vb:!0,Qc:16,Vg:yv(a)}})))}; Iw.prototype.mk=function(){this.g.apply(this,w(Ea.apply(0,arguments).map(function(a){return{Vb:!0,Qc:20,Vg:Cw(a)}})))};Iw.prototype.lk=function(){this.g.apply(this,w(Ea.apply(0,arguments).map(function(a){return{Vb:!0,Qc:25,Vg:qw(a)}})))};var Jw=function(a,b){if(globalThis.fetch)globalThis.fetch(a,{method:"POST",body:b,keepalive:b.length<65536,credentials:"omit",mode:"no-cors",redirect:"follow"}).catch(function(){});else{var c=new XMLHttpRequest;c.open("POST",a,!0);c.send(b)}};var Kw=function(a,b,c,d,e,f,g,h){Hw.call(this,a,b);this.N=c;this.J=d;this.G=e;this.D=f;this.F=g;this.A=h;this.g=[];this.l=null;this.C=!1};q(Kw,Hw);var Lw=function(a){a.l!==null&&(clearTimeout(a.l),a.l=null);if(a.g.length){var b=ov(a.g,a.j);a.J(a.N+"?e=1",b);a.g=[]}}; Kw.prototype.o=function(){var a=Ea.apply(0,arguments),b=this;try{this.F&&ov(this.g.concat(a),this.j).length>=65536&&Lw(this),this.A&&!this.C&&(this.C=!0,this.A.g(function(){Lw(b)})),this.g.push.apply(this.g,w(a)),this.g.length>=this.D&&Lw(this),this.g.length&&this.l===null&&(this.l=setTimeout(function(){Lw(b)},this.G))}catch(c){pv(c,this.j)}}; var Mw=function(a,b,c,d,e,f){Kw.call(this,a,b,"https://pagead2.googlesyndication.com/pagead/ping",Jw,c===void 0?1E3:c,d===void 0?100:d,(e===void 0?!1:e)&&!!globalThis.fetch,f)};q(Mw,Kw);var Nw=function(a,b,c){var d=d===void 0?new Mw(6,"unknown",b):d;this.A=a;this.o=c;this.j=d;this.g=[];this.l=a>0&&Mf()<1/a},Pw=function(a,b,c,d,e,f){if(a.l){var g=Hv(Gv(new Fv,b),c);b=Rv(Ov(Nv(Qv(Pv(new Mv,d),e),g),a.g.slice()),f);b=$v(b);a.j.Af(Ow(a,b));if(f===1||f===3||f===4&&!a.g.some(function(h){return nk(h,1)===nk(g,1)&&nk(h,2)===c}))a.g.push(g),a.g.length>100&&a.g.shift()}},Qw=function(a,b,c,d){if(a.l){var e=new Dv;b=qk(e,1,b);c=qk(b,2,c);d=yk(c,3,d);c=new Yv;d=dk(c,8,Zv,d);a.j.Af(Ow(a,d))}}, Rw=function(a,b,c,d,e){if(a.l){var f=new bv;b=ck(f,1,b);c=yk(b,2,c);d=qk(c,3,d);if(e.vf===void 0)Sj(d,4,cv,yi(e.errorType));else switch(e.vf){case 3:c=new Wu;c=Sj(c,2,Xu,yi(e.Nc));e=yk(c,1,e.errorType);dk(d,5,cv,e);break;case 4:c=new Wu;c=Sj(c,3,Xu,yi(e.Nc));e=yk(c,1,e.errorType);dk(d,5,cv,e);break;case 5:c=new Wu,c=Sj(c,4,Xu,yi(e.Nc)),e=yk(c,1,e.errorType),dk(d,5,cv,e)}e=new Yv;e=dk(e,9,Zv,d);a.j.Af(Ow(a,e))}},Ow=function(a,b){var c=Date.now();c=Number.isFinite(c)?Math.round(c):0;b=uk(b,1,c);c=window; if(typeof c.goog_pvsid!=="number")try{var d=Object;var e=d.defineProperty;var f=void 0;f=f===void 0?Math.random:f;var g=Math.floor(f()*4503599627370496);e.call(d,c,"goog_pvsid",{value:g,configurable:!1})}catch(h){}e=uk(b,2,Number(c.goog_pvsid)||-1);return uk(e,6,a.A)};var Sw=function(){var a={};this.Wb=(a[3]={},a[4]={},a[5]={},a)};var Tw=/^true$/.test("false");function Uw(a,b){switch(b){case 1:return pk(a,1,lv);case 2:return pk(a,2,lv);case 3:return pk(a,3,lv);case 6:return pk(a,6,lv);case 8:return pk(a,8,lv);default:return null}}function Vw(a,b){if(!a)return null;switch(b){case 1:return hk(a,1);case 7:return J(a,3);case 2:return mk(a,2);case 3:return J(a,3);case 6:return ok(a,4);case 8:return ok(a,4);default:return null}} var Ww=mf(function(){if(!Tw)return{};try{var a=a===void 0?window:a;try{var b=a.sessionStorage.getItem("GGDFSSK")}catch(c){b=null}if(b)return JSON.parse(b)}catch(c){}return{}});function Xw(a,b,c,d){var e=d=d===void 0?0:d,f,g;ug(Yw).l[e]=(g=(f=ug(Yw).l[e])==null?void 0:f.add(b))!=null?g:(new Set).add(b);e=Ww();if(e[b]!=null)return e[b];b=Zw(d)[b];if(!b)return c;b=kv(JSON.stringify(b));b=$w(b);a=Vw(b,a);return a!=null?a:c} function $w(a){var b=ug(Sw).Wb;if(b&&Uj(a,lv)!==8){var c=ib(bk(a,iv,5,Ej()),function(f){f=hv(I(f,Zu,1),b);return f.success&&f.value});if(c){var d;return(d=c.getValue())!=null?d:null}}var e;return(e=I(a,Wj,4))!=null?e:null}var Yw=function(){this.j={};this.o=[];this.l={};this.g=new Map};function ax(a,b,c){return!!Xw(1,a,b===void 0?!1:b,c)}function bx(a,b,c){b=b===void 0?0:b;a=Number(Xw(2,a,b,c));return isNaN(a)?b:a}function cx(a,b,c){b=b===void 0?"":b;a=Xw(3,a,b,c);return typeof a==="string"?a:b} function dx(a,b,c){b=b===void 0?[]:b;a=Xw(6,a,b,c);return Array.isArray(a)?a:b}function ex(a,b,c){b=b===void 0?[]:b;a=Xw(8,a,b,c);return Array.isArray(a)?a:b}function Zw(a){return ug(Yw).j[a]||(ug(Yw).j[a]={})}function fx(a,b){var c=Zw(b);Nf(a,function(d,e){if(c[e]){d=kv(JSON.stringify(d));var f=Vj(d,lv,8);if(zi(Aj(d,f))!=null){var g=kv(JSON.stringify(c[e]));f=Xj(d);g=ok(ak(g,Wj,4),4);fk(f,4,Ni,g,Pi)}c[e]=Xk(d)}else c[e]=d})} function gx(a,b,c,d,e){e=e===void 0?!1:e;var f=[],g=[];b=v(b);for(var h=b.next();!h.done;h=b.next()){h=h.value;for(var k=Zw(h),m=v(a),p=m.next();!p.done;p=m.next()){p=p.value;var n=Uj(p,lv),r=Uw(p,n);if(r){var u=void 0,t=void 0,z=void 0;var A=(u=(z=ug(Yw).g.get(h))==null?void 0:(t=z.get(r))==null?void 0:t.slice(0))!=null?u:[];a:{u=r;t=n;z=new Tv;switch(t){case 1:Sj(z,1,Uv,yi(u));break;case 2:Sj(z,2,Uv,yi(u));break;case 3:Sj(z,3,Uv,yi(u));break;case 6:Sj(z,4,Uv,yi(u));break;case 8:Sj(z,6,Uv,yi(u)); break;default:A=void 0;break a}Mj(z,5,A,Ai);A=z}if(u=A)t=void 0,u=!((t=ug(Yw).l[h])==null||!t.has(r));u&&f.push(A);if(n===8&&k[r])A=kv(JSON.stringify(k[r])),n=Xj(p),A=ok(ak(A,Wj,4),4),fk(n,4,Ni,A,Pi);else{if(n=A)u=void 0,n=!((u=ug(Yw).g.get(h))==null||!u.has(r));n&&g.push(A)}e||(n=r,A=h,u=d,t=ug(Yw),t.g.has(A)||t.g.set(A,new Map),t.g.get(A).has(n)||t.g.get(A).set(n,[]),u&&t.g.get(A).get(n).push(u));k[r]=Xk(p)}}}if(f.length||g.length)a=d!=null?d:void 0,c.l&&c.o&&(d=new Wv,f=ek(d,2,f),g=ek(f,3,g),a&& rk(g,1,a),f=new Yv,g=dk(f,7,Zv,g),c.j.Af(Ow(c,g)))}function hx(a,b){b=Zw(b);a=v(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=kv(JSON.stringify(c)),e=Uj(d,lv);(d=Uw(d,e))&&(b[d]||(b[d]=c))}}function ix(){return Object.keys(ug(Yw).j).map(function(a){return Number(a)})}function jx(a){ug(Yw).o.includes(a)||fx(Zw(4),a)};function kx(a,b,c){c.hasOwnProperty(a)||Object.defineProperty(c,String(a),{value:b})}function lx(a,b,c){return b[a]||c}function mx(a){kx(5,ax,a);kx(6,bx,a);kx(7,cx,a);kx(8,dx,a);kx(17,ex,a);kx(13,hx,a);kx(15,jx,a)} function nx(a){kx(4,function(b){ug(Sw).Wb=b},a);kx(9,function(b,c){var d=ug(Sw);d.Wb[3][b]==null&&(d.Wb[3][b]=c)},a);kx(10,function(b,c){var d=ug(Sw);d.Wb[4][b]==null&&(d.Wb[4][b]=c)},a);kx(11,function(b,c){var d=ug(Sw);d.Wb[5][b]==null&&(d.Wb[5][b]=c)},a);kx(14,function(b){for(var c=ug(Sw),d=v([3,4,5]),e=d.next();!e.done;e=d.next())e=e.value,Object.assign(c.Wb[e],b[e])},a)}function ox(a){a.hasOwnProperty("init-done")||Object.defineProperty(a,"init-done",{value:!0})};var px=function(){};px.prototype.j=function(){};px.prototype.g=function(){return[]};var qx=function(a,b,c){a.j=function(d,e){lx(2,b,function(){return[]})(d,c,e)};a.g=function(){return lx(3,b,function(){return[]})(c)}};var rx=function(){this.g=Math.random()},sx=function(){var a=Tu,b=window.google_srt;b>=0&&b<=1&&(a.g=b)},Vu=function(a,b,c,d,e){if(((d===void 0?0:d)?a.g:Math.random())<(e||.01))try{if(c instanceof bg)var f=c;else f=new bg,Nf(c,function(h,k){var m=f,p=m.o++;fg(m,p,cg(k,h))});var g=ig(f,"https:","/pagead/gen_204?id="+b+"&");g&&og(B,g)}catch(h){}};var Tu,tx,Su=new bn(1,window);(function(a){Tu=a!=null?a:new rx;typeof window.google_srt!=="number"&&(window.google_srt=Math.random());sx();tx=new Uu;tx.Ji(function(){});tx.rk(!0);window.document.readyState=="complete"?window.google_measure_js_timing||Su.C():Su.j&&rf(window,"load",function(){window.google_measure_js_timing||Su.C()})})(); var ux=function(a,b){return tx.Tg(a,b)},vx=function(a,b){var c=ug(px).g();!a.eid&&c.length&&(a.eid=c.toString());Vu(Tu,"gdn::mta",a,!0,b)},wx=function(a,b){tx.sc(531,a,.01,b)};var xx=function(a){this.M=G(a)};q(xx,K);var Sx=function(a){this.M=G(a)};q(Sx,K);var Tx=function(a,b){return Mj(a,1,b,xi)},Ux=function(a,b){return Mj(a,2,b,xi)},Vx=function(a,b){return Mj(a,3,b,Ai)},Wx=function(a,b){Mj(a,4,b,Ai)};var Xx=function(a){this.M=G(a)};q(Xx,K);var Yx=function(a){this.M=G(a)};q(Yx,K);Yx.prototype.getVersion=function(){return ik(this,1)}; var Zx=function(a,b){return rk(a,1,b)},$x=function(a,b){return ck(a,2,b)},ay=function(a,b){return ck(a,3,b)},by=function(a,b){return rk(a,4,b)},cy=function(a,b){return rk(a,5,b)},dy=function(a,b){return rk(a,6,b)},ey=function(a,b){return wk(a,7,b)},fy=function(a,b){return rk(a,8,b)},gy=function(a,b){return rk(a,9,b)},hy=function(a,b){return Nj(a,10,ti(b),!1)},iy=function(a,b){return Nj(a,11,ti(b),!1)},jy=function(a,b){return Mj(a,12,b,xi)},ky=function(a,b){return Mj(a,13,b,xi)},ly=function(a,b){return Mj(a, 14,b,xi)},my=function(a,b){return Nj(a,15,ti(b),!1)},ny=function(a,b){return wk(a,16,b)},oy=function(a,b){return Mj(a,17,b,Ai)},py=function(a,b){return Mj(a,18,b,Ai)},qy=function(a,b){return ek(a,19,b)};var ry=function(a){this.M=G(a)};q(ry,K);var sy="a".charCodeAt(),ty=Mb({op:0,np:1,kp:2,fp:3,lp:4,gp:5,mp:6,ip:7,jp:8,ep:9,hp:10,pp:11}),uy=Mb({rp:0,sp:1,qp:2});var vy=function(a){if(/[^01]/.test(a))throw Error("Input bitstring "+a+" is malformed!");this.j=a;this.g=0},yy=function(a){a=wy(a,36);var b=new Xx;b=uk(b,1,Math.floor(a/10));return rk(b,2,a%10*1E8)},zy=function(a){return String.fromCharCode(sy+wy(a,6))+String.fromCharCode(sy+wy(a,6))},Cy=function(a){var b=wy(a,16);return!!wy(a,1)===!0?(a=Ay(a),a.forEach(function(c){if(c>b)throw Error("ID "+c+" is past MaxVendorId "+b+"!");}),a):By(a,b)},Dy=function(a){for(var b=[],c=wy(a,12);c--;){var d=wy(a,6),e= wy(a,2),f=Ay(a),g=b,h=g.push,k=new xx;d=zk(k,1,d);e=zk(d,2,e);f=Mj(e,3,f,Ai);h.call(g,f)}return b},Ay=function(a){for(var b=wy(a,12),c=[];b--;){var d=!!wy(a,1)===!0,e=wy(a,16);if(d)for(d=wy(a,16);e<=d;e++)c.push(e);else c.push(e)}c.sort(function(f,g){return f-g});return c},By=function(a,b,c){for(var d=[],e=0;ea.j.length)throw Error("Requested length "+ b+" is past end of string.");var c=a.j.substring(a.g,a.g+b);a.g+=b;return parseInt(c,2)};vy.prototype.skip=function(a){this.g+=a};var Ey=function(a){try{var b=Tg(a).map(function(f){return f.toString(2).padStart(8,"0")}).join(""),c=new vy(b);if(wy(c,3)!==3)return null;var d=Ux(Tx(new Sx,By(c,24,ty)),By(c,24,ty)),e=wy(c,6);e!==0&&Wx(Vx(d,By(c,e)),By(c,e));return d}catch(f){return null}};var Fy=function(a){try{var b=Tg(a).map(function(d){return d.toString(2).padStart(8,"0")}).join(""),c=new vy(b);return qy(py(oy(ny(my(ly(ky(jy(iy(hy(gy(fy(ey(dy(cy(by(ay($x(Zx(new Yx,wy(c,6)),yy(c)),yy(c)),wy(c,12)),wy(c,12)),wy(c,6)),zy(c)),wy(c,12)),wy(c,6)),!!wy(c,1)),!!wy(c,1)),By(c,12,uy)),By(c,24,ty)),By(c,24,ty)),!!wy(c,1)),zy(c)),Cy(c)),Cy(c)),Dy(c))}catch(d){return null}};var Hy=function(a){if(!a)return null;var b=a.split(".");if(b.length>4)return null;a=Fy(b[0]);if(!a)return null;var c=new ry;a=ck(c,1,a);b.shift();b=v(b);for(c=b.next();!c.done;c=b.next())switch(c=c.value,Gy(c)){case 1:case 2:break;case 3:c=Ey(c);if(!c)return null;ck(a,2,c);break;default:return null}return a},Gy=function(a){try{var b=Tg(a).map(function(c){return c.toString(2).padStart(8,"0")}).join("");return wy(new vy(b),3)}catch(c){return-1}};var Iy=function(a,b){var c={};if(Array.isArray(b)&&b.length!==0){b=v(b);for(var d=b.next();!d.done;d=b.next())d=d.value,c[d]=a.indexOf(d)!==-1}else for(a=v(a),b=a.next();!b.done;b=a.next())c[b.value]=!0;delete c[0];return c};var Jy=function(a){this.M=G(a)};q(Jy,K);var Ky=function(a){var b=new Jy;fk(b,1,xi,a,zi)};[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});[2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2].reduce(function(a,b){return a+b});var Ly=function(a){if(a.gdprApplies===!1)return!0;a.internalErrorState===void 0&&(a.addtlConsent!==void 0&&typeof a.addtlConsent!=="string"&&(a.addtlConsent=void 0),a.gdprApplies!==void 0&&typeof a.gdprApplies!=="boolean"&&(a.gdprApplies=void 0),a.internalErrorState=a.tcString!==void 0&&typeof a.tcString!=="string"||a.listenerId!==void 0&&typeof a.listenerId!=="number"?2:a.cmpStatus&&a.cmpStatus!=="error"?0:3);return a.cmpStatus==="error"||a.internalErrorState!==0?a.internalBlockOnErrors?(tg({e:String(a.internalErrorState)}, "tcfe"),!1):!0:a.cmpStatus!=="loaded"||a.eventStatus!=="tcloaded"&&a.eventStatus!=="useractioncomplete"?!1:!0};var My=function(){this.blockSize=-1};Ky([1,8,9,10,11,12,2,3,4,5,15,16,19,20,21]);Ky([1,6,7,9,10,11,12,2,3,4,5,13,14,18,19,20,21]);Ky([1,6,7,9,10,11,12,22,2,3,4,5,13,14,17,18,19,20,21]);new Jy;var P=function(a,b){this.j=this.B=this.o="";this.A=null;this.N=this.l="";this.C=!1;var c;a instanceof P?(this.C=b!==void 0?b:a.C,Ny(this,a.o),this.B=a.B,Oy(this,a.j),Py(this,a.A),this.l=a.l,Qy(this,a.g.clone()),this.N=a.D()):a&&(c=String(a).match(zf))?(this.C=!!b,Ny(this,c[1]||"",!0),this.B=Ry(c[2]||""),Oy(this,c[3]||"",!0),Py(this,c[4]),this.l=Ry(c[5]||"",!0),Qy(this,c[6]||"",!0),this.N=Ry(c[7]||"")):(this.C=!!b,this.g=new Sy(null,this.C))}; P.prototype.toString=function(){var a=[],b=this.o;b&&a.push(Ty(b,Uy,!0),":");var c=this.j;if(c||b=="file")a.push("//"),(b=this.B)&&a.push(Ty(b,Uy,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.A,c!=null&&a.push(":",String(c));if(c=this.l)this.j&&c.charAt(0)!="/"&&a.push("/"),a.push(Ty(c,c.charAt(0)=="/"?Vy:Wy,!0));(c=this.g.toString())&&a.push("?",c);(c=this.D())&&a.push("#",Ty(c,Xy));return a.join("")}; P.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?Ny(b,a.o):c=!!a.B;c?b.B=a.B:c=!!a.j;c?Oy(b,a.j):c=a.A!=null;var d=a.l;if(c)Py(b,a.A);else if(c=!!a.l){if(d.charAt(0)!="/")if(this.j&&!this.l)d="/"+d;else{var e=b.l.lastIndexOf("/");e!=-1&&(d=b.l.slice(0,e+1)+d)}e=d;if(e==".."||e==".")d="";else if(Cc(e,"./")||Cc(e,"/.")){d=e.lastIndexOf("/",0)==0;e=e.split("/");for(var f=[],g=0;g1||f.length==1&&f[0]!="")&&f.pop(), d&&g==e.length&&f.push("")):(f.push(h),d=!0)}d=f.join("/")}else d=e}c?b.l=d:c=a.g.toString()!=="";c?Qy(b,a.g.clone()):c=!!a.N;c&&(b.N=a.D());return b};P.prototype.clone=function(){return new P(this)}; var Ny=function(a,b,c){a.o=c?Ry(b,!0):b;a.o&&(a.o=a.o.replace(/:$/,""))},Oy=function(a,b,c){a.j=c?Ry(b,!0):b},Py=function(a,b){if(b){b=Number(b);if(isNaN(b)||b<0)throw Error("Bad port number "+b);a.A=b}else a.A=null},Qy=function(a,b,c){b instanceof Sy?(a.g=b,Yy(a.g,a.C)):(c||(b=Ty(b,Zy)),a.g=new Sy(b,a.C));return a},$y=function(a,b){return a.g.get(b)};P.prototype.D=function(){return this.N}; var az=function(a,b){return(!a.j&&!b.j||a.j==b.j)&&(a.A==null&&b.A==null||a.A==b.A)},bz=function(a){return a instanceof P?a.clone():new P(a,void 0)},Ry=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Ty=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,cz),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},cz=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Uy=/[#\/\?@]/g,Wy=/[#\?:]/g,Vy=/[#\?]/g,Zy= /[#\?@]/g,Xy=/#/g,Sy=function(a,b){this.j=this.g=null;this.l=a||null;this.o=!!b},dz=function(a){a.g||(a.g=new Map,a.j=0,a.l&&Bf(a.l,function(b,c){a.add(Bd(b),c)}))};Sy.prototype.add=function(a,b){dz(this);this.l=null;a=ez(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.j+=1;return this};Sy.prototype.remove=function(a){dz(this);a=ez(this,a);return this.g.has(a)?(this.l=null,this.j-=this.g.get(a).length,this.g.delete(a)):!1};Sy.prototype.clear=function(){this.g=this.l=null;this.j=0}; Sy.prototype.isEmpty=function(){dz(this);return this.j==0};var fz=function(a,b){dz(a);b=ez(a,b);return a.g.has(b)};l=Sy.prototype;l.forEach=function(a,b){dz(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};l.gg=function(){dz(this);for(var a=Array.from(this.g.values()),b=Array.from(this.g.keys()),c=[],d=0;d0?String(a[0]):b}; l.toString=function(){if(this.l)return this.l;if(!this.g)return"";for(var a=[],b=Array.from(this.g.keys()),c=0;c0&&(this.l=null,this.g.set(ez(this,e),qb(c)),this.j+=c.length))},a));a.o=b};var gz=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};function hz(){var a=new gz;return{promise:a.promise,resolve:a.resolve}};function iz(a){var b=b===void 0?function(){}:b;a.google_llp||(a.google_llp={});a=a.google_llp;var c=a[9];if(c)return c;c=hz();a[9]=c;b();return c};function jz(){var a=a===void 0?window:a;var b;return y(function(c){b=[iz(a).promise];try{b.push(iz(a.parent).promise)}catch(d){}return c.return(Promise.race(b))})};var kz=[0,2,1],lz=null,mz=function(){var a=window.event||lz;if(!a)return null;var b;(b=a.which?1<=0?c.substring(0,d)+b+c.substring(e):c.substring(0,d)+b}c=ld(b.length>6E4?c:b);c=rd(c);c!==void 0&&(a.href=c)}}};function nz(a){var b=b===void 0?B:b;var c=new Qu;a!=null&&(a.ce!=null&&vk(c,1,a.ce),a.Yn!=null&&vk(c,3,a.Yn),a.label!=null&&vk(c,6,a.label),a.Oj!=null&&vk(c,7,a.Oj),a.yj!=null&&vk(c,8,a.yj),a.Ln!=null&&vk(c,11,a.Ln));var d;a=b;a=a===void 0?window:a;(d=a.fence)==null||d.reportEvent({eventType:"interaction",eventData:Yk(c),destination:["buyer"]})};var oz=new Set(["impression","click"]);var pz=function(a){return typeof a.className=="string"?a.className:a.getAttribute&&a.getAttribute("class")||""},qz=function(a){return a.classList?a.classList:pz(a).match(/\S+/g)||[]},rz=function(a,b){typeof a.className=="string"?a.className=b:a.setAttribute&&a.setAttribute("class",b)},sz=function(a,b){return a.classList?a.classList.contains(b):kb(qz(a),b)},tz=function(a,b){if(a.classList)a.classList.add(b);else if(!sz(a,b)){var c=pz(a);rz(a,c+(c.length>0?" "+b:b))}},uz=function(a,b){if(a.classList)Array.prototype.forEach.call(b, function(e){tz(a,e)});else{var c={};Array.prototype.forEach.call(qz(a),function(e){c[e]=!0});Array.prototype.forEach.call(b,function(e){c[e]=!0});b="";for(var d in c)b+=b.length>0?" "+d:d;rz(a,b)}},vz=function(a,b){a.classList?a.classList.remove(b):sz(a,b)&&rz(a,Array.prototype.filter.call(qz(a),function(c){return c!=b}).join(" "))};var wz=function(a){this.serializedAttributionData=Xk(a);this.g=a.clone();this.isMutableImpression=Zj(this.g,Mu,1)!==void 0&&!!hk(I(this.g,Mu,1),33);J(this.g,30);hk(this.g,11);this.hasUserFeedbackData=!!this.g&&Zj(this.g,Mu,1)!==void 0;hk(this.g,4);hk(this.g,6);hk(this.g,13);this.Uj=ik(this.g,8)||1;this.creativeIndexSuffix=ik(this.g,8)>1?ik(this.g,7).toString():"";Pi(Aj(this.g,34))!=null&&(this.creativeIndexSuffix=J(this.g,34)+"_"+this.creativeIndexSuffix);hk(this.g,17);hk(this.g,18);this.C=!!hk(this.g, 14);this.B=!!hk(this.g,15);hk(this.g,31);hk(this.g,9);this.openAttributionInline=hk(this.g,10)==1;this.isMobileDevice=!!hk(this.g,12);this.Df=null;this.J=(a=pc.querySelector("[data-slide]"))?a.getAttribute("data-slide")==="true":!1;(this.o=ik(this.g,8)>1)&&C.goog_multislot_cache===void 0&&(C.goog_multislot_cache={});if(this.o&&!this.J&&C.goog_multislot_cache.hd===void 0){a=!1;var b=pc.querySelector("[data-dim]");if(b)if(b=b.getBoundingClientRect(),b.right-b.left>=150&&b.bottom-b.top>=150)a=!1;else{var c= document.body.getBoundingClientRect();(Math.abs(c.left-b.left)<=1&&Math.abs(c.right-b.right)<=1?b.bottom-b.top:b.right-b.left)<150&&(a=!0)}else a=!1;window.goog_multislot_cache.hd=a}Ie("abgcp"+this.creativeIndexSuffix);Ie("abgc"+this.creativeIndexSuffix);this.j=Ie("abgs"+this.creativeIndexSuffix);Ie("abgl"+this.creativeIndexSuffix);Ie("abgb"+this.creativeIndexSuffix);Ie("abgac"+this.creativeIndexSuffix);Ie("mute_panel"+this.creativeIndexSuffix);this.l=Ke("goog_delegate_attribution"+this.creativeIndexSuffix); this.isDelegateAttributionActive=!!this.l&&!!this.C&&!Ke("goog_delegate_disabled")&&!this.B;if(this.j)a:for(a=this.j.childNodes,b=0;bg.right-.5&&d.bottom>g.bottom-.5&&d.lefte+.1&&!(g++>30);){var h=(f+e)/2;Hz(d,h);Fz(d.j)?e=h:f=h}Hz(d,e)}b()})},this);return new Promise(a)};Gz.prototype.getSize=function(){return this.g};var Iz=function(a,b){a.l=b};var Jz=function(a){return!!a&&!!J(a,30)&&!!J(a,31)&&!!J(a,32)},Kz=function(a,b){return Ie(a+(b===void 0?"":b))},Lz=function(a,b){return Ie(a+(b===void 0?"":b))},Mz=function(a){if(Pi(Aj(a,21))!=null){var b=JSON.parse(J(a,21)).msg_type;if(b==="resize-me"||b==="dismiss"||b==="i-dismiss"){var c=J(a,21);try{b==="i-dismiss"?jz().then(function(d){d.dismiss(3)}):C.top.postMessage(c,"*")}catch(d){wx(d,function(e){e.closeMsg=c})}}}},Nz=function(a,b,c){c=c===void 0?{}:c;if(typeof window.CustomEvent==="function")var d= new CustomEvent(b,c);else d=document.createEvent("CustomEvent"),d.initCustomEvent(b,!!c.bubbles,!!c.cancelable,c.detail);a.dispatchEvent(d)};var Oz=RegExp("[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]");var Pz={},Qz={},Rz={},Sz={},Tz=function(){throw Error("Do not instantiate directly");};Tz.prototype.zj=null;Tz.prototype.getContent=function(){return this.content};Tz.prototype.toString=function(){return this.content};Tz.prototype.Ck=function(){if(this.Aj!==Pz)throw Error("Sanitized content was not of kind HTML.");return td(this.toString())};var Uz=function(){Tz.call(this)};Wa(Uz,Tz);Uz.prototype.Aj=Pz;var Vz=function(a){if(a!=null)switch(a.zj){case 1:return 1;case -1:return-1;case 0:return 0}return null},$z=function(a){return Wz(a,Pz)?a:a instanceof sd?Xz(ud(a).toString()):Xz(String(String(a)).replace(Yz,Zz),Vz(a))},Xz=function(a){function b(c){this.content=c}b.prototype=a.prototype;return function(c,d){c=new b(String(c));d!==void 0&&(c.zj=d);return c}}(Uz),aA=function(a,b){for(var c in b)c in a||(a[c]=b[c]);return a},bA=function(a){return a instanceof Tz?!!a.getContent():!!a},eA=function(a){return cA(String(a), function(){return""}).replace(dA,"<")},fA=RegExp.prototype.hasOwnProperty("sticky"),gA=new RegExp((fA?"":"^")+"(?:!|/?([a-zA-Z][a-zA-Z0-9:-]*))",fA?"gy":"g"); function cA(a,b){for(var c=[],d=a.length,e=0,f=[],g,h,k=0;k":f.push(m);c.push(b(f.join(""), g));e=0;f=[];h=g=null;break;default:f.push(m)}break;default:throw Error();}e===1&&k>=d&&(k=h+1,c.push("<"),e=0,f=[],h=g=null)}return c.join("")} var hA=function(a,b){a=a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>");return b?a.replace(/{/g," \\{").replace(/}/g," \\}").replace(/\/\*/g,"/ *").replace(/\\$/,"\\ "):a},Q=function(a){return Wz(a,Pz)?String(eA(a.getContent())).replace(iA,Zz):String(a).replace(Yz,Zz)},lA=function(a){return Wz(a,Pz)?String(eA(a.getContent())).replace(jA,Zz):String(a).replace(kA,Zz)},qA=function(a){Wz(a,Qz)||Wz(a,Rz)?a=mA(a):gd(a)?a=mA(hd(a)):a instanceof ad?a=mA(cd(a).toString()):(a=String(a),a=nA.test(a)?a.replace(oA, pA):"about:invalid#zSoyz");return a},sA=function(a){Wz(a,Qz)||Wz(a,Rz)?a=mA(a):gd(a)?a=mA(hd(a)):a instanceof ad?a=mA(cd(a).toString()):(a=String(a),a=rA.test(a)?a.replace(oA,pA):"about:invalid#zSoyz");return a},R=function(a){return Wz(a,Sz)?hA(a.getContent(),!1):a==null?"":hA(String(a),!0)},Wz=function(a,b){return a!=null&&a.Aj===b},tA={"\x00":"�","\t":" ","\n":" ","\v":" ","\f":" ","\r":" "," ":" ",'"':""","&":"&","'":"'","-":"-","/":"/","<":"<", "=":"=",">":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"},Zz=function(a){return tA[a]},uA={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D","\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11","\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19", "\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83","\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87","\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F", "\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB","\uff3d":"%EF%BC%BD"},pA=function(a){return uA[a]},Yz=/[\x00\x22\x26\x27\x3c\x3e]/g,iA=/[\x00\x22\x27\x3c\x3e]/g,kA=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,jA=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,oA=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g, nA=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,rA=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+-]+;base64,[a-z0-9+\/]+=*$|^blob:/i,vA=/^[a-zA-Z0-9+\/_-]+={0,2}$/,mA=function(a){return String(a).replace(oA,pA)},wA=function(a){a=String(a);return vA.test(a)?a:"zSoyz"},dA=/
';h?p='
'+(da?"":'")+ '
'+(k&&!m?(F?CA(a):"")+(ha?"":''+$z(f)+""):"")+(n?"":p?''+$z(u)+' ': ''+$z(A)+' ')+"
":(f=(da?"":'")+'
'+(H>40?'
': "")+(F?CA(a)+'':""),!k||m||ha?k="":(k=a.creativeIndexSuffix,m=a.gk,k=Xz(''+$z(m)+"")),k=f+k,n?p="":p?(p='',n=a.creativeIndexSuffix,m=a.Pk,ha=a.Ok,f=a.gh,h=a.ji,n=Xz(''+(f&&!h?DA(a.creativeIndexSuffix,a.Wg)+$z(ha):$z(ha)+" "+DA(a.creativeIndexSuffix,a.Wg))+""),p+=n):(p='',n=a.creativeIndexSuffix,m=a.tk,ha=a.sk,f=a.Wg,n=Xz(''+$z(ha)+' '),p+=n),p=k+p+"
");g=e+p+'
'+$z(g)+'
'; F?(d='
'+(da?"":'
'+BA()+"
")+'
'+(da?'
'+BA()+"
":"")+'
'+$z(O)+'
', F=a.creativeIndexSuffix,O=a.ji,da=a.Ul,e=a.Vl,F=Xz(''+(O?EA()+$z(da):$z(da)+" "+EA())+""),d=d+F+"
"):d="";Sb=Sb(g+d+"");d=a.creativeIndexSuffix;F=a.Wh;O=a.Ql;da=a.Xl;g=a.wi;e=a.Pg;p=a.vm;n=a.ak;k=a.bk;m=a.gh;ha=a.Hk;f=a.enableNativeJakeUi;h=a.Ni;a=a.rg;b=b&&b.rm;b=Xz((m?'":"")+"#panel_set"+R(d)+">.panel {position: absolute;"+(F?"top: -100%; left: -100%;":"top: -"+R(O)+"px; left: -"+R(da)+"px;")+"z-index: 2147483646; display: block;"+(F?"width: 100%; height: 100%":"width: "+R(g)+"px; height: "+R(e)+"px;")+"}#panel_set"+R(d)+" img {border: 0;}#panel_set"+R(d)+">.panel.visible, #panel_set"+R(d)+" .visible .panel {position: absolute;"+(p?"top: 0; left: 0;":"left: "+R(n)+"px; top: "+R(k)+"px;")+ "opacity: 1;}#panel_set"+R(d)+" .panel-container {display: table;"+(F?"width: 100%; height: 100%;":"width: "+R(g)+"px; height: "+R(e)+"px;")+"margin: 0; padding: 0; background-color: #fafafa;}#panel_set"+R(d)+" .panel-row {display: block; padding: 0 0 0.3em 0;}#panel_set"+R(d)+" .panel-row:first-child {padding: 0.3em 17px;}#panel_set"+R(d)+" .panel-content {"+(a?"vertical-align: middle;":"vertical-align: top;")+"padding-top: "+R(h)+"px; display: table-cell; color: #999; color: rgba(0,0,0,0.4); transition: opacity 150ms linear; text-align: center;}.collapsed #panel_set"+ R(d)+" .fade {opacity: 0.4;}#menu-dismiss"+R(d)+" {padding-top: "+R(h)+"px;}.jake-middle.survey-horiz #panel_set .panel-content {vertical-align: middle;}#ad_closed_panel"+R(d)+" .btn, #ad_options_panel"+R(d)+" .btn {display: inline-block; border-radius: 2px; box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; width: auto; text-decoration: none; white-space: nowrap; line-height: 1em; cursor: pointer;}#closed_text"+R(d)+", #final_closed_text"+R(d)+" {display: inline-block; line-height: 1.28em; font-size: 1.2em;}#native_closed_text"+ R(d)+" {display: flex; flex-direction: row; align-items: center;}#closed_text"+R(d)+" img, #native_closed_text"+R(d)+" img, #final_closed_text"+R(d)+' img {margin: 0 0 -0.34em 0; height: 1.25em; display: inline-block; width: auto; min-width: 3.75em; opacity: 0.4; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";}#native_closed_text'+R(d)+" img {margin: 0 0.3em -0.2em 0.3em; height: 1.4em;}.spacer"+R(d)+" {display: inline-block; padding: 0; box-shadow: none; width: 3px;}"+(g<=360&& e>=100?"#ad_closed_panel"+R(d)+" .responsive-btn, #ad_options_panel"+R(d)+" .responsive-btn {max-width: 288px; width: 75%; white-space: normal; margin-bottom: 0.4em;}.spacer"+R(d)+" {display: none;}":"")+(g<=220?"#ad_closed_panel"+R(d)+" .responsive-btn, #ad_options_panel"+R(d)+" .responsive-btn {max-width: 198px; width: 90%; white-space: normal; margin-bottom: 0.4em;}.spacer"+R(d)+" {display: none;}":"")+(e>=220&&!a?"#panel_set"+R(d)+" .panel-content {vertical-align: top;}":"")+(e<=36?"#closed_text"+ R(d)+" {padding: 0 1em 0 0;}#panel_set"+R(d)+" .panel-row {padding: 0 !important;}":"")+".btn>span {display: inline-block; padding: 0.5em 0.6em; line-height: 1em;}#ad_closed_panel"+R(d)+" .settings-btn, #ad_options_panel"+R(d)+" .settings-btn {background-color: #fff; color: #9e9ea6;}#ad_closed_panel"+R(d)+" .settings-btn:hover, #ad_closed_panel"+R(d)+" .settings-btn:active, #ad_options_panel"+R(d)+" .settings-btn:hover, #ad_options_panel"+R(d)+" .settings-btn:active{background-color: #f5f5f5;}.settings-text {white-space: nowrap;}#report_btn"+ R(d)+".primary-btn, #ad_options_btn"+R(d)+".primary-btn {background-color: #4285f5; color: white;}#report_btn"+R(d)+".primary-btn:hover, #report_btn"+R(d)+".primary-btn:active, #ad_options_btn"+R(d)+".primary-btn:hover, #ad_options_btn"+R(d)+'.primary-btn:active {background-color: #3275e5;}.btn-icon {position: relative; display: inline-block; margin-bottom: -0.15em; height: 1em; width: 1em; opacity: 0.4; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";}[dir="rtl"] .btn-icon {float: left;}#confirmation_msg'+ R(d)+" {font-weight: bold; color: #333;}#confirmation_msg"+R(d)+", #final_closed_text"+R(d)+" {line-height: 1.1em; padding: 0.3em;}"+(e>=100?"#confirmation_msg"+R(d)+", #final_closed_text"+R(d)+" {padding: 1em 0.3em;}":"")+"#post_survey_panel"+R(d)+" span {display: block; text-align: center; line-height: 1em;}#post_survey_panel"+R(d)+" a, #post_survey_panel"+R(d)+" a:active, #post_survey_panel"+R(d)+" a:hover {text-decoration: none; color: #4285f5;}#final_closed_panel"+R(d)+", #final_closed_panel"+ R(d)+" #final_closed_text {opacity: 0; transition: opacity 400ms linear;}#final_closed_panel"+R(d)+" span {white-space: normal;}#final_closed_panel"+R(d)+" #final_closed_text.visible {opacity: 1;}"+(ha?"#personalize_toggle"+R(d)+" {pointer-events: none; margin-top: 6px; margin-bottom: 6px;}#ad_options_panel"+R(d)+" span {display: block; text-align: center; line-height: 1em;}":"")+".fallback-wrap .btn{margin: 1px auto 1px auto; white-space: normal;}.close {"+(a?"left: 5%;":"top: 2px; left: 2px;")+ "display: inline-block; position: absolute; color: black; font-size: 15px; line-height: 15px; opacity: 0.5; height: 15px; width: 15px; user-select: none; cursor: pointer;}"+(a?".panel-buttons {position: relative;}":"")+'[dir="rtl"] .close {right: 2px; transform: scaleX(-1);}[dir="rtl"] #menu-dismiss'+R(d)+" {left: initial; right: 0; transform: scaleX(-1);}.native-arrow {"+(f?"opacity: 0.6;":"opacity: 0.8;")+"}.window-icon {opacity: 0.4;}"+(f?"#native-menu-bg"+R(d)+" {position: absolute; top: 0; left: 0; display: inline-block; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); cursor: pointer;}.native-panel-wrapper {display: inline-block; padding: 0.1em;}.visible .native-panel {margin-top: 0; opacity: 1;}#menu-dismiss"+ R(d)+" {position: absolute; top: 0; left: 0; cursor: pointer;}#menu-dismiss"+R(d)+" svg {height: 1.4em; width: 1.4em; max-height: 24px; max-width: 24px; min-height: 10px; min-width: 10px;}.cross {opacity: 0.6; stroke: #52b4c6; stroke-width: 1.25; transform: rotate(0deg); transform-origin: 50% 50%; transition: opacity 0.1s linear, transform 0.1s linear;}#menu-dismiss"+R(d)+":hover .cross {opacity: 0.9; transform: rotate(90deg);}.native-panel-contents {display: flex; flex-wrap: nowrap; flex-direction: column; margin: 0.8em;}.header {display: flex; flex-direction: row; justify-content: flex-start; white-space: nowrap; font-size: 1.3em;}.header-text-wrapper {display: inline-block; margin: 0 0 0.2em 0.1em;}.header {margin: 0 0 5px 0;}#menu-dismiss"+ R(d)+" svg {height: 1em; width: 1em; margin: 0.1em;}.cross {stroke: #888;}.header-text-wrapper {margin: 0 0 0.4em 0;}.native-panel-wrapper {display: flex; padding: 0; justify-content: center; align-items: center; height: 100%;}#native_closed_text"+R(d)+" img {margin: 0 0.3em -0.1em 0.3em;}.header {font-size: 1em; justify-content: center}.native-panel {opacity: 0; display: inline-block; position: relative; box-sizing: border-box; color: rgba(0,0,0,0.4); background-color: #fafafa; font-family: 'Arial', sans-serif; white-space: nowrap; border-radius: 4px; box-shadow: 0 3px 2px 0 rgba(0,0,0,0.3); margin-top: 5px; transition: margin 0.25s ease-out;}.native-button-container {display: flex; justify-content: center; flex-wrap: nowrap; flex-direction: column;}.native-button-container #report_btn"+ R(d)+" {color: white; background-color: rgba(26,115,232,1); border: 1px solid rgba(66,133,245,0.6); opacity: 0.9;}.native-button-container #report_btn"+R(d)+":hover {background-color: rgba(20,91,183,1);}.native-button-container #settings_btn"+R(d)+", .native-button-container #why_this_ad_btn"+R(d)+", .native-button-container #learn_more_btn"+R(d)+" {color: rgba(0,0,0,0.5); border: 1px solid rgba(0,0,0,0.3);}.native-button-container a {display: flex; flex-direction: row; justify-content: center; align-items: center; margin: 5px 0 0 0; flex-grow: 1; cursor: pointer; border-radius: 4px; box-shadow: 0 0 2px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.26) !important; background-color: white; font-size: 0.8em; line-height: 1em;}.native-button-container a:hover {background-color: #f5f5f5;}.native-button-container a, .native-button-container a:active, .native-button-container a:hover, .native-button-container a:visited {text-decoration: none;}.native-button-container a:first-child {margin-top: 0;}.button-text {font-size: 1em; display: block;}.padded-text {margin: 0.4em 0.7em;}.native-button-container #settings_icon {opacity: 0.65; opacity: 0.65;}.icon {display: inline-block; width: 2.3em; height: 2.3em; fill: #fff; stroke: none; margin: 0.2em;}"+ (g/e<=.5?".native-panel-wrapper {padding-top: 1em; align-items: flex-start;}":"")+(g/e>=2&&e<=100?".native-panel-contents {margin: 0.5em;}.native-button-container a {margin: 0 0 0 0.2em;}.header {margin: 0;}.native-button-container a:first-child {margin: 0;}.native-panel-contents {flex-direction: column;}.native-button-container {flex-direction: row;}":"")+(g/e>=3&&e<=49?".native-panel-contents {margin: 0.5em 1em;}.native-panel {margin: 0.1em;}.header {margin: 0 0.2em 0 0;}.native-panel-contents {flex-direction: row;}.native-button-container {flex-direction: row;}.header-text-wrapper {margin-bottom: 0;}": "")+(e<=130?".padded-text {white-space: normal; margin: 0.3em; text-align: initial;}":""):"")+(m?"#panel_set"+R(d)+" .panel-content {font-family: 'Google Sans', sans-serif;}#closed_text"+R(d)+" img, #native_closed_text"+R(d)+" img, #final_closed_text"+R(d)+' img {margin: 0 0 -0.3em 0; height: 1.1em; min-width: 3.3em;}.close {top: 6px; left: 6px; height: 22px; width: 22px;}[dir="rtl"] .close {right: 8px; transform: scaleX(-1);}.btn>span {padding: 0.7em 0.5em;}#ad_closed_panel'+R(d)+" .btn, #ad_options_panel"+ R(d)+" .btn {border-radius: 4px;}#ad_closed_panel"+R(d)+" .settings-btn, #ad_options_panel"+R(d)+" .settings-btn {box-shadow: inset 0 0 0 1px #dadce0;}#closed_text"+R(d)+", #final_closed_text"+R(d)+' {line-height: 1.28em; font-size: 1.15em;}.btn-icon {margin-right: 0.5em;}[dir="rtl"] .btn-icon {float: none;}'+(g/e>=2?".spacer"+R(d)+" {width: 4px;}#closed_text"+R(d)+", #final_closed_text"+R(d)+" {line-height: 1em;}"+(e>=90?".close {height: 24px; width: 24px; top: 8px; left: 8px;}#closed_text"+R(d)+ ", #final_closed_text"+R(d)+" {font-size: 1.3em;}.panel-lower {margin-top: 6px;}.panel-buttons {margin-top: 6px;}":"#closed_text"+R(d)+", #final_closed_text"+R(d)+" {font-size: 1.1em;}.close {height: 20px; width: 20px;}.panel-lower {margin-top: 2px;}.panel-buttons {margin-top: -2px;}.btn > span {padding: 0.4em;}"):g<=200?".panel-lower {margin-top: 25px;}.close {height: 16px; width: 16px;}":".panel-lower {margin-top: 40px;}.panel-buttons {margin-top: 14px;}#panel_set"+R(d)+" .panel-row:first-child {padding: 0 17px;}#ad_closed_panel"+ R(d)+" .responsive-btn, #ad_options_panel"+R(d)+" .responsive-btn {margin-bottom: 8px; width: 51%;}"):"#panel_set"+R(d)+" .panel-content {font-family: 'Arial', sans-serif;}#ad_closed_panel"+R(d)+" .btn, #ad_options_panel"+R(d)+" .btn {border-radius: 2px; box-shadow: 0 0 2px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.26) !important;}")+(ha?"#learn_more_btn"+R(d)+" .window-icon {height: 16px; width: 16px;}#personalize_toggle"+R(d)+" .track {pointer-events: all; position: relative; display: inline-block; width: 36px; height: 14px; top: 1px; margin-left: 6px;}#personalize_toggle"+ R(d)+" .track input {opacity: 0; width: 0; height: 0;}#personalize_toggle"+R(d)+" .handle {position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #dadce0; -webkit-transition: .4s; transition: .4s; border-radius: 7px;}#personalize_toggle"+R(d)+' .handle:before {position: absolute; content: ""; height: 20px; width: 20px; left: -4px; bottom: -3px; margin-left: 4px; background-color: #fff; -webkit-transition: .4s; transition: .4s; box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15); border-radius: 50%;}#personalize_toggle'+ R(d)+" input:checked + .handle {background-color: rgba(66, 133, 244, .5);}#personalize_toggle"+R(d)+" input:focus + .handle {box-shadow: 0 0 1px #4285f4;}#personalize_toggle"+R(d)+" input:checked + .handle:before {-webkit-transform: translateX(16px); -ms-transform: translateX(16px); transform: translateX(16px); transition: .4s; -webkit-transition: background-color .4s; -ms-transition: background-color .4s; transition: background-color .4s; background-color: #1a73e8;}"+(g<=200||e<=200?"#personalize_toggle"+ R(d)+" .track {width: 24px; height: 9px; top: 2px;}#personalize_toggle"+R(d)+" .handle:before {height: 13px; width: 13px; left: -7px; bottom: -2px;}#learn_more_btn"+R(d)+" .window-icon {height: 14px; width: 14px;}":"")+(e>=500?"#personalize_toggle"+R(d)+" {margin-top: 6;}":"")+(g<=100||e<=100?"#personalize_toggle"+R(d)+" {margin-top: 0; margin-bottom: 3px;}#learn_more_btn"+R(d)+" .window-icon {height: 12px; width: 12px;}":"")+(g<=60||e<=60?"#learn_more_btn"+R(d)+" .window-icon {height: 11px; width: 11px;}": "")+(g<=50||e<=50?"#learn_more_btn"+R(d)+" .window-icon {height: 9px; width: 9px;}":""):"")+"");return c(Sb+b)},CA=function(a){var b=a.creativeIndexSuffix;a=a.Tl;return Xz(''+$z(a)+"")},DA=function(a,b){return Xz('')},BA=function(){return Xz('')}, EA=function(){return Xz('')};var GA=function(a,b){var c=a.creativeIndexSuffix,d=a.jn,e=a.Un,f=a.wm,g=Xz,h=aA({Am:bA(d)?"left":"right",em:bA(d)?"right":"left"},a);d=h.Am;var k=h.em,m=h.creativeIndexSuffix,p=h.fm,n=h.hm,r=h.gm,u=h.jo,t=h.Jn,z=h.Wh,A=h.wi,H=h.Pg,F=h.gh,O=h.Ni;h=h.rg;b=b&&b.rm;f=" "+Xz((F?'":"")+"#survey-container"+R(m)+" {position: absolute; top: 0; left: 0;"+ (bA(z)?"width: 100%; height: 100%;":"width: "+R(A)+"px; height: "+R(H)+"px;")+"overflow: hidden;"+(h?"display: table;":"")+"background-color: #fafafa; font-size: 0; white-space: nowrap;}.survey-native-scroll #survey-container"+R(m)+" {overflow-x: scroll;}.survey-horiz, .survey-vert {text-align: center;}#survey-container"+R(m)+" * {box-sizing: border-box; -moz-box-sizing: border-box; -webkit-box-sizing: border-box;}.survey-block {height: "+R(p)+"px;}.survey-option {position: relative; overflow: hidden; display: inline-block; padding: 1px 5px; width: "+ R(n)+"px; height: "+R(p)+"px; border: 1px solid #e0e0e0; background-color: #fff; cursor: pointer;}.survey-option:hover, .survey-scroll .survey-option:active {background-color: #f5f5f5;}.survey-option div {width: 100%; height: 100%; display: table; text-align: center;}.survey-option span {vertical-align: middle; display: table-cell; color: #4285f4; font-family: Arial, sans-serif; text-align: center; font-size: 12px; line-height: 14px; white-space: normal;}@media (min-height: 54px) {.survey-horiz.survey-spaced .survey-option, .survey-vert .survey-option {box-shadow: 0 0 2px rgba(0,0,0,0.12), 0px 1px 3px rgba(0,0,0,0.26) !important; border: none;}}#mute_panel"+ R(m)+".survey-horiz .survey-option {display: inline-block; margin-"+R(k)+": -1px; box-shadow: none;}#mute_panel"+R(m)+".survey-horiz .survey-option:first-child {margin-"+R(k)+": 0;}#mute_panel"+R(m)+".survey-horiz.survey-spaced .survey-option {margin-"+R(k)+": "+R(r)+"px;}#mute_panel"+R(m)+".survey-horiz.survey-spaced .survey-option:first-child {margin-"+R(k)+": 0;}#mute_panel"+R(m)+".survey-horiz.jake-middle .survey-block {margin-top: "+R(((H!=null?H:0)-p)/2)+"px;}#mute_panel"+R(m)+".survey-horiz.jake-top .survey-block {margin-top: "+ R(r)+"px;}#mute_panel"+R(m)+".survey-vert .survey-option, #mute_panel"+R(m)+".survey-horiz.survey-spaced .survey-option {border-radius: 2px;}#mute_panel"+R(m)+".survey-vert .survey-option {margin: "+R(r)+"px auto 0 auto; display: block;}#mute_panel"+R(m)+".survey-vert.jake-top .survey-option:first-child {margin-top: "+R(r)+"px;}#mute_panel"+R(m)+".survey-vert.jake-middle .survey-option:first-child {margin-top: "+R(((H!=null?H:0)-u)/2)+"px;}#mute_panel"+R(m)+".survey-grid #survey-container"+R(m)+" {width: initial; height: initial; white-space: normal; padding: 1px;}#mute_panel"+ R(m)+".survey-grid .survey-option {display: inline-block; width: "+R(((A!=null?A:0)-6)/2)+"px; height: "+R(((H!=null?H:0)-6)/2)+"px; margin: 1px;}#mute_panel"+R(m)+".survey-small-grid #survey-container"+R(m)+" {white-space: normal; padding: "+R((H!=null?H:0)/2-(p+2))+"px 0px;}#mute_panel"+R(m)+".survey-small-grid #option-container"+R(m)+" {padding: 0 "+R((A!=null?A:0)/2-(n+2))+"px;}#mute_panel"+R(m)+".survey-small-grid .survey-option {display: inline-block; margin: 1px;}.option-container {"+(h?"display: table-cell; vertical-align: middle;": "margin-top: "+R(O)+"px; display: inline-block;")+"}.scroll, .native-scroll {position: absolute; top: 0; display: none;}.scroll {width: 30px; border: 1px solid transparent; background-color: #666; background-color: rgba(0,0,0,0.6); text-align: center; transition: visibility 150ms step-end; cursor: pointer;}.native-scroll {width: 10px;}.survey-scroll .scroll, .survey-native-scroll .native-scroll {display: block;}.scroll div {position: absolute; top: 50%; left: 50%; height: 36px; width: 36px; margin: -18px 0 0 -18px;}.scroll:hover, .scroll:active {background-color: #999; background-color: rgba(0,0,0,0.4);}.scroll-right {"+ R(d)+": 0;}.native-scroll.scroll-"+R(d)+" {-webkit-box-shadow: inset -10px 0 10px -10px rgba(0,0,0,0.3); -moz-box-shadow: inset -10px 0 10px -10px rgba(0,0,0,0.3); box-shadow: inset -10px 0 10px -10px rgba(0,0,0,0.3);}.scroll-right {border-top-"+R(k)+"-radius: 4px; border-bottom-"+R(k)+'-radius: 4px;}.scroll-right div {background-image:url("'+sA(t)+"/images/icons/material/system/1x/keyboard_arrow_"+mA(d)+'_white_36dp.png");}.scroll-left {'+R(k)+": 0;}.native-scroll.scroll-"+R(k)+" {-webkit-box-shadow: inset 10px 0 10px -10px rgba(0,0,0,0.3); -moz-box-shadow: inset 10px 0 10px -10px rgba(0,0,0,0.3); box-shadow: inset 10px 0 10px -10px rgba(0,0,0,0.3);}.scroll-left {border-top-"+ R(d)+"-radius: 4px; border-bottom-"+R(d)+'-radius: 4px;}.scroll-left div {background-image:url("'+sA(t)+"/images/icons/material/system/1x/keyboard_arrow_"+mA(k)+'_white_36dp.png");}.survey-option {transition: margin 150ms linear;}.close {'+(h?"left: 5%;":"top: 2px; left: 2px;")+'display: inline-block; position: absolute; color: black; font-size: 15px; line-height: 15px; opacity: 0.5; height: 15px; width: 15px; user-select: none; cursor: pointer;}[dir="rtl"] .close {right: 2px; transform: scaleX(-1);}'+ (F?".survey-option {font-family: 'Google Sans', sans-serif; border-radius: 4px;}@media (min-height: 54px) {.survey-horiz.survey-spaced .survey-option, .survey-vert .survey-option {box-shadow: inset 0 0 0 1px #dadce0 !important; border: none;}}":"")+"")+'
'+(f?'
'+Xz('')+ "
":"");e=aA({options:e},a);a=e.options;e=e.creativeIndexSuffix;b="";d=a.length;for(k=0;k
'+$z(a[k])+"
";b+='
';a=Xz(b);return g(f+a+'
')};var IA=function(a,b,c,d,e,f,g,h,k,m,p,n,r,u,t){this.J=a;this.g=b;this.o=c;this.Fa=d;this.ia=h;this.j=k;this.Ua=m;this.F=e;this.hc=f;this.O=g;this.vb=n;this.Ta=r;this.ta=u;this.W=void 0;this.la=p;this.C=Math.min(50,this.o);this.L=!1;this.l=0;this.D=!0;this.N=this.G=this.K=this.A=this.B=this.ca=this.aa=null;this.Z=Math.max(1,Math.floor((this.g-30-1)/95));a=this.g/this.o;a=a>.75&&a<1.25;b=this.g>=198&&this.o>=2*this.C+6&&this.g<672&&this.o<7*this.C&&HA(this)<=4;this.Xa=this.g>=196&&this.o>=2*this.C+ 4&&HA(this)<=4;this.Wa=this.Ua==="enable_jake_ui_grid"&&b&&a;this.ba=!!this.la;this.R=t;this.collapse()};IA.prototype.render=function(){xA(this.J,GA,{wi:this.g,Pg:this.o,ak:0,bk:this.Fa,Wh:this.ia,creativeIndexSuffix:this.j,jn:this.F,Jn:this.hc,hm:96,fm:this.C,gm:8,jo:HA(this)*(this.C+8)-8,rq:HA(this)*95+1,sq:HA(this)*104-8,Un:cb(bk(this.O,Ju,2,Ej()),function(a){return J(a,1)}),gh:this.vb,Ni:this.Ta,rg:this.ta,wm:this.R});JA(this)};IA.prototype.expand=function(){this.J&&tz(this.J,"visible")}; IA.prototype.collapse=function(){this.J&&vz(this.J,"visible")};IA.prototype.display=function(a){this.W=a;this.expand()}; var HA=function(a){return bk(a.O,Ju,2,Ej()).length},KA=function(a){var b=[],c=a.o,d=a.g,e=a.C,f=HA(a)*95+1,g=HA(a)*104-8;var h=HA(a)*(a.C+8)-8;var k=ch&&dh+50?b.push("jake-top"):b.push("jake-middle")):(b.push("survey-horiz"),d>=g&&b.push("survey-spaced"),de+50?b.push("jake-top"):b.push("jake-middle")));return b},JA=function(a){a.aa= document.getElementById("survey-container"+a.j);a.ca=document.getElementById("option-container"+a.j);a.B=document.getElementById("scroll-right"+a.j);a.A=document.getElementById("scroll-left"+a.j);a.K=document.getElementById("native-scroll-right"+a.j);a.G=document.getElementById("native-scroll-left"+a.j);a.ba?a.aa&&a.K&&a.G&&(a.aa.onscroll=function(){a.L=!0},window.setInterval(function(){if(a.L){var e=a.ca.getBoundingClientRect(),f=a.F?a.G:a.K;(a.F?a.K:a.G).style.visibility=e.left===0?"hidden":"visible"; f.style.visibility=e.right===a.g?"hidden":"visible";a.L=!1}},100)):(a.B&&rf(a.B,"click",Sa(a.jb,a)),a.A&&rf(a.A,"click",Sa(a.Gb,a)));var b=(a.J||document).querySelectorAll(".survey-option");if(b&&b[0]){a.N=b[0];for(var c=0;c1?1:0])||vx({context:"mta_nomop"});this.Xa=a||new Lu;this.g=this.o.creativeIndexSuffix;this.hc=this.o.isMobileDevice;this.Ta=!!this.o.creativeIndexSuffix;this.Gb=this.o.autoExpandOnLoad;this.O=Az(J(this.j,5),J(this.j,6),J(this.j,19)); a=new Bz(this.L);this.ia=!!this.o.enableNativeJakeUi;this.se=Cz(a,"jake_ui_extension","jake_default_ui");this.ne=Cz(a,"disable_report_button",(!1).toString()).toString()==="true";this.re=Cz(a,"disable_wta_button",(!1).toString()).toString()==="true";this.ta=!!hk(this.j,43);this.ba=hk(Nu(this.j),24);this.K=nk(Nu(this.j),27);this.Ua=this.Wa=this.vb=!1;this.fc=hk(Nu(this.j),29);this.A=this.Z;this.l=this.B;this.W=0;this.G=!1;this.la=parseInt(Cz(a,"post_click_menu_height_when_bottom_anchor_on_mobile", "0"),10);MA(this);this.F=null;this.ca=ux(279,function(){c.D&&(vx({ev:"psx",efsb:1,elsb:0,ttd:Date.now()-c.D},1),c.D=null,sf(C,"beforeunload",c.ca))});this.jb=!1;this.R=this.D=null;this.Fa=ik(Nu(this.j),28)};q(NA,N); NA.prototype.render=function(){var a=this,b=Lz("mute_panel",this.g),c=Nu(this.j),d=J(this.j,25)||"//support.google.com/adsense/troubleshooter/1631343",e=J(c,2),f=J(c,1),g=J(this.j,32),h=J(this.j,35),k=J(this.j,36),m=J(this.j,39),p=J(this.j,40),n=hk(this.j,41),r=J(Nu(this.j),17),u=J(this.j,31);r&&(u=Cf(u,"eid",r));r=Jz(this.j);c&&J(c,11)&&J(c,12)&&(e=J(c,12),f=J(c,11));hk(this.L,35)&&this.la>0&&this.B>this.la&&(this.G=!1,this.l=this.la,this.W=this.B-this.l);c={isMutableImpression:this.o.isMutableImpression, ln:!1,Ql:this.B,Xl:this.Z,Pg:this.l,wi:this.A,ak:0,bk:this.W,Wh:this.G,creativeIndexSuffix:this.g,vm:this.Ta,Aq:this.j,ji:hk(this.j,27),gk:J(Nu(this.j),6),km:J(Nu(this.j),7),sk:e,tk:d,Wg:f,po:r,qo:this.re,Ok:g,Pk:u,enableNativeJakeUi:this.ia,gh:this.ba,Hk:this.K!==0,Tl:h,Gn:k,Ul:m,Vl:p,sm:this.ne,Ni:this.Fa,rg:this.ta};xA(b,FA,c);(c=this.ia?Kz("native_closed_text",this.g):Kz("closed_text",this.g))&&OA(this,c,J(Nu(this.j),18));(c=Kz("final_closed_text",this.g))&&OA(this,c,J(Nu(this.j),3));(c=Kz("report_btn", this.g))&&rf(c,"click",ux(280,function(){PA(a)}));(c=Kz("settings_btn",this.g))&&rf(c,"click",function(){return a.collapse()});if(Jz(this.j)){var t=Kz("why_this_ad_btn",this.g);t&&rf(t,"click",ux(281,function(F){var O;(O=a.O)==null||yz(O,"closebutton_whythisad_click","1",!1);O=t.getAttribute("href");var ha={};F=(ha.wtaUrl=O,ha.underlyingEvent=F,ha);Nz(a,"wtaClicked",{detail:F})}))}(c=Kz("menu-dismiss",this.g))&&rf(c,"click",ux(354,function(){QA(a,"btn")}));if(this.K!==0){(c=Kz("ad_options_btn",this.g))&& rf(c,"click",function(){var F=Kz("ad_options_panel",a.g);F&&tz(F,"visible")});(c=Kz("ad_options_dismiss",this.g))&&rf(c,"click",function(){return RA(a)});var z=Kz("learn_more_btn",this.g);z&&rf(z,"click",function(F){a.Ua||(a.Ua=!0,vx({context:"mta_paidLearnMore"},.01));var O=z.getAttribute("href"),ha={};F=(ha.learnMoreUrl=O,ha.underlyingEvent=F,ha);Nz(a,"learnMoreClicked",{detail:F})});if(c=Kz("personalize_toggle",this.g))if(rf(c,"click",function(){var F=Kz("personalize_checkbox",a.g);F.checked=!F.checked; var O=F.checked,ha=!a.vb;a.vb=!0;var da={};O=(da.gpidType=a.K,da.gpidPersonalizationEnabled=O,da.gpidShouldResetAdsData=ha,da);Nz(a,"updateGpid",{detail:O});ha&&a.K==1&&vx({context:"mta_paidClearAdsData"},.01);(ha=J(a.j,42))&&C.fetch&&C.fetch(ha);a.Wa||(a.Wa=!0,vx({context:"mta_paidPersonalizationToggle",state_toggled:F.checked},.01))}),c=Kz("personalize_checkbox",this.g))c.checked=n}(n=Kz("native-menu-bg",this.g))&&rf(n,"click",ux(354,function(){QA(a,"bg")}));n=Kz("survey_panel",this.g);c=I(this.Xa, Ku,3);d=["jake-top"];n&&c&&(this.F=new IA(n,this.A,this.l,this.W,hk(this.j,27),J(Nu(this.j),16),c,this.G,this.g,this.se,this.hc,this.ba,this.Fa,this.ta,this.fc),d=KA(this.F),this.F.render());uz(b,d);b=[];n=this.ba?15:16;if(this.ia)n=new Gz("#mute_panel"+this.g+" .native-panel",n,6),b.push(n.resize());else{var A=new Gz("#mute_panel"+this.g+" .panel-row",n,9);Iz(A,function(){var F=Kz("ad_closed_panel",a.g);A.getSize()<=13?tz(F,"fallback-wrap"):vz(F,"fallback-wrap")});var H=new Gz("#mute_panel"+this.g+ " .btn-text",n,9);b.push(A.resize().then(function(){return H.resize()}))}n=new Gz("#mute_panel"+this.g+" .conf-msg",17,12);b.push(n.resize());n=new Gz("#mute_panel"+this.g+" #final_closed_text",17,12);b.push(n.resize());n=new Gz("#mute_panel"+this.g+" .survey-option span",12,8);b.push(n.resize());return Promise.all(b)}; var MA=function(a){if(a.g){for(var b=null,c=0,d=0,e=document.querySelectorAll("[data-dim]"),f=0;f=115?(a.l=b.offsetHeight,a.A=b.offsetWidth):a.Ta=!1}else b=b===void 0?window:b,b=b.innerHeight||b.document.documentElement.clientHeight||b.document.body.clientHeight,c=c===void 0?window:c,c=c.innerWidth||c.document.documentElement.clientWidth||c.document.body.clientWidth, a.B=b,a.Z=c,a.l=b,a.A=c,a.G=!0},QA=function(a,b){vx({context:"mta_dismiss",close_method:b,jake_mta_context:J(Nu(a.j),17),height:a.l,width:a.A},.01);a.collapse()},OA=function(a,b,c){c=c.split("%1$s");var d=document.createElement("span");d.innerText=c[0];var e=document.createElement("img");e.setAttribute("src",J(Nu(a.j),5));a=document.createElement("span");a.innerText=c[1];b.appendChild(d);b.appendChild(e);b.appendChild(a)},PA=function(a){var b=I(a.Xa,Iu,2);if(!a.jb)if(b){var c;(c=a.O)==null||zz(c, b);a.jb=!0}else vx({context:"mta_nomoconv"},.01);b=0;a.F?(b=2,a.F.display(function(d,e){var f;(f=a.O)==null||zz(f,d);a.R=d;vx({type:"jake_survey_idx",idx:e,jake_mta_context:J(Nu(a.j),17)},.01);SA(a)}),a.D=Date.now(),(c=Kz("survey_panel",a.g))&&tz(c,"visible")):SA(a);vx({type:"jake_telemetry",surv_rc:b,jake_mta_context:J(Nu(a.j),17)},.01);a.D&&rf(C,"beforeunload",a.ca)},SA=function(a){var b=Kz("survey_panel",a.g);b&&vz(b,"visible");(b=Kz("post_survey_panel",a.g))&&tz(b,"visible");setTimeout(function(){return TA(a)}, 1600)},TA=function(a){var b=Kz("final_closed_panel",a.g);b&&tz(b,"visible");setTimeout(function(){return UA(a)},300)},UA=function(a){var b=Kz("final_closed_text",a.g);b&&tz(b,"visible");b=a.R&&J(a.R,1)==="mute_survey_option"&&J(a.R,2)==="3";(a.g===""||b)&&setTimeout(function(){return Mz(a.j)},900)}; NA.prototype.expand=function(){tz(Lz("ad_closed_panel",this.g),"visible");tz(document.body,"goog_menu_opened");if(!this.Gb){var a=I(this.j,Iu,7);if(a){var b;(b=this.O)==null||zz(b,a);this.Gb=!0}else vx({context:"mta_noiconv"},.01)}this.dispatchEvent("p-control-panel-shown")};NA.prototype.collapse=function(){vz(Lz("ad_closed_panel",this.g),"visible");vz(document.body,"goog_menu_opened");RA(this);this.dispatchEvent("p-control-panel-hidden")};NA.prototype.P=function(){sf(C,"beforeunload",this.ca);N.prototype.P.call(this)}; var RA=function(a){(a=Kz("ad_options_panel",a.g))&&vz(a,"visible")};var VA={};Ia("adsense.mobileads.afmanotify.receiveMessage",function(a,b){if(VA.hasOwnProperty(a))for(var c=VA[a],d=0;dc)return this.g;Tm(b)||(b=new Sm(b,{context:a,id:d}));B.google_js_errors=B.google_js_errors||[];B.google_js_errors.push(b);B.error_rep_loaded||(b=B.document,a=Vf("SCRIPT",b),zd(a,this.o),(b=b.getElementsByTagName("script")[0])&&b.parentNode&&b.parentNode.insertBefore(a,b),B.error_rep_loaded=!0);return this.g};GB.prototype.Ud=function(a,b){try{return b()}catch(c){if(!this.sc(a,c,this.l,this.j))throw c;}}; GB.prototype.Tg=function(a,b,c){var d=this;return function(){var e=Ea.apply(0,arguments);return d.Ud(a,function(){return b.apply(c,e)})}};var HB=function(a){a=a._google_rum_ns_=a._google_rum_ns_||{};return a.pq=a.pq||[]};var IB=function(a,b){b=b.google_js_reporting_queue=b.google_js_reporting_queue||[];b.length<2048&&b.push(a)},JB=function(a,b,c){var d=d===void 0?!1:d;var e=window,f=typeof queueMicrotask!=="undefined";return function(){d&&f&&queueMicrotask(function(){e.google_rum_task_id_counter=e.google_rum_task_id_counter||1;e.google_rum_task_id_counter+=1});var g=Xm(),h=3;try{var k=b.apply(this,arguments)}catch(m){h=13;if(!c)throw m;c(a,m)}finally{e.google_measure_js_timing&&g&&IB(Object.assign({},{label:a.toString(), value:g,duration:(Xm()||0)-g,type:h},d&&f&&{taskId:e.google_rum_task_id_counter=e.google_rum_task_id_counter||1}),e)}return k}};function KB(a,b,c){Nf(b,function(d,e){var f=c&&c[e];!d&&d!==0||f||(a+="&"+encodeURIComponent(e)+"="+encodeURIComponent(String(d)),c&&(c[e]=!0))});return a} var PB=function(a,b,c,d,e,f,g,h){f=f===void 0?Infinity:f;g=g===void 0?!1:g;bn.call(this,a,h);var k=this;this.W=b;this.domain=c;this.path=d;this.ba=e;this.J=0;this.A={};this.F={};this.L=[];this.report={};this.l=0;this.D=[];this.G=f;a=this.g.navigator;this.R=!(this.domain!=="csi.gstatic.com"||!a||!a.sendBeacon);this.g.performance&&this.g.performance.now||LB(this,"dat",1);a&&a.deviceMemory&&LB(this,"dmc",a.deviceMemory);this.g===this.g.top&&LB(this,"top",1);this.O=!g;this.K=function(){k.g.setTimeout(function(){MB(k)}, 1100)};this.aa=function(){LB(k,"uet",2);for(var p=v(k.L),n=p.next();!n.done;n=p.next()){n=n.value;try{n()}catch(u){}}p=k.g;var r=r===void 0?{}:r;typeof window.CustomEvent==="function"?n=new CustomEvent("rum_blp",r):(n=document.createEvent("CustomEvent"),n.initCustomEvent("rum_blp",!!r.bubbles,!!r.cancelable,r.detail));p.dispatchEvent(n);MB(k);k.A.uet!=null&&(k.o-=3+k.A.uet.length+2,delete k.A.uet)};this.Z=nf(function(){MB(k)});this.ca=function(){var p=k.g.document;(p.hidden!=null?p.hidden:p.mozHidden!= null?p.mozHidden:p.webkitHidden!=null&&p.webkitHidden)&&k.Z()};this.N=this.g.setTimeout(function(){MB(k)},5E3);this.o=b.length+c.length+d.length+e.length+3;$a(this.events,function(p){NB(k,p)});b=HB(this.g);var m=function(){var p=Ea.apply(0,arguments)[0],n=p[0];p=p[1];var r=n.length+p.length+2;k.o+k.l+r>8E3&&MB(k);k.D.push([n,p]);k.l+=r;k.o+k.l>=6E3&&MB(k);return 0};$a(b,function(p){return m(p)});b.length=0;b.push=m;LB(this,"puid",(this.J+1).toString(36)+"~"+Ua().toString(36));OB(this)};q(PB,bn); var OB=function(a){a.g.document.readyState==="complete"?a.g.setTimeout(function(){MB(a)},0):rf(a.g,"load",a.K);var b=uf(a.g.document);typeof b!=="undefined"&&rf(a.g,b,a.ca);rf(a.g,"pagehide",a.aa)},LB=function(a,b,c){c=String(c);a.o=a.A[b]!=null?a.o+(c.length-a.A[b].length):a.o+(b.length+c.length+2);a.A[b]=c},QB=function(a,b,c,d,e){e=e===void 0?"":e;var f=a.report[b]==null?b.length+c.length+2:d?c.length+(e===void 0?"":e).length:c.length-a.report[b].length;a.o+a.l+f>8E3&&(MB(a),f=b.length+c.length+ 2);a.report[b]=d&&a.report[b]!=null?a.report[b]+(""+(e===void 0?"":e)+c):c;a.l+=f;a.o+a.l>=6E3&&MB(a)},MB=function(a){if(a.j&&a.O){try{a.l&&(a.sendBeacon(a.report),a.J===a.G&&a.C())}catch(b){(new GB).sc(358,b)}a.report={};a.l=0;a.events.length=0;a.g.clearTimeout(a.N);a.N=0}},RB=function(a,b){var c=a.W+"//"+a.domain+a.path+a.ba,d={};c=KB(c,a.A,d);c=KB(c,b,d);b=a.g;b.google_timing_params&&(c=KB(c,b.google_timing_params,d),b.google_timing_params=void 0);$a(a.D,function(e){var f=v(e);e=f.next().value; f=f.next().value;var g={};c=KB(c,(g[e]=f,g))});a.D.length=0;return c};PB.prototype.sendBeacon=function(a){this.J++;a=RB(this,a);var b=!1;try{b=!!(this.R&&this.g.navigator&&this.g.navigator.sendBeacon(a,null))}catch(c){this.R=!1}b||og(this.g,a);LB(this,"puid",(this.J+1).toString(36)+"~"+Ua().toString(36))}; var NB=function(a,b){var c="met."+b.type,d=typeof b.value==="number"?Math.round(b.value).toString(36):b.value,e=Math.round(b.duration);b=""+b.label+(b.slotId!=null?"_"+b.slotId:"")+("."+d)+(e>0?"_"+e.toString(36):"")+(b.taskId!=null?"__"+Math.round(b.taskId).toString(36):"");QB(a,c,b,!0,"~")};PB.prototype.B=function(a){this.j&&this.J1)return iC("multiple-elements",a.g),null;b=b[0];return b?b.innerHTML:(iC("missing-element",a.g),null)},lC=function(){var a=kC,b=jC(a);if(b!==null)if($B(b)){var c=JSON.parse(b);b=c.experimentIds;var d=c.binaryIdentifier;c=c.adEventId;var e=typeof d==="string";typeof c=="string"&&TB(U(),"qqid",c);e&& (a.g=d);typeof b!=="string"?iC("missing-flags",a.g):(e||iC("missing-binary-id",a.g),a.l=b)}else iC("invalid-json",a.g)};hC.prototype.reset=function(){this.l=null;this.g="missing-id"};var mC=function(){hC.apply(this,arguments)};q(mC,hC);var iC=function(a,b){var c=U();T(c,"eee",a);T(c,"bi",b)};function nC(a){return a.split(",").map(function(b){return parseInt(b,10)}).filter(function(b){return!isNaN(b)})};var vB=new pB,oC=new pB,pC=new pB,qC=new pB,rC=new pB,sC=new pB,tC=new pB,uC=new pB;S({id:95342637,T:0});S({id:318475490,T:0});S({id:324123032,T:0});S({id:420706097,T:10});S({id:420706098,T:10});S({id:95342168,T:10});S({id:95342169,T:10});S({id:21062100,T:0});S({id:420706142,T:0});S({id:44745813,T:0});var vC=S({id:44746068,T:0});S({id:21064565,T:0});S({id:21064567,T:0});S({id:418572006,T:10});S({id:95338773,T:10,ya:qC});S({id:95338774,T:10,ya:qC});S({id:95334214,T:10});var wC=S({id:95334215,T:10}); S({id:44749839,T:0});var xC=S({id:44714743,T:0});S({id:44715336,T:10});S({id:44724516,T:0});S({id:44726389,T:10});S({id:44752711,T:50});S({id:44752052,T:50});S({id:44752657,T:50});S({id:44733246,T:10});var yC=S({id:95343833,T:10,ya:oC}),zC=S({id:95343834,T:10,ya:oC}),AC=S({id:95343835,T:10,ya:oC}),BC=S({id:95343836,T:10,ya:oC}),CC=S({id:95343837,T:10,ya:oC});S({id:44750822,T:10,ya:oC});S({id:44751889,T:10});S({id:44751890,T:10});S({id:44752995,T:10});S({id:44752996,T:10});S({id:44762627,T:0}); S({id:44762628,T:0});S({id:44801479,T:10,ya:pC});S({id:44801480,T:10,ya:pC});S({id:44752538,T:0});S({id:44754608,T:10});S({id:44754609,T:10});S({id:44776384,T:0});S({id:95322945,T:10});S({id:95322946,T:10});S({id:44789282,T:0});S({id:44792636,T:0});S({id:95344889,T:0});S({id:95334260,T:0});S({id:95345698,T:0});S({id:75259416,T:0});S({id:75259420,T:0});S({id:75259421,T:0});S({id:45401791,T:0});S({id:95326337,T:990,ya:rC});var DC=window.navigator||{},EC=DC.cookieDeprecationLabel?990:0; S({id:95322906,T:DC.cookieDeprecationLabel?10:0,ya:sC});S({id:95320461,T:0,ya:sC});var FC=S({id:95322907,T:EC,ya:sC});S({id:44809192,T:10,ya:uC});var GC=S({id:44809193,T:10,ya:uC});S({id:95320804,T:10,ya:uC});S({id:95320805,T:10,ya:uC});S({id:95322027,T:1E3,ya:tC});S({id:46130031,T:0});S({id:95328713,T:10});var HC=S({id:95328714,T:10});S({id:95327848,T:0});S({id:31065644,T:1});S({id:31065645,T:1});var IC=new pB;S({id:95331588,T:0,ya:IC});S({id:95331589,T:1E3,ya:IC});S({id:95332182,T:0}); S({id:95347814,T:10});var JC=S({id:95347815,T:10});if(typeof window.initializeVirtualDom==="undefined"){var kC=ug(mC),KC;kC.j||(lC(),kC.j=!0);KC=kC.l;var LC;kC.j||(lC(),kC.j=!0);LC=kC.g;if(KC!=null){var MC=new ZB(nC(KC),LC);uB(MC)}};var NC=function(a,b,c){this.j=a;this.l=b;this.g=c===void 0?null:c};NC.prototype.getName=function(){return this.j};var OC=function(){if(window.MutationObserver){var a=[];(new MutationObserver(function(){a.forEach(function(b){return b()});a=[]})).observe(document.createTextNode(""),{characterData:!0})}};typeof Promise==="function"&&String(Promise).indexOf("[native code]")>-1||OC();var PC=function(){this.adPosition=1;this.l=-1;this.j=this.g=0;this.totalAds=1};PC.prototype.getAdPosition=function(){return this.adPosition};PC.prototype.getPodIndex=function(){return this.g};PC.prototype.getTimeOffset=function(){return this.j};PC.prototype.getTotalAds=function(){return this.totalAds};var QC=function(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""};function RC(a,b){b=b===void 0?!1:b;a=a<0?0:a;a=b?a:Math.round(a);if(b){var c=Math.floor(a/3600);if(Number.isFinite(c)){c=String(c);var d=c.indexOf(".");d===-1&&(d=c.length);var e=c[0]==="-"?"-":"";e&&(c=c.substring(1));c=e+Id("0",Math.max(0,2-d))+c}else c=String(c);c+=":";d=Math.floor(a/60)%60<10?"0":""}else c=a>=3600?Math.floor(a/3600)+":":"",d=Math.floor(a/60)%60<10&&a>=3600?"0":"";return""+c+d+Math.floor(a/60)%60+":"+(Math.floor(a%60)<10?"0":"")+Math.floor(a%60)+(b?(a%1).toFixed(3).slice(1):"")} function SC(a,b){return D(b)?!1:(new RegExp(a)).test(b)}function TC(a){if(!a)return!1;switch(a.toLowerCase()){case "true":case "1":return!0}return!1}function UC(a){var b=[""];if(!a)return null;a=a.toLowerCase().replace("-","_");if(b.includes(a))return a;a=QC(a);return b.includes(a)?a:null};var VC={Xp:2,Zp:3,Wp:4,Yp:5,aq:6,bq:7,cq:8,eq:11,fq:12};var WC={LOADED:"loaded",ij:"start",FIRST_QUARTILE:"firstQuartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdQuartile",COMPLETE:"complete",PAUSE:"pause",hj:"resume",Vi:"bufferStart",Ui:"bufferFinish",SKIPPED:"skipped",hq:"volumeChange",Dp:"playerStateChange",so:"adUserInteraction"};function XC(a,b){return a&&(a[b]||(a[b]={}))}function YC(a,b){var c;if(c=c===void 0?typeof omidExports==="undefined"?null:omidExports:c)a=a.split("."),a.slice(0,a.length-1).reduce(XC,c)[a[a.length-1]]=b};function ZC(a){for(var b=v($C.keys()),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=v($C.get(c)),e=d.next();!e.done;e=d.next())if(e.value.test(a))return c}return 1} var $C=new Map([[2,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.moatads\.com\/.*$/]],[3,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.doubleverify\.com\/.*$/,/^(https?:\/\/|\/\/)?c\.[\w\-]+\.com\/vfw\/dv\/.*$/,/^(https?:\/\/|\/\/)?(www\.)?[\w]+\.tv\/r\/s\/d\/.*$/,/^(https?:\/\/|\/\/)?(\w\.?)+\.dv\.tech\/.*$/]],[4,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.adsafeprotected\.com\/.*$/]],[5,[/^https?:\/\/(q|cdn)\.adrta\.com\/s\/.*\/(aa|aanf)\.js.*$/,/^https:\/\/cdn\.rta247\.com\/s\/.*\/(aa|aanf)\.js.*$/]],[6,[]],[7,[/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.voicefive\.com\/.*$/, /^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.measuread\.com\/.*$/,/^(https?:\/\/|\/\/)?[-a-zA-Z0-9.]+\.scorecardresearch\.com\/.*$/]],[8,[/^(https?:\/\/|\/\/)?s418\.mxcdn\.net\/bb-serve\/omid-meetrics.*\.js$/]],[9,[/^(https?:\/\/|\/\/)?pagead2\.googlesyndication\.com\/.*$/,/^(https?:\/\/|\/\/)?www\.googletagservices\.com\/.*$/]]]);YC("OmidSessionClient.verificationVendorIdForScriptUrl",ZC); YC("OmidSessionClient.VerificationVendorId",{OTHER:1,MOAT:2,DOUBLEVERIFY:3,INTEGRAL_AD_SCIENCE:4,PIXELATE:5,NIELSEN:6,COMSCORE:7,MEETRICS:8,GOOGLE:9});var aD={Vp:"ultrahigh",bp:"high",wp:"medium"},bD=new Set("disable_frequency_capping adgroups adsafe adsid adtest adk ad_type js alternate_ad_url is_amp mv an u_ah u_aw bbt channel client u_cd ca_h ca_type ca_w cdm co tfcd correlator creatives ad_block debug_experiment_id disable_budget_throttling disable_fcap dnd dlt dt eo_id_str expflags jar gdpr cookie cookie_enabled addtl_consent gpic u_his h_ch host ht_id idt frm image_size sdkv ltd wta sz u_java eid hl is_lat max_ad_duration media_url min_ad_duration msid ms rdid u_so npa num_ads u_nmime u_nplug omid_p osd output pdopt plcmt pucrd pvtf video_product_type pubf ppt puo ppsj ptt trt idtype ref rdp retrieve_only u_h u_w sdk_apis sdki sdmax slotname sdr scd videoad_start_delay tfua t_pyv a3p cpm u_tz top unviewed_position_start uptc url description_url cust_age cust_gender use_budget_filtering us_privacy gdpr_consent vconp vid_d video_format mpt mpv vpa vpmute vis".split(" "));/* Math.uuid.js (v1.4) http://www.broofa.com mailto:robert@broofa.com Copyright (c) 2010 Robert Kieffer Dual licensed under the MIT and GPL licenses. */ var cD="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),dD=function(){for(var a=Array(36),b=0,c,d=0;d<36;d++)d==8||d==13||d==18||d==23?a[d]="-":d==14?a[d]="4":(b<=2&&(b=33554432+Math.random()*16777216|0),c=b&15,b>>=4,a[d]=cD[d==19?c&3|8:c]);return a.join("")};var eD=function(){var a=a===void 0?dD():a;this.adTagUrl=null;this.l="0";this.o=this.g="unknown";this.vastLoadTimeout=5E3;this.contentTitle=this.contentKeywords=this.contentDuration=this.forceNonLinearFullSlot=this.nonLinearAdSlotHeight=this.nonLinearAdSlotWidth=this.linearAdSlotHeight=this.linearAdSlotWidth=null;this.transactionId=a;this.omidAccessModeRules={};this.j=this.C=this.A=this.pageUrl=null},fD=function(a,b){a=a.clone();a.adTagUrl=b;a.adsResponse=null;a.A=!0;return a}; eD.prototype.clone=function(){var a=new eD;a.l=this.l;a.g=this.g;a.o=this.o;a.adTagUrl=this.adTagUrl;a.adsResponse=this.adsResponse;a.vastLoadTimeout=this.vastLoadTimeout;a.linearAdSlotWidth=this.linearAdSlotWidth;a.linearAdSlotHeight=this.linearAdSlotHeight;a.nonLinearAdSlotWidth=this.nonLinearAdSlotWidth;a.nonLinearAdSlotHeight=this.nonLinearAdSlotHeight;a.forceNonLinearFullSlot=this.forceNonLinearFullSlot;a.contentDuration=this.contentDuration;a.contentKeywords=this.contentKeywords?this.contentKeywords.slice(): null;a.contentTitle=this.contentTitle;a.transactionId=this.transactionId;a.omidAccessModeRules=this.omidAccessModeRules;a.pageUrl=this.pageUrl;a.C=this.C;a.j=this.j;return a};var hD=function(a){P.call(this,a);this.J=new Map;a=this.l;var b=a.indexOf(";"),c=null;b>=0?(this.l=a.substring(0,b),c=a.substring(b+1)):this.l=a;gD(this,c)};q(hD,P);hD.prototype.toString=function(){return iD(this,P.prototype.toString.call(this))};hD.prototype.D=function(){return""}; var gD=function(a,b){D(E(b))||b.split(";").forEach(function(c){var d=c.indexOf("=");if(!(d<=0)){var e=Bd(c.substring(0,d));c=Bd(c.substring(d+1));d=a.J.get(e);d!=null?d.includes(c)||d.push(c):d=[E(c)];a.J.set(e,d)}},a)},jD=function(a,b){if(D(E(b)))return null;a=a.J.get(b);return a!=null?a:null},kD=function(a,b,c){D(E(b))||(c=c.map(E),a.J.set(b,c))},iD=function(a,b){b=[E(b)];b.push.apply(b,w(lD(a)));return b.join(";")},lD=function(a){var b=jD(a,"ord");b==null?b=[E(Date.now())]:D(E("ord"))||a.J.delete("ord"); var c=[];a.J.forEach(function(d,e){d.forEach(function(f){c.push(e+"="+f)})});c.push("ord="+b[0]);kD(a,"ord",b);return c};hD.prototype.clone=function(){return new hD(this.toString())};function mD(){try{var a=window.top.location.href}catch(b){return 2}return a==null?2:a==window.document.location.href?0:1}function nD(a,b){b.forEach(function(c,d){a.g.set(d,c)})}function oD(a,b){b=v(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=v(c.value);c=d.next().value;d=d.next().value;D(d)&&a.g.remove(c)}}function pD(a){Ny(a,"https")} function qD(a){var b;(b=rD(a)||sD(a)||tD(a)||uD(a)||vD(a))||(a=new P(a),b=a.l,b=a.j==="pubads.g.doubleclick.net"&&(SC("/ssai/",b)||SC("/ondemand/",b)));return b}function sD(a){var b=new hD(a);a=b.j;b=iD(b,b.l);return!sc(a,".g.doubleclick.net")&&(sc(a,"doubleclick.net")||sc(a,"pagead2.googlesyndication.com"))&&SC("/(ad|pfad)[x|i|j]?/",b)}function uD(a){return(new P(a)).j=="bid.g.doubleclick.net"} function rD(a){a=new P(a);var b=a.l;return sc(a.j,"googleads.g.doubleclick.net")&&SC("/pagead/(live/)?ads",b)}function tD(a){a=new P(a);var b=a.l;return sc(a.j,"doubleclick.net")&&SC("/gampad/(live/)?ads",b)}function vD(a){a=new P(a);var b=a.l;return a.j==="ad.doubleclick.net"&&SC("/dv3/adv",b)}function wD(a){var b=new Map;a.g!="unknown"&&b.set("vpa",a.g);a.o!="unknown"&&b.set("vpmute",a.o=="muted"?"1":"0");a.l!="0"&&b.set("vconp",a.l);return b} function xD(a){var b=sB(),c=new Set(b);a.split(",").forEach(function(d){d=Number(d);Number.isNaN(d)||d===0||c.add(d)});return Array.from(c).sort().join(",")}function yD(a,b,c){c=c===void 0?"":c;a=a.g;var d=c;fz(a,b)&&(d=a.get(b));return D(d)?c:d};var CD=function(a,b){a=a===void 0?{}:a;b=b===void 0?new Map:b;zD(b,"ADCOUNT",function(){var e=a.Fb;return(e=e===void 0?null:e)?e.getAdPosition().toString():"-1"});zD(b,"AD_MT",function(){var e=a.H;e=e===void 0?null:e;return e==null?"-1":Math.round(Math.max(0,e.getCurrentTime()*1E3)).toString()});zD(b,"ADPLAYHEAD",function(){var e=a.H;e=e===void 0?null:e;return e==null?"-1":RC(e.getCurrentTime(),!0)});zD(b,"ADSERVINGID",function(){var e=a.ad;return(e=(e=e===void 0?null:e)&&e.zd)?e:"-1"});zD(b,"ASSETURI", function(){var e=a.H;e=e===void 0?null:e;return e==null?"-1":e.Ff});AD(b,"CLICKPOS","-1");zD(b,"PODSEQUENCE",function(){var e=a.ad;return(e=e===void 0?null:e)&&e.l?e.l.toString():"-1"});var c=a,d=c.bo;c=c.eo;AD(b,"UNIVERSALADID",d&&c?d+" "+c:"-1");BD(a,b)},BD=function(a,b){a=a===void 0?{}:a;b=b===void 0?new Map:b;zD(b,"ADTYPE",function(){var d=a.ad;return(d=d===void 0?null:d)?d.Vc:"-1"});AD(b,"APPBUNDLE",a.appName||"-1");zD(b,"BREAKMAXADS",function(){var d=a.Fb;return(d=d===void 0?null:d)?d.getTotalAds().toString(): "-1"});AD(b,"BREAKMAXADLENGTH","-1");zD(b,"BREAKMAXDURATION",function(){var d=a.Fb;return(d=d===void 0?null:d)?d.l.toString():"-1"});AD(b,"BREAKMINADLENGTH","-1");AD(b,"BREAKMINDURATION","-1");zD(b,"BREAKPOSITION",function(){var d=a.Fb;d=d===void 0?null:d;d==null?d="-1":(d=d.getPodIndex(),d=d==0?"1":d==-1?"3":"2");return d});zD(b,"CACHEBUSTING",DD);AD(b,"CLICKTYPE",a.xj||"-1");var c=a;AD(b,"CLIENTUA",ED({Se:c.Se,Te:c.Te,sf:c.sf,tf:c.tf}));AD(b,"CONTENTID","-1");AD(b,"CONTENTURI","-1");AD(b,"DEVICEIP", "-1");AD(b,"DEVICEUA","-1");AD(b,"DOMAIN",a.domain||FD());AD(b,"GDPRCONSENT",a.af?a.af:"-1");AD(b,"IFA","-2");AD(b,"IFATYPE","-2");AD(b,"INVENTORYSTATE","-1");AD(b,"LATLONG","-1");zD(b,"LIMITADTRACKING",function(){return"-1"});zD(b,"MEDIAPLAYHEAD",function(){var d=a.Fb;return(d=d===void 0?null:d)?d.getTimeOffset().toString():"-1"});zD(b,"OMIDPARTNER",function(){var d=a.Kg,e=a.Xj;d=d===void 0?null:d;e=e===void 0?null:e;return d==null||e==null?"-1":d+"/"+e});AD(b,"PAGEURL",a.pageUrl||GD());AD(b,"PLACEMENTTYPE", a.ck||"-1");AD(b,"PLAYERSIZE","-1");AD(b,"PLAYERSTATE","-1");AD(b,"REGULATIONS","-1");AD(b,"SERVERSIDE","0");AD(b,"SERVERUA","-1");zD(b,"TIMESTAMP",HD);zD(b,"TRANSACTIONID",function(){var d=a.oa;return(d=d===void 0?null:d)?d.transactionId.toString():"-1"});AD(b,"US_PRIVACY",a.Gk||"-1");a.xd&&AD(b,"UACH",a.xd);return b},AD=function(a,b,c){a.set(b,new NC(b,{toString:function(){return c}}))},zD=function(a,b,c){a.set(b,new NC(b,{toString:function(){return c()}}))},ID=function(a,b){b=b===void 0?new Map: b;b.set("ERRORCODE",new NC("ERRORCODE",a))},ED=function(a){var b=a.Se===void 0?null:a.Se;var c=a.Te===void 0?null:a.Te;var d=a.sf===void 0?null:a.sf;a=a.tf===void 0?null:a.tf;if(!b&&!d)return"-1";var e="unknown";b&&(e=b+(c?"/"+c:""));b="";d&&(b=" "+d+(a?"/"+a:""));return e+b},DD=function(){return Math.round(Math.random()*1E8+1E8).toString().slice(1)},FD=function(){var a=mD()==2?null:Qe().top.location.hostname;return a?a:"-1"},GD=function(){var a=mD()==2?null:Qe().top.location.href;return a?a:"-1"}, HD=function(){return(new Date).toISOString()};var JD=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g,KD=function(a,b){return a.replace(JD,function(c,d){d=b.get(d);if(d==null)return c;if(d.g==null)var e=!0;else try{e=d.g(a)||!1}catch(g){e=!1}if(e){b:{try{var f=d.l.toString();break b}catch(g){}f=null}e=f;e=e==null||e!=""&&D(E(e))?null:encodeURIComponent(e).replace(/%2C/g,",")}else e=null;return e!=null?e:c})};var LD=function(a){this.N=a;this.ra=null},MD=function(a,b){return a.map(function(c){c=typeof c==="string"?new eB(c):c;return new eB(KD(c.url,b),c.g==null?null:KD(c.g,b))})},OD=function(a,b,c,d){c=c===void 0?null:c;d=d===void 0?!1:d;b=b.map(function(e){return typeof e==="string"?new eB(e):e});c=c?MD(b,c):b;ND(a.N,c,d)};var QD=function(a,b,c){c=c===void 0?[]:c;LD.call(this,b);var d=this;this.B=a;this.J=c;this.g=new Map;this.j=new Map;this.l=new Map;this.C=[];this.o=this.A=-1;T(U(),"ua_e",navigator&&navigator.userActivation?"1":"0");U().g.L.push(function(){return PD(d)})};q(QD,LD);QD.prototype.report=function(a,b){b=b===void 0?RD(this,a):b;SD(this,a,b||[])}; var SD=function(a,b,c){var d=c.map(function(f){return typeof f==="string"?new eB(f):f}),e=[];a.C.forEach(function(f){a:{try{var g=f(b);if(typeof g==="object"&&typeof g.then==="function"){var h=g||Promise.resolve();break a}}catch(k){}h=void 0}f=h;f!==void 0&&e.push(f)});e.length===0?TD(a,b,d):Promise.all(e).then(function(f){f=f[0];Array.isArray(f)&&f.every(function(g){return typeof g==="string"})?TD(a,b,f.map(function(g){return new eB(g)})):TD(a,b,d)})},TD=function(a,b,c){UD(a,b)?VD(a,b,c):WD(a,b)&& (b=="skip"&&navigator&&navigator.userActivation&&(T(U(),"uas_hba",navigator.userActivation.hasBeenActive?"1":"0"),T(U(),"uas_ia",navigator.userActivation.isActive?"1":"0")),c.filter(function(d){return d.url.match(/\/aclk.*label=video_engaged_view/)}).length&&(b=="complete"&&WB(U(),"evoace"),b=="progress"&&WB(U(),"evoape"),b=="engagedView"&&WB(U(),"evoaeve")),XD(a,b,c))},XD=function(a,b,c){a.g.has(b)?a.g.set(b,a.g.get(b)+1):a.g.set(b,1);c.length&&(c.map(function(d){return{ce:Gf(d.url,"ad_signals"), oj:Gf(d.url,"auction_data"),label:Gf(d.url,"label"),Fn:Gf(d.url,"event_type")}}).filter(function(d){var e=d.ce;d=d.oj;return!!e||!!d}).forEach(function(d){var e=d.ce,f=d.oj,g=d.Fn||b;d=d.label||"";var h=h===void 0?B:h;if(e!==""||f!=="")if(g==="auctionwinner"){var k;(k=h.fence)==null||k.reportEvent({eventType:"auctionwinner",eventData:f,destination:["buyer"]})}else if(oz.has(g)){f=new Qu;e=vk(f,1,e);e=vk(e,6,d);e=vk(e,10,Date.now().toString());g==="impression"&&yk(e,9,1);e=Yk(e);if(g==="click"){var m; (m=h.fence)==null||m.setReportEventDataForAutomaticBeacons({eventType:"reserved.top_navigation",eventData:e,destination:["buyer"],once:!0});var p;(p=h.fence)==null||p.setReportEventDataForAutomaticBeacons({eventType:"reserved.top_navigation_start",eventData:e,destination:["buyer"],once:!0})}var n;(n=h.fence)==null||n.reportEvent({eventType:g,eventData:e,destination:["buyer"]})}else nz({ce:e,label:d||g})}),c=c.filter(function(d){return!Gf(d.url,"ad_signals")&&!Gf(d.url,"auction_data")}),c.length&& OD(a,c,a.l,a.J.includes(b)));YD(a,b)},YD=function(a,b){var c=null;b==="impression"?c="measurable_impression":b==="measurable_impression"&&(c="viewable_impression");c!=null&&a.j.has(c)&&(b=a.j.get(c)||[],a.j.delete(c),XD(a,c,b))},ZD=function(a,b,c){var d=a.B.get("progress");if(!(d==null||d.length<=0)){var e=[],f=a.A,g=a.o;d.forEach(function(h){var k=h.o,m=h.l;m&&m<=b*1E3*100/c&&m>a.o?(g=m>g?m:g,e.push(kB(h))):k&&k<=b&&k>a.A&&(f=k>f?k:f,e.push(kB(h)))});a.A=f;a.o=g;e.length>0&&a.report("progress",e)}}; QD.prototype.reportError=function(a){WB(U(),"err");T(U(),"aec",String(a));ID(a,this.l);this.report("error")}; var $D=function(a,b){a.l.set(b.getName(),b)},aE=function(a,b){b.forEach(function(c){return $D(a,c)})},bE=function(a,b){a.C.push(b)},VD=function(a,b,c){var d=c;a.l!=null&&(d=MD(c,a.l));a.j.has(b)?d.forEach(function(e){return void a.j.get(b).push(e)}):a.j.set(b,d)},UD=function(a,b){if(a.g.has(b))return!1;switch(b){case "measurable_impression":return!a.g.has("impression");case "viewable_impression":return!a.g.has("impression")||!a.g.has("measurable_impression");default:return!1}},WD=function(a,b){switch(b){case "abandon":return!a.g.has(b)&& !a.g.has("skip")&&!a.g.has("instreamAdComplete")&&a.g.has("impression");case "instreamAdComplete":case "complete":return!a.g.has(b)&&!a.g.has("skip");case "mute":case "unmute":case "pause":case "resume":case "fullscreen":case "exitFullscreen":case "progress":case "vastProgress":case "error":case "click":case "expand":case "collapse":case "videoIconClicked":case "vastIconRendered":return!0;default:return!a.g.has(b)}},RD=function(a,b){return(a.B.get(b)||[]).map(function(c){return kB(c)})},PD=function(a){T(U(), "rec",Array.from(a.g,function(b){var c=v(b);b=c.next().value;c=c.next().value;return b+"-"+c}).join("|"))};var cE={},dE=(cE.GOOGLE_VIEWABILITY="://pubads.g.doubleclick.net ://googleads.g.doubleclick.net ://ad[.-]([a-z0-9]+.){0,1}doubleclick.net ://ade\\.googlesyndication\\.com ://pagead2.googlesyndication.com ://([a-z0-9]+[.])*youtube.com".split(" "),cE),eE=new Map,fE=function(a,b,c,d,e,f){d=d===void 0?!1:d;e=e===void 0?null:e;f=f===void 0?!1:f;L.call(this);var g=this;this.l=e?e:String(Math.floor(Math.random()*1E9));this.j=b;this.g=c;this.G=d;this.F=f;this.A=null;this.o=new gf;this.B=(a=a.ga.get(cB))? a.j:"";this.C=a?a.g:"";this.D=a?a.l:[];bE(this.j,function(h){g.K(h)});a=wB();nc(a);eE.set(this.l,this)};q(fE,L);fE.prototype.reportEvent=function(a){this.j.report(a)};var hE=function(a,b){$D(a.j,new NC("VIEWABILITY",b.viewability));$D(a.j,new NC("GOOGLE_VIEWABILITY",b.googleViewability,function(c){return function(d){return gE(d,c)}}("GOOGLE_VIEWABILITY")))}; fE.prototype.K=function(a){var b=this.l,c=this.g,d=this.A,e=this.D;e=e===void 0?[]:e;var f={};c=(f.opt_fullscreen=c.Nd(),f.opt_adElement=void 0,f);a=="start"&&(c.opt_configurable_tracking_events=e);d&&(c.opt_bounds=$n(d));a=bt(a,b,c);hE(this,a)}; var iE=function(a){if(a.G&&a.o.ki()){qo().F=!0;ug(Qs);var b=a.o;mc().B=b}b=ug(Qs);var c=a.B;b.K=c;mc().Rg(c);ug(Qs);a=a.C;b=mc();try{var d=Sg(a);b.Sg(d)}catch(e){Rm(en,"lidarv",{processDecodedFlagsFailure:1},!0,1E-6),b.Sg(a)}ic(b.ea,"fmd",Om(b.flags,qs)?1:0)},gE=function(a,b){b=dE[b];return b==null?!0:b.some(function(c){return a.match(c)!=null})};fE.prototype.P=function(){eE.delete(this.l);this.g=this.j=null;this.o=new gf}; Ia("ima.common.triggerExternalActivityEvent",function(a,b,c){(a=eE.get(a))&&a.reportEvent(c)});Ia("ima.common.getVideoMetadata",function(a){return(a=eE.get(a))?{currentTime:a.g.getCurrentTime(),duration:a.g.getDuration(),vq:a.F,volume:a.g.muted?0:a.g.getVolume()}:{}});var jE=function(a){this.M=G(a)};q(jE,K);jE.prototype.getValue=function(){return J(this,1)};var kE=function(a,b){return vk(a,1,b)},lE=function(a,b){return Dj(a,2,b==null?b:Ei(b))},mE=function(a,b){return vk(a,3,b)},nE=function(a,b){return vk(a,4,b)};jE.prototype.getVersion=function(){return nk(this,5)};var oE=function(a){this.g=a};var pE=function(a){this.g=a===void 0?null:a};var qE=function(a,b){var c=b===void 0?{}:b;b=c.vendor===void 0?null:c.vendor;var d=c.Oc===void 0?null:c.Oc;var e=c.parameters===void 0?null:c.parameters;c=c.X===void 0?[]:c.X;this.g=a;this.vendor=b;this.parameters=e;this.Oc=d;this.X=c};var rE=function(a,b,c){this.id=a;this.title=b;this.g=c};var sE=function(a,b,c,d,e){this.id=a;this.Fc=d===void 0?!1:d;this.title=b;this.j=c;this.g=!(e===void 0?0:e)};var tE=function(a,b,c){this.j=a;this.l=b;this.g=(c===void 0?null:c)||""};tE.prototype.Fc=function(){return this.j.Fc};var uE=function(a){var b=a.Ea;var c=a.Oa;var d=a.height;var e=a.width;a=a.Ba===void 0?!1:a.Ba;this.Ea=b;this.Oa=c;this.height=d;this.width=e;this.Ba=a};uE.prototype.getHeight=function(){return this.height};uE.prototype.getWidth=function(){return this.width};var vE=function(){this.g=this.j=0;this.ib=this.creativeType=this.l=null};vE.prototype.clone=function(){var a=new vE;a.j=this.j;a.g=this.g;a.l=this.l;a.creativeType=this.creativeType;a.ib=this.ib;return a};var wE=function(){this.ib=this.fa=this.Ab=null;this.g=this.j=0;this.N=1;this.Cb="left";this.Db="top";this.Hb=this.Ha=-1;this.D=this.o=this.C=this.A=null;this.J=[];this.B=[];this.l=[]};wE.prototype.getApiFramework=function(){return this.fa}; var xE=function(a,b){return a.Cb=="left"?"0px":a.Cb=="right"?b-a.j+"px":a.Cb+"px"},yE=function(a,b){return a.Db=="bottom"?"0px":a.Db=="top"?b-a.g+"px":b-a.g-Pd(a.Db)+"px"},zE=function(a,b){var c=new Kn(0,0,b.width,b.height),d=Number.MIN_VALUE,e=null;a.l.forEach(function(f){var g=new Kn(0,0,f.j,f.g);c.contains(g)&&(g=g.getSize(),g=g.width*g.height,dh*c? b.width/g:b.height/h)-1);g4?!1:!0}function HE(a){if(!a||!a.nodeName=="VAST")return T(U(),"vast_v","error"),null;a=a.getAttribute("version");if(!a)return T(U(),"vast_v","not_specified"),null;T(U(),"vast_v",a);a=parseInt(a,10);return a==null||isNaN(a)?null:a}function IE(){var a=document.featurePolicy;return a!==void 0&&typeof a.allowedFeatures=="function"&&typeof a.allowedFeatures()=="object"&&a.allowedFeatures().includes("attribution-reporting")} function JE(a){return(a==null?void 0:a.g)!=null&&IE()?(a=a.g)?"attributionsrc="+encodeURIComponent(a):a===""?"attributionsrc":"":""}function KE(a,b){(a==null?void 0:a.g)!=null&&IE()&&b.setAttribute("attributionsrc",E(a.g))};var LE=RegExp("(doubleclick\\.net|googleadservices\\.com|googlesyndication\\.com)"),ME=["ai","sigh"],NE=["xai","sig"];function OE(a){return a&&LE.test(a)?a.includes("/pagead/adview")||a.includes("/pagead/conversion")||a.includes("/gampad/live/conversion")||a.includes("/pagead/interaction")?ME.every(function(b){return Ff(a,b)}):a.includes("/pcs/view")?NE.every(function(b){return Ff(a,b)}):!1:!1}function PE(a,b){var c=a.indexOf("&adurl=");return c!=-1?a.substr(0,c)+b+a.substr(c,a.length):a+b} function QE(a,b){a&&b!=null&&(b=IE()?"6":"5",a=If(a,"nis"),a=PE(a,"&nis="+b));return a};var RE=function(a){var b=a.Ff;var c=a.rj;var d=a.Jk;var e=a.pj;var f=a.Ea;var g=a.Oa;var h=a.Kk;var k=a.qj;uE.call(this,{Ea:f,Oa:g,height:a.height,width:a.width,Ba:a.Ba===void 0?!1:a.Ba});this.j=b;this.C=c;this.o=d;this.l=e;this.g=h;this.A=k};q(RE,uE);var SE=function(a){var b=a.mn;var c=a.mimeType;uE.call(this,{Ea:a.Ea,Oa:a.Oa,height:a.height,width:a.width,Ba:a.Ba===void 0?!1:a.Ba});this.j=b;this.g=c};q(SE,uE);SE.prototype.getMediaUrl=function(){return this.j};var TE=function(a,b,c){this.g=a;this.resourceType=b;this.creativeType=c===void 0?null:c};var UE=function(a){var b=a===void 0?{}:a;a=b.id===void 0?null:b.id;var c=b.Bd===void 0?null:b.Bd;var d=b.fa===void 0?null:b.fa;var e=b.width===void 0?null:b.width;var f=b.height===void 0?null:b.height;var g=b.lb===void 0?!1:b.lb;var h=b.Uf===void 0?null:b.Uf;var k=b.Vf===void 0?[]:b.Vf;var m=b.resources===void 0?[]:b.resources;b=b.X===void 0?[]:b.X;this.id=a;this.Bd=c;this.fa=d;this.width=e;this.height=f;this.lb=g;this.Uf=h;this.Vf=k;this.resources=m;this.X=b};var VE=function(a,b){this.g=a;this.j=b===void 0?"none":b};var WE=function(a){var b=a===void 0?{}:a;a=b.url;var c=b.mimeType===void 0?null:b.mimeType;b=b.language===void 0?null:b.language;this.url=a;this.mimeType=c;this.language=b};var XE=function(a,b,c,d){this.La=a;this.width=b===void 0?null:b;this.height=c===void 0?null:c;this.ib=d===void 0?null:d};var YE=function(a){var b=a===void 0?{}:a;a=b.Ib===void 0?null:b.Ib;var c=b.yc===void 0?[]:b.yc;b=b.Sf===void 0?[]:b.Sf;this.Ib=a;this.yc=c;this.Sf=b};var ZE=function(a){var b=a===void 0?{}:a;a=b.Ab===void 0?null:b.Ab;var c=b.fa===void 0?null:b.fa;var d=b.Cb===void 0?null:b.Cb;var e=b.Db===void 0?null:b.Db;var f=b.width===void 0?null:b.width;var g=b.height===void 0?null:b.height;var h=b.ib===void 0?null:b.ib;var k=b.ci===void 0?null:b.ci;var m=b.Ha===void 0?null:b.Ha;var p=b.Hb===void 0?null:b.Hb;var n=b.wf===void 0?null:b.wf;var r=b.oe===void 0?null:b.oe;var u=b.gf===void 0?[]:b.gf;b=b.resources===void 0?[]:b.resources;this.Ab=a;this.fa=c;this.Cb= d;this.Db=e;this.width=f;this.height=g;this.ib=h;this.ci=k;this.Ha=m;this.wf=n;this.Hb=p;this.oe=r;this.gf=u;this.resources=b};var $E=function(a,b){var c=b===void 0?{}:b;b=c.mimeType===void 0?null:c.mimeType;var d=c.fa===void 0?null:c.fa;c=c.Je===void 0?null:c.Je;this.La=a;this.fa=d;this.mimeType=b;this.Je=c},aF=function(a){return a.La.resourceType==="Url"?a.La.g:null},bF=function(a){return a.La.resourceType==="Html"?a.La.g:null};var cF=function(a,b){var c=b===void 0?{}:b;b=c.yb===void 0?null:c.yb;var d=c.mimeType===void 0?null:c.mimeType;var e=c.codec===void 0?null:c.codec;var f=c.width===void 0?null:c.width;c=c.height===void 0?null:c.height;this.url=a;this.yb=b;this.mimeType=d;this.codec=e;this.width=f;this.height=c};var dF=function(a,b){var c=b===void 0?{}:b;b=c.height===void 0?null:c.height;var d=c.width===void 0?null:c.width;var e=c.yb===void 0?null:c.yb;var f=c.mimeType===void 0?null:c.mimeType;var g=c.fa===void 0?null:c.fa;var h=c.bitrate===void 0?null:c.bitrate;var k=c.wa===void 0?null:c.wa;var m=c.maxBitrate===void 0?null:c.maxBitrate;var p=c.Ga===void 0?null:c.Ga;cF.call(this,a,{yb:e,mimeType:f,codec:c.codec===void 0?null:c.codec,width:d,height:b});this.fa=g;this.wa=k||m||h||0;this.maxBitrate=m||k||h|| 0;this.Ga=p};q(dF,cF);var eF=function(a){var b=a===void 0?{}:a;a=b.Ib===void 0?null:b.Ib;var c=b.yc===void 0?[]:b.yc;b=b.Ve===void 0?[]:b.Ve;this.Ib=a;this.yc=c;this.Ve=b};var fF=function(a){var b=a===void 0?{}:a;a=b.duration===void 0?null:b.duration;var c=b.Ob===void 0?null:b.Ob;var d=b.X===void 0?[]:b.X;var e=b.Ic===void 0?[]:b.Ic;var f=b.ab===void 0?[]:b.ab;var g=b.yh===void 0?[]:b.yh;var h=b.yd===void 0?null:b.yd;var k=b.ka===void 0?null:b.ka;b=b.va===void 0?[]:b.va;this.duration=a;this.ka=k;this.Ob=c;this.X=d;this.Ic=e;this.ab=f;this.yh=g;this.yd=h;this.va=b};var gF=function(a){var b=a===void 0?{}:a;a=b.id===void 0?null:b.id;var c=b.fa===void 0?null:b.fa;var d=b.height===void 0?null:b.height;var e=b.width===void 0?null:b.width;var f=b.Jc===void 0?null:b.Jc;var g=b.resources===void 0?[]:b.resources;var h=b.Hg===void 0?null:b.Hg;var k=b.Ig===void 0?[]:b.Ig;b=b.ka===void 0?null:b.ka;this.id=a;this.fa=c;this.height=d;this.width=e;this.Jc=f;this.resources=g;this.Hg=h;this.Ig=k;this.ka=b};var hF=function(a,b){b=b===void 0?[]:b;this.g=a;this.X=b};var iF=function(a){var b=a===void 0?{}:a;a=b.jf===void 0?"unknown":b.jf;b=b.hf===void 0?"unknown":b.hf;this.jf=a||"unknown";this.hf=b||"unknown"};var jF=function(a){var b=a===void 0?{}:a;a=b.Da===void 0?null:b.Da;var c=b.id===void 0?null:b.id;var d=b.adId===void 0?null:b.adId;var e=b.Ub===void 0?null:b.Ub;var f=b.ze===void 0?null:b.ze;var g=b.fe===void 0?null:b.fe;b=b.fb===void 0?[]:b.fb;this.Da=a;this.id=c;this.adId=d;this.Ub=e;this.ze=f;this.fe=g;this.fb=b};var kF=function(a,b){this.url=a;this.g=b===void 0?null:b};var lF=function(a){var b=a===void 0?{}:a;a=b.vendor===void 0?null:b.vendor;var c=b.Fe===void 0?null:b.Fe;var d=b.Oc===void 0?null:b.Oc;var e=b.parameters===void 0?null:b.parameters;b=b.X===void 0?[]:b.X;this.vendor=a;this.Fe=c;this.Oc=d;this.parameters=e;this.X=b};var mF=function(a){var b=a===void 0?{}:a;a=b.Na===void 0?null:b.Na;var c=b.errors===void 0?[]:b.errors;var d=b.Dc===void 0?[]:b.Dc;var e=b.qa===void 0?[]:b.qa;var f=b.tb===void 0?[]:b.tb;b=b.ga===void 0?[]:b.ga;this.Na=a;this.g=c;this.j=d;this.qa=e;this.tb=f;this.ga=b};var nF=function(a,b){var c=b===void 0?{}:b;b=c.id===void 0?null:c.id;var d=c.Da===void 0?null:c.Da;c=c.Vc===void 0?null:c.Vc;this.Sa=a;this.id=b;this.Da=d;this.Vc=c=="audio"?"audio":c=="hybrid"?"hybrid":"video"};var oF=function(a){this.g=a=a===void 0?[]:a};oF.prototype.unshift=function(a){this.g.unshift(a)};var pF=function(a,b){var c=[];a.g.forEach(function(d){c=c.concat(d.Sa.ga.filter(function(e){return e instanceof b}))});return c};var qF=function(a){this.X=a=a===void 0?[]:a};var rF=function(a,b,c,d){b=b===void 0?[]:b;c=c===void 0?"":c;d=d===void 0?"":d;qF.call(this,a);this.g=b;this.l=c;this.j=d};q(rF,qF);var sF=function(){};sF.prototype.g=function(a,b){var c=[],d="",e="";pF(a,rF).forEach(function(f){c.push.apply(c,w(f.g));d=d||f.l;e=e||f.j});(c.length>0||d||e)&&b.ga.set(cB,new cB(c,d,e))};var tF=function(){var a={};var b=a.sa===void 0?"":a.sa;var c=a.wb===void 0?"http://www.google.com/adsense/support":a.wb;var d=a.Dd===void 0?!1:a.Dd;a=a.wc===void 0?0:a.wc;this.sa=b;this.wb=c;this.Dd=d;this.wc=a};var uF=function(a,b){var c=b===void 0?{}:b;b=c.sa===void 0?null:c.sa;var d=c.wb===void 0?null:c.wb;var e=c.ge===void 0?null:c.ge;var f=c.ii===void 0?!1:c.ii;var g=c.xe===void 0?[]:c.xe;var h=c.He===void 0?!1:c.He;var k=c.uiConfig===void 0?null:c.uiConfig;var m=c.Sc===void 0?null:c.Sc;c=c.Yb===void 0?null:c.Yb;qF.call(this,a);this.sa=b;this.wb=d;this.ge=e;this.ii=f;this.xe=g;this.He=h;this.uiConfig=k;this.Sc=m;this.Yb=c};q(uF,qF);var vF=function(a){this.g=a};var wF="ad.doubleclick.net bid.g.doubleclick.net ggpht.com google.co.uk google.com googleads.g.doubleclick.net googleads4.g.doubleclick.net googleadservices.com googlesyndication.com googleusercontent.com gstatic.com gvt1.com prod.google.com pubads.g.doubleclick.net s0.2mdn.net static.doubleclick.net surveys.g.doubleclick.net youtube.com ytimg.com".split(" "),xF=["c.googlesyndication.com"]; function yF(a,b){b=b===void 0?window.location.protocol:b;var c=!1;a==null||!a.startsWith("http")||(a==null?0:a.startsWith("https"))?c=!1:zF(a,xF)?c=!1:b.includes("https")&&zF(a,wF)&&(c=!0);return c?(a=new P(a),T(U(),"htp","1"),Ny(a,"https"),a.toString()):a}function zF(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)} function AF(a){var b=BF;try{var c=(new P(a)).j;c=c.replace(/^www./i,"");return b.some(function(d){return CF(d,c)})}catch(d){return!1}}function CF(a,b){if(D(E(b)))return!1;a=a.toLowerCase();b=b.toLowerCase();return a.substr(0,2)=="*."?(a=a.substr(2),a.length>b.length?!1:b.substr(-a.length)==a&&(b.length==a.length||b.charAt(b.length-a.length-1)==".")):a==b}function DF(a){a=new P(a);var b=a.j;return a.o!="http"&&a.o!="https"?!1:b.indexOf(".")==-1||b.match(/^[\.0-9]*$/)?!1:EF(a.toString())} function EF(a){try{Bd(a)}catch(b){return!1}return!0};var FF=/OS (\S+) like/,GF=/Android ([\d\.]+)/;function HF(a,b){a=(a=a.exec(Gc()))?a[1]:"";a=a.replace(/_/g,".");return Fc(a,b)>=0} var IF=function(){var a=B.navigator||null;return QC((a==null?void 0:a.language)||(a==null?void 0:a.userLanguage)||(a==null?void 0:a.browserLanguage)||(a==null?void 0:a.systemLanguage)||"")},JF=function(){return yf()||xf()},KF=function(){return be||Yd&&"ontouchstart"in document.documentElement},LF=function(a,b){var c=window.screen.availHeight||window.screen.height;return(window.screen.availWidth||window.screen.width)-a<=0&&c-b<=42};var MF=ra(["about:blank"]),NF=ra(["javascript:undefined"]),OF=Ee(MF);cd(OF);var PF=Ee(NF);cd(PF);var QF={TYPE_EXTERNAL:0,TYPE_SITELINK:1,TYPE_WEBSITE_DEEP_LINK:2};var RF=function(a){var b=a===void 0?{}:a;a=b.type;var c=b.target===void 0?null:b.target;var d=b.title===void 0?null:b.title;var e=b.Og===void 0?null:b.Og;b=b.dg===void 0?null:b.dg;this.type=a;this.target=c;this.title=d;this.Og=e;this.dg=b};var SF={TYPE_ADX_ENDCAP:0,TYPE_WEBSITE:1};var TF=function(a){var b=a===void 0?{}:a;a=b.Yg===void 0?!1:b.Yg;var c=b.Zg===void 0?!1:b.Zg;b=b.Ye===void 0?5E3:b.Ye;this.Yg=a;this.Zg=c;this.Ye=b};var UF=function(a){var b=a===void 0?{}:a;a=b.mi===void 0?null:b.mi;var c=b.Jh===void 0?null:b.Jh;b=b.Kh===void 0?null:b.Kh;this.mi=a;this.Jh=c;this.Kh=b};var VF=function(a){a=a===void 0?{}:a;this.Mi=a.Mi===void 0?[]:a.Mi};var WF=function(a){var b=a===void 0?{}:a;a=b.description===void 0?null:b.description;var c=b.Sb===void 0?null:b.Sb;var d=b.Ja===void 0?null:b.Ja;b=b.Th===void 0?null:b.Th;this.description=a;this.Sb=c;this.Ja=d;this.Th=b};var XF=function(a){var b=a===void 0?{}:a;a=b.type;var c=b.priority===void 0?-1:b.priority;var d=b.X===void 0?[]:b.X;var e=b.actions===void 0?[]:b.actions;var f=b.td===void 0?null:b.td;b=b.Tc===void 0?null:b.Tc;this.type=a;this.priority=c;this.X=d;this.actions=e;this.td=f;this.Tc=b};var YF=function(a){a=a===void 0?{}:a;this.Ed=a.Ed===void 0?[]:a.Ed};var ZF=function(a,b,c,d){this.value=a;this.g=b;this.path=c;this.domain=d};var $F=function(a){this.g=a};var aG=function(a){this.g=a};var bG=function(){};bG.prototype.g=function(a,b){a=v(a.g);for(var c=a.next();!c.done;c=a.next()){c=v(c.value.Sa.ga);for(var d=c.next();!d.done;d=c.next())d=d.value,d instanceof aG&&b.ga.set(oE,new oE(d.g))}};var cG=function(a,b,c,d,e){this.value=a;this.g=b;this.path=c;this.domain=d;this.j=e};var dG=function(a,b,c){var d=c===void 0?{}:c;c=d.yb===void 0?null:d.yb;var e=d.Ga===void 0?null:d.Ga;var f=d.mimeType===void 0?null:d.mimeType;var g=d.Ea===void 0?null:d.Ea;var h=d.Oa===void 0?null:d.Oa;var k=d.Ri===void 0?null:d.Ri;var m=d.sh===void 0?null:d.sh;var p=d.Ba===void 0?null:d.Ba;var n=d.width===void 0?null:d.width;var r=d.height===void 0?null:d.height;d=d.Yc===void 0?null:d.Yc;this.type=b;this.Ga=e;this.Oa=h;this.Ri=k;this.sh=m;this.Ba=p;this.url=a;this.yb=c;this.mimeType=f;this.Ea=g; this.width=n;this.height=r;this.Yc=d};var eG=function(a,b,c,d,e){this.o=a;this.j=b;this.A=c;this.l=d;this.g=e};var fG={},gG=(fG[18]=496,fG[22]=2128,fG[43]=488,fG[44]=848,fG[45]=2128,fG[59]=848,fG[133]=242,fG[134]=400,fG[135]=1E3,fG[136]=2E3,fG[139]=48,fG[140]=128,fG[141]=256,fG[160]=108,fG[242]=150,fG[243]=276,fG[244]=512,fG[245]=1E3,fG[247]=1E3,fG[249]=48,fG[250]=64,fG[251]=128,fG[278]=95,fG[342]=464,fG[343]=1064,fG[344]=2128,fG[345]=496,fG[346]=816,fG[347]=2096,fG),hG={al:"application/dash+xml",Zo:"video/gma-demuxed",HLS:"application/vnd.apple.mpegurl",wl:"application/x-mpegURL",MP3:"audio/mpeg",zl:"video/mp4", Al:"audio/mp4",Bl:"video/mpeg",Fl:"video/ogg",Gl:"audio/ogg",Ll:"video/3gpp",Ol:"video/webm"};var iG=function(){N.call(this);this.headers=new Map;this.j=!1;this.g=null;this.G="";this.o=0;this.l=this.F=this.A=this.D=!1;this.K=0;this.B=null;this.R="";this.L=!1};Wa(iG,N); var jG=/^https?$/i,kG=["POST","PUT"],nG=function(a,b,c,d){if(a.g)throw Error("[goog.net.XhrIo] Object is active with another request="+a.G+"; newUri="+b);c=c?c.toUpperCase():"GET";a.G=b;a.o=0;a.D=!1;a.j=!0;a.g=new XMLHttpRequest;a.g.onreadystatechange=Jt(Sa(a.O,a));try{a.F=!0,a.g.open(c,String(b),!0),a.F=!1}catch(g){lG(a);return}b=d||"";d=new Map(a.headers);var e=Array.from(d.keys()).find(function(g){return"content-type"==g.toLowerCase()}),f=B.FormData&&b instanceof B.FormData;!kb(kG,c)||e||f||d.set("Content-Type", "application/x-www-form-urlencoded;charset=utf-8");c=v(d);for(d=c.next();!d.done;d=c.next())e=v(d.value),d=e.next().value,e=e.next().value,a.g.setRequestHeader(d,e);a.R&&(a.g.responseType=a.R);"withCredentials"in a.g&&a.g.withCredentials!==a.L&&(a.g.withCredentials=a.L);try{mG(a),a.K>0&&(a.B=setTimeout(a.W.bind(a),a.K)),a.A=!0,a.g.send(b),a.A=!1}catch(g){lG(a)}};iG.prototype.W=function(){typeof Ha!="undefined"&&this.g&&(this.o=8,this.dispatchEvent("timeout"),this.abort(8))}; var lG=function(a){a.j=!1;a.g&&(a.l=!0,a.g.abort(),a.l=!1);a.o=5;oG(a);pG(a)},oG=function(a){a.D||(a.D=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};iG.prototype.abort=function(a){this.g&&this.j&&(this.j=!1,this.l=!0,this.g.abort(),this.l=!1,this.o=a||7,this.dispatchEvent("complete"),this.dispatchEvent("abort"),pG(this))};iG.prototype.P=function(){this.g&&(this.j&&(this.j=!1,this.l=!0,this.g.abort(),this.l=!1),pG(this,!0));iG.Xb.P.call(this)}; iG.prototype.O=function(){this.Ka()||(this.F||this.A||this.l?qG(this):this.ba())};iG.prototype.ba=function(){qG(this)}; var qG=function(a){if(a.j&&typeof Ha!="undefined")if(a.A&&(a.g?a.g.readyState:0)==4)setTimeout(a.O.bind(a),0);else if(a.dispatchEvent("readystatechange"),(a.g?a.g.readyState:0)==4){a.j=!1;try{var b=rG(a);a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}var d;if(!(d=c)){var e;if(e=b===0){var f=String(a.G).match(zf)[1]||null;!f&&B.self&&B.self.location&&(f=B.self.location.protocol.slice(0,-1));e=!jG.test(f?f.toLowerCase():"")}d=e}d?(a.dispatchEvent("complete"), a.dispatchEvent("success")):(a.o=6,oG(a))}finally{pG(a)}}},pG=function(a,b){if(a.g){mG(a);var c=a.g;a.g=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}},mG=function(a){a.B&&(clearTimeout(a.B),a.B=null)};iG.prototype.isActive=function(){return!!this.g};var rG=function(a){try{return(a.g?a.g.readyState:0)>2?a.g.status:-1}catch(b){return-1}},sG=function(a){if(a.g){a:{a=a.g.responseText;if(B.JSON)try{var b=B.JSON.parse(a);break a}catch(c){}b=aC(a)}return b}};var tG=RegExp("/itag/(\\d+)/"),uG=RegExp("/cpn/([\\w-]{16})(/|$)"),vG=RegExp("^[\\w-]{16}$");function wG(a){var b=Gf(a,"cpn");return b&&b.match(vG)?b:(a=a.match(uG))&&a.length===3?a[1]:null};var xG=function(a){this.j=a===void 0?null:a}; xG.prototype.g=function(a,b){if(b instanceof EE&&this.j&&!(b.g.length>0)){a=v(a.g);for(var c=a.next();!c.done;c=a.next()){c=v(c.value.Sa.ga);for(var d=c.next();!d.done;d=c.next()){var e=d.value;if(e instanceof eG){d=yG(this.j,e);var f=void 0;if(d.length>0)for(var g=v(d),h=g.next();!h.done;h=g.next()){h=h.value;var k=void 0;h instanceof SE&&(k=h.getMediaUrl());h instanceof RE&&(k=h.j);if(k&&(h=wG(k))){f=h;break}}e=f?f:e.o;T(U(),"cpn",e);b.C=e;d=v(d);for(e=d.next();!e.done;e=d.next())b.g.push(e.value)}}}}};var zG=function(a){this.g=a};var AG=function(a){var b=a===void 0?{}:a;a=b.zd===void 0?null:b.zd;var c=b.Na===void 0?null:b.Na;var d=b.Cd===void 0?null:b.Cd;var e=b.Kf===void 0?null:b.Kf;var f=b.description===void 0?null:b.description;var g=b.Df===void 0?null:b.Df;mF.call(this,{Na:c,errors:b.errors===void 0?[]:b.errors,Dc:b.Dc===void 0?[]:b.Dc,qa:b.qa===void 0?[]:b.qa,tb:b.tb===void 0?[]:b.tb,ga:b.ga===void 0?[]:b.ga});this.zd=a;this.Cd=d;this.Kf=e;this.description=f;this.Df=g};q(AG,mF);var BG=function(a,b){this.gb=a===void 0?null:a;this.g=b===void 0?null:b};var CG=function(){};CG.prototype.g=function(a,b){a=v(a.g);for(var c=a.next();!c.done;c=a.next()){a:{var d=b;c=v(c.value.Sa.ga);for(var e=c.next();!e.done;e=c.next())if(e=e.value,e instanceof BG){d.ga.set(pE,new pE(e.gb,e.g));d=!0;break a}d=!1}if(d)break}};var DG=function(a){this.tb=a=a===void 0?[]:a};var EG=function(a){this.dealId=a};var FG=function(a,b,c,d){this.l=a;this.j=d===void 0?null:d;this.o=b;this.g=c};var GG=function(a){this.g=a===void 0?!1:a};var HG=function(a){var b=a===void 0?{}:a;a=b.Rc===void 0?null:b.Rc;var c=b.Fc===void 0?!1:b.Fc;var d=b.Le===void 0?null:b.Le;var e=b.Ef===void 0?null:b.Ef;var f=b.Qd===void 0?!1:b.Qd;var g=b.Wc===void 0?null:b.Wc;var h=b.ee===void 0?null:b.ee;var k=b.de===void 0?null:b.de;var m=b.Rf===void 0?null:b.Rf;var p=b.format===void 0?null:b.format;var n=b.Ng===void 0?null:b.Ng;b=b.hh===void 0?null:b.hh;this.Rc=a;this.Fc=c;this.Le=d;this.Ef=e;this.Qd=f;this.Wc=g;this.ee=h;this.de=k;this.Rf=m;this.format=p; this.Ng=n;this.hh=b;T(U(),"ytext_viu",this.Qd?"1":"0");T(U(),"ytext_hd",this.Le&&this.de&&this.ee?"1":"0");this.Qd&&T(U(),"ytext_vi",this.Rc?this.Rc:"Undefined")};var IG=function(){};IG.prototype.g=function(a,b){a=v(a.g);for(var c=a.next();!c.done;c=a.next()){c=v(c.value.Sa.ga);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof HG){b.ga.set(tE,new tE(new sE(d.Rc,d.Le,d.Ef,d.Fc,d.Qd),new rE(d.Wc,d.ee,d.de),d.format,d.hh,d.Ng));return}}};var JG=function(){};JG.prototype.l=function(){return!0};JG.prototype.j=function(a){var b=new lB;this.g(a,b);return b};JG.prototype.g=function(a,b){a.g.forEach(function(e){KG(e,b);e.Sa.Na&&b.j.push(e.Sa.Na)});if(a.g.length>0){var c=a.g[0];c.id&&(b.id=c.id);c.Vc&&(b.Vc=c.Vc);c.Da&&(b.l=c.Da);a=v([].concat(w(a.g)).reverse());for(var d=a.next();!d.done;d=a.next())d=d.value,d.Da&&b.J.push(d.Da);c=c.Sa;c instanceof AG&&(b.Cd=c.Cd,b.zd=c.zd,LG(c,b))}}; var KG=function(a,b){var c=a.Sa.j;a.Sa.g.forEach(function(d){mB(b,new gB("error",d))});c.forEach(function(d){mB(b,iB("impression",d.url,d.g))})},LG=function(a,b){a=v(a.qa);for(var c=a.next();!c.done;c=a.next())if((c=c.value.Ub)&&c.ab&&c.ab.length>0){a=v(c.ab);for(c=a.next();!c.done;c=a.next())c=c.value,b.ab.push(new dB(aF(c),bF(c),c.mimeType,c.fa,c.Je));break}};var MG=function(a,b){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);this.errorType=b===void 0?900:b};q(MG,Error);var NG=function(a){this.j=a;this.g=Date.now()};NG.prototype.reset=function(){this.g=Date.now()};var OG=function(a){a=a.g+a.j-Date.now();return a>0?a:0};var PG="://secure-...imrworldwide.com/ ://cdn.imrworldwide.com/ ://aksecure.imrworldwide.com/ ://[^.]*.moatads.com ://youtube[0-9]+.moatpixel.com ://pm.adsafeprotected.com/youtube ://pm.test-adsafeprotected.com/youtube ://e[0-9]+.yt.srs.doubleverify.com www.google.com/pagead/xsul www.youtube.com/pagead/slav".split(" "),QG=/\bocr\b/;function RG(a){if(D(E(a))||Ud&&a.length>2048)return!1;try{if((new P(a)).D().match(QG))return!0}catch(b){}return PG.find(function(b){return a.match(b)!=null})!=null};var SG=function(a){var b=Error.call(this,a);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.errorCode=a};q(SG,Error);function TG(a){return td(a===null?"null":a===void 0?"undefined":a)};var UG=function(a){if(typeof DOMParser!="undefined"){var b=new DOMParser;a=TG(a);return b.parseFromString(ud(a),"application/xml")}throw Error("Your browser does not support loading xml documents");};var VG=function(a){L.call(this);this.j=a;this.g={}};Wa(VG,L);var WG=[];VG.prototype.listen=function(a,b,c,d){return XG(this,a,b,c,d)};var XG=function(a,b,c,d,e,f){Array.isArray(c)||(c&&(WG[0]=c.toString()),c=WG);for(var g=0;g0?a[a.length-1]:null} function V(a){if(a.childNodes.length==0)return null;var b="";a=v(a.childNodes);for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.nodeType){case 4:case 3:b+=c.nodeValue}return b.trim()}function yH(a){var b=null;if(a.hasAttribute("attributiontype")){var c=a.getAttribute("attributiontype");c==="SINGLE_PING"?b="":c==="DOUBLE_PING"&&a.hasAttribute("attributionsrc")&&(b=a.getAttribute("attributionsrc"))}else a.hasAttribute("attributionsrc")&&(b=a.getAttribute("attributionsrc"));return b} function zH(a,b){return a.hasAttribute("type")&&a.getAttribute("type").toLowerCase()==b.toLowerCase()}function AH(a){var b=(a||"").split(":");if(b.length==3){a=parseInt(b[0],10);var c=parseInt(b[1],10),d=b[2].split("."),e=parseInt(d[0],10);b=0;d.length==2&&(b=parseInt(d[1],10));if(!(isNaN(a)||isNaN(c)||isNaN(e)||isNaN(b)))return a=a*60*60*1E3+c*60*1E3+e*1E3,a+=b}} function BH(a){var b=[];a=v(Ye(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d.nodeName=="Verification"){c={vendor:d.getAttribute("vendor"),X:[]};d=v(Ye(d));for(var e=d.next();!e.done;e=d.next())switch(e=e.value,e.nodeName){case "JavaScriptResource":c.Fe=V(e);c.Oc=e.getAttribute("apiFramework");break;case "VerificationParameters":c.parameters=V(e);break;case "TrackingEvents":c.X=CH(e)}c.Fe!=null&&b.push(new lF(c))}}return b} function DH(a){var b=[];a=v(Ye(a));for(var c=a.next();!c.done;c=a.next())c=c.value,c.nodeName=="CustomTracking"&&b.push.apply(b,w(CH(c)));return b}function EH(a,b){var c=a.getAttribute("id");a=yH(a);b=new FE(b,c,a);b.url=QE(b.url,b.g);return b} function CH(a){var b=[];a=v(Ye(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d.nodeName=="Tracking"){c=d.getAttribute("event");var e=V(d);if(e!=null&&!D(e)){var f=d.getAttribute("offset"),g=null,h=null;f&&f.endsWith("%")?h=parseInt(f,10):f&&f.includes(":")&&(g=AH(f));d=yH(d);e=QE(e,d);b.push(new fB(c,e,{Ha:g,Sd:h},d))}}}return b}function FH(a){return a==null||a==="about:blank"?null:a} function GH(a){var b={};b.Ab=a.getAttribute("program");b.fa=a.getAttribute("apiFramework");b.ib=a.getAttribute("altText");b.ci=a.getAttribute("hoverText");b.width=uH(a,"width");b.height=uH(a,"height");b.Cb=a.getAttribute("xPosition");b.Db=a.getAttribute("yPosition");b.Hb=AH(a.getAttribute("duration"));b.wf=AH(a.getAttribute("pxratio"));b.Ha=HH(a.getAttribute("offset"),b.Hb);b.resources=IH(a);b.gf=[];a=v(Ye(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;switch(d.nodeName){case "IconViewTracking":b.gf.push(V(d)); break;case "IconClicks":c=null;var e=[],f=[];d=v(Ye(d));for(var g=d.next();!g.done;g=d.next()){g=g.value;var h=V(g),k=g.getAttribute("id");switch(g.nodeName){case "IconClickThrough":h!=null&&(c=EH(g,h));break;case "IconClickTracking":h!=null&&e.push(new FE(h,k));break;case "IconClickFallbackImages":f=JH(g)}}b.oe=new YE({Ib:c,yc:e,Sf:f})}}return new ZE(b)}function HH(a,b){if(a!=null)return a.endsWith("%")&&b!=null?parseInt(a,10)*b/100:AH(a)} function IH(a){var b=[];a=v(Ye(a));for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=V(c);if(d!=null)switch(c.nodeName){case "StaticResource":b.push(new TE(d,"Static",c.getAttribute("creativeType")));break;case "HTMLResource":b.push(new TE(d,"Html"));break;case "IFrameResource":b.push(new TE(d,"IFrame"))}}return b} function JH(a){var b=[];a=v(Ye(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=IH(d).filter(function(g){return g.resourceType=="Static"});if(c.length>0){var e=uH(d,"width"),f=uH(d,"height");d=KH(d);b.push(new XE(c[0],e,f,d))}}return b}function KH(a){a=v(Ye(a));for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.nodeName=="AltText")return V(b);return null};var LH=function(){this.g=[]},MH=function(a,b){a.g.includes(b)||a.g.push(b)},NH=function(a,b){var c=[];b=v(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.nodeName=="Extension")for(var e=v(a.g),f=e.next();!f.done;f=e.next())if(f=f.value.g(d),f!=null){c.push(f);break}return c},PH=function(a){var b={fb:[]};b.Da=uH(a,"sequence");b.id=a.getAttribute("id");b.adId=a.getAttribute("adId");for(var c=v(Ye(a)),d=c.next();!d.done;d=c.next()){var e=d.value;switch(e.nodeName){case "Linear":for(var f=void 0, g=void 0,h=void 0,k=[],m=[],p=[],n=[],r=[],u=v(Ye(e)),t=u.next();!t.done;t=u.next()){var z=t.value;switch(z.nodeName){case "TrackingEvents":k=CH(z);break;case "VideoClicks":for(var A=null,H=[],F=[],O=v(Ye(z)),ha=O.next();!ha.done;ha=O.next()){var da=ha.value,Sb=V(da);if(Sb!=null){var sm=da.getAttribute("id");switch(da.nodeName){case "ClickThrough":A=EH(da,Sb);break;case "ClickTracking":var Hq=yH(da);H.push(new FE(Sb,sm,Hq));break;case "CustomClick":F.push(new FE(Sb,sm))}}}h=new eF({Ib:A,yc:H,Ve:F}); break;case "MediaFiles":for(var of=[],rj=[],qg=[],tm=v(Ye(z)),yh=tm.next();!yh.done;yh=tm.next()){var Kb=yh.value;switch(Kb.nodeName){case "MediaFile":var rg=void 0,Db=V(Kb);if(Db==null)var zh=null;else{Db.indexOf("www.youtube.com/get_video")!=-1?T(U(),"hgvu","1"):Db.indexOf("redirector.gvt1.com/get_video")!=-1&&T(U(),"hgvuc","1");var dd={};dd.height=uH(Kb,"height");dd.width=uH(Kb,"width");dd.yb=Kb.getAttribute("delivery");dd.bitrate=uH(Kb,"bitrate");dd.wa=uH(Kb,"minBitrate");dd.maxBitrate=uH(Kb, "maxBitrate");dd.mimeType=(rg=Kb.getAttribute("type"))==null?void 0:rg.toLowerCase();dd.fa=Kb.getAttribute("apiFramework");dd.codec=Kb.getAttribute("codec");var Iq=Db,um=Number(Gf(Iq,"itag"));if(um)var sg=um;else{var sj=Iq.match(tG);sg=sj&&sj.length===2?Number(sj[1]):null}sg!=null&&(dd.Ga=sg);zh=new dF(Db,dd)}var Jq=zh;Jq!==null&&of.push(Jq);break;case "ClosedCaptionFiles":for(var tj=[],uj=v(Ye(Kb)),yx=uj.next();!yx.done;yx=uj.next()){var zx=yx.value,sJ=V(zx);if(sJ!==null){var Ax={url:sJ},tJ=void 0; Ax.mimeType=(tJ=zx.getAttribute("type"))==null?void 0:tJ.toLowerCase();Ax.language=zx.getAttribute("language");tj.push(new WE(Ax))}}qg=tj;break;case "InteractiveCreativeFile":var uJ=void 0,vJ=xH(Kb,"HTMLResource");if(vJ){var Bx="Html";var Kq=V(vJ)}else Bx="Url",Kq=V(Kb);if(!Kq||D(Kq))var wJ=null;else{var S0=new TE(Kq,Bx),Lq={};Lq.mimeType=(uJ=Kb.getAttribute("type"))==null?void 0:uJ.toLowerCase();Lq.fa=Kb.getAttribute("apiFramework");Lq.Je=vH(Kb.getAttribute("variableDuration"));var T0=new $E(S0, Lq);Bx==="Html"?XB("lima_p_ich"):XB("lima_p_icu");wJ=T0}var xJ=wJ;xJ!==null&&rj.push(xJ)}}T(U(),"vmfc",""+of.length);var U0=qg.length===0?"0":"1";T(U(),"vhc",U0);var V0=of;var W0=qg;var X0=rj;m=V0;n=W0;p=X0;break;case "Duration":g=AH(V(z));break;case "AdParameters":f=E(V(z));break;case "Icons":for(var yJ=[],zJ=v(Ye(z)),Cx=zJ.next();!Cx.done;Cx=zJ.next()){var AJ=Cx.value;AJ.nodeName=="Icon"&&yJ.push(GH(AJ))}var Dx=r=yJ;T(U(),"icc",Dx.length.toString());if(Dx.length>0){for(var BJ=0,CJ=0,DJ=0,EJ=0,vj= null,FJ="ns",GJ="ns",HJ=v(Dx),Ex=HJ.next();!Ex.done;Ex=HJ.next()){for(var wj=Ex.value,IJ=v(wj.resources),Fx=IJ.next();!Fx.done;Fx=IJ.next())switch(Fx.value.resourceType){case "Html":BJ++;break;case "IFrame":CJ++;break;case "Static":DJ++;break;default:EJ++}vj=wj.Ab;GJ=wj.width?wj.width.toString():"ns";FJ=wj.height?wj.height.toString():"ns"}T(U(),"icrh",BJ.toString());T(U(),"icri",CJ.toString());T(U(),"icrs",DJ.toString());T(U(),"icru",EJ.toString());vj&&(vj.length>16&&(vj=vj.substring(0,15)+"*"),T(U(), "icp",vj));T(U(),"icdi",FJ+"x"+GJ)}}}var Y0=HH(e.getAttribute("skipoffset"),g);b.Ub=new fF({duration:g,Ob:Y0,X:k,Ic:m,ab:p,yh:n,yd:h,ka:f,va:r});break;case "NonLinearAds":for(var JJ=[],KJ=[],LJ=v(Ye(e)),Gx=LJ.next();!Gx.done;Gx=LJ.next()){var Hx=Gx.value;switch(Hx.nodeName){case "NonLinear":for(var MJ=JJ,Z0=MJ.push,Ah=Hx,$0=IH(Ah),a1=Ah.getAttribute("id"),b1=uH(Ah,"width"),c1=uH(Ah,"height"),d1=Ah.getAttribute("apiFramework"),e1=AH(Ah.getAttribute("minSuggestedDuration")),NJ=null,OJ=null,PJ=[],QJ= v(Ye(Ah)),Ix=QJ.next();!Ix.done;Ix=QJ.next()){var vm=Ix.value,Mq=V(vm);if(Mq!=null)switch(vm.nodeName){case "NonLinearClickThrough":OJ=EH(vm,Mq);break;case "NonLinearClickTracking":var f1=yH(vm);PJ.push(new FE(Mq,vm.getAttribute("id"),f1));break;case "AdParameters":NJ=E(Mq)}}Z0.call(MJ,new gF({id:a1,fa:d1,width:b1,height:c1,Jc:e1,Hg:OJ,Ig:PJ,resources:$0,ka:NJ}));break;case "TrackingEvents":KJ=CH(Hx)}}b.ze=new hF(JJ,KJ);var Jx=b.ze.g;T(U(),"nlc",Jx.length.toString());if(Jx.length>0){for(var RJ=0, SJ=0,TJ=0,UJ=0,Kx=!1,VJ=v(Jx),Lx=VJ.next();!Lx.done;Lx=VJ.next())for(var WJ=v(Lx.value.resources),Mx=WJ.next();!Mx.done;Mx=WJ.next()){var XJ=Mx.value;switch(XJ.resourceType){case "Html":RJ++;Kx=Kx||Cc(XJ.g,"<");break;case "IFrame":SJ++;break;case "Static":TJ++;break;default:UJ++}}T(U(),"nlrh",RJ.toString());T(U(),"nlri",SJ.toString());T(U(),"nlrs",TJ.toString());T(U(),"nlru",UJ.toString());T(U(),"nlrhc",Kx.toString())}break;case "CompanionAds":b.fe=OH(e);var Nx=b.fe.g;T(U(),"ccc",Nx.length.toString()); if(Nx.length>0){for(var ZJ=0,$J=0,aK=0,bK=0,Ox=!1,cK=v(Nx),Px=cK.next();!Px.done;Px=cK.next())for(var dK=v(Px.value.resources),Qx=dK.next();!Qx.done;Qx=dK.next()){var eK=Qx.value;switch(eK.resourceType){case "Html":ZJ++;Ox=Ox||Cc(eK.g,"<");break;case "IFrame":$J++;break;case "Static":aK++;break;default:bK++}}T(U(),"ccrh",ZJ.toString());T(U(),"ccri",$J.toString());T(U(),"ccrs",aK.toString());T(U(),"ccru",bK.toString());T(U(),"ccrhc",Ox.toString())}break;case "UniversalAdId":var fK=b.fb,g1=fK.push, Rx=V(e);Rx||(Rx=e.getAttribute("idValue"));var h1=e.getAttribute("idRegistry");g1.call(fK,new iF({hf:h1,jf:Rx}))}}return new jF(b)},OH=function(a){var b=[],c=a.getAttribute("required");c!="any"&&c!="all"&&(c="none");a=v(Ye(a));for(var d=a.next();!d.done;d=a.next()){var e=d.value;if(e.nodeName=="Companion"){d=b;var f=d.push,g=IH(e),h=e.getAttribute("id"),k=e.getAttribute("adSlotID"),m=e.getAttribute("apiFramework"),p=e.getAttribute("width")==="fluid"&&e.getAttribute("height")==="fluid",n=uH(e,"width"), r=uH(e,"height"),u=[],t=null,z=[],A;e=v(Ye(e));for(A=e.next();!A.done;A=e.next()){var H=A.value;switch(H.nodeName){case "TrackingEvents":u=CH(H);break;case "CompanionClickThrough":A=V(H);A==null||D(A)||(t=EH(H,A));break;case "CompanionClickTracking":if(A=V(H),A!=null&&!D(A)){var F=yH(H);z.push(new FE(A,H.getAttribute("id"),F))}}}f.call(d,new UE({id:h,Bd:k,fa:m,width:n,height:r,lb:p,Uf:t,Vf:z,resources:g,X:u}))}}return new VE(b,c)};var RH=function(){var a={lj:[new QH,new JG]};var b=a.lj===void 0?[]:a.lj;a=a.Sl===void 0?[]:a.Sl;this.j=b;this.g=a},SH=function(a,b){a:{var c=v(a.j);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.l(b)){c=d;break a}c=null}if(c!=null){c=c.j(b);a=v(a.g);for(d=a.next();!d.done;d=a.next())d.value.g(b,c);return c}throw new MG("Ad Provider was not found for ad.",1014);},TH=function(a,b){a.g.unshift(b)};var UH=function(a,b){this.j=a;this.g=b===void 0?null:b};var VH=function(a,b){qF.call(this,a);this.g=b};q(VH,qF);var QH=function(){};q(QH,JG);QH.prototype.l=function(a){a=(a.g.length<1?null:a.g[0]).Sa;return a instanceof AG?a.qa.find(function(b){return b.Ub!=null})!=null:!1};QH.prototype.j=function(a){var b=new EE;this.g(a,b);return b}; QH.prototype.g=function(a,b){JG.prototype.g.call(this,a,b);for(var c=v(a.g),d=c.next();!d.done;d=c.next())d=d.value,WH(d,b),d=d.Sa,d instanceof AG&&(b.description=d.description);a:if(c=a.g.length<1?null:a.g[0])if(d=pF(a,UH),d.length>0)for(a=v(d),c=a.next();!c.done;c=a.next())c=c.value,c.j&&(b.Ob=c.g?c.g:5E3);else{c=v(c.Sa.qa);for(d=c.next();!d.done;d=c.next())if((d=d.value.Ub)&&d.Ob!=null){b.Ob=d.Ob;break a}c=pF(a,qF);c=v(c);for(d=c.next();!d.done;d=c.next()){d=v(d.value.X);for(var e=d.next();!e.done;e= d.next())if(e.value.eventType=="skip"){b.Ob=5E3;break a}}a=pF(a,VH);a=v(a);for(c=a.next();!c.done;c=a.next())if(c.value.g=="Generic"){b.Ob=5E3;break}}}; var WH=function(a,b){for(var c=v(a.Sa.qa),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.Ub;if(e){b.creativeId=d.id;b.o=d.adId;b.fb=d.fb.map(function(k){return new DE(k.jf,k.hf)});for(var f=v(e.X),g=f.next();!g.done;g=f.next())mB(b,hB(g.value));if(f=e.yd){g=v(f.yc);for(var h=g.next();!h.done;h=g.next())h=h.value,mB(b,iB("click",h.url,h.g,h.id));g=v(f.Ve);for(h=g.next();!h.done;h=g.next())h=h.value,h.id&&mB(b,new gB(h.id,h.url))}a.Sa instanceof AG&&(b.Hb=d.Ub.duration,e.ka&&(b.ka=e.ka),f&&f.Ib&& (b.N=f.Ib.url,b.A=JE(f.Ib),b.B=f.Ib.g))}}};var XH=function(a){L.call(this);this.C=1;this.l=[];this.o=0;this.g=[];this.j={};this.D=!!a};Wa(XH,L);var YH=function(a,b,c,d){if(b=a.j[b]){var e=a.g;if(b=b.find(function(f){return e[f+1]==c&&e[f+2]==d}))return a.A(b)}return!1};XH.prototype.A=function(a){var b=this.g[a];if(b){var c=this.j[b];this.o!=0?(this.l.push(a),this.g[a+1]=function(){}):(c&&lb(c,a),delete this.g[a],delete this.g[a+1],delete this.g[a+2])}return!!b}; XH.prototype.B=function(a,b){var c=this.j[a];if(c){var d=Array(arguments.length-1),e=arguments.length,f;for(f=1;f0&&this.o==0)for(;c=this.l.pop();)this.A(c)}}return f!=0}return!1};var ZH=function(a,b,c){Tt(function(){a.apply(b,c)})}; XH.prototype.clear=function(a){if(a){var b=this.j[a];b&&(b.forEach(this.A,this),delete this.j[a])}else this.g.length=0,this.j={}};XH.prototype.P=function(){XH.Xb.P.call(this);this.clear();this.l.length=0};var $H=function(a){L.call(this);this.g=new XH(a);M(this,this.g)};Wa($H,L);var aI=function(a,b,c,d){a=a.g;b=b.toString();var e=a.j[b];e||(e=a.j[b]=[]);var f=a.C;a.g[f]=b;a.g[f+1]=c;a.g[f+2]=d;a.C=f+3;e.push(f)},bI=function(a,b,c){return a.g.B(b.toString(),c)};$H.prototype.clear=function(a){this.g.clear(a!==void 0?a.toString():void 0)};function cI(a,b,c,d){aI(b,c,d);So(a,function(){return void YH(b.g,c.toString(),d)})};function dI(a,b){b=b!=null?b:"";Ud&&(b="");if(!D(E(a))){var c=!gd(a)&&bB.test(a)?new ed(a):a;a=gd(c)?c:md(a);c=window;a=rd(a);a!==void 0&&c.open(a,"_blank",b)}};var fI=mf(eI);function eI(){for(var a="",b=v(gI()),c=b.next();!c.done;c=b.next())c=c.value,c<=15&&(a+="0"),a+=c.toString(16);return a} function gI(){var a;if(typeof((a=window.crypto)==null?void 0:a.getRandomValues)==="function")return a=new Uint8Array(16),window.crypto.getRandomValues(a),a;a=window;var b;if(typeof((b=a.msCrypto)==null?void 0:b.getRandomValues)==="function")return b=new Uint8Array(16),a.msCrypto.getRandomValues(b),b;a=Array(16);for(b=0;b=0&&f++;g=v(b.g);for(h=g.next();!h.done;h=g.next())h=h.value,d+=h.Ga+",",h.url.indexOf("gvt1.com")>=0&&f++;g=v(b.j);for(h=g.next();!h.done;h=g.next())h=h.value,e+=h.Ga+",",h.url.indexOf("gvt1.com")>=0&&f++;g=v(b.A);for(h=g.next();!h.done;h=g.next())h=h.value,h.mimeType=="application/dash+xml"?T(U(),"ghmsh_hd", "1"):h.mimeType=="application/vnd.apple.mpegurl"&&T(U(),"ghmsh_hh","1");T(U(),"ghmsh_mi",c);T(U(),"ghmsh_vi",d);T(U(),"ghmsh_ai",e);T(U(),"ghmsh_gvt",f.toString());a=rI(a,b);a||(WB(U(),"ghmsh_f"),b.l.length>0?a=sI(b.l[0]):b.j.length>0&&b.g.length>0?a=tI(b.g[0],b.j[0]):(WB(U(),"ghmsh_ff"),a=null));return a?((c=a)?(T(U(),"ams","1"),c.getWidth()&&c.getHeight()&&T(U(),"vs",c.getWidth()+"x"+c.getHeight()),c.Ea&&T(U(),"vc",c.Ea),c instanceof SE?(c.g&&T(U(),"mt",c.g),c.getMediaUrl().indexOf("gvt1.com")>= 0&&T(U(),"gvt1","1"),lI(c.getMediaUrl())):c instanceof RE&&(c.g&&T(U(),"mt",c.g),c.o&&(T(U(),"bit",String(c.o)),c.j.indexOf("gvt1.com")>=0&&T(U(),"gvt1","1")),c.l&&T(U(),"bait",String(c.l)),lI(c.j))):T(U(),"ams","0"),uI(a),oB(vC)&&(b=(b=vI(b,18))?b:null)?[a,b]:[a]):[]},rI=function(a,b){var c=null,d=null;a=v(a.g);for(var e=a.next();!e.done;e=a.next()){var f=e.value;switch(f.type){case "dash":if(c=wI(b,"application/dash+xml"))return c;break;case "hls":if(c=wI(b,"application/vnd.apple.mpegurl"))return c; break;case "itag":if(f.Rd)c=vI(b,f.Rd);else if(f.Si&&f.dm){e=c=void 0;var g=b,h=f.Si;f=f.dm;for(var k=v(g.g),m=k.next();!m.done;m=k.next())m=m.value,m.Ga==h&&(e=m);if(f)for(g=v(g.j),h=g.next();!h.done;h=g.next())h=h.value,h.Ga==f&&(c=h);c=e&&c?tI(e,c):e?sI(e):null;c instanceof SE&&d==null&&(d=c,c=null)}else if(f.Si){c=void 0;e=f.Si;f=v(b.g);for(g=f.next();!g.done;g=f.next())g=g.value,g.Ga==e&&(c=g);c=c?new RE({Ff:c.url,rj:"",Jk:c.Ga,pj:null,Kk:c.mimeType,qj:"",Ea:c.Ea,Oa:"",height:c.height,width:c.width, Ba:c.Ba||!1,ko:c.Yc,cm:0}):null}if(c)return c}}return d},wI=function(a,b){a=v(a.A);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.mimeType==b)return sI(c);return null},vI=function(a,b){a=v(a.l);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.Ga==b)return sI(c);return null},sI=function(a){return new SE({mn:a.url,mimeType:a.mimeType,Ga:a.Ga,Ea:a.Ea,Oa:a.Oa,height:a.height,width:a.width,Ba:a.Ba||!1,Yc:a.Yc})},tI=function(a,b){return new RE({Ff:a.url,rj:b.url,Jk:a.Ga,pj:b.Ga,Kk:a.mimeType, qj:b.mimeType,Ea:a.Ea,Oa:b.Oa,height:a.height,width:a.width,Ba:a.Ba&&b.Ba||!1,ko:a.Yc,cm:b.Yc})},uI=function(a){a=mI(a);var b,c;a&&((b=navigator)==null?0:(c=b.mediaCapabilities)==null?0:c.decodingInfo)&&navigator.mediaCapabilities.decodingInfo(a).then(function(d){T(U(),"mcsu",d.supported?"1":"0");T(U(),"mcsm",d.smooth?"1":"0");T(U(),"mcpe",d.powerEfficient?"1":"0")})};var xI=function(a){this.g=a};xI.prototype.toString=function(){return this.g};var yI=[];function zI(a){a=new xI(a);yI.push(a);return a}zI("imalib_instrumentation");zI("simid_video_addon_pause");zI("simid_video_addon_play");zI("simid_video_addon_stop");zI("request_resize");zI("video_creative_resize_result");zI("ui_ad_clicked");zI("ui_endcap_impression");zI("ui_replay_icon_clicked");zI("ui_skip_to_endcap_clicked");zI("ui_continue_button_clicked");zI("ui_play_pause_clicked");zI("ui_play_resume_clicked");zI("ui_play_pause_hidden");zI("ui_play_pause_shown");zI("ui_mute_button_clicked"); zI("ui_skip_shown");zI("ui_skip_clicked");zI("ui_learn_more_clicked");zI("ui_author_icon_clicked");zI("ui_ad_author_clicked");zI("ui_ad_title_clicked");zI("ui_wta_clicked");zI("ui_cta_clicked");var AI=zI("ui_close_countdown_complete");zI("update_action_title");zI("video_time_update");zI("accumulated_video_time");zI("animate_time_update");zI("video_reward_granted");zI("video_show_endcard");zI("video_player_end");zI("video_player_pause");zI("video_player_play_attempted");zI("video_player_play");zI("video_player_volume_change"); zI("video_player_media_loaded");zI("video_player_start");zI("video_player_focus_ui_element");zI("video_error");zI("request_cta_url_for_qr");zI("receive_cta_for_qr");zI("och_click");zI("close_ad");zI("request_change_ad_duration");zI("ad_duration_change_result");var BI=new xI("ad_author_icon_update"),CI=new xI("ad_author_update"),DI=new xI("ad_cta_text_update"),EI=new xI("ad_title_update"),FI=new xI("in_creative_widget_shown"),GI=new xI("in_creative_widget_hidden"),HI=new xI("in_creative_widget_navigation_dispatched"),II=new xI("gpid_consent_data_changed"),JI=function(a,b,c){this.type=a;this.j=b;this.g=c},KI=new xI("publisher_invoked_skip"),LI=new xI("ui_ad_attribution_clicked"),MI=new xI("ui_ad_author_clicked"),NI=new xI("ui_ad_clicked"),OI=new xI("ui_ad_mouse_enter"), PI=new xI("ui_ad_mouse_over"),QI=new xI("ui_ad_mouse_leave"),RI=new xI("ui_author_icon_clicked"),SI=new xI("ui_ad_title_clicked"),TI=new xI("ui_close_button_clicked"),UI=new xI("ui_close_button_shown"),VI=new xI("ui_close_countdown_shown"),WI=new xI("ui_close_countdown_timeout"),XI=new xI("ui_endcap_learn_more_clicked"),YI=new xI("ui_focus_element"),ZI=new xI("ui_focus_skip_button"),$I=new xI("ui_icon_fallback_image_closed"),aJ=new xI("ui_learn_more_clicked"),bJ=new xI("ui_sandboxed_iframe_loaded"), cJ=function(a,b){this.Cb=a;this.Db=b},dJ=new xI("ui_overlay_clicked"),eJ=new xI("ui_overlay_faded"),fJ=new xI("ui_overlay_rendered"),gJ=new xI("ui_play_pause_clicked"),hJ=new xI("ui_play_pause_hidden"),iJ=new xI("ui_play_pause_shown"),jJ=new xI("ui_recall_button_clicked"),kJ=new xI("ui_skip_clicked"),lJ=new xI("ui_skip_shown"),mJ=new xI("ui_vast_icon_clicked"),nJ=new xI("ui_vast_icon_rendered"),oJ=new xI("ui_wta_clicked"),pJ=new xI("video_clicked"),qJ=new xI("video_pause"),rJ=new xI("video_ad_shown"), YJ=new xI("video_started"),gK=function(a,b,c,d,e){this.currentTimeSeconds=a;this.durationSeconds=b;this.bufferedTimeSeconds=c===void 0?null:c;this.adPosition=d===void 0?null:d;this.totalAds=e===void 0?null:e},hK=new xI("video_time_update");var iK=function(){return Xz('
')},jK=function(){return Xz('
')},kK=function(a){a=a.Fh;return Xz('
'+$z(a)+"
")};var lK=function(a){a=a||{};a=a.li;return Xz('
'+$z(a)+"
")},mK=function(a){a=a.li;return Xz('
'+$z(a)+"
")};var nK=function(){N.call(this);this.element=null;this.g=new VG(this);M(this,this.g)};q(nK,N);nK.prototype.P=function(){this.g=null};var qK=function(a,b){nK.call(this);this.l=this.j=null;this.element=AA(iK,{});a.appendChild(this.element);this.g.listen(this.element,"touchmove",function(c){c.preventDefault()});oK(this);pK(this,b);(parseInt(Qn(a,"width"),10)||parseInt(a.getAttribute("width"),10))<=400&&tz(this.element,"videoAdUi-mobile");this.da()};q(qK,nK); var oK=function(a){a.j=AA(jK,{});a.element.appendChild(a.j);a.g.listen(a.j,"click",function(b){WB(U(),"sic");b.stopPropagation()})},pK=function(a,b){a.l=AA(kK,{Fh:b||"Learn More "});a.element.appendChild(a.l);a.g.listen(Ke("callToActionButton",a.element),"click",function(c){WB(U(),"ecbc");a.dispatchEvent("video_card_endcap_action");c.stopPropagation()})};qK.prototype.show=function(){bo(this.element,!0)};qK.prototype.da=function(){bo(this.element,!1)}; qK.prototype.P=function(){Xe(this.element);this.element=null;nK.prototype.P.call(this)};var rK=function(){return Xz('
')};var tK=function(a){nK.call(this);this.l=a;this.j=null;this.element=AA(rK,{});sK(this)};q(tK,nK);var sK=function(a){a.j=Ke("advertiserChannelThumbnail",a.element);a.g.listen(a.j,"click",function(){a.l?WB(U(),"ectc"):WB(U(),"ctc")});a.g.listen(Ke("advertiserHeadline",a.element),"click",function(){a.l?WB(U(),"eadc"):WB(U(),"adc")});a.g.listen(Ke("advertiserDescription",a.element),"click",function(){a.l?WB(U(),"eahc"):WB(U(),"ahc")})};tK.prototype.P=function(){Xe(this.element);this.element=null;nK.prototype.P.call(this)};var uK=function(){N.call(this);this.g=new VG(this);M(this,this.g)};q(uK,N);uK.prototype.P=function(){this.g=null};uK.prototype.Nf=function(){};var vK=function(){uK.apply(this,arguments)};q(vK,uK);vK.prototype.Gf=function(){};var wK=function(a){a=a===void 0?!1:a;vK.call(this);this.j=new tK(a);this.A=Ke("advertiserChannelThumbnail",this.j.element);this.l=Ke("advertiserDescription",this.j.element);this.o=Ke("advertiserHeadline",this.j.element)};q(wK,vK);wK.prototype.Ne=function(a){if(a){var b=this.j;b.j.setAttribute("src",a);On(b.j,"display","inline")}};wK.prototype.lh=function(a){a&&this.o&&$e(this.o,a)};wK.prototype.Gf=function(a){a&&this.l&&$e(this.l,a)}; wK.prototype.Nf=function(a){a.insertBefore(this.j.element,a.childNodes[0]||null)};var xK=function(a){a.g.listen(a.A,"click",function(b){b.stopPropagation();a.dispatchEvent("video_card_endcap_action")});a.g.listen(a.l,"click",function(b){b.stopPropagation();a.dispatchEvent("video_card_endcap_action")});a.g.listen(a.o,"click",function(b){b.stopPropagation();a.dispatchEvent("video_card_endcap_action")})};var AK=function(a,b){a=a.Xd;return Xz('
'+yK(null,b)+zK(a)+"
")},yK=function(){var a='
')},BK=function(a){a=a||{};var b=a.ih,c="";return c=a.rc?c+("You can skip in "+ b):c+("You can skip this ad in "+b)},CK=function(a){return zK(a.Xd)},zK=function(a){var b='
'; return Xz(b)};var DK=function(){N.call(this);this.j=0;this.endTime=this.startTime=null};Wa(DK,N);var EK=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return typeof c==="string"?c:c.Nc+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});On(a,"transition",b.join(","))},FK=mf(function(){var a=Te(document,"DIV"),b=Wd?"-webkit":Vd?"-moz":null,c="transition:opacity 1s linear;";b&&(c+=b+"-transition:opacity 1s linear;");vd(a,oe({style:c}));a=a.firstChild;b=a.style[Md("transition")];return(typeof b!=="undefined"?b:a.style[Nn(a,"transition")]||"")!=""});var GK=function(a,b,c,d,e){DK.call(this);this.g=a;this.A=b;this.B=c;this.l=d;this.D=Array.isArray(e)?e:[e]};Wa(GK,DK);l=GK.prototype;l.play=function(){if(this.j==1)return!1;this.dispatchEvent("begin");this.dispatchEvent("play");this.startTime=Ua();this.j=1;if(FK())return On(this.g,this.B),this.o=mu(this.In,void 0,this),!0;this.mh(!1);return!1};l.In=function(){Zn(this.g);EK(this.g,this.D);On(this.g,this.l);this.o=mu(Sa(this.mh,this,!1),this.A*1E3)};l.stop=function(){this.j==1&&this.mh(!0)}; l.mh=function(a){On(this.g,"transition","");nu(this.o);On(this.g,this.l);this.endTime=Ua();this.j=0;a?this.dispatchEvent("stop"):this.dispatchEvent("finish");this.dispatchEvent("end")};l.P=function(){this.stop();GK.Xb.P.call(this)};l.pause=function(){};var HK=function(a,b){return new GK(a,b,{opacity:0},{opacity:1},{Nc:"opacity",duration:b,timing:"ease-out",delay:0})};var JK=function(a){nK.call(this);this.F=this.D=this.j=this.o=this.B=this.A=this.l=null;IK(this,a)};q(JK,nK); var IK=function(a,b){a.l=AA(yK);a.A=Ke("videoAdUiPreSkipButton",a.l);a.B=Ke("videoAdUiPreSkipText",a.A);a.j=AA(CK,{Xd:uc("Skip Ad ")});a.o=Ke("videoAdUiSkipButton",a.j);bo(a.l,!1);b.appendChild(a.l);b.appendChild(a.j);a.g.listen(a.o,"click",function(c){c.stopPropagation();a.dispatchEvent("click")})},KK=function(a){a.A.style.backgroundColor="black";a.o.style.backgroundColor="black"},LK=function(a){bo(a.j,!1);ao(a.j,0)};JK.prototype.show=function(){bo(this.A,!0);bo(this.o,!0)}; JK.prototype.da=function(){bo(this.A,!1);bo(this.o,!1)};JK.prototype.P=function(){Ro(this.D);this.D=null;Ro(this.F);this.F=null;this.l&&(Xe(this.l),this.l=null);this.o&&(this.o=null);this.j&&(Xe(this.j),this.j=null);nK.prototype.P.call(this)};var MK=function(){if(Zd){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Gc()))?a[1]:"0"}return Yd?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(Gc()))?a[0].replace(/_/g,"."):"10"):$d?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Gc()))?a[1]:""):ae||be||ce?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Gc()))?a[1].replace(/_/g,"."):""):""}();var OK=function(a,b){uK.call(this);this.l=b;this.j=new JK(a);this.o=b==0?3:1;M(this,this.j);NK(this)};q(OK,uK);var NK=function(a){PK(a);$d&&MK==="4.4.4"&&KK(a.j);a.l==0?a.dispatchEvent("skipShown"):LK(a.j);a.g.listen(a.j,"click",function(){a.o==3&&a.dispatchEvent("videoSkipClicked")})},PK=function(a){if(!(a.l<0)){var b=Math.ceil(a.l-0),c=b.toString();b>=60&&(c=RC(b));$e(a.j.B,BK({ih:c}))}};OK.prototype.skip=function(){return this.l>=0&&this.o==3?(this.dispatchEvent("publisher_invoked_skip"),!0):!1}; OK.prototype.show=function(){this.j.show()};OK.prototype.da=function(){this.j.da()};var QK=function(a,b,c){uK.call(this);var d=this;this.o=new qK(a,c);this.B=0;this.D=b;this.j=null;this.l=new wK(!0);this.g.listen(this.o,"video_card_endcap_action",function(){d.dispatchEvent("video_card_endcap_action")});M(this,this.o);this.l.aa=this;this.l.Nf(this.o.l);xK(this.l);M(this,this.l);this.A=new OK(this.o.element,0);this.A.aa=this;M(this,this.A);b>0&&(this.j=new lu(100),M(this,this.j),this.g.listen(this.j,"tick",this.xn))};q(QK,uK); var RK=function(a,b){var c=c===void 0?!1:c;if(b){var d=Ke("advertiserVideoThumbnail",a.o.j);d.setAttribute("src",b);c&&(On(d,{width:"100%",pointer:"cursor"}),a.g.listen(d,"click",function(){a.dispatchEvent("click")}))}};l=QK.prototype;l.skip=function(){return this.A!=null?(this.dispatchEvent("video_card_endcap_dismiss"),this.A.skip()):!1};l.show=function(){this.o.show();this.B=Date.now();this.j&&this.j.start();this.dispatchEvent("video_card_endcap_impression")}; l.da=function(){this.o.da();this.j&&this.j.stop();this.dispatchEvent("video_card_endcap_collapse")};l.xn=function(){this.dispatchEvent("timeupdate");(this.B>0?Date.now()-this.B:0)>=this.D&&this.da()};l.pause=function(){this.j&&this.j.stop()};var SK=function(a){a=a.Fh;return Xz('
'+$z(a)+"
")};var UK=function(a){nK.call(this);var b=this;this.element=AA(SK,{Fh:a||"Learn More "});a=function(){return b.dispatchEvent("click")};this.j=Ke("videoAdUiActionCtaInset",this.element);this.o=Ke("videoAdUiActionCtaText",this.j);TK(this,this.o,"fctc",a);this.A=Ke("videoAdUiActionCtaLink",this.j);TK(this,this.A,"fcvuc",a);this.l=Ke("videoAdUiActionCtaIconContainer",this.j);TK(this,this.l,"fctnc",a);TK(this,Ke("videoAdUiActionCtaButton",this.j),"fcabc",function(){return b.dispatchEvent("click")});TK(this, Ke("videoAdUiActionCtaInset",this.j),"fcbgc",a);TK(this,Ke("actionCtaCollapsibleContainer",this.j),"fcbgc",a)};q(UK,nK);var TK=function(a,b,c,d){d=d===void 0?null:d;b!=null&&a.g.listen(b,"click",function(e){e.stopPropagation();WB(U(),c);d&&(SB(U().g),d())})};UK.prototype.show=function(){bo(this.element,!0)};UK.prototype.da=function(){bo(this.element,!1)};var VK=function(a){vK.call(this);this.j=new UK(a)};q(VK,vK);l=VK.prototype;l.Nf=function(a){var b=this;a.insertBefore(this.j.element,a.childNodes[0]||null);this.g.listen(this.j,"click",function(){b.dispatchEvent("ctaClicked")})};l.lh=function(a){a&&$e(this.j.o,a)};l.Ne=function(a){var b=this.j,c=Te(document,"IMG");c.setAttribute("onerror",'this.style.display="none"');c.setAttribute("src",a);tz(c,"videoAdUiActionIcon");b.l.appendChild(c);On(b.l,"display","inline")}; l.Gf=function(a){a&&$e(this.j.A,a)};l.show=function(){this.j.show()};l.da=function(){this.j.da()};var WK=function(a){L.call(this);this.I=a};q(WK,L);WK.prototype.build=function(){};var XK=function(a){a=a===void 0?null:a;L.call(this);this.g=new VG(this);M(this,this.g);this.o=a};q(XK,L);var YK=function(a,b,c,d){a.o&&(aI(a.o,b,c,d),So(a,function(){YH(a.o.g,b.toString(),c,d)}))},ZK=function(a,b,c){return bI(a.o,b,c)};var $K=function(a,b){XK.call(this);b&&a.l&&a.l.setAttribute("data-ck-navigates","true")};q($K,XK);var aL=function(a,b,c){c=c===void 0?null:c;XK.call(this,b);var d=this;this.l=a;M(this,this.l);(this.j=c)&&this.g.listen(this.l,"click",function(){d.j&&ZK(d,d.j,null)})};q(aL,XK);var bL=function(a,b,c,d){XK.call(this,b);var e=this;this.j=a;M(this,this.j);this.g.listen(this.j,"click",function(){ZK(e,c,null)});YK(this,d,this.l,this)};q(bL,XK);bL.prototype.l=function(a){this.j.l(a);this.j.show()};var dL=function(a,b,c,d,e){d=d===void 0?0:d;e=e===void 0?0:e;XK.call(this,b);var f=this;this.j=a;M(this,this.j);this.aa=c;this.A=d;this.K=e;this.L=null;this.B=this.D=this.l=this.G=!1;cL(this,this.A);YK(this,hK,this.C,this);YK(this,rJ,this.F,this);YK(this,YJ,this.O,this);this.g.listen(this.j,"click",function(){f.l&&ZK(f,f.aa,null)})};q(dL,XK);dL.prototype.C=function(a){!a||a.currentTimeSeconds<0||a.durationSeconds<0||(this.l?this.o&&YH(this.o.g,hK.toString(),this.C,this):cL(this,this.A-a.currentTimeSeconds))}; var cL=function(a,b){if(b<=0)b=a.j,bo(b.l,!0),bo(b.j,!1),a.l=!0,ZK(a,UI,null),a.A>0&&!a.B&&(ZK(a,AI,null),a.B=!0);else{var c=a.j;bo(c.l,!1);bo(c.j,!0);$e(c.j,Math.ceil(b).toString());a.D||(ZK(a,VI,null),a.D=!0)}};dL.prototype.F=function(){var a=this;this.K>0&&!this.L&&(this.L=mu(function(){if(!a.G){var b=a.j;bo(b.l,!0);bo(b.j,!1);a.l=!0;ZK(a,UI,null);ZK(a,WI,null);a.o&&YH(a.o.g,rJ.toString(),a.F,a)}},this.K*1E3))};dL.prototype.O=function(){this.G=!0};var fL=function(a,b,c){XK.call(this,b);var d=this;this.j=a;this.C=c;YK(this,jJ,function(){eL(d,500)},this);eL(this,2E3)};q(fL,XK);var eL=function(a,b){a.j.Wd(!1);a.g.pa(a.j,"click",a.A);a.l&&clearTimeout(a.l);a.l=setTimeout(function(){a.j.Wd(!0);a.g.listen(a.j,"click",a.A)},b)};fL.prototype.A=function(a){a instanceof kt&&a.g!=null&&a.l!=null?a=new cJ(a.g,a.l):(a.nodeType==1?a=Vn(a):(a=a.changedTouches?a.changedTouches[0]:a,a=new ge(a.clientX,a.clientY)),a=new cJ(a.x,a.y));ZK(this,this.C,a)};var gL=function(a,b){XK.call(this,b);this.view=a};q(gL,XK);gL.prototype.show=function(){this.view.show()};gL.prototype.da=function(){this.view.da()};var hL=function(a,b,c){c=c===void 0?!1:c;XK.call(this,b);var d=this;this.g.listen(a,"click",function(){ZK(d,NI,null)});c?this.g.listen(a,"mouseover",function(){ZK(d,PI,null)}):this.g.listen(a,"mouseenter",function(){ZK(d,OI,null)});this.g.listen(a,"mouseleave",function(){ZK(d,QI,null)})};q(hL,XK);var iL=function(a,b,c,d){d=d===void 0?45E3:d;XK.call(this,b);this.j=a;M(this,this.j);this.F=c;this.G=d;this.D=this.C=!1;YK(this,TI,this.Fm,this);YK(this,jJ,this.Im,this);this.g.listen(this.j,"mouseover",this.Um);this.g.listen(this.j,"mouseout",this.ao);this.j.pk(400);this.play()};q(iL,XK);l=iL.prototype;l.play=function(){var a=this;this.l==null&&(this.l=mu(function(){a.C||(a.da(),a.D=!0);a.l=null},this.D?15E3:this.G,this))};l.stop=function(){this.l!=null&&(nu(this.l),this.l=null)}; l.Um=function(){var a=this;this.show();this.C=!0;this.B=mu(function(){a.C&&a.stop();a.B=null},1E3,this)};l.ao=function(){this.B!=null&&(nu(this.B),this.B=null);this.C&&this.play();this.C=!1};l.show=function(){this.j.ej();this.A!=null&&(nu(this.A),this.A=null)};l.da=function(){var a=this;this.j.Fj();this.A==null&&(this.A=mu(function(){a.F&&a.j.da();a.A=null;ZK(a,eJ,null)},400,this))};l.Fm=function(){this.j.da();ZK(this,eJ,null)};l.Im=function(){this.j.show()};var jL=function(a,b,c){L.call(this);this.j=a;this.C=b||0;this.l=c;this.A=Sa(this.o,this)};Wa(jL,L);jL.prototype.g=0;jL.prototype.P=function(){jL.Xb.P.call(this);this.stop();delete this.j;delete this.l};jL.prototype.start=function(a){this.stop();this.g=mu(this.A,a!==void 0?a:this.C)};var kL=function(a){a.isActive()||a.start(void 0)};jL.prototype.stop=function(){this.isActive()&&nu(this.g);this.g=0};jL.prototype.isActive=function(){return this.g!=0};jL.prototype.o=function(){this.g=0;this.j&&this.j.call(this.l)};var oL=function(a,b,c){c=c===void 0?!1:c;XK.call(this,b);var d=this;this.A=!1;this.l=a;M(this,this.l);this.B=c;lL(this.l,c);this.C=!c;c?mL(this):nL(this);this.j=new jL(function(){return void nL(d)},2E3);this.g.listen(this.l,"click",function(){ZK(d,gJ,!d.B);d.j.stop();d.A&&kL(d.j)});YK(this,NI,function(){mL(d);kL(d.j)},this);Xd||(YK(this,OI,function(){mL(d);d.j.stop();d.A&&kL(d.j)},this),YK(this,PI,function(){mL(d);d.j.stop();d.A&&kL(d.j)},this),YK(this,QI,function(){if(!d.B||d.A){var e=d.j;e.stop(); e.o()}},this));YK(this,qJ,function(e){lL(d.l,e);(d.B=e)?mL(d):d.A||nL(d);d.A&&kL(d.j)},this)};q(oL,XK);var mL=function(a){a.C||(a.C=!0,ZK(a,iJ,null),a.l.show())},nL=function(a){a.C&&(a.C=!1,ZK(a,hJ,null),a.l.da())},pL=function(a){a.A=!0;tz(a.l.element,"fullScreen")};var qL=function(a,b){XK.call(this,b);this.j=a;M(this,this.j);YK(this,hK,this.l,this)};q(qL,XK);qL.prototype.l=function(a){a&&this.j.j(a.currentTimeSeconds,a.durationSeconds,a.adPosition,a.totalAds)};var rL=function(a,b,c){XK.call(this,b);var d=this;this.j=a;M(this,this.j);this.j.da();this.g.listen(this.j,"click",function(){ZK(d,jJ,null);d.j.da()});YK(this,c,function(){d.j.show()},this)};q(rL,XK);var uL=function(a,b,c,d){d=d===void 0?0:d;XK.call(this,b);var e=this;this.l=c;this.D=d;this.j=a;M(this,this.j);this.A=this.l==0?3:1;sL(this,0);this.l==0?ZK(this,lJ,null):tL(this.j);this.g.listen(this.j,"click",function(){e.A==3&&ZK(e,kJ,null)});YK(this,hK,this.C,this);YK(this,ZI,this.B,this)};q(uL,XK); uL.prototype.C=function(a){if(a&&!(a.durationSeconds<=this.D||this.l<0||this.l>=a.durationSeconds||this.A==3)){if(a.currentTimeSeconds<=this.l){if(this.A!=2){sL(this,0);var b=this.j;HK(b.l,b.B).play();bo(b.l,!0)}this.A=2}else{b=this.j;bo(b.o,!0);var c=b.B;c=new GK(b.l,c,{opacity:1,visibility:"shown"},{opacity:.9,visibility:"hidden"},{Nc:"opacity",duration:c,timing:"ease-out",delay:0});b=HK(b.o,b.B);c.play();b.play();this.A=3;ZK(this,lJ,null)}this.A==2&&sL(this,a.currentTimeSeconds)}}; var sL=function(a,b){if(!(a.l<0)){var c=Math.ceil(a.l-b);b=c.toString();c>=60&&(b=RC(c));a=a.j;b={ih:b,rc:a.F};a.G?$e(a.D,""+(b||{}).ih):$e(a.D,BK(b))}};uL.prototype.B=function(){var a=this.j;a.j&&a.j.focus()};var yL=function(a,b,c,d){d=d===void 0?!1:d;XK.call(this,b);var e=this;this.l=a;M(this,this.l);this.j=c;this.B=d;this.A=!1;(a=this.j.o)?(this.l.l(a),this.g.listen(this.l,"click",function(){e.l.B&&(ZK(e,mJ,e.j),vL(e))}),this.j.Ha>=0?wL(this):xL(this),(this.j.Ha>=0||this.j.Hb>=0)&&YK(this,hK,this.C,this)):wL(this)};q(yL,XK); yL.prototype.C=function(a){if(a){var b=this.j.Ha>=0?this.j.Ha:0,c=this.j.Hb>=0?this.j.Hb+b:-1;c>=0&&a.currentTimeSeconds*1E3>=c?(wL(this),zL(this)):a.currentTimeSeconds*1E3>=b&&(xL(this),c<0&&zL(this))}}; var zL=function(a){a.o&&YH(a.o.g,hK.toString(),a.C,a)},wL=function(a){a.l.B&&a.l.da()},xL=function(a){a.l.B||(a.l.show(),ZK(a,nJ,a.j))},vL=function(a){if(a.B&&!a.A){var b=Zn(a.l.element.parentElement),c=zE(a.j,b);if(!c){c=AE(a.j,b);b=Math.min(b.width/c.j,b.height/c.g);var d=c.clone();d.j=c.j*b;d.g=c.g*b;c=d}c&&(AL(a.l,c),(c=a.l.A)&&a.g.listen(c,"click",function(e){ZK(a,$I,a.j);e.stopPropagation();a.A&&(e=a.l,e.j&&(e.g.pa(e.j,"load",e.D,!0,e),e.g.pa(e.j,"error",e.D,!0,e),e.g.pa(e.j,"focusout"),Xe(e.j), e.element.focus(),e.j=null,e.A=null),a.A=!1)}));a.A=!0}};yL.prototype.P=function(){zL(this);XK.prototype.P.call(this)};var BL=function(){return Xz('
')};var CL=function(a){a=a||{};a=a.sa;return Xz('
'+$z(a)+"
")},DL=function(a){var b=a.Ak,c=a.adPosition;a=a.totalAds;return a>=2&&c>=1?"Ad "+c+" of "+a+" "+b:"Ad "+b};var EL=function(){return Xz('
')};var FL=function(a){a=a||{};a=a.jq;return Xz('
'+$z(a)+"
")};var GL=function(a){a=a.Zm;return Xz('
'+(a?'
':"")+'
')};var HL=function(){var a=Xz,b='
';var c=Xz(''); return a(b+c+"
")};var IL=function(a){return Xz('
")};var JL=function(){return Xz('
')},KL=function(a){var b=a.La,c=a.height,d=a.width;a=a.alt;return Xz('
'+Q(a)+'
')};var LL=function(a){var b=a.height,c=a.width;a=a.attribution;return Xz('
'+$z(a)+"
")},ML=function(a){var b=a.height,c=a.width;a=a.attribution;return Xz('
'+$z(a)+"
")},NL=function(a){var b=a.height,c=a.width,d=a.La;a=a.attribution;return Xz('
'+$z(a)+"
")},OL=function(a){var b=a.title,c=a.text,d=a.dir,e=a.attribution,f=a.image,g=a.duration;a=a.Sc;return Xz('
'+(bA(f)?'
'+(bA(g)?'
'+$z(g)+"
":"")+"
":"")+'
'+$z(a)+"
":"")+'
'+$z(e)+ "
")};var PL=function(){var a=Xz,b='
';var c=Xz('');b=b+c+'
';c=Xz(''); return a(b+c+"
")};var QL=function(){var a=Xz,b='
';var c=Xz('');return a(b+c+"
")};var RL=function(){var a='
'; return Xz(a)};var SL=function(){N.call(this);this.element=null;this.g=new VG(this);M(this,this.g)};q(SL,N);var TL=function(a,b){a.element&&b.element&&a.element.appendChild(b.element)};SL.prototype.Ia=function(){return this.element};var UL=function(){SL.call(this)};q(UL,SL);var VL=function(a,b){a.element&&b.insertBefore(a.element,b.childNodes[0]||null)};var WL=function(){SL.call(this);var a=this;this.element=AA(BL);bo(this.element,!1);this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};q(WL,SL);WL.prototype.l=function(a){$e(this.element,a)};WL.prototype.show=function(){bo(this.element,!0)};var XL=function(a){a=a===void 0?!1:a;SL.call(this);this.element=AA(CL,{sa:DL({Ak:"",adPosition:0,totalAds:0})});this.l=Ke("videoAdUiAttribution",this.element);this.o=a;this.g.listen(this.element,"click",function(b){b.stopPropagation()});bo(this.element,!1)};q(XL,SL);XL.prototype.show=function(){bo(this.element,!0)};XL.prototype.j=function(a,b,c,d){this.l&&(a=RC(b-a),c=DL({Ak:": ("+a+")",adPosition:c||0,totalAds:d||0}),this.o&&(c=a),$e(this.l,c.toString()));this.show()};var YL=function(){SL.call(this);var a=this;this.element=AA(EL);bo(this.element,!1);this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};q(YL,SL);YL.prototype.l=function(a){$e(this.element,"by "+a)};YL.prototype.show=function(){bo(this.element,!0)};var ZL=function(){SL.call(this);this.element=AA(FL);this.l=Ke("videoAdUiAutoClose",this.element);bo(this.element,!1)};q(ZL,SL);ZL.prototype.j=function(a,b){this.l&&(a=a={Mn:RC(b-a)},a="Ad will close in "+$z(a.Mn),a=Xz(a),$e(this.l,a.toString()));bo(this.element,!0)};var $L=function(a,b,c,d){d=d===void 0?!1:d;SL.call(this);var e=this;this.D=c;this.A=d;this.element=AA(GL,{Zm:this.A});a.filter(function(f){return!!f}).forEach(function(f){e.element.classList.add(f)});this.A&&this.element.classList.add("videoAdUiInstreamUxRefresh");this.j=Ke("videoAdUiTopBar",this.element);this.B=Ke("videoAdUiTopBarTextContainer",this.element);this.l=Ke("videoAdUiClickElement",this.element);b&&this.j.classList.add(b);this.o=Ke("videoAdUiBottomBar",this.element);de||KF()||this.g.listen(this.element, "touchmove",function(f){f.preventDefault()});this.g.listen(this.element,"click",function(){e.dispatchEvent("click")});this.g.listen(this.element,"mouseover",function(){e.dispatchEvent("mouseover")});this.g.listen(this.element,"mouseenter",function(){e.dispatchEvent("mouseenter")});this.g.listen(this.element,"mouseleave",function(){e.dispatchEvent("mouseleave")});bo(this.j,!1)};q($L,UL); var aM=function(a){var b=(parseInt(Qn(a.element,"width"),10)||a.element.width)<=400;a=a.element;b?tz(a,"videoAdUi-mobile"):vz(a,"videoAdUi-mobile")},bM=function(a){a.j&&bo(a.j,!0)},cM=function(a,b){a.j&&b.element&&a.j.appendChild(b.element)},dM=function(a,b){a.o&&b.element&&a.o.appendChild(b.element)};$L.prototype.Wd=function(a){On(this.element,{"pointer-events":a?"auto":"none",cursor:a&&this.D?"pointer":"auto"})}; var eM=function(a,b){b?a.g.listen(a.element,"mouseover",function(){tz(a.j,"videoAdUiTopBarTransitions")}):vz(a.j,"videoAdUiTopBarTransitions")},fM=function(a,b){a=a.j;b?tz(a,"videoAdUiTopBarCollapsed"):vz(a,"videoAdUiTopBarCollapsed")},gM=function(a,b){a=a.o;b?tz(a,"videoAdUiBottomBarCollapsed"):vz(a,"videoAdUiBottomBarCollapsed")},hM=function(a,b){a.B&&b.element&&a.B.appendChild(b.element)},iM=function(a,b){a.l&&b.element&&a.l.appendChild(b.element)}; $L.prototype.da=function(){bo(this.j,!1);bo(this.o,!1);bo(this.l,!1)};var jM=function(){SL.call(this);var a=this;this.element=AA(HL);this.j=Ke("closeCountdownText",this.element);this.l=Ke("closeButtonIcon",this.element);this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};q(jM,SL);var kM=function(a){SL.call(this);this.element=AA(IL,{backgroundImage:"data:image/png;base64,"+a.rf})};q(kM,SL);kM.prototype.show=function(){bo(this.element,!0)};kM.prototype.da=function(){bo(this.element,!1)};var lM=function(a){SL.call(this);var b=this;this.A=this.j=null;this.B=!1;this.element=AA(JL);switch(a){case "author":tz(this.element,"authorIcon");break;case "vast":tz(this.element,"vastIcon");break;case "freeplayWta":tz(this.element,"vastIcon"),tz(this.element,"freeplayAtv")}this.da();this.o=null;this.g.listen(this.element,"click",function(c){c.stopPropagation();b.dispatchEvent("click")})};q(lM,UL); lM.prototype.l=function(a){this.o||(this.o=Te(document,"IMG"));this.o.setAttribute("src",a);this.o.setAttribute("onerror",'this.style.display="none"');this.element.appendChild(this.o)};var mM=function(a,b,c){On(a.element,{height:b+"px",width:c+"px"});a.o&&(a.o.setAttribute("width",c+"px"),a.o.setAttribute("height",b+"px"))},nM=function(a,b,c){On(a.element,{position:"absolute",overflow:"hidden",left:b,bottom:c})};lM.prototype.show=function(){bo(this.element,!0);this.B=!0}; lM.prototype.da=function(){bo(this.element,!1);this.B=!1};var AL=function(a,b){a.j||(a.j=AA(KL,{La:b.l,width:b.j,height:b.g,alt:b.ib}),bo(a.j,!1),a.element.appendChild(a.j),a.A=(new jM).element,a.j.appendChild(a.A),a.g.listen(a.j,"load",a.D,!0),a.g.listen(a.j,"error",a.D,!0),a.g.listen(a.j,"focusout",function(c){c.stopPropagation();a.A.focus()}))};lM.prototype.D=function(){bo(this.j,!0);this.A.focus()};var oM=function(a){a=a===void 0?null:a;SL.call(this);var b=this;this.element=AA(mK,{li:a||"Learn More "});this.j=Ke("learnMoreButton",this.element);this.g.listen(this.j,"click",function(c){c.stopPropagation();b.dispatchEvent("click")})};q(oM,SL);oM.prototype.l=function(a){$e(this.j,a)};oM.prototype.show=function(){bo(this.element,!0)};var pM=function(){SL.call(this);var a=this;this.element=AA(lK,{li:"Learn More "});this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};q(pM,SL);var rM=function(a,b,c){L.call(this);this.j=a;this.A=b;this.B=c;this.o=0;this.g={};this.l=new VG(this);M(this,this.l);qM(this)};q(rM,L);var qM=function(a){a.B.forEach(function(b){this.l.listen(b.element,"mousedown",this.D,!0);this.l.listen(b.element,"mouseup",Ta(this.G,b),!0)},a);a.l.listen(a.A,"mouseenter",a.F)},sM=function(a,b){Hb(a.g,function(c,d){b=Cf(If(b,d),d,c)});return b};rM.prototype.D=function(){this.C=Date.now()}; rM.prototype.G=function(a,b){var c=a.element;(this.j&1)==1&&(this.o==0&&this.o++,this.g.nm=this.o);(this.j&2)==2&&(this.g.nb=a.Tf);(this.j&8)==8&&(a=Un(this.A),this.g.nx=Math.round(b.clientX-a.x),this.g.ny=Math.round(b.clientY-a.y));(this.j&16)==16&&this.C!=null&&(this.g.clkt=Date.now()-this.C);(this.j&512)==512&&(b=mz())&&(this.g.mb=b);c.tagName.toUpperCase()=="A"&&(b=sM(this,c.href),b=rd(b),b!==void 0&&(c.href=b))};rM.prototype.F=function(){this.o++};var tM=function(a,b,c){SL.call(this);var d=this,e=[];switch(b){case "embedded":this.element=AA(LL,a);Ke("embeddedOverlayIframe",this.element).setAttribute("src",a.La||"");break;case "html":this.element=AA(ML,a);vd(Ke("overlayInnerElement",this.element),Be(a.La||""));break;case "image":this.element=AA(NL,a);break;case "text":this.element=AA(OL,a);a=Ke("textImageContainer",this.element);a!=null&&e.push({element:a,Tf:9});a=Ke("overlayTextTitle",this.element);a!=null&&e.push({element:a,Tf:0});a=Ke("overlayTextUrl", this.element);a!=null&&e.push({element:a,Tf:1});break;default:this.element=Se("DIV","overlayContainer")}e.push({element:this.element,Tf:2});this.j=new rM(c,this.element,e);this.g.listen(this.element,"click",function(f){d.dispatchEvent(f)});this.g.listen(this.element,"mouseover",function(){d.dispatchEvent("mouseover")});this.g.listen(this.element,"mouseout",function(){d.dispatchEvent("mouseout")})};q(tM,SL);l=tM.prototype;l.Wd=function(a){var b=this.element;a?tz(b,"clickable"):vz(b,"clickable")}; l.pk=function(a){EK(this.element,"opacity "+a/1E3+"s")};l.show=function(){bo(this.element,!0)};l.da=function(){bo(this.element,!1)};l.ej=function(){ao(this.element,1)};l.Fj=function(){ao(this.element,.3)};l.Ia=function(){return this.element};var uM=function(a){return Ke("overlayTextAttribution",a.element)};var vM=function(){SL.call(this);var a=this;this.element=AA(PL);this.l=Ke("videoAdUiPlayIcon",this.element);this.j=Ke("videoAdUiPauseIcon",this.element);this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")});lL(this,!1)};q(vM,SL);var lL=function(a,b){bo(a.l,b);bo(a.j,!b)};vM.prototype.show=function(){this.element&&tz(this.element,"fade-in")};vM.prototype.da=function(){this.element&&vz(this.element,"fade-in")};var wM=function(){SL.call(this);var a=this;this.element=AA(QL);this.j=!0;this.g.listen(this.element,"click",function(b){a.j&&(b.stopPropagation(),a.dispatchEvent("click"))})};q(wM,SL);wM.prototype.show=function(){bo(this.element,!0);this.j=!0};wM.prototype.da=function(){bo(this.element,!1);this.j=!1};var xM=function(a){var b=a.qf===void 0?!1:a.qf;var c=a.Ug===void 0?!1:a.Ug;var d=a.bh===void 0?.5:a.bh;a=a.rc===void 0?!1:a.rc;SL.call(this);var e=this;this.F=a;this.element=AA(AK,{Xd:uc(a?"Skip ":"Skip Ad ")});b&&tz(this.element,"noTextSkipButton");c&&tz(this.element,"raisedSkipButton");this.G=b;this.B=d;this.l=Ke("videoAdUiPreSkipContainer",this.element);this.A=Ke("videoAdUiPreSkipButton",this.element);this.D=Ke("videoAdUiPreSkipText",this.element);this.o=Ke("videoAdUiSkipContainer",this.element); this.j=Ke("videoAdUiSkipButton",this.element);bo(this.l,!1);this.g.listen(this.j,"click",function(f){f.stopPropagation();e.dispatchEvent("click")});this.g.listen(this.A,"click",function(f){f.stopPropagation()});$d&&MK==="4.4.4"&&(this.A.style.backgroundColor="black",this.j.style.backgroundColor="black")};q(xM,SL);xM.prototype.da=function(){bo(this.A,!1);bo(this.j,!1)};var tL=function(a){bo(a.o,!1);ao(a.o,0)};var yM=function(a){a=a===void 0?!1:a;SL.call(this);var b=this;this.element=AA(RL);a&&this.element.classList.add("smallWtaIcon");this.g.listen(this.element,"click",function(c){c.stopPropagation();b.dispatchEvent("click")})};q(yM,SL);function zM(a,b){if(typeof ReportingObserver==="undefined")return null;var c=function(e){e=v(e);for(var f=e.next();!f.done;f=e.next())f=f.value,a(f)&&b(f)},d=new ReportingObserver(c,{buffered:!0});B.addEventListener("pagehide",function(){c(d.takeRecords(),d);d.disconnect()});d.observe();return d}function AM(a){return zM(function(b){return b.body&&b.body.id==="HeavyAdIntervention"},a)} function BM(a){return AM(function(b){b=b.body.message;b.includes("CPU")?a("heavy_ad_intervention_cpu"):b.includes("network")&&a("heavy_ad_intervention_network")})}function CM(a){a=a===void 0?null:a;zM(function(b){return b.body&&b.body.id==="HeavyAdIntervention"},function(b){var c=b.body.message,d=U();T(d,"ham",c);c.includes("CPU")?T(d,"hacpu","true"):c.includes("network")&&T(d,"habytes","true");a&&a(b)})};var DM=[new he(200,200),new he(250,250),new he(300,250),new he(336,280),new he(450,50),new he(468,60),new he(480,70),new he(728,90)];function EM(a,b,c,d){a&&(c=Math.min(c,90));var e=[];DM.forEach(function(f){var g=b-15>=f.width&&c-65>=f.height,h=!d&&!g&&f.height<=90&&b>=f.width&&c>=f.height;(g||h)&&e.push(f.width+"x"+f.height)});return e.join(",")} function FM(a){var b=TC($y(new P(a.adTagUrl),"overlay"));return EM(b,a.nonLinearAdSlotWidth||0,a.nonLinearAdSlotHeight||0,a.forceNonLinearFullSlot||!1)}function GM(a){return a==="flash"||a==="image"||a==="staticimage"}function HM(a){var b=[];a.forEach(function(c){c==="video"?b.push("standardvideo"):c!="skippablevideo"&&b.push(c)});return b}function IM(a){a=yD(a,"ad_type");return D(a)?["video"]:a.split("_")};var JM=function(){};JM.prototype.g=function(){};var KM=function(a,b){a=a===void 0?new Map:a;b=b===void 0?new JM:b;nH.call(this,a);this.j=b};q(KM,nH); KM.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new P(a.adTagUrl),c=new Map;c.set("sdkv","h.0.0.0");var d=new P(a.adTagUrl),e=c.set,f=yD(d,"client");e.call(c,"video_product_type",f.lastIndexOf("ca-games-",0)==0?"4":f.lastIndexOf("ca-video-",0)==0?"0":"-1");c.set("client",yD(d,"client"));c.set("min_ad_duration",Number(yD(d,"min_ad_duration",(0).toString())).toString());e=Number(yD(d,"max_ad_duration",(1E5).toString()));e>0&&c.set("max_ad_duration",Math.round(1.1*e).toString());e=Number(yD(d, "sdmax",(0).toString()));e>0&&c.set("sdmax",Math.round(1.1*e).toString());e=c.set;var g=a.linearAdSlotWidth||0,h=a.linearAdSlotHeight||0,k=a.nonLinearAdSlotWidth||0,m=a.nonLinearAdSlotHeight||0;f=new P(a.adTagUrl);g=Math.max(g,k)+"x"+Math.max(h,m);f=yD(f,"sz");e.call(c,"sz",D(f)||g!=="0x0"?g:f);e=c.set;f=yD(d,"channel");f=Array.from(new Set(f.split(/[+, ]/))).slice(0,30).join("+");e.call(c,"channel",f);c.set("h_ch",yD(d,"h_ch").split(/[+, ]/).join("+"));e=c.set;f=yD(d,"adsafe");e.call(c,"adsafe", Qb(aD,f)?f:"high");e=c.set;d=yD(d,"videoad_start_delay");e.call(c,"videoad_start_delay",D(d)?"1":d);c.set("hl",IF());c.set("vid_d",a.contentDuration||"");c.set("ca_type","image");c.set("unviewed_position_start","1");c.set("output","xml_vast4");oH(c);d=Map;e=[];f=e.concat;g={};g.u_tz=-(new Date).getTimezoneOffset();var p=p===void 0?C:p;try{var n=p.history.length}catch(F){n=0}g.u_his=n;var r;g.u_h=(r=C.screen)==null?void 0:r.height;var u;g.u_w=(u=C.screen)==null?void 0:u.width;var t;g.u_ah=(t=C.screen)== null?void 0:t.availHeight;var z;g.u_aw=(z=C.screen)==null?void 0:z.availWidth;var A;g.u_cd=(A=C.screen)==null?void 0:A.colorDepth;n=new Map;for(var H in g)n.set(H,g[H]);a=new d(f.call(e,w(n),w(wD(a)),w(c)));pH(this,a);nD(b,a);LM(b);pD(b);this.j.g(b);return b.toString()};var LM=function(a){a.g.forEach(function(b,c){bD.has(c)&&!D(b)||a.g.remove(c)})};var MM=function(a,b){a=a===void 0?new Map:a;b=b===void 0?new JM:b;nH.call(this,a);this.j=b};q(MM,nH);MM.prototype.g=function(a){if(a.adTagUrl==null)return null;var b=new P(a.adTagUrl),c=new Map;c.set("sdkv","h.0.0.0");oH(c);c.set("nel",IE()?"1":"0");a=new Map([].concat(w(wD(a)),w(c)));pH(this,a);nD(b,a);oD(b,a);pD(b);this.j.g(b);return b.toString()};var NM=function(a,b){a=a===void 0?new Map:a;b=b===void 0?new JM:b;nH.call(this,a);this.j=b};q(NM,nH); NM.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new hD(a.adTagUrl),c=new Map;oH(c);c.set("dc_sdkv","h.0.0.0");c.set("dc_sdki",qH().toString(16));c.set("dc_eid",tB());c.set("dcmt","text/xml");c.set("nel",IE()?"1":"0");var d=jD(b,"dc_output")||[];(d.includes("vast")||d.includes("xml_vast2"))&&c.set("dc_output","xml_vast3");a=new Map([].concat(w(wD(a)),w(c)));pH(this,a);c=v(a);for(d=c.next();!d.done;d=c.next()){var e=v(d.value);d=e.next().value;e.next();e=OM(d);d=a.get(d);e!=="dc_rfl"&&(d= encodeURIComponent(d));D(e)||D(d)||kD(b,e,[d])}pD(b);this.j.g(b);return b.toString()};var OM=function(a){switch(a){case "sdkv":return"dc_sdkv";case "sdki":return"dc_sdki";case "adk":return"dc_adk";case "sdk_apis":return"dc_sdk_apis";case "omid_p":return"dc_omid_p";case "js":return"dc_js";case "msid":return"dc_msid";case "frm":return"dc_frm";case "osd":return"dc_osd";case "sdr":return"dc_sdr";default:return a}};var PM=function(a,b){a=a===void 0?new Map:a;b=b===void 0?new JM:b;nH.call(this,a);this.j=b};q(PM,nH);PM.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new P(a.adTagUrl),c=new Map;oH(c);c.set("sdkv","h.0.0.0");c.set("sdki",qH().toString(16));c.set("output","xml_vast4");a=new Map([].concat(w(wD(a)),w(c)));pH(this,a);nD(b,a);pD(b);this.j.g(b);return b.toString()};var QM=function(a,b){a=a===void 0?new Map:a;b=b===void 0?new JM:b;nH.call(this,a);this.j=b};q(QM,nH); QM.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new P(a.adTagUrl),c=new Map;c.set("sdkv","h.0.0.0");oH(c);c.set("hl",IF());c.set("afvsz",FM(a));c.set("unviewed_position_start","1");var d=(new P(a.adTagUrl)).g,e=String(d.get("output")||"");d=String(d.get("ad_rule")||"");d=TC(d)&&e.includes("vast");e.includes("vmap")||d?c.set("output","xml_vmap1"):e.includes("vast")&&c.set("output","xml_vast4");a=new Map([].concat(w(wD(a)),w(c)));pH(this,a);nD(b,a);oD(b,a);b.g.remove("impl");pD(b);this.j.g(b); return b.toString()};var RM={Go:"SIMID:Creative:clickThru",Ro:"SIMID:Creative:fatalError",Vo:"SIMID:Creative:getMediaState",LOG:"SIMID:Creative:log",Gp:"SIMID:Creative:reportTracking",Hp:"SIMID:Creative:requestChangeAdDuration",Ip:"SIMID:Creative:requestChangeVolume",Jp:"SIMID:Creative:requestExitFullscreen",Kp:"SIMID:Creative:requestFullscreen",REQUEST_PAUSE:"SIMID:Creative:requestPause",REQUEST_PLAY:"SIMID:Creative:requestPlay",Mp:"SIMID:Creative:requestResize",Np:"SIMID:Creative:requestSkip",REQUEST_STOP:"SIMID:Creative:requestStop", Lp:"SIMID:Creative:requestNavigation",ap:"SIMID:Creative:handleSkipShown"};function SM(a){return typeof a!="object"?!1:Rh(a.width)&&Rh(a.height)&&Rh(a.x)&&Rh(a.y)};var TM=function(a){a=a===void 0?{}:a;this.ka=a.ka;this.wh=a.wh;this.xh=a.xh;this.creativeWidth=a.creativeWidth;this.creativeHeight=a.creativeHeight;this.creativeX=a.creativeX;this.creativeY=a.creativeY;this.code=a.code;this.currentTime=a.currentTime;this.duration=a.duration;this.errorCode=a.errorCode;this.fullscreen=a.fullscreen;this.message=a.message;this.muted=a.muted;this.si=a.si;this.De=a.De;this.Ee=a.Ee;this.fh=a.fh;this.uri=a.uri;this.Qi=a.Qi;this.version=a.version;this.videoHeight=a.videoHeight; this.videoWidth=a.videoWidth;this.videoX=a.videoX;this.videoY=a.videoY;this.volume=a.volume;this.url=a.url};function UM(a){a=a.trackingUrls;if(!(a instanceof Array))return WB(U(),"sp_s_vrt_ia"),!1;if(a.every(function(b){return typeof b=="string"}))return WB(U(),"sp_s_vrt_s"),!0;WB(U(),"sp_s_vrt_iu");return!1}function VM(a){if(!SM(a.videoDimensions))return WB(U(),"sp_s_vr_ivd"),!1;if(!SM(a.creativeDimensions))return WB(U(),"sp_s_vr_icd"),!1;if(typeof a.fullscreen!="boolean")return WB(U(),"sp_s_vr_ifs"),!1;WB(U(),"sp_s_vr_s");return!0} var WM=function(){},XM=function(a,b){switch(a){case "SIMID:Creative:requestChangeAdDuration":return a=b.duration,isNaN(a)||typeof a!="number"?null:new TM({duration:a});case "SIMID:Creative:reportTracking":return UM(b)?new TM({fh:b.trackingUrls}):null;case "SIMID:Creative:requestResize":return VM(b)?new TM({videoX:b.videoDimensions.x,videoY:b.videoDimensions.y,videoWidth:b.videoDimensions.width,videoHeight:b.videoDimensions.height,creativeX:b.creativeDimensions.x,creativeY:b.creativeDimensions.y,creativeWidth:b.creativeDimensions.width, creativeHeight:b.creativeDimensions.height,fullscreen:b.fullscreen}):null;case "SIMID:Creative:requestChangeVolume":return new TM({volume:b.volume,muted:b.muted});case "SIMID:Creative:requestNavigation":return typeof b.uri!="string"?null:new TM({uri:b.uri});case "SIMID:Creative:log":return typeof b.message!="string"?null:new TM({message:b.message})}return new TM};var YM=function(a,b,c,d){this.type=a;this.args=d;this.messageId=b;this.g=c};var ZM=function(a,b,c){it.call(this,a.type);this.resolve=b;this.reject=c;this.args=a.args};q(ZM,it);function $M(a){if(!a.data)return null;var b={};try{b=JSON.parse(a.data)}catch(c){return null}return typeof b!="object"?null:b}var aN=function(a,b,c,d){d=d===void 0?{}:d;N.call(this);this.o=new gz;this.G=c;var e,f,g,h;this.g={ag:(e=d.ag)!=null?e:!1,Mh:(f=d.Mh)!=null?f:!1,Nh:(g=d.Nh)!=null?g:!0,Oh:(h=d.Oh)!=null?h:!1};this.l="";this.K=1;this.A=this.F=window;this.L=b;this.B=new VG(this);M(this,this.B);this.j=new Map;this.D=dD()};q(aN,N); var eN=function(a,b){var c=b.qh;b=b.target;a.A=c;a.F=b;a.B.listen(window,"message",function(d){a:{d=d.Pb;var e=a.A===d.source;if(a.g.Nh){var f=(a.g.ag?new Set([null,"*",d.origin]):new Set(["*",d.origin])).has(a.L);e=a.g.ag?e&&f:e||f}e&&(e=$M(d),e=!(e==null||e.sendingInstanceId==null?0:a.g.Oh&&e.sendingInstanceId===a.D));if(e){var g=$M(d);if(g!=null&&(d=g.type,e=g.sessionId,e==a.l||d=="createSession")&&(!a.g.Mh||d!=="createSession"||a.l==null)&&(f=g.args,g=g.messageId,g!=null)){var h=null;try{if(d== "resolve"||d=="reject"){var k=f.messageId;h=k==null?null:new TM({Ee:k,De:f.value})}else h=XM(d,f)}catch(m){if(m.cause===1210){k=JSON.stringify({type:"TimingEvent",key:"smd_ss_nfo_init"});a.sendMessage("SIMID:Creative:log",new TM({message:k}));k=JSON.stringify({type:"OneShotParameter",key:"smd_ss_nfo_init_r",value:m.message});a.sendMessage("SIMID:Creative:log",new TM({message:k}));break a}throw m;}if(h)switch(d==="SIMID:Player:init"&&(k=JSON.stringify({type:"TimingEvent",key:"smd_ss_so_init"}),a.sendMessage("SIMID:Creative:log", new TM({message:k}))),k=new YM(d,g,e,h),k.type){case "resolve":case "reject":if(d=k.args.Ee)e=k.args.De||{},a.j.has(d)&&(f=a.j.get(d),k.type=="resolve"?f.resolve(e):k.type=="reject"&&f.reject(e),a.j.delete(d));break;case "createSession":a.l=k.g;bN(a,k.messageId);a.o.resolve();break;default:cN(a,k)}else dN(a,g,{errorCode:1211,message:"Invalid message arguments."})}}}})}; aN.prototype.sendMessage=function(a,b){b=b===void 0?new TM:b;var c=this.K++,d={};d.type=a;d.sessionId=this.l;this.g.Oh&&(d.sendingInstanceId=this.D);d.messageId=c;d.timestamp=Date.now();if(a=="resolve"||a=="reject"){var e={};b=(e.messageId=b.Ee,e.value=b.De,e)}else{e={};switch(a){case "SIMID:Player:init":var f={};f=(f.adParameters=b.ka,f.clickThruUri=b.wh,f.clickThruUrl=b.xh,f);var g={},h={},k={};b=(k.videoDimensions=(g.height=b.videoHeight,g.width=b.videoWidth,g.x=0,g.y=0,g),k.creativeDimensions= (h.height=b.videoHeight,h.width=b.videoWidth,h.x=0,h.y=0,h),k.fullscreen=b.fullscreen,k.fullscreenAllowed=!0,k.variableDurationAllowed=b.Qi,k.skippableState="adHandles",k.navigationSupport=b.si,k.version="1.0",k.muted=b.muted,k.volume=b.volume,k);e.environmentData=b;e.creativeData=f;break;case "SIMID:Media:timeupdate":e.currentTime=b.currentTime;break;case "SIMID:Media:volumechange":e.volume=b.volume;e.muted=b.muted;break;case "SIMID:Media:durationchange":e.duration=b.duration;break;case "SIMID:Player:adStopped":e.code= b.code;break;case "SIMID:Player:resize":f={};f=(f.height=b.creativeHeight,f.width=b.creativeWidth,f.x=b.creativeX,f.y=b.creativeY,f);g={};g=(g.height=b.videoHeight,g.width=b.videoWidth,g.x=b.videoX,g.y=b.videoY,g);e.creativeDimensions=f;e.videoDimensions=g;e.fullscreen=b.fullscreen;break;case "SIMID:Player:fatalError":e.errorCode=b.errorCode;break;case "SIMID:Player:log":e.message=b.message}b=e}d.args=b;this.F.postMessage(JSON.stringify(d),"*");return this.G.includes(a)?(a=new gz,this.j.set(c,a), a.promise):Promise.resolve({})};var cN=function(a,b){a.dispatchEvent(new ZM(b,function(c){c=c===void 0?{}:c;bN(a,b.messageId,c)},function(c){c=c===void 0?{}:c;dN(a,b.messageId,c)}))},bN=function(a,b,c){c=c===void 0?{}:c;a.sendMessage("resolve",new TM({Ee:b,De:c}))},dN=function(a,b,c){a.sendMessage("reject",new TM({Ee:b,De:c}))};function fN(a){return(a=a.ab.find(function(b){return E(b.fa)=="SIMID"&&b.mimeType=="text/html"&&!!b.url&&!D(b.url)}))?a.url:null}function gN(a){return(a=a.ab.find(function(b){return E(b.fa)=="SIMID"&&b.mimeType=="text/html"&&!!b.g&&!D(b.g)}))?a.g:null};var hN="SIMID:Player:adSkipped SIMID:Player:adStopped SIMID:Player:appBackgrounded SIMID:Player:fatalError SIMID:Player:init SIMID:Player:startCreative".split(" "),iN=function(a,b,c){c=c===void 0?!1:c;N.call(this);var d=null;if(a){if(c)try{var e=(new URL(a,window.location.href)).origin}catch(f){e=null}else e=(a=new P(a),a.o+"://"+a.j);d=e}this.g=new aN(new WM,d,hN,b);M(this,this.g);this.j=null;this.l=0;this.o=!1};q(iN,N); var jN=function(a,b){eN(a.g,{qh:b.qh,target:b.target});Object.values(RM).forEach(function(c){a.g.listen(c,function(d){a.o&&XB("lima_pmh_m_"+c);c==="SIMID:Creative:log"&&d.args.message==="cr"?a.l=0:a.dispatchEvent(d)})})};iN.prototype.log=function(a){return this.g.sendMessage("SIMID:Player:log",new TM({message:a}))}; var kN=function(a){a.o=!1;var b=[];Object.values(RM).forEach(function(c){b.push("lima_pmh_m_"+c)});YB(b)},lN=function(a){a.j&&(a.l===2?(a.j.resolve(),a.j=null):(a.log("pp"),a.l++,setTimeout(function(){return lN(a)},2E3)))};var mN=function(a){WB(U(),"lima_csiu");var b="border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:"+((jo()?"99":"100")+"%; height:100%; position: absolute;display:none"),c=Jd();b=Se("IFRAME",{id:c,name:c,allow:"autoplay",allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:b});a=md(a);b.removeAttribute("srcdoc");if(a instanceof ad)throw new yd("TrustedResourceUrl",2);xd(b,"allow-same-origin allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-storage-access-by-user-activation".split(" ")); a=rd(a);a!==void 0&&(b.src=a);return b},nN=function(a){WB(U(),"lima_csih");var b="border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:"+((jo()?"99":"100")+"%; height:100%; position: absolute;display:none"),c=Jd();b=Se("IFRAME",{id:c,name:c,allow:"autoplay",allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:b});b.removeAttribute("src");if(a instanceof sd)throw new yd("SafeHtml",1);xd(b,["allow-scripts","allow-forms","allow-popups","allow-popups-to-escape-sandbox","allow-storage-access-by-user-activation"]); a=td(a);b.srcdoc=ud(a);return b};var oN={TRUEVIEW:"trueview",SKIPPABLE:"trueview",BUMPER:"bumper",NONSKIPPABLE:"nonskippable",UAC_ANDROID_ON_3P_INSTREAM:"uac-android-on-3p-instream",UAC_IOS_ON_3P_INSTREAM:"uac-ios-on-3p-instream",RDA_ON_3P_INSTREAM:"rda-on-3p-instream",LC_ON_3P_INSTREAM:"lc-on-3p-instream",OUTSTREAM:"outstream",AUDIO:""};function pN(a){if(!a)return!1;if(a=qN(a)){if(a.g=="TRUEVIEW"||a.g=="SKIPPABLE")return!0;if(a.g)return!1;WB(U(),"ytu_nf");return a.Fc()}return!1} function rN(a){return a?(a=qN(a))&&a.g=="BUMPER"?!0:!1:!1}function sN(a){return a?(a=qN(a))&&a.g=="NONSKIPPABLE"?!0:!1:!1}function tN(a){return a?(a=qN(a))?a.j.id:null:null}function uN(a){return(a=qN(a))?a.j:null}function vN(a){return(a=qN(a))?a.l:null}function wN(a){return(a=(a=qN(a))?a.g:null)?oN[a]||null:null}function qN(a){return a.ga.get(tE)};var xN=function(a){this.duration=a};var yN=function(a,b,c){this.rf=a;this.j=b;this.g=c};var zN=function(a,b,c){this.g=a;this.j=b;this.l=c};var AN=function(a){this.g=a};var BN=function(a){this.Da=a};var CN=function(a){var b=a.te===void 0?null:a.te;var c=a.ue===void 0?null:a.ue;var d=a.ve===void 0?null:a.ve;var e=a.Ja===void 0?null:a.Ja;var f=a.imageWidth===void 0?0:a.imageWidth;a=a.imageHeight===void 0?0:a.imageHeight;this.te=b;this.ue=c;this.ve=d;this.Ja=e;this.imageWidth=f;this.imageHeight=a};var DN=function(a){this.g=a};var EN=function(){}; EN.prototype.g=function(a){if(!zH(a,"activeview"))return null;var b=[],c=wH(a,"trackingConfiguration");c=v(c);for(var d=c.next();!d.done;d=c.next()){d=wH(d.value,"trackingEventConfiguration");d=v(d);for(var e=d.next();!e.done;e=d.next()){var f=e.value;e=f.getAttribute("event");var g=f.getAttribute("id");if(g==null||e==null)e=null;else{e=e.toLowerCase();g=g.toLowerCase();var h=[];f=wH(f,"trackingEventCriteria");f=v(f);for(var k=f.next();!k.done;k=f.next())k=k.value.getAttribute("value"),k!=null&&h.push(k.toLowerCase()); e=h.length?new vb(g,e,h):null}e&&b.push(e)}}c=DH(a);e=xH(a,"activeViewMetadata");d="";e&&(d=V(e)||"");a=xH(a,"activeViewFlags");e="";a&&(e=V(a)||"");return new rF(c,b,d,e)};var FN=function(){};FN.prototype.g=function(a){if(!zH(a,"wrapper_info"))return null;var b=0;(a=xH(a,"Duration"))&&(b=AH(V(a)));return b!=null&&b>0?new xN(b):null};var GN=function(){}; GN.prototype.g=function(a){if(!zH(a,"adsense"))return null;for(var b=null,c=null,d=null,e,f=[],g,h=null,k=null,m=null,p=v(Ye(a)),n=p.next();!n.done;n=p.next())switch(n=n.value,n.nodeName.toLowerCase()){case "attributiontext":b=V(n);break;case "attributionurl":c=V(n);break;case "conversionurl":d=V(n);break;case "is_pharma":e=vH(n.getAttribute("bool"));break;case "checkedevents":f=HN(n);break;case "showyoutubeannotations":g=vH(V(n));break;case "ui":h=null;n=xH(n,"config");if(n!=null){var r=xH(n,"context"); if(r!=null&&r.getAttribute("data").toLowerCase()=="default"&&(h=new tF,r=xH(n,"params"))){n=h;r=v(Ye(r));for(var u=r.next();!u.done;u=r.next())switch(u=u.value,u.nodeName.toLowerCase()){case "audio_muted_on_start":n.Dd=vH(u.getAttribute("bool"))||!1;break;case "attribution_text":n.sa=u.getAttribute("data");break;case "attribution_url":n.wb=u.getAttribute("data");break;case "signals":n.wc=uH(u,"int")||0}}}break;case "visibleurl":k=V(n);break;case "whythisad":a:{m=v(Ye(n));for(n=m.next();!n.done;n= m.next())if(n=n.value,n.nodeName.toLowerCase()=="wtaclickthroughurl"){m=V(n);break a}m=null}m&&T(U(),"wta","1")}return new uF(DH(a),{sa:b,wb:c,ge:d,ii:e,xe:f,He:g,uiConfig:h,Sc:k,Yb:m})};var HN=function(a){var b=[];Array.from(Ye(a)).forEach(function(c){(c=c.getAttribute("id"))&&b.push(c.toLowerCase())});return b};var IN=function(){};IN.prototype.g=function(a){if(!zH(a,"AdVerifications"))return null;var b=[];a=wH(a,"AdVerifications");a=v(a);for(var c=a.next();!c.done;c=a.next())b.push.apply(b,w(BH(c.value)));return new DG(b)};var JN=function(){};JN.prototype.g=function(a){if(!zH(a,"adx"))return null;var b;if(a=xH(a,"skippability")){var c=V(a);if(c=="skippable"){var d=!0;(a=a.getAttribute("offset"))&&!D(a)&&(b=AH(a))}else c=="nonskippable"&&(d=!1)}return d!=null?new UH(d,b):null};var KN=function(){};KN.prototype.g=function(a){if(!zH(a,"companion_about_this_ad"))return null;a=wH(a,"Icon");if(a.length<1)return null;a=GH(a[0]);return new vF(a)};var LN=function(){};LN.prototype.g=function(a){a=DH(a);return a.length>0?new qF(a):null};var MN=function(){};MN.prototype.g=function(a){if(!zH(a,"dart"))return null;a=DH(a);var b=a.find(function(c){return c.eventType=="skip"})?"Generic":"Unavailable";return new VH(a,b)};var NN=function(){};NN.prototype.g=function(a){if(!zH(a,"dfp"))return null;var b="Unavailable",c=xH(a,"skippableadtype");c&&V(c)=="Generic"&&(b="Generic");return new VH(DH(a),b)};var ON=function(){};ON.prototype.g=function(a){if(!zH(a,"watermark"))return null;var b=xH(a,"WatermarkData");if(!b)return null;a=uH(b,"max_width");var c=uH(b,"max_height");b=b?V(b):null;return!b||b===""||a==null||isNaN(a)||c==null||isNaN(c)?null:new yN(b,a,c)};var PN=function(){};PN.prototype.g=function(a){if(!zH(a,"eoid_cookie"))return null;a=v(Ye(a));for(var b=a.next();!b.done;b=a.next()){var c=b.value;if(c.nodeName=="Cookie"){b=c.getAttribute("domain");var d=uH(c,"expires"),e=c.getAttribute("path"),f=void 0;c=(f=c.getAttribute("value"))!=null?f:"";if(b&&d!=null&&e)return new ZF(c,d,e,b)}}return null};var QN=function(){};QN.prototype.g=function(a){if(!zH(a,"esp"))return null;var b=[];a=v(Ye(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;d.nodeName=="EspLibrary"&&(c=xH(d,"LibraryName"))&&(c=V(c))&&(d=(d=xH(d,"LibraryUrl"))?V(d):null,b.push({jm:c,wq:d}))}return new $F(b)};var RN=function(a){this.M=G(a)};q(RN,K);RN.prototype.getWidth=function(){return ik(this,9)};RN.prototype.getHeight=function(){return ik(this,10)};var SN=Im(RN);var TN=function(){};TN.prototype.g=function(a){if(!zH(a,"privacy_sandbox"))return null;a=xH(a,"TurtledoveConfig");if(!a)return null;a=V(a);if(!a)return null;a=SN(Fd(a).replaceAll("\\\\","\\"));return new aG(a)};var UN=function(){};UN.prototype.g=function(a){var b=zH(a,"gfp_cookie"),c=zH(a,"gfp_cookie_v2");if(!b&&!c)return null;a=v(Ye(a));for(b=a.next();!b.done;b=a.next()){var d=b.value;if(d.nodeName=="Cookie"){b=d.getAttribute("domain");var e=uH(d,"expires"),f=d.getAttribute("path"),g=void 0;d=(g=d.getAttribute("value"))!=null?g:"";if(b&&e!=null&&f)return new cG(d,e,f,b,c)}}return null};var VN=function(){}; VN.prototype.g=function(a){if(!zH(a,"GoogleHostedMedia"))return null;T(U(),"hghme","1");var b=[],c=[],d=[],e=[],f,g=xH(a,"clientplaybacknonce");g&&(f=V(g));a=v(Ye(a));for(g=a.next();!g.done;g=a.next()){var h=g.value;g=null;switch(h.nodeName.toLowerCase()){case "audiourls":g="audio";break;case "manifestsurls":g="manifest";break;case "muxedmediaurls":g="muxed";break;case "videourls":g="video"}if(g){h=v(Ye(h));for(var k=h.next();!k.done;k=h.next()){k=k.value;var m=V(k),p=k.getAttribute("delivery"),n= uH(k,"itag"),r=void 0,u=(r=k.getAttribute("mimeType"))==null?void 0:r.toLowerCase();r=vH(k.getAttribute("mseCompatible"));var t=uH(k,"contentLength"),z=null,A=null,H=null,F=null,O=null,ha=null;if(g=="video"||g=="muxed")z=k.getAttribute("videoCodec"),A=uH(k,"videoBitrate"),O=uH(k,"width"),ha=uH(k,"height");if(g=="audio"||g=="muxed")H=k.getAttribute("audioCodec"),F=uH(k,"audioBitrate");if(m!=null&&g!=null)switch(k=new dG(m,g,{yb:p,Ga:n,mimeType:u,Ea:z,Oa:H,Ri:A,sh:F,Ba:r,width:O,height:ha,Yc:t}),g){case "audio":b.push(k); break;case "manifest":c.push(k);break;case "muxed":d.push(k);break;case "video":e.push(k)}}}}return new eG(f?f:"None",b,c,d,e)};var WN=function(){};WN.prototype.g=function(a){if(!zH(a,"gpid_wta"))return null;a=v(Ye(a));for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.nodeName=="AttributionData"&&(b=V(b)))return new zG(b);return null};var XN=Object.keys(SF),YN={TYPE_ACTION_ENDCAP:0,TYPE_COLLAPSE_ENDCAP:1,TYPE_DISMISS_ENDCAP:2,TYPE_IMPRESSION_ENDCAP:3},ZN=new Map([[0,"video_card_endcap_action"],[1,"video_card_endcap_collapse"],[2,"video_card_endcap_dismiss"],[3,"video_card_endcap_impression"]]),$N=function(){}; $N.prototype.g=function(a){if(!zH(a,"InfoCards"))return null;var b=[];a=wH(a,"card");a=v(a);for(var c=a.next(),d={};!c.done;d={Qg:void 0},c=a.next()){var e=c.value;c=e.getAttribute("type");if(XN.includes(c)){var f=uH(e,"priority"),g=aO(e),h=wH(e,"action").map(function(t){return new RF({target:t.getAttribute("target"),title:t.getAttribute("title"),type:QF[t.getAttribute("type")],Og:t.getAttribute("package_id"),dg:t.getAttribute("fallback_url")})});d.Qg=xH(e,"placement");var k=null;d.Qg&&(k=function(t){return function(z){return vH(t.Qg.getAttribute(z))|| !1}}(d),k=new TF({Yg:k("show_in_cta"),Zg:k("show_in_endcap"),Ye:uH(d.Qg,"endcap_duration_ms")}));d=xH(e,"website_card");e=null;if(d){e=null;var m=xH(d,"image");m&&(m=xH(m,"url"))&&(e=V(m));m=xH(d,"extension_data");var p=null;if(m){p=wH(m,"sitelink_extensions");m=[];p=v(p);for(var n=p.next();!n.done;n=p.next()){n=n.value;var r=xH(n,"link_action"),u=null;r&&((u=r.getAttribute("target"))||(u=r.getAttribute("link_url")),u=new RF({target:u,title:r.getAttribute("title"),type:1,Og:null,dg:null}));m.push(new UF({mi:u, Jh:n.getAttribute("description_line_1"),Kh:n.getAttribute("description_line_2")}))}p=new VF({Mi:m})}e=new WF({description:d.getAttribute("description"),Sb:d.getAttribute("headline"),Ja:e,Th:p})}b.push(new XF({type:SF[c],priority:isNaN(f)||f==void 0?-1:f,X:g,actions:h,td:k,Tc:e}))}}return new YF({Ed:b})}; var aO=function(a){var b=[];a=wH(a,"event");a=v(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getAttribute("type");d=ZN.get(YN[d]);c=c.getAttribute("base_url");d&&c&&b.push(new fB(d,c))}return b};var bO=function(){};bO.prototype.g=function(a){if(!zH(a,"inred_info"))return null;a=v(Ye(a));for(var b=a.next();!b.done;b=a.next())switch(b=b.value,b.nodeName){case "WrapperAdId":var c=V(b);break;case "WrapperAdSystem":var d=V(b);break;case "WrapperCreativeId":var e=V(b)}return c&&d&&e?new zN(c,d,e):null};var cO=function(){};cO.prototype.g=function(a){if(!zH(a,"metrics"))return null;a=v(Ye(a));for(var b=a.next();!b.done;b=a.next())switch(b=b.value,b.nodeName){case "AdEventId":var c=df(b);break;case "FeEventId":var d=df(b)}return new BG(c,d)};var dO=function(){};dO.prototype.g=function(a){if(!zH(a,"non_linear_about_this_ad"))return null;a=wH(a,"Icon");if(a.length<1)return null;a=GH(a[0]);return new AN(a)};var eO=function(){};eO.prototype.g=function(a){if(!zH(a,"pod"))return null;a=uH(a,"sequence");a==null&&(a=-1);return new BN(a)};var fO=function(){};fO.prototype.g=function(a){return zH(a,"programmatic")?(a=xH(a,"DealId"))&&(a=V(a))&&!D(a)?new EG(a):null:null};var gO=function(){};gO.prototype.g=function(a){if(!zH(a,"sodar"))return null;var b=null;a=v(Ye(a));for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.nodeName){case "Siub":var d=V(c);break;case "Scs":b=V(c)||null;break;case "Bgub":var e=V(c);break;case "Bgp":var f=V(c)}return d&&b&&e&&f?new FG(d,e,f,b):null};var hO=function(){};hO.prototype.g=function(a){if(!zH(a,"textad"))return null;var b={};a=v(Ye(a));for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.nodeName.toLowerCase()){case "line1":b.te=V(c);break;case "line2":b.ue=V(c);break;case "line3":b.ve=V(c);break;case "imageurl":b.Ja=V(c),b.imageWidth=uH(c,"width"),b.imageHeight=uH(c,"height")}return new CN(b)};var iO=function(){};iO.prototype.g=function(a){if(!zH(a,"uisettings"))return null;var b;(a=xH(a,"uihideable"))&&(b=vH(V(a)));return new GG(b)};var jO=function(){};jO.prototype.g=function(a){if(!zH(a,"waterfall"))return null;a=uH(a,"fallback_index");a==null&&(a=-1);return new DN(a)};var kO=function(){}; kO.prototype.g=function(a){if(!zH(a,"youtubehostedad"))return null;var b=null,c=!1,d=null,e=null,f=!1,g=null,h=null,k=null,m=null,p=null,n=null,r=null,u=xH(a,"youtubevideoid");u&&(b=V(u));if(u=xH(a,"istrueview"))u=vH(V(u)),u!=void 0&&(c=u);(u=xH(a,"videotitle"))&&(d=V(u));(u=xH(a,"videothumbnailurl"))&&(e=V(u));if(u=xH(a,"isvideounlisted"))u=vH(V(u)),u!=void 0&&(f=u);(u=xH(a,"channelid"))&&(g=V(u));(u=xH(a,"channeltitle"))&&(h=V(u));(u=xH(a,"channelthumbnailurl"))&&(k=V(u));(u=xH(a,"channelcustomurl"))&& (m=V(u));(u=xH(a,"format"))&&(p=V(u));(u=xH(a,"youtubeownershipfingerprint"))&&(n=V(u));(a=xH(a,"youtubevisitordata"))&&(r=V(a));return new HG({Rc:b,Fc:c,Le:d,Ef:e,Qd:f,Wc:g,ee:h,de:k,Rf:m,format:p,Ng:n,hh:r})};var lO=function(a){var b=a===void 0?{}:a;a=b.id===void 0?null:b.id;var c=b.Va===void 0?!1:b.Va;var d=b.Xh===void 0?!0:b.Xh;var e=b.Jf===void 0?null:b.Jf;b=b.Yd===void 0?null:b.Yd;this.id=a;this.Va=c;this.Xh=d;this.Jf=e;this.Yd=b};var mO=function(a,b){this.eventType=a;this.url=b};var nO=function(a,b,c){var d=c===void 0?{}:c;c=d.breakId===void 0?null:d.breakId;var e=d.breakType===void 0?null:d.breakType;var f=d.X===void 0?[]:d.X;d=d.ga===void 0?[]:d.ga;this.j=a;this.g=b;this.breakId=c;this.breakType=e;this.X=f;this.ga=d};var oO=function(a){this.g=a=a===void 0?[]:a};var pO=function(){};var qO=function(){};var rO=function(){this.g=[]},sO=function(a){var b=new qO;a.g.includes(b)||a.g.push(b)},uO=function(a,b){if(!b)throw Error("VMAP string is empty.");if(!tO(b))throw Error("Response string is not a valid VMAP document.");var c=[];b=v(Ye(b));for(var d=b.next();!d.done;d=b.next()){var e=d.value;if(e.nodeName=="vmap:AdBreak"){var f=void 0,g=void 0;d=a;var h=e.getAttribute("breakId"),k=e.getAttribute("breakType"),m=e.getAttribute("timeOffset"),p=0,n=[];if(m=="start")p=0;else if(m=="end")p=-1;else if(m!= void 0){var r=AH(m);r!=void 0&&(p=r/1E3)}e=v(Ye(e));for(r=e.next();!r.done;r=e.next()){var u=r.value;switch(u.nodeName){case "vmap:AdSource":var t=g=r=void 0,z=u;u=z.getAttribute("id");var A=z.getAttribute("followRedirects")!="false",H=z.getAttribute("allowMultipleAds")=="true";z=v(Ye(z));for(var F=z.next();!F.done;F=z.next())switch(F=F.value,F.nodeName){case "vmap:AdTagURI":t=(t=V(F))?t:void 0;break;case "vmap:VASTAdData":F=v(Ye(F));for(var O=F.next();!O.done;O=F.next())O=O.value,O.nodeName=="VAST"&& (g=O)}if(!t&&!g)throw Error("VMAP ad source contains neither ad tag nor inline VAST data.");if(t&&g)throw Error("VMAP ad source contains both ad tag and inline VAST data");g=new lO({id:u,Va:H,Xh:A,Jf:t,Yd:(r=g)!=null?r:null});break;case "vmap:Extensions":f=d;r=[];t=v(Ye(u));for(u=t.next();!u.done;u=t.next())if(u=u.value,u.nodeName=="vmap:Extension")for(A=v(f.g),H=A.next();!H.done;H=A.next())H=u.getAttribute("type")!="bumper"?null:new pO,H!=null&&r.push(H);f=r;break;case "vmap:TrackingEvents":for(n= [],r=v(Ye(u)),t=r.next();!t.done;t=r.next())u=t.value,u.nodeName=="vmap:Tracking"&&(t=u.getAttribute("event"),u=V(u),u!=null&&n.push(new mO(t,u)))}}if(!g||m==null||isNaN(p))throw Error("VMAP ad source contains neither ad tag nor inline VAST data.");c.push(new nO(g,p,{breakId:h,breakType:k,X:n,ga:f}))}}return new oO(c)},tO=function(a){if(!a||!a.nodeName=="vmap:VMAP")return!1;a=a.getAttribute("version");if(!a)return!1;a=parseInt(a,10);return isNaN(a)||a<1||a>1?!1:!0};var vO=function(a,b){this.l=a;this.o=b;this.j=this.g=null};var wO={"application/flash":"Flash","application/shockwave-flash":"Flash","application/x-shockwave-flash":"Flash","application/javascript":"Javascript","text/javascript":"Javascript","image/jpeg":"Image","image/jpg":"Image","image/png":"Image","image/gif":"Image",text:"Text"},xO={al:"application/dash+xml",zl:"video/mp4",Bl:"video/mpeg",wl:"application/x-mpegURL",Fl:"video/ogg",Gl:"audio/ogg",Ll:"video/3gpp",Ol:"video/webm",AAC:"audio/aac",MP3:"audio/mpeg",Al:"audio/mp4"};var yO=function(a,b,c){var d=Error.call(this);this.message=d.message;"stack"in d&&(this.stack=d.stack);this.type=a;this.errorMessage=b;this.errorCode=c;this.ad=this.g=null};q(yO,Error);var zO=function(a,b){a.ad||(a.ad=b)};l=yO.prototype;l.getAd=function(){return this.ad};l.getInnerError=function(){return this.g};l.getMessage=function(){return this.errorMessage};l.getErrorCode=function(){return this.errorCode};l.getVastErrorCode=function(){return this.errorCode<1E3?this.errorCode:900};l.getType=function(){return this.type}; l.toString=function(){return"AdError "+this.getErrorCode()+": "+this.getMessage()+(this.getInnerError()!=null?" Caused by: "+this.getInnerError():"")};var AO=function(a){var b={},c=b=(b.type=a.getType(),b.errorCode=a.getErrorCode(),b.errorMessage=a.getMessage(),b);a=a.getInnerError();for(var d=0;d<3;++d)if(a instanceof yO){var e={};e=(e.type=a.getType(),e.errorCode=a.getErrorCode(),e.errorMessage=a.getMessage(),e);c=c.innerError=e;a=a.getInnerError()}else{a!=null&&(c.innerError=String(a));break}return b};var BO=function(){this.g=this.j=this.o=this.A=null;this.l=[]};var CO=function(){};var DO=function(a,b){this.message=a;this.errorCode=b};DO.prototype.getErrorCode=function(){return this.errorCode};DO.prototype.getMessage=function(){return this.message}; var EO=new DO("Unable to request ads from server. Cause: {0}.",1005),FO=new DO("Cannot parse the {0} value for the adslist response: {1}.",900),GO=new DO("Invalid usage of the API. Cause: {0}",900),HO=new DO("The browser prevented playback initiated without user interaction.",1205),IO=new DO("Unable to display one or more required companions.",602),JO=new DO("There was a problem requesting ads from the server.",1005),KO=new DO("Ad tag URI {0} is invalid. It must be properly encoded before being passed.", 1013),LO=new DO("The provided ad type: {0} is not supported.",200),MO=new DO("The provided {0} information: {1} is invalid.",1101),NO=new DO("The response does not contain any valid ads.",1009),OO=new DO("The overlay ad content could not be displayed since creative dimensions do not align with display area.",501),PO=new DO("A Protected Audience API error occurred.",1014),QO=new DO("The ad response was not understood and cannot be parsed.",1010),RO=new DO("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.", 900),SO=new DO("Unable to open URL. The URL appears to be invalid or is not supported by your current browser. URL requested: {0}",1022),TO=new DO("No assets were found in the VAST ad response.",200),UO=new DO("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403),VO=new DO("Ad request reached a timeout.",301),WO=new DO("VAST response was malformed and could not be parsed.",100),XO=new DO("VAST media file loading reached a timeout of {0} seconds.", 402),YO=new DO("Non linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",503),ZO=new DO("The maximum number of VAST wrappers ({0}) has been reached.",302),$O=new DO("VAST media file duration differs from the VAST response duration by {0} seconds.",202),aP=new DO("No additional VAST wrappers allowed.",300),bP=new DO("No Ads VAST response after one or more Wrappers",303),cP=new DO("No Ads were found in the VAST response or after the Protected Audience auction.", 303),dP=new DO("There was an error playing the video ad.",400),eP=new DO("An unexpected error occurred within the VPAID creative. Refer to the inner error for more info.",901);var fP=ra(["https://imasdk.googleapis.com/js/sdkloader/car.js"]);Ee(fP);function gP(a,b){return a.nd!==b.nd?a.nd-b.nd:a.pd!==b.pd?a.pd-b.pd:a.rd!==b.rd?a.rd-b.rd:0}function hP(a){a=a.split(".");if(a.length!==3)return null;var b=v(a),c=b.next().value;a=b.next().value;b=b.next().value;if(!c||!a||!b)return null;c=Number(c);a=Number(a);b=Number(b);return Number.isNaN(c)||Number.isNaN(a)||Number.isNaN(b)?null:{nd:c,pd:a,rd:b}};var iP=function(a){this.l=this.g=this.j=this.o=this.platformVersion=this.platform=null;a=E(a).split(":");if(a!=null&&a.length>=3){if(tc(a[0],"ios"))this.platform="ios",this.platformVersion=a[0].substr(3);else if(tc(a[0],"android"))this.platform="android",this.platformVersion=a[0].substr(7);else if(tc(a[0],"tvos"))this.platform="tvos",this.platformVersion=a[0].substr(4);else{var b=a[0].match(/^([A-Za-z]+)(.+)$/);b!=null&&b.length===3&&(this.platform=b[1],this.platformVersion=b[2])}this.o=a[1];this.j= hP(a[1]);this.g=a[2];if(this.platform==="ios"||this.platform==="tvos")this.l=a.length>3?a[3]:""}};function jP(a){return a?rD(a)?"adsense":uD(a)?"dbm":sD(a)?"dcm":vD(a)?"dv3":tD(a)?"xfp":"thirdparty":""}function kP(a){if(!a)return null;a=(new P(a)).g;return a.get("ms")!=null?E(a.get("ms")):null};var lP=function(a){var b={};b=(b.IABUSPrivacy_String="uspString",b.IABTCF_gdprApplies="gdprApplies",b.IABTCF_TCString="tcString",b.IABTCF_AddtlConsent="addtlConsent",b.IABGPP_HDR_GppString="gppString",b.IABGPP_GppSID="gppSid",b);for(var c in b)a[c]!=null&&(a[b[c]]=a[c],delete a[c]);c=a.uspString;this.uspString=typeof c==="string"?c:"";c=a.gdprApplies;this.j=typeof c==="boolean"?c?"1":"0":typeof c!=="number"||c!==1&&c!==0?typeof c!=="string"||c!=="1"&&c!=="0"?"":c==="1"?"1":"0":c===1?"1":"0";c=a.tcString; this.g=typeof c==="string"?c:"";/^[\.\w_-]*$/.test(this.g)||(this.g=encodeURIComponent(this.g));c=a.addtlConsent;this.l=typeof c==="string"?c:"";c=a.gppString;this.gppString=typeof c==="string"?c:"";a=a.gppSid;this.o=typeof a==="string"?a:""};var mP=function(a){this.g=a},nP=function(a,b){return Pb(a.g,b)&&(a=a.g[b],typeof a==="boolean")?a:!1},oP=function(a){if(Pb(a.g,"forceExperimentIds")){a=a.g.forceExperimentIds;var b=[],c=0;Array.isArray(a)&&a.forEach(function(d){typeof d==="number"&&(b[c++]=d)});return b}return null};var pP=function(a){this.M=G(a)};q(pP,K);var qP=function(){this.R="always";this.ca=4;this.aa=null;this.g=1;this.O=0;this.j=!0;this.locale="en";this.N=!0;this.K=this.C=this.l=!1;this.la=this.ia="";this.B=null;this.G=this.F=this.o="";this.Z=this.ta=!1;this.J=null;this.ba=!0;this.D=dD();this.A={};this.L="";this.W=0;try{this.J=lg()[0]}catch(a){}},rP=function(a){a=E(a);D(a)||(a=a.substring(0,20));return a};l=qP.prototype;l.setCompanionBackfill=function(a){this.R=a};l.getCompanionBackfill=function(){return this.R}; l.setNumRedirects=function(a){this.ca=a};l.getNumRedirects=function(){return this.ca};l.setPpid=function(a){this.aa=a};l.getPpid=function(){return this.aa};l.setVpaidAllowed=function(a){typeof a==="boolean"&&(this.g=a?1:0)};l.setVpaidMode=function(a){this.g=a};l.Dm=function(){return this.g};l.setAutoPlayAdBreaks=function(a){this.j=a};l.cn=function(){return this.j};l.qk=function(a){this.l=a};l.Cm=function(){return this.l};l.setLocale=function(a){if(a=UC(a))this.locale=a};l.getLocale=function(){return this.locale}; l.setPlayerType=function(a){this.ia=rP(a)};l.getPlayerType=function(){return this.ia};l.setPlayerVersion=function(a){this.la=rP(a)};l.getPlayerVersion=function(){return this.la};var tP=function(){var a=sP;if(a.B==null){var b={},c=(new P(Qe().location.href)).g;if(fz(c,"tcnfp"))try{b=JSON.parse(c.get("tcnfp"))}catch(d){}a.B=new mP(b)}return a.B};l=qP.prototype;l.Ki=function(){};l.Bf=function(){};l.setDisableCustomPlaybackForIOS10Plus=function(a){this.Z=a};l.getDisableCustomPlaybackForIOS10Plus=function(){return this.Z}; l.isCookiesEnabled=function(){return this.ba};l.setCookiesEnabled=function(a){a!=null&&(this.ba=a)};l.setSessionId=function(a){this.D=a};l.Pn=function(){};l.Bm=function(){return!0};l.setFeatureFlags=function(a){this.A=a};l.getFeatureFlags=function(){return this.A};var uP=function(a){var b=sP;return b.A.hasOwnProperty(a)&&!!b.A[a]};qP.prototype.getFeatureFlags=qP.prototype.getFeatureFlags;qP.prototype.setFeatureFlags=qP.prototype.setFeatureFlags;qP.prototype.getDisableFlashAds=qP.prototype.Bm; qP.prototype.setDisableFlashAds=qP.prototype.Pn;qP.prototype.setSessionId=qP.prototype.setSessionId;qP.prototype.setCookiesEnabled=qP.prototype.setCookiesEnabled;qP.prototype.isCookiesEnabled=qP.prototype.isCookiesEnabled;qP.prototype.getDisableCustomPlaybackForIOS10Plus=qP.prototype.getDisableCustomPlaybackForIOS10Plus;qP.prototype.setDisableCustomPlaybackForIOS10Plus=qP.prototype.setDisableCustomPlaybackForIOS10Plus;qP.prototype.setStreamCorrelator=qP.prototype.Bf; qP.prototype.setPageCorrelator=qP.prototype.Ki;qP.prototype.getPlayerVersion=qP.prototype.getPlayerVersion;qP.prototype.setPlayerVersion=qP.prototype.setPlayerVersion;qP.prototype.getPlayerType=qP.prototype.getPlayerType;qP.prototype.setPlayerType=qP.prototype.setPlayerType;qP.prototype.getLocale=qP.prototype.getLocale;qP.prototype.setLocale=qP.prototype.setLocale;qP.prototype.getIsVpaidAdapter=qP.prototype.Cm;qP.prototype.setIsVpaidAdapter=qP.prototype.qk;qP.prototype.isAutoPlayAdBreaks=qP.prototype.cn; qP.prototype.setAutoPlayAdBreaks=qP.prototype.setAutoPlayAdBreaks;qP.prototype.getVpaidMode=qP.prototype.Dm;qP.prototype.setVpaidMode=qP.prototype.setVpaidMode;qP.prototype.setVpaidAllowed=qP.prototype.setVpaidAllowed;qP.prototype.getPpid=qP.prototype.getPpid;qP.prototype.setPpid=qP.prototype.setPpid;qP.prototype.getNumRedirects=qP.prototype.getNumRedirects;qP.prototype.setNumRedirects=qP.prototype.setNumRedirects;qP.prototype.getCompanionBackfill=qP.prototype.getCompanionBackfill; qP.prototype.setCompanionBackfill=qP.prototype.setCompanionBackfill;var sP=new qP;var vP=function(){var a={};this.g=function(b,c){return a[b]!=null?a[b]:c};this.o=function(b,c){return a[b]!=null?a[b]:c};this.A=function(b,c){return a[b]!=null?a[b]:c};this.C=function(b,c){return a[b]!=null?a[b]:c};this.l=function(b,c){return a[b]!=null?c.concat(a[b]):c};this.j=function(){}};function wP(a){return ug(vP).g(a.g,a.defaultValue)};var xP=["gdpr_consent","addtl_consent"];function yP(a){var b={};(new P(a)).g.forEach(function(c,d){b[d]=c});return b}function zP(a){return a==="1"||a==="true"}function AP(a){a.forEach(function(b,c,d){b===""&&d.delete(c)})} var BP=function(a,b,c,d){b=b===void 0?{}:b;c=c===void 0?{}:c;this.j=a===void 0?!1:a;this.qg=d===void 0?!1:d;a={};b=v(Object.entries(b));for(d=b.next();!d.done;d=b.next()){var e=v(d.value);d=e.next().value;e=e.next().value;e!=null&&(a[d]=String(e))}this.l=a;this.g=new lP(c)},CP=function(a,b,c){c=c===void 0?!1:c;return new BP(qD(a),yP(a),b,c)},DP=function(a,b,c){return new BP(!0,a||{},b,c===void 0?!1:c)},KP=function(a){var b=new Map,c=b.set;if(a.j){var d=EP(a,"rdp");d=zP(d)?"1":""}else d="";c.call(b, "rdp",d);b.set("us_privacy",FP(a));c=b.set;d=EP(a,"npa");d=zP(d);c.call(b,"npa",a.j&&d?"1":"");b.set("gdpr",GP(a));b.set("gdpr_consent",HP(a));b.set("addtl_consent",IP(a));b.set("gpp",a.g.gppString);b.set("gpp_sid",a.g.o);b.set("ltd",JP(a)?"1":"");AP(b);return b},EP=function(a,b){if(a.l.hasOwnProperty(b))return a.l[b]},FP=function(a){var b=EP(a,"us_privacy");return a.g.uspString||b||""},IP=function(a){var b=EP(a,"addtl_consent");return a.g.l||b||""},GP=function(a){var b=EP(a,"gdpr");a=a.g.j;return a=== "1"||a==="0"?a:b!==void 0?b:""},HP=function(a){var b=a.g.g;a=EP(a,"gdpr_consent");return b&&b!=="tcunavailable"?b:b==="tcunavailable"?a||b:a||""},MP=function(a){var b;if(!(b=JP(a))){if(LP(a)){b=HP(a);if(b==="tcunavailable")b=null;else{var c;a=LP(a);var d=Hy(b);if(d&&b){var e=I(d,Yx,1);d=I(d,Sx,2)||new Sx;var f=ik(e,9),g=ik(e,4),h=ik(e,5),k=hk(e,10),m=hk(e,11),p=J(e,16),n=hk(e,15),r={consents:Iy(Fj(e,13,zi,Ej()),ty),legitimateInterests:Iy(Fj(e,14,zi,Ej()),ty)},u={consents:Iy(Fj(e,17,Bi,Ej())),legitimateInterests:Iy(Fj(e, 18,Bi,Ej()))},t=Iy(Fj(e,12,zi,Ej()),uy),z=bk(e,xx,19,Ej());e={};z=v(z);for(var A=z.next();!A.done;A=z.next()){A=A.value;var H=nk(A,1);e[H]=e[H]||{};var F=Fj(A,3,Bi,Ej());F=v(F);for(var O=F.next();!O.done;O=F.next())e[H][O.value]=nk(A,2)}b={tcString:b,tcfPolicyVersion:f,gdprApplies:a,cmpId:g,cmpVersion:h,isServiceSpecific:k,useNonStandardStacks:m,publisherCC:p,purposeOneTreatment:n,purpose:r,vendor:u,specialFeatureOptins:t,publisher:{restrictions:e,consents:Iy(Fj(d,1,zi,Ej()),ty),legitimateInterests:Iy(Fj(d, 2,zi,Ej()),ty),customPurposes:{consents:Iy(Fj(d,3,Bi,Ej())),legitimateInterests:Iy(Fj(d,4,Bi,Ej()))}}}}else b=null;b=(c=b)!=null?c:null}c=b;if(b=!!c){var ha=ha===void 0?{}:ha;if(Ly(c))if(c.gdprApplies===!1)var da=!0;else if(c.tcString==="tcunavailable")da=!ha.idpcApplies;else if((ha.idpcApplies||c.gdprApplies!==void 0||ha.qq)&&(ha.idpcApplies||typeof c.tcString==="string"&&c.tcString.length)){da=da===void 0?"755":da;c:{if(c.publisher&&c.publisher.restrictions&&(ha=c.publisher.restrictions["1"],ha!== void 0)){ha=ha[da===void 0?"755":da];break c}ha=void 0}ha===0?da=!1:c.purpose&&c.vendor?(ha=c.vendor.consents,(da=!(!ha||!ha[da===void 0?"755":da]))&&c.purposeOneTreatment&&c.publisherCC==="CH"?da=!0:da&&(da=c.purpose.consents,da=!(!da||!da["1"]))):da=!0}else da=!0;else da=!1;b=da}da=b}else da=!0;b=!da}return b},JP=function(a){a=EP(a,"ltd");return zP(a)},LP=function(a){var b=GP(a).toLowerCase();b=b==="true"||b==="1";return wP($A)?b||a.qg:b},NP=function(a){var b={"native":!1},c=LP(a);if(b.gdpr=c)c= a.g.j,b.gdprCmp=c==="1"||c==="0",c=EP(a,"gdpr")!==void 0,b.gdprUrl=c;c=!!HP(a);if(b.tcStrValid=c){c=a.g.g;var d=!!c;b.tcCmpPresent=d;b.tcCmpAvail=d&&c!=="tcunavailable";a=EP(a,"gdpr_consent");c=!!a;b.tcUrlPresent=c;b.tcUrlAvail=c&&a!=="tcunavailable"}return b};var OP=function(a){this.M=G(a)};q(OP,K);OP.prototype.getVersion=function(){return J(this,2)};var PP=function(a){this.M=G(a)};q(PP,K);var QP=function(a,b){return vk(a,2,b)},RP=function(a,b){return vk(a,3,b)},SP=function(a,b){return vk(a,4,b)},TP=function(a,b){return vk(a,5,b)},UP=function(a,b){return vk(a,9,b)},VP=function(a,b){return ek(a,10,b)},WP=function(a,b){return Dj(a,11,ti(b))},XP=function(a,b){return vk(a,1,b)},YP=function(a,b){return Dj(a,7,ti(b))};var ZP="platform platformVersion architecture model uaFullVersion bitness fullVersionList wow64".split(" ");function $P(a){var b;return(b=a.google_tag_data)!=null?b:a.google_tag_data={}}function aQ(a){var b,c;return typeof((b=a.navigator)==null?void 0:(c=b.userAgentData)==null?void 0:c.getHighEntropyValues)==="function"} function bQ(){var a=window;if(!aQ(a))return null;var b=$P(a);if(b.uach_promise)return b.uach_promise;a=a.navigator.userAgentData.getHighEntropyValues(ZP).then(function(c){b.uach!=null||(b.uach=c);return c});return b.uach_promise=a} function cQ(a){var b;return WP(VP(TP(QP(XP(SP(YP(UP(RP(new PP,a.architecture||""),a.bitness||""),a.mobile||!1),a.model||""),a.platform||""),a.platformVersion||""),a.uaFullVersion||""),((b=a.fullVersionList)==null?void 0:b.map(function(c){var d=new OP;d=vk(d,1,c.brand);return vk(d,2,c.version)}))||[]),a.wow64||!1)}function dQ(){var a,b;return(b=(a=bQ())==null?void 0:a.then(function(c){return cQ(c)}))!=null?b:null};function eQ(){var a=a===void 0?null:a;var b="h.3.679.0";a!=null&&(b+="/n."+a);return b} var gQ=function(){this.J=1;this.jg=this.hc=this.fc=this.appName=null;this.g=new BP;this.ia=null;this.se=!1;this.Tj=this.vg=this.ta=this.L=this.la=null;this.Ik=!1;this.secureSignals=null;this.ne=!1;dD();this.deviceId="";this.G=this.tl=this.re=this.A=null;this.aa="";this.Fa=-1;this.vb=this.Zj="";this.Ek=this.yk=this.jk=this.el=this.fk=this.l=this.ek=!1;this.K=null;this.O=!1;this.Sk=this.D=this.C=this.vl=this.ul=this.Ua=this.Rk=this.Qk=this.j=this.Nk=null;this.Dl=!1;this.Wi=this.Ti=null;this.Xi=!1;this.Xa= 0;this.Wj=null;this.Yi=new Map;this.referrer=this.Z=null;this.B=!1;this.El=this.Zi=null;this.Gb=this.R=this.Jl=this.Il=this.aj=this.Hl=this.F=!1;this.xd=this.W=this.Kl=null;this.ba=this.bj=this.o=!1;this.jb=null;this.fl="";this.N=new Dw;this.Wa=this.ca=null;this.Ta=new ow;fQ(this)},hQ=function(){return Math.floor(Math.random()*4503599627370496)},iQ=function(a){var b=a.D,c=a.appName,d=sP,e="h.3.679.0";b!=null?(e+="/n."+b,c!=null&&(e+="/"+c)):d.l&&(e+="/vpaid_adapter");a.yk&&(e+="/ima_eap");return e}, lQ=function(a,b){a=a===void 0?{}:a;b=b===void 0?!1:b;var c=jQ(),d=a.env||null,e=null;d&&(e=new iP(d));d=a.videoEnvironment||{};a.quicksilverSignals&&(c.Ta=pw(a.quicksilverSignals));var f=a.pvsid||0;f>0&&(c.Xa=f);f=a.settings||{};f.ppid!=null&&(c.Z=f.ppid);f=d.contentMediaUrl;f!=null&&(c.ia=f);f=d.customClickTrackingProvided;f!=null&&(c.ne=f);c.se=a.eoidCookieEnabled||!1;c.la=a.eoidCookieValue||null;f=a.gfpCookieValue;f!=null&&f?c.L=f:c.L=null;c.ta=a.gfpCookieV2Id||null;c.vg=a.gfpCookieV2OptOut||null; c.Ik=a.ivtDetectionOnlyStorageAllowed||!1;c.secureSignals=a.espSignals||null;c.ca=a.clientBidsProto||null;c.Wa=a.publisherInitiatedExperimentDataProto||null;f=a.topicsEnabled;f!==void 0&&(c.Gb=f);f=d.iframeState;f!=null&&(c.Fa=f);f=d.isAmp;f!=null&&(c.ek=f);f=d.topAccessiblePageUrl;f!=null&&(c.j=f);f=d.referrer;f!=null&&(c.referrer=f);f=d.topOrigin;f!=null&&(c.Kl=f);f=d.domLoadTime;f!=null&&(c.re=f);f=d.downloadBandwidthKbps;f!=null&&(c.tl=f);f=d.sdkImplLoadTime;f!=null&&(c.Zi=f);f=d.imaHostingDomain; f!=null&&(c.Zj=f);f=d.imaHostingPageUrl;f!=null&&(c.vb=f);f=d.usesCustomVideoPlayback;f!=null?c.o=f:c.o=a.usesCustomVideoPlayback||!1;f=d.usesProxyMediaElement;f!=null&&(c.bj=f);f=d.rendersUiNatively;f!=null&&(c.B=f);f=a.sdkOwnedRendering;f!=null&&(c.El=f);f=d.supportsResizing;f!=null?c.R=f:c.R=a.supportsResizing||!1;c.jk=a.isBrowserCookieEnabled||!1;c.F=a.supportsIconClickFallback||!1;c.aj=kQ(a,e);c.Dl=a.omidAdSessionsOnStartedOnly||!1;c.Jl=a.supportsOmidJsManagedAppSessions||!1;f=d.usesInlinePlayback; f!=null&&(c.ba=f);d=d.videoAdKey;d!=null&&(c.jb=d);if(d=a.companionSlots)c.ul=d;if(d=a.network)c.vl=d;c.Hl=a.supportsNativeClickSignals||!1;c.Il=a.supportsNativeNetworking||!1;(d=a.identifierInfo||null)?(c.fc=d.appSetId||null,c.hc=d.appSetIdScope||null,c.deviceId=d.deviceId,c.aa=d.idType,c.K=d.isLimitedAdTracking,c.Ti=d.perAppIdentifier,c.Wi=d.perAppIdentifierV2,c.Xi=d.perAppIdentifierV2UserEnabled||!1,c.Wj=d.idfv,c.W=d.trackingAuthorizationStatus||null,c.fl=d.adsIdentityToken):b&&(c.deviceId=a.rdid|| "",c.aa=a.idType||"",d=a.isLat)&&(c.K=String(d)==="1");c.Ua=a.msParameter||"";if(d=a.marketAppInfo||null)c.Rk=d.appVersion||"",c.Qk=d.packageName||"";e&&(c.appName=e.g,c.A=e.l,d=e.platform,c.j="//mbapp"+encodeURIComponent(String((d==="ios"||d==="tvos"?1:d==="android"?2:0)+"-"+e.g))+".com",c.C=e.platform,c.D=e.platform+"."+e.o,c.Sk=e.j);a.gmaSignals&&(c.Tj=a.gmaSignals);a.platformSignals&&(c.Yi=new Map(Object.entries(a.platformSignals)));c.O=b;c.l=a.isTv||!1;c.fk=a.isAndroidTvAdsFramework||!1;c.el= a.wrappedCompanionsEnabled||!1;c.yk=a.isEapLoader||!1;c.Ek=a.isFledgeEligible||!1;c.N=new Dw;return c},kQ=function(a,b){if(a.supportsExternalNavigation!=null)return a.supportsExternalNavigation;a=b==null?void 0:b.j;if(!a)return!1;switch(b==null?void 0:b.platform){case "android":return gP({nd:3,pd:16,rd:2},a)<=0;case "ios":return gP({nd:3,pd:11,rd:1},a)<=0;default:return!1}},fQ=function(a){var b=dQ();b&&b.then(function(c){a.xd=c==null?null:Qg(Kg(Yk(c)),3)})},jQ=function(){return ug(gQ)},mQ=hQ(),nQ= hQ(),oQ=mQ,pQ=nQ;function qQ(){var a=Qe(),b=document;return new P(a.parent===a?a.location.href:b.referrer)}function rQ(a,b){a.g.set("url","");try{var c=2083-a.toString().length-1;if(c<=0)return a.toString();for(var d=b.slice(0,c),e=encodeURIComponent(d),f=c;f>0&&e.length>c;)d=b.slice(0,f--),e=encodeURIComponent(d);a.g.set("url",d)}catch(g){}return a.toString()};var W={},sQ=(W.creativeView="creativeview",W.start="start",W.midpoint="midpoint",W.firstQuartile="firstquartile",W.thirdQuartile="thirdquartile",W.complete="complete",W.mute="mute",W.unmute="unmute",W.pause="pause",W.rewind="rewind",W.resume="resume",W.fullscreen="fullscreen",W.exitFullscreen="exitfullscreen",W.expand="expand",W.collapse="collapse",W.close="close",W.acceptInvitation="acceptinvitation",W.adCanPlay="adCanPlay",W.adStarted="adStarted",W.abandon="abandon",W.acceptInvitationLinear="acceptinvitationlinear", W.engagedView="engagedview",W.instreamAdComplete="instreamAdComplete",W.skipShown="skipshown",W.skippableStateChanged="skippableStateChanged",W.skip="skip",W.progress="progress",W.publisher_invoked_skip="PUBLISHER_INVOKED_SKIP",W.annotation_start="annotation_start",W.annotation_click="annotation_click",W.annotation_close="annotation_close",W.cta_annotation_shown="cta_annotation_shown",W.cta_annotation_clicked="cta_annotation_clicked",W.cta_annotation_closed="cta_annotation_closed",W.replay="replay", W.stop="stop",W.autoplayDisallowed="autoplayDisallowed",W.error="error",W.mediaLoadTimeout="mediaLoadTimeout",W.linearChanged="linearChanged",W.click="click",W.contentPauseRequested="contentPauseRequested",W.contentResumeRequested="contentResumeRequested",W.discardAdBreak="discardAdBreak",W.updateAdsRenderingSettings="updateAdsRenderingSettings",W.durationChange="durationChange",W.expandedChanged="expandedChanged",W.autoClose="autoClose",W.userClose="userClose",W.userRecall="userRecall",W.prefetched= "prefetched",W.loaded="loaded",W.init="init",W.allAdsCompleted="allAdsCompleted",W.adMetadata="adMetadata",W.adBreakReady="adBreakReady",W.adBreakFetchError="adBreakFetchError",W.log="log",W.volumeChange="volumeChange",W.companionBackfill="companionBackfill",W.companionInitialized="companionInitialized",W.companionImpression="companionImpression",W.companionClick="companionClick",W.impression="impression",W.interaction="interaction",W.adProgress="adProgress",W.adBuffering="adBuffering",W.trackingUrlPinged= "trackingUrlPinged",W.measurable_impression="measurable_impression",W.custom_metric_viewable="custom_metric_viewable",W.viewable_impression="viewable_impression",W.fully_viewable_audible_half_duration_impression="fully_viewable_audible_half_duration_impression",W.audio_audible="audio_audible",W.audio_measurable="audio_measurable",W.overlay_resize="overlay_resize",W.overlay_unmeasurable_impression="overlay_unmeasurable_impression",W.overlay_unviewable_impression="overlay_unviewable_impression",W.overlay_viewable_immediate_impression= "overlay_viewable_immediate_impression",W.overlay_viewable_end_of_session_impression="overlay_viewable_end_of_session_impression",W.externalActivityEvent="externalActivityEvent",W.adEvent="adEvent",W.configure="configure",W.remainingTime="remainingTime",W.destroy="destroy",W.resize="resize",W.volume="volume",W.authorIconClicked="videoAuthorIconClicked",W.authorNameClicked="videoAuthorClicked",W.videoClicked="videoClicked",W.videoIconClicked="videoIconClicked",W.learnMoreClicked="videoLearnMoreClicked", W.muteClicked="videoMuteClicked",W.titleClicked="videoTitleClicked",W.videoSkipClicked="SKIPPED",W.unmuteClicked="videoUnmuteClicked",W.vpaidEvent="vpaidEvent",W.show_ad="show_ad",W.video_card_endcap_collapse="video_card_endcap_collapse",W.video_card_endcap_dismiss="video_card_endcap_dismiss",W.video_card_endcap_impression="video_card_endcap_impression",W.mediaUrlPinged="mediaUrlPinged",W.breakStart="breakstart",W.breakEnd="breakend",W.omidReady="omidReady",W.omidUnavailable="omidUnavailable",W.omidAdSessionCompleted= "omidAdSessionCompleted",W.omidAdSessionAbandoned="omidAdSessionAbandoned",W.verificationNotExecuted="verificationNotExecuted",W.loadStart="loadStart",W.seeked="seeked",W.seeking="seeking",W),tQ="adBreakFetchError adBreakReady adBuffering adCanPlay adMetadata adProgress allAdsCompleted click companionBackfill companionInitialized complete contentPauseRequested contentResumeRequested durationChange video_card_endcap_collapse video_card_endcap_dismiss video_card_endcap_impression externalActivityEvent firstQuartile heavy_ad_intervention_cpu heavy_ad_intervention_network iconFallbackImageClosed impression interaction linearChanged loaded log measurable_impression mediaUrlPinged midpoint mute navigationRequested pause resetPaidData setPaidV2UserEnabled resume show_ad skipShown skippableStateChanged skip start thirdQuartile trackingUrlPinged updateGfpCookie userClose videoClicked videoIconClicked viewable_impression volumeChange".split(" "), uQ=["vpaidEvent"],vQ="abandon acceptInvitation acceptInvitationLinear click close collapse companionClick complete creativeView video_card_endcap_collapse video_card_endcap_dismiss video_card_endcap_impression engagedView exitFullscreen expand externalActivityEvent firstQuartile fullscreen instreamAdComplete loaded measurable_impression midpoint mute pause progress replay resume rewind show_ad skipShown skip start stop thirdQuartile unmute userClose verificationNotExecuted viewable_impression".split(" "), wQ="viewable_impression measurable_impression overlay_unmeasurable_impression overlay_unviewable_impression overlay_viewable_immediate_impression overlay_viewable_end_of_session_impression externalActivityEvent".split(" "),xQ={measurable_impression:"measurable_impression",viewable_impression:"viewable_impression",custom_metric_viewable:"custom_metric_viewable",fully_viewable_audible_half_duration_impression:"fully_viewable_audible_half_duration_impression",overlay_unmeasurable_impression:"overlay_unmeasurable_impression", overlay_unviewable_impression:"overlay_unviewable_impression",overlay_viewable_immediate_impression:"overlay_viewable_immediate_impression",overlay_viewable_end_of_session_impression:"overlay_viewable_end_of_session_impression",audio_audible:"audio_audible",audio_measurable:"audio_measurable"};function yQ(a){return a.startsWith("custom_metric_viewable")?!0:xQ[a]!=null}var zQ="acceptInvitation acceptInvitationLinear click collapse complete exitFullscreen expand firstQuartile fullscreen impression loaded midpoint pause resume skip start thirdQuartile videoClicked volumeChange".split(" ");var AQ=new gH;function BQ(a,b){a!=null&&b!=null&&(a=KD(a,b));return a}function CQ(a,b){var c=c===void 0?AQ:c;var d=d===void 0?null:d;a=BQ(a,b);d=d?BQ(d,b):d;kH(c,new eB(a,d))}function DQ(a,b){a!=null&&a.forEach(function(c){return void CQ(c,b)})};var EQ=function(){this.g=Math.random()<.01;this.l=Math.floor(Math.random()*4503599627370496);this.j=null}; EQ.prototype.report=function(a,b,c){b=b===void 0?{}:b;if(B.G_testRunner==null&&(this.g||(c===void 0?0:c))){b.lid=a;iQ(jQ())&&(b.sdkv=iQ(jQ()));this.j&&(b.palv=this.j);a=tB();D(E(a))||(b.e=a);b=FQ(this,b);var d=new P("http://pagead2.googlesyndication.com/pagead/gen_204");Hb(b,function(e,f){e!=null&&d.g.set(f,e==null?"":typeof e==="boolean"?e?"t":"f":""+e)},this);b=qQ().o;b!=="http"&&b!=="https"||Ny(d,b);sP.C||(b=d.toString(),a=$y(d,"url"),a!=null&&Nc()&&b.length>2083&&(b=rQ(d,a)),CQ(b))}}; var FQ=function(a,b){b.id="ima_html5";var c=qQ();b.c=a.l;b.domain=c.j;return b},GQ=function(){return ug(EQ)};var HQ=function(){this.X=new Map},IQ=function(a,b){b.forEach(function(c){var d=c.g,e=a.getEvents(d);e.push(c);a.X.set(d,e)})},KQ=function(a,b,c,d,e){var f=null,g=null;d&&(JQ(d)!==-1?f=JQ(d):g=d.g?d.value:-1);c=new gB(b,c,f,g,e===void 0?null:e);d=a.getEvents(b);d.push(c);a.X.set(b,d)};HQ.prototype.getEvents=function(a){return a!=null?this.X.get(a)||[]:[]};HQ.prototype.isEmpty=function(){return this.X.size===0}; var LQ=function(a,b){return a.getEvents(b).map(function(c){return jB(c)})},MQ=function(a,b){b.X.forEach(function(c){IQ(a,c)})};var NQ=function(a){this.oa=a;this.g=!1;this.X=new HQ};NQ.prototype.getMaxDuration=function(){if(this.oa.adTagUrl==null)return null;var a=this.oa.adTagUrl.match(zf)[6]||null;if(!a)return null;var b=null;Bf(a,function(c,d){if(b==null)switch(c){case "max_ad_duration":case "pmxd":c=Number(d),isFinite(c)&&(b=c/1E3)}});return b};function OQ(a){var b=Te(document,"VIDEO"),c=Mb(xO).filter(function(d){var e=["video/3gpp","application/x-mpegURL"];return Rc()&&e.includes(d)||(Qc()||de||KF())&&d==="video/webm"?!1:b.canPlayType(d)});a=a.filter(function(d){return c.includes(d)});return a.length>0?a:c} var PQ=function(a){return!(a||ae||ce||lo()||$d&&(!$d||!HF(GF,4)))},QQ=function(){var a=tP();return a&&nP(a,"disableOnScreenDetection")?!1:!io()},RQ=function(a){a=a===void 0?[]:a;return OQ(a)},SQ=function(){var a;if(!(a=lo()||Dc(Gc(),"CrKey")&&Dc(Gc(),"SmartSpeaker"))){var b,c;a=!!((b=window)==null?0:(c=b.chrome)==null?0:c.webview)}return a||jQ().bj?!1:!0},UQ=function(a){a=a===void 0?!1:a;return!(KF()||de&&HF(FF,10))||!a&&jQ().o?jQ().l||Dc(Gc(),"Xbox")?!0:ae||ce?!1:!$d||$d&&HF(GF,4)?io()?jQ().B:TQ()? !1:!0:!1:!0},VQ=function(){var a=jQ(),b=a.Sk;switch(a.C){case "android":return a.l?a.F:!!b&&gP({nd:3,pd:5,rd:2},b)<=0;case "ios":return!!b&&gP({nd:3,pd:4,rd:1},b)<=0;case "tvos":return a.B;default:return!TQ()}},WQ=function(){var a=a===void 0?!0:a;var b=[];!jQ().O&&sP.g!==0&&b.push("2");SQ()&&b.push("7");(jQ().l||!TQ())&&a&&b.push("8");return b},TQ=function(){return XQ()===1||XQ()===2},XQ=function(){switch(jQ(),0){case 1:return 3;case 2:return 1}var a=B.navigator||null;return jQ().l||(jQ(),!1)||a&& ko(a)||jQ().C==="tvos"?1:lo()?2:0},YQ=function(a){return jQ().F?jQ().fk?(a!=null?a:[]).some(function(b){var c;return(c=b.l)==null?void 0:c.startsWith("https://pubads.g.doubleclick.net/ata-qr")}):!0:!1};var ZQ="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");var $Q=function(){this.useLearnMoreButton=this.disableUi=this.disableClickThrough=!1;this.autoAlign=this.g=this.useVideoAdUi=!0;this.bitrate=-1;this.enablePreloading=!1;this.loadVideoTimeout=8E3;this.mimeTypes=null;this.playAdsAfterTime=-1;this.restoreCustomPlaybackStateOnAdBreakComplete=!1;this.uiElements=null;this.useStyledNonLinearAds=this.useStyledLinearAds=!1}; $Q.prototype.append=function(a){if(a){var b=a.autoAlign;b!=null&&(this.autoAlign=b);b=Pd(a.bitrate);typeof b==="number"&&!isNaN(b)&&b>0&&(this.bitrate=b);this.disableClickThrough=a.disableClickThrough||this.disableClickThrough;this.disableUi=a.disableUi||this.disableUi;this.enablePreloading=a.enablePreloading||this.enablePreloading;(b=a.mimeTypes)&&b.length!==0&&(this.mimeTypes=b);b=Pd(a.playAdsAfterTime);typeof b==="number"&&!isNaN(b)&&b>0&&(this.playAdsAfterTime=b);this.restoreCustomPlaybackStateOnAdBreakComplete= a.restoreCustomPlaybackStateOnAdBreakComplete||this.restoreCustomPlaybackStateOnAdBreakComplete;b=Pd(a.loadVideoTimeout);typeof b==="number"&&!isNaN(b)&&b>0&&(this.loadVideoTimeout=b);this.uiElements=a.uiElements||this.uiElements;this.useLearnMoreButton=a.useLearnMoreButton||this.useLearnMoreButton;this.useStyledLinearAds=a.useStyledLinearAds||this.useStyledLinearAds;this.useStyledNonLinearAds=a.useStyledNonLinearAds||this.useStyledNonLinearAds;this.useVideoAdUi=a.useVideoAdUi===!1?!1:this.useVideoAdUi; this.g=a.useYouTubeMetadata||this.g}};Ia("module$exports$google3$javascript$ads$interactivemedia$sdk$clientside$api$ads_rendering_settings.AdsRenderingSettings.AUTO_SCALE",-1);var aR=function(a,b){b=b===void 0?"videoDisplay1":b;N.call(this);this.j=a;this.g=b;this.duration=this.currentTime=-1;this.fullscreen=this.o=this.muted=this.l=this.A=!1;this.volume=-1;this.Ff="";this.ra=this.error=null;this.F=8E3;this.B=0;this.D=new VG(this);M(this,this.D)};q(aR,N);var cR=function(a){a.D.listen(a.j,a.g,a.Gm);bR(a.j,a.g,"startTracking")},dR=function(a){ZG(a.D);bR(a.j,a.g,"stopTracking")};aR.prototype.load=function(){throw Error("Unexpected usage of VideoDisplayChannel");}; var gR=function(a,b,c,d){a.Ff=b||"";eR(a);d=d?fR(d):null;if(c){if(c instanceof SE){bR(a.j,a.g,"load",{videoUrl:b,adPodInfo:d,muxedMediaUrl:c.getMediaUrl(),muxedMimeType:c.g,muxedVideoCodec:c.Ea,muxedAudioCodec:c.Oa,mseCompatible:c.Ba});return}if(c instanceof RE){var e=c.j,f=c.C,g=c.g,h=c.A,k=c.Ea,m=c.Oa;if(e&&f&&g&&h&&k&&m){bR(a.j,a.g,"load",{videoUrl:b,adPodInfo:d,demuxedVideoUrl:e,demuxedAudioUrl:f,demuxedVideoMimeType:g,demuxedAudioMimeType:h,demuxedVideoCodec:k,demuxedAudioCodec:m,mseCompatible:c.Ba}); return}}}bR(a.j,a.g,"load",{videoUrl:b,adPodInfo:d})};aR.prototype.reset=function(a){this.l||this.o||this.pause();de&&!a&&(hR(this,.001),gR(this,"",null,null));(ae||ce)&&this.Nd()&&!a&&bR(this.j,this.g,"exitFullscreen")};var eR=function(a){a.duration=-1;a.currentTime=-1;a.o=!1;a.l=!1;a.A=!1;iR(a)},hR=function(a,b){bR(a.j,a.g,"setCurrentTime",{currentTime:b})};l=aR.prototype;l.setVolume=function(a){this.volume=a;bR(this.j,this.g,"setVolume",{volume:a})};l.canPlayType=function(a){return RQ().includes(a)}; l.play=function(){bR(this.j,this.g,"play");this.B||(this.B=mu(this.G,this.F,this));return Promise.resolve()};l.pause=function(){bR(this.j,this.g,"pause");iR(this)};l.unload=function(){eR(this);de||KF()||bR(this.j,this.g,"unload")};l.getCurrentTime=function(){return this.currentTime};l.getDuration=function(){return this.duration};l.getError=function(){return this.error};l.getVolume=function(){return this.muted?0:this.volume};l.Nd=function(){return this.fullscreen}; l.Gm=function(a){var b=a.Eb;a=a.messageType;switch(a){case "click":this.dispatchEvent("click");break;case "end":this.o=!0;this.dispatchEvent("end");break;case "error":iR(this);if(b.errorCode==null||b.errorMessage==null||b.type==null)a=null;else for(var c=a=new yO(b.type,b.errorMessage,b.errorCode),d=b.innerError,e=0;e<3;++e)if(d instanceof Object){var f=new yO(d.type,d.errorMessage,d.errorCode);c=c.g=f;d=d.innerError}else{d!=null&&(c.g=Error(b.innerError));break}a!=null?this.error=a:(b=b.errorMessage|| dP.getMessage(),this.error=Error(b));this.dispatchEvent("error");break;case "fullscreen":this.fullscreen=!0;this.dispatchEvent("beginFullscreen");break;case "exitFullscreen":this.fullscreen=!1;this.dispatchEvent("endFullscreen");break;case "loaded":this.dispatchEvent("loaded");break;case "mute":this.muted=!0;this.dispatchEvent("volumeChange");break;case "pause":this.l||(this.l=!0,b.ended!=null&&(this.o=b.ended),this.dispatchEvent("pause"));break;case "play":this.l=!1;this.dispatchEvent("play");break; case "autoplayDisallowed":this.dispatchEvent("autoplayDisallowed");break;case "skip":this.dispatchEvent("skip");break;case "focusSkipButton":this.dispatchEvent("focusSkipButton");break;case "start":this.A||(iR(this),this.A=!0,jR(this,b),this.dispatchEvent("start"));break;case "timeupdate":this.A&&(c=b.timeUnit,a=kR(b.currentTime,c),b=kR(b.duration,c),a!==void 0&&b!==void 0&&(this.currentTime=a,this.duration!==b&&(this.duration=b,this.dispatchEvent("durationChange")),this.dispatchEvent("timeUpdate"))); break;case "timedMetadata":this.dispatchEvent("timedMetadata");break;case "unmute":this.muted=!1;this.dispatchEvent("volumeChange");break;case "volumeChange":jR(this,b);this.dispatchEvent("volumeChange");break;case "loadedmetadata":this.duration=Ld(b.duration);this.dispatchEvent(a);break;case "abort":case "canplay":case "canplaythrough":case "durationchange":case "emptied":case "loadstart":case "loadeddata":case "progress":case "ratechange":case "seeked":case "seeking":case "stalled":case "suspend":case "waiting":this.dispatchEvent(a)}}; var jR=function(a,b){b=b.volume;typeof b!=="number"||isNaN(b)||b<0||b>1||(a.muted=b===0,a.volume=b)};aR.prototype.G=function(){this.A||this.dispatchEvent("mediaLoadTimeout")};var iR=function(a){a.B&&(nu(a.B),a.B=0)},kR=function(a,b){if(a===void 0)return a;switch(b){case "ms":return Ld(a)/1E3;default:return Ld(a)}};var lR=function(a,b){N.call(this);this.l=a;this.contentDuration=b;this.j=0;this.g=new VG(this);M(this,this.g)};q(lR,N);lR.prototype.bd=function(){return this.j};lR.prototype.start=function(){this.stop();this.g.listen(this.l,"contentTimeUpdate",this.o)};lR.prototype.stop=function(){ZG(this.g)};lR.prototype.o=function(a){a=a.Eb;a=kR(a.currentTime,a.timeUnit);a!==void 0&&(this.j=a,this.dispatchEvent(new it("contentPlayheadChanged")))};var mR=function(a,b){it.call(this,"OffsetTrackerEvent");this.l=a;this.g=b};q(mR,it);var nR=function(a,b){N.call(this);this.j=a;this.g=b;this.ra=null;this.l=new VG(this);M(this,this.l)};q(nR,N);nR.prototype.remove=function(a){this.g.splice(this.g.indexOf(a),1)};nR.prototype.start=function(){this.stop();this.l.listen(this.j,"contentPlayheadChanged",this.o,!1);this.j.start()};nR.prototype.stop=function(){ZG(this.l);this.j.stop()};nR.prototype.o=function(){oR(this)}; var oR=function(a){var b=a.j.bd();if(!(isNaN(b)||b<0)){var c=pR(a,b);b=qR(a,b,a.j.contentDuration);c==null&&b==null||a.dispatchEvent(new mR(c,b))}},qR=function(a,b,c){var d=a.g.filter(function(f){return f!==-1&&b>=f-(sP.j?8:2)&&b0){var e;return(e=d.pop())!=null?e:null}return a.g[a.g.length-1]===-1?(c===-3?0:c&&c>0?b>=c-(sP.j?8:2):a.g.length===1||b>a.g[a.g.length-2]+1)?-1:null:null},pR=function(a,b){a=a.g.filter(function(d){return d!==-1&&d<=b});if(a.length>0){var c;return(c=a.pop())!= null?c:null}return null},rR=function(a){var b=a.g.find(function(c){return c===-1?!0:a.j.bd()<=c});return b==null?null:b};var sR=function(){this.g=new Map};sR.prototype.add=function(a,b){var c=this.g.get(a)||[];c.push.apply(c,w(b));this.g.set(a,c)};sR.prototype.remove=function(a){this.g.delete(a)};var uR=function(a){return tR(Array.from(a.g.keys()))};sR.prototype.getPodIndex=function(a){var b=uR(this);switch(a){case 0:return 0;case -1:return-1;default:return a=b.indexOf(a),b[0]===0?a:a+1}};var tR=function(a){if(a.length===0)return a;a.sort(function(b,c){return b-c});a[0]===-1&&a.push(a.shift());return a};var vR=function(a,b,c){this.j=a;this.g=b;this.ye=c};function wR(a,b){return xR("adPlayError",a,b===void 0?null:b,Ea.apply(2,arguments))}function xR(a,b,c,d){if(c instanceof yO)return c;var e=b.getErrorCode();b=b.getMessage();if(d.length>0)for(var f=0;f 0&&this.settings.nearMatchPercent<=100?this.settings.nearMatchPercent:90},NR=function(a,b){var c=[];b.forEach(function(d){a.settings.allowCustom&&(d.lg()&&(isNaN(d.Ca())||isNaN(KR(d))||KR(d)===d.Ca())&&LR(a,d)?c.push(d):(d=MR(a,d),d!=null&&d.lg()&&c.push(d)))});return c};JR.prototype.qb=function(){return this.resourceType}; var LR=function(a,b){var c;if(c=b.getContentType()!=="Flash"){if(c=a.resourceType==="All"||a.resourceType===b.qb())c=b.getContentType(),c=c==null?!0:a.creativeType==="All"||a.creativeType===c;c&&(c=b.getAdSlotId(),c=a.adSlotIds.length===0?!0:c!=null?a.adSlotIds.includes(c):!1)}if(c)if(c=b.getSize(),(b=b.lf())||a.g.lb)a=b&&a.g.lb;else if((b=a.sizeCriteria==="IgnoreSize")||(b=a.g.size,b=b==c?!0:b&&c?b.width==c.width&&b.height==c.height:!1),b)a=!0;else{if(b=a.sizeCriteria==="SelectNearMatch")b=c.width, c=c.height,b=b>a.g.size.width||c>a.g.size.height||b]+) attributionsrc([^>]+)>","g"),""));return a}; l.Xf=function(){var a=E(this.g);if(!D(E(this.Rb()))){a=new P(a);var b=encodeURIComponent(String(this.Rb()));a.g.set("clickTAG",b);a=a.toString()}b=Se("IFRAME",{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no",title:"Advertisement"},null);b.height=this.getHeight();this.getContentType()!=="Text"&&(b.width=this.getWidth());b.setAttribute("src",fS(a));return sS(this,b)}; l.cd=function(a){var b=E(this.g);if(!D(E(this.Rb()))){b=new P(b);var c=encodeURIComponent(String(this.Rb()));b.g.set("clickTAG",c);b=b.toString()}return new tM({height:this.getHeight(),width:this.getWidth(),La:fS(b),attribution:a.sa},"embedded",a.wc)};l.getAdId=function(){return this.id};l.getContentType=function(){return this.contentType};l.getSize=function(){return this.size};l.getWidth=function(){return this.getSize().width};l.lf=function(){return this.lb};l.getHeight=function(){return this.getSize().height}; l.getMinSuggestedDuration=function(){return this.Jc<=0?45:this.Jc};l.qb=function(){return this.resourceType};l.getMediaUrl=function(){return this.g};l.nh=function(){return this.fa==="VPAID"&&this.contentType==="Javascript"?this.g:null};l.getApiFramework=function(){return this.fa};l.Rb=function(){var a,b;return(b=(a=this.j)==null?void 0:a.url)!=null?b:null};l.Oe=function(){return JE(this.j)};l.oh=function(){var a,b;return(b=(a=this.j)==null?void 0:a.g)!=null?b:null}; var sS=function(a,b){var c=Se("DIV");On(c,"cursor","default");On(c,"position","relative");On(c,"z-index","1001");On(c,"height",a.getHeight()+"px");a.getContentType()!=="Text"&&On(c,"width",a.getWidth()+"px");a=a.getAdId();D(E(a))||(c.id=a);c.appendChild(b);return c},rS=function(a){if(!a.o)return null;a=[].concat(w(jS(a).getEvents("start")),w(jS(a).getEvents("creativeView")));if(a.length>0){var b=[];a.forEach(function(c){var d=jB(c);if(!D(E(d))){var e=He().lm("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"}); e.src=cd(OF).toString();c.j!=null&&e.setAttribute("attributionsrc",c.j||"");On(e,{display:"block",height:"0px",width:"0px"});c="iframe"+Math.floor(Math.random()*1E9);e.setAttribute("height","0");e.setAttribute("width","0");e.setAttribute("src",fS(d));e.setAttribute("id",c);b.push(e)}});return b}return null};qS.prototype.B=function(){for(var a=[this],b,c=(b=this.getAd())==null?void 0:b.Y;c;)b=this.o?kS(this,c)||kS(this,c,!0):tS(this,c)||tS(this,c,!0),b!=null&&a.push(b),c=c.Y;return a}; var tS=function(a,b,c){c=c===void 0?!1:c;return b.qa.find(function(d){var e=d.Ca()===a.Ca();return a instanceof d.constructor&&(c||e)})};function uS(a){return a.map(function(b){var c={};return c.adIdRegistry=b.getAdIdRegistry(),c.adIdValue=b.getAdIdValue(),c.universalAdIdRegistry=b.getAdIdRegistry(),c.universalAdIdValue=b.getAdIdValue(),c})};var xS=function(a,b,c,d,e,f,g,h,k,m,p,n,r,u,t,z,A,H,F,O){var ha=this;z=z===void 0?null:z;A=A===void 0?!1:A;H=H===void 0?!1:H;F=F===void 0?[]:F;O=O===void 0?!0:O;this.adId=a;this.Na=b;this.D=c;this.aa=d;this.title=e;this.description=f;this.ca=g;this.dealId=h;this.Yd=t;this.Z=F;this.J=[];this.A=[];this.Y=this.g=this.N=null;this.ga=new Map;this.ub=new BO;this.oa=null;this.Fb=new UR;this.C=new he(0,0);this.Zb=String(Math.floor(Math.random()*1E9));this.uiElements=[];this.ba=null;this.F=0;this.W=this.R= !1;this.B=null;this.disableUi=this.L=!1;this.Da=k>0?k:-1;this.G=m?m.slice():[];this.K=p?p.slice():[];this.qa=n?n.slice():[];u!=null&&u.forEach(function(da,Sb){ha.ga.set(Sb,da)});this.Va=(this.l=z!=null)?A:!1;this.Id=this.l?H:!1;this.O=E(z);this.qa.forEach(function(da){da.ad=ha});this.o=new RH;TH(this.o,new CG);O&&TH(this.o,new IG);TH(this.o,new sF);TH(this.o,new bG);T(U(),"ghmsh_eids",tB());vS(this.o);this.j=SH(this.o,new oF([t]),new eD);wS(this,r)},vS=function(a){var b=[{type:"itag",Rd:22},{type:"itag", Rd:18}];(de||KF()||Yd&&ee)&&b.unshift({type:"hls"});TH(a,new xG(new qI(b)))},yS=function(a){var b=a.g;return a.qc()?b.Ic:[]};l=xS.prototype;l.qc=function(){var a=this.g;return a!=null&&a instanceof nS};l.getAdSystem=function(){return this.Na!=null?this.Na:""};l.getAdvertiserName=function(){return this.aa!=null?this.aa:""};l.getApiFramework=function(){var a=this.g;return a!=null?a.getApiFramework():null};l.getTitle=function(){return E(this.title)};l.getDescription=function(){return E(this.description)}; var zS=function(a){for(var b=[];a!=null;)b=[].concat(w(a.G),w(b)),a=a.Y;return b},AS=function(a){return a.Y!=null?AS(a.Y).concat(a.K):a.K};xS.prototype.getSurveyUrl=function(){return this.ca};xS.prototype.getDealId=function(){var a=this.dealId!=null?this.dealId:"",b=this.Y;return b!=null?(b=b.getDealId(),D(b)?a:b):a}; xS.prototype.getContentType=function(){if(BS(this)!=null)return"application/javascript";if(CS(this))return"image/jpeg";var a=this.g,b="";if(a===null)return b;if(a instanceof nS)a=a.g,a!==null&&(b=E(a.mimeType));else if(a instanceof qS)switch(a.qb()){case "IFrame":case "Html":b="text/html";break;case "Static":b=E(a.creativeType)}return b};var DS=function(a){return a.Y!=null?a.A.concat(DS(a.Y)):a.A};xS.prototype.getTraffickingParametersString=function(){return this.g!=null?this.g.ka:""}; var ES=function(a,b){return a.ga.get(b)},FS=function(a){for(var b=new Map;a;)a.ga.forEach(function(c,d){var e=b.get(d);e?b.set(d,[].concat(w(e),[c])):b.set(d,[c])}),a=a.Y;return b},GS=function(a,b){var c=[];a.ga.forEach(function(d){c=c.concat(YR(d,b))});return c},HS=function(a,b,c){c=c===void 0?null:c;a.g=b;a.C=new he(0,0);a.g&&(c=a.g,a.g instanceof qS&&(a.C=a.g.getSize()));if(b=a.Y){var d=kS(c,b)||kS(c,b,!0);HS(b,d,c)}c=a.Fb;a=a.getDuration();c.g=a},JS=function(a){if(a.oa){var b=new oF(IS(a));a.j= SH(a.o,b)}},IS=function(a){return a.Y?[a.Yd].concat(w(IS(a.Y))):[a.Yd]},KS=function(a){var b=0;for(a=a.Y;a!=null;)a=a.Y,b++;return b};l=xS.prototype;l.getAdId=function(){return this.adId!=null?this.adId:""};l.getWrapperAdIds=function(){var a=ES(this,"inred_info");a=a?a.j:[];var b=this.Y?this.Y.getAdId():[],c=this.Y?this.Y.getWrapperAdIds():[];return[].concat(a,b,c)};l.getCreativeAdId=function(){var a=this.g;return a!=null?E(a.getCreativeAdId()):""}; l.getCreativeId=function(){var a=this.g;return a!=null?(a=a.getCreativeId(),a!=null?a:""):""};l.getWrapperCreativeIds=function(){var a=ES(this,"inred_info");a=a?a.o:[];var b=this.Y?this.Y.getCreativeId():[],c=this.Y?this.Y.getWrapperCreativeIds():[];return[].concat(a,b,c)};l.getWrapperAdSystems=function(){var a=ES(this,"inred_info");a=a?a.l:[];var b=this.Y?this.Y.getAdSystem():[],c=this.Y?this.Y.getWrapperAdSystems():[];return[].concat(a,b,c)}; var LS=function(a){if(a.Y){var b=LS(a.Y);if(b)return b}return(a=ES(a,"metrics"))?a.j:null};xS.prototype.getUniversalAdIds=function(){var a=this.g;return a!=null?a.getUniversalAdIds():[]};xS.prototype.getUniversalAdIdValue=function(){var a=this.getUniversalAdIds();return a.length?a[0].getAdIdValue():"unknown"};xS.prototype.getUniversalAdIdRegistry=function(){var a=this.getUniversalAdIds();return a.length?a[0].getAdIdRegistry():"unknown"}; var MS=function(a){if(a.Y){var b=MS(a.Y);if(b)return b}return(a=ES(a,"metrics"))?a.l:null},NS=function(a){if(a.Y==null)return[a.D];var b=NS(a.Y);b.push(a.D);return b},OS=function(a){a=ES(a,"waterfall");return a==null?-1:a.j};xS.prototype.getPodIndex=function(){if(this.Da!==-1)return this.Da;var a=ES(this,"pod");return a==null?-1:a.Ca()};xS.prototype.Vd=function(){if(!this.L){this.L=!0;var a;(a=this.B)==null||a.Vd(this.getDuration());a=this.Y;a!=null&&a.Vd()}}; var PS=function(a){var b;if((b=a.B)==null?0:b.Qf())return a.B;a=a.Y;return a!=null?PS(a):null};xS.prototype.getCompanionAds=function(a,b){b=b===void 0?new HR:b;return NR(new JR(a,b),DS(this))};xS.prototype.og=function(){for(var a=this;a;){if(QS(a))return!1;a=a.Y}return!0}; var RS=function(a,b){return b||a.Y==null?a.J:a.J.concat(RS(a.Y))},wS=function(a,b){a.J=b?b.slice():[];a.J.forEach(function(c){a.A=a.A.concat(c.g.slice())});a.A.forEach(function(c){SS(c,a)})},TS=function(a,b){return a.qa.some(function(c){return c instanceof nS&&b==="linear"||c instanceof qS&&b==="nonlinear"?!0:!1})};xS.prototype.isLinear=function(){return this.R?this.W:US(this)?!0:TS(this,"linear")};xS.prototype.isSkippable=function(){return VS(this)!=null}; var US=function(a){var b=a.g,c,d=!((c=a.oa)==null||!c.forceNonLinearFullSlot);return QS(a)&&b!=null&&b instanceof qS&&(a.C.height>90||d)},WS=function(a,b){if(b==null)return null;var c=ES(b,"adx");return c!=null?c:WS(a,b.Y)},VS=function(a){var b=WS(a,a.Y);if(b!=null)return b.isSkippable()?b.offset:null;b=null;var c=new pS(5,!1);a:{var d=v(a.ga.values());for(var e=d.next();!e.done;e=d.next())if(YR(e.value,"skip").length!==0){d=!0;break a}d=a.ga.get("DFP");d=d instanceof ZR&&d.j?!0:!1}e=a.g;b==null&& e!=null&&e instanceof nS&&(b=e.skipOffset);b==null&&d&&(b=c);return US(a)?(ES(a,"AdSense"),new pS(5,!1)):b};xS.prototype.getSkipTimeOffset=function(){var a=VS(this);if(a!=null){var b=this.getDuration();a.g&&b>0&&(a.g=!1,a.value=a.value*b/100);return JQ(a)}return-1};var XS=function(a){return a.g!==null?a.g.Rb():null},YS=function(a){return a.g!=null?a.g.Oe():null},ZS=function(a){return a.g!=null?a.g.getDuration():-1},$S=function(a){return a.N!=null?a.N:0}; xS.prototype.getDuration=function(){if(US(this))return ES(this,"AdSense"),15+$S(this);if(this.l){var a=ES(this,"wrapper_info");if(a)return a.getDuration()}return ZS(this)+$S(this)};xS.prototype.getMediaUrl=function(){var a=null,b=this.g;b!=null&&(a=b.getMediaUrl(),D(E(a))&&(a=null));return a};var BS=function(a){return a.g!==null?a.g.nh():null},bT=function(a){a=ES(a,"InfoCards");return a!=null&&aT(a)!=null};l=xS.prototype; l.getVastMediaWidth=function(){var a=0,b=this.g;b&&(b instanceof nS?(b=b.g,b!==null&&(a=b.getWidth())):b instanceof qS&&(a=b.getSize().width));return a};l.getVastMediaHeight=function(){var a=0,b=this.g;b&&(b instanceof nS?(b=b.g,b!==null&&(a=b.getHeight())):b instanceof qS&&(a=b.getSize().height));return a};l.getWidth=function(){return this.isLinear()?0:this.C.width};l.getHeight=function(){return this.isLinear()?0:this.C.height};l.getUiElements=function(){return this.uiElements}; l.getMinSuggestedDuration=function(){return this.g==null?-2:this.g instanceof qS?this.g.getMinSuggestedDuration():this.g.getDuration()};l.getAdPodInfo=function(){return this.Fb}; var QS=function(a){return["ADSENSE","ADSENSE/ADX","ADSENSE-VIRAL"].includes(a.D)},CS=function(a){return a.qc()?a.g.ab.some(function(b){return E(b.fa)==="Safeframe"}):!1},cT=function(a){return a.qc()?a.g.ab.some(function(b){return E(b.fa)==="SIMID"}):!1},dT=function(a,b,c){a.disableUi=c&&b;(c||b)&&GQ().report(60,{ui_disabled_available:c,ui_disable_requested:b},!0);return a.disableUi},eT=function(a){var b=[];a.g instanceof nS&&b.push.apply(b,w(a.g.va));a.Y&&b.push.apply(b,w(eT(a.Y)));var c=new Set, d=[];b.forEach(function(e){c.has(e.Ab)||(c.add(e.Ab),d.push(e))});return d},fT=function(a){var b=a.Z.slice();a=ES(a,"adVerifications");a!=null&&(b=b.concat(a.Bc()));return b};xS.prototype.Bc=function(){var a=fT(this),b=this.Y;b!=null&&(a=b.Bc().concat(a));return a}; var hT=function(a){for(var b=gT(a),c;((c=a)==null?void 0:c.Y)!=null;){a=a.Y;var d=void 0;b=((d=a)==null?void 0:gT(d))||b}return b},gT=function(a){a=a.ga.get("EoidCookieExtension");return a instanceof $R?a.j:null},jT=function(a,b){for(var c=iT(a,b),d;((d=a)==null?void 0:d.Y)!=null;){a=a.Y;var e=void 0;c=((e=a)==null?void 0:iT(e,b))||c}return c},iT=function(a,b){a=a.ga.get(b?"GfpCookieV2Extension":"GfpCookieV1Extension");return a instanceof cS?a.j:null}; xS.prototype.getVastMediaBitrate=function(){if(this.qc()){var a=this.g.g;if(a!=null)return a.wa||0}return 0}; var kT=function(a){var b={};b.adId=a.getAdId();b.adPodInfo=fR(a.getAdPodInfo());b.adQueryId=a.Zb;b.adSystem=a.getAdSystem();b.adWrapperCreativeIds=a.getWrapperCreativeIds();b.adWrapperIds=a.getWrapperAdIds();b.adWrapperSystems=a.getWrapperAdSystems();b.advertiserName=a.getAdvertiserName();b.apiFramework=a.getApiFramework();var c=a.g;c!=null&&(b.attributionParams=c.Oe(),b.clickThroughUrl=c.Rb()||"");b.contentType=a.getContentType();b.creativeAdId=a.getCreativeAdId();b.creativeId=a.getCreativeId(); b.dealId=a.getDealId();b.description=a.getDescription();b.disableUi=a.disableUi;b.duration=a.getDuration();b.height=a.getHeight();b.linear=a.isLinear();b.mediaUrl=a.getMediaUrl();b.minSuggestedDuration=a.getMinSuggestedDuration();b.skippable=a.isSkippable();b.skipTimeOffset=a.getSkipTimeOffset();b.surveyUrl=a.getSurveyUrl();b.title=a.getTitle();b.traffickingParameters=a.getTraffickingParametersString();b.uiElements=a.getUiElements();b.universalAdIds=uS(a.getUniversalAdIds());b.universalAdIdRegistry= a.getUniversalAdIdRegistry();b.universalAdIdValue=a.getUniversalAdIdValue();b.vpaid=BS(a)!=null;b.width=a.getWidth();b.vastMediaBitrate=a.getVastMediaBitrate();b.vastMediaHeight=a.getVastMediaHeight();b.vastMediaWidth=a.getVastMediaWidth();return b},lT=function(a){var b=a.g,c=b!=null?jS(b):new HQ;AS(a).forEach(function(d){KQ(c,"impression",d.url,null,d.g)});zS(a).forEach(function(d){KQ(c,"error",d)});FS(a).forEach(function(d){d.forEach(function(e){MQ(c,e.g)})});return c.X},mT=function(a){for(var b= [];a!=null;)a.ga.forEach(function(c){b=[].concat(w(b),w(c.xe))}),a=a.Y;return b};xS.prototype.isCustomClickTrackingUsed=function(){return(this.og()?JF():!1)&&jQ().ne};var nT=ra(["https://pagead2.googlesyndication.com/omsdk/releases/live/omweb-v1.js"]),oT=ra(["https://pagead2.googlesyndication.com/omsdk/releases/control/omweb-v1.js"]),pT=ra(["https://pagead2.googlesyndication.com/omsdk/releases/canary/omweb-v1.js"]),qT=ra(["https://pagead2.googlesyndication.com/omsdk/releases/experimental/omweb-v1.js"]);Ee(nT);Ee(oT);Ee(pT);Ee(qT);var rT=function(a,b,c){b=b===void 0?null:b;c=c===void 0?null:c;it.call(this,a);this.ad=b;this.g=c};q(rT,it);var X=function(a){var b=a.type,c,d=(c=a.ad)!=null?c:null,e;a=(e=a.data)!=null?e:null;return new rT(b,d,a)},sT=function(a){return a.type==="videoIconClicked"?new rT(a.type,null,a.data):new rT(a.type)},tT=function(a){return new rT(a.type,null,a.data)};rT.prototype.getAd=function(){return this.ad};rT.prototype.getAdData=function(){return this.g};var uT=function(a,b){this.g=a[B.Symbol.iterator]();this.j=b};uT.prototype[Symbol.iterator]=function(){return this};uT.prototype.next=function(){var a=this.g.next();return{value:a.done?void 0:this.j.call(void 0,a.value),done:a.done}};var vT=function(a,b){return new uT(a,b)};var zT=function(a){if(a instanceof wT||a instanceof xT||a instanceof yT)return a;if(typeof a.next=="function")return new wT(function(){return a});if(typeof a[Symbol.iterator]=="function")return new wT(function(){return a[Symbol.iterator]()});if(typeof a.be=="function")return new wT(function(){return a.be()});throw Error("Not an iterator or iterable.");},wT=function(a){this.g=a};wT.prototype.be=function(){return new xT(this.g())};wT.prototype[Symbol.iterator]=function(){return new yT(this.g())}; wT.prototype.j=function(){return new yT(this.g())};var xT=function(a){this.g=a};q(xT,Fp);xT.prototype.next=function(){return this.g.next()};xT.prototype[Symbol.iterator]=function(){return new yT(this.g)};xT.prototype.j=function(){return new yT(this.g)};var yT=function(a){wT.call(this,function(){return a});this.l=a};q(yT,wT);yT.prototype.next=function(){return this.l.next()};var AT=function(a,b){this.j={};this.g=[];this.l=this.size=0;var c=arguments.length;if(c>1){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d2*this.size&&BT(this),!0):!1};var BT=function(a){if(a.size!=a.g.length){for(var b=0,c=0;b=d.g.length)return Gp;var f=d.g[b++];return{value:a?f:d.j[f],done:!1}};return e};var CT=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var ET=null,FT=function(){N.call(this);this.A=this.g=null;this.L="";this.G=this.H=this.O=null;this.K=-1;this.B=!1;this.j=new AT;this.l=new Map;this.o=new VG(this);M(this,this.o);this.F=new Map;mc().o=!0;QQ()};q(FT,N); var GT=function(){ET==null&&(ET=new FT);return ET},IT=function(a,b){var c=a.Zb;QQ()&&HT(GT(),c,b);var d=[];(FS(a).get("activeview")||[]).forEach(function(e){d.push.apply(d,w(e.j))});d.length&>().l.set(c,d)},JT=function(a){GT().F.delete(a.Zb);GT().l.delete(a.Zb)},HT=function(a,b,c){a.F.set(b,c)},KT=function(a,b){var c={};a=(c.queryId=a,c.viewabilityString=b,c);GT().dispatchEvent(tT({type:"measurable_impression",data:a}))},LT=function(a,b){var c={};a=(c.queryId=a,c.viewabilityString=b,c);GT().dispatchEvent(tT({type:"viewable_impression", data:a}))},MT=function(a,b,c){var d={};a=(d.queryId=a,d.viewabilityString=b,d.eventName=c,d);GT().dispatchEvent(tT({type:"externalActivityEvent",data:a}))},NT=function(a,b){a.g&&a.o.pa(a.g,"activityMonitor",a.D);a.g=b;a.o.listen(a.g,"activityMonitor",a.D);bR(a.g,"activityMonitor","getPageSignals")},OT=function(a){var b=GT();if(b.g)if(b.G)a(b.G+"_ct"+(Ua()-b.K));else{var c=b.j,d=setTimeout(function(){a("timeout");Array.from(c.keys()).forEach(function(f){c.get(f)===a&&c.delete(f)})},200);b.j.set(d, a);var e={};b.H&&(e.isFullscreen=b.H.Nd());e.osdId=b.L;e.eventId=d;GQ().g&&(b.A=Ua(),e.loggingId=Math.random(),GQ().report(43,{step:"sendingMessage",logid:e.loggingId,time:b.A}));bR(b.g,"activityMonitor","fetchAdTagUrl",e)}else a("")};FT.prototype.destroy=function(){this.o.pa(this.g,"activityMonitor",this.D);this.g=null}; FT.prototype.D=function(a){var b=a.Eb,c;switch(a.messageType){case "appStateChanged":ug(Qs);b=b.appState;a=qo();a.N!=b&&(a.N=b,(a=ug(gr).g)&&zo(a.g,!b));break;case "externalActivityEvent":MT(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":KT(b.queryId,b.viewabilityString);break;case "pageSignals":this.O=b.pageSignals;break;case "viewableImpression":LT(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;GT().G=b;GT().K=Ua();break;case "viewability":(c= this.H)==null||c.getVolume();a=b.queryId;c=b.vastEvent;this.l.get(a)&&c==="start"&&this.l.get(a);a=b.eventId;clearTimeout(a);if(c=this.j.get(a))this.j.delete(a),c(b.viewabilityData);break;case "viewabilityMeasurement":a=ug(Qs);c=b.queryId;b=b.viewabilityData;if(mc().g){a.C=b.nativeVolume;var d=b.exposure||0,e=b.unmeasurable;a=a.A(c,{});b.presenceData!=null&&(a.l===null&&(a.l=new Hp),Zb(a.l,b.presenceData));a.Z==-1&&(a.Z=vn(),a.jb=a.Ya().g.g);a.ba+=e?1:0;a.Wa++;fp(a.Fa,d,d,!1,1,!1);a.Tb=e||a.Tb;a= a.ma;c=b.position;a.g=new xn(c.top,c.right,c.bottom,c.left);a.B=b.exposure||0;a.o=b.screenShare;a=qo();c=b.insideIframe;c!==void 0&&c==0&&(a.l=!1);b.documentSize&&(a.o=new he(b.documentSize.width,b.documentSize.height));b.viewportSize&&(a.g=new xn(0,b.viewportSize.width,b.viewportSize.height,0))}break;case "engagement":a=b.eventId,clearTimeout(a),c=this.j.get(a),GQ().g&&(d=-1,this.A&&(d=Ua()-this.A),e=!1,c||(e=!0),Pb(b,"loggingId")&&GQ().report(43,{step:"receivedResponse",time:Ua(),timeout:e,logid:b.loggingId, timediff:d})),c&&(this.j.delete(a),c(b.engagementString))}};Ia("ima.bridge.getNativeViewability",function(a,b){GT();b({})});Ia("ima.bridge.getVideoMetadata",function(a){return(a=GT().F.get(a))?a():{}});Ia("ima.bridge.triggerViewEvent",LT);Ia("ima.bridge.triggerMeasurableEvent",KT);Ia("ima.bridge.triggerExternalActivityEvent",MT);var PT=function(a){this.M=G(a)};q(PT,K);PT.prototype.getUniversalAdIdValue=function(){return Pi(Aj(this,7))};PT.prototype.getUniversalAdIdRegistry=function(){return Pi(Aj(this,8))};var QT=[0,zm,Bm,-1,hm,mm,-1,qm,-1,zm,mm,qm,Bm];var RT=function(a){this.M=G(a)};q(RT,K);RT.prototype.getType=function(){return zi(Aj(this,1))};var ST=function(a,b){return yk(a,1,b)};RT.prototype.getAdSystem=function(){return Pi(Aj(this,3))};var TT=function(a,b){yk(a,4,b)};RT.prototype.getAdId=function(){return Pi(Aj(this,5))};RT.prototype.getCreativeId=function(){return Pi(Aj(this,6))};RT.prototype.getCreativeAdId=function(){return Pi(Aj(this,7))};var UT=[0,Bm,qm,-1,Bm,qm,-2,zm,qm,QT,nm];var VT=function(a){this.M=G(a)};q(VT,K);VT.prototype.g=Hm([0,rm,UT,mm,-1]);var WT=new Map([["application/dash+xml",1],["application/x-javascript",2],["application/x-mpegurl",3],["application/javascript",4],["audio/ogg",5],["audio/mp4",6],["audio/mpeg",7],["audio/wav",8],["text/javascript",9],["video/m4v",10],["video/ogg",11],["video/x-flv",12],["video/3gpp",13],["video/mpt2",14],["video/mp4",15],["video/mpeg",16],["video/quicktime",17],["video/webm",18]]),YT=function(a){var b=ST(new RT,a.l?2:1),c=a.oa;if(c&&c.adTagUrl){var d=null;try{d=(new P(c.adTagUrl)).j}catch(e){}d!= null&&d.length>0?d=d.slice(-40):d=null;vk(b,2,d)}c=a.getAdSystem();c=c.length===0?null:c;TT(vk(b,3,c),XT(a.F));c=a.getAdId();c=c.length===0?null:c;vk(b,5,c);c=a.getCreativeId();c=c.length===0?null:c;vk(b,6,c);c=a.getCreativeAdId();c=c.length===0?null:c;vk(b,7,c);a=a.ub;c=a.A;d=a.o;c!=null&&d!=null&&d>=c&&sk(b,8,d-c);a=a.l.map(function(e){return e.vendor});Mj(b,11,a,Ni);return b},XT=function(a){return a>=1&&a<2?1:a>=2&&a<3?2:a>=3&&a<4?3:a>=4&&a<5?4:0},ZT=function(a){a=a.trim().toLowerCase();a=a.split(" ")[0]; return WT.get(a)||0};var $T=[202,1009],aU=!1;function bU(a,b,c){c=c===void 0?null:c;var d=a?a.j:null;if(a){var e=a.getAdPodInfo();var f=new PC;f.adPosition=e.getAdPosition();f.l=e.getMaxDuration();f.g=e.getPodIndex();f.j=e.getTimeOffset();f.totalAds=e.getTotalAds();e=f}else e=null;return new cU(d,e,b,a?a.oa:null,c)} function dU(a,b,c){b=b===void 0?null:b;var d=new Map;a=bU(b,c===void 0?null:c,a);eU(d,a);ID(a.error.getVastErrorCode(),d);AD(d,"SDKV",iQ(jQ()));fU(d,a);gU(d);c=a.error.getErrorCode();AD(d,"ERROR_MSG",a.error.getMessage());AD(d,"IMA_ERROR",c.toString());AD(d,"INTERNAL_ID","0");a=$T.includes(c);AD(d,"BLOCKING_ERROR",a?"1":"0");hU(d,b);return d}function iU(){var a=jQ().j;return(new P(a)).j||""}function jU(a){var b=new Map,c=bU(null,null);eU(b,c);c=b;c=c===void 0?new Map:c;AD(c,"REASON",a);return b} function kU(a,b){var c=new Map;b=bU(a,b===void 0?null:b);eU(c,b);AD(c,"SDKV",iQ(jQ()));fU(c,b);gU(c);hU(c,a);return c}function lU(){var a=HP(jQ().g);/^[\.\w_-]*$/.test(a)||aU||(GQ().report(141,{tcstring:a}),aU=!0)} function mU(a,b){var c,d,e,f,g,h,k;return y(function(m){if(m.g==1)return d=c=null,SQ()&&(c="Google1",d="3.679.0"),(f=a.adTagUrl)!=null&&f.includes("GOOGLE_INSTREAM_VIDEO_NONCE")?m=x(m,b(a),3):(m.g=2,m=void 0),m;m.g!=2&&(e=m.j||void 0);g=jQ().xd;h=HP(jQ().g);k=FP(jQ().g);lU();var p=m.return;var n={ck:"1",oa:a,appName:jQ().appName,xk:RQ(),xj:TQ()?"0":JF()?"2":"1",Kg:c,Xj:d,domain:iU(),pageUrl:nU(a),Se:sP.getPlayerType(),Te:sP.getPlayerVersion(),sf:"IMA",tf:"3.679.0",mj:WQ(),af:h,xd:g,Gk:k,Em:e};n=n=== void 0?{}:n;var r=r===void 0?new Map:r;AD(r,"ADCATEGORIES","-1");AD(r,"ADCOUNT","-1");AD(r,"APIFRAMEWORKS",n.mj?n.mj.join(","):"-1");AD(r,"BLOCKEDADCATEGORIES","-1");var u;AD(r,"GOOGLE_INSTREAM_VIDEO_NONCE",(u=n.Em)!=null?u:"-1");AD(r,"EXTENSIONS","-2");AD(r,"MEDIAMIME",n.xk?n.xk.join(","):"-1");AD(r,"PLAYERCAPABILITIES","-1");AD(r,"VASTVERSIONS",Mb(VC).join(","));AD(r,"VERIFICATIONVENDORS","-2");n=BD(n,r);return p.call(m,n)})} function eU(a,b){var c=b.ad,d=b.Fb,e=b.oa;b=b.display;var f=jQ().appName,g=TQ()?"0":JF()?"2":"1",h=null,k=null;c instanceof EE&&c.fb.length>0&&(k=c.fb[0],h=k.getAdIdValue(),k=k.getAdIdRegistry());var m=null,p=null;SQ()&&(m="Google1",p="3.679.0");var n=iU(),r=nU(e),u=sP.getPlayerType(),t=sP.getPlayerVersion(),z=HP(jQ().g),A=jQ().xd,H=FP(jQ().g);lU();CD({H:b,ck:"1",Fb:d,ad:c,oa:e,appName:f,xj:g,eo:h,bo:k,Kg:m,Xj:p,Se:u,Te:t,sf:"IMA",tf:"3.679.0",domain:n,pageUrl:r,af:z,xd:A,Gk:H},a)} function hU(a,b){zD(a,"CREATIVE_PLAYBACK",function(){if(b){var c=new VT;for(var d=[],e=b;e!=null;)d.push(YT(e)),e=e.Y;e=d[0];var f=new PT,g=b.g;if(g instanceof nS){if(Dj(f,5,ti(!0)),g=g.g,g!=null){var h=g.mimeType||"";h=h.length===0?null:ZT(h);yk(f,2,h);h=g.wa||0;h=sk(f,1,h<=0?null:h);var k=g.url;k!=null&&AF(k)?(k=(new P(k)).l,k=k!=null&&k.startsWith("/videoplayback")):k=!1;vk(h,11,k?g.g:null)}}else g instanceof qS&&(Dj(f,5,ti(!1)),g=g.creativeType||"",g=g.length===0?null:ZT(g),g=yk(f,2,g),sk(g,1, null));BS(b)!=null&&(sP.g===2?yk(f,12,1):yk(f,12,2));g=b.getDuration();g=Dj(f,4,ri(g<0?null:g));h=b.getUniversalAdIdValue();g=vk(g,7,h);h=b.getUniversalAdIdRegistry();vk(g,8,h);h=b.ub;g=h.j;h=h.g;g!=null&&h!=null&&h>=g&&sk(f,9,h-g);Dj(f,10,ti(!1));ck(e,10,f);d.reverse();d=ek(c,1,d);Dj(d,3,ti((document.visibilityState||"")==="visible"));c=c.g();c=Qg(c,3)}else c="";return c})} function gU(a){zD(a,"URL_SIGNALS",function(){var b=GT().O;!b&&window.Goog_AdSense_Lidar_getUrlSignalsArray&&(b=window.Goog_AdSense_Lidar_getUrlSignalsArray());return b?b[0]:""})}function fU(a,b){if(b.ad!=null){var c=b.ad.ga.get(pE);AD(a,"AQI",(c instanceof pE?c.g:"")||"");zD(a,"AD_V",function(){if(b.ad instanceof EE){var d=tN(b.ad);if(d!=null)return d}return"0"});AD(a,"FINAL","1")}}function nU(a){a=(a==null?void 0:a.pageUrl)||null;return DF(a)?a:jQ().j} var cU=function(a,b,c,d,e){this.ad=a;this.Fb=b;this.display=c;this.oa=d===void 0?null:d;this.error=e===void 0?null:e};function oU(a,b){var c=E(a);D(c)?b=a:OE(c)?(a=c,c=iQ(jQ()),a=PE(a,"&sdkv="+c),jQ().O&&(a=PE(a,"&ssss=gima")),b!=="impression"&&b!=="click"&&(a=PE(a,"&vci=[CREATIVE_PLAYBACK]")),b=a):b=c;return b}function pU(a){a=E(a);if(D(a))return!1;try{Bd(a)}catch(b){return!1}return!0};var qU=function(a,b){this.g=a;this.j=b};var rU=function(a,b,c){this.g=a;this.th=b;this.l=c;this.j=null};l=rU.prototype; l.getContent=function(){var a=this.g.getContent();this.j!==null&&(a='
\n \n \n \n '+a+"\n
");var b=this.g.g;if(a&&b){var c= a.toLowerCase();c.indexOf("-1||c.indexOf("-1||(b=b.toLowerCase(),a=b.indexOf("-1||b.indexOf("-1?""+a+"":a)}return a};l.getContentType=function(){return this.g.getContentType()};l.getWidth=function(){return this.g.getWidth()};l.getHeight=function(){return this.g.getHeight()};l.lf=function(){return this.g.lf()};l.lg=function(){return this.g.lg()};l.Ca=function(){return this.g.Ca()}; var KR=function(a){var b;a=(b=a.g.getAd())==null?void 0:b.g;return a!=null?a.Ca():NaN};l=rU.prototype;l.getSize=function(){return this.g.getSize()};l.qb=function(){return this.g.qb()};l.getAdSlotId=function(){return this.l};l.getApiFramework=function(){return this.g.getApiFramework()||""};l.getAd=function(){return this.g.getAd()}; var SS=function(a,b){a.g.ad=b;a.th.forEach(function(c){SS(c,b)});sU(a,b)},sU=function(a,b){var c,d;a.j=((d=((c=FS(b).get("companionAta"))!=null?c:[])[0])==null?void 0:d.j)||null},tU=function(a){var b={};b.apiFramework=a.getApiFramework();b.content=a.getContent();b.size=a.getSize();b.fluidSize=a.lf();b.resourceType=a.qb();b.resourceValue=a.g.g;b.contentType=a.getContentType();b.sequenceNumber=a.Ca();b.mainAdSequenceNumber=KR(a);b.adSlotId=a.getAdSlotId();b.backupCompanions=a.th.map(function(c){return tU(c)}); b.height=a.getSize().height;b.width=a.getSize().width;return b};var uU=function(a,b,c,d){qS.call(this,a,b,"Html",c,d)};q(uU,qS);uU.prototype.cd=function(a){return new tM({height:this.getHeight(),width:this.getWidth(),La:this.g,attribution:a.sa},"html",a.wc)};uU.prototype.Xf=function(){var a=Se("DIV");vd(a,TG(this.g));return sS(this,a)};var vU=function(a,b,c,d){qS.call(this,a,b!=null?b:new he(0,0),"Static",c,d);this.l=b==null};q(vU,qS);vU.prototype.getContent=function(){var a=qS.prototype.getContent.call(this);this.o&&(a=a.replace(' src=""',' src="'+fS(E(this.g))+'"'));return a};vU.prototype.cd=function(a){var b=this.o?"":fS(E(this.g));return new tM({height:this.l?void 0:this.getHeight(),width:this.l?void 0:this.getWidth(),La:b,attribution:a.sa},"image",a.wc)}; vU.prototype.Xf=function(){var a=this.cd(new dS).Ia(),b=Se("a",{target:"_blank",id:this.getAdId()});b.setAttribute("href",fS(E(this.Rb())));KE(this.j,b);b.appendChild(a);return b};var wU=function(a,b){qS.call(this,a,b,"Static","text","");this.l=null};q(wU,qS);wU.prototype.getSize=function(){return new he(this.getWidth(),this.getHeight())};wU.prototype.getHeight=function(){return 63};wU.prototype.getWidth=function(){return this.l!=null?$n(this.l).width:0};var xU=function(a,b){if(b!=null){var c=Se("a");c.setAttribute("href",fS(E(a.Rb())));KE(a.j,c);var d;(d=b.parentElement)==null||d.replaceChild(c,b);c.appendChild(b)}}; wU.prototype.Xf=function(){this.l=this.cd(new dS).Ia();this.l.id=this.getAdId();xU(this,Ke("textImageContainer",this.l));xU(this,Ke("overlayTextTitle",this.l));return this.l}; var yU=function(a,b){var c=a.getAd();if(!c)return{};a=ES(c,"AdSense");var d=ES(c,"TextAd"),e=d.te||"",f="rtl";e!=null&&(f=Oz.test.call(Oz,e)?"rtl":"ltr");e={title:e,text:(d.ue||"")+" "+(d.ve||""),dir:f};if(d=d.Ja)e.image=fS(d),c=c.qa.find(function(g){return g instanceof nS}),c!=null&&(e.duration=RC(c.getDuration()));a.Sc&&(e.Sc=a.Sc);e.attribution=a.sa?a.sa:b;return e};wU.prototype.cd=function(a){return new tM(yU(this,a.sa),"text",a.wc)};function zU(a,b,c){if(c.length===0)return new qS(a,b,"",null,"");var d=AU(c);c=d.qb();var e=d.creativeType;d=d.g;GQ().report(95,{rt:c,ct:e});switch(c){case "Html":return new uU(a,b,e,d);case "Static":if(e!=null)switch(wO[e]){case "Image":return new vU(a,b,e,d);case "Text":return new wU(a,b)}}return new qS(a,b,c,e,d)} function AU(a){var b=a.find(function(f){return f.qb()==="IFrame"}),c=a.find(function(f){return f.qb()==="Html"}),d=a.find(function(f){var g=f.creativeType;return f.qb()==="Static"&&g!=null&&wO[g]==="Image"}),e=a.find(function(f){var g=f.creativeType;return f.qb()==="Static"&&g!=null&&wO[g]==="Text"});return b!=null?b:c!=null?c:d!=null?d:e!=null?e:a[0]};function BU(a,b,c,d,e){var f=AU(e),g=zU(a.id,a.size,[f]),h=function(m){m.o=!0;m.fa=a.fa;m.j=b;m.A=c;d&&(m.X=d);m.lb=!!a.lb};h(g);e.splice(e.indexOf(f),1);var k=[];e.forEach(function(m){m=zU(a.id,a.size,[m]);h(m);k.push(new rU(m,[],a.Bd))});return new rU(g,k,a.Bd)};var CU=function(a,b,c){this.resourceType=a;this.creativeType=b;this.g=c};CU.prototype.qb=function(){return this.resourceType};CU.prototype.getContentType=function(){return this.creativeType==null?null:wO[this.creativeType]||"Other"};var DU=function(a,b){VR.call(this,b);this.j=a};q(DU,VR);var EU=function(a){VR.call(this);this.duration=a};q(EU,VR);EU.prototype.getDuration=function(){return this.duration};var FU=function(a){VR.call(this);this.tb=a};q(FU,VR);FU.prototype.Bc=function(){return this.tb};var GU=function(a,b,c,d,e,f,g,h,k){VR.call(this,h,k);this.sa=a;this.wb=b;this.ge=c;this.Sc=d;this.j=e;this.uiConfig=f;this.He=g};q(GU,VR);var HU=function(a,b){VR.call(this);this.j=a;this.offset=b};q(HU,VR);HU.prototype.isSkippable=function(){return this.j};var IU=function(a){VR.call(this);this.j=a};q(IU,VR);var JU=function(a){VR.call(this);this.rf=a};q(JU,VR);var KU=function(a){VR.call(this);this.j=a};q(KU,VR);var LU=function(a){VR.call(this);this.j=a};q(LU,VR);var MU=function(a,b){VR.call(this,b);this.Ed=a};q(MU,VR);var aT=function(a){var b=[];a=v(a.Ed);for(var c=a.next();!c.done;c=a.next())c=c.value,c.type===1&&b.push(c);return b.length>0?b[0]:null};var NU=function(a,b,c){VR.call(this);this.j=a;this.l=b;this.o=c};q(NU,VR);var OU=function(a,b){VR.call(this);this.j=a;this.l=b};q(OU,VR);var PU=function(a){VR.call(this);this.j=a};q(PU,VR);var QU=function(a){VR.call(this);this.dealId=a};q(QU,VR);QU.prototype.getDealId=function(){return this.dealId};var RU=function(a,b,c,d,e){e=e===void 0?null:e;VR.call(this);this.l=a;this.A=b;this.j=c;this.o=d;this.C=e};q(RU,VR); RU.prototype.init=function(){if(this.l&&(this.A&&this.j||this.o)){var a,b=window,c=this.l,d=(a=this.C)!=null?a:void 0;a=this.A;var e=this.j,f=this.o,g=a?"//pagead2.googlesyndication.com/bg/"+Cd(a)+".js":"";a=b.document;var h={};d&&(h._scs_=d);h._bgu_=g;h._bgp_=e;h._li_="v_h.3.679.0";f&&(h._upb_=f);(d=b.GoogleTyFxhY)&&typeof d.push=="function"||(d=b.GoogleTyFxhY=[]);d.push(h);d=He(a);d=Te(d.g,"SCRIPT");d.type="text/javascript";d.async=!0;c=Ee(gt,Cd(c)+".js");zd(d,c);(b=(b.GoogleTyFxhYEET||{})[d.src])? b():a.getElementsByTagName("head")[0].appendChild(d)}};var SU=function(a,b,c,d,e,f){VR.call(this);this.te=a;this.ue=b;this.ve=c;this.Ja=d;this.imageWidth=e;this.imageHeight=f};q(SU,VR);var TU=function(a){VR.call(this);this.j=a};q(TU,VR);var UU=function(a){VR.call(this);this.j=a};q(UU,VR);UU.prototype.Ca=function(){return this.j};var VU=function(a){VR.call(this);this.j=isNaN(a)?-1:a};q(VU,VR);var WU=function(a,b,c,d,e,f,g,h,k,m){k=fS(E(k));dF.call(this,k,{height:h,width:g,yb:a,mimeType:b,fa:m,bitrate:d,wa:e,maxBitrate:f,codec:c});this.g=wG(k)};q(WU,dF);WU.prototype.getWidth=function(){return this.width||0};WU.prototype.getHeight=function(){return this.height||0};WU.prototype.getApiFramework=function(){return this.fa};var YU=function(a,b){var c=Array.prototype.slice.call(arguments),d=c.shift();if(typeof d=="undefined")throw Error("[goog.string.format] Template required");return d.replace(/%([0\- \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(e,f,g,h,k,m,p,n){if(m=="%")return"%";var r=c.shift();if(typeof r=="undefined")throw Error("[goog.string.format] Not enough arguments");arguments[0]=r;return XU[m].apply(null,arguments)})},XU={s:function(a,b,c){return isNaN(c)||c==""||a.length>=Number(c)?a:a=b.indexOf("-",0)>-1? a+Id(" ",Number(c)-a.length):Id(" ",Number(c)-a.length)+a},f:function(a,b,c,d,e){d=a.toString();isNaN(e)||e==""||(d=parseFloat(a).toFixed(e));var f=Number(a)<0?"-":b.indexOf("+")>=0?"+":b.indexOf(" ")>=0?" ":"";Number(a)>=0&&(d=f+d);if(isNaN(c)||d.length>=Number(c))return d;d=isNaN(e)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(e);a=Number(c)-d.length-f.length;return d=b.indexOf("-",0)>=0?f+d+Id(" ",a):f+Id(b.indexOf("0",0)>=0?"0":" ",a)+d},d:function(a,b,c,d,e,f,g,h){return XU.f(parseInt(a, 10),b,c,d,0,f,g,h)}};XU.i=XU.d;XU.u=XU.d;var ZU=function(a){this.j=a};q(ZU,CO);ZU.prototype.g=function(){var a=this;try{var b=$U(this)}catch(d){throw zR(WO,d);}var c=b.g.map(function(d){d=a.getAd(d);var e=HE(a.j)||0;d.F=e;DR("vl");return d});return new vR(c,null,b.ye)}; ZU.prototype.getAd=function(a){var b=a.Sa,c=null,d=null,e=!1,f=null,g=!1,h=null,k=null;b instanceof AG?(c=b.Kf,d=b.Cd,f=b.description,h=b.Df):b instanceof tH&&(e=b.Va,g=b.Id,k=b.If);var m=aV(b.ga),p=m==null;a:{var n=b.Na;if(D(E(n)))n="UNKNOWN";else switch(n=n.toUpperCase(),n){case "ADSENSE":case "ADSENSE/ADX":case "ADSENSE-VIRAL":case "DART":case "DART_DFP":case "DART_DFA":case "FREEWHEEL":case "GDFP":case "402":case "YT:ADSENSE":case "YT:DOUBLECLICK":case "YT:FREEWHEEL":case "VIRAL":case "VIRAL-RESERVE":break a; default:n="UNKNOWN"}}return new xS(a.id||"",b.Na,n,c,d,f,h,this.getDealId(b.ga),a.Da||0,bV(b.g),cV(b.j),dV(this,b.qa,m),eV(this,b.qa),fV(this,b.ga,p),a,k,e,g,this.Bc(b.tb),!m)}; var aV=function(a){if(!jQ().l&&TQ())return oB(yC)||oB(zC)||oB(BC)||oB(CC)||oB(AC)?WB(U(),"ima_lvp_nss_ycs"):WB(U(),"ima_lvp_nss_ncs"),null;if(!(oB(yC)||oB(zC)||oB(BC)||oB(CC)||oB(AC)))return WB(U(),"ima_lvp_ncs"),null;WB(U(),"ima_lvp_ycs");var b=a.find(function(e){return e instanceof HG}),c=a.find(function(e){return e instanceof YF});if(!(b instanceof HG)||c)return WB(U(),"ima_lvp_ycs_ns"),null;c=a.find(function(e){return e instanceof eG});a=a.find(function(e){return e instanceof uF});var d={};return d.channelCustomUrl= b.Rf,d.channelId=b.Wc,d.channelThumbnailUrl=b.de,d.channelTitle=b.ee,d.cpn=c instanceof eG?c.o:null,d.format=b.format,d.isSkippable=b.format!=="BUMPER"&&b.format!=="NONSKIPPABLE",d.isTrueView=b.Fc,d.isVideoUnlisted=b.Qd,d.title=b.Le,d.videoThumbnailUrl=b.Ef,d.wtaUrl=a instanceof uF?a.Yb:null,d.youtubeVideoId=b.Rc,d.engagedViewUrls=[],d.infoCards=[],d},gV=function(a,b){return pU(a)?oU(a,b):null},bV=function(a){var b=[];a.forEach(function(c){(c=gV(c,"error"))&&b.push(c)});return b},cV=function(a){var b= [];a.forEach(function(c){var d=gV(c.url,"impression");d&&b.push(new eB(d,c.g))});return b},eV=function(a,b){var c=[];b.forEach(function(d){d.fe!=null&&(d=a.getCompanionAds(d.fe,d.Da||0),c.push(d))});return c};ZU.prototype.getCompanionAds=function(a,b){var c=this,d=[];a.g.forEach(function(e){(e=hV(c,e,b))&&d.push(e)});return new qU(d,iV(a.j))}; var hV=function(a,b,c){var d={fa:b.fa,size:a.getSize(b.width,b.height),id:b.id,Bd:b.Bd,lb:b.lb},e=b.Uf||null;a=jV(a,b.resources);if(a.length===0)return null;var f=kV(b.X);b.Vf.forEach(function(g){KQ(f,"click",g.url,null,g.g)});return BU(d,e,c,f,a)},iV=function(a){a=a!=null?a.toLowerCase():"";return a==="all"?"all":a==="any"?"any":"none"},dV=function(a,b,c){var d=[];b.forEach(function(e){e.Ub!=null?d.push(lV(a,e,c)):e.ze!=null&&(d=d.concat(mV(a,e)))});return d},lV=function(a,b,c){var d=b.Ub,e=d.ab; e.length>0?WB(U(),"ima_lvp_nvs"):WB(U(),"ima_lvp_yvs");c&&(e=YU("https://imasdk.googleapis.com/js/simid/simid_trueview_%s.html",sP.getLocale()),e=[new $E(new TE(e,"Url"),{mimeType:"text/html",fa:"SIMID",Je:!1})]);e=new nS(d.duration?d.duration/1E3:0,nV(d.yd),oV(d.Ic),e,pV(d.Ob),qV(a,d.va));var f=kV(d.X);rV(d.yd).forEach(function(g){KQ(f,"click",g.url,null,g.g)});d.yd&&d.yd.Ve.forEach(function(g){c&&oB(zC)&&g.id==="engagedView"?c.engagedViewUrls.push(g.url):KQ(f,g.id?g.id:"",g.url)});c?hS(e,JSON.stringify(c)): e.ka=d.ka||"";e.A=b.Da||0;e.creativeId=b.id;e.C=b.adId;f&&(e.X=f);iS(e,a.getUniversalAdIds(b.fb));return e},mV=function(a,b){var c=b.ze,d=kV(c.X);c=c.g.map(function(f){return sV(a,f,d)});if(c.length===0&&!d.isEmpty()){var e=new qS(null,new he(-1,-1),"",null,"");d&&(e.X=d);c.push(e)}c.forEach(function(f){f.A=b.Da||0;f.creativeId=b.id;f.C=b.adId;var g=a.getUniversalAdIds(b.fb);f.fb=g});return c},sV=function(a,b,c){var d=-1;b.Jc!=null&&(d=b.Jc/1E3);a=zU(b.id,a.getSize(b.width,b.height),jV(a,b.resources)); a.ka=b.ka||"";a.fa=b.fa;a.j=b.Hg;var e=new HQ;b.Ig.forEach(function(f){KQ(e,"click",f.url)});MQ(e,c);e&&(a.X=e);a.Jc=d;return a},jV=function(a,b,c){c=c===void 0?!1:c;var d=[];b.forEach(function(e){var f=e.creativeType?e.creativeType.toLowerCase():null,g=a.qb(e.resourceType);g==null||c&&g!=="Static"||f==="text/javascript"||d.push(new CU(g,f,e.g))});return d},qV=function(a,b){var c=[];b.forEach(function(d){(d=tV(a,d))&&c.push(d)});return c},tV=function(a,b){a=jV(a,b.resources,!0);if(a.length===0)return null; a=AU(a);var c=new wE;c.Ab=b.Ab||"";c.fa=b.fa;c.ib=b.ib;c.j=b.width!=null?b.width:NaN;c.g=b.height!=null?b.height:NaN;c.N=b.wf?b.wf:1;c.Cb=b.Cb?b.Cb.toLowerCase():"left";c.Db=b.Db?b.Db.toLowerCase():"top";c.Ha=b.Ha!=null?b.Ha:0;c.Hb=b.Hb!=null?b.Hb:-1;var d=nV(b.oe),e;c.A=(e=d==null?void 0:d.url)!=null?e:null;c.C=JE(d);c.B=rV(b.oe).map(function(f){return f.url});c.l=uV(b.oe);c.J=b.gf;c.o=a.g;c.D=a.creativeType;return c},oV=function(a){var b=[];a.forEach(function(c){c=new WU(c.yb?c.yb.toLowerCase(): null,c.mimeType?c.mimeType.toLowerCase():null,c.codec?c.codec.toLowerCase():null,c.wa||0,c.wa||0,c.maxBitrate||0,c.width!=null?c.width:NaN,c.height!=null?c.height:NaN,c.url,c.fa);b.push(c)});return b},nV=function(a){var b;return(b=a==null?void 0:a.Ib)!=null?b:null},rV=function(a){var b=[];return a==null?b:a.yc},uV=function(a){return(a==null?[]:a.Sf).map(function(b){var c=new vE;c.j=b.width||0;c.g=b.height||0;c.l=b.La?b.La.g:"";c.ib=b.ib;return c})},kV=function(a){var b=new HQ;a.forEach(function(c){var d= gV(c.url,c.eventType);if(d){var e=pV(c.Ha);e==null&&c.Sd!=null&&(e=new pS(c.Sd,!0));KQ(b,c.eventType,d,e,c.g)}});return b};ZU.prototype.qb=function(a){switch(a){case "Static":case "IFrame":case "Html":return a;default:return null}}; var fV=function(a,b,c){var d=new Map;b.forEach(function(e){var f=vV(a,e);e=f.type;f=f.ym;if(e!=null&&f!=null&&(c||e!=="InfoCards")){var g=d.get(e);g==null?d.set(e,f):e==="generic"&&WR(g,f.g)}});return d},vV=function(a,b){var c=null,d=null;if(b instanceof rF)c="activeview",d=new DU(b.g,kV(b.X));else if(b instanceof xN)c="wrapper_info",d=new EU(b.duration/1E3);else if(b instanceof DG)c="adVerifications",b=a.Bc(b.tb),b.length!==0&&(d=new FU(b));else if(b instanceof UH)c="adx",d=new HU(b.j,pV(b.g));else if(b instanceof uF)c="AdSense",d=kV(b.X),d=new GU(b.sa,b.wb,b.ge,b.Sc,b.Yb,wV(b.uiConfig),b.He,d,b.xe);else if(b instanceof VH)c="DFP",d=new ZR(b.g==="Generic",kV(b.X));else if(b instanceof ZF)c="EoidCookieExtension",d=new $R(nE(mE(lE(kE(new jE,b.value),b.g),b.path),b.domain));else if(b instanceof cG)c=b.j?"GfpCookieV2Extension":"GfpCookieV1Extension",d=new cS(nE(mE(lE(kE(new jE,b.value),b.g),b.path),b.domain));else if(b instanceof eG)c="GoogleHostedMediaExtension",d=new KU(b);else if(b instanceof zG)try{var e=Pu(Fd(b.g)); d=new LU(e);c="GpidWtaExtension"}catch(g){}else if(b instanceof zN)c="inred_info",d=new NU(b.g,b.j,b.l);else if(b instanceof BG)c="metrics",d=new OU(b.g,b.gb);else if(b instanceof BN)c="pod",d=new UU(b.Da);else if(b instanceof EG)c="programmatic",d=new QU(b.dealId);else if(b instanceof FG)c="sodar",d=new RU(b.l,b.o,b.g,"",b.j);else if(b instanceof CN)c="TextAd",d=new SU(b.te,b.ue,b.ve,b.Ja,b.imageWidth,b.imageHeight);else if(b instanceof GG)c="uiSettings",d=new TU(b.g);else if(b instanceof DN)c="waterfall", d=new VU(b.g);else if(b instanceof qF)c="generic",d=new VR(kV(b.X));else if(b instanceof YF){c="InfoCards";var f=[];b.Ed.forEach(function(g){return f.push.apply(f,w(g.X))});d=new MU(b.Ed,kV(f))}else if(b instanceof $F)c="esp",d=new aS(b.g);else if(b instanceof yN)c="watermark",d=new JU(b.rf,b.j,b.g);else if(b instanceof AN){if(b=tV(a,b.g))c="nonlinearAta",d=new PU(b)}else b instanceof vF&&(b=tV(a,b.g))&&(c="companionAta",d=new IU(b));return{type:c,ym:d}}; ZU.prototype.getUniversalAdIds=function(a){return a.map(function(b){return new DE(b.jf,b.hf)})};ZU.prototype.Bc=function(a){var b=[];a.forEach(function(c){if(c.Fe!=null){var d=kV(c.X).getEvents("verificationNotExecuted");b.push(new qE(c.Fe,{Oc:c.Oc||void 0,X:d,vendor:c.vendor||void 0,parameters:c.parameters||void 0}))}});return b};var wV=function(a){var b=new dS;if(a==null)return b;a.sa!=null&&(b.sa=a.sa);b.wb=a.wb;b.Dd=a.Dd;b.wc=a.wc;return b}; ZU.prototype.getDealId=function(a){var b="";a.forEach(function(c){c instanceof EG&&(b=c.dealId||"")});return b};ZU.prototype.getSize=function(a,b){return new he(a!=null?a:NaN,b!=null?b:NaN)}; var pV=function(a){return a==null?null:new pS(a/1E3,!1)},$U=function(a){var b=new LH;MH(b,new EN);MH(b,new JN);MH(b,new GN);MH(b,new NN);MH(b,new TN);MH(b,new $N);MH(b,new gO);MH(b,new VN);MH(b,new kO);MH(b,new QN);MH(b,new WN);MH(b,new ON);MH(b,new dO);MH(b,new KN);MH(b,new UN);MH(b,new PN);MH(b,new FN);MH(b,new IN);MH(b,new MN);MH(b,new bO);MH(b,new cO);MH(b,new eO);MH(b,new fO);MH(b,new hO);MH(b,new iO);MH(b,new jO);MH(b,new LN);var c=a.j;if(!c)throw Error("VAST string is empty.");if(!GE(c))throw Error("Response string is not a valid VAST document."); a=[];var d=[];c=v(Ye(c));for(var e=c.next();!e.done;e=c.next()){var f=e.value;switch(f.nodeName){case "Ad":var g=void 0,h=b;e={};e.id=f.getAttribute("id");e.Da=uH(f,"sequence");e.Vc=f.getAttribute("adType");f=v(Ye(f));for(var k=f.next();!k.done;k=f.next()){var m=k.value;if(m.nodeName=="InLine"){var p=k=f=g=void 0,n=void 0,r=void 0,u=void 0,t=[],z=[],A=[],H=[];m=v(Ye(m));for(var F=m.next();!F.done;F=m.next()){var O=F.value;switch(O.nodeName){case "AdServingId":u=V(O);break;case "AdSystem":r=V(O);break; case "AdTitle":n=V(O);break;case "AdVerifications":H=H.concat(BH(O));break;case "Advertiser":p=V(O);break;case "Creatives":F=v(Ye(O));for(O=F.next();!O.done;O=F.next())O=O.value,O.nodeName=="Creative"&&A.push(PH(O));break;case "Description":k=V(O);break;case "Error":V(O)!=null&&t.push(V(O));break;case "Extensions":g=NH(h,Ye(O));break;case "Impression":F=FH(V(O));O=yH(O);F!=null&&z.push(new kF(F,O));break;case "Survey":f=V(O)}}g=new AG({zd:u,Na:r,Cd:n,Kf:p,description:k,Df:f,errors:t,Dc:z,qa:A,tb:H, ga:g});break}else if(m.nodeName=="Wrapper"){f=k=g=void 0;p=h;H=m;n=[];r=[];u=[];h=[];t=H.getAttribute("followAdditionalWrappers")!="false";z=H.getAttribute("allowMultipleAds")=="true";A=H.getAttribute("fallbackOnNoAd")=="true";H=v(Ye(H));for(m=H.next();!m.done;m=H.next())switch(F=m.value,F.nodeName){case "AdSystem":f=V(F);break;case "VASTAdTagURI":k=(k=V(F))?k:void 0;break;case "Creatives":m=v(Ye(F));for(F=m.next();!F.done;F=m.next())F=F.value,F.nodeName=="Creative"&&u.push(PH(F));break;case "Error":m= V(F);m!=null&&n.push(m);break;case "AdVerifications":h=h.concat(BH(F));break;case "Extensions":g=NH(p,Ye(F));break;case "Impression":m=FH(V(F)),F=yH(F),m!=null&&r.push(new kF(m,F))}g=new tH({Na:f,Id:t,Va:z,Vh:A,If:k,errors:n,Dc:r,qa:u,tb:h,ga:g});break}}if(!g)throw Error("Vast Ad contains neither inline nor wrapper data.");a.push(new nF(g,e));break;case "Error":(e=V(f))&&d.push(e)}}YB(["lima_p_ich","lima_p_icu"]);return new sH({ads:a,ye:d})};var xV=function(a,b){this.j=a;this.oa=b;this.adsResponse=null;GQ().report(115,{vmap:!0})};q(xV,CO);xV.prototype.g=function(){this.adsResponse||(this.adsResponse=new vR(null,yV(this),[]));return this.adsResponse}; var yV=function(a){var b=new sR,c=new rO;sO(c);try{var d=uO(c,a.j)}catch(e){throw zR(NO);}d.g.forEach(function(e){var f=e.j;var g=f.Jf;f=f.Yd;g?g=fD(a.oa,g):f?(g=a.oa.clone(),g.adTagUrl=null,g.adsResponse=f,g.A=!0):g=null;g!=null&&(g=zV(e,g),b.add(e.g,[g]))});if(uR(b).length===0)throw zR(NO);return b},zV=function(a,b){b=new NQ(b);var c=new HQ;a.ga.find(function(d){return d instanceof pO})&&(b.g=!0);a.X.forEach(function(d){var e=d.eventType,f=oU(d.url,e);f&&pU(f)&&e!=null&&KQ(c,d.eventType,f)});b.X= c;return b};function AV(a,b){if(a!=null){if(a&&a.nodeName==="Playlist")return new BR(a,b);if(tO(a))return new xV(a,b);if(GE(a))return new ZU(a)}return null};var BV=function(){L.apply(this,arguments);this.g=new Set};q(BV,L);var CV=function(a,b){var c=mu(function(){a.g.delete(c);b.call(a)});a.g.add(c)};BV.prototype.P=function(){this.g.forEach(function(a){return nu(a)});this.g.clear()};function DV(a){for(var b=a.length,c=new Uint8Array(b),d=0;d1)throw Error("Value for "+a+" is outside the range [0,1]");};function bW(){return/\d+\.\d+\.\d+(-.*)?/.test("1.5.2-google_20241009")}function cW(){for(var a=["1","5","2"],b=["1","0","3"],c=0;c<3;c++){var d=parseInt(a[c],10),e=parseInt(b[c],10);if(d>e)break;else if(d=0&&(b=b.adEvents);yW.indexOf(a)>=0&&(b=b.mediaEvents);b=b[a];if(!b)throw Error("Unrecognized method name: "+a+".");b.apply(null,w(c))};var DW=function(a,b,c){ZV("AdSession.context",a);this.g=iW();this.o=a;this.J=!1;var d=this.o.g||void 0;if(!b){b=qW();var e=e===void 0?lW:e;var f=[b,oW(b)?b.top:nW];d&&f.unshift(d);a:{d=v(f);for(var g=d.next();!g.done;g=d.next()){b:{f=b;g=g.value;var h=e;if(!pW(g))try{var k=tW(g);if(k){var m=new mW(k);break b}}catch(p){}m=h(g)?new rW(f,g):null}if(f=m){b=f;break a}}b=null}}this.A=b;this.D=c||new AW;this.N=this.G=this.F=!1;this.l=this.j=null;this.B=!1;this.C={};this.A&&(this.A.g=this.Hm.bind(this)); this.xa("setClientInfo","1.5.2-google_20241009",this.o.j.name,this.o.j.version,this.g);BW(this,a.B);(a=a.A)&&this.xa("setContentUrl",a,this.g);CW(this)},EW=function(a){return!!a.A||a.D.g!=null};l=DW.prototype;l.registerSessionObserver=function(a){this.sendMessage("registerSessionObserver",a,this.g)};l.start=function(){this.xa("startSession",{customReferenceData:this.o.C,underEvaluation:this.o.o},this.g)};l.error=function(a,b){this.xa("sessionError",a,b,this.g)}; l.xa=function(a){this.sendMessage.apply(this,[a,null].concat(w(Ea.apply(1,arguments))))};l.sendMessage=function(a,b){var c=Ea.apply(2,arguments);if(this.A){var d=iW();b&&(this.C[d]=b);c=new dW(d,"SessionService."+a,"1.5.2-google_20241009",bW()&&cW()?c:JSON.stringify(c));this.A.sendMessage(c)}else if(this.D.g!=null)try{this.D.sendMessage(a,b,c)}catch(e){jW("Failed to communicate with SessionInterface with error:"),jW(e)}}; l.Hm=function(a){var b=a.method,c=a.g;a=a.args;if(b==="response"&&this.C[c]){var d=bW()&&cW()?a?a:[]:a&&typeof a==="string"?JSON.parse(a):[];this.C[c].apply(this,d)}b==="error"&&window.console&&jW(a)};var BW=function(a,b){b&&(b=b.map(function(c){return c.toJSON()}),a.xa("injectVerificationScriptResources",b,a.g))},CW=function(a){a.registerSessionObserver(function(b){b.type==="sessionStart"&&(a.N=!0,a.j=b.data.creativeType,a.l=b.data.impressionType);b.type==="sessionFinish"&&(a.N=!1)})}; YC("OmidSessionClient.AdSession",DW);var FW=function(a){ZV("AdEvents.adSession",a);this.j=a.g;try{if(a.F)throw Error("AdEvents already registered.");a.F=!0;a.xa("registerAdEvents",a.g);this.g=a}catch(b){throw Error("AdSession already has an ad events instance registered");}}; FW.prototype.loaded=function(a){a=a===void 0?null:a;var b=this.g;if(b.j==="definedByJavaScript")throw Error("Creative type has not been redefined");if(b.l==="definedByJavaScript")throw Error("Impression type has not been redefined");b.B=!0;a=a?a.toJSON():null;this.g.xa("loaded",a,this.j)};YC("OmidSessionClient.AdEvents",FW);var GW=function(a){ZV("MediaEvents.adSession",a);this.j=a.g;try{if(a.G)throw Error("MediaEvents already registered.");a.G=!0;a.xa("registerMediaEvents",a.g);this.g=a}catch(b){throw Error("AdSession already has a media events instance registered");}};GW.prototype.start=function(a,b){$V("MediaEvents.start.duration",a);aW("MediaEvents.start.mediaPlayerVolume",b);this.g.xa("start",a,b,this.j)};GW.prototype.pause=function(){this.g.xa("pause",this.j)};GW.prototype.resume=function(){this.g.xa("resume",this.j)}; var HW=function(a,b){ZV("MediaEvents.playerStateChange.playerState",b);a.g.xa("playerStateChange",b,a.j)},IW=function(a,b){ZV("MediaEvents.adUserInteraction.interactionType",b);a.g.xa("adUserInteraction",b,a.j)};YC("OmidSessionClient.MediaEvents",GW);var JW=function(a,b,c,d,e){N.call(this);this.ad=a;this.L=b;this.K=c;this.omidAccessModeRules=d;this.ca=e;this.ra=this.l=null;this.B=[];this.G=this.R=this.D=this.W=!1;this.A=this.g=this.F=this.j=null;this.o=new VG(this);this.o.listen(this.L,zQ,this.Z);this.o.listen(this.L,["adError","streamError"],this.ba)};q(JW,N); var RW=function(a,b,c){var d=KW(a);LW(d);d.length===0?MW(a,"noVerifications"):(b=new wW(b,d,a.ca.j),c&&(b.l(c),c=Object.keys(a.omidAccessModeRules).length>0,b.o=!c,GQ().report(159,{pcp:c})),a.j=new DW(b),DR("sc"),EW(a.j)?(a.F=new FW(a.j),a.g=new GW(a.j),a.j.registerSessionObserver(function(e){if(!NW(a))switch(e.type){case "sessionStart":DR("ss");e=e.data;a.D=!0;OW(a,e==null?void 0:e.creativeType);PW(a,e==null?void 0:e.impressionType);QW(a);break;case "sessionFinish":DR("sf");a.R=!0;a.dispatchEvent(new it("omidAdSessionCompleted")); break;case "sessionError":DR("se")}}),a.W=!0,OW(a),PW(a),a.j.start(),DR("ssa")):(a.j=null,MW(a,"notSupported")))};JW.prototype.Z=function(a){this.G||NW(this)||(a.type!=="firstQuartile"||this.D||DR("bf"),a.type!=="complete"||this.D||DR("bc"),this.B.push(a),QW(this))};JW.prototype.ba=function(a){this.B.push(a);QW(this)};JW.prototype.O=function(){QW(this)}; var SW=function(a){if(!a.G){a.G=!0;var b;(b=a.j)!=null&&b.xa("finishSession",b.g);mu(function(){NW(a)||(DR("le"),MW(a,"sessionLingering"))},5E3)}},QW=function(a){if(a.D&&!NW(a))for(;a.B.length>0;){var b=a.B[0];if(b.type==="start"&&(a.l==null?0:a.l.getVolume())<0)break;a.B.shift();var c=a;if(b instanceof rT){var d=void 0,e=c;if(e.F&&e.g)switch(b.type){case "loaded":DR("oml");b=e.F;c=b.loaded;var f=e;e="preroll";f.ad.getAdPodInfo().getPodIndex()<0?e="postroll":f.ad.getAdPodInfo().getPodIndex()>0&&(e= "midroll");d=f.ad.isSkippable();var g=f.ad.getSkipTimeOffset();f=f.ad;c.call(b,new XV(d,g,f.oa?f.oa.g==="auto":!1,e));break;case "impression":DR("i");e=e.F;if(!e.g.N)throw Error("Session not started.");b=e.g;if(b.j==="definedByJavaScript")throw Error("Creative type has not been redefined");if(b.l==="definedByJavaScript")throw Error("Impression type has not been redefined");b.J=!0;e.g.xa("impressionOccurred",e.j);break;case "start":DR("ps");e.g.start(e.ad.getDuration(),e.l==null?0:e.l.getVolume()); ((d=e.l)==null?0:d.Nd())&&HW(e.g,"fullscreen");break;case "firstQuartile":e=e.g;e.g.xa("firstQuartile",e.j);break;case "midpoint":e=e.g;e.g.xa("midpoint",e.j);break;case "thirdQuartile":e=e.g;e.g.xa("thirdQuartile",e.j);break;case "complete":b=e.g;b.g.xa("complete",b.j);SW(e);break;case "pause":e.g.pause();break;case "resume":e.g.resume();break;case "skip":b=e.g;b.g.xa("skipped",b.j);SW(e);break;case "volumeChange":b=b.getAdData();e=e.g;b=b.volume;aW("MediaEvents.volumeChange.mediaPlayerVolume",b); e.g.xa("volumeChange",b,e.j);break;case "click":case "videoClicked":IW(e.g,"click");break;case "fullscreen":HW(e.g,"fullscreen");break;case "exitFullscreen":HW(e.g,"normal");break;case "expand":HW(e.g,"expanded");break;case "collapse":HW(e.g,"collapsed");break;case "acceptInvitation":case "acceptInvitationLinear":IW(e.g,"invitationAccept")}}else b instanceof yR&&(e=void 0,b=b.getError(),DR("e"),(e=c.j)==null||e.error("video",b.toString()),SW(c))}},MW=function(a,b){a.A=b;a.dispatchEvent(new it("omidAdSessionAbandoned")); DR("ab");a.A==="notSupported"&&TW(a,a.ad.Bc(),"3","notSupported")},OW=function(a,b){b=b===void 0?null:b;if(a.j&&(!b||b==="definedByJavaScript")){b=a.j;a=a.ad.getContentType().startsWith("audio")?"audio":"video";if(a==="definedByJavaScript")throw Error("Creative type cannot be redefined with value definedByJavaScript");if(b.J)throw Error("Impression has already occurred");if(b.B)throw Error("Creative has already loaded");if(b.j&&b.j!=="definedByJavaScript")throw Error("Creative type cannot be redefined"); if(b.j===void 0)throw Error("Native integration is using OMID 1.2 or earlier");b.xa("setCreativeType",a,b.g);b.j=a}},PW=function(a,b){b=b===void 0?null:b;if(a.j&&(!b||b==="definedByJavaScript")){a=a.j;if(a.J)throw Error("Impression has already occurred");if(a.B)throw Error("Creative has already loaded");if(a.l&&a.l!=="definedByJavaScript")throw Error("Impression type cannot be redefined");if(a.l===void 0)throw Error("Native integration is using OMID 1.2 or earlier");a.xa("setImpressionType","beginToRender", a.g);a.l="beginToRender"}},NW=function(a){return a.R||a.A!=null};JW.prototype.getAd=function(){return this.ad}; var KW=function(a){for(var b=[],c=a.ad;c!=null;){var d=fT(c),e=[];d=v(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value,f.Oc==="omid")if(f.g==null)TW(a,[f],"3","nullUrl");else{var g=new vW(f.g,f.vendor||void 0,f.parameters||void 0,TV(a.omidAccessModeRules,f.g));b.push(g);e.push(f)}else TW(a,[f],"2");if(d=c.ub)d.l=e;c=c.Y}return b},TW=function(a,b,c,d){var e=[];b=v(b);for(var f=b.next();!f.done;f=b.next())f=f.value,e=[].concat(w(e),w(f.X.map(function(g){return jB(g)})));d&&(e=e.map(function(g){g= new P(g);g.g.set("dbg",d);return g.toString()}));aE(a.K,jU(c));a.K.report("verificationNotExecuted",e)};JW.prototype.P=function(){ZG(this.o);Ro(this.o);N.prototype.P.call(this)};var LW=function(a){a=a.map(function(b){return[b.j||"",b.g]});GQ().report(129,{omData:JSON.stringify(a)});DR("oms")};var UW=null,VW=function(){N.call(this);this.A=!0;this.Kg=new uW("Google1","3.679.0");this.j=[];this.ra=this.B=this.g=null;this.o=new VG(this)};q(VW,N);var WW=function(){UW==null&&(UW=new VW);return UW};VW.prototype.D=function(){this.A=!1;this.dispatchEvent(new it("omidUnavailable"));GQ().report(128,{status:"disabled",reason:"iframeLoadFailed",description:"The OM SDK iframe failed to load. No measurements can be taken."})}; VW.prototype.Dk=function(a,b,c,d,e){var f=this;e=e===void 0?{}:e;DR("omo");var g=new JW(a,b,c,e,d);if(!this.A)return TW(g,a.Bc(),"3","notEnabled"),null;this.o.md(b,["show_ad","start","adError"],function(h){switch(h.type){case "show_ad":XW(f,g);break;case "start":XW(f,g);break;case "adError":g.D||TW(g,g.getAd().Bc(),"3","A fatal ad error occurred, so no OMID ad session was started.")}});this.o.listen(g,"omidAdSessionAbandoned",function(){YW(!0,g);g.dispose();f.g=null;ZW(f)});this.o.listen(g,"omidAdSessionCompleted", function(){YW(!1,g);g.dispose();f.g=null;ZW(f)});return g};var XW=function(a,b){b.W||NW(b)||a.j.includes(b)||(a.j.push(b),a.g&&(DR("saa"),SW(a.g)),ZW(a))},ZW=function(a){a.A&&!a.g&&a.j.length!==0&&a.B&&(a.g=a.j.shift(),RW(a.g,a.Kg,a.B))};VW.prototype.l=function(a){this.B=a;ZW(this)};var YW=function(a,b){var c={es:a?"abandon":"complete",ai:b.getAd().getAdId(),qy:b.getAd().Zb};a&&b.A!=null&&(c.ar=b.A);GQ().report(87,c)};function $W(a){var b="";a.forEach(function(c,d){D(c)||(b+=d+"="+c+"&")});return b.slice(0,-1)}function aX(a){var b=new P(a);if(b.o)return a;b.j?(Ny(b,"https"),a=b.toString()):a="https://"+b;return a};var dX=function(a,b){this.blockSize=-1;this.blockSize=64;this.o=B.Uint8Array?new Uint8Array(this.blockSize):Array(this.blockSize);this.l=this.j=0;this.g=[];this.C=a;this.A=b;this.B=B.Int32Array?new Int32Array(64):Array(64);bX===void 0&&(B.Int32Array?bX=new Int32Array(cX):bX=cX);this.reset()},bX;Wa(dX,My);var eX=[].concat(128,ub(0,63));dX.prototype.reset=function(){this.l=this.j=0;this.g=B.Int32Array?new Int32Array(this.A):qb(this.A)}; var fX=function(a){for(var b=a.o,c=a.B,d=0,e=0;e>>7|d<<25)^(d>>>18|d<<14)^d>>>3)|0)+((c[b-7]|0)+((e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)|0)|0;b=a.g[0]|0;d=a.g[1]|0;e=a.g[2]|0;for(var f=a.g[3]|0,g=a.g[4]|0,h=a.g[5]|0,k=a.g[6]|0,m=a.g[7]|0,p=0;p<64;p++){var n=((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+(b&d^b&e^d&e)|0,r=(m+((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))|0)+(((g&h^ ~g&k)+(bX[p]|0)|0)+(c[p]|0)|0)|0;m=k;k=h;h=g;g=f+r|0;f=e;e=d;d=b;b=r+n|0}a.g[0]=a.g[0]+b|0;a.g[1]=a.g[1]+d|0;a.g[2]=a.g[2]+e|0;a.g[3]=a.g[3]+f|0;a.g[4]=a.g[4]+g|0;a.g[5]=a.g[5]+h|0;a.g[6]=a.g[6]+k|0;a.g[7]=a.g[7]+m|0},gX=function(a,b,c){c===void 0&&(c=b.length);var d=0,e=a.j;if(typeof b==="string")for(;d=f&&f==(f|0)))throw Error("message must be a byte array");a.o[e++]= f;e==a.blockSize&&(fX(a),e=0)}else throw Error("message must be string or array");a.j=e;a.l+=c},hX=function(a){var b=[],c=a.l*8;a.j<56?gX(a,eX,56-a.j):gX(a,eX,a.blockSize-(a.j-56));for(var d=63;d>=56;d--)a.o[d]=c&255,c/=256;fX(a);for(d=c=0;d=0;e-=8)b[c++]=a.g[d]>>e&255;return b},cX=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774, 264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];var jX=function(){dX.call(this,8,iX)};Wa(jX,dX);var iX=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];var kX=function(){this.g=(typeof document=="undefined"?null:document)||{cookie:""}},mX=function(){var a=lX;if(!B.navigator.cookieEnabled)return!1;if(!a.isEmpty())return!0;a.set("TESTCOOKIESENABLED","1",{Qj:60});if(a.get("TESTCOOKIESENABLED")!=="1")return!1;a.remove("TESTCOOKIESENABLED");return!0};l=kX.prototype; l.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.xq;d=c.zq||!1;var f=c.domain||void 0;var g=c.path||void 0;var h=c.Qj}if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');h===void 0&&(h=-1);this.g.cookie=a+"="+b+(f?";domain="+f:"")+(g?";path="+g:"")+(h<0?"":h==0?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(Date.now()+h*1E3)).toUTCString())+(d?";secure":"")+(e!=null?";samesite="+e:"")}; l.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(";"),e=0,f;e=0;b--)this.remove(a[b])}; var nX=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f0&&b.push(c.map(function(d){return d.lb?"fluid":d.size.width+"x"+d.size.height}).join("|"))});return b.join(",")}function qX(a,b){var c;a=(c=rX(a,b).get("url"))!=null?c:"";c=new Map;var d=b.la;d==null||/[;\r\n]/.test(d)?b.se&&(c.set("eoidce","1"),sX(c,a,b)):c.set("eo_id_str",d);return c} function tX(a,b){var c;a=(c=rX(a,b).get("url"))!=null?c:"";c=new Map;if(!sP.isCookiesEnabled())c.set("co","1");else if(b.jk&&!MP(b.g)){var d=b.L,e=d!=null&&!/[;\r\n]/.test(d);e&&c.set("cookie",d);d=b.ta;var f=d!=null&&!/[;\r\n]/.test(d);f&&c.set("gpic",d);e&&f||(c.set("cookie_enabled","1"),sX(c,a,b));b=b.vg;b!=null&&!/[;\r\n]/.test(b)&&c.set("pdopt",b)}return c}function sX(a,b,c){c=c.Zj;var d=null;try{d=(new URL(decodeURIComponent(b))).hostname}catch(e){}d!==c&&a.set("cdm",c)} function uX(a,b){var c=new Map,d=jQ().Xa;d>0&&c.set("pvsid",d.toString());c.set("correlator",mQ.toString());c.set("scor",nQ.toString());d=b.G;d!=null&&(b.G=null,c.set("fbidx",d.toString()));b.Z!=null&&c.set("ppid",b.Z);b.A!=null&&c.set("submodel",b.A);b.ca!=null&&c.set("cbidsp",b.ca);b.Wa!=null&&c.set("pied",b.Wa);var e=a.adTagUrl||"";d=new Map;var f=b.jg;f!=null?(e=pX(f),d.set("ciu_szs",e)):e=(new P(e)).g.get("ciu_szs","");uP("audioPosterImageEnabled")&&(f=oX.join(","),e=e===""?f:e+","+f);d.set("ciu_szs", e);e=tX(a,b);f=qX(a,b);!MP(b.g)&&oB(HC)&&a.j&&c.set("aos",a.j);return new Map([].concat(w(d),w(vX(a,b)),w(e),w(f),w(c)))} function wX(a,b,c){var d=new Map;d.set("correlator",mQ.toString());var e=new P(a.adTagUrl),f=e.g;f.get("description_url","")!==""&&(f=f.get("ad_block",""),f=D(f)?c.J.toString():f,d.set("ad_block",f));if(b.length>0&&(f=b[0].getSizes(),f.length>0)){var g;b=(g=f.map(function(k){return k.size.width}).filter(function(k){return k&&k>0})[0])!=null?g:-1;var h;g=(h=f.map(function(k){return k.size.height}).filter(function(k){return k&&k>0})[0])!=null?h:-1;b!==-1&&g!==-1&&(d.set("ca_w",b.toString()),d.set("ca_h", g.toString()))}return new Map([].concat(w(xX(e,a,c)),w(vX(a,c)),w(tX(a,c)),w(qX(a,c)),w(d)))} function vX(a,b){var c=new Map;c.set("sdkv",iQ(b));var d=c.set,e=1;UQ(b.ba)&&(wP(aB)?e+=4:b.B||(e+=4));TQ()||(e+=1024);!TQ()&&(e+=64);b.B&&(e+=2147483648);d.call(c,"sdki",e.toString(16));c.set("ptt",(20).toString());b.jb!=null&&c.set("adk",b.jb);d=WQ();d.length>0&&c.set("sdk_apis",d.join(","));d=jQ();if(SQ()){var f;d="Google1/"+((f=d.D)!=null?f:"h.3.679.0")}else d=null;f=d;f!=null&&c.set("omid_p",f);b.ia&&c.set("media_url",b.ia);sP.D&&c.set("sid",sP.D);b.secureSignals&&!MP(b.g)&&c.set("a3p",b.secureSignals); b.Gb&&c.set("htps",(10).toString());c.set("nel",IE()?"1":"0");(f=b.Tj)&&c.set("scar",f);b.Ek&&c.set("td",(1).toString());f=xD((new P(a.adTagUrl)).g.get("eid",""));D(E(f))||c.set("eid",f);c.set("afvsz",FM(a));f=(new P(a.adTagUrl)).g.get("ctv","");d={};GQ().report(197,(d.pctv=f,d));f=new Map;b.W?f.set("attmas",b.W):b.K!=null&&f.set("is_lat",b.K?"1":"0");if(!MP(b.g)){d=sP.L;oB(FC)&&d!==null&&(e=new pP,zk(wk(e,3,d),4,sP.W),d=Qg(Kg(Yk(e)),3),f.set("psd",d));e=b.deviceId;d=b.g;if(d.j){var g=EP(d,"tfcd"); g=g==="0"||g==="false"?(0).toString():zP(g)?(1).toString():""}else g="";(g=g===(1).toString())||(d.j?(d=EP(d,"tfua"),d=d==="0"||d==="false"?(0).toString():zP(d)?(1).toString():""):d="",g=d===(1).toString());d=e&&e!=="00000000-0000-0000-0000-000000000000"&&!g;b.aa&&f.set("idtype",b.aa);e&&!g&&f.set("rdid",e);if((e=b.Ti)&&!d){f.set("paid",e);if(e=b.Wj)g=new jX,gX(g,Kg(e)),g=Lg(hX(g)).substring(0,32).toUpperCase(),g=g.length===32?[g.substring(0,8),g.substring(8,12),g.substring(12,16),g.substring(16, 20),g.substring(20)].join("-"):void 0,g&&f.set("vid1",g);g=b.Wi;var h=!b.Xi;g&&(f.set("paid2",g),f.set("paopt",h?"1":"0"),e&&(g=new jX,gX(g,Kg(e)),e=Lg(hX(g)).substring(32).toUpperCase(),e=e.length===32?[e.substring(0,8),e.substring(8,12),e.substring(12,16),e.substring(16,20),e.substring(20)].join("-"):void 0,e&&f.set("vid2",e)))}e=b.fc;g=b.hc;e&&g&&!d&&(f.set("pvid",e),f.set("pvid_s",""+g))}d=new Map;e=b.Fa;g=(document.visibilityState||"")==="visible";g!=null&&d.set("vis",g?"1":"2");e!==-1&&d.set("frm", e.toString());QQ()&&(e=2,g=C&&Hn(C).Lb?!1:wf(wg().j),!TQ()&&g&&(e|=2048),d.set("osd",e.toString()));e=b.Ua;e!=null&&d.set("ms",e);d.set("sdr","1");d.set("unviewed_position_start","1");d.set("is_amp",b.ek?"1":"0");(e=IF())&&d.set("hl",e);(e=b.xd)&&d.set("uach",e);e=new Map;g=b.D;g!=null&&e.set("js","ima-"+g);g=b.appName;g!=null&&(e.set("an",g),b.C==="android"&&e.set("msid",g));g=b.Rk;g!=null&&e.set("mv",g+"."+(b.Qk||""));g=a.linearAdSlotWidth;h=a.linearAdSlotHeight;e.set("u_so",g==null||h==null?"l": h>g?"p":"l");e.set("ctv",String(XQ()));g=new Map;D(sP.getPlayerType())||(g.set("mpt",sP.getPlayerType()),D(sP.getPlayerVersion())||g.set("mpv",sP.getPlayerVersion()));h=new Map;VQ()||h.set("wta","0");if(a instanceof eD&&a.A&&a.adTagUrl!==null){var k=a.adTagUrl;var m=KP(b.g);k=yP(k);for(var p=v(xP),n=p.next();!n.done;n=p.next())n=n.value,k[n]==="redundant"&&m.set(n,"redundant")}else m=KP(b.g);k=Map;p=[];n=p.concat;h=w(h);var r=new Map;MP(b.g)||(D(sP.o)||r.set("adsid",sP.o),D(sP.G)||r.set("pucrd",sP.G), D(sP.F)||r.set("jar",sP.F));h=new k(n.call(p,h,w(r),w(m)));m=new Map;k=b.re;(p=b.Zi)&&k&&k>0&&p>k&&(m.set("dlt",k.toString()),m.set("idt",(p-k).toString()));m.set("dt",Wm().toString());a=rX(a,b);b=b.Yi||{};return new Map([].concat(w(f),w(d),w(e),w(g),w(b),w(h),w(c),w(a),w(m)))} function xX(a,b,c){var d=new Map,e=IM(a);UQ(c.ba)||(e=HM(e));e.some(function(f){return GM(f)})&&b.nonLinearAdSlotWidth!=null&&b.nonLinearAdSlotHeight!=null&&(b=FM(b),d.set("image_size",b),D(b)&&(e=e.filter(function(f){return!GM(f)})));d.set("ad_type",e.join("_"));b=e.some(function(f){return f==="text"});d.set("num_ads",b?"3":"1");a=yD(a,"t_pyv");D(a)&&(a=b?"allow":"exclude");d.set("t_pyv",a);e.some(function(f){return f==="bumpervideo"||f==="skippablevideo"||f==="standardvideo"||f==="video"})&&(e= Vc("Chromium")>=6||Vc("Firefox")>=4||$d&&HF(GF,2.3)?43:18,d.set("video_format",e.toString()));return d} function rX(a,b){var c,d=(c=a.adTagUrl)!=null?c:"";c=new P(d);var e;a=(e=a.pageUrl)!=null?e:"";var f;e=(f=$y(c,"url"))!=null?f:"";f=DF(a)?a:e;c=yX(c);c=DF(f)?f:c;c=new P(c);e=new P(b.vb);a=new P(b.j);d="unknown";az(a,e)?d="flat":az(c,e)?d="bottom":az(c,a)&&(d="top");GQ().report(160,{contentLocation:d});c=new Map;e=b.referrer;D(E(e))||c.set("ref",e);if(DF(f)){c.set("url",f);var g;c.set("top",(g=b.j)!=null?g:"");c.set("loc",b.vb)}else g=c.set,b=b.j&&DF(b.j)?b.j:b.referrer&&DF(b.referrer)?b.referrer: "null",g.call(c,"url",b);return c}function yX(a){var b="";["video_url_to_fetch","description_url","durl"].find(function(c){c=$y(a,c)||"";return DF(c)?(b=c,!0):!1});return b}function zX(a){return a?qD(a)?(a=new P(a),a.g.remove("ctv"),a.toString()):a:null};var AX=function(){this.g=[];this.j=[]},BX=function(a){a.g.length===0&&(a.g=a.j,a.g.reverse(),a.j=[])},CX=function(a,b){a.j.push(b)};l=AX.prototype;l.isEmpty=function(){return this.g.length===0&&this.j.length===0};l.clear=function(){this.g=[];this.j=[]};l.contains=function(a){return kb(this.g,a)||kb(this.j,a)}; l.remove=function(a){var b=this.g;b:{var c=b.length-1;c<0&&(c=Math.max(0,b.length+c));if(typeof b==="string")c=typeof a!=="string"||a.length!=1?-1:b.lastIndexOf(a,c);else{for(;c>=0;c--)if(c in b&&b[c]===a)break b;c=-1}}c>=0?(nb(b,c),b=!0):b=!1;return b||lb(this.j,a)};l.cf=function(){for(var a=[],b=this.g.length-1;b>=0;--b)a.push(this.g[b]);b=this.j.length;for(var c=0;c=4294967296)throw new Z("Number has to be unsigned 32-bit integer.");for(var d=Array(4),e=0;e<4;e++)d[e]=255&a>>8*(4-e-1);b=c.call(b,d);return new Uint8Array(b)},zY=new Uint8Array(0);var AY=function(a,b,c){this.l=a;this.g=b;this.j=c};AY.prototype.Jb=function(){return this.l};var BY=function(a){this.l=a;this.j=null;this.g=new Map};BY.prototype.Za=function(){return this.l};var DY=function(a,b){return(a=CY(a,b))?a:[]},CY=function(a,b){b instanceof Uint8Array&&(b=[].concat(w(b)).toString());return a.g.get(b)};/* Copyright 2022 Google LLC SPDX-License-Identifier: Apache-2.0 */ function EY(a){return a==null?void 0:new Uint8Array(hh(a)||0)}function FY(a){a==null?a=void 0:a=(a=hh(a))?a.length:0;return a};function GY(){for(var a=0,b=0;bNumber.MAX_SAFE_INTEGER)throw new Z("cannot convert number larger than "+Number.MAX_SAFE_INTEGER);var b=a%4294967296;a/=4294967296;for(var c=new Uint8Array(8),d=7;d>=4;d--)c[d]=b&255,b>>>=8;for(b=3;b>=0;b--)c[b]=a&255,a>>>=8;return c}function IY(a){for(var b="",c=0;c1?d:"0"+d}return b} function JY(a){a=a.replace(/-/g,"+").replace(/_/g,"/");return KY(globalThis.atob(a))}function LY(a){for(var b="",c=0;ca&&(c=c.slice(c.length-a,c.length));b.length>a&&(b=b.slice(b.length-a,b.length));d=new Uint8Array(2* a);d.set(c,0);d.set(b,a);return d;case 2:b=c.x;d=c.y;if(b===void 0)throw new Z("x must be provided");if(d===void 0)throw new Z("y must be provided");c=JY(b);b=JY(d);c.length>a&&(c=c.slice(c.length-a,c.length));b.length>a&&(b=b.slice(b.length-a,b.length));d=new Uint8Array(1+a);d.set(c,1+a-c.length);d[0]=QY(BigInt("0x"+IY(b)),0)?3:2;return d;default:throw new Y("invalid format");}} function RY(a){switch(a){case 1:return BigInt("115792089210356248762697446949407573530086143415290314195533631308867097853951");case 2:return BigInt("39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112319");case 3:return BigInt("6864797660130609714981900799081393217269435300143305409394463459185543183397656052122559640661454554977296311391480858037121987999716643812574028291115057151");default:throw new Z("invalid curve");}} function SY(a){a=a.toString(16);a=a.length%2===0?a:"0"+a;if(a.length%2!=0)throw new Z("Hex string length must be multiple of 2");for(var b=new Uint8Array(a.length/2),c=0;c=d)throw new Y("x is out of range");d=RY(NY(a));var e=d-BigInt(3);a:switch(NY(a)){case 1:var f=BigInt("0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b");break a;case 2:f=BigInt("0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef");break a;case 3:f=BigInt("0x051953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00"); break a;default:throw new Z("invalid curve");}if(d<=BigInt(0))throw new Z("p must be positive");e=((c*c+e)*c+f)%d%d;if(QY(d,0)&&QY(d,1)){var g=d+BigInt(1)>>BigInt(2);if(g===BigInt(0))f=BigInt(1);else{f=e;g=g.toString(2);for(var h=1;hb){for(var d=0;db)throw new Y("Version is out of bound, must be between 0 and "+b+".");};var rZ=function(a,b){this.key=a;this.ld=b};rZ.prototype.encrypt=function(a){var b=this,c,d,e,f;return y(function(g){if(g.g==1)return pZ(a),c=jZ(b.ld),d=new Uint8Array(16),d.set(c),e={name:"AES-CTR",counter:d,length:128},x(g,globalThis.crypto.subtle.encrypt(e,b.key,a),2);f=g.j;return g.return(GY(c,new Uint8Array(f)))})}; rZ.prototype.decrypt=function(a){var b=this,c,d,e;return y(function(f){if(f.g==1){pZ(a);if(a.length16)throw new Y("invalid IV length, must be at least 12 and at most 16");pZ(a);oZ(a.length);return x(d,globalThis.crypto.subtle.importKey("raw",a,{name:"AES-CTR",length:a.length},!1,["encrypt","decrypt"]),2)}c=d.j;return d.return(new rZ(c,b))})};var tZ=function(){};var uZ=function(a,b,c){this.hash=a;this.key=b;this.wd=c};q(uZ,tZ);var vZ=function(a,b){var c;return y(function(d){if(d.g==1)return pZ(b),x(d,globalThis.crypto.subtle.sign({name:"HMAC",hash:{name:a.hash}},a.key,b),2);c=d.j;return d.return(new Uint8Array(c.slice(0,a.wd)))})},wZ=function(a,b,c){var d;return y(function(e){if(e.g==1)return pZ(b),pZ(c),x(e,vZ(a,c),2);d=e.j;if(b.length!==d.length)var f=!1;else{for(var g=f=0;g20)throw new Z("tag too long, must not be larger than 20 bytes");break;case "SHA-256":if(c>32)throw new Z("tag too long, must not be larger than 32 bytes");break;case "SHA-384":if(c>48)throw new Z("tag too long, must not be larger than 48 bytes");break; case "SHA-512":if(c>64)throw new Z("tag too long, must not be larger than 64 bytes");break;default:throw new Z(a+" is not supported");}return x(e,globalThis.crypto.subtle.importKey("raw",b,{name:"HMAC",hash:{name:a},length:b.length*8},!1,["sign","verify"]),2)}d=e.j;return e.return(new uZ(a,d,c))})};var yZ=function(a,b,c,d){this.g=a;this.ld=b;this.j=c;this.wd=d};q(yZ,mZ);yZ.prototype.encrypt=function(a,b){b=b===void 0?new Uint8Array(0):b;var c=this,d,e,f;return y(function(g){if(g.g==1)return pZ(a),x(g,c.g.encrypt(a),2);if(g.g!=3)return d=g.j,pZ(b),e=HY(b.length*8),x(g,vZ(c.j,GY(b,d,e)),3);f=g.j;if(c.wd!=f.length)throw new Y("invalid tag size, expected "+c.wd+" but got "+f.length);return g.return(GY(d,f))})}; yZ.prototype.decrypt=function(a,b){b=b===void 0?new Uint8Array(0):b;var c=this,d,e,f,g,h;return y(function(k){if(k.g==1){pZ(a);if(a.length16)throw new Y("Invalid AES CTR HMAC key format: IV size is out of range: "+c);return{Yl:a,Lf:b,ld:c}},CZ=function(a){if(!a)throw new Y("Invalid AES CTR HMAC key format: key format undefined");var b=jk(a,2);if(b<16)throw new Y("Invalid AES CTR HMAC key format: HMAC key is too small: "+ jk(a,2));a=I(a,FX,1);if(!a)throw new Y("Invalid AES CTR HMAC key format: params undefined");var c=jk(a,2);if(c<10)throw new Y("Invalid HMAC params: tag size "+c+" is too small.");if(!DZ.has(nk(a,1)))throw new Y("Unknown hash type.");if(c>DZ.get(nk(a,1)))throw new Y("Invalid HMAC params: tag size "+c+" is out of range.");switch(nk(a,1)){case 1:var d="SHA-1";break;case 3:d="SHA-256";break;case 4:d="SHA-512";break;default:d="UNKNOWN HASH"}return{Wm:a,Vm:b,Tm:d,wd:c}},DZ=new Map([[1,20],[3,32],[4,64]]), EZ=function(){this.g=new AZ};l=EZ.prototype; l.Jb=function(a,b){var c,d,e,f,g,h=this,k,m,p,n,r,u;return y(function(t){if(t.g==1){if(a!=h.Za())throw new Y("Requested primitive type which is not supported by this key manager.");if(b instanceof qY){if(!h.he(J(b,1)))throw new Y("Key type "+J(b,1)+" is not supported. This key manager supports "+h.ob()+".");try{k=KX(b.getValue())}catch(F){throw new Y("Could not parse the key in key data as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey");}if(k===null||k===void 0)throw new Y("Could not parse the key in key data as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"); }else if(b instanceof HX)k=b;else throw new Y("Given key type is not supported. This key manager supports "+h.ob()+".");var z=I(k,EX,2);if(!z)throw new Y("Invalid AES CTR HMAC key format: key undefined");qZ(z.getVersion(),h.getVersion());var A=new LX;var H=I(z,DX,2);A=ck(A,1,H);H=FY(Lj(z,3));A=tk(A,2,H);A=BZ(A).ld;f=EY(Lj(z,3));g=A;m=f;p=g;z=I(k,GX,3);if(!z)throw new Y("Invalid AES CTR HMAC key format: key undefined");qZ(z.getVersion(),h.getVersion());A=new MX;H=I(z,FX,2);A=ck(A,1,H);H=FY(Lj(z,3)); A=tk(A,2,H);H=CZ(A);A=H.Tm;H=H.wd;c=EY(Lj(z,3));d=A;e=H;n=c;r=d;u=e;return x(t,zZ(m,p,r,n,u),2)}return t.return(t.j)})};l.he=function(a){return a===this.ob()};l.ob=function(){return"type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"};l.Za=function(){return mZ};l.getVersion=function(){return 0};l.ke=function(){return this.g};var FZ=function(a){var b=a.key;a=a.Lc;this.key=b;this.Lc=a};FZ.prototype.encrypt=function(a,b,c){var d=this,e,f;return y(function(g){if(g.g==1){if(a.length!==12)throw new Y("IV must be 12 bytes");e={name:"AES-GCM",iv:a,tagLength:128};c&&(e.additionalData=c);return x(g,globalThis.crypto.subtle.encrypt(e,d.key,b),2)}f=g.j;return g.return(d.Lc?GY(a,new Uint8Array(f)):new Uint8Array(f))})}; FZ.prototype.decrypt=function(a,b,c){var d=this,e,f,g,h,k;return y(function(m){if(m.g==1){e=d.Lc?28:16;if(b.length5)){k.g=2;break}d=a.subarray(0,5);return x(k,DY(c.g,d),3);case 3:return e=k.j,f=a.subarray(5,a.length),k.l=4,x(k,NZ(e,f,b),6);case 6:g=k.j;k.g=5;k.l=0;break;case 4:xa(k);case 5:if(g)return k.return(g);case 2:return x(k,DY(c.g,zY),7);case 7:return h=k.j,k.return(NZ(h,a,b))}})}; var NZ=function(a,b,c){var d,e,f,g;return y(function(h){switch(h.g){case 1:d=a.length,e=0;case 2:if(!(e5100)throw new Z("size too large");break;case "SHA-256":f=32;if(a>8160)throw new Z("size too large");break;case "SHA-512":f=64;if(a>16320)throw new Z("size too large");break;default:throw new Z(b+" is not supported");}pZ(c);pZ(d);g=e;if(e==null||g===void 0||g.length==0)g=new Uint8Array(f); pZ(g);return x(t,xZ(b,g,f),2);case 2:return h=t.j,x(t,vZ(h,c),3);case 3:return k=t.j,x(t,xZ(b,k,f),4);case 4:h=t.j,m=1,p=0,n=new Uint8Array(0),r=new Uint8Array(a);case 5:return u=new Uint8Array(n.length+d.length+1),u.set(n,0),u.set(d,n.length),u[u.length-1]=m,x(t,vZ(h,u),8);case 8:n=t.j;if(p+n.length>8*(a-d-1)&255;return c}function t_(a){var b=a.jd;var c=a.gd;return GY(s_,a.Bb,KY(b),c)}function u_(a){var b=a.Md;var c=a.info;var d=a.Bb;return GY(i_(2,a.length),s_,d,KY(b),c)}function v_(a){switch(a){case 2:return 1;case 4:return 3;default:throw new Z("Unrecognized NIST HPKE KEM identifier");}} function w_(a,b){var c;return y(function(d){return d.g==1?(c=TY(a,1,b),x(d,XY(c),2)):d.return(d.j)})}function x_(a){var b=a.Gh;var c=a.publicKey;var d=a.privateKey;var e;return y(function(f){return f.g==1?(e=TY(b,1,c),e.d=LY(d),x(f,YY(e),2)):f.return(f.j)})}function y_(a){var b,c;return y(function(d){if(d.g==1)return b=a.algorithm,x(d,WY(a),2);c=d.j;if(!c.crv)throw new Y("Curve has to be defined.");return d.return(OY(b.namedCurve,1,c))})};var z_=function(a,b,c,d){this.Qh=a;this.key=b;this.l=c;this.j=d;this.g=BigInt(0);this.o=(BigInt(1)<>BigInt(8*(12-d-1)))&255;b=a.l;if(b.length!==c.length)throw new Z("Both byte arrays should be of the same length");d=new Uint8Array(b.length);for(var e=0;e=a.o)throw new Y("message limit reached");a.g+=BigInt(1);return d}; function B_(a,b,c,d,e,f){var g,h,k,m,p,n,r;return y(function(u){switch(u.g){case 1:a:{switch(e.sg){case 16:var t=o_;break a;case 32:t=p_;break a}t=void 0}a:{switch(d.mg){case "SHA-256":var z=m_;break a;case "SHA-512":z=n_;break a}z=void 0}g=GY(r_,C_(c),z,t);return x(u,D_(d,{gd:new Uint8Array(0),jd:"psk_id_hash",Bb:g}),2);case 2:return h=u.j,x(u,D_(d,{gd:f,jd:"info_hash",Bb:g}),3);case 3:return k=u.j,m=GY(j_,h,k),x(u,D_(d,{gd:new Uint8Array(0),jd:"secret",Bb:g,salt:b}),4);case 4:return p=u.j,x(u,E_(d, {dk:p,info:m,Md:"key",Bb:g,length:e.sg}),5);case 5:return n=u.j,x(u,E_(d,{dk:p,info:m,Md:"base_nonce",Bb:g,length:12}),6);case 6:return r=u.j,u.return(new z_(a,n,r,e))}})}function F_(a,b,c,d,e){var f,g,h;return y(function(k){return k.g==1?x(k,b.Ph(a),2):k.g!=3?(f=k.j,g=f.Qh,h=f.Qn,x(k,B_(g,h,b,c,d,e),3)):k.return(k.j)})}function G_(a,b,c,d,e,f){var g;return y(function(h){return h.g==1?x(h,c.Hh(a,b),2):h.g!=3?(g=h.j,x(h,B_(a,g,c,d,e,f),3)):h.return(h.j)})};var H_=function(a,b){this.privateKey=a;this.publicKey=b},I_=function(a){return y(function(b){return b.g==1?x(b,y_(a.publicKey),2):b.return(b.j)})};function J_(a){var b=a.privateKey;var c=a.publicKey;var d=a.Gh;var e,f;return y(function(g){if(g.g==1){if(!b)throw new Z("KEM private key was null or undefined");if(!c)throw new Z("KEM public key was null or undefined");return x(g,w_(MY(d),c),2)}if(g.g!=3)return e=g.j,x(g,x_({Gh:MY(d),publicKey:c,privateKey:b}),3);f=g.j;return g.return(new H_(f,e))})} function K_(a){return y(function(b){L_(a.privateKey,"private");L_(a.publicKey,"public");return b.return(new H_(a.privateKey,a.publicKey))})}function L_(a,b){if(b!==a.type)throw new Z("keyPair "+b+" key was of type "+a.type);a=a.algorithm;if("ECDH"!==a.name)throw new Z("keyPair "+b+" key should be ECDH but found "+a.name);};var M_=function(a){this.sg=a};M_.prototype.seal=function(a){var b=a.key;var c=a.nonce;var d=a.Hn;var e=a.rh;var f=this,g;return y(function(h){if(h.g==1){if(b.length!==f.sg)throw new Y("Unexpected key length: "+b.length.toString());return x(h,GZ({key:b,Lc:!1}),2)}return h.g!=3?(g=h.j,x(h,g.encrypt(c,d,e),3)):h.return(h.j)})}; M_.prototype.open=function(a){var b=a.key;var c=a.nonce;var d=a.im;var e=a.rh;var f=this,g;return y(function(h){if(h.g==1){if(b.length!==f.sg)throw new Y("Unexpected key length: "+b.length.toString());return x(h,GZ({key:b,Lc:!1}),2)}g=h.j;return h.return(g.decrypt(c,d,e))})};var N_=function(a){this.mg=a},D_=function(a,b){var c=b.gd;var d=b.jd;var e=b.Bb;var f=b.salt;return y(function(g){return g.g==1?x(g,O_(a,t_({jd:d,gd:c,Bb:e}),f),2):g.return(g.j)})},E_=function(a,b){var c=b.dk;var d=b.info;var e=b.Md;var f=b.Bb;var g=b.length;return y(function(h){return h.g==1?x(h,a.expand(c,u_({Md:e,info:d,Bb:f,length:g}),g),2):h.return(h.j)})},P_=function(a,b){var c=b.gd;var d=b.jd;var e=b.info;var f=b.Md;var g=b.Bb;var h=b.length;var k=b.salt;var m;return y(function(p){return p.g== 1?x(p,O_(a,t_({jd:d,gd:c,Bb:g}),k),2):p.g!=3?(m=p.j,x(p,a.expand(m,u_({Md:f,info:e,Bb:g,length:h}),h),3)):p.return(p.j)})}; N_.prototype.expand=function(a,b,c){var d=this,e,f,g,h,k,m,p;return y(function(n){switch(n.g){case 1:if(!Number.isInteger(c))throw new Y("length must be an integer");if(c<=0)throw new Y("length must be positive");e=Q_(d);if(c>255*e)throw new Y("length too large");pZ(b);return x(n,xZ(d.mg,a,e),2);case 2:f=n.j,g=1,h=0,k=new Uint8Array(0),m=new Uint8Array(c);case 3:return p=new Uint8Array(k.length+b.length+1),p.set(k,0),p.set(b,k.length),p[p.length-1]=g,x(n,vZ(f,p),6);case 6:k=n.j;if(h+k.length25)a.A=!0},touchend:function(b){return void y0(a,b)}},Hb(a.G,function(b,c){a.g.addEventListener(c,b,!1)})):a.K.listen(a.g,"click",a.W)},w0=function(a){a.K.pa(a.g,"click",a.W);Hb(a.G,function(b,c){this.g.removeEventListener(c,b,!1)},a);a.G={}},y0=function(a,b){!a.D||a.j!==1||a.A||a.L||a.B||!x0(a,b.changedTouches)||(a.l=window.setTimeout(function(){return void A0(a)},300));a.j=b.touches.length;a.j===0&&(a.D=!1,a.A=!1,a.o=[]);a.L=!1};v0.prototype.W=function(){A0(this)}; var x0=function(a,b){for(var c=0;c
';b=Math.max(0,Math.ceil(b-0));for(var d=0;d
';return Xz(c+"
")},J0=function(){return Xz('
')};var K0=function(){SL.call(this);this.element=AA(J0);this.j=Ke("fullSlotContentContainer",this.element);this.l=Ke("fullSlotBottomBar",this.element)};q(K0,UL);var L0=function(a,b){a.l&&b.element&&a.l.appendChild(b.element)},M0=function(a,b){a.j&&b.element&&a.j.appendChild(b.element)};var N0=function(a,b,c,d,e,f,g){H0.call(this,b);this.l=a;this.A=c;this.uiConfig=d;this.sa=e;this.C=f;this.B=g;this.o=[];this.g=0;this.view=new K0;this.j=new VG(this)};q(N0,H0);l=N0.prototype; l.build=function(){var a=this;VL(this.view,this.A);this.l.forEach(function(d,e){d=d.cd(a.uiConfig);a.o.push(d);var f=uM(d);f!=null&&a.j.listen(f,"click",function(g){g.stopPropagation();bI(a.I,LI,null)});new fL(d,a.I,dJ);a.j.listen(d,"click",function(){a.g=e});M0(a.view,d)});if(this.C){var b=new xM({qf:!0,Ug:!0,rc:uP("promoskip")});L0(this.view,b);b=new uL(b,this.I,5);M(this,b);b=new ZL;L0(this.view,b);new qL(b,this.I);b=new WL;new aL(b,this.I,LI);b.l(this.sa);L0(this.view,b);b.show();if(this.B){var c= new yM(!0);new aL(c,this.I,oJ);TL(b,c)}}HK(this.view.element,.3).play();bI(this.I,fJ,null)};l.P=function(){Xe(this.view.Ia());H0.prototype.P.call(this)};l.Pe=function(){return this.view.j};l.show=function(){};l.da=function(){};l.ie=function(){return this.l[this.g]};l.fg=function(){return this.o[this.g]};var P0=function(a,b){SL.call(this);var c=this;this.D=b;this.l=this.o=null;this.B=!1;this.element=AA(I0,{Uj:a,margin:(57-10*a)/a});this.j=Ke("innerContainer",this.element);this.A=Array.from((this.element||document).querySelectorAll(".overlaySelector"));this.A.forEach(function(d,e){c.g.listen(d,"click",function(f){O0(c,e);f.stopPropagation()})});O0(this,0);this.g.listen(this.element,"mouseover",function(){c.dispatchEvent("mouseover")});this.g.listen(this.element,"mouseout",function(){c.dispatchEvent("mouseout")})}; q(P0,UL);P0.prototype.Wd=function(a){this.B=a;this.l&&this.l.Wd(a)};var O0=function(a,b){a.o!=null&&vz(a.A[a.o],"active");tz(a.A[b],"active");a.o=b;a.D(b)},Q0=function(a,b){if(a.l){var c;(c=a.j)==null||c.removeChild(a.l.Ia());a.g.pa(b,"click")}a.l=b;a.l.Wd(a.B);var d;(d=a.j)==null||d.appendChild(b.element);a.g.listen(b,"click",function(e){a.dispatchEvent(e);e.stopPropagation()})};l=P0.prototype;l.pk=function(a){EK(this.j,"opacity "+a/1E3+"s")};l.show=function(){bo(this.j,!0)}; l.da=function(){bo(this.j,!1)};l.ej=function(){ao(this.j,1)};l.Fj=function(){ao(this.j,.3)};var i1=function(a,b,c,d){H0.call(this,b);var e=this;this.C=a;this.B=c;this.uiConfig=d;this.l=[];this.g=null;this.j=-1;this.A=new VG(this);this.o=new lu(15E3);this.view=new P0(a.length,function(f){R0(e,f)})};q(i1,H0);l=i1.prototype; l.build=function(){var a=this;VL(this.view,this.B);new iL(this.view,this.I,!1);new fL(this.view,this.I,dJ);this.l=this.C.map(function(b){var c=b.cd(a.uiConfig),d=uM(c);d!=null&&a.A.listen(d,"click",function(e){e.stopPropagation();bI(a.I,LI,null)});d=new jM;new dL(d,a.I,TI);TL(c,d);b.Yb&&(b=new yM(!0),new aL(b,a.I,oJ),TL(c,b));return c});R0(this,0);this.g=new wM;new rL(this.g,this.I,TI);TL(this.view,this.g);aI(this.I,TI,function(){return void a.stop()});aI(this.I,jJ,function(){return void a.play()}); this.A.listen(this.o,"tick",this.hl);this.play()};l.P=function(){Xe(this.view.Ia());H0.prototype.P.call(this)};l.play=function(){this.o.start()};l.stop=function(){this.o.stop()};l.hl=function(){O0(this.view,(this.j+1)%this.l.length)};var R0=function(a,b){b!==a.j&&a.l[b]&&(Q0(a.view,a.l[b]),a.j=b,bI(a.I,fJ,null))};l=i1.prototype;l.Pe=function(){var a=this.fg();return a?a.Ia():null};l.fg=function(){return this.l[this.j]};l.show=function(){this.view&&this.view.show();this.g&&this.g.da()}; l.da=function(){this.view&&this.view.da();this.g&&this.g.show()};l.ie=function(){return this.C[this.j]};var j1=function(a){this.I=a},k1=function(a){return a.some(function(b){if(!b.B)return!1;b=b.A;return b!=null&&b.style.display!="none"?(b.focus(),!0):!1})},l1=function(a,b){var c=Qe().screen;if(c){var d=c.availWidth||c.width,e=c.availHeight||c.height,f=new ge(0,e),g=Number.MAX_VALUE,h=null;b.forEach(function(k,m){m=a[m];if(m.B){var p=new ge(Pd(xE(k,d)),Pd(yE(k,e)));k=f.x-p.x;p=f.y-p.y;k=Math.sqrt(k*k+p*p);g>k&&(h=m,g=k)}});h!=null&&(b=h.Ia(),b!=null&&b.focus())}};var m1=function(a,b,c,d){XK.call(this,b);var e=this;this.A=d;this.j=new $H;new yL(a,this.j,c,!1);aI(this.j,mJ,function(){e.A.show()});YK(this,hK,this.l,this)};q(m1,XK);m1.prototype.l=function(a){bI(this.j,hK,a)};var n1=function(a,b){XK.call(this,b);var c=this;this.view=a;M(this,this.view);this.g.listen(this.view.j,"wtaClicked",function(d){d=d.detail;d.underlyingEvent.preventDefault();ZK(c,HI,d.wtaUrl)});this.g.listen(this.view.j,"learnMoreClicked",function(d){d=d.detail;d.underlyingEvent.preventDefault();ZK(c,HI,d.learnMoreUrl)});this.g.listen(this.view.j,"updateGpid",function(d){d=d.detail;ZK(c,II,new JI(d.gpidType,d.gpidPersonalizationEnabled,d.gpidShouldResetAdsData))});this.g.listen(this.view.j,"p-control-panel-hidden", function(){return void ZK(c,GI,null)});YK(this,qJ,function(d){d||c.da()},this)};q(n1,XK);n1.prototype.show=function(){this.view.show();ZK(this,FI,null)};n1.prototype.da=function(){this.view.da()};var o1=function(a){SL.call(this);this.element=Te(document,"div");this.element!==null&&(this.element.id="ima_"+a)};q(o1,SL);var p1=function(){return Xz('')};var q1=function(a){SL.call(this);var b=this;this.o=this.l=!1;this.element=AA(p1);var c;(c=I(a,Mu,1))!=null&&vk(c,40,"https://support.google.com/ads/answer/10923348");if(!a)throw Error("bad attrdata");c=new wz(a);this.j=new NA(a,c);this.g.listen(this.j,"p-control-panel-hidden",function(){b.l=!1})};q(q1,UL);q1.prototype.show=function(){this.l||(this.o||(this.j.render(),this.o=!0),this.j.expand(),this.l=!0)};q1.prototype.da=function(){this.l&&(this.j.collapse(),this.l=!1)};var r1=function(a,b,c,d,e,f){f=f===void 0?!1:f;WK.call(this,b);var g=this;this.g=a;this.D=c;this.o=d;this.K=e;this.j=f;this.F=this.B=!1;this.A=[];this.C=!1;this.l=null;this.view=new $L([this.g.F],this.g.A?"videoAdUiTopBar-gvn":"videoAdUiTopBarWithGradients",!this.g.g,this.j);eM(this.view,!this.j&&(!JF()||!1));this.G=new VG(this);M(this,this.G);document.addEventListener("click",function(h){var k=g.view.Ia().getBoundingClientRect();k.bottomh.clientY||k.left>h.clientX|| (T(U(),"ctie",h.target instanceof Element?"1":"0"),U().recordClick("clk",h.clientX-k.left,h.clientY-k.top,h.target instanceof Element?h.target:void 0),SB(U().g))},!0);this.L=new j1(b)};q(r1,WK);l=r1.prototype; l.build=function(){var a=this;VL(this.view,this.D);aM(this.view);So(this,function(){return Xe(a.view.Ia())});this.g.gb&&TL(this.view,new o1(this.g.gb));if(this.g.isSkippable()){aI(this.I,lJ,function(){a.B=!0});var b=new xM({qf:!0,Ug:!0,bh:this.g.bh,rc:uP("promoskip")});dM(this.view,b);var c=new uL(b,this.I,this.g.C);M(this,c);this.o&&b.da()}if(this.g.j&&!this.o){var d=new XL(this.j);this.j?dM(this.view,d):this.g.A?(cM(this.view,d),bM(this.view)):dM(this.view,d);this.g.l?new qL(d,this.I):d.show()}this.g.B&& (b=new yM(!0),new aL(b,this.I,oJ),this.j?dM(this.view,b):d?TL(d,b):this.g.A?cM(this.view,b):dM(this.view,b));this.j&&(d=new vM,pL(new oL(d,this.I)),iM(this.view,d),aI(this.I,qJ,function(e){a.C&&(fM(a.view,!e),gM(a.view,!e))}));if(this.j||this.g.o&&!this.o)d=new lM("author"),new bL(d,this.I,RI,BI),cM(this.view,d),d=new WL,new bL(d,this.I,SI,EI),this.j?hM(this.view,d):cM(this.view,d),d=new YL,new bL(d,this.I,MI,CI),this.j?hM(this.view,d):cM(this.view,d),aI(this.I,BI,function(){return void bM(a.view)}), aI(this.I,EI,function(){return void bM(a.view)}),aI(this.I,CI,function(){return void bM(a.view)});this.j?new hL(this.view,this.I,!0):this.o||(d=NI,this.g.g||!this.g.G?d=pJ:new $K(this.view,!0),this.K?new fL(this.view,this.I,d):(new aL(this.view,this.I,d),this.view.Wd(!0)));this.g.va.forEach(function(e){var f=null;if(a.g.J&&e.Ab==="GoogleWhyThisAd"){f=new lM("vast");var g=new q1(a.g.J);VL(g,a.D);So(a,function(){return Xe(g.Ia())});var h=new n1(g,a.I);new m1(f,a.I,e,h)}else f=uP("force_wta_top_left")? new lM("freeplayWta"):new lM("vast"),new yL(f,a.I,e,YQ(e.l));mM(f,e.g,e.j);TL(a.view,f);a.A.push(f)});this.j?(this.l=new oM,new bL(this.l,this.I,aJ,DI)):(this.l=new pM,new aL(this.l,this.I,aJ));this.g.D!=null&&(d=new kM(this.g.D),new gL(d,this.I),iM(this.view,d));aI(this.I,hK,function(e){!a.j&&e&&e.durationSeconds>0&&e.durationSeconds-e.currentTimeSeconds<5&&eM(a.view,!1);a.j&&!a.C&&e&&e.currentTimeSeconds>5&&(a.C=!0,fM(a.view,!0),gM(a.view,!0))});aI(this.I,YI,function(){var e=a.L,f=a.A,g=a.g.va, h=a.g.isSkippable();k1(f)||(h?bI(e.I,ZI,null):l1(f,g))});this.Ae()};l.Be=function(){this.B&&bI(this.I,KI,null)};l.Lg=function(){!this.F&&this.g.o&&!this.o&&this.g.g&&this.l&&(this.F=!0,cM(this.view,this.l),bM(this.view))};l.Ae=function(){var a=this,b=Zn(this.view.Ia()),c=b.height;uP("force_wta_top_left")&&(c=c-16-20-2);this.g.va.forEach(function(d,e){a.g.va.length===a.A.length&&nM(a.A[e],xE(d,b.width),yE(d,c))})};l.getConfig=function(){return this.g};var s1=function(a,b,c,d,e,f,g){g=g===void 0?!1:g;WK.call(this,c);this.g=new r1(b,c,d,e,f,g);this.j=new N0([a],c,d,new dS,"",!1,!1)};q(s1,WK);l=s1.prototype;l.build=function(){this.g.build();this.j.build()};l.Be=function(){this.g.Be()};l.Lg=function(){this.g.Lg()};l.Ae=function(){this.g.Ae()};l.getConfig=function(){return this.g.getConfig()};l.P=function(){this.g.dispose();this.j.dispose()};var t1=function(a,b,c,d){WK.call(this,a);this.l=b;this.g=c;this.o=d;this.j=null;this.view=new $L(["videoAdUiInstreamUxRefresh","endcap"],"",!0,!0)};q(t1,WK); t1.prototype.build=function(){VL(this.view,this.l);aM(this.view);this.j=new xM({qf:!0,Ug:!0,rc:uP("promoskip")});dM(this.view,this.j);new uL(this.j,this.I,0);var a=new oM(this.g.actions[0].title);new aL(a,this.I,XI);cM(this.view,a);a=new WL;var b;if((b=this.g.Tc)==null?0:b.Sb)a.l(this.g.Tc.Sb),a.show();new aL(a,this.I,XI);iM(this.view,a);b=new YL;var c;if((c=this.g.Tc)==null?0:c.description)b.l(this.g.Tc.description),b.show();iM(this.view,b);new aL(b,this.I,XI);c=new lM("author");var d;if(b=((d=this.g.Tc)== null?void 0:d.Ja)||this.o)c.l(b),c.show();new aL(c,this.I,XI);cM(this.view,c);bM(this.view)};var u1=function(a){var b;(b=a.j)!=null&&b.j&&b.j.focus()};t1.prototype.P=function(){Xe(this.view.Ia());this.view.dispose();WK.prototype.P.call(this)};function v1(a,b){b!=null&&(a.j=b.includes("adAttribution"),a.l=b.includes("countdown"))} function w1(a,b){b=b===void 0?6:b;var c=new x1;var d=a.getDuration()!==-1&&a.getDuration()!==0&&a.getDuration()<=7;c.C=d?-1:a.getSkipTimeOffset();c.va=eT(a);c.gb=MS(a);uP("force_wta_top_left")&&y1(c.va);if(jQ().C==="tvos"){var e,f,g,h;d=new he((g=(e=a.oa)==null?void 0:e.linearAdSlotWidth)!=null?g:0,(h=(f=a.oa)==null?void 0:f.linearAdSlotHeight)!=null?h:0);z1(c.va,d)}c.G=!D(E(XS(a)));c.o=a.getDuration()>b||a.getDuration()===0;a.j&&(c.F=wN(a.j)||"");b=tP();nP(b,"disableSkipFadeTransition")&&(c.bh=0); if(A1(eT(a))){var k;b=((k=FS(a).get("GpidWtaExtension"))!=null?k:[])[0];c.J=b==null?void 0:b.j}if(a=(FS(a).get("watermark")||[]).pop())c.D={rf:a.rf};return c}function A1(a){return a.some(function(b){return b.Ab==="GoogleWhyThisAd"})}function y1(a){a.forEach(function(b){if(b.Ab==="GoogleWhyThisAd"||b.Ab==="AdChoices")b.Cb="left",b.Db="top",b.j=20,b.g=20})} function z1(a,b){var c=46;b&&(c=Math.ceil(Math.sqrt(b.width*b.height*.001)));a.forEach(function(d){d.Ab==="GoogleWhyThisAd"&&(d.j=0};var B1=function(a){SL.call(this);this.element=Se("DIV","nonLinearContainer");a&&tz(this.element,"autoalign")};q(B1,UL);var C1=function(a,b,c,d,e,f){H0.call(this,b);this.l=a;this.A=c;this.j=this.g=null;this.o=new VG(this);M(this,this.o);this.view=new B1(d);this.C=e;this.uiConfig=f};q(C1,H0);l=C1.prototype; l.build=function(){var a=this;VL(this.view,this.A);So(this,function(){return Xe(a.view.Ia())});this.g=this.l.cd(this.uiConfig);var b=uM(this.g);b!=null&&this.o.listen(b,"click",function(c){c.stopPropagation();bI(a.I,LI,null)});b=this.l.getMinSuggestedDuration()*1E3;new iL(this.g,this.I,!0,b);new fL(this.g,this.I,dJ);TL(this.view,this.g);this.C&&(b=new jM,new dL(b,this.I,TI),TL(this.g,b),this.j=new wM,new rL(this.j,this.I,eJ),TL(this.view,this.j));this.l.Yb&&(b=new yM(!0),new aL(b,this.I,oJ),TL(this.g, b));bI(this.I,fJ,null)};l.Pe=function(){return this.g?this.g.Ia():null};l.show=function(){this.j&&this.j.da();this.g&&this.g.show()};l.da=function(){this.j&&this.j.show();this.g&&this.g.da()};l.ie=function(){return this.l};l.fg=function(){return this.g};var D1=function(){return Xz('
')};var E1=function(){SL.call(this);this.element=AA(D1);this.j=Ke("safeFrameParent",this.element);this.l=Ke("safeFrameBottomBar",this.element)};q(E1,UL);var F1=function(a,b){b.element&&a.l.appendChild(b.element)};var G1=function(a){var b={};$a(a,function(c){b[c.g()]=c.j()});return b};var H1=function(a,b,c,d,e,f){L.call(this);this.o=a;this.status=1;this.l=b;this.j=c;this.K=d;this.pg=!!e;this.A=Math.random();this.C={};this.g=null;this.D=Sa(this.G,this);this.B=f};q(H1,L); H1.prototype.G=function(a){if(!(this.j!=="*"&&a.origin!==this.j||!this.pg&&a.source!=this.l)){var b=null;try{b=JSON.parse(a.data)}catch(c){}if(Na(b)&&(a=b.i,b.c===this.o&&a!=this.A)){if(this.status!==2)try{this.status=2,I1(this),this.g&&(this.g(),this.g=null)}catch(c){}a=b.s;b=b.p;if(typeof a==="string"&&(typeof b==="string"||Na(b))&&this.C.hasOwnProperty(a))this.C[a](b)}}};var I1=function(a){var b={};b.c=a.o;b.i=a.A;a.B&&(b.e=a.B);a.l.postMessage(JSON.stringify(b),a.j)}; H1.prototype.F=function(){if(this.status===1){try{this.l.postMessage&&I1(this)}catch(a){}window.setTimeout(Sa(this.F,this),50)}};H1.prototype.connect=function(a){a&&(this.g=a);rf(window,"message",this.D);this.K&&this.F()};var J1=function(a,b,c){a.C[b]=c},K1=function(a,b,c){var d={};d.c=a.o;d.i=a.A;d.s=b;d.p=c;try{a.l.postMessage(JSON.stringify(d),a.j)}catch(e){}};H1.prototype.P=function(){this.status=3;sf(window,"message",this.D);L.prototype.P.call(this)};function L1(a,b){b=b===void 0?{}:b;var c={};c=(c.frameborder=0,c.allowTransparency="true",c.style="border:0;vertical-align:bottom;",c.src="about:blank",c);Zb(c,b);Me(a,c)};var M1=function(a,b,c,d,e,f){this.l=a.clone();this.j=b.clone();this.o=c;this.g=d.clone();this.A=e;this.C=f},N1=function(a){return JSON.stringify({windowCoords_t:a.l.top,windowCoords_r:a.l.right,windowCoords_b:a.l.bottom,windowCoords_l:a.l.left,frameCoords_t:a.j.top,frameCoords_r:a.j.right,frameCoords_b:a.j.bottom,frameCoords_l:a.j.left,styleZIndex:a.o,allowedExpansion_t:a.g.top,allowedExpansion_r:a.g.right,allowedExpansion_b:a.g.bottom,allowedExpansion_l:a.g.left,xInView:a.A,yInView:a.C})},O1=function(a){var b= window,c=b.screenX||b.screenLeft||0,d=b.screenY||b.screenTop||0;b=new xn(d,c+(b.outerWidth||document.documentElement.clientWidth||0),d+(b.outerHeight||document.documentElement.clientHeight||0),c);c=Un(a);d=Zn(a);var e=new Kn(c.x,c.y,d.width,d.height);c=Ln(e);d=String(Rn(a,"zIndex"));var f=new xn(0,Infinity,Infinity,0);for(var g=He(a),h=g.g.body,k=g.g.documentElement,m=Oe(g.g);a=Tn(a);)if((!Wd||a.clientHeight!=0||a!=h)&&a!=h&&a!=k&&Rn(a,"overflow")!="visible"){var p=Un(a),n=new ge(a.clientLeft,a.clientTop); p.x+=n.x;p.y+=n.y;f.top=Math.max(f.top,p.y);f.right=Math.min(f.right,p.x+a.clientWidth);f.bottom=Math.min(f.bottom,p.y+a.clientHeight);f.left=Math.max(f.left,p.x)}a=m.scrollLeft;m=m.scrollTop;f.left=Math.max(f.left,a);f.top=Math.max(f.top,m);g=Ne(g.g.defaultView||window);f.right=Math.min(f.right,a+g.width);f.bottom=Math.min(f.bottom,m+g.height);m=(f=(f=f.top>=0&&f.left>=0&&f.bottom>f.top&&f.right>f.left?f:null)?new Kn(f.left,f.top,f.right-f.left,f.bottom-f.top):null)?Mn(e,f):null;g=a=0;m&&!m.getSize().isEmpty()&& (a=m.width/e.width,g=m.height/e.height);m=new xn(0,0,0,0);if(h=f)(e=Mn(e,f))?(k=Ln(f),p=Ln(e),h=p.right!=k.left&&k.right!=p.left,k=p.bottom!=k.top&&k.bottom!=p.top,h=(e.width!=0||h)&&(e.height!=0||k)):h=!1;h&&(m=new xn(Math.max(c.top-f.top,0),Math.max(f.left+f.width-c.right,0),Math.max(f.top+f.height-c.bottom,0),Math.max(c.left-f.left,0)));return new M1(b,c,d,m,a,g)};var P1=function(a){this.A=a;this.o=null;this.D=this.status=0;this.j=null;this.Z="sfchannel"+a};P1.prototype.Aa=function(){return this.status==1};var Q1=ra(["https://s0.2mdn.net/ads/richmedia/studio/mu/templates/hifi/hifi.js"]),R1=ra(["https://s0.2mdn.net/ads/richmedia/studio_canary/mu/templates/hifi/hifi_canary.js"]);({})[3]=Ee(Q1);({})[3]=Ee(R1);var S1=function(a){this.g=a};S1.prototype.getValue=function(a,b){return this.g[a]==null||this.g[a][b]==null?null:this.g[a][b]};var T1=function(a,b){this.bg=a;this.cg=b;this.j=this.g=!1};var U1=function(a,b,c,d,e,f,g,h){h=h===void 0?[]:h;this.j=a;this.l=b;this.o=c;this.permissions=d;this.metadata=e;this.A=f;this.pg=g;this.hostpageLibraryTokens=h;this.g=""};function V1(a){return typeof a==="number"||typeof a==="string"}var W1=function(a,b){this.j=a;this.l=b};W1.prototype.g=function(a){this.l&&a&&(a.sentinel=this.l);return JSON.stringify(a)};var X1=function(a,b,c){W1.call(this,a,c===void 0?"":c);this.version=b};q(X1,W1);X1.prototype.g=function(){return W1.prototype.g.call(this,{uid:this.j,version:this.version})};var Y1=function(a,b,c,d){W1.call(this,a,d===void 0?"":d);this.A=b;this.o=c};q(Y1,W1); Y1.prototype.g=function(){return W1.prototype.g.call(this,{uid:this.j,initialWidth:this.A,initialHeight:this.o})};var Z1=function(a,b,c){W1.call(this,a,c===void 0?"":c);this.description=b};q(Z1,W1);Z1.prototype.g=function(){return W1.prototype.g.call(this,{uid:this.j,description:this.description})};var $1=function(a,b,c,d){W1.call(this,a,d===void 0?"":d);this.expand=b;this.push=c};q($1,W1); $1.prototype.g=function(){return W1.prototype.g.call(this,{uid:this.j,expand_t:this.expand.top,expand_r:this.expand.right,expand_b:this.expand.bottom,expand_l:this.expand.left,push:this.push})};var a2=function(a,b){W1.call(this,a,b===void 0?"":b)};q(a2,W1);a2.prototype.g=function(){return W1.prototype.g.call(this,{uid:this.j})};var b2=function(a,b,c){W1.call(this,a,c===void 0?"":c);this.o=b};q(b2,W1); b2.prototype.g=function(){var a={uid:this.j,newGeometry:N1(this.o)};return W1.prototype.g.call(this,a)};var c2=function(a,b,c,d,e,f){b2.call(this,a,c,f===void 0?"":f);this.success=b;this.expand=d;this.push=e};q(c2,b2);c2.prototype.g=function(){var a={uid:this.j,success:this.success,newGeometry:N1(this.o),expand_t:this.expand.top,expand_r:this.expand.right,expand_b:this.expand.bottom,expand_l:this.expand.left,push:this.push};this.l&&(a.sentinel=this.l);return JSON.stringify(a)}; var d2=function(a,b,c,d){W1.call(this,a,d===void 0?"":d);this.width=b;this.height=c};q(d2,W1);d2.prototype.g=function(){return W1.prototype.g.call(this,{uid:this.j,width:this.width,height:this.height})};var e2=function(a){var b;if((b=a.location)==null?0:b.ancestorOrigins)return a.location.ancestorOrigins.length;var c=0;Lf(function(){c++;return!1},a);return c};var f2=function(){this.g=[]},h2=function(a,b,c,d,e){a.g.push(new g2(b,c,d,e))},i2=function(a){for(var b=a.g.length-1;b>=0;b--){var c=a.g[b];c.j?(c.l.style.removeProperty(c.g),c.l.style.setProperty(c.g,String(c.o),c.A)):c.l.style[c.g]=c.o}a.g.length=0},g2=function(a,b,c,d){this.l=a;this.g=(this.j=!(d===void 0||!a.style||!a.style.getPropertyPriority))?String(b).replace(/([A-Z])/g,"-$1").toLowerCase():b;this.o=this.j?a.style.getPropertyValue(this.g):a.style[this.g];this.A=this.j?a.style.getPropertyPriority(this.g): void 0;this.j?(a.style.removeProperty(this.g),a.style.setProperty(this.g,String(c),d)):a.style[this.g]=String(c)};var n2=function(a){P1.call(this,a.uniqueId);var b=this;this.B=a.ra;this.N=a.size===1;this.aa=new T1(a.permissions.bg&&!this.N,a.permissions.cg&&!this.N);this.C=a.xi;var c;this.ta=(c=a.hostpageLibraryTokens)!=null?c:[];var d=window.location;c=d.protocol;d=d.host;this.la=c=="file:"?"*":c+"//"+d;this.Fa=!!a.pg;this.R=a.Ge?"//"+a.Ge+".safeframe.googlesyndication.com":"//tpc.googlesyndication.com";this.ia=a.zb?"*":"https:"+this.R;this.ba=j2(a);this.l=new f2;k2(this,a);this.o=this.W=O1(a.xi);this.K=a.yf|| "1-0-40";var e;this.ca=(e=a.lq)!=null?e:"";l2(this,a);this.F=JB(412,function(){return m2(b)},a.zc);this.G=-1;this.J=0;var f=JB(415,function(){b.g&&(b.g.name="",a.Yj&&a.Yj(),sf(b.g,"load",f))},a.zc);rf(this.g,"load",f);this.ei=JB(413,this.ei,a.zc);this.Bi=JB(417,this.Bi,a.zc);this.Di=JB(419,this.Di,a.zc);this.Rh=JB(411,this.Rh,a.zc);this.zh=JB(409,this.zh,a.zc);this.L=JB(410,this.L,a.zc);this.ti=JB(416,this.ti,a.zc);this.j=new H1(this.Z,this.g.contentWindow,this.ia,!1);J1(this.j,"init_done",Sa(this.ei, this));J1(this.j,"register_done",Sa(this.Bi,this));J1(this.j,"report_error",Sa(this.Di,this));J1(this.j,"expand_request",Sa(this.Rh,this));J1(this.j,"collapse_request",Sa(this.zh,this));J1(this.j,"creative_geometry_update",Sa(this.L,this));this.j.connect(Sa(this.ti,this))};q(n2,P1); var k2=function(a,b){var c=b.xi;var d=b.size;b=b.kn;a.N?(c.style.width=Xn("100%"),c.style.height=Xn("auto")):b||(c.style.width=Xn(d.width),c.style.height=Xn(d.height))},l2=function(a,b){var c=b.zb;var d=b.content;var e=b.Xm;var f=b.size;var g=b.Ym===void 0?"3rd party ad content":b.Ym;var h=b.nq;var k=b.iq;var m=(b=b.kn)||!c;d=b||!c?d!=null?d:"":"";var p={shared:{sf_ver:a.K,ck_on:mX()?1:0,flash_ver:"0"}};d=a.K+";"+d.length+";"+d;p=new U1(a.A,a.la,a.W,a.aa,new S1(p),a.N,a.Fa,a.ta);var n={};n.uid=p.j; n.hostPeerName=p.l;n.initialGeometry=N1(p.o);var r=p.permissions;r=JSON.stringify({expandByOverlay:r.bg,expandByPush:r.cg,readCookie:r.g,writeCookie:r.j});n=(n.permissions=r,n.metadata=JSON.stringify(p.metadata.g),n.reportCreativeGeometry=p.A,n.isDifferentSourceWindow=p.pg,n.goog_safeframe_hlt=G1(p.hostpageLibraryTokens),n);p.g&&(n.sentinel=p.g);p=JSON.stringify(n);n=f.width;f=f.height;a.N&&(f=n=0);r={};e=(r.id=e,r.title=g,r.name=d+p,r.scrolling="no",r.marginWidth="0",r.marginHeight="0",r.width=String(n), r.height=String(f),r["data-is-safeframe"]="true",r);m&&(g=a.ca,m=a.R,f=a.K,(d=g)&&(d="?"+d),m=(m===void 0?"//tpc.googlesyndication.com":m)+("/safeframe/"+f+"/html/container.html"+d),(f=e2(Qe(Ge(a.C))))&&(m+=(g?"&":"?")+"n="+f),e.src="https:"+m);a.ba!==null&&(e.sandbox=a.ba);h&&(e.allow=h);k&&(e.credentialless="true");e["aria-label"]="Advertisement";e.tabIndex="0";b?(a.C.removeChild(c),L1(c,e),a.g=c):c?(a.g=c,Me(a.g,e)):(c=Vf("IFRAME"),L1(c,e),a.g=c);a.N&&(a.g.style.minWidth="100%");a.C.appendChild(a.g)}; l=n2.prototype;l.ti=function(){rf(window,"resize",this.F);rf(window,"scroll",this.F)}; l.ei=function(a){try{if(this.status!=0)throw Error("Container already initialized");if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Na(b)||!V1(b.uid)||typeof b.version!=="string")throw Error("Cannot parse JSON message");var c=new X1(b.uid,b.version,b.sentinel);if(this.A!==c.j||this.K!==c.version)throw Error("Wrong source container");this.status=1}catch(e){var d;(d=this.B)==null||d.error("Invalid INITIALIZE_DONE message. Reason: "+e.message)}}; l.Bi=function(a){try{if(!this.Aa())throw Error("Container not initialized");if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Na(b)||!V1(b.uid)||typeof b.initialWidth!=="number"||typeof b.initialHeight!=="number")throw Error("Cannot parse JSON message");if(this.A!==(new Y1(b.uid,b.initialWidth,b.initialHeight,b.sentinel)).j)throw Error("Wrong source container");this.status=2}catch(d){var c;(c=this.B)==null||c.error("Invalid REGISTER_DONE message. Reason: "+ d.message)}};l.Di=function(a){try{if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Na(b)||!V1(b.uid)||typeof b.description!=="string")throw Error("Cannot parse JSON message");var c=new Z1(b.uid,b.description,b.sentinel);if(this.A!==c.j)throw Error("Wrong source container");var d;(d=this.B)==null||d.info("Ext reported an error. Description: "+c.description)}catch(f){var e;(e=this.B)==null||e.error("Invalid REPORT_ERROR message. Reason: "+f.message)}}; l.Rh=function(a){try{if(this.status!=2)throw Error("Container is not registered");if(this.D!=0)throw Error("Container is not collapsed");if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Na(b)||!V1(b.uid)||typeof b.expand_t!=="number"||typeof b.expand_r!=="number"||typeof b.expand_b!=="number"||typeof b.expand_l!=="number"||typeof b.push!=="boolean")throw Error("Cannot parse JSON message");var c=new $1(b.uid,new xn(b.expand_t,b.expand_r,b.expand_b,b.expand_l), b.push,b.sentinel);if(this.A!==c.j)throw Error("Wrong source container");if(!(c.expand.top>=0&&c.expand.left>=0&&c.expand.bottom>=0&&c.expand.right>=0))throw Error("Invalid expansion amounts");var d;if(d=c.push&&this.aa.cg||!c.push&&this.aa.bg){var e=c.expand,f=c.push,g=this.o=O1(this.g);if(e.top<=g.g.top&&e.right<=g.g.right&&e.bottom<=g.g.bottom&&e.left<=g.g.left){if(!f)for(var h=this.g.parentNode;h&&h.style;h=h.parentNode)h2(this.l,h,"overflowX","visible","important"),h2(this.l,h,"overflowY","visible", "important");var k=Ln(new Kn(0,0,this.o.j.getWidth(),this.o.j.getHeight())).expand(e);h2(this.l,this.C,"position","relative");h2(this.l,this.g,"position","absolute");if(f){var m=this.l,p=this.C,n=k.getWidth();h2(m,p,"width",n+"px");var r=this.l,u=this.C,t=k.getHeight();h2(r,u,"height",t+"px")}else h2(this.l,this.g,"zIndex","10000");var z=this.l,A=this.g,H=k.getWidth();h2(z,A,"width",H+"px");var F=this.l,O=this.g,ha=k.getHeight();h2(F,O,"height",ha+"px");h2(this.l,this.g,"left",k.left+"px");h2(this.l, this.g,"top",k.top+"px");this.D=2;this.o=O1(this.g);d=!0}else d=!1}a=d;K1(this.j,"expand_response",(new c2(this.A,a,this.o,c.expand,c.push)).g());if(!a)throw Error("Viewport or document body not large enough to expand into.");}catch(Sb){var da;(da=this.B)==null||da.error("Invalid EXPAND_REQUEST message. Reason: "+Sb.message)}}; l.zh=function(a){try{if(this.status!=2)throw Error("Container is not registered");if(this.D!=2)throw Error("Container is not expanded");if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Na(b)||!V1(b.uid))throw Error("Cannot parse JSON message");if(this.A!==(new a2(b.uid,b.sentinel)).j)throw Error("Wrong source container");i2(this.l);this.D=0;this.g&&(this.o=O1(this.g));K1(this.j,"collapse_response",(new b2(this.A,this.o)).g())}catch(d){var c;(c=this.B)== null||c.error("Invalid COLLAPSE_REQUEST message. Reason: "+d.message)}};var m2=function(a){if(a.status==1||a.status==2)switch(a.J){case 0:o2(a);a.G=window.setTimeout(Sa(a.O,a),1E3);a.J=1;break;case 1:a.J=2;break;case 2:a.J=2}}; n2.prototype.L=function(a){try{if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Na(b)||!V1(b.uid)||typeof b.width!=="number"||typeof b.height!=="number"||b.sentinel&&typeof b.sentinel!=="string")throw Error("Cannot parse JSON message");var c=new d2(b.uid,b.width,b.height,b.sentinel);if(this.A!==c.j)throw Error("Wrong source container");var d=String(c.height);if(this.N)d!==this.g.height&&(this.g.height=d,m2(this));else{var e;(e=this.B)==null||e.error("Got CreativeGeometryUpdate message in non-fluidcontainer. The container is not resized.")}}catch(g){var f; (f=this.B)==null||f.error("Invalid CREATIVE_GEOMETRY_UPDATE message. Reason: "+g.message)}};n2.prototype.O=function(){if(this.status==1||this.status==2)switch(this.J){case 1:this.J=0;break;case 2:o2(this),this.G=window.setTimeout(Sa(this.O,this),1E3),this.J=1}};var o2=function(a){a.o=O1(a.g);K1(a.j,"geometry_update",(new b2(a.A,a.o)).g())}; n2.prototype.destroy=function(){this.status!=100&&(this.D==2&&(i2(this.l),this.D=0),window.clearTimeout(this.G),this.G=-1,this.J=3,this.j&&(this.j.dispose(),this.j=null),sf(window,"resize",this.F),sf(window,"scroll",this.F),this.C&&this.g&&this.C==(this.g.parentElement||null)&&this.C.removeChild(this.g),this.C=this.g=null,this.status=100)}; var j2=function(a){var b=null;a.kk&&(b=a.kk);return b==null?null:b.join(" ")},p2=["allow-modals","allow-orientation-lock","allow-presentation","allow-pointer-lock"],q2=["allow-top-navigation"],r2=["allow-same-origin"],s2=Sf([].concat(w(p2),w(q2)));Sf([].concat(w(p2),w(r2)));Sf([].concat(w(p2),w(q2),w(r2)));var t2=function(a){var b=a.container;var c=a.Dh;var d=a.Eh;var e=a.gb;var f=a.Ze;var g=a.Ge;var h=a.yf;var k=a.skipOffset;WK.call(this,a.I);this.ra=this.j=null;this.container=b;this.Dh=c;this.Eh=d;this.gb=e;this.Ze=f;this.Ge=g;this.yf=h;this.skipOffset=k;(this.g=k!=null?new xM({qf:!0}):null)&&M(this,this.g);this.view=new E1};q(t2,WK); t2.prototype.build=function(){var a=this;VL(this.view,this.container);if(this.g&&this.skipOffset!=null){var b=new uL(this.g,this.I,this.skipOffset,7);F1(this.view,this.g);M(this,b)}this.gb&&F1(this.view,new o1(this.gb));this.j=new n2({content:this.Dh,zc:this.Ze,Xm:"safe-frame-container",ra:{info:function(){},Bq:function(){},error:function(){}},Yj:function(){return void bI(a.I,bJ,null)},xi:this.view.j,permissions:{bg:!1,cg:!1},Ge:this.Ge,yf:this.yf,kk:s2,size:this.Eh,uniqueId:Jd()});So(this,function(){var c; return void((c=a.j)==null?void 0:c.destroy())})};t2.prototype.P=function(){Xe(this.view.Ia());this.view.dispose();WK.prototype.P.call(this)};var u2=function(){SL.call(this);this.element=Se("div");On(this.element,{position:"absolute",width:"100%",height:"100%"})};q(u2,UL);var v2=function(a,b,c,d){WK.call(this,c);this.va=a;this.gb=b;this.g=d;this.view=new u2};q(v2,WK);v2.prototype.build=function(){var a=this;window.frameElement&&On(window.frameElement,{"z-index":100});VL(this.view,this.g);this.gb&&TL(this.view,new o1(this.gb));this.va.forEach(function(b){var c=new lM("vast");new yL(c,a.I,b);TL(a.view,c);var d=Zn(a.view.Ia());nM(c,xE(b,d.width),yE(b,d.height));mM(c,b.g,b.j)})};v2.prototype.P=function(){Xe(this.view.Ia());WK.prototype.P.call(this)};var w2=function(){};w2.prototype.g=function(a){Oy(a,"pagead2.googlesyndication.com")};var x2=function(){};x2.prototype.g=function(a){var b=a.j;b==="googleads.g.doubleclick.net"||b==="www.googleads.g.doubleclick.net"?Oy(a,"googleads-att.g.doubleclick.net"):(b==="pubads.g.doubleclick.net"||b==="www.pubads.g.doubleclick.net")&&Oy(a,"pubads-att.g.doubleclick.net")};var y2=["adsense","dbm","dcm","dv3","xfp"],z2=["adsense","xfp"];function A2(a,b,c){c=c===void 0?null:c;var d=mH(a.adTagUrl||"");if(MP(b.g)&&y2.includes(d))var e=new w2;else{e=b.C==="tvos";var f=b.W==="authorized";e=wP(ZA)&&e&&f&&z2.includes(d)?new x2:new JM}switch(d){case "dcm":var g=new Map;b.A!=null&&g.set("dc_submodel",b.A);c=sP.J;c!=null&&g.set("dc_rfl",dg(c));c=new hD(a.adTagUrl||"");d=jD(c,"dc_output")||[];(d.includes("vast")||d.includes("xml_vast2")||d.includes("xml_vast3"))&&g.set("dc_output","xml_vast4");c=jD(c,"dc_eid")||[];c=xD(c[0]||"");D(E(c))||g.set("dc_eid", c);a=new Map([].concat(w(vX(a,b)),w(g)));return new NM(a,e);case "dv3":g=new Map;b.A!=null&&g.set("submodel",b.A);c=xD((new P(a.adTagUrl)).g.get("eid",""));D(E(c))||g.set("eid",c);if(c=sP.J)c=dg(c),c=encodeURIComponent(E(c)),g.set("rfl",c);a=new Map([].concat(w(vX(a,b)),w(g)));return new PM(a,e);case "adsense":return c=((g=c)==null?void 0:g.l)||[],new KM(wX(a,c,b),e);case "xfp":return new QM(uX(a,b),e);case "dbm":return new MM(vX(a,b),e);default:return new rH}};var B2="allAdsCompleted contentPauseRequested contentResumeRequested adBreakFetchError adBreakReady externalActivityEvent measurable_impression viewable_impression show_ad video_card_endcap_collapse video_card_endcap_dismiss video_card_endcap_impression linearChanged".split(" "),C2=[].concat(w(tQ),w(uQ)).filter(function(a){return!B2.includes(a)}),D2=function(a){N.call(this);this.U=a};q(D2,N);l=D2.prototype;l.getAd=function(){return this.U.getAd()};l.Ec=function(){return this.U.Ec()};l.expand=function(){this.U.expand()}; l.collapse=function(){this.U.collapse()};l.zf=function(){this.U.zf()};l.destroy=function(){this.U.destroy()};l.init=function(){this.U.init()};l.start=function(){this.U.start()};l.pause=function(){this.U.pause()};l.resume=function(){this.U.resume()};l.skip=function(){this.U.skip()};l.getRemainingTime=function(){return this.U.getRemainingTime()};l.getVolume=function(){return this.U.getVolume()};l.setVolume=function(a){this.U.setVolume(a)};l.Mb=function(){this.U.Mb()}; l.resize=function(a,b){this.U.resize(a,b)};l.getDuration=function(){return this.U.getDuration()};l.getCurrentTime=function(){return this.U.getCurrentTime()};l.Xc=function(){this.U.Xc()};l.reportEvent=function(a){this.U.reportEvent(a)};l.Nb=function(a,b){this.U.Nb(a,b)};l.bb=function(a,b,c){this.U.bb(a,b,c)};l.Kc=function(){this.U.Kc()};l.tc=function(){this.U.tc()};l.toString=function(){return this.U.toString()};var E2=function(a,b,c,d){d=d===void 0?!1:d;D2.call(this,a);this.ha=b;this.V=c;this.G=d;this.K=this.g=this.D=this.A=this.F=this.l=this.j=null;this.O=!1;this.L=this.B=null;this.R=Xb(this.ha);this.o=new VG(a);M(this,this.o)};q(E2,D2);E2.prototype.init=function(){this.O||(F2(this),this.O=!0);D2.prototype.init.call(this)}; E2.prototype.start=function(){this.G||(this.ha.g=!1);D2.prototype.start.call(this);var a,b;(a=Ke("videoAdUi"))==null||(b=a.classList)==null||b.add("ima-action-ad");if(a=this.getAd())if(b=ES(a,"InfoCards"))if(this.A=aT(b))this.D=this.A.actions[0].title,this.g=this.A.Tc,this.K=this.A.actions[0].target||XS(a);var c,d;if((c=this.A)==null?0:(d=c.td)==null?0:d.Yg)if(this.G){var e=this.V.g.kc();this.D&&bI(e,DI,this.D);var f;((f=this.g)==null?0:f.Sb)&&bI(e,EI,this.g.Sb);var g;((g=this.g)==null?0:g.description)&& bI(e,CI,this.g.description);var h;((h=this.g)==null?0:h.Ja)&&bI(e,BI,this.g.Ja)}else{f=document.body;this.j=new VK(this.D);this.j.da();this.F=Se("DIV");tz(this.F,"videoAdUiFloatingLayer");f.appendChild(this.F);this.j.Nf(this.F);((e=this.g)==null?0:e.Sb)&&this.j.lh(this.g.Sb);var k;((k=this.g)==null?0:k.description)&&this.j.Gf(this.g.description);var m;((m=this.g)==null?0:m.Ja)&&this.j.Ne(this.g.Ja);(f=(f=this.getAd())&&f.j?wN(f.j):null)&&this.j.j.element.classList.add(f)}var p,n;if((p=this.A)==null? 0:(n=p.td)==null?0:n.Zg)if(p=this.V.g.pb(),n=this.getAd(),p&&n&&this.A&&this.A.td)if(f=this.A.td.Ye,n.N=f/1E3,this.G){var r=vN(n.j);this.B=new t1(this.V.g.kc(),p,this.A,(r==null?void 0:r.g)||null);this.B.build()}else{this.l=new QK(p,f,this.D);((r=this.g)==null?0:r.Sb)&&this.l.l.lh(this.g.Sb);var u;((u=this.g)==null?0:u.description)&&this.l.l.Gf(this.g.description);var t;((t=this.g)==null?0:t.Ja)&&this.l.l.Ne(this.g.Ja)}var z;if(r=(z=this.getAd())==null?void 0:z.j){if((z=uN(r))&&z.j){var A;(A=this.l)== null||RK(A,z.j)}A=vN(r);var H;if(((H=this.g)==null||!H.Ja)&&(A==null?0:A.g)){var F;(F=this.j)==null||F.Ne(A.g||"");var O;(O=this.l)!=null&&O.l.Ne(A.g||"")}}G2(this);H2(this,"start")};E2.prototype.destroy=function(){Object.assign(this.ha,this.R);D2.prototype.destroy.call(this)}; var G2=function(a){a.j&&a.o.listen(a.j,"ctaClicked",function(){a.pause();H2(a,"ctaclick");a.Xc()});a.l&&(a.o.listen(a.l,"video_card_endcap_action",function(){return void I2(a)}),a.o.listen(a.l,"video_card_endcap_collapse",function(){return void J2(a,"video_card_endcap_collapse")}),a.o.listen(a.l,"videoSkipClicked",function(){return void J2(a,"video_card_endcap_dismiss")}))},F2=function(a){var b=a.U;a.o.listen(b,C2,function(c){return a.dispatchEvent(c)});a.o.listen(b,"start",function(){H2(a,"showui"); a.j&&a.j.show()});a.o.listen(b,"contentPauseRequested",function(c){return a.dispatchEvent(c)});a.o.listen(b,"contentResumeRequested",function(){return function(){}});a.o.listen(b,"adError",function(c){H2(a,"error");c=c.getError()||wR(dP);AR(a,dP,c.getInnerError());a.destroy()});a.o.listen(b,"allAdsCompleted",function(){return void K2(a)});a.o.listen(b,"skip",function(){H2(a,"skip");a.l=null;var c;(c=a.B)==null||c.dispose();a.B=null;a.j&&a.j.da();a.destroy()})},K2=function(a){H2(a,"complete");a.j&& a.j.da();if(a.l)a.V.g.Pc(),a.l.show();else if(a.B){a.V.g.Pc();var b=a.V.g.kc();aI(b,kJ,function(){J2(a,"video_card_endcap_collapse")});aI(b,XI,function(){I2(a)});a.V.j.l&&u1(a.B);var c,d,e;a.L=setTimeout(function(){J2(a,"video_card_endcap_collapse")},(e=(c=a.A)==null?void 0:(d=c.td)==null?void 0:d.Ye)!=null?e:0)}else a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()})),a.dispatchEvent(X({type:"allAdsCompleted",ad:a.getAd()}));Object.assign(a.ha,a.R)},I2=function(a){H2(a,"endcapclick"); var b;(b=a.l)==null||b.pause();a.L&&clearTimeout(a.L);b={};b=(b.url=a.K,b);a.dispatchEvent(X({type:"navigationRequested",ad:a.getAd(),data:b}))};E2.prototype.Xc=function(){H2(this,"outerclick");this.bb(this.K,null,null)}; var J2=function(a,b){var c=a.getAd();a.dispatchEvent(X({type:b,ad:c}));a.dispatchEvent(X({type:"contentResumeRequested",ad:c}));a.dispatchEvent(X({type:"allAdsCompleted",ad:c}));var d;(d=a.B)==null||d.dispose();a.V.g.ed();a.destroy()},H2=function(a,b){var c={};a=(c.evt=b,c.format=L2(a),c);GQ().report(143,a,!0)},L2=function(a){a=a.getAd();if(!a)return"noad";a=a.j;if(!a)return"noimalibad";a=qN(a);if(!a)return"noextension";a=a.g;return a!=null?a:"noformat"}; E2.prototype.P=function(){var a;(a=this.B)==null||a.dispose();D2.prototype.P.call(this)};var N2=function(a,b,c,d){L.call(this);this.l=a;this.V=b;this.o=c;this.ha=d;this.j=null;M(this,this.l);a.o=[].concat(w(a.B));a=M2(a);this.A=this.g=this.o.create([a],this.V,this.ha)};q(N2,L);l=N2.prototype;l.Kd=function(){return this.g};l.ig=function(){var a=this,b,c;return y(function(d){if(d.g==1)return b=O2(a),a.j=null,x(d,b,2);c=d.j;if(!c)throw Error("Called getNextManager when there are no more managers.");a.g=c;return d.return(a.g)})}; l.Td=function(){var a=this;return y(function(b){return b.g==1?x(b,O2(a),2):b.return(b.j)})};l.gi=function(){return this.Kd()===this.A};l.P=function(){this.g.destroy();L.prototype.P.call(this)};var O2=function(a){if(a.Ka())return Promise.resolve(null);if(a.j)return a.j;a.j=new Promise(function(b){a.l.jc().then(function(c){a.Ka()?b(null):c?b(a.o.create([c],a.V,a.ha)):b(null)}).catch(function(){b(null)})});return a.j};var P2=function(){N.call(this)};q(P2,N);l=P2.prototype;l.getAd=function(){return null};l.Ec=function(){return!0};l.expand=function(){};l.collapse=function(){};l.zf=function(){};l.destroy=function(){};l.init=function(){};l.start=function(){};l.pause=function(){};l.resume=function(){};l.skip=function(){};l.reportEvent=function(){};l.Nb=function(){};l.getRemainingTime=function(){return 0};l.getVolume=function(){return 0};l.setVolume=function(){};l.Mb=function(){};l.resize=function(){}; l.getDuration=function(){return 0};l.getCurrentTime=function(){return 0};l.Xc=function(){};l.bb=function(){};l.Kc=function(){};l.tc=function(){};var Q2=function(a,b,c,d,e,f,g,h){this.g=a;this.A=b;this.C=c;this.l=d;this.B=e;this.j=f;this.N=g;this.J=h;this.o=[]};var R2=function(a){L.call(this);this.g=a.slice();this.l=this.j=this.g.shift()};q(R2,L);l=R2.prototype;l.Kd=function(){return this.j};l.ig=function(){var a=this;return y(function(b){a.j=a.g.shift();return b.return(a.Kd())})};l.Td=function(){var a=this;return y(function(b){return a.Ka()?b.return(Promise.resolve(null)):a.g.length>0?b.return(a.g[0]):b.return(null)})};l.gi=function(){return this.Kd()===this.l};l.P=function(){this.g.forEach(function(a){return void a.destroy()});L.prototype.P.call(this)};var T2=function(a,b,c,d,e){N.call(this);this.ad=a;this.Fa=b;this.ba=c;this.ha=d;this.Gb=e;this.ra=null;this.A=!1;this.volume=0;this.vb=this.K=null;this.W=new VG(this);M(this,this.W);this.g=new VG(this);M(this,this.g);this.ta=new BV;this.j=new QD(lT(this.getAd()),new u0,mT(this.getAd()));if(this.getAd().g==null)throw zR(TO);this.fc=TQ()?new RV:WW();S2(this)};q(T2,N);T2.prototype.Mb=function(){};T2.prototype.expand=function(){};T2.prototype.collapse=function(){}; var S2=function(a){var b=a.getAd(),c=b.oa;a.K=a.fc.Dk(b,a,a.j,a.Gb,c==null?void 0:c.omidAccessModeRules);a.vb=BM(function(d){return void a.reportEvent(d)})};T2.prototype.getAd=function(){return this.ad};T2.prototype.Ec=function(){return this.ad.isLinear()};T2.prototype.P=function(){this.ta.dispose();this.dispatchEvent(X({type:"contentResumeRequested",ad:this.getAd()}));this.dispatchEvent(X({type:"allAdsCompleted",ad:this.getAd()}));Ro(this.g);var a;(a=this.vb)==null||a.disconnect();N.prototype.P.call(this)}; T2.prototype.bb=function(a,b,c){var d={};a=(d.url=a,d.attributionParams=b,d.attributionSrc=c,d);this.dispatchEvent(X({type:"navigationRequested",ad:this.getAd(),data:a}))};var U2=function(a){ZG(a.W);a.W.md(a.ba,"companion_display_error",function(){});var b=a.ba.B(a.getAd());b!=null&&a.W.listen(b,"companion_click",a.hc);if(!a.ba.nj())throw wR(IO);};T2.prototype.hc=function(){};var V2=function(a){var b=a.getAd();for(a=ES(b,"sodar");!a&&(b=b.Y);)a=ES(b,"sodar");a!=null&&a.init()};T2.prototype.init=function(){}; T2.prototype.reportEvent=function(a){this.j.report(a)};T2.prototype.Nb=function(a,b){aE(this.j,b);this.j.reportError(a.getErrorCode())};var W2=function(a,b){a.reportEvent(b);var c=a.dispatchEvent,d=a.getAd();d=d===void 0?null:d;c.call(a,new rT(b,d===void 0?null:d,null))};l=T2.prototype;l.getCurrentTime=function(){return-1};l.getDuration=function(){return-1};l.getRemainingTime=function(){return-1};l.pause=function(){};l.resume=function(){};l.skip=function(){}; l.start=function(){if(!this.A)throw zR(GO,null,"Must call init before start.");};l.getVolume=function(){var a;return(a=this.volume)!=null?a:0};l.setVolume=function(a){isNaN(a)||a<0||a>1?AR(this,MO,null,"volume",String(a)):this.volume=a};l.zf=function(){this.reportEvent("abandon")};var X2=function(a){if(!a.Fa){var b,c="Disp cont null.\n"+((b=Error().stack)!=null?b:"no stack");b={err:Hd(c,1500)};GQ().report(64,b,!0)}return a.Fa};l=T2.prototype; l.Mg=function(a){var b=a.type;if(wQ.indexOf(b)!==-1){if(b==="externalActivityEvent"&&(b=a.getAdData().eventName,!yQ(b)))return;W2(this,b)}};l.resize=function(){};l.destroy=function(){var a=this;CV(this.ta,function(){return void a.dispose()})};l.Xc=function(){};l.Kc=function(){};l.tc=function(){};var Y2=function(a,b,c){T2.call(this,a,b.g,b.l,c,b.j);this.l=null;this.height=this.width=-1;this.B=!1;this.G=[];this.layout=null;this.I=b.g.kc()};q(Y2,T2);l=Y2.prototype; l.start=function(){T2.prototype.start.call(this);Z2(this);X2(this).Pc();this.l=X2(this).pb();if(this.l!=null){this.reportEvent("show_ad");this.dispatchEvent(X({type:"show_ad",ad:this.getAd()}));We(this.l);this.uj();if(QQ()&&this.layout){var a=this.layout.Pe(),b=new fE(this.getAd().j,this.j,X2(this).Ld(),QQ(),this.getAd().Zb);b.A=a;iE(b);M(this,b)}this.Re();this.G.forEach(function(c){return void c()});this.G=[];this.B=!0}}; l.init=function(){if(!this.A){this.A=!0;this.dispatchEvent(X({type:"loaded",ad:this.getAd()}));var a=GT();this.g.listen(a,wQ,this.Mg)}};l.expand=function(){this.layout!=null&&this.layout.show();this.reportEvent("expand")};l.collapse=function(){this.layout!=null&&this.layout.da();this.reportEvent("collapse")};l.Mb=function(){T2.prototype.Mb.call(this);this.Re();this.B&&this.reportEvent("overlay_resize")}; l.resize=function(a,b){T2.prototype.resize.call(this,a,b);this.width=a;this.height=b;this.Re();this.B&&this.reportEvent("overlay_resize")};l.P=function(){var a;(a=this.layout)==null||a.dispose();this.layout=null;this.I.clear();this.B=!1;this.l!=null&&(We(this.l),this.l=null);X2(this).ed();T2.prototype.P.call(this)}; l.uj=function(){var a=this;if(!this.layout){var b=this.getAd().g;if(b==null){var c=wR(TO);$2(this,c);throw c;}try{U2(this)}catch(d){throw $2(this,d),d;}aE(this.j,kU(this.getAd()));c=QS(this.getAd())||this.ha.useStyledNonLinearAds;this.l&&(this.layout=new C1(b,this.I,this.l,this.ha.autoAlign,c,new dS),aI(this.I,TI,function(){return void a.df()}),aI(this.I,dJ,function(){var d=b.Rb(),e=b.Oe();W2(a,"click");a.bb(d,e,null)}),aI(this.I,jJ,function(){return void a3(a)}),aI(this.I,fJ,function(){return void a.Z()}), aI(this.I,oJ,function(){return void a.O()}),this.layout.build())}};l.Re=function(a,b){a=a===void 0?0:a;b=b===void 0?0:b;if(this.layout!=null){var c=Zn(X2(this).pb()),d=this.width,e=this.height;if(d===-1||e===-1)d=c.width,e=c.height;c=Zn(this.layout.Pe());if(c.width+a>d||c.height+b>e)throw a=wR(OO),$2(this,a),this.destroy(),a;}};var $2=function(a,b){var c=dU(b,a.getAd());a.Nb(b,c)};Y2.prototype.df=function(){this.reportEvent("close");this.dispatchEvent(X({type:"userClose",ad:this.getAd()}))}; Y2.prototype.Z=function(){var a=this;if(this.layout){var b=this.layout.ie().getAd();this.B?this.D(b):this.G.push(function(){return void a.D(b)})}};Y2.prototype.D=function(a){a&&(aE(this.j,kU(a)),W2(this,"impression"),this.reportEvent("creativeView"),W2(this,"start"))};var a3=function(a){a.dispatchEvent(X({type:"userRecall",ad:a.getAd()}))};Y2.prototype.Mg=function(a){var b=a.getAdData();this.getAd().Zb===b.queryId&&T2.prototype.Mg.call(this,a)}; Y2.prototype.O=function(){this.layout&&this.bb(this.layout.ie().Yb,null,null)};var Z2=function(a){var b=a.getAd().g,c,d;if(a=(d=((c=FS(a.getAd()).get("nonlinearAta"))!=null?c:[])[0])==null?void 0:d.j.A)b.Yb=a};Y2.prototype.toString=function(){return"nonlinearman"};var d3=function(a,b,c){Y2.call(this,a[0],b,c);var d=this;this.R=!1;this.uiConfig=null;this.o=[];this.L=!1;this.elapsedTime=0;this.la=[];this.ia=!1;this.F=new lu(200);M(this,this.F);this.ca=new u0;a.forEach(function(e){var f=e.g;if(f==null)f=zR(TO),e=dU(f,e),d.Nb(f,e);else{if(d.uiConfig==null){var g=ES(e,"AdSense");g&&(d.uiConfig=g.uiConfig)}f.getContentType()==="Text"&&(d.R=!0);!(e=b3(e))||c3(d)&&!d.R||(f.Yb=e);d.o.push(f)}});DS(this.getAd()).length!==0&&U2(this)};q(d3,Y2);l=d3.prototype; l.uj=function(){var a=this;if(!this.layout&&this.l){if(this.o.length===0)throw wR(TO);this.uiConfig==null&&(this.uiConfig=new dS);if(c3(this)){var b=this.getAd(),c=G0(b,eT(b));b=dT(b,this.ha.disableUi,c);c=e3(this);this.layout=new N0(this.o,this.I,this.l,this.uiConfig,c.text,!b,c.shouldRenderWta);this.g.listen(this.F,"tick",this.fo)}else this.o.length===1?this.layout=new C1(this.o[0],this.I,this.l,!0,!0,this.uiConfig):this.layout=new i1(this.o,this.I,this.l,this.uiConfig);aI(this.I,dJ,function(d){var e= d.Cb,f=d.Db;if(a.layout){d=a.layout.ie();var g=d.getAd();if(g){var h=ES(g,"AdSense");h=new P(h.ge);var k=Zn(a.layout.Pe()),m=Zn(X2(a).pb());e=["0","aw="+k.width,"ah="+k.height,"nx="+e,"ny="+f,"viewMode="+(LF(m.width,m.height)?"fullscreen":"normal"),"sdkv=h.3.679.0","eids="+tB(),"bw="+m.width,"bh="+m.height];h.g.set("label","elementclick");h.g.set("value",e.join(";"));a.ca.g(h.toString());f3(a,g);a.reportEvent("click");g3(a);a.dispatchEvent(X({type:"click",ad:a.getAd()}));if(e=d.Rb())(g=a.layout.fg())&& (e=sM(g.j,e)),a.bb(e,d.Oe(),d.oh())}}});aI(this.I,fJ,function(){return void a.Z()});aI(this.I,TI,function(){return void a.df()});aI(this.I,jJ,function(){return void a3(a)});aI(this.I,lJ,function(){a.dispatchEvent(X({type:"skippableStateChanged",ad:a.getAd()}))});aI(this.I,kJ,function(){return void h3(a)});aI(this.I,oJ,function(){return void a.O()});aI(this.I,LI,function(){var d,e=ES(a.getAd(),"AdSense");e&&(d=e.wb);d==null&&a.uiConfig&&(d=a.uiConfig.wb);d&&a.bb(d,null,null)});this.layout.build()}}; l.fo=function(){this.elapsedTime+=.2;var a=new gK(this.elapsedTime,this.getDuration());bI(this.I,hK,a);this.elapsedTime>=this.getDuration()&&(this.dispatchEvent(X({type:"complete",ad:this.getAd()})),i3(this))};l.init=function(){Y2.prototype.init.call(this)};l.start=function(){Y2.prototype.start.call(this);!this.L&&c3(this)&&(this.L=!0,this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()})),this.F.start())}; l.df=function(){var a=this;Y2.prototype.df.call(this);this.o.forEach(function(b){if(b=b.getAd())f3(a,b),a.reportEvent("close"),g3(a)})};var b3=function(a){return(a=ES(a,"AdSense"))?a.j:null},e3=function(a){var b=ES(a.getAd(),"AdSense").sa,c;b=b!=null?b:(c=a.uiConfig)==null?void 0:c.sa;if(c=!!b3(a.getAd()))c=c3(a)&&!a.R;a={text:b,shouldRenderWta:c};a.text==null&&(a.text=Xz("Ads by Google"));return a}; d3.prototype.Z=function(){var a=this;if(this.layout){var b=this.layout.ie().getAd();if(b!=null){this.ad=b;var c=b.getAdId();this.la.includes(c)||(this.la.push(c),this.B?this.D(b):this.G.push(function(){return void a.D(b)}))}}}; d3.prototype.D=function(a){a&&(this.ad=a,this.ia||(this.dispatchEvent(X({type:"impression",ad:this.getAd()})),this.ia=!0),f3(this,a),this.reportEvent("impression"),this.reportEvent("creativeView"),this.reportEvent("start"),this.dispatchEvent(X({type:"start",ad:this.getAd()})),g3(this))};d3.prototype.O=function(){if(c3(this)){var a=b3(this.getAd());this.bb(a,null,null)}else Y2.prototype.O.call(this)};d3.prototype.Re=function(){var a=c3(this)?15:0,b=c3(this)?65:0;Y2.prototype.Re.call(this,a,b)}; var c3=function(a){return US(a.getAd())},h3=function(a){a.dispatchEvent(X({type:"skip",ad:a.getAd()}));a.df();i3(a)},i3=function(a){a.F.stop();a.layout&&(a.layout.dispose(),a.layout=null);a.L&&(a.L=!1,a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()})))};d3.prototype.skip=function(){var a;var b=(a=this.getAd())==null?void 0:VS(a);b?(a=JQ(b),a=a!==-1&&this.getCurrentTime()>=a):a=!1;a&&h3(this)};d3.prototype.getCurrentTime=function(){return c3(this)?this.elapsedTime:Y2.prototype.getCurrentTime.call(this)}; d3.prototype.getDuration=function(){return c3(this)&&this.uiConfig!=null?15:Y2.prototype.getDuration.call(this)};d3.prototype.getRemainingTime=function(){var a=this.getDuration(),b=this.getCurrentTime();return c3(this)&&0<=b&&b<=a?a-b:Y2.prototype.getRemainingTime.call(this)};var f3=function(a,b){a.j=new QD(lT(b),a.ca,mT(b));aE(a.j,kU(b))},g3=function(a){a.j=new QD(new Map,a.ca)};d3.prototype.toString=function(){return"adsensenonlinearman"};var k3=function(a,b,c,d,e){L.call(this);this.B=a;this.D=b;this.V=c;this.C=d;this.ha=e;this.A=!1;this.l=new VG;this.j=null;this.g=a;j3(this,a);M(this,this.l);this.o=[b]};q(k3,L);l=k3.prototype;l.Kd=function(){return this.g};l.ig=function(){var a=this,b,c;return y(function(d){if(d.g==1)return b=l3(a),a.j=null,x(d,b,2);c=d.j;if(!c)throw Error("Called getNextManager when there are no more managers.");j3(a,c);a.g=c;return d.return(a.g)})}; l.Td=function(){var a=this;return y(function(b){return b.g==1?a.A?b.return(null):x(b,l3(a),2):b.return(b.j)})};l.gi=function(){return this.Kd()===this.B};l.P=function(){this.g.destroy();L.prototype.P.call(this)}; var m3=function(a){if(!oB(wC)){var b;return(b=a.g.getAd())==null?void 0:PS(b)}var c;return(c=a.o.find(function(d){var e;return(e=PS(d))==null?void 0:e.Qf()}))==null?void 0:PS(c)},l3=function(a){if(a.j)return a.j;var b=m3(a);if(b==null)return Promise.resolve(null);a.j=new Promise(function(c){b.Hd(function(d){if(a.Ka())c(null);else{a.o.push.apply(a.o,w(d));d=d[0];var e=d.getAdPodInfo(),f=a.D.getAdPodInfo();if(f){var g=f.getAdPosition();e.adPosition=g;g=f.getIsBumper();e.o=g;g=f.getMaxDuration();e.g= g;g=f.getPodIndex();e.j=g;g=f.getTimeOffset();e.l=g;f=f.getTotalAds();e.totalAds=f;d=a.C.create([d],a.V,a.ha);c(d)}else c(null)}},function(){return void c(null)})});return a.j},j3=function(a,b){a.l.listen(b,["adStarted","start","impression"],function(){a.A=!0;a.l.dispose()})};var n3=[{type:"itag",Rd:18},{type:"itag",Rd:22}],o3=[{type:"itag",Rd:22},{type:"itag",Rd:18}];var p3=function(a,b,c){this.currentTime=b;this.duration=c;this.adBreakDuration=a.getMaxDuration();this.adPosition=a.getAdPosition();this.totalAds=a.getTotalAds()};function q3(a,b,c){var d=null,e=c+b;a.qa.forEach(function(f){var g;if(g=f instanceof qS)c===0&&b===0||f instanceof wU?g=!0:(g=f.getSize(),g=g.width<=b&&g.height<=c);g&&(g=c===0&&b===0?0:c-f.getSize().height+b-f.getSize().width,f.getContentType()!=="Flash"&&(d==null?(d=f,e=g):gd&&(d=f,b=e,b.o=!1))}c=sP.getFeatureFlags().audioPosterImageDefaultUrl;!b&&c&&(b=new vU(null,null,"Image",c));return b};var t3="start creativeView engagedView impression measurable_impression viewable_impression firstQuartile midpoint thirdQuartile complete".split(" "),u3=t3.concat(),v3=t3.concat(["skipShown","skip"]),w3=function(a){N.call(this);this.G=a;this.o=this.I=this.B=this.H=null;this.D=-1;this.K=!1;this.j=null;this.l=!1;this.A="";this.ra=null;this.g=new VG(this);M(this,this.g);this.F=new Set};q(w3,N);w3.prototype.P=function(){x3(this);N.prototype.P.call(this)}; var x3=function(a){ZG(a.g);a.H!=null&&dR(a.H);a.o!=null&&a.o.dispose();a.o=null;a.F.clear();a.D=-1;a.A="";a.K=!1;a.l=!1},A3=function(a,b,c,d,e){x3(a);a.H=c;cR(a.H);a.B=d;a.I=e;a.j=new y3(a.H);a.A=b.Zb;QQ()&&(b=GT(),a.g.listen(b,"externalActivityEvent",a.un),a.g.listen(b,"measurable_impression",a.wn),a.g.listen(b,"viewable_impression",a.Cn));a.g.listen(a.H,"timeUpdate",a.nl);a.g.listen(a.H,"loadedmetadata",function(){a.notify((new it("loadedMetadata")).type)});a.g.listen(a.H,"durationChange",function(){a.notify((new it("durationChange")).type)}); a.g.listen(a.H,"canplay",function(){a.notify((new it("adCanPlay")).type)});a.g.listen(a.H,"volumeChange",a.Dn);a.g.listen(a.H,"pause",a.ll);a.g.listen(a.H,"play",a.ml);a.g.listen(a.H,"end",a.tn);a.g.listen(a.H,"beginFullscreen",a.R);a.g.listen(a.H,"endFullscreen",a.O);a.g.listen(a.H,"skip",a.L);a.g.listen(a.H,"skipShown",a.fj);a.g.listen(a.H,"start",a.zn);a.g.listen(a.H,"error",a.jl);a.g.listen(a.H,"mediaLoadTimeout",a.kl);a.g.listen(a.H,"autoplayDisallowed",a.il);a.g.listen(a.H,"loaded",function(){return void a.report("loaded")}); z3(a,a.B,a.I)},z3=function(a,b,c){b!=null&&c!=null&&(aI(c,pJ,function(){a.notify(sT({type:"videoClicked"}).type)}),aI(c,kJ,function(){return void a.L()}),aI(c,lJ,function(){return void a.fj()}),aI(c,KI,function(){return void a.Be()}),aI(c,RI,function(){a.notify(sT({type:"authorIconClicked"}).type)}),aI(c,SI,function(){a.notify(sT({type:"titleClicked"}).type)}),aI(c,MI,function(){a.notify(sT({type:"authorNameClicked"}).type)}),aI(c,aJ,function(){a.notify(sT({type:"learnMoreClicked"}).type)}),aI(c, nJ,function(d){return void B3(d)}),aI(c,mJ,function(d){return void C3(a,d.l,d.A,d.C,d.B)}),aI(c,$I,function(){a.notify(sT({type:"iconFallbackImageClosed"}).type)}),aI(c,oJ,function(){return void C3(a,[],b?b.B:null,null)}))};l=w3.prototype;l.notify=function(a){if(this.l||!u3.includes(a))this.F.has(a)&&v3.includes(a)||(this.F.add(a),this.report(a),this.dispatchEvent(a))};l.report=function(a){if(this.B&&this.B.g){if(a==="click")return;a==="learnMoreClicked"&&this.G.report("click")}a!=="error"&&this.G.report(a)}; l.wn=function(a){(a=a.getAdData())&&a.queryId===this.A&&this.notify("measurable_impression")};l.Cn=function(a){(a=a.getAdData())&&a.queryId===this.A&&this.notify("viewable_impression")};l.un=function(a){if(a=a.getAdData()){var b=a.eventName;a=yQ(b)&&a.queryId===this.A?b:null;a!=null&&this.l&&!this.F.has(a)&&this.notify(a)}}; l.nl=function(){if(this.H&&this.l){var a=this.H.getDuration();a!==-1&&(this.H.currentTime>=a*.25&&this.notify("firstQuartile"),this.H.currentTime>=a*.5&&this.notify("midpoint"),this.H.currentTime>=a*.75&&this.notify("thirdQuartile"),ZD(this.G,this.H.getCurrentTime(),a*1E3));D3(this)}};var D3=function(a){a.H&&!(a.D<0||a.K)&&(a.H.currentTime>=a.D||a.H.o)&&a.l&&(a.K=!0,a.notify("engagedView"))};l=w3.prototype; l.zn=function(){this.H&&this.j&&(this.l=!0,this.notify("impression"),this.notify("creativeView"),this.notify("start"),this.j.g=this.H.muted,this.j.volume=this.H.getVolume(),(this.j.g||this.j.volume===0)&&this.notify("mute"))};l.Dn=function(){if(this.H&&this.j){var a=this.H.muted,b=this.H.getVolume(),c=this.j;c.g&&!a||!a&&c.volume===0&&b>0?this.notify("unmute"):this.j.muted(a,b)&&this.notify("mute");this.j.g=a;this.j.volume=b}}; l.ll=function(){this.H&&this.j&&(this.H.o?(D3(this),this.notify("complete")):this.H.l&&(this.j.j=!0,this.notify("pause")))};l.ml=function(){this.j&&this.j.j&&(this.j.j=!1,this.notify("resume"))};l.tn=function(){D3(this);this.notify("complete")};l.ph=function(){this.notify("click")};l.jl=function(){this.notify("error")};l.kl=function(){this.notify("mediaLoadTimeout")};l.il=function(){this.notify("autoplayDisallowed")};l.fj=function(){this.notify("skipShown")}; var B3=function(a){a.J.forEach(function(b){CQ(b)})},C3=function(a,b,c,d,e){e=e===void 0?[]:e;var f={};c=(f.clickThroughUrl=c,f.attributionParams=d,f);b.length>0&&!YQ(b)&&(c.iconClickFallbackImages=b.map(function(g){return k0(g)}));a.dispatchEvent(sT({type:"videoIconClicked",data:c}));e.forEach(function(g){CQ(g)})};w3.prototype.L=function(){this.notify("skip")};w3.prototype.Be=function(){this.notify("skip")};w3.prototype.R=function(){this.notify("fullscreen")};w3.prototype.O=function(){this.notify("exitFullscreen")}; var y3=function(a){this.j=!1;this.g=a.muted;this.volume=a.getVolume()};y3.prototype.muted=function(a,b){return!this.g&&a||this.volume!==0&&b===0};var E3=function(a,b){b=b===void 0?null:b;it.call(this,a);this.data=b};q(E3,it);var G3=function(a){N.call(this);this.l=a;this.j=!1;this.o=new VG(this);M(this,this.o);this.g=new F3;this.o.listen(this.l,"nativeUi",this.A)};q(G3,N);var I3=function(a){a.j||(a.j=!0,H3(a))},J3=function(a,b){a.g.j=b;H3(a)};G3.prototype.P=function(){this.g=new F3;H3(this);this.j=!1;N.prototype.P.call(this)};var H3=function(a){if(a.j){var b=a.g;var c={},d={};b=(d.iconsView=b.j,d.skipView=(c.state=b.g,c.skipText=b.Xd,c),d);bR(a.l,"nativeUi","updateUiState",b)}}; G3.prototype.A=function(a){switch(a.messageType){case "iconClicked":this.dispatchEvent(new E3("iconClicked",a.Eb));break;case "iconRendered":this.dispatchEvent(new E3("iconRendered",a.Eb));break;case "skipButtonClicked":this.dispatchEvent(new E3("skipButtonClicked"))}};var F3=function(){this.Xd="";this.j={};this.g="skipStateHidden"};var K3=["image/jpeg","image/jpg","image/png"],L3=function(a,b,c){L.call(this);this.g=a;this.I=b;this.va=c.filter(function(d){var e=d.D;return e!=null&&K3.includes(e.toLowerCase())&&d.o!=null});this.j=new VG(this);M(this,this.j);this.j.listen(this.g,"iconClicked",this.l);this.j.listen(this.g,"iconRendered",this.o);a={};J3(this.g,(a.icons=this.va.map(function(d,e){return n0(d,e)}),a.iconsFallbackImageCloseText="OK",a.iconsFallbackImageErrorText="The requested information could not be loaded.",a))}; q(L3,L);L3.prototype.l=function(a){(a=M3(this,a.data))&&bI(this.I,mJ,a)};L3.prototype.o=function(a){(a=M3(this,a.data))&&bI(this.I,nJ,a)};var M3=function(a,b){if(!b||b.id==null)return null;b=b.id;return b<0||b>=a.va.length?null:a.va[b]};var P3=function(a,b,c,d){d=d===void 0?!1:d;L.call(this);this.j=a;this.I=b;this.g=c;this.rc=d;this.currentTimeSeconds=0;a=this.g;this.state=a<0?1:a===0?3:2;this.l=new VG(this);M(this,this.l);N3(this);O3(this);this.state===3&&bI(this.I,lJ,null)};q(P3,L);var N3=function(a){a.l.listen(a.j,"skipButtonClicked",function(){a.state===3&&bI(a.I,kJ,null)});aI(a.I,hK,a.o,a);So(a,function(){YH(a.I.g,hK.toString(),a.o,a)})}; P3.prototype.o=function(a){!a||a.durationSeconds<=0||this.g>=a.durationSeconds||this.state===1||this.state===3||(this.currentTimeSeconds=a.currentTimeSeconds,this.currentTimeSeconds>this.g?(this.state=3,bI(this.I,lJ,null)):this.state=2,O3(this))}; var O3=function(a){var b="skipStateHidden",c="";if(a.state===3)b="skipStateSkippable",c=uc(a.rc?"Skip ":"Skip Ad ");else if(a.state===2){b="skipStatePreSkip";c=a.rc;var d=Math.ceil(a.g-a.currentTimeSeconds),e=d.toString();d>=60&&(e=RC(d));c=BK({ih:e,rc:c})}a=a.j;if(a.g.g!==b||a.g.Xd!==c)a.g.g=b,a.g.Xd=c,H3(a)};var Q3=function(a,b,c){L.call(this);this.g=a;this.I=b;this.config=c;this.j=!1};q(Q3,L);l=Q3.prototype;l.build=function(){var a=this;aI(this.I,lJ,this.gj,this);So(this,function(){YH(a.I.g,lJ.toString(),a.gj,a)});var b=uP("promoskip");b=new P3(this.g,this.I,this.config.C,b);M(this,b);b=new L3(this.g,this.I,this.config.va);M(this,b);I3(this.g)};l.Be=function(){this.j&&bI(this.I,KI,null)};l.Ae=function(){};l.getConfig=function(){return this.config};l.Lg=function(){};l.gj=function(){this.j=!0};var R3=function(a,b,c,d){d=d===void 0?!1:d;T2.call(this,a,b.g,b.l,c,b.j);var e=this;this.V=b;this.O=d;this.ra=this.ia=this.l=this.H=null;this.Z=this.D=!1;this.Wa=this.Ta=this.F=1;this.B=null;this.R=!1;this.ca=this.Xa=null;this.Ua=!1;this.G=b.A;this.I=b.g.kc();this.o=new w3(this.j);this.la=new vO(this.I,this.getAd().isSkippable());this.jb=function(){var f={};return f.currentTime=e.getCurrentTime(),f.duration=e.getDuration(),f.isPlaying=!0,f.isVpaid=BS(e.getAd())!=null,f.isYouTube=!1,f.volume=e.getVolume(), f};b.o.push(this.toString())};q(R3,T2);R3.prototype.P=function(){JT(this.getAd());var a;(a=this.l)==null||a.dispose();this.l=null;this.I.clear();Ro(this.o);Ro(this.ia);Ro(this.j);this.Z=!1;if(this.D){a=this.D=!1;X2(this)!=null&&(a=this.V.j.o);var b;(b=this.H)==null||b.reset(a)}var c;(c=this.H)==null||c.unload();S3(this.G,this.H);T2.prototype.P.call(this)}; var T3=function(a,b,c){if(!a.D){a.D=!0;IT(a.getAd(),a.jb);GT().H=b;if(a.K!=null){var d=a.K;d.l=b;d.o.listen(d.l,"start",d.O)}a.ia=new E0(b);d=a.ia;var e;(e=d.g)==null||ZG(e);d.g=new VG(d);M(d,d.g);d.g.listen(d.H,"play",d.l);d.g.listen(d.H,"start",d.o);T(U(),"mts",String(a.ha.loadVideoTimeout));e=a.ha.loadVideoTimeout;e>0&&(b.F=e);e=a.getAd().j;e=e instanceof EE?e.g.length>0?e.g[0]:null:null;d=a.getAd().ub;d.j=Date.now();d.g=null;gR(b,c.url||"",e,a.getAd().getAdPodInfo());sP.C&&sP.K&&(b={},c=(b.mediaUrl= c.url,b),a.dispatchEvent(X({type:"mediaUrlPinged",ad:a.getAd(),data:c})))}},V3=function(a,b){if(a.V.j.B){var c=new G3(a.V.C);b=new Q3(c,a.I,b);M(b,c);return b}c=document.body;var d=a.getAd(),e=X2(a).pb();e=(e=e?Zn(e):null)?s3(d,e):null;var f=G0(d,eT(d));d=dT(d,a.ha.disableUi,f);b=e?new s1(e,b,a.I,c,d,!0,a.O):new r1(b,a.I,c,d,!0,a.O);aI(a.I,gJ,function(){U3(a)});aI(a.I,FI,function(){a.pause()});aI(a.I,GI,function(){a.resume()});aI(a.I,HI,function(g){a.bb(g,null,null)});aI(a.I,II,function(g){var h= {};a.dispatchEvent(X({type:"updateGfpCookie",ad:a.getAd(),data:(h.gfpCookieUserEnabled=g.j,h.gfpCookieClearData=g.g,h)}))});return b},W3=function(a,b){a.g.listen(b,"loaded",a.An);a.g.listen(b,"timeUpdate",a.Bn);a.g.listen(b,"waiting",a.En);a.g.listen(b,"volumeChange",function(){var c=b.getVolume();c!==a.F&&(a.F=c,a.dispatchEvent(X({type:"volumeChange",ad:a.getAd(),data:{volume:c}})),c===0&&a.dispatchEvent(X({type:"mute",ad:a.getAd()})))});a.g.listen(b,"focusSkipButton",a.vn);a.g.listen(b,"seeked", function(){return void a.dispatchEvent("seeked")});a.g.listen(b,"seeking",function(){return void a.dispatchEvent("seeking")})};l=R3.prototype; l.init=function(){if(this.A)X3(this);else{this.A=!0;var a=this.V.j.ba;if(a=this.getAd().isSkippable()&&!UQ(a)?wR(LO,null,"skippablevideo"):null)Y3(this,this.H,LO,a);else{a:{a=this.getAd();this.getAd();var b=ES(a,"GoogleHostedMediaExtension");if(b){var c=n3;yf()&&XQ()!==1&&XQ()!==2||(c=o3);b=yG(new qI(c),b.j);if(b.length>0)for(b=v(b),c=b.next();!c.done;c=b.next())if(c=c.value,c instanceof SE){a=new WU(null,c.g,c.Ea,0,0,0,c.getWidth()||0,c.getHeight()||0,c.getMediaUrl(),null);break a}}b=RQ(this.ha.mimeTypes|| []);c=new nI({tj:this.ha.bitrate,mimeTypes:b,nf:null});b=yS(a);kI(b);if(c.j>0||c.l<=0&&c.o<=0){a=c.j<=0?yf()?500:Infinity:c.j;b=oI(c,b);if(b.length==0)a=null;else{TB(U(),"smb",a);c=null;for(var d=v(b),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.wa,g=e.maxBitrate;f!=null&&f>a||g!=null&&gf)||(c=e)}if(!c)for(c=null,d=v(b),e=d.next();!e.done;e=d.next())if(e=e.value,f=e.wa,g=e.maxBitrate,!(g!=null&&g>a))if(g==null||c==null||c.maxBitrate==null||c.maxBitrate< g)c=e;else if(f==null||c.wa==null||c.maxBitrate==g&&c.wa>f)c=e;if(!c)for(c=null,d=v(b),e=d.next();!e.done;e=d.next())if(e=e.value,f=e.wa,g=e.maxBitrate,!(f!=null&&ff)c=e;a=c}a||pI(b)}else{a=oI(c,b);if(c.o>=c.l){b=c.o;c=c.A;c=c===void 0?!1:c;d=null;e=v(a);for(f=e.next();!f.done;f=e.next())f=f.value,d==null?d=f:d!=null&&f.width&&d.width&&Math.abs(f.width-b)0?a[0]:null}this.B=a;this.B===null?Z3(this,wR(UO)):(this.getAd().g.g=this.B,X3(this),$3(this,this.B))}}};l.skip=function(){var a;if(a=this.H)if(a=this.getAd().isSkippable())a=tP(),a=nP(a,"enableSkipApi")||this.getAd().disableUi;a&&(this.l!=null?this.l.Be():(this.reportEvent("skip"),a4(this)))}; l.start=function(){if(this.Xa){var a=this.H;Y3(this,a,dP,wR(dP,a.getError()))}else if(T2.prototype.start.call(this),this.B!==null)try{a:if(a=this.B,this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()})),this.H||(this.H=b4(this.G),this.H||(c4(this.G),this.H=b4(this.G))),this.H){var b=this.getAd().j;if(b instanceof EE){var c=tN(b);c&&(this.getAd().ba=c)}if(this.ha.useVideoAdUi||this.V.j.B){var d=this.getAd(),e=this.ha,f=d.og(),g=e.useStyledLinearAds;if(TQ())var h=!1;else{var k;if(!(k= JF()&&!d.isCustomClickTrackingUsed())){var m,p;(p=d.j instanceof EE&&pN(d.j)||bT(d))||(p=d.j instanceof EE&&qN(d.j)?sN(d.j):!1);(m=p)||(m=d.j instanceof EE&&qN(d.j)?rN(d.j):!1);k=m||g}h=k?!0:!1}var n=h;var r=(FS(d).get("AdSense")||[]).pop(),u=r!=null&&r.He,t=r?r.j:null,z=n||u||e.useStyledLinearAds;if(cT(d)){if(A1(eT(d))){var A,H;var F=(H=((A=FS(d).get("GpidWtaExtension"))!=null?A:[])[0])==null?void 0:H.j}var O=eT(d);e=F;var ha=MS(d),da=new x1;da.gb=ha;da.va=O;da.j=!1;da.l=!1;da.g=!1;da.o=!1;da.A= !1;da.C=-1;e&&(da.J=e);var Sb=da}else if(z){var sm=E(XS(d)),Hq=n||u||e.useLearnMoreButton;if(D(sm)||!EF(sm))Hq=!1;O=Hq;var of=w1(d,0);of.g=O;of.N=e.g;!f||v1(of,e.uiElements);A1(eT(d))||D(E(t))||jQ().l||(of.B=t);Sb=of}else{c:{f=["ADSENSE","ADSENSE/ADX","402"];for(var rj=NS(d),qg=rj.length-1;qg>=0;qg--)if(rj[qg]!=="UNKNOWN"){var tm=f.includes(rj[qg]);break c}tm=!1}if(tm){var yh=w1(d);yh.A=!0;A1(eT(d))||D(E(t))||(yh.B=t);var Kb=yh}else{var rg=w1(d);rg.o=!1;rg.j=!1;rg.l=!1;v1(rg,e.uiElements);Kb=rg}Sb= Kb}this.ca=Sb;this.l=V3(this,Sb);this.l.build();if(this.getAd().ba!=null&&Sb.N){var Db=this.la,zh=this.getAd().j;Db.g=zh instanceof EE?uN(zh):null;Db.j=zh instanceof EE?vN(zh):null;Db.g&&Db.g.g&&(Db.g.title&&bI(Db.l,EI,Db.g.title),Db.j&&Db.j.title&&bI(Db.l,CI,Db.j.title),Db.j&&Db.j.g&&bI(Db.l,BI,Db.j.g))}var dd=this.getAd(),Iq=Sb.getUiElements();dd.uiElements=Iq}var um=this.H;bR(um.j,um.g,"activate");var sg=this.H;A3(this.o,this.getAd(),sg,this.l?this.l.getConfig():null,this.I);this.g.listen(this.o, "adCanPlay durationChange engagedView authorIconClicked authorNameClicked videoClicked videoIconClicked iconFallbackImageClosed learnMoreClicked muteClicked titleClicked unmuteClicked start skipShown loadedMetadata".split(" "),this.L);var sj=new fE(this.getAd().j,this.j,sg,QQ(),this.getAd().Zb);iE(sj);M(this,sj);W3(this,sg);XG(this.g,this.o,"impression",this.L,!1,this);d4(this,sg);T3(this,this.H,a);var Jq=this.setVolume,tj=ES(this.getAd(),"AdSense");Jq.call(this,tj!=null&&tj.uiConfig!=null&&tj.uiConfig.Dd? 0:this.Wa);this.reportEvent("show_ad");this.dispatchEvent(X({type:"show_ad",ad:this.getAd()}));X2(this).ah();try{U2(this)}catch(uj){Y3(this,this.H,IO,uj);break a}this.H.play()}else Y3(this,this.H,RO,Error("Could not claim video display."))}catch(uj){Z3(this,uj)}};l.getVolume=function(){return this.D&&this.H?this.H.muted?0:this.H.getVolume():this.F};l.setVolume=function(a){this.D&&this.H?this.H.setVolume(a):this.F=a;this.Wa=a};l.pause=function(){this.H&&this.H.pause()}; l.resume=function(){this.H&&this.H.play()};l.getCurrentTime=function(){return this.H?this.H.getCurrentTime():-1};l.getDuration=function(){return this.H?this.H.getDuration():-2};l.getRemainingTime=function(){var a=this.getDuration(),b=this.getCurrentTime();return a>=0&&b>=0?Math.max(0,a-b):-1}; var Y3=function(a,b,c,d){a.getAd().Vd();e4(a,b,d);AR(a,c,d);a.destroy()},e4=function(a,b,c){c=wR(dP,c);b=dU(c,a.getAd(),b);a.Ka()||a.Ua||(a.Ua=!0,a.Nb(c,b))},d4=function(a,b){aE(a.j,kU(a.getAd(),b));var c=a.getAd().g;c!=null&&c instanceof nS&&(vQ.forEach(function(d){XG(a.g,a.o,d,a.L,!1,a)}),c=a.g,c.listen(a.o,"error",function(){Y3(a,b,dP,wR(dP,b.getError()))}),c.listen(a.o,"mediaLoadTimeout",function(){a.getAd().ub.g=Date.now();Y3(a,b,XO,wR(XO,null,(a.ha.loadVideoTimeout/1E3).toString()))}),c.listen(a.o, "autoplayDisallowed",function(){var d=wR(dP),e=wR(HO);d.g=e;Y3(a,b,dP,d)}));a.getAd().isSkippable()&&(a.o.D=30)},f4=function(a){if(a.R){a.dispatchEvent(X({type:"click",ad:a.getAd()}));var b=a.getAd(),c=XS(b);!a.ha.disableClickThrough&&c&&((new P(c)).o||(c=aX(c)),dI(c,YS(b)))}}; R3.prototype.L=function(a){switch(a.type){case "start":V2(this);this.R=!0;this.l&&this.l.Lg();g4(this,"start");WB(U(),"ff");a=this.o;var b=X2(this).Yh();b||a.B||!a.H||a.g.listen(a.H,"click",a.ph);if(b){a.o=new v0;a.g.listen(a.o,"click",a.ph,!1);var c=a.o;b==null||c.F||(c.g=b,z0(c),c.F=!0)}a.I&&aI(a.I,NI,a.ph,a);this.dispatchEvent(X({type:"start",ad:this.getAd()}));break;case "impression":this.dispatchEvent(X({type:"impression",ad:this.getAd()}));break;case "viewable_impression":this.dispatchEvent(X({type:"viewable_impression", ad:this.getAd()}));break;case "measurable_impression":this.dispatchEvent(X({type:"measurable_impression",ad:this.getAd()}));break;case "pause":bI(this.I,qJ,!0);this.dispatchEvent(X({type:"pause",ad:this.getAd()}));break;case "resume":bI(this.I,qJ,!1);this.dispatchEvent(X({type:"resume",ad:this.getAd()}));break;case "firstQuartile":this.dispatchEvent(X({type:"firstQuartile",ad:this.getAd()}));break;case "midpoint":this.dispatchEvent(X({type:"midpoint",ad:this.getAd()}));break;case "thirdQuartile":this.dispatchEvent(X({type:"thirdQuartile", ad:this.getAd()}));break;case "complete":this.dispatchEvent(X({type:"complete",ad:this.getAd()}));this.destroy();break;case "loadedMetadata":this.dispatchEvent(X({type:"loadedMetadata",ad:this.getAd()}));break;case "durationChange":this.dispatchEvent(X({type:"durationChange",ad:this.getAd()}));break;case "adCanPlay":this.dispatchEvent(X({type:"adCanPlay",ad:this.getAd()}));break;case "click":g4(this,"click");f4(this);this.pause();break;case "engagedView":this.dispatchEvent(X({type:"engagedView",ad:this.getAd()})); break;case "videoClicked":U3(this);this.dispatchEvent(X({type:"videoClicked"}));break;case "videoIconClicked":this.dispatchEvent(a);(a=a.getAdData())&&!this.V.j.F&&this.bb(a.clickThroughUrl,a.attributionParams,null);this.pause();break;case "iconFallbackImageClosed":this.dispatchEvent(X({type:"iconFallbackImageClosed",ad:this.getAd()}));break;case "authorIconClicked":h4(this);break;case "authorNameClicked":h4(this);break;case "learnMoreClicked":g4(this,"learn_more_click");f4(this);this.pause();break; case "titleClicked":b=this.la;if(b.g&&b.g.g)if(a=b.g.id,b=b.o,b=b===void 0?!1:b,a==null)a=null;else{c=new P("//www.youtube.com/watch");var d=c.g;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");Qy(c,d);a=c.toString()}else a=null;a!==null&&(this.pause(),this.bb(a,null,null));break;case "muteClicked":this.Ta=this.F;this.setVolume(0);break;case "unmuteClicked":this.setVolume(this.Ta);break;case "skipShown":this.dispatchEvent(X({type:"skippableStateChanged",ad:this.getAd()}));break;case "skip":a4(this); break;case "fullscreen":this.dispatchEvent(X({type:"fullscreen",ad:this.getAd()}));break;case "exitFullscreen":this.dispatchEvent(X({type:"exitFullscreen",ad:this.getAd()}));break;case "fully_viewable_audible_half_duration_impression":this.dispatchEvent(X({type:"fully_viewable_audible_half_duration_impression",ad:this.getAd()}))}};var U3=function(a){a.H&&(a.H.l?a.resume():a.pause())},a4=function(a){a.dispatchEvent(X({type:"skip",ad:a.getAd()}));a.destroy()};l=R3.prototype; l.Xc=function(){g4(this,"external_click");if(this.getAd().disableUi&&this.R){var a={};a=(a.url=XS(this.getAd()),a.attributionParams=YS(this.getAd()),a);this.reportEvent("click");this.dispatchEvent(X({type:"click",ad:this.getAd(),data:a}))}this.getAd();this.pause()};l.An=function(){this.getAd().ub.g=Date.now()};l.uk=function(a,b){return b>=0&&a>=0}; l.Bn=function(){var a=this.getCurrentTime(),b=this.getDuration();if(this.uk(a,b)){var c=new p3(this.getAd().getAdPodInfo(),a,b);this.dispatchEvent(X({type:"adProgress",ad:this.getAd(),data:c}))}if(this.l!=null&&b>=0&&a>=0){if(!(this.Z||this.getAd().F<3)&&this.H){c=this.H.getDuration();var d=ZS(this.getAd());c=Math.abs(c-d);c>2&&(c=wR($O,null,Number(c).toFixed(2)),d=dU(c,this.getAd(),this.H),this.Nb(c,d));this.Z=!0}c=this.getAd().getAdPodInfo();a=new gK(a,b,this.H?this.H.duration:-1,c.getAdPosition(), c.getTotalAds());bI(this.I,hK,a)}};l.vn=function(){this.l&&bI(this.I,ZI,null)};l.En=function(){this.dispatchEvent(X({type:"adBuffering",ad:this.getAd()}))};var h4=function(a){var b,c=a.la;if(c.g&&c.g.g)if(c.j){var d=d===void 0?null:d;(b=b===void 0?null:b)||(b="//www.youtube.com/");d?b+=d:(c=E(c.j.id),b=D(c)?null:b+"channel/"+(c.lastIndexOf("UC",0)==0&&c.length==24?c:"UC"+c))}else b=null;else b=null;b&&(a.pause(),a.bb(b,null,null))}; R3.prototype.Mb=function(){T2.prototype.Mb.call(this);this.l!=null&&this.l.Ae()};R3.prototype.resize=function(a,b){T2.prototype.resize.call(this,a,b);this.l!=null&&this.l.Ae()}; var $3=function(a,b){a.ha.enablePreloading&&PQ(a.V.j.o)&&(a.H=b4(a.G),a.H&&(W3(a,a.H),a.g.listen(a.H,"error",function(c){a.Xa=c}),cR(a.H),T3(a,a.H,b)))},Z3=function(a,b){e4(a,a.H,b);b instanceof yO?a.dispatchEvent(new yR(b)):AR(a,dP,b);a.destroy()},X3=function(a){a.dispatchEvent(X({type:"loaded",ad:a.getAd()}));a.dispatchEvent(X({type:"adMetadata",ad:a.getAd()}))},g4=function(a,b){var c,d=(c=a.getAd())==null?void 0:c.j;if(d&&(qN(d)||a.O)){c=a.ca?a.ca.g:"null";var e={},f=GQ(),g=f.report;e.evt=b;b= (b=qN(d))?(b=b.g)?b:"noformat":"noextension";g.call(f,170,(e.format=b,e.clicks_allowed=a.R,e.ux_refresh=a.O,e.learn_more_enabled=c,e))}};R3.prototype.toString=function(){return"videoman"};var i4=function(){R3.apply(this,arguments)};q(i4,R3);i4.prototype.L=function(a){switch(a.type){case "complete":this.dispatchEvent(X({type:"complete",ad:this.getAd()}));break;default:R3.prototype.L.call(this,a)}};i4.prototype.uk=function(a,b){return(b>=0||b===-2)&&a>=0};i4.prototype.getDuration=function(){return R3.prototype.getDuration.call(this)+$S(this.getAd())};function j4(a){return{"${seller_video_url}":"imasdk.googleapis.com/pavp/3.679.0/","${seller_video_query_params}":"&"+Object.keys(a).map(function(b){return b+"="+a[b]}).join("&")+"&adtag="}}var k4=function(a){L.call(this);this.Hj=a;this.zb=Te(document,"IFRAME");this.zb.allow="autoplay *";On(this.zb,"width","100%");On(this.zb,"height","100%")};q(k4,L); var l4=function(a,b){b.appendChild(a.zb);So(a,function(){return Xe(a.zb)})},m4=function(a,b,c){var d,e,f;return y(function(g){if(g.g==1)return d={},e=(d.gdpr=c.gdprApplies,d.gdpr_consent=c.af,d.addtl_consent=c.addtlConsent,d),f=j4(e),x(g,a.Hj.deprecatedReplaceInURN(b,f),2);var h=a.zb;if(/^(uuid-in-package|urn:uuid):[0-9a-fA-F-]*$/.test(b)){var k=bd(b);h.src=cd(k).toString();h=!0}else h=!1;if(!h)throw Error("Unable to write URN to iframe.");g.g=0})};k4.prototype.show=function(){bo(this.zb,!0)}; k4.prototype.da=function(){bo(this.zb,!1)};var n4=function(a,b){L.call(this);var c=this;this.zb=a;this.C=b;this.o=this.A=!1;this.j=[];this.g=[];this.l=function(d){d.source===c.zb.contentWindow&&(c.o||d.data.type==="fledge_player_loaded"?c.C(d.data):c.g.push(d.data))};window.addEventListener("message",this.l,!0);So(this,function(){window.removeEventListener("message",c.l,!0)})};q(n4,L);n4.prototype.postMessage=function(a){if(this.A){var b;(b=this.zb.contentWindow)==null||b.postMessage(a,"*")}else this.j.push(a)}; var o4=function(a){for(a.o=!0;a.g.length>0;){var b=a.g.shift();b&&a.C(b)}};var p4=function(a,b,c,d){d=d===void 0?navigator:d;N.call(this);var e=this;this.ad=a;this.V=b;this.ha=c;this.Hj=d;this.Aa=!1;this.Lk=this.Yf=this.currentTime=this.Pj=0;this.rn=function(f){switch(f.type){case "fledge_player_ready":f=e.fd;for(f.A=!0;f.j.length>0;){var g=f.j.shift();g&&f.postMessage(g)}break;case "fledge_player_loaded":clearTimeout(e.Lk);e.getAd().ub.g=Date.now();break;case "fledge_player_progress":g=f.data;f=g.currentTime;g=g.duration;e.Yf!==g&&e.dispatchEvent(X({type:"durationChange", ad:e.getAd()}));e.currentTime=f;e.Yf=g;f=new p3(e.getAd().getAdPodInfo(),f,g);e.dispatchEvent(X({type:"adProgress",ad:e.getAd(),data:f}));break;case "fledge_player_complete":if(f=f.data.error){AR(e,PO,Error(f));e.destroy();break}e.dispatchEvent(X({type:"complete",ad:e.getAd()}));e.destroy();break;case "fledge_player_on_playback_change":f.data.enable?e.dispatchEvent(X({type:"resume",ad:e.getAd()})):e.dispatchEvent(X({type:"pause",ad:e.getAd()}));break;case "fledge_player_on_volume_change":f=f.data.volume, e.dispatchEvent(X({type:"volumeChange",ad:e.getAd(),data:{volume:f}}))}};this.Zn=this.V.g.pb();this.pe=new k4(d);M(this,this.pe);this.fd=new n4(this.pe.zb,this.rn);M(this,this.fd);this.Dj=new xS(null,null,"UNKNOWN",null,null,null,null,null,0,[],[],[],[],new Map,new nF(new AG({qa:[new jF({Ub:new fF})]})));this.Dj.Fb=this.ad.getAdPodInfo();b.o.push(this.toString())};q(p4,N);l=p4.prototype;l.getAd=function(){return this.Dj};l.Ec=function(){return!0}; l.init=function(){var a=this,b;return y(function(c){switch(c.g){case 1:if(a.Aa)return c.return();var d=a.getAd().ub;d.j=Date.now();d.g=null;a.pe.da();c.l=2;return x(c,m4(a.pe,a.ad.g,{gdprApplies:GP(a.V.j.g),af:HP(a.V.j.g),addtlConsent:IP(a.V.j.g)}),4);case 4:c.g=3;c.l=0;break;case 2:return b=xa(c),AR(a,PO,b),a.destroy(),c.return();case 3:l4(a.pe,a.Zn),a.Aa=!0,c.g=0}})}; l.start=function(){var a=this;return y(function(b){if(b.g==1)return x(b,a.init(),2);a.dispatchEvent(X({type:"contentPauseRequested",ad:a.getAd()}));a.V.g.Pc();a.pe.show();a.fd.postMessage({type:"fledge_player_set_playback",data:{enable:!0}});o4(a.fd);a.Lk=setTimeout(function(){a.getAd().ub.g=Date.now();AR(a,XO,void 0);a.destroy()},a.ha.loadVideoTimeout);b.g=0})};l.pause=function(){this.fd.postMessage({type:"fledge_player_set_playback",data:{enable:!1}})}; l.resume=function(){this.fd.postMessage({type:"fledge_player_set_playback",data:{enable:!0}})};l.destroy=function(){this.dispatchEvent(X({type:"contentResumeRequested",ad:this.getAd()}));this.dispatchEvent(X({type:"allAdsCompleted",ad:this.getAd()}));this.dispose()};l.skip=function(){};l.setVolume=function(a){this.Pj=a;this.fd.postMessage({type:"fledge_player_set_volume",data:{volume:a}})};l.getVolume=function(){return this.Pj};l.zf=function(){this.fd.postMessage({type:"fledge_player_abandon"})}; l.getCurrentTime=function(){return this.currentTime};l.getDuration=function(){return this.Yf};l.getRemainingTime=function(){return this.Yf-this.currentTime};l.Mb=function(){};l.resize=function(){};l.Xc=function(){};l.collapse=function(){};l.expand=function(){};l.reportEvent=function(){};l.Nb=function(){};l.bb=function(){};l.Kc=function(){};l.tc=function(){};l.toString=function(){return"fledgeman"};var q4=function(a){L.call(this);this.g=a};q(q4,L);l=q4.prototype;l.Yh=function(){return this.g.Yh()};l.pb=function(){return this.g.pb()};l.Ld=function(){return this.g.Ld()};l.da=function(){};l.ah=function(){this.g.ah()};l.ng=function(){this.g.da()};l.Pc=function(){this.g.Pc()};l.ed=function(){this.g.ed()};l.kc=function(){return this.g.kc()};l.Fi=function(a){this.g.Fi(a)};l.Gi=function(){this.g.Gi()};var s4=function(a,b,c){D2.call(this,a.Kd());this.g=a;this.V=b;this.ha=c;this.A=this.B=-1;this.l=this.j=this.D=this.G=this.o=!1;this.F=r4(this,this.U);this.volume=1};q(s4,D2);s4.prototype.resize=function(a,b){this.B=a;this.A=b;D2.prototype.resize.call(this,a,b)};s4.prototype.start=function(){this.D=!0;t4(this)};var t4=function(a){a.j||a.l||(a.j=!0,a.U.Ec()||u4(a),D2.prototype.start.call(a))};s4.prototype.setVolume=function(a){this.volume=a;D2.prototype.setVolume.call(this,a)}; s4.prototype.destroy=function(){this.g.dispose();D2.prototype.destroy.call(this)};s4.prototype.P=function(){D2.prototype.P.call(this);this.U.dispose()}; var v4=function(a,b){var c,d,e;return y(function(f){if(f.g==1)return a.l=!0,c=b.getError()||wR(dP),x(f,a.g.Td(),2);(d=f.j)?(e=X({type:"log",data:c}),a.dispatchEvent(e)):a.dispatchEvent(b);a.U.destroy();f.g=0})},y4=function(a,b){var c,d;return y(function(e){switch(e.g){case 1:return x(e,a.g.Td(),2);case 2:c=e.j;case 3:return c&&c.Ka()?x(e,a.g.ig(),6):c?x(e,a.g.ig(),8):(w4(a,c),a.dispatchEvent(b),a.dispose(),e.return());case 6:return x(e,a.g.Td(),7);case 7:c=e.j;e.g=3;break;case 8:d=e.j,w4(a,d),a.U.Ka()|| a.U.dispose(),a.U=d,a.l=!1,a.j=!1,a.D?(x4(a),t4(a)):x4(a),e.g=0}})},z4=function(a){var b;return y(function(c){if(c.g==1)return x(c,a.g.Td(),2);(b=c.j)?b.Ec()||u4(a):u4(a);c.g=0})},u4=function(a){!a.G&&a.o&&(a.G=!0,a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()})))},x4=function(a){if(a.g.gi())throw Error("1st manager initialization is done by publisher calling ad pod manager api.");var b;(b=a.F)==null||b.dispose();a.F=r4(a,a.U);a.setVolume(a.volume);a.resize(a.B,a.A);a.init()},B4=function(a, b,c){c.listen(b,C2,function(d){return a.dispatchEvent(d)});c.listen(b,"contentResumeRequested",function(){return void z4(a)});c.listen(b,"adError",function(d){return void v4(a,d)});c.listen(b,"allAdsCompleted",function(d){return void y4(a,d)});c.listen(b,"contentPauseRequested",function(){a.o||(a.dispatchEvent(X({type:"contentPauseRequested",ad:a.getAd()})),a.o=!0)});c.listen(b,"impression",function(){return void A4(a)})},A4=function(a){var b;return y(function(c){if(c.g==1)return x(c,a.g.Td(),2); (b=c.j)&&a.ha.enablePreloading&&PQ(a.V.j.o)&&(C4(a,b),b.setVolume(a.getVolume()),b.init());c.g=0})},r4=function(a,b){var c=new VG(b);M(a,c);B4(a,b,c);return c},w4=function(a,b){b?b.Ec()||a.V.g.ng():(a.V.g.ng(),a.V.g.ed())},C4=function(a,b){sP.C&&sP.K&&(new VG(b)).md(b,"mediaUrlPinged",function(c){return a.dispatchEvent(c)})};s4.prototype.Kc=function(){this.U.Kc()};s4.prototype.tc=function(){this.U.tc()};var F4=function(a){var b=a.ad;var c=a.V;a=a.ha;T2.call(this,b,c.g,c.l,a,c.j);var d=this;this.o=null;this.R=!1;this.G=.4;this.F=null;this.currentTime=-1;this.B=null;this.D=this.L=this.O=!1;this.layout=null;this.ca=D4(b);if(this.ka=E4(b)){this.o=new he(this.ka._width_,this.ka._height_);var e;this.R=(e=this.ka._should_resize_)!=null?e:!1;this.G=this.ka._resizing_threshold_!=null&&this.ka._resizing_threshold_>0?this.ka._resizing_threshold_:.4}this.Z=a.loadVideoTimeout!==-1?a.loadVideoTimeout:8E3;this.l= new lu(200);this.V=c;M(this,this.l);this.g.listen(this.l,"tick",function(){var f=d.getDuration();d.currentTime+=.2;var g=d.currentTime>=f;d.currentTime=Math.min(f,d.currentTime);f=new p3(d.getAd().getAdPodInfo(),d.currentTime,f);d.dispatchEvent(X({type:"adProgress",ad:d.getAd(),data:f}));f=new gK(d.currentTime,d.getDuration());bI(d.I,hK,f);g&&(d.l.stop(),W2(d,"complete"),d.destroy())});this.I=c.g.kc();So(this,function(){return void d.I.clear()})};q(F4,T2);l=F4.prototype; l.P=function(){this.B!=null&&(nu(this.B),this.B=null);X2(this).ed();var a=X2(this).pb();a&&We(a);T2.prototype.P.call(this)}; l.init=function(){var a=this;if(!this.A){this.A=!0;var b=this.ca,c=X2(this).pb(),d=this.ka;if(b&&c&&d){b=bF(b);cI(this,this.I,bJ,function(){a.L=!0;a.O&&G4(a)});cI(this,this.I,lJ,function(){a.dispatchEvent(X({type:"skippableStateChanged",ad:a.getAd()}));W2(a,"skipShown")});cI(this,this.I,kJ,function(){a.skip()});We(c);var e,f;this.layout=new t2({container:c,Dh:b,Eh:new he(d._width_,d._height_),gb:MS(this.getAd()),Ze:function(g,h){var k=null,m=null,p=null;try{k=Sh(h==null?void 0:h.name)?h.name:"Unknown error"}catch(n){k= "exception"}try{m=Sh(h==null?void 0:h.message)?h.message:"Caught "+h}catch(n){m="exception"}try{p=Sh(h==null?void 0:h.stack)?h.stack:Error().stack}catch(n){p="exception"}h={};GQ().report(185,(h.m=g,h.name=k,h.message=m,h.stack=p,h))},Ge:fI(),yf:"1-0-40",skipOffset:(f=(e=VS(this.getAd()))==null?void 0:JQ(e))!=null?f:null,I:this.I});this.F&&this.resize(this.F.width,this.F.height);So(this,function(){var g;return void((g=a.layout)==null?void 0:g.dispose())});this.layout.build();W2(this,"loaded")}else c= wR(LO,null,"SafeFrame"),H4(this,c),this.destroy()}}; l.start=function(){var a=this;if(!this.O){this.O=!0;var b=this.V.J,c=this.V.j.Ta,d=PV(this.getAd(),X2(this),this.ka,this.getDuration());ck(c,3,d);var e;d=(e=I(c,bw,4))==null?void 0:kk(e,6);Mf()<1/d&&(b==null||b.lk(c));T2.prototype.start.call(this);this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()}));this.currentTime=0;this.L?G4(this):this.B=mu(function(){a.B=null;if(!a.L){var f=wR(XO,null,(a.Z/1E3).toString());H4(a,f);a.destroy()}},this.Z)}}; l.pause=function(){this.D&&(this.l.stop(),W2(this,"pause"))};l.resume=function(){this.D&&(this.l.start(),W2(this,"resume"))};l.Mb=function(){T2.prototype.Mb.call(this)}; l.resize=function(a,b){T2.prototype.resize.call(this,a,b);if(this.R&&this.o&&this.G&&this.o.width!==0&&this.o.height!==0&&a!==0&&b!==0){var c=this.o.width;var d=this.o.height;c=Math.min((a-c)/c,(b-d)/d);if(c!==0)if(c<0&&Math.abs(c)<=this.G)I4(this,a,b,c+1);else if(c>0)I4(this,a,b,Math.min(this.G,c)+1);else if(d=wR(OO,null),this.ka){var e={};GQ().report(193,(e.m="resize_failed",e.resize_rate=c,e.player_width=a,e.player_height=b,e.creative_width=this.ka._width_,e.creative_height=this.ka._height_,e)); H4(this,d);this.destroy()}}};l.getDuration=function(){return this.getAd().getDuration()};l.getCurrentTime=function(){return this.currentTime};l.getRemainingTime=function(){return this.getCurrentTime()<0?-1:this.getDuration()-this.getCurrentTime()};l.skip=function(){var a;(a=VS(this.getAd()))?(a=JQ(a),a=a!==-1&&this.currentTime!==-1&&this.currentTime>=a):a=!1;a&&(this.l.stop(),W2(this,"skip"),this.destroy())}; var G4=function(a){var b;if(b=!a.R)if(b=X2(a).pb()){var c=a.ka;b=c?b.clientWidth=c&&X4(a,2)};R4.prototype.pause=function(){this.o?this.o.stop():D2.prototype.pause.call(this)};R4.prototype.resume=function(){this.o?this.o.start():D2.prototype.resume.call(this)}; var V4=function(a){a.ua.g.sendMessage("SIMID:Media:ended");a.D?(a.o=new lu,M(a,a.o),a.j.listen(a.o,"tick",function(){a.F+=.25;var b=a.getAd();b&&(b=new p3(b.getAdPodInfo(),a.getCurrentTime(),a.getDuration()),a.dispatchEvent(X({type:"adProgress",ad:a.getAd(),data:b})));U4(a,a.getCurrentTime())}),a.o.setInterval(250),a.o.start()):X4(a,2)};R4.prototype.getCurrentTime=function(){return D2.prototype.getCurrentTime.call(this)+this.F}; var T4=function(a){a.R.listen(a.ua,Object.values(RM),function(b){switch(b.type){case "SIMID:Creative:clickThru":a.reportEvent("click");a.dispatchEvent(X({type:"click",ad:a.getAd()}));a.W&&GQ().report(148,{time:a.getCurrentTime(),dur:a.getDuration()},!0);b.resolve();break;case "SIMID:Creative:fatalError":case "SIMID:Creative:requestStop":b.resolve();X4(a,4);break;case "SIMID:Creative:requestSkip":b.resolve();a.skip();break;case "SIMID:Creative:handleSkipShown":a.dispatchEvent(X({type:"skippableStateChanged", ad:a.getAd()}));a.reportEvent("skipShown");a.dispatchEvent(X({type:"skipShown",ad:a.getAd()}));b.resolve();break;case "SIMID:Creative:reportTracking":if(Array.isArray(b.args.fh))for(var c=v(b.args.fh),d=c.next();!d.done;d=c.next())CQ(d.value);b.resolve();break;case "SIMID:Creative:getMediaState":c={};b.resolve((c.currentSrc=a.g.getMediaUrl(),c.currentTime=a.g.getCurrentTime(),c.duration=a.g.getDuration(),c.ended=!1,c.muted=a.g.getVolume()===0,c.paused=!1,c.volume=a.g.getVolume(),c.fullscreen=a.g.Nd(), c));break;case "SIMID:Creative:requestPause":a.pause();b.resolve();break;case "SIMID:Creative:requestPlay":a.resume();b.resolve();break;case "SIMID:Creative:requestResize":Y4(a,b);break;case "SIMID:Creative:requestChangeAdDuration":d=b.args.duration;if(d<0&&d!==-2)b.reject();else if(c=a.getAd())d-=ZS(c),c.N=d,a.D=!0,a.dispatchEvent(X({type:"durationChange",ad:a.getAd()})),b.resolve();break;case "SIMID:Creative:requestNavigation":var e,f;a.bb(b.args.uri,((e=a.getAd())==null?void 0:YS(e))||null,((f= a.getAd())==null?void 0:f.g!=null?f.g.oh():null)||null);a.pause();b.resolve();break;case "SIMID:Creative:log":if(e=b.args.message){c=c===void 0?U():c;a:{try{var g=JSON.parse(e),h;if(h=typeof g.type==="string")b:switch(g.type){case "TimingEvent":case "Parameter":case "OneShotParameter":h=!0;break b;default:h=!1}if(h&&typeof g.key==="string"&&(typeof g.value==="string"||g.value===void 0)){d={type:g.type,key:g.key,value:g.hasOwnProperty("value")?g.value:void 0};break a}}catch(k){}d=void 0}if(d!==void 0)switch(d.type){case "TimingEvent":WB(c, d.key);break;case "Parameter":d.value&&TB(c,d.key,d.value);break;case "OneShotParameter":d.value&&T(c,d.key,d.value)}}b.resolve();break;default:b.reject()}})},X4=function(a,b){b=a.ua.g.sendMessage("SIMID:Player:adStopped",new TM({code:b}));S4(a,b)},Z4=function(a,b){var c;return y(function(d){if(!a.V.j.R)throw Error("Resize is not supported.");c=M4(a.g);var e=b.videoWidth,f=b.videoHeight,g=b.videoX,h=b.videoY;if(g===void 0||h===void 0||e===void 0||f===void 0)throw Error("Invalid video dimensions."); var k=b.creativeWidth,m=b.creativeHeight,p=b.creativeX,n=b.creativeY;if(p===void 0||n===void 0||k===void 0||m===void 0)throw Error("Invalid creative dimensions.");if(k!==c.width||m!==c.height||p!==0||n!==0)throw Error("Creative resizing is not supported.");e=new Kn(g,h,e,f);if(!(new Kn(0,0,c.width,c.height)).contains(e))throw Error("Video cannot be moved out of slot bounds.");a.G=e;a.V.g.Fi(a.G);d.g=0})},Y4=function(a,b){Z4(a,b.args).then(function(c){return b.resolve(c)}).catch(function(c){return b.reject(c)})}; R4.prototype.start=function(){var a=this;D2.prototype.start.call(this);this.B.promise.then(function(){return void $4(a)}).catch(function(){a5(a)})}; var $4=function(a){if(!a.Ka()){b5(a);WB(U(),"ima_lsc");var b,c;(b=a.ua)!=null&&(b.j?b=void 0:(b.l=0,b.j=new gz,lN(b),b=b.j.promise),(c=b)==null||c.then(function(){WB(U(),"ima_csr")},function(){WB(U(),"ima_cmc")}));a.ua.g.sendMessage("SIMID:Player:startCreative").catch(function(){return void a5(a)})}},b5=function(a){a.V.g.Pc();a.l&&(a.l.style.display="block")},a5=function(a){var b=wR(RO),c=dU(b,a.getAd());D2.prototype.Nb.call(a,b,c);a.dispatchEvent(new yR(b));S4(a)}; R4.prototype.skip=function(){var a=this.ua.g.sendMessage("SIMID:Player:adSkipped");this.reportEvent("skip");this.dispatchEvent(X({type:"skip",ad:this.getAd()}));S4(this,a)};R4.prototype.Kc=function(){D2.prototype.Kc.call(this);this.ua.g.sendMessage("SIMID:Player:appBackgrounded")};R4.prototype.tc=function(){D2.prototype.tc.call(this);this.ua.g.sendMessage("SIMID:Player:appForegrounded")}; R4.prototype.Mb=function(){var a=M4(this.g),b=new Kn(0,0,a.width,a.height),c=this.G||b;this.ua.g.sendMessage("SIMID:Player:resize",new TM({creativeX:b.left,creativeY:b.top,creativeWidth:b.width,creativeHeight:b.height,videoX:c.left,videoY:c.top,videoWidth:c.width,videoHeight:c.height,fullscreen:LF(a.width,a.height)}))};var W4=function(a){a.ua.g.o.promise.then(function(){var b=a.ua,c=a.getDuration();b.g.sendMessage("SIMID:Media:durationchange",new TM({duration:c}))})}; R4.prototype.P=function(){this.K.dispose();this.V.j.R&&this.V.g.Gi();this.V.g.ed();this.l&&(this.l.style.visibility="hidden");this.dispatchEvent(X({type:"contentResumeRequested",ad:this.getAd()}));this.dispatchEvent(X({type:"allAdsCompleted",ad:this.getAd()}));S4(this);D2.prototype.P.call(this)};R4.prototype.destroy=function(){var a=this;D2.prototype.destroy.call(this);CV(this.K,function(){return void a.dispose()})}; var S4=function(a,b){b=b===void 0?Promise.resolve({}):b;var c;(c=a.ua)!=null&&c.j&&(c.j.reject(),c.j=null);var d;(d=a.ua)==null||kN(d);a.O||(c=ou(2E3),a.O=Promise.race([b,c]).then(function(){Xe(a.l);a.ua.dispose();a.R.dispose()}),a.destroy())};var c5=function(a){it.call(this,"vpaid-message");this.data=a};q(c5,it);var d5=function(a,b,c){N.call(this);this.j=a;this.A=b;this.l=c;this.H=this.g=null;this.o=new VG(this);M(this,this.o)};q(d5,N);d5.prototype.init=function(){this.o.listen(Qe(),"message",this.ol);e5(this)}; var e5=function(a){if(!a.H||!a.g){a.H||(a.H=b4(a.l));if(!a.g){a:{var b=a.A;for(var c=v(b.g.keys()),d=c.next();!d.done;d=c.next())if(d=d.value,!b.g.get(d)){b.g.set(d,!0);b=d;break a}b=null}a.g=b}a.H&&a.g&&(b=a.g,c=a.j,a=a.H.g,d={},a=(d.vpaidEventType="createFriendlyIframe",d.session=c,d.videoDisplayName=a,d),bR(b.g,"adsManager","vpaidEvent",a))}};l=d5.prototype; l.start=function(){e5(this);if(!this.H)throw c4(this.l),e5(this),Error("Play ad was called before prior video display was released.");if(!this.g)throw GQ().report(122,{man:"vpaid",when:"start"},!0),Error("Play ad was called before insecure iframe channel was available.");};l.resume=function(){};l.getName=function(){return"friendly"};l.kj=function(){};l.Ce=function(a,b){b.session=this.j;b.type=a;Qe().parent.postMessage(JSON.stringify(b),"*")}; l.ol=function(a){(a=f5(a))&&a.session===this.j&&(a.type==="friendlyReady"?(a={},this.dispatchEvent(new c5((a.type="vpaidChannelLoaded",a)))):this.dispatchEvent(new c5(a)))};var f5=function(a){a=a.Pb||null;if(!a)return null;a=a.data;if(typeof a!=="string")return null;a=q0(a);if(a!=null)try{return JSON.parse(a.data)}catch(b){}return null}; d5.prototype.P=function(){var a;if((a=this.g)!=null){var b=this.j,c={};b=(c.vpaidEventType="destroyFriendlyIframe",c.session=b,c);bR(a.g,"adsManager","vpaidEvent",b)}S3(this.l,this.H);a=this.A;(b=this.g)&&a.g.set(b,!1)};d5.prototype.Ld=function(){return this.H};var g5=function(a,b,c,d,e){N.call(this);this.ad=a;this.A=b;this.l=c;this.j=d;this.F=e;this.H=null;this.D="";this.frameElement=null;this.B=this.o=!1;this.g=new VG(this);M(this,this.g)};q(g5,N);l=g5.prototype; l.init=function(){if(!this.o&&(this.H||(this.H=b4(this.j)),this.H)){var a;if((a=BS(this.ad))&&/\.html(\?.*)?$/.test(a))this.F&&(a=a.replace(".html","_"+"en".replace("-","_")+".html")),a=E(a);else{var b=new P(a),c=new P("http://tpc.googlesyndication.com/pagead/js/loader21.html");b.o==="https"&&Ny(c,"https");a=Qy(c,a||"").toString()}this.frameElement=Se("IFRAME",{src:fS(a),allow:"autoplay",allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:"border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:100%; height:100%;position: absolute;display:none;", title:"Advertisement"});this.g.listen(this.frameElement,"load",this.Nn);var d;(d=this.l.pb())==null||d.appendChild(this.frameElement);this.g.listen(Qe(),"message",this.pl);this.g.listen(this.H,"beginFullscreen click end endFullscreen error loaded mediaLoadTimeout pause play timeUpdate volumeChange".split(" "),this.Ij);this.g.listen(this.H,ZQ,this.Ij);this.o=!0}}; l.start=function(){this.init();this.B=!0;if(!this.H)throw c4(this.j),this.init(),Error("Play ad was called before prior video display was released.");this.frameElement!=null&&(this.frameElement.style.display="block")};l.resume=function(){h5(this,"play")};l.getName=function(){return"secure"};l.kj=function(a){var b={};h5(this,"supportedMimeTypes",(b.supportedMimeTypes=a,b))}; l.Ce=function(a,b){var c;if(((c=this.frameElement)==null?void 0:c.contentWindow)!=null){b.session=this.A;b.type=a;var d;(d=this.frameElement)==null||d.contentWindow.postMessage(JSON.stringify(b),"*")}}; l.pl=function(a){a=a.Pb||null;a:{if(a)try{var b=JSON.parse(a.data);break a}catch(h){}b=null}var c;if((a==null?void 0:a.source)==((c=this.frameElement)==null?void 0:c.contentWindow)&&b!=null&&b.session===this.A)if(b.type==="videoCall")switch(b.func){case "load":case "play":if(!this.B){this.dispatchEvent(new c5({type:"AdError",message:"VPAID ad called play on video element before start was called on VPAID manager"}));break}this.l.ah();var d=b.src;if(this.D!==d){this.D=d;var e;(e=this.H)==null||gR(e, d,null,this.ad.getAdPodInfo())}var f;(f=this.H)==null||f.play();break;case "pause":var g;(g=this.H)==null||g.pause();break;case "currentTime":e=b.currentTime,(d=this.H)==null||hR(d,e)}else this.dispatchEvent(new c5(b))};l.Nn=function(){var a={};this.dispatchEvent(new c5((a.type="vpaidChannelLoaded",a)))};l.P=function(){Xe(this.frameElement);S3(this.j,this.H)}; l.Ij=function(a){switch(a.type){case "loadedmetadata":var b,c={};h5(this,"loadedmetadata",(c.duration=(b=this.H)==null?void 0:b.getDuration(),c));break;case "timeUpdate":var d;b={};h5(this,"timeupdate",(b.duration=(c=this.H)==null?void 0:c.getDuration(),b.currentTime=(d=this.H)==null?void 0:d.getCurrentTime(),b));break;case "end":h5(this,"ended");break;case "beginFullscreen":h5(this,"fullscreenchange");break;case "endFullscreen":h5(this,"fullscreenchange");break;case "loaded":h5(this,"loadstart"); break;case "mediaLoadTimeout":h5(this,"stalled");break;case "play":h5(this,"playing");break;default:h5(this,a.type)}};var h5=function(a,b,c){c=c===void 0?{}:c;c.messageType=b;a.Ce("wrapperCall",c)};g5.prototype.Ld=function(){return this.H};function i5(a){a=BS(a);return!(!a||!a.match("//s0.2mdn.net/instream/html5/survey/survey.html"))};var j5=function(a,b,c){T2.call(this,a,b.g,b.l,c,b.j);var d=this;this.V=b;this.H=null;this.ca=this.O=this.loaded=!1;this.G=[];this.ra=this.o=null;this.R=this.duration=this.ia=-1;this.Z=this.D=!1;this.l=this.layout=null;this.Xa=b.A;this.Ta=b.B;this.jb=function(){var e={};return e.currentTime=d.getCurrentTime(),e.duration=d.getDuration(),e.isPlaying=!0,e.isVpaid=BS(d.getAd())!=null,e.isYouTube=!1,e.volume=d.o,e};this.la="goog_"+Kd++;this.L=new lu(500);this.vg=(new P(BS(this.getAd()))).j;this.B=this.getAd().qc(); this.I=b.g.kc();this.F="normal";b.o.push(this.toString())};q(j5,T2);l=j5.prototype; l.init=function(){if(sP.g===0){var a=wR(LO,null,"vpaid");k5(this,a);throw a;}if(!this.A){a=this.getAd();var b=this.la,c=X2(this),d=this.Xa,e=this.Ta;this.l=i5(a)||sP.g!==2?new g5(a,b,c,d,i5(a)):new d5(b,e,d);M(this,this.l);a=this.getAd().ub;a.j=Ua();a.g=null;this.g.listen(this.L,"tick",this.se);this.g.listen(GT(),wQ,this.Mg);this.g.listen(this.l,"vpaid-message",this.re);this.l.init();this.H=this.l.Ld();l5(this,this.H);this.A=!0;W2(this,"loaded")}}; l.start=function(){this.init();T2.prototype.start.call(this);if(this.l){try{this.l.start()}catch(d){var a=wR(dP,d,"internal");k5(this,a);return}if(this.H=this.l.Ld()){l5(this,this.H);m5(this);aE(this.j,kU(this.getAd(),this.H));cR(this.H);this.reportEvent("show_ad");this.dispatchEvent(X({type:"show_ad",ad:this.getAd()}));X2(this).Pc();a=this.getAd();if(a.g instanceof nS){var b=eT(a);if(b!=null&&b.length!==0){var c=document.body;c&&(this.layout=new v2(b,MS(a),this.I,c),this.layout.build(),aI(this.I, mJ,this.ne,this),aI(this.I,nJ,this.Ua,this))}}this.o!=null&&this.H.setVolume(this.o);QQ()&&(a=new fE(this.getAd().j,this.j,this.H,QQ(),this.getAd().Zb,!0),iE(a),M(this,a));this.ca=!0;this.B?this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()})):this.dispatchEvent(new F0("vpaidNonLinear",this.la));n5(this);this.O||(this.R=mu(this.Wa,this.ha.loadVideoTimeout,this))}}}; l.resize=function(a,b){this.F=LF(a,b)?"fullscreen":"normal";var c={};a=(c.width=a,c.height=b,c.viewMode=this.F,c);this.sendMessage("resizeAd",a)};l.expand=function(){this.sendMessage("expandAd");this.F="fullscreen"};l.collapse=function(){this.sendMessage("collapseAd");this.F="normal"};l.pause=function(){this.D||this.sendMessage("pauseAd")};l.resume=function(){if(this.D){this.sendMessage("resumeAd");var a;(a=this.l)==null||a.resume()}}; l.setVolume=function(a){T2.prototype.setVolume.call(this,a);this.o==null&&(this.o=a);this.ca&&this.sendMessage("setAdVolume",{value:a})};var l5=function(a,b){b&&(IT(a.getAd(),a.jb),GT().H=b,a.K!=null&&(a=a.K,a.l=b,a.o.listen(a.l,"start",a.O)))}; j5.prototype.P=function(){JT(this.getAd());this.L.stop();var a;(a=this.layout)==null||a.dispose();this.I.clear();this.H&&(dR(this.H),this.V.j.o||this.H.unload(),this.B&&(!this.O||this.H.l||this.H.o||this.H.pause()));this.loaded=!1;this.G=[];nu(this.R);this.L.dispose();T2.prototype.P.call(this)}; var o5=function(a){var b=a.getAd().getTraffickingParametersString(),c=E(XS(a.getAd())),d=a.getAd();if(a.B){var e=d.g,f=oS(e);f!=null&&(e.g=f)}e=a.o!=null?a.o:1;f={};b=(f.desiredBitrate=a.ha.bitrate,f.creativeData=b,f.viewMode=a.F,f.clickThroughUrl=c,f.attributionParams=YS(a.getAd()),f.adUrl=BS(d),f.volume=e,f);a.loaded=!0;a.sendMessage("initAd",b);a.G.forEach(function(h){a.sendMessage(h.type,h.params)});a.G=[];var g;(g=a.l)==null||g.kj(a.ha.mimeTypes||[])}; j5.prototype.sendMessage=function(a,b){b=b===void 0?{}:b;if(this.loaded){var c;(c=this.l)==null||c.Ce(a,b)}else this.G.push({type:a,params:b})};j5.prototype.Wa=function(){this.getAd().ub.g=Ua();k5(this,wR(XO,null,(this.ha.loadVideoTimeout/1E3).toString()))};var k5=function(a,b){a.getAd().Vd();var c=a.getAd().ub;c.g==null&&(b.getErrorCode(),XO.getErrorCode(),c.g=Ua());c=dU(b,a.getAd());a.Nb(b,c);a.dispatchEvent(new yR(b));a.destroy()}; j5.prototype.re=function(a){a=a.data;if(typeof a.type==="string")switch(a.type){case "forwardVpaidManagerEvent":this.dispatchEvent(a.data);break;case "vpaidChannelLoaded":o5(this);break;case "heavyAdIntervention":this.reportEvent(a.heavyAdInterventionEventType);break;case "returnDuration":this.duration=a.duration;break;case "returnRemainingTime":p5(this,a.remainingTime);break;case "AdClickThru":this.reportEvent("click");this.dispatchEvent(X({type:"click",ad:this.getAd()}));break;case "AdDurationChange":this.duration= a.duration;p5(this,a.remainingTime);var b,c;(b=this.getAd())!=null&&(c=b.g)!=null&&(c.duration=this.duration);this.dispatchEvent(X({type:"durationChange",ad:this.getAd()}));break;case "AdError":this.Z=!0;k5(this,wR(eP,Error(a.message)));break;case "AdExpandedChange":this.dispatchEvent(X({type:"expandedChanged",ad:this.getAd()}));break;case "AdImpression":U2(this);W2(this,"impression");this.Z=!0;this.dispatchEvent(X({type:"start",ad:this.getAd()}));break;case "AdLinearChange":var d=a.isLinear;!this.B&& d?(this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()})),this.sendMessage("becameLinear")):!d&&this.B&&(this.dispatchEvent(X({type:"contentResumeRequested",ad:this.getAd()})),this.sendMessage("becameNonlinear"),this.sendMessage("getAdRemainingTime"),this.sendMessage("getAdDuration"));this.B=d;var e=this.getAd();e.R=!0;e.W=d;this.dispatchEvent(X({type:"linearChanged",ad:this.getAd()}));break;case "AdLoaded":nu(this.R);this.O=!0;this.getAd().ub.g=Ua();a=a.companions;var f=this.getAd(); if(DS(f).length===0&&(b=f.g)){a:{b=b.Ca();try{e=UG(E(a));if(e==null||!e.documentElement){d=[];break a}var g=OH(e.documentElement);d=g.g.length===0?[]:[(new ZU(e.documentElement)).getCompanionAds(g,b)];break a}catch(h){d=[];break a}d=void 0}d.length!==0&&wS(f,d)}n5(this);this.dispatchEvent(X({type:"adCanPlay",ad:this.getAd()}));break;case "AdPaused":this.D=!0;W2(this,"pause");break;case "AdPlaying":this.D=!1;W2(this,"resume");break;case "AdRemainingTimeChange":p5(this,a.remainingTime);break;case "AdSkipped":W2(this, "skip");this.destroy();break;case "AdSkippableStateChange":W2(this,"skippableStateChanged");break;case "AdStarted":this.reportEvent("creativeView");V2(this);this.dispatchEvent(X({type:"adStarted",ad:this.getAd()}));break;case "AdStopped":this.reportEvent("stop");this.Z||k5(this,wR(eP));this.destroy();break;case "AdUserAcceptInvitation":this.B?this.reportEvent("acceptInvitationLinear"):this.reportEvent("acceptInvitation");break;case "AdUserMinimize":this.reportEvent("collapse");break;case "AdUserClose":W2(this, "userClose");break;case "AdVideoComplete":W2(this,"complete");break;case "AdVideoFirstQuartile":W2(this,"firstQuartile");break;case "AdVideoMidpoint":W2(this,"midpoint");break;case "AdVideoStart":this.reportEvent("start");break;case "AdVideoThirdQuartile":W2(this,"thirdQuartile");break;case "AdVolumeChange":d=a.volume;d!==this.o&&(this.dispatchEvent(X({type:"volumeChange",ad:this.getAd(),data:{volume:d}})),d===0?(this.reportEvent("mute"),this.dispatchEvent(X({type:"mute",ad:this.getAd()}))):this.o=== 0&&d!==0&&this.reportEvent("unmute"),(f=this.H)==null||f.setVolume(d),this.o=d);break;case "AdInteraction":d={};d=(d.id=a.id,d);this.dispatchEvent(X({type:"interaction",ad:this.getAd(),data:d}));break;case "Ping":CQ(a.url)}};var n5=function(a){if(a.O&&a.ca){var b;(b=a.H)!=null&&bR(b.j,b.g,"activate");a.sendMessage("startAd");a.L.start();a.B||(a.sendMessage("becameNonlinear"),a.sendMessage("getAdRemainingTime"));a.sendMessage("getAdDuration")}}; j5.prototype.getCurrentTime=function(){return this.getDuration()<0||this.getRemainingTime()<0?-1:this.getDuration()-this.getRemainingTime()};j5.prototype.getDuration=function(){return this.duration};j5.prototype.getRemainingTime=function(){return this.ia}; var p5=function(a,b){a.ia=b;if(!a.D){b=a.getAd().getDuration();var c=b-a.ia;if(b>=0&&c>=0){var d=new p3(a.getAd().getAdPodInfo(),c,b);a.dispatchEvent(X({type:"adProgress",ad:a.getAd(),data:d}));ZD(a.j,c,b*1E3)}}b=a.getAd().getDuration();c=b-a.getRemainingTime();c<=b&&bI(a.I,hK,new gK(c,b))};j5.prototype.se=function(){this.sendMessage("getAdRemainingTime")}; var m5=function(a){var b={};U();b.pid="0";b.dn=a.vg;var c;b["if"]=(c=a.l)==null?void 0:c.getName();b.asys=a.getAd().getAdSystem();c=new P(BS(a.getAd()));b.vad=c.l.indexOf("vpaid_adapter.js")!==-1;b.atag=fz(c.g,"adTagUrl");var d=[];yS(a.getAd()).forEach(function(e){d.push(E(e.mimeType).toLowerCase())});b.mtypes=d.join(",");GQ().report(29,b)};j5.prototype.Ua=function(a){a.J.forEach(function(b){CQ(b)})};j5.prototype.ne=function(a){var b=a.A;b!=null&&(this.bb(b,a.C,null),this.pause());a.B.forEach(function(c){CQ(c)})}; j5.prototype.skip=function(){this.sendMessage("skipAd")};j5.prototype.toString=function(){return"vpaidman"};var q5=function(a,b){this.g=a;this.duration=b;this.Fb=new UR};l=q5.prototype;l.og=function(){return!1};l.isLinear=function(){return!0};l.qc=function(){return!0};l.getAdPodInfo=function(){return this.Fb};l.getDuration=function(){return this.duration};function r5(a){return TS(a,"nonlinear")&&BS(a)==null}function s5(a){GQ().report(100,{type:a})}function t5(a){var b=0;a.forEach(function(c){c&&c.qc()&&(b+=c.getDuration())});a.forEach(function(c,d){var e=c.getAdPodInfo();e.totalAds=a.length;c&&c.qc()&&(e.adPosition=d+1,e.g=b)})}var u5=function(){}; u5.prototype.create=function(a,b,c){if(a.length===0)throw Error("Ads manager creation failure, no ads.");var d=new q4(b.g);d=new Q2(d,b.A,b.C,b.l,b.B,b.j,b.N,b.J);d.o=b.o;b=a[0];if(b instanceof xS&&QS(b)&&r5(b))s5("adsense"),a=[new d3(a,d,c)];else{b=[];for(var e=0;e0)return this.g=null,Promise.resolve(M2(this));if(!(this.l.length>0||this.j))return Promise.resolve(null);this.g=new gz;return this.g.promise}; var y5=function(a){return a.l.length>0&&a.o.length<1&&!a.j},A5=function(a){a.D.pa(a.A,"adBreakFetched",a.K,!1,a);a.D.pa(a.A,"adBreakFetchError",a.O,!1,a)},z5=function(a){XG(a.D,a.A,"adBreakFetched",a.K,!1,a);XG(a.D,a.A,"adBreakFetchError",a.O,!1,a);var b;a.j=(b=a.l.shift())!=null?b:null;b=new v5;b.offset=a.offset;b.g=a.R;b.l=a.j;sP.setCompanionBackfill("on_master_ad");B5(a.A,a.j.oa,b)}; x5.prototype.K=function(a){var b=a.g;if(b.offset===this.offset){sP.setCompanionBackfill(this.F);A5(this);this.j=null;var c=a.o;this.B=[].concat(w(this.B),w(c));C5(this.B,this.offset,this.L,this.l.length,this.aa);this.o=[].concat(w(this.o),w(c));this.o.length>0&&(this.g&&(c=this.g.resolve,this.g=null,c(M2(this))),this.C.dispatchEvent(a));y5(this)&&z5(this);this.l.length>0||this.j||D5(this,b)}}; x5.prototype.O=function(a){a=a.g;a.offset===this.offset&&(sP.setCompanionBackfill(this.F),A5(this),this.j=null,C5(this.B,this.offset,this.L,this.l.length,this.aa),y5(this)&&z5(this),this.l.length>0||this.j||D5(this,a))};var D5=function(a,b){if(a.g){var c=a.g.resolve;a.g=null;c(null)}a.B.length===0&&(sP.getCompanionBackfill()==="always"&&a.A.Hf.B(OV()),b=new w5("adBreakFetchError",b),zR(NO),a.C.dispatchEvent(b))};x5.prototype.P=function(){sP.setCompanionBackfill(this.F);A5(this);L.prototype.P.call(this)}; function C5(a,b,c,d,e){var f=E5(e,a),g=a.length+d;a.forEach(function(h,k){var m=h.getAdPodInfo();m.totalAds=g;m.l=b;m.j=c;h&&h.qc()&&(m.adPosition=k+1,m.g=f)})}function E5(a,b){var c=0;a.forEach(function(e){(e=e.getMaxDuration())&&(c+=e)});if(c>0)return c;var d=0;b.forEach(function(e){e&&e.qc()&&(d+=e.getDuration())});return d>0?d:-1};var F5=function(a,b,c){this.j=a;this.g=b;this.l=c};F5.prototype.create=function(a){return new x5(this.j,[].concat(w(this.g.g.get(a)||[])),a,this.g.getPodIndex(a),this.l)};var G5=function(a,b,c,d){d=d===void 0?null:d;it.call(this,a);this.offset=b;this.g=c;this.l=d};q(G5,it);var I5=function(a,b,c){N.call(this);this.o=a;this.F=b;this.A=c;this.l=null;this.g=new Map;this.j=new VG(this);M(this,this.j);H5(this);this.B=uR(this.A).reduce(function(d,e){d.set(e,b.create(e));return d},new Map);this.D=new Set};q(I5,N); var J5=function(a,b){return[].concat(w(a.A.g.get(b)||[]))},K5=function(a,b,c){a.g.set(b,c);a.l===b&&(a.l=null)},L5=function(a){return[].concat(w(uR(a.A))).length===a.g.size};I5.prototype.start=function(){this.o.start();oR(this.o)};I5.prototype.P=function(){ZG(this.j);this.o.stop();N.prototype.P.call(this)}; var H5=function(a){a.j.listen(a.o,"OffsetTrackerEvent",function(b){var c=b.l;b=b.g;c==null||a.g.get(c)!=null?b==null||a.g.get(b)!=null||M5(a,b):(a.l=c,M5(a,c))})},M5=function(a,b){var c=a.B.get(b);a.D.has(b)?N5(a,b):c.G||(b=c.C,a.j.listen(b,"adBreakFetched",a.K),a.j.listen(b,"adBreakFetchError",a.G),c.G||(c.G=!0,z5(c)))},O5=function(a,b){a.j.pa(b,"adBreakFetched");a.j.pa(b,"adBreakFetchError")};I5.prototype.K=function(a){N5(this,a.g.offset)}; var N5=function(a,b){a.D.add(b);var c=a.B.get(b);O5(a,c.C);a.g.get(b)==null&&(a.l===b?(a.l=null,a.dispatchEvent(new G5("play",b,c))):a.l==null&&a.dispatchEvent(new G5("load",b,c)))};I5.prototype.G=function(a){a=a.g.offset;var b=this.B.get(a);O5(this,b.C);this.B.set(a,this.F.create(a));var c=zR(NO);this.dispatchEvent(new G5("error",a,b,c))};var Q5=function(a,b,c,d,e,f){D2.call(this,new P2);this.ca=a;this.D=c;this.ha=e;this.V=f;this.A=null;this.O=this.o=this.R=!1;this.l=null;this.F=this.B=this.G=!1;this.K=this.L=-1;a=e.playAdsAfterTime;e=uR(b);e=v(e);for(var g=e.next();!g.done;g=e.next())g=g.value,g!==-1&&g<=a&&b.remove(g);d=new nR(d,uR(b));M(this,d);this.g=new I5(d,new F5(c,b,f.C.j),b);M(this,this.g);this.j=new VG(this);M(this,this.j);P5(this);this.j.listen(c,"contentComplete",this.ia);this.volume=1;f.o.push(this.toString())};q(Q5,D2); l=Q5.prototype;l.resize=function(a,b){this.L=a;this.K=b;D2.prototype.resize.call(this,a,b)};l.discardAdBreak=function(){var a=this.U;R5(this)&&a instanceof s4&&a.j?S5(this):(a=rR(this.g.o),a!=null&&this.g.g.get(a)==null&&(K5(this.g,a,1),a===0&&T5(this),(L5(this.g)||this.o)&&U5(this)))};l.getCuePoints=function(){return[].concat(w(uR(this.g.A)))}; l.init=function(){var a=this;this.D.vd=!1;this.j.listen(this,"allAdsCompleted",function(){a.D.vd=!0});var b={};b=(b.cuepoints=this.getCuePoints(),b);b=X({type:"adMetadata",ad:this.getAd(),data:b});this.dispatchEvent(b);J5(this.g,0).length===0&&T5(this);this.g.start()};l.start=function(){sP.j||R5(this)&&this.B||(R5(this)?(this.B=!0,V5(this)):this.G=!0)}; var T5=function(a){a.R=!0;a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()}))},U5=function(a){a.O||(a.O=!0,a.dispatchEvent(X({type:"allAdsCompleted",ad:a.getAd()})))},V5=function(a){W5(a,"breakStart");a.l&&(nu(a.l),a.l=null);D2.prototype.start.call(a)};Q5.prototype.setVolume=function(a){this.volume=a;D2.prototype.setVolume.call(this,a)}; var Y5=function(a,b){a.A=b.offset;var c=a.ca;b=b.g;var d=a.V,e=a.ha,f=new q4(d.g);f=new Q2(f,d.A,d.C,d.l,d.B,d.j,d.N,d.J);f.o=d.o;c=new s4(new N2(b,f,c,e),f,e);a.U.Ka()||a.U.dispose();a.U=c;X5(a);a.U.setVolume(a.volume);a.U.resize(a.L,a.K);a.U.init()},X5=function(a){var b=[].concat(w(C2));a.j.listen(a.U,b,function(c){return void a.dispatchEvent(c)});a.j.listen(a.U,"contentResumeRequested",function(){P5(a);T5(a)});a.j.listen(a.U,"contentPauseRequested",function(c){a.j.pa(a.g,"load",a.ba);a.j.pa(a.g, "play",a.Z);a.j.pa(a.g,"error",a.W);a.dispatchEvent(c)});a.j.listen(a.U,"adError",function(c){c=c.getError()||wR(dP);a.dispatchEvent(X({type:"log",data:c}))});a.j.listen(a.U,"allAdsCompleted",function(){a.B=!1;if(a.g.g.get(-1)!=null&&(nQ=hQ(),a.V.l!=null)){var c=a.V.l.F();c!=null&&Z5(c)}a.R||T5(a);W5(a,"breakEnd");(L5(a.g)||a.o)&&U5(a);a.F&&(U5(a),a.dispose())})};Q5.prototype.ba=function(a){var b=a.offset;this.A!==b&&(b!==-1||this.Ec())&&Y5(this,a)}; Q5.prototype.Z=function(a){this.A!==a.offset&&Y5(this,a);K5(this.g,a.offset,0);var b=J5(this.g,0).length===1;a.offset===0&&b&&(this.Ec()||T5(this));sP.j?V5(this):$5(this,a.offset)}; Q5.prototype.ia=function(a){this.o||this.Ka()||this.F||(this.o=!0,this.g.g.get(-1)!=null&&this.g.g.get(-1)===1)||(L5(this.g)&&this.U instanceof P2?(this.dispatchEvent(X({type:"contentResumeRequested",ad:null})),U5(this)):L5(this.g)||this.g.g.get(-1)!==2?J5(this.g,-1).length>0?(a.l=!1,a=this.g.o,a.g.includes(-1)&&a.dispatchEvent(new mR(-1,null)),a.stop()):U5(this):(a.l=!0,U5(this)))}; Q5.prototype.W=function(a){K5(this.g,a.offset,2);var b=a.l||zR(NO);this.dispatchEvent(X({type:"log",data:b}));b={};this.dispatchEvent(X({type:"adBreakFetchError",ad:null,data:(b.adBreakTime=a.offset,b)}));((b=L5(this.g)||this.o)||a.offset===0)&&T5(this);b&&U5(this)};var P5=function(a){a.j.listen(a.g,"load",a.ba);a.j.listen(a.g,"play",a.Z);a.j.listen(a.g,"error",a.W)}; Q5.prototype.destroy=function(){this.l&&(nu(this.l),this.l=null);var a=this.U;R5(this)&&a instanceof s4&&a.j?(this.F=!0,S5(this)):(U5(this),this.dispose())};var S5=function(a){D2.prototype.destroy.call(a)},R5=function(a){return!(a.U instanceof P2)&&!a.U.Ka()},$5=function(a,b){b===0&&(a.l=mu(function(){T5(a)},100));b===-1&&(a.l=mu(function(){S5(a)},500));a.G&&(a.G=!1,a.B=!0,V5(a));var c={};b=(c.adBreakTime=b,c);b=X({type:"adBreakReady",ad:a.getAd(),data:b});a.dispatchEvent(b)}; Q5.prototype.P=function(){this.D.vd=!0;D2.prototype.P.call(this)};Q5.prototype.toString=function(){return"vmapman"};var W5=function(a,b){a.A!==null&&J5(a.g,a.A).forEach(function(c){DQ(LQ(c.X,b))})};function a6(a){var b=b===void 0?8:b;for(var c=[],d=0;d0&&(c.push(Math.round((e-b)*1E3)/1E3),c.push(Math.round(e*1E3)/1E3))}return c};var b6=function(a,b,c,d){this.j=a;this.g=b;this.V=c;this.l=d};b6.prototype.build=function(a,b){a.enablePreloading&&PQ(this.V.j.o)?c6(this.V.A,2):c6(this.V.A,1);if(this.g instanceof sR){var c=this.g,d=this.j,e=this.V,f=new u5;GQ().report(100,{type:"vmap"});a=new Q5(f,c,d,b,a,e)}else b=this.g,c=this.V,d=new u5,t5(b),a=d.create(b,c,a);this.l(a);return a};var d6=function(a,b){L.call(this);this.g=new VG(this);M(this,this.g);this.g.listen(b,"userInteraction",this.j);this.I=a};q(d6,L);d6.prototype.j=function(a){switch(a.messageType){case "focusSkipButton":bI(this.I,ZI,null);break;case "focusUiElement":bI(this.I,YI,null)}};var e6=function(a,b,c,d,e){L.call(this);var f=this;this.L=a;this.container=b;this.ha=c;this.o=d;this.D=e;this.l=this.g=null;this.F=-1;this.C=[];this.B={};this.A=null;this.D.start();this.j=new VG(this);this.Z=new d6(this.container.kc(),this.o);this.ra=null;this.j.listen(this.o,"adsManager",this.W);this.j.listen(this.o,"userInteraction",this.ba);this.A=yt(window,"beforeunload",function(){f.g&&f.g.zf()})};q(e6,L); e6.prototype.P=function(){var a=this;this.g&&this.g.destroy();this.A&&(Gt(this.A),this.A=null);Ro(this.l);Ro(this.Z);mu(function(){Ro(a.j)},0);L.prototype.P.call(this)};e6.prototype.R=function(a){var b={};b=(b.vpaidEventType=a.l,b.session=a.g,b);this.sendMessage(a.type,b)};e6.prototype.W=function(a){try{f6(this,a.messageType,a.Eb)}catch(b){g6(this,b)}};e6.prototype.ba=function(){var a;(a=this.g)==null||a.tc()}; var g6=function(a,b){b instanceof yO?(b.getErrorCode(),h6(a,b)):h6(a,wR(RO,b));a.dispose()},f6=function(a,b,c){if(b!=="start"||a.g)if(a.g||b==="init")var d=!1;else a.C.push({type:b,data:c}),d=!0;else h6(a,wR(GO,null,"Should call init before calling start.")),d=!0;if(!d)switch(b){case "init":if(a.g)break;a.ha.append(c.adsRenderingSettings);try{var e=a.L.build(a.ha,a.D);a.j.listen(e,tQ,a.O);a.j.listen(e,"adError",a.aa);a.j.listen(e,uQ,a.R);a.g=e}catch(O){g6(a,O);break}for(;a.C.length!==0;){var f=a.C.shift(); f6(a,f.type,f.data)}a.l==null&&(a.l=new lu(200));a.j.listen(a.l,"tick",a.G);a.l.start();a.g.init();io()||a.j.listen(Qe(),"resize",a.K);break;case "skip":var g;(g=a.g)==null||g.skip();break;case "start":var h;(h=a.g)==null||h.start();break;case "stop":if(a.g&&a.g instanceof Q5)S5(a.g);else{var k;(k=a.g)==null||k.destroy()}break;case "navigationRequestedFailed":var m;(m=a.g)==null||m.resume();b=wR(SO,null,(f=c.url)!=null?f:"unknown");f={};a.sendMessage("log",(f.logData=AO(b),f));break;case "pause":var p; (p=a.g)==null||p.pause();break;case "resume":var n;(n=a.g)==null||n.resume();break;case "destroy":a.dispose();break;case "expand":var r;(r=a.g)==null||r.expand();break;case "collapse":var u;(u=a.g)==null||u.collapse();break;case "volume":var t;(t=a.g)==null||t.setVolume(c.volume);break;case "resize":var z;(z=a.g)==null||z.resize(c.width,c.height);break;case "discardAdBreak":a.g&&a.g instanceof Q5&&a.g.discardAdBreak();break;case "updateAdsRenderingSettings":if(c==null)break;a.ha.append(c.adsRenderingSettings); break;case "click":var A;(A=a.g)==null||A.Xc();break;case "appForegrounding":var H;(H=a.g)==null||H.tc();break;case "appBackgrounding":var F;(F=a.g)==null||F.Kc()}}; e6.prototype.O=function(a){var b=i6(this,a.type,a.getAd()),c=a.getAdData()||{};switch(a.type){case "adBreakReady":case "adBreakFetchError":case "trackingUrlPinged":case "mediaUrlPinged":this.sendMessage(a.type,c);break;case "adProgress":c instanceof p3&&(b={},b.adBreakDuration=c.adBreakDuration,b.adPosition=c.adPosition,b.currentTime=c.currentTime,b.duration=c.duration,b.totalAds=c.totalAds,this.sendMessage(a.type,b));break;case "interaction":c={};this.sendMessage(a.type,(c.adData=b,c.interactionData= a.getAdData(),c));break;case "adMetadata":b=c.cuepoints;if(!b)break;c=a6(b);var d={};this.sendMessage(a.type,(d.adCuePoints=b,d.internalCuePoints=c,d));break;case "complete":this.sendMessage("remainingTime",{currentTime:-1,duration:-1,remainingTime:-1});c={};this.sendMessage(a.type,(c.adData=b,c));break;case "allAdsCompleted":j6(this);c={};this.sendMessage(a.type,(c.adData=b,c));break;case "loaded":a=a.getAd();if(!a){h6(this,wR(RO));break}a.getContentType()!=null&&(b.contentType=a.getContentType()); a={};a=(a.adData=b,a);this.sendMessage("loaded",a);break;case "videoIconClicked":a=c.clickThroughUrl;(jQ().F||a)&&this.sendMessage("videoIconClicked",c);break;case "iconFallbackImageClosed":this.sendMessage("iconFallbackImageClosed");break;case "click":a={};this.sendMessage("click",(a.adData=b,a));break;case "log":c=a.getAdData();if(!c)break;if(!(c instanceof yO))break;c=AO(c);d={};this.sendMessage(a.type,(d.adData=b,d.logData=c,d));break;case "companionBackfill":this.sendMessage("companionBackfill"); break;case "volumeChange":b={};this.sendMessage(a.type,(b.adData=c,b));break;case "navigationRequested":a=c.url;if(!a)break;(new P(a)).o||(a=aX(a),c.url=a);jQ().aj?(b=a,(a=c.attributionSrc)&&oB(HC)&&(b=new P(b),$y(b,"ase")==="3"&&$y(b,"asrd")==="1"&&(a=new P(a),Oy(a,"googleadservices.com"),a=a.toString())),c.attributionSrc=a,this.sendMessage("navigationRequested",c)):this.ha.disableClickThrough||dI(a,c.attributionParams);break;case "setPaidV2UserEnabled":case "updateGfpCookie":this.sendMessage(a.type, c);break;default:c={},this.sendMessage(a.type,(c.adData=b,c))}};e6.prototype.aa=function(a){var b=this;j6(this);this.j.pa(Qe(),"resize",this.K);h6(this,a.getError());mu(function(){return b.dispose()})};var j6=function(a){a.j.pa(a.l,"tick",a.G);Ro(a.l);a.l=null;a.sendMessage("remainingTime",{currentTime:-1,duration:-1,remainingTime:-1})}; e6.prototype.G=function(){var a,b=(a=this.g)==null?void 0:a.getRemainingTime();if(this.F!==b&&b!==void 0){this.F=b;var c,d;a={currentTime:(c=this.g)==null?void 0:c.getCurrentTime(),duration:(d=this.g)==null?void 0:d.getDuration(),remainingTime:b};this.sendMessage("remainingTime",a)}};e6.prototype.K=function(){try{var a;(a=this.g)==null||a.Mb()}catch(b){g6(this,b)}}; var i6=function(a,b,c){if(c==null)return{};var d=kT(c);b==="start"&&(a.B[c.getAdId()]==null&&(b=DS(c)||[],a.B[c.getAdId()]=b.map(function(e){return tU(e)})),d.companions=a.B[c.getAdId()]);return d};e6.prototype.sendMessage=function(a,b){b=b===void 0?{}:b;bR(this.o,"adsManager",a,b)};var h6=function(a,b){b=AO(b);a.sendMessage("error",b)};var k6=function(a){this.g=a};var l6=function(){this.g=new Map},m6=function(a,b){a.g.clear();for(var c=0;c<1;c++)a.g.set(new k6(b),!1)};var n6=["videoDisplay1","videoDisplay2"],o6=function(a){this.l=a;this.j=new Set;this.g=[]},c6=function(a,b){a.j.clear();a.g=n6.slice(0,b).map(function(c){return new aR(a.l,c)})},b4=function(a){if(a.g.length>0){var b=a.g.shift();a.j.add(b);return b}return null},S3=function(a,b){b&&(a.j.delete(b),a.g.push(b))},c4=function(a){for(var b=v(a.j),c=b.next();!c.done;c=b.next())c=c.value,c.reset(jQ().o),c.unload(),a.g.unshift(c)};var p6=function(a,b){it.call(this,"adsLoaded");this.g=a;this.l=b};q(p6,it);var q6=function(a,b){this.l=a;this.j=b;this.ra=null};q6.prototype.encrypt=function(a){var b=this;return y(function(c){if(c.g==1)return c.l=2,x(c,b.l.encrypt(a),4);if(c.g!=2)return c.return(c.j);xa(c);return c.return("")})};var r6=function(a){this.ads=a},t6=function(a,b){(b=s6(a,b))&&a.ads.splice(a.ads.indexOf(b),1);return b},s6=function(a,b){b<=0&&(b=120);return a.ads.find(function(c){return c.getDuration()>0&&c.getDuration()<=b})||null};var v6=function(a,b){this.j=a;a=u6(a,b);b=a.Uh;this.g=a.bn;this.Uh=b},w6=function(a){return a.j.reduce(function(b,c){var d;return[].concat(w(b),w((d=a.g.get(c))!=null?d:[]))},[])},x6=function(a,b){a.Uh.forEach(function(c){var d=t6(b,c.getDuration());d&&a.g.set(c,[d])})},u6=function(a,b){var c=new Map,d=[];a.forEach(function(e){if(e.l){var f=[];b.forEach(function(g){var h;a:{for(h=g.Y;h;){if(h===e){h=!0;break a}h=h.Y}h=!1}h&&f.push(g)});f.length===0&&d.push(e);c.set(e,f)}else c.set(e,[e])});return{bn:c, Uh:d}};var y6=function(a,b,c){this.N=a;this.J=b;this.A=c;this.j=this.o=null;this.B=!1;this.C=0;this.g=new v6(this.A,[]);this.l=new r6([])},z6=function(a,b){a=a.length===0;var c=b.length>=2,d=b.length>0,e;if(e=a)b=b[0],e=QS(b)&&TS(b,"nonlinear")&&BS(b)==null;return e?!1:a&&c||!a&&d};l=y6.prototype; l.Hd=function(a,b){var c=this;if(this.B){var d=t6(this.l,this.C);d?a([d]):b(zR(NO))}else{var e=!1,f=!1;this.N.Hd(function(g){c.g=new v6(c.A,g);f&&A6(c,a,b);e=!0},function(g){c.o=g;f&&A6(c,a,b);e=!0});this.J.Hd(function(g){c.l=new r6(g);e&&A6(c,a,b);f=!0},function(g){c.j=g;e&&A6(c,a,b);f=!0})}};l.Qf=function(){return z6(this.A,this.l.ads)};l.oc=function(){throw Error("Do not use hasMoreAds in ad buffet ad source.");};l.jc=function(){throw Error("Do not use getNextAd in ad buffet ad source.");}; l.Vj=function(){throw Error("Do not use numInlineAdsProduced in ad buffet ad source.");};l.Vd=function(a){this.C=a;this.B=!0};var A6=function(a,b,c){a.o&&a.j?a.A.length>0&&a.o?c(a.o):a.j?c(a.j):(a=zR(NO),c(a)):a.j?b(w6(a.g)):a.o?(x6(a.g,a.l),w6(a.g).length>0?b(w6(a.g)):(a=zR(NO),c(a))):(x6(a.g,a.l),b(w6(a.g)))};var B6=function(a,b){this.C=a;this.A=b;this.g=this.j=0;this.l=-1;this.o="none"},C6=function(a,b){a.j+=1;a.o=b instanceof sR?"map":"src";GQ().report(176,{sic:a.j,eic:a.g,lst:a.o,lec:a.l});a.j>1||a.g>1||a.C(b)},D6=function(a,b){a.g+=1;a.l=b.getErrorCode();GQ().report(176,{sic:a.j,eic:a.g,lst:a.o,lec:a.l});a.j>1||a.g>1||a.A(b)};var E6=function(a,b,c,d){this.C=a;this.J=b;this.oa=c;this.N=d;this.Va=this.B=!0;this.l=-1;this.g=null;this.D=this.A=0;this.o=null;this.ads=this.C.length>0?this.C:this.J;this.ra=null};E6.prototype.Hd=function(a,b){F6(this,a,b)}; var G6=function(a,b,c){var d=[],e=function(f){a.oc()?a.jc(function(g){d.push(g);e(null)},function(g){e(g)}):d.length>0?b(d):(f==null&&(f=zR(NO)),c(f))};e(null)},F6=function(a,b,c){var d=[],e=[];H6(a,d,e);Promise.all(e).then(function(){return I6(a,d,b,c)},function(){return c(zR(VO))})},H6=function(a,b,c){a.ads.forEach(function(d){var e=[];b.push(e);d.l?J6(a,d)||(d=K6(a,d,e,function(f){return a.o=f}),c.push(d)):e.push(d)})},J6=function(a,b){if(KS(b)>=sP.getNumRedirects()){var c=a.j(b,ZO,null,String(sP.getNumRedirects())); L6(a,b,c);return!0}return a.B?!1:(a.o=a.j(b,aP),!0)},I6=function(a,b,c,d){var e=[];b.forEach(function(f){f.forEach(function(g){return a.uf(g,function(h){return e.push(h)},function(h){return a.o=h})})});e.length>0?c(e):(a.o===null&&(a.o=zR(NO)),d(a.o))},K6=function(a,b,c,d){return new Promise(function(e,f){var g=fD(a.oa,b.O);a.N.fetch(g,new B6(function(h){h instanceof E6?M6(a,h,b,c,d,e,f):(h=new yO("adLoadError","Ad source cannot contain playlist response.",2),zO(h,b),d(h),e())},function(h){h=N6(a, h,b);L6(a,b,h);d(h);e()}))})},M6=function(a,b,c,d,e,f,g){O6(b,c,a.Va&&c.Va,c.Id);b.ads.length===0?(L6(a,c,a.j(c,bP)),f()):b.Hd(function(h){d.push.apply(d,w(h));f()},function(h){L6(a,c,h);e(h);h.getErrorCode()===301&&g();f()})};l=E6.prototype;l.oc=function(){return this.g!=null&&this.g.oc()?!0:this.ads.length>0&&this.l0?a:b:a.length===1?a:b.slice(0,1)}; E6.prototype.uf=function(a,b,c){var d;if(!(d=a.g!=null)){var e=this.oa;d=e.nonLinearAdSlotWidth||0;e=e.nonLinearAdSlotHeight||0;QS(a)&&!a.l?TS(a,"nonlinear")?q3(a,d,e):r3(a):TS(a,"linear")?r3(a):TS(a,"nonlinear")&&q3(a,d,e);d=a.g!=null}d||a.getAdId()==="privacy_sandbox"?(this.A++,b(a)):(b=a.qa.length===0?this.j(a,WO):a.isLinear()?this.j(a,TO):this.j(a,YO),zO(b,a),S6(b,a),c(b))};E6.prototype.Ai=function(a,b,c){var d=fD(this.oa,a.O);T6(this,a,d,b,c)}; var T6=function(a,b,c,d,e){a.N.fetch(c,new B6(function(f){f instanceof E6?(O6(f,b,a.Va&&b.Va,b.Id),d(f)):f instanceof sR?(f=new yO("adLoadError","Ad source cannot contain playlist response.",2),zO(f,b),e(f)):(f=new yO("adLoadError","Unknown ad source.",2),zO(f,b),e(f))},e))},P6=function(a,b,c){var d;if((d=a.g)!=null&&d.oc()){var e;(e=a.g)==null||e.jc(function(g){a.uf(g,b,function(h){a.oc()?a.jc(b,c):c(h)})},function(g){L6(a,a.ads[a.l],g);a.g=null;g.getErrorCode()===301?c(g):a.oc()?a.jc(b,c):c(g)})}else{var f; ((f=a.g)==null?void 0:f.Vj())===0&&(d=a.ads[a.l],L6(a,d,a.j(d,bP)));a.g=null;a.jc(b,c)}},L6=function(a,b,c){a.o=c;S6(c,b)},Q6=function(a,b,c){a.l++;var d=a.ads[a.l];if(d.l)if(KS(d)>=sP.getNumRedirects()){var e=a.j(d,ZO,null,String(sP.getNumRedirects()));L6(a,d,e);c(e)}else a.B?a.Ai(d,function(f){a.g=f;a.jc(b,c)},function(f){f=N6(a,f,null);L6(a,d,f);c(f)}):(e=a.j(d,aP),c(e));else a.uf(d,b,c)},N6=function(a,b,c){switch(b.getErrorCode()){case 300:case 301:case 302:case 303:case 200:case 1005:zO(b,c); break;default:b.getAd()&&(c=b.getAd()),b=a.j(c,bP)}return b},O6=function(a,b,c,d){a.ads.forEach(function(e){e.Y=b;JS(e)});R6(a,c);a.B=d};E6.prototype.j=function(a,b,c){var d=zR.apply(null,[b,c].concat(w(Ea.apply(3,arguments))));zO(d,a);return d};var S6=function(a,b){var c=b.G,d=a.getAd();d&&(b=d);a=dU(a,b);DQ(c,a)};var U6=function(a,b,c){E6.call(this,[],a,b,c)};q(U6,E6);U6.prototype.Qf=function(){return V6(this)>0};var V6=function(a){var b=a.ads.length-(a.l<0?1:a.l+1);return a.g!=null&&a.g instanceof U6?b+V6(a.g):b};l=U6.prototype;l.Hd=function(a,b){G6(this,a,b)};l.oc=function(){if(this.g!=null&&this.g.oc())return!0;var a=this.A===0||this.A===this.D;return this.ads.length>0&&a&&this.l0&&OS(a.g[0])>=0?new U6(a.g,c,b):z6(a.j,a.g)?new y6(new E6(a.j,[],c,b),new E6([],a.g,c,b),a.j):new E6(a.j,a.g,c,b)},W6=function(a){a=a.filter(function(b){return b.getPodIndex()>0});a.sort(function(b,c){return b.getPodIndex()-c.getPodIndex()});return a},X6=function(a){return a.filter(function(b){return b.getPodIndex()===-1})};var $6=function(a,b,c,d){this.j=a;this.l=b;this.o=c;this.g=d;this.ra=null}; $6.prototype.fetch=function(a,b){if(a.adsResponse!=null&&(typeof a.adsResponse==="string"&&!D(a.adsResponse)||a.adsResponse instanceof Document||a.adsResponse instanceof Element))a:{var c=null;if(a.adsResponse instanceof Element)c=a.adsResponse;else if(a.adsResponse instanceof Document)c=a.adsResponse.documentElement;else try{c=UG(a.adsResponse).documentElement}catch(e){D6(b,zR(QO,e));break a}if(c){var d=Ua();a7(this,c,a,d,d,b)}else D6(b,zR(QO))}else tD(a.adTagUrl||"")?b7(this,a,b):c7(this,a,b)}; var c7=function(a,b,c){var d;if(!(d=b.adTagUrl==null))a:{try{Bd(b.adTagUrl)}catch(e){d=!1;break a}d=!0}d?sP.N?OT(function(e){return void d7(a,b,c,e)}):d7(a,b,c):D6(c,zR(KO,null,b.adTagUrl))},b7=function(a,b,c){a.j?a.j.K().then(function(){return void c7(a,b,c)}).catch(function(){}):c7(a,b,c)},d7=function(a,b,c,d){d=d===void 0?"":d;var e,f,g,h,k;return y(function(m){if(m.g==1)return e7(b.adTagUrl||""),x(m,f7(a,b,d),2);e=m.j;f=MP(a.g.g);g=a.g.Gb;h=new NG(b.vastLoadTimeout);k=Date.now();return m.return(a.o.get({url:e, timeout:h,withCredentials:!f,browsingTopics:g}).then(function(p){var n;return(n=p.documentElement)!=null?n:Promise.reject()}).then(function(p){a7(a,p,b,k,Date.now(),c)},function(p){var n="",r=zR(JO);p instanceof Error&&(r=zR(JO,p),n=p.message,n==="8"||p instanceof DOMException&&p.name==="AbortError")&&(r=zR(VO,p));D6(c,r);p=n;p={rt:jP(b.adTagUrl||""),ec:p};GQ().report(18,p)}))})},f7=function(a,b,c){var d,e,f,g,h;return y(function(k){if(k.g==1)return b.adTagUrl=zX(b.adTagUrl),d=A2(b,a.g,a.j),e=new P(d.g(b)), a.g.C==="tvos"&&oB(GC)&&(f=e.j,f==="googleads.g.doubleclick.net"||f==="www.googleads.g.doubleclick.net"?Oy(e,"googleads-att.g.doubleclick.net"):(f==="pubads.g.doubleclick.net"||f==="www.pubads.g.doubleclick.net")&&Oy(e,"pubads-att.g.doubleclick.net")),(g=D(c)?null:c)&&eS(e.j)&&e.g.set("ged",g),x(k,mU(b,function(m){var p=a.l;if(!p.g){m=uX(m,p.j);var n=encodeURIComponent(Gc());m.set("useragent",n);g&&m.set("ged",g);n=sP.o;n==null||m.set("adsid",n);m=$W(m);p.g=p.encrypt(m)}p=p.g;return p}),2);h=k.j; return k.return(BQ(e.toString(),h))})},e7=function(a){a={rt:jP(a)};GQ().report(17,a)},a7=function(a,b,c,d,e,f){var g=null,h=null;try{var k=AV(b,c);if(!k)throw zR(QO);var m=k.g();g7(a,m,c,d,e,new B6(function(p){g=p},function(p){h=p}))}catch(p){h=p instanceof yO?p:zR(RO,p)}h!=null?D6(f,h):g&&C6(f,g)},g7=function(a,b,c,d,e,f){var g=b.g,h=b.j;if(g!=null)C6(f,g);else if(h&&h.length>0){h.forEach(function(m){m.oa=c;JS(m);m=m.ub;m.A=d;m.o=e});var k=Z6(new Y6(h),a,c);h.forEach(function(m){m.B=k});C6(f,k)}else throw a= zR(bP),b=b.ye,f=dU(a),DQ(b,f),a;};var h7=function(a,b,c,d){this.l=a;this.o=d;this.g=new AX;this.j=!1;this.ra=null;this.A=new $6(this.l,b,c,d)};h7.prototype.requestAds=function(a,b,c){var d=this,e=function(g){b(g);g=d.g;BX(g);g.g.pop();d.j=!1;i7(d)},f=function(g){c(g);g=d.g;BX(g);g.g.pop();d.j=!1;i7(d)};CX(this.g,function(){return void j7(d,a,e,f)});i7(this)}; var i7=function(a){if(!a.j){var b=a.g;BX(b);b=b.g;b=b[b.length-1];b!=null&&(a.j=!0,b())}},j7=function(a,b,c,d){var e=kP(b.adTagUrl);e!=null&&qD(b.adTagUrl||"")&&(a.o.Ua=e);a.A.fetch(b,new B6(function(f){f instanceof sR?c(f):f.Hd(c,d)},d))};var k7=function(a,b,c,d,e){N.call(this);this.Hf=a;this.ql=e;this.vd=!0;this.ra=this.g=null;this.j=new q6(b,d);this.l=new h7(a,this.j,c,d)};q(k7,N);k7.prototype.requestAds=function(a,b){var c=this;this.vd&&(a.adTagUrl&&!EF(a.adTagUrl)?l7(this,new yO("adLoadError","URI malformed",1005),b):(this.j.g=void 0,this.l.requestAds(a,function(d){c.vd?m7(c,d,b):n7(c,d,b)},function(d){return void l7(c,d,b)})))}; var B5=function(a,b,c){a.vd||a.l.requestAds(b,function(d){a.vd?m7(a,d,c):n7(a,d,c)},function(d){return void l7(a,d,c)})};k7.prototype.contentComplete=function(){var a=new w5("contentComplete",new v5);this.dispatchEvent(a);a.l&&(nQ=hQ(),a=this.Hf.F(),a!=null&&Z5(a))}; var m7=function(a,b,c){var d;y(function(e){if(e.g==1){if(b instanceof sR){a.dispatchEvent(new p6(b,c));e.g=0;return}o7(b);d=b;a.g?e=x(e,p7(a.g,b),4):(e.g=3,e=void 0);return e}e.g!=3&&(d=e.j);d instanceof yO?l7(a,d,c):a.dispatchEvent(new p6(d,c));e.g=0})},n7=function(a,b,c){var d;y(function(e){if(e.g==1){if(b instanceof sR)return l7(a,zR(EO,null,"Unsupported ad format."),c),e.return();o7(b);d=b;a.g?e=x(e,p7(a.g,b),3):(e.g=2,e=void 0);return e}e.g!=2&&(d=e.j);if(d instanceof yO)l7(a,d,c);else{var f= new w5("adBreakFetched",c);f.o=d;a.dispatchEvent(f)}e.g=0})},l7=function(a,b,c){a.vd?(sP.getCompanionBackfill()==="always"&&a.Hf.B(OV()),b=new yR(b),b.dj=c,a.dispatchEvent(b)):a.dispatchEvent(new w5("adBreakFetchError",c))},o7=function(a){for(var b={},c=v(a),d=c.next();!d.done;d=c.next()){d=FS(d.value);d=v(d.entries());for(var e=d.next();!e.done;e=d.next()){var f=v(e.value);e=f.next().value;f=f.next().value;var g=void 0;b[e]=((g=b[e])!=null?g:0)+f.length}}GQ().report(199,{adCount:a.length,extensionCounts:JSON.stringify(b)})};var q7=function(){this.g=[];this.j=!1};q7.prototype.push=function(a){this.g.push(a);this.j||r7(this)};var r7=function(a){var b=a.g.shift();b!=null&&(a.j=!0,b(),mu(function(){a.j=!1;a.g.length!==0&&r7(a)},4))};var s7=function(){GV.apply(this,arguments)};q(s7,GV); s7.prototype.sendMessage=function(a){var b=t7(a,this.j);u7.push(function(){var c=a.name,d=b;d=d===void 0?null:d;switch(v7){case 0:c=["gmsg://","afma.google.com/",c];var e="?";for(f in d)c.push(e,f,"=",encodeURIComponent(d[f].toString())),e="&";c.push(e,"dt","=",(new Date).getTime());var f=document.getElementById("afmanotify");!f&&document.body&&(f=document.createElement("iframe"),f.setAttribute("id","afmanotify"),f.setAttribute("style","display: none;"),document.body.appendChild(f));f.setAttribute("src", c.join(""));break;case 2:c={name:c,data:d};try{var g,h,k;(e=Qe())==null||(g=e.webkit)==null||(h=g.messageHandlers)==null||(k=h.bridge)==null||k.postMessage(c)}catch(m){}break;case 3:f=B.browserlessSender;f!=null&&f(c,d);break;case 4:f=B.androidWebViewCompatSender,d=Xb(d),d.name=c,c=JSON.stringify(d),f!=null&&f.postMessage&&f.postMessage(c)}})}; var x7=function(a){a=(a===void 0?null:a)||"*";var b=w7.get(a);b==null&&(b=new s7(a),w7.set(a,b));return b},t7=function(a,b){var c=a.type,d=sQ[a.type];d&&(c=d);b={type:c,sid:b};a.data!=null&&(c=JSON.stringify(a.data),b.data=c);a.id&&(b.id=a.id);a.g&&(b.replyToMessageId=a.g);return b},v7=0,w7=new Map,u7=new q7;new DOMParser;hP("3.25.1");function y7(a,b){try{var c=a.split(".");a=B;for(var d=0,e;a!=null&&d>2)+b.charCodeAt(e)&4294967295;b=d>0?d:4294967296+d}return b%1E3}};var P7=[12,13,20],Q7=function(a,b,c,d){d=d===void 0?{}:d;var e=d.Sh===void 0?!1:d.Sh;d=d.On===void 0?[]:d.On;this.mf=a;this.qd=c;this.o={};this.Sh=e;a={};this.g=(a[b]=[],a[4]=[],a);this.j={};this.l={};if(b=Vm())for(b=v(b.split(",")||[]),a=b.next();!a.done;a=b.next())(a=Number(a.value))&&(this.j[a]=!0);d=v(d);for(b=d.next();!b.done;b=d.next())this.j[b.value]=!0},T7=function(a,b,c,d){var e=[],f;if(f=b!==9)a.o[b]?f=!0:(a.o[b]=!0,f=!1);if(f)return Pw(a.qd,b,c,e,[],4),e;f=P7.includes(b);for(var g=[],h= [],k=v([0,1,2]),m=k.next();!m.done;m=k.next()){m=m.value;for(var p=v(a.mf[m].entries()),n=p.next();!n.done;n=p.next()){var r=v(n.value);n=r.next().value;r=r.next().value;var u=n,t=r;n=new Jv;r=t.filter(function(O){return O.Zf===b&&a.j[O.dc.getId()]&&R7(a,O)});if(r.length)for(n=v(r),r=n.next();!r.done;r=n.next())h.push(r.value.dc);else if(!a.Sh){r=void 0;m===2?(r=d[1],Sj(n,2,Kv,yi(u))):r=d[0];var z=void 0,A=void 0;r=(A=(z=r)==null?void 0:z(String(u)))!=null?A:m===2&&nk(t[0].eh,11)===1?void 0:d[0](String(u)); if(r!==void 0){u=v(t);for(t=u.next();!t.done;t=u.next())if(t=t.value,t.Zf===b){z=r-t.wk;var H=t;A=H.Rj;var F=H.Sj;H=H.nn;z<0||z>=A*F||z%F!==H||!R7(a,t)||(z=nk(t.eh,13),z!==0&&z!==void 0&&(A=a.l[String(z)],A!==void 0&&A!==t.dc.getId()?Qw(a.qd,a.l[String(z)],t.dc.getId(),z):a.l[String(z)]=t.dc.getId()),h.push(t.dc))}Uj(n,Kv)!==0&&(rk(n,3,r),g.push(n))}}}}d=v(h);for(h=d.next();!h.done;h=d.next())h=h.value,k=h.getId(),e.push(k),S7(a,k,f?4:c),gx(bk(h,jv,2,Ej()),f?ix():[c],a.qd,k);Pw(a.qd,b,c,e,g,1);return e}, S7=function(a,b,c){a.g[c]||(a.g[c]=[]);a=a.g[c];a.includes(b)||a.push(b)},R7=function(a,b){var c=ug(Sw).Wb,d=hv(I(b.eh,Zu,3),c);if(!d.success)return Rw(a.qd,I(b.eh,Zu,3),b.Zf,b.dc.getId(),d),!1;if(!d.value)return!1;c=hv(I(b.dc,Zu,3),c);return c.success?c.value?!0:!1:(Rw(a.qd,I(b.dc,Zu,3),b.Zf,b.dc.getId(),c),!1)},U7=function(a,b){b=b.map(function(c){return new I7(c)}).filter(function(c){return!P7.includes(nk(c,1))});a.mf=M7(a.mf,b)},V7=function(a,b){kx(1,function(c){a.j[c]=!0},b);kx(2,function(c, d,e){return T7(a,c,d,e)},b);kx(3,function(c){return(a.g[c]||[]).concat(a.g[4])},b);kx(12,function(c){return void U7(a,c)},b);kx(16,function(c,d){return void S7(a,c,d)},b)};var W7=function(){this.g=function(){}},X7=function(a,b){a.g=lx(14,b,function(){})};function Y7(a){ug(W7).g(a)};var Z7,$7,a8,b8,c8,d8; function e8(a){var b=a.xm;var c=a.Wb;var d=a.config;var e=a.Zl===void 0?E7():a.Zl;var f=a.sj===void 0?0:a.sj;var g=a.qd===void 0?new Nw((b8=(Z7=I(b,J7,5))==null?void 0:kk(Z7,2))!=null?b8:0,(c8=($7=I(b,J7,5))==null?void 0:kk($7,4))!=null?c8:0,(d8=(a8=I(b,J7,5))==null?void 0:hk(a8,3))!=null?d8:!1):a.qd;a=a.mf===void 0?L7(bk(b,I7,2,Ej(Ph))):a.mf;e.hasOwnProperty("init-done")?(lx(12,e,function(){})(bk(b,I7,2,Ej()).map(function(h){return Xk(h)})),lx(13,e,function(){})(bk(b,jv,1,Ej()).map(function(h){return Xk(h)}),f), c&&lx(14,e,function(){})(c),f8(f,e)):(V7(new Q7(a,f,g,d),e),mx(e),nx(e),ox(e),f8(f,e),gx(bk(b,jv,1,Ej(Ph)),[f],g,void 0,!0),Tw=Tw||!(!d||!d.tq),Y7(D7),c&&Y7(c))}function f8(a,b){var c=b=b===void 0?E7():b;qx(ug(px),c,a);g8(b,a);a=b;X7(ug(W7),a);ug(vP).j()} function g8(a,b){var c=ug(vP);c.g=function(d,e){return lx(5,a,function(){return!1})(d,e,b)};c.o=function(d,e){return lx(6,a,function(){return 0})(d,e,b)};c.A=function(d,e){return lx(7,a,function(){return""})(d,e,b)};c.C=function(d,e){return lx(8,a,function(){return[]})(d,e,b)};c.l=function(d,e){return lx(17,a,function(){return[]})(d,e,b)};c.j=function(){lx(15,a,function(){})(b)}};function h8(){var a=Ja("google.ima.NativeLoader.getIsGdprLoader");return a?a():!1}Ia("google.ima.NativeBridge.receiveMessage",function(a,b){try{var c=JSON.parse(b);if(c!=null){var d=c.sid;if(d!=null){var e=new HV(a,c.type,c.data||{},c.sid,"",c.id,c.replyToMessageId);x7().dispatchEvent(e);d!=="*"&&x7(d).dispatchEvent(e)}}}catch(f){}}); Ia("google.ima.NativeBridge.calculateIdlessState",function(a,b){b=b===void 0?{}:b;return MP(b.adTagUrl?CP(b.adTagUrl,a,h8()):b.adTagParameters?DP(b.adTagParameters,a,h8()):new BP(!1,{},a,h8()))});var j8=function(a,b){b=b===void 0?new VG:b;N.call(this);var c=this;this.j=this.o=null;this.g=a;this.l=b;M(this,this.l);this.B=new o6(this.g.Uc);this.A=new l6;NT(GT(),this.g.Uc);this.l.listen(this.g.Uc,"adsLoader",function(d){var e=new v5;e.g=d.gl;switch(d.messageType){case "requestAds":c.g.Ac(e.g);c.requestAds(d.Eb,e);break;case "requestStream":c.g.Ac(e.g);i8(c,d.Eb,e);break;case "contentComplete":var f;(f=c.j)==null||f.contentComplete();c.g.contentComplete();break;case "signalsRefresh":d=d.Eb;var g; jQ().secureSignals=(g=d.espSignals)!=null?g:null}});CM(function(){T(U(),"haib","1")})};q(j8,N);j8.prototype.P=function(){Ro(this.j);N.prototype.P.call(this)}; var l8=function(a,b,c){a.l.listen(b,"adsLoaded",function(d){k8(a,d,b,c)});a.l.listen(b,"adError",function(d){var e=d.dj.g,f=d.getError();if(f){d=f.getInnerError();var g={};f=(g.type=f.getType(),g.errorMessage=f.getMessage(),g.errorCode=f.getErrorCode(),g);d!=null&&(f.innerError=d.message);bR(a.g.Ac(e),"adsLoader","error",f)}})},k8=function(a,b,c,d){var e=b.g,f=b.l,g=f.adTagUrl||"";b=a.g.Ac(f.g);var h=f.j;new e6(new b6(c,e,new Q2(h,a.B,b,c.Hf,a.A,d,a.g.sl,c.ql),function(k){var m=a.g;if(m.g){m=m.g; var p;(p=m.l)!=null&&XG(p,k,tQ,m.L,!1,m);var n;(n=m.l)!=null&&XG(n,k,"adError",m.B,!1,m)}}),h,m8(),b,new lR(b,f.contentDuration));m6(a.A,b);c=n8(g,e);Ew(d.N,uk(I(d.N,uw,13)||new uw,2,Date.now()));bR(b,"adsLoader","adsLoaded",c)},n8=function(a,b){if(b instanceof sR){var c=uR(b);b=JF()}else c=[],b=b[0].og()&&JF();var d=a6(c),e={};c=(e.adCuePoints=c,e.internalCuePoints=d,e);tP();c.isCustomClickTrackingAllowed=b;c.adTagUrl=a;return c},o8=function(a){if(a!=null){var b=sP;if(a!=null){var c=a.activityMonitorMode; c!=null&&(b.O=c);c=a.autoPlayAdBreaks;c!=null&&b.setAutoPlayAdBreaks(c);c=a.companionBackfill;c!=null&&b.setCompanionBackfill(c);c=a.disableCustomPlaybackForIOS10Plus;c!=null&&b.setDisableCustomPlaybackForIOS10Plus(c);c=a.engagementDetection;c!=null&&(b.N=c);c=a.isFunctionalTest;c!=null&&(b.C=c);c=a.isVpaidAdapter;c!=null&&b.qk(c);c=a.numRedirects;c!=null&&b.setNumRedirects(c);c=a.playerType;c!=null&&b.setPlayerType(c);c=a.playerVersion;c!=null&&b.setPlayerVersion(c);c=a.ppid;c!=null&&b.setPpid(c); c=a.reportMediaRequests;c!=null&&(b.K=c);c=a.sessionId;c!=null&&b.setSessionId(c);c=a.supportsMultipleVideoDisplayChannels;c!=null&&(b.ta=c);c=a.testingConfig;c!=null&&(b.B=new mP(c));c=a.urlSignals;c!=null&&(b.J=c);c=a.vpaidMode;c!=null&&b.setVpaidMode(c);c=a.featureFlags;c!=null&&b.setFeatureFlags(c);b.o=a.adsToken||"";b.setCookiesEnabled(a.cookiesEnabled);b.F=a["1pJar"]||"";b.G=a.privacyControls||"";c=a.cookieDeprecationLabel;if(c!=null){b.L=c;var d;c=(d=a.cookieDeprecationLabelStatus)!=null?d: 0;b.W=c}}a.persistentStateCorrelator!=null&&(b=U(),TB(b,"c",a.persistentStateCorrelator),UB(U()));a.activeViewPushUpdates!=null&&(GT().B=a.activeViewPushUpdates);GQ().report(41,{mode:sP.g});a.backgroundPlayback!=null&&GQ().report(32);a.pipState!=null&&GQ().report(42,{state:a.pipState});Array.isArray(a.swiftLibraries)&&io()&&GQ().report(135,{count:a.swiftLibraries.length,libs:a.swiftLibraries.join("~")});b=a.pageCorrelator||0;a=a.streamCorrelator||0;b>0&&(mQ=b);a>0&&(nQ=a)}},p8=function(a){a!=null&& a.osdId!=null&&(GT().L=a.osdId)}; j8.prototype.requestAds=function(a,b){var c=this,d,e,f,g,h,k,m,p,n,r;return y(function(u){if(u.g==1){d=lQ(a);Ew(d.N,vw(new uw,Date.now()));e=a.adTagUrl;o8(a.settings);p8(a.videoEnvironment);q8(a);GT().B&&Br();d.g=CP(e,a.consentSettings||{},c.g.qg());e!=null&&(b.adTagUrl=e);GQ().report(165,NP(d.g));var t=new eD;t.adTagUrl=a.adTagUrl;t.adsResponse=a.adsResponse;t.linearAdSlotWidth=a.linearAdSlotWidth||0;t.linearAdSlotHeight=a.linearAdSlotHeight||0;t.nonLinearAdSlotWidth=a.nonLinearAdSlotWidth||0;t.nonLinearAdSlotHeight= a.nonLinearAdSlotHeight||0;t.forceNonLinearFullSlot=a.forceNonLinearFullSlot||!1;t.contentDuration=a.contentDuration||null;t.contentKeywords=a.contentKeywords||null;t.contentTitle=a.contentTitle||null;a.vastLoadTimeout!=null&&a.vastLoadTimeout>0&&(t.vastLoadTimeout=a.vastLoadTimeout);t.l=a.videoContinuousPlay||"0";t.g=a.videoPlayActivation||"unknown";t.o=a.videoPlayMuted||"unknown";t.omidAccessModeRules=a.omidAccessModeRules||{};t.pageUrl=a.pageUrl||null;var z;t.j=((z=a.rubidiumApiVersion)==null? void 0:z.toString())||null;f=t;t=f.adTagUrl||"";rD(t)&&(t=(new P(t)).g.get("description_url",""),d.Nk===t?d.J=d.J%99===0?1:d.J+1:(d.J=1,d.Nk=t));b.contentDuration=f.contentDuration;if(e)if(e==="")var A=null;else t=new P(e),(z=$y(t,"slotname")||$y(t,"iu"))?z=z?(z=/\/(\d+)(?:,\d+){0,2}\//.exec(z))&&z.length===2?z[1]:null:null:z=null,z||(z=(t=(A=$y(t,"client"))!=null?A:"")?t:null),A=z;else A=null;g=A;A=new bw;t=wk(A,1,eQ());t=wk(t,2,g);t=zk(t,4,d.O?2:1);z=Av();t=ck(t,5,z);t=uk(t,6,100);t=zk(t.Bf(pQ).Ki(oQ), 9,2);z=sB();t=Mj(t,10,z,Ai);wk(t,11,d.j);h=A;A=new mw;t=new P(f.adTagUrl);z=Number(yD(t,"plcmt"));zk(A,1,z);t=yD(t,"sz");t===""?t=null:(t=t.split("|")[0].split("x"),t=t.length!==2?null:t);if(t){z=v(t);t=z.next().value;z=z.next().value;var H=new hw;t=rk(H,1,Number(t));rk(t,2,Number(z));ck(A,2,H)}k=A;A=ck(d.Ta,4,h);ck(A,1,k);c.g.Ac(b.g);m=r8(c);b.j=m;c.j||(A=c.g,z=io()?new EV:new j0,H=Rc()&&Tf(window.fetch)&&Tf(window.AbortController)?new s8:new $G,t=new Mw(16,eQ()),z=new k7(A.D,z,H,d,t),H=new t8(A.Uc), z.g=new u8(H,t),v8(A,z),c.j=z,l8(c,c.j,d));A=c.j;p=A;n=a.liveStreamPrefetchSeconds||0;if(!(n>0)){u.g=2;return}r=Math.floor(n*1E3*Math.random());return x(u,ou(r),2)}if(u.g!=4)return x(u,w8(),4);c.Ci(f,p,n);p.requestAds(f,b);u.g=0})}; var q8=function(a){var b=(a.imalibExperiments||{}).limaExperimentIds||null;b!=null&&(rB.reset(),b=nC(b),uB(new xB(b)));b=a.pvsid;a=(a=(a.genotypeExperimentData||{}).experimentStateProto)?JSON.parse(a):[];b&&a&&(a=Zk(K7,a),e8({xm:a,sj:7}),a={},b=(a[0]=O7(b),a),ug(px).j(16,b));b=tP();nP(b,"disableExperiments")&&rB.reset();b=tP();(b=oP(b))&&b.length>0&&(rB.reset(),uB(new xB(b)));QQ()&&nc(wB())},i8=function(a,b,c){var d,e,f,g,h;y(function(k){if(k.g==1){d=lQ(b,!0);Ew(d.N,vw(new uw,Date.now()));o8(b.settings); p8(b.videoEnvironment);var m=new QV;m.R=b.videoStitcherSessionOptions||{};m.o=b.assetKey||"";m.A=b.authToken||"";m.C=b.contentSourceId||"";m.J=b.customAssetKey||"";m.networkCode=b.networkCode||"";m.G=b.liveStreamEventId||"";m.region=b.region||"";m.L=b.projectNumber||"";m.K=b.oAuthToken||"";m.Rc=b.videoId||"";m.l=b.apiKey||"";m.g=b.adTagParameters||{};m.aa=b.streamActivityMonitorId||"";m.format="hls";m.O=b.useQAStreamBaseUrl||!1;m.B=b.contentSourceUrl||"";m.adTagUrl=b.adTagUrl||"";b.format==="dash"&& (m.format=b.format);var p=tP();nP(p,"useTestStreamManager")&&(m.F=!0);m.N=b.enableNonce||!1;m.W=b.vodConfigId||"";m.j=b.rubidiumApiVersion||"";e=m;f=DP(e.g,b.consentSettings||{},a.g.qg());GQ().report(165,NP(f));d.g=f;e.D=MP(f);GT().B&&Br();q8(b);g=a.g.Ac(c.g);h=r8(a);c.j=h}else a.g.g(e,h,g,d);k.g=0})},r8=function(a){a.o||(a.o=new x8(document.body,a.g.Ac()));return a.o}; j8.prototype.Ci=function(a,b,c){c=c===void 0?0:c;this.g.Ci(a,b);b=jQ().appName;var d=jQ().D,e={};D(E(b))||(e.app_name=b);D(E(d))||(e.external_version=d);e.delay=c;e.vpaidadapter=sP.l;e.request_type=jP(a.adTagUrl);e.ctv=XQ().toString();GQ().report(6,e)};Ia("ima.Bridge",j8,window);var y8=function(a,b,c,d){Iw.call(this,a,b);this.o=c;this.l=d};q(y8,Iw);y8.prototype.g=function(){var a=Ea.apply(0,arguments);try{var b=encodeURIComponent(Qg(qv(a,this.j),3));this.l(this.o+"?e=4&d="+b)}catch(c){pv(c,this.j)}};var z8=function(a,b,c){b=b===void 0?null:b;c=c===void 0?null:c;it.call(this,a);this.error=b;this.g=c};q(z8,it);z8.prototype.getError=function(){return this.error};var A8=function(a,b){return a.indexOf(b)==0?a.substr(b.length):null};var B8=function(){N.call(this);this.B=!1;this.ba=void 0;this.G=!1;this.Z=void 0;this.D=!1;this.K=void 0;this.F=!1;this.o=null;this.ca=0;this.j=null;this.O=new gz;this.l=null;this.g={cslots:0,dispcorr:0,streamcorr:0};this.ra=null;this.A=new VG(this)};q(B8,N);var C8=function(a,b){a.j!=null&&a.A.pa(a.j,"gpt",a.L);a.j=b;a.A.listen(a.j,"gpt",a.L)};B8.prototype.P=function(){Ro(this.o);Ro(this.l);Ro(this.A);N.prototype.P.call(this)};B8.prototype.Aa=function(){return this.B}; var D8=function(a){if(a.G&&a.ba!=null)return a.ba.map(function(b){return b.clone()})},E8=function(a){a=D8(a);if(a!=null)return a.map(function(b){return b.getSizes()})};B8.prototype.getDisplayAdsCorrelator=function(){if(this.D)return this.Z}; B8.prototype.L=function(a){var b=a.Eb.returnValue,c=Number(b);switch(a.messageType){case "isGptPresent":if(b!=null&&b){this.g.isgptpresent="1";var d,e;(e=this.j)==null||e.l((d=this.j)==null?void 0:d.D);this.l==null&&(this.l=new lu(100),this.A.listen(this.l,"tick",this.W),this.l.start());this.W()}else this.g.isgptpresent="0",this.R();break;case "getDisplayAdsCorrelator":isNaN(c)||(this.g.dispcorr="1",this.Z=c,this.D=!0);F8(this);break;case "getVideoStreamCorrelator":isNaN(c)||(this.g.streamcorr="1", this.K=c,this.F=!0);F8(this);break;case "googleGetCompanionAdSlots":b!=null&&(a=b.map(this.la,this),this.g.cslots="1",this.ba=a,this.G=!0),F8(this)}};B8.prototype.sendMessage=function(a,b,c){this.j!=null&&(a={scope:a},c!=null&&(a.args=c),bR(this.j,"gpt",b,a))};B8.prototype.setVideoSession=function(a){var b=0,c=0;a!=null&&(a=new P(a.adTagUrl),b=Number($y(a,"pod")||0),c=Number($y(a,"ppos")||0));this.sendMessage("companionAds","setVideoSession",[nQ,b,c])}; var Z5=function(a){a.K=nQ;a.sendMessage("pubads","setImaContent",["",""]);a.setVideoSession(null)},G8=function(a){a.o&&(a.o.stop(),a.A.pa(a.o,"tick",a.R),a.o.dispose(),a.o=null);a.l!=null&&(a.l.stop(),a.A.pa(a.l,"tick",a.W),a.l.dispose(),a.l=null)};B8.prototype.R=function(){this.B||(this.B=!0,this.O.resolve(),G8(this),H8(this,!1),I8(this),this.dispatchEvent(new z8("companion_initialization_failed",Error("GPT companion ads service not available."))),this.j!=null&&this.A.pa(this.j,"gpt",this.L))}; B8.prototype.W=function(){this.D||this.sendMessage("companionAds","getDisplayAdsCorrelator",[iQ(jQ())]);this.F||this.sendMessage("companionAds","getVideoStreamCorrelator");this.G||this.sendMessage(null,"googleGetCompanionAdSlots")}; var F8=function(a){a.B||(a.G&&a.D&&a.F?(a.B=!0,a.O.resolve(),G8(a),H8(a,!0),I8(a),a.dispatchEvent(new z8("companions_success"))):a.o||(a.o=new lu(5E3),a.A.md(a.o,"tick",a.R),a.o.start()))},H8=function(a,b){a={initSuccess:b,latency:Date.now()-a.ca,slotLoadingDone:a.G,gptCorrelatorRetrieved:a.D,gptStreamCorrelatorRetrieved:a.F};GQ().report(184,a)};B8.prototype.la=function(a){var b=a.adSizes.map(function(c){return{size:new he(c.adWidth,c.adHeight),lb:!!c.fluidSize}});return new LV(a.slotId,b)}; B8.prototype.ia=function(a){var b={};b.slotId=a.getSlotId();b.adContent=a.getContent();b.adWidth=a.A;b.adHeight=a.l;b.fluidSize=a.j;b.friendlyIframeRendering=a.o;return b}; var I8=function(a){if(!a.g.loggingDone){var b=a.g;if(io())var c=window.location.href;else{var d=ag();c=d.j;var e=d.g;d=d.l;var f=null;if(d)b:{try{var g=bz(d.url),h=g.l,k=A8(h,"/v/");k||(k=A8(h,"/a/"));if(!k)throw Error("Can not extract standalone amp url.");var m=A8("/"+k,"/s/"),p=g.g.clone();p.remove("amp_js_v");p.remove("amp_lite");var n=m?bz("https://"+m):bz("http://"+k);Qy(n,p);f=n.toString();break b}catch(r){f=null;break b}f=void 0}c=f?f:c&&c.url?c.url:e&&e.url?e.url:""}b.loc=c;a.g.ref=window.document.referrer; a.g.gcasclass="1";a.g.vpaidadapter=sP.l;a.g.ifstate=jQ().Fa;GQ().report(70,a.g);a.g={loggingDone:!0}}};var J8=function(a){NV.call(this);this.g=a;this.j=null;this.o=!1;this.ra=null;this.G=!1;this.A=null;this.D=new VG;XG(this.D,this.g,["companions_success","companion_initialization_failed"],this.yn,!1,this);XG(this.D,this.g,"companion_display_error",this.qn,!1,this);XG(this.D,this.g,["companion_slot_init","companion_click"],this.on,!1,this);this.g.Aa()?this.G=!0:(a=this.g,a.B||(a.ca=Date.now(),a.sendMessage("proxy","isGptPresent"),F8(a)))};q(J8,NV);J8.prototype.P=function(){this.destroy();NV.prototype.P.call(this)}; J8.prototype.destroy=function(){this.D.dispose();this.A=null;this.l.forEach(function(a){MV(a)});this.j=null};J8.prototype.B=function(a){Ro(this.j);this.j=new N;this.A=a;this.o=!0;this.Aa()?K8(this):(this.o=L8(M8(a),[]),this.o||(this.j=this.A=null));return this.j}; J8.prototype.K=function(){var a=this,b,c,d;return y(function(e){if(e.g==1)return uP("force_ad_request_wait_gpt_sync")?e=x(e,a.g.O.promise,2):a.g.Aa()?(e.g=2,e=void 0):e=e.return(),e;(b=a.g.getDisplayAdsCorrelator())&&(mQ=b);var f=a.g;f=f.F&&f.K!==0?f.K:void 0;(c=f)&&(nQ=c);if(d=E8(a.g))jQ().jg=d;e.g=0})}; var K8=function(a){var b=a.A;a.A=null;if(a.l.length===0)a.o=L8(M8(b),[]),N8(a,Error("Companion slots not available."));else if(b==null)N8(a,Error("Invalid main ad."));else{var c=O8(a,b),d=a.g,e=a.l.map(d.ia,d);d.sendMessage(null,"googleSetCompanionAdContents",[e,null,iQ(jQ())]);if(c.length>0&&(a=a.g,c.length!==0&&NS(b)[0]==="GDFP")){d=[];for(e=0;e191&&h<224){var k=d[f++];e[g++]=String.fromCharCode((h&31)<<6|k&63)}else if(h>239&&h<365){k=d[f++];var m=d[f++],p=d[f++];h=((h&7)<<18|(k&63)<<12|(m&63)<<6|p&63)-65536;e[g++]=String.fromCharCode(55296+(h>>10));e[g++]=String.fromCharCode(56320+(h&1023))}else k=d[f++],m=d[f++],e[g++]=String.fromCharCode((h&15)<<12| (k&63)<<6|m&63)}return new RegExp(e.join(""))})};T8.prototype.match=function(a){var b=this;return a?this.g.some(function(c){c=a.match(c);return c==null?!1:!b.j||c.length>=1&&c[1]==="3.679.0"||c.length>=2&&c[2]==="3.679.0"?!0:!1}):!1}; var U8=[94,40,63,58,104,116,116,112,115,63,58,41,63,47,47,105,109,97,115,100,107,92,46,103,111,111,103,108,101,97,112,105,115,92,46,99,111,109,47,106,115,47,40,115,100,107,108,111,97,100,101,114,124,99,111,114,101,41,47],V8=[94,40,63,58,104,116,116,112,115,63,58,41,63,47,47,115,48,92,46,50,109,100,110,92,46,110,101,116,47,105,110,115,116,114,101,97,109,47,104,116,109,108,53,47],W8=[94,40,63,58,104,116,116,112,115,63,58,41,63,47,47,105,109,97,115,100,107,92,46,103,111,111,103,108,101,97,112,105,115, 92,46,99,111,109,47,112,97,108,47,115,100,107,108,111,97,100,101,114,47],X8=[[105,109,97,51,92,46,106,115],[105,109,97,51,95,100,101,98,117,103,92,46,106,115],[105,109,97,51,95,101,97,112,46,106,115]],Y8=[[98,114,105,100,103,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108],[98,114,105,100,103,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,95,100,101,98,117,103,40,95,40,91,97,45,122, 48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108],[98,114,105,100,103,101,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108]],Z8=[[111,117,116,115,116,114,101,97,109,92,46,106,115],[111,117,116,115,116,114,101,97,109,95,100,101,98,117,103,92,46,106,115]];new T8(U8,X8,!1);var $8=new T8(U8,Y8,!0);new T8(V8,X8,!1);var a9=new T8(V8,Y8,!0); new T8([94,40,63,58,104,116,116,112,115,63,58,41,63,47,47,105,109,97,115,100,107,92,46,103,111,111,103,108,101,97,112,105,115,92,46,99,111,109,47,112,114,101,114,101,108,101,97,115,101,47,106,115,47,91,48,45,57,93,43,46,91,48,45,57,46,93,43,47],X8,!1); new T8([94,40,63,58,104,116,116,112,115,63,58,41,63,47,47,40,112,97,103,101,97,100,50,124,116,112,99,41,92,46,103,111,111,103,108,101,115,121,110,100,105,99,97,116,105,111,110,92,46,99,111,109,47,112,97,103,101,97,100,47,40,103,97,100,103,101,116,115,124,106,115,41,47],[],!1); new T8(U8,[[100,97,105,95,105,102,114,97,109,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108],[100,97,105,95,105,102,114,97,109,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,95,100,101,98,117,103,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108],[100,97,105,95,105,102,114,97,109,101,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125, 41,123,48,44,50,125,92,46,104,116,109,108]],!0);new T8(U8,Z8,!1);new T8(U8,Z8,!1);new T8(W8,[[112,97,108,46,106,115]],!1);new T8(W8,[[99,97,115,116,95,112,97,108,46,106,115]],!1);new T8(W8,[[99,116,118,95,112,97,108,46,106,115]],!1);function b9(){var a=[$8,a9];if(a.some(function(c){return c.match(Qe().location.href)}))return!0;var b=c9(a,Je(document,"script"));b==null&&document.querySelectorAll&&(b=c9(a,document.querySelectorAll("script")));return b!=null} function c9(a,b){for(var c={},d=0;d0&&Ua()>this.C?(this.j="failed",p9(this)):o9(this);break;case "loaded":q9(this);break;case "failed":this.C>0&&Ua()>this.C?p9(this):(this.j="loading",o9(this))}}; var q9=function(a){var b;(b=a.l)==null||b.listen(a.o,"tick",a.G);a.o!=null&&(a.o.stop(),a.o.dispose(),a.o=null)},p9=function(a){q9(a);if(a.g!=null){var b;(b=a.l)==null||b.pa(a.g,"gpt",a.D);a.g=null}a.A=[]};m9.prototype.D=function(a){this.g&&a.messageType==="isConsolePresent"&&(a=a.Eb.returnValue,a!=null&&a?(this.g.l(this.g.D),this.A.forEach(this.F,this),this.A=[],this.j="loaded"):this.j="failed")};var r9=function(){};var s9=ra(["https://securepubads.g.doubleclick.net/pagead/js/car.js"]),t9=ra(["https://securepubads.g.doubleclick.net/pagead/js/cocar.js"]),u9=ra(["https://ep3.adtrafficquality.google/ivt/worklet/caw.js"]);Ee(s9);var v9=Ee(t9),w9=Ee(u9);function x9(a,b){for(var c=[],d=0;d<8;++d){var e=new y8(7,"","https://pagead2.googlesyndication.com/pagead/ping",function(g){c.push({url:g})}),f=xv(wv(vv(new uv,a),d),b);e.B(f)}return c} function y9(a,b,c,d){var e=e===void 0?function(){}:e;var f,g,h,k;y(function(m){switch(m.g){case 1:f=Qe();if(!f.sharedStorage)return m.return();m.l=2;return x(m,f.sharedStorage.createWorklet(b.toString(),{dataOrigin:"script-origin"}),4);case 4:return g=m.j,x(m,g.selectURL("ps_caus",x9(a,c),d?{resolveToConfig:!0,savedQuery:"ps_cac"}:{resolveToConfig:!0}),5);case 5:if(h=m.j){var p=f.document.body,n=document.createElement("fencedframe");n.id="ps_caff";n.name="ps_caff";n.mode="opaque-ads";n.config=h;On(n, "border","0");p.appendChild(n)}m.g=0;m.l=0;break;case 2:k=xa(m),e(k),m.g=0}})};function z9(a){(new rW(qW())).g=function(b,c){b.method==="identifyServiceWindow"&&a(c)}}YC("OmidSessionClient.listenForServiceWindow",z9);function A9(a){WW().l(a)} var D9=function(){N.call(this);this.g=null;this.o=this.A=!1;if(!b9())throw Error("IMA SDK is either not loaded from a google domain or is not a supported version.");this.j=new VG(this);M(this,this.j);this.Uc=B9();this.l=new Map;this.l.set("*",this.Uc);this.B=C9();var a=new B8;C8(a,this.B);this.D=new J8(a);this.sl=new r9;this.j.listen(Qe().document.body,"click dblclick mouseup mouseover mouseout mousemove selectstart mousedown".split(" "),this.F);"ontouchstart"in document&&this.j.listen(Qe().document.body, ["touchstart","touchend","touchmove","touchcancel"],this.G);this.j.listen(this.Uc,"omid",function(b){b.messageType==="iframeFailed"&&WW().D()});z9(A9)};q(D9,N);D9.prototype.qg=function(){try{return $y(new P(Qe().location.href),"gdpr")==="1"}catch(a){return!1}};var m8=function(){var a=new $Q;a.mimeTypes=RQ();return a}; D9.prototype.Ac=function(a){a=(a===void 0?null:a)||"*";var b=this.l.get(a);if(b==null){b=new p0(Qe().location.hash.slice(1),a);b.B=!0;var c=E9(this);c&&(b.l(c),b.connect());this.l.set(a,b)}return b};var w8=function(){return y(function(a){return a.return()})}; D9.prototype.Ci=function(a,b){var c=E(jQ().j);if(Ff(c,"google_console")||Ff(c,"google_force_console")||Ff(c,"googfc")){if(!this.g){c=this.g=new m9(this.B);var d;(d=c.l)!=null&&XG(d,b,"adError",c.B,!1,c)}b=this.g;b.K||(n9(b,"version",{type:"HTML5",version:"3.679.0"}),b.K=!0);n9(this.g,"ad_request",{adTagUrl:a.adTagUrl,adType:"Deprecated"})}};var B9=function(){var a=new p0(Qe().location.hash.slice(1),"*");a.B=!0;return a};D9.prototype.contentComplete=function(){}; var E9=function(a){var b=null;a.l.forEach(function(c){c=c.g;c!=null&&(b=c)});return b},v8=function(a,b){a.j.listen(b,"adsLoaded",function(c){var d=c.g;d instanceof sR||(F9(a,d,c.l.g),G9(a,wP(YA)),wP(XA)&&G9(a,!0,!0,4))});a.j.listen(b,"adBreakFetched",function(c){F9(a,c.o,c.g.g)})},F9=function(a,b,c){var d=MP(jQ().g);a=a.Ac(c);c={};b=b.filter(function(k){return k instanceof xS});var e=H9(b);if(e){var f;jQ().la=(f=e.getValue())!=null?f:null;c.eoidCookie=Yk(e)}if(!d){if(d=I9(b,!1)){var g;jQ().L=(g=d.getValue())!= null?g:null;c.gfpCookie=Yk(d)}if(g=I9(b,!0)){var h;jQ().ta=(h=g.getValue())!=null?h:null;c.gfpCookieV2=Yk(g)}c.encryptedSignalBidderIds=J9(b)}bR(a,"adsLoader","cookieUpdate",c)},H9=function(a){return(a=a.find(function(b){return hT(b)!=null}))?hT(a):null},I9=function(a,b){var c=MP(jQ().g);return!sP.isCookiesEnabled()||c?null:(a=a.find(function(d){return jT(d,b)!=null}))?jT(a,b):null},J9=function(a){return a.map(function(b){for(var c=[];b;){var d=ES(b,"esp");d instanceof aS&&(c=[].concat(w(c),w(bS(d)))); b=b.Y}return c}).flat()},C9=function(){var a=Qe();a=new S8([a.top,a.parent],Qe().location.hash.slice(1),"*");a.connect();return a};D9.prototype.F=function(a){bR(this.Uc,"mouse",a.type,{detail:a.detail,screenX:a.screenX,screenY:a.screenY,clientX:a.clientX,clientY:a.clientY,ctrlKey:a.ctrlKey,altKey:a.altKey,shiftKey:a.shiftKey,metaKey:a.metaKey,button:a.button})}; var K9=function(a){var b=[];if(a==null)return b;var c=!!("TouchEvent"in window&&TouchEvent.length>0),d=0;for(;d0;g=c?h:!MP(g);h=Qe();var k=h.isSecureContext;var m=h.document;m=m===void 0?h.document:m;k=!!(k&&"sharedStorage"in h&&h.sharedStorage&&dH("shared-storage",m));var p;h=!((p=h.sharedStorage)==null||!p.createWorklet);p=!g||!k||!e||!h;GQ().report(204,{enabled:!p,storageAllowed:g,isSharedStorageEnabled:k,isCreateWorkletApiEnabled:h,isValidPVSID:e});if(!p)try{y9(f,c?w9: v9,d,b),c?a.o=!0:a.A=!0}catch(r){var n;GQ().report(205,{message:(n=r)==null?void 0:n.message},!0)}}};Ia("ima.IframeBridge",D9,window);})();