// 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}); ha("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}});ha("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}});ha("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}}); ha("String.prototype.repeat",function(a){return a?a:function(b){var c=Ea(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}}); ha("Set",function(a){if(function(){if(!a||typeof a!="function"||!a.prototype.entries||typeof Object.seal!="function")return!1;try{var c=Object.seal({x:4}),d=new a(q([c]));if(!d.has(c)||d.size!=1||d.add(c)!=d||d.size!=1||d.add({x:4})!=d||d.size!=2)return!1;var e=d.entries(),f=e.next();if(f.done||f.value[0]!=c||f.value[1]!=c)return!1;f=e.next();return f.done||f.value[0]==c||f.value[0].x!=4||f.value[1]!=f.value[0]?!1:e.next().done}catch(g){return!1}}())return a;var b=function(c){this.g=new Map;if(c){c= q(c);for(var d;!(d=c.next()).done;)this.add(d.value)}this.size=this.g.size};b.prototype.add=function(c){c=c===0?0:c;this.g.set(c,c);this.size=this.g.size;return this};b.prototype.delete=function(c){c=this.g.delete(c);this.size=this.g.size;return c};b.prototype.clear=function(){this.g.clear();this.size=0};b.prototype.has=function(c){return this.g.has(c)};b.prototype.entries=function(){return this.g.entries()};b.prototype.values=function(){return this.g.values()};b.prototype.keys=b.prototype.values; b.prototype[Symbol.iterator]=b.prototype.values;b.prototype.forEach=function(c,d){var e=this;this.g.forEach(function(f){return c.call(d,f,f,e)})};return b});ha("globalThis",function(a){return a||ea});ha("Number.MAX_SAFE_INTEGER",function(){return 9007199254740991});ha("Object.values",function(a){return a?a:function(b){var c=[],d;for(d in b)la(b,d)&&c.push(b[d]);return c}});ha("Object.is",function(a){return a?a:function(b,c){return b===c?b!==0||1/b===1/c:b!==b&&c!==c}}); ha("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}});ha("Math.sign",function(a){return a?a:function(b){b=Number(b);return b===0||isNaN(b)?b:b>0?1:-1}}); ha("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}}); ha("String.prototype.replaceAll",function(a){return a?a:function(b,c){if(b instanceof RegExp&&!b.global)throw new TypeError("String.prototype.replaceAll called with a non-global RegExp argument.");return b instanceof RegExp?this.replace(b,c):this.replace(new RegExp(String(b).replace(/([-()\[\]{}+?*.$\^|,:#>>0),Oa=0,Pa=function(a,b,c){return a.call.apply(a.bind,arguments)},Qa=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)}},Ra=function(a,b,c){Ra=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Pa:Qa;return Ra.apply(null,arguments)},Sa=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)}},Ta=function(){return Date.now()},Ua=function(a,b){function c(){}c.prototype=b.prototype;a.Xb=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Sp=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={ro:0,xo:1},Cb={668123728:0,668123729:1},Eb={44731964:0,44731965:1},Fb={NONE:0,Zo:1,Bo: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=Kb,c;for(c in b)if(!a.call(void 0,b[c],c,b))return!1;return!0}function Lb(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=La(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(Lb(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,D=window;var qc=Ja(610401301,!1),rc=Ja(188588736,!0),sc=Ja(645172343,Ja(1,!0));var tc=function(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c},uc=function(a,b){var c=String(b).toLowerCase();a=String(a.slice(0,b.length)).toLowerCase();return(c")!= -1&&(a=a.replace(zc,">"));a.indexOf('"')!=-1&&(a=a.replace(Ac,"""));a.indexOf("'")!=-1&&(a=a.replace(Bc,"'"));a.indexOf("\x00")!=-1&&(a=a.replace(Cc,"�"));return a},xc=/&/g,yc=//g,Ac=/"/g,Bc=/'/g,Cc=/\x00/g,wc=/[\x00&<>"']/,Ec=function(a,b){return a.indexOf(b)!=-1},Fc=function(a,b){return Ec(a.toLowerCase(),b.toLowerCase())},Hc=function(a,b){var c=0;a=vc(String(a)).split(".");b=vc(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;c==0&&eb?1:0};function Ic(){var a=B.navigator;return a&&(a=a.userAgent)?a:""}var Jc,Kc=B.navigator;Jc=Kc?Kc.userAgentData||null:null;function Lc(a){return qc?Jc?Jc.brands.some(function(b){return(b=b.brand)&&Ec(b,a)}):!1:!1}function Mc(a){return Ec(Ic(),a)};function Nc(){return qc?!!Jc&&Jc.brands.length>0:!1}function Oc(){return Nc()?!1:Mc("Opera")}function Pc(){return Nc()?!1:Mc("Trident")||Mc("MSIE")}function Qc(){return Nc()?Lc("Microsoft Edge"):Mc("Edg/")}function Rc(){return Mc("Firefox")||Mc("FxiOS")}function Sc(){return Mc("Safari")&&!(Tc()||(Nc()?0:Mc("Coast"))||Oc()||(Nc()?0:Mc("Edge"))||Qc()||(Nc()?Lc("Opera"):Mc("OPR"))||Rc()||Mc("Silk")||Mc("Android"))} function Tc(){return Nc()?Lc("Chromium"):(Mc("Chrome")||Mc("CriOS"))&&!(Nc()?0:Mc("Edge"))||Mc("Silk")}function Uc(){return Mc("Android")&&!(Tc()||Rc()||Oc()||Mc("Silk"))}function Vc(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 Wc(a){var b=Ic();if(a==="Internet Explorer"){if(Pc())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=Vc(c); switch(a){case "Opera":if(Oc())return b(["Version","Opera"]);if(Nc()?Lc("Opera"):Mc("OPR"))return b(["OPR"]);break;case "Microsoft Edge":if(Nc()?0:Mc("Edge"))return b(["Edge"]);if(Qc())return b(["Edg"]);break;case "Chromium":if(Tc())return b(["Chrome","CriOS","HeadlessChrome"])}return a==="Firefox"&&Rc()||a==="Safari"&&Sc()||a==="Android Browser"&&Uc()||a==="Silk"&&Mc("Silk")?(b=c[2])&&b[1]||"":""} function Xc(a){if(Nc()&&a!=="Silk"){var b=Jc.brands.find(function(c){return c.brand===a});if(!b||!b.version)return NaN;b=b.version.split(".")}else{b=Wc(a);if(b==="")return NaN;b=b.split(".")}return b.length===0?NaN:Number(b[0])};/* SPDX-License-Identifier: Apache-2.0 */ function Yc(a){return{valueOf:a}.valueOf()};var Zc,$c=function(){if(Zc===void 0){var a=null,b=B.trustedTypes;if(b&&b.createPolicy){try{a=b.createPolicy("goog#html",{createHTML:Va,createScript:Va,createScriptURL:Va})}catch(c){B.console&&B.console.error(c.message)}Zc=a}else Zc=a}return Zc};var cd=function(a,b){this.g=a===ad&&b||"";this.j=bd};cd.prototype.toString=function(){return this.g};var dd=function(a){return a instanceof cd&&a.constructor===cd&&a.j===bd?a.g:"type_error:Const"},bd={},ad={};var fd=function(a){this.g=a};fd.prototype.toString=function(){return this.g+""};var gd=function(a){return a instanceof fd&&a.constructor===fd?a.g:"type_error:TrustedResourceUrl"},hd={},id=function(a){var b=$c();a=b?b.createScriptURL(a):a;return new fd(a,hd)};var jd=function(a){this.g=a};jd.prototype.toString=function(){return this.g};var kd=new jd("about:invalid#zClosurez");function ld(a){if(a instanceof jd)return a.g;throw Error("");};var md=function(a){this.gi=a};function nd(a){return new md(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})}var od=[nd("data"),nd("http"),nd("https"),nd("mailto"),nd("ftp"),new md(function(a){return/^[^:]*([/?#]|$)/.test(a)})];function pd(a){var b=b===void 0?od:b;a:if(b=b===void 0?od:b,!(a instanceof jd)){for(var c=0;c",""":'"'};var c=B.document.createElement("div");return a.replace(ce,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||(Sd(c,Kd(d+" ")),f=c.firstChild.nodeValue.slice(0,-1));return b[d]=f})},ae=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)}})},ce=/&([^;\s<&]+);?/g,de=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a},ee=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},F=function(a){return a==null?"":String(a)},fe=function(){return Math.floor(Math.random()*2147483648).toString(36)+ Math.abs(Math.floor(Math.random()*2147483648)^Ta()).toString(36)},ge=Math.random()*2147483648|0,he=function(a){var b=Number(a);return b==0&&E(a)?NaN:b},ie=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})},je=function(){return"googleAvInapp".replace(/([A-Z])/g,"-$1").toLowerCase()},ke=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},le=function(a){isFinite(a)&&(a=String(a));return typeof a==="string"?/^\s*-?0x/i.test(a)? parseInt(a,16):parseInt(a,10):NaN};function me(){return qc?!!Jc&&!!Jc.platform:!1}function ne(){return Mc("iPhone")&&!Mc("iPod")&&!Mc("iPad")};var oe=function(a){oe[" "](a);return a};oe[" "]=function(){};var pe=function(a,b){try{return oe(a[b]),!0}catch(c){}return!1};var qe=Pc(),re=Mc("Gecko")&&!(Fc(Ic(),"WebKit")&&!Mc("Edge"))&&!(Mc("Trident")||Mc("MSIE"))&&!Mc("Edge"),se=Fc(Ic(),"WebKit")&&!Mc("Edge"),te=se&&Mc("Mobile"),ue=me()?Jc.platform==="macOS":Mc("Macintosh"),ve=me()?Jc.platform==="Windows":Mc("Windows"),we=me()?Jc.platform==="Android":Mc("Android"),xe=ne(),ye=Mc("iPad"),ze=Mc("iPod"),Ae=ne()||Mc("iPad")||Mc("iPod");Uc();Tc();var Be=Sc()&&!(ne()||Mc("iPad")||Mc("iPod"));var Ce=!qe&&!Sc();var De=function(){},Ee=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},Fe=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()}};function Ge(a,b){var c=b.createRange();c.selectNode(b.body);a=Kd(a);return c.createContextualFragment(Jd(a))};function He(a){a=a.nodeName;return typeof a==="string"?a:"FORM"}function Ie(a){a=a.nodeType;return a===1||typeof a!=="number"};var Je="ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR NOBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" "), Ke=[["A",new Map([["href",{Qa:2}]])],["AREA",new Map([["href",{Qa:2}]])],["LINK",new Map([["href",{Qa:5,conditions:new Map([["rel",new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])],["SOURCE",new Map([["src",{Qa:5}],["srcset",{Qa:6}]])],["IMG",new Map([["src",{Qa:5}],["srcset",{Qa:6}]])],["VIDEO",new Map([["src",{Qa:5}]])],["AUDIO",new Map([["src",{Qa:5}]])]],Le="title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked color cols colspan controls datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden ismap label lang loop max maxlength media minlength min multiple muted nonce open placeholder preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "), Me=[["dir",{Qa:3,conditions:Yc(function(){return new Map([["dir",new Set(["auto","ltr","rtl"])]])})}],["async",{Qa:3,conditions:Yc(function(){return new Map([["async",new Set(["async"])]])})}],["cite",{Qa:2}],["loading",{Qa:3,conditions:Yc(function(){return new Map([["loading",new Set(["eager","lazy"])]])})}],["poster",{Qa:2}],["target",{Qa:3,conditions:Yc(function(){return new Map([["target",new Set(["_self","_blank"])]])})}]],Ne=new function(){var a=new Set(Le),b=new Map(Me),c=new Map(Ke);this.j= new Set(Je);this.g=c;this.l=a;this.o=b};var Oe=function(){this.g=Ne},Re=function(a){var b=Pe,c=document.implementation.createHTMLDocument("");a=Qe(b,a,c);c=c.body;c.appendChild(a);c=(new XMLSerializer).serializeToString(c);c=c.slice(c.indexOf(">")+1,c.lastIndexOf("2&&qf(a,d,b,2);return d},qf=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(Ma(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)}}},pf=function(a,b){b=String(b); a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)},rf=function(a,b){qf($e(a),a,arguments,1)},sf=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},tf=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},uf=function(a){return a.children!=void 0?a.children:Array.prototype.filter.call(a.childNodes,function(b){return b.nodeType==1})},vf=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},$e=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},wf=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 sf(a),a.appendChild($e(a).createTextNode(String(b)))},xf={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1}, yf={IMG:" ",BR:"\n"},Af=function(a){var b=[];zf(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},zf=function(a,b,c){if(!(a.nodeName in xf))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 yf)b.push(yf[a.nodeName]);else for(a=a.firstChild;a;)zf(a,b,c),a=a.nextSibling},Bf=function(a,b){a&&(a=a.parentNode);for(var c=0;a;){if(b(a))return a; a=a.parentNode;c++}return null},Ze=function(a){this.g=a||B.document||document};l=Ze.prototype;l.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};l.Yl=function(a,b,c){return nf(this.g,arguments)};l.appendChild=function(a,b){a.appendChild(b)};l.append=rf;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=vf;var Cf=function(){this.g=this.md=null};var Df=function(a,b){this.j=(a===void 0?0:a)||0;this.g=(b===void 0?"":b)||""};Df.prototype.gi=function(){return!!this.j||!!this.g};Df.prototype.toString=function(){return this.j+(this.g?"-":"")+this.g};Df.prototype.matches=function(a){return this.g||a.g?this.g==a.g:this.j||a.j?this.j==a.j:!1};var Ef=function(){};Ef.prototype.g=function(){return 0};Ef.prototype.l=function(){return 0};Ef.prototype.o=function(){return 0};Ef.prototype.j=function(){return 0};var Gf=function(){if(!Ff())throw Error();};w(Gf,Ef);var Ff=function(){return!(!D||!D.performance)};Gf.prototype.g=function(){return Ff()&&D.performance.now?D.performance.now():Ef.prototype.g.call(this)};Gf.prototype.l=function(){return Ff()&&D.performance.memory?D.performance.memory.totalJSHeapSize||0:Ef.prototype.l.call(this)};Gf.prototype.o=function(){return Ff()&&D.performance.memory?D.performance.memory.usedJSHeapSize||0:Ef.prototype.o.call(this)}; Gf.prototype.j=function(){return Ff()&&D.performance.memory?D.performance.memory.jsHeapSizeLimit||0:Ef.prototype.j.call(this)};var Hf=Ee(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});B.addEventListener("test",null,b)}catch(c){}return a});function If(a){return a?a.passive&&Hf()?a:a.capture||!1:!1}var Jf=function(a,b,c,d){return a.addEventListener?(a.addEventListener(b,c,If(d)),!0):!1},Kf=function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,If())};var Lf=function(){return pc.prerendering?3:{visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[pc.visibilityState||pc.webkitVisibilityState||pc.mozVisibilityState||""]||0},Mf=function(a){var b;a.visibilityState?b="visibilitychange":a.mozVisibilityState?b="mozvisibilitychange":a.webkitVisibilityState&&(b="webkitvisibilitychange");return b};var Nf=function(){};Nf.prototype.isVisible=function(){return Lf()===1};var Of=function(){return Lf()===0};var Qf=function(){return qc&&Jc?Jc.mobile:!Pf()&&(Mc("iPod")||Mc("iPhone")||Mc("Android")||Mc("IEMobile"))},Pf=function(){return qc&&Jc?!Jc.mobile&&(Mc("iPad")||Mc("Android")||Mc("Silk")):Mc("iPad")||Mc("Android")&&!Mc("Mobile")||Mc("Silk")};var Rf=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Sf=function(a){var b=a.match(Rf);a=b[1];var c=b[3];b=b[4];var d="";a&&(d+=a+":");c&&(d=d+"//"+c,b&&(d+=":"+b));return d},Tf=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?Yd(e):"")}}},Uf=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},Vf=function(a,b,c,d){for(var e=c.length;(b=a.indexOf(c,b))>=0&&b=0},Yf=function(a,b){var c=a.search(Wf),d=Vf(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 Yd(a.slice(d,e!==-1?e:0))},Zf=/[?&]($|#)/,$f=function(a,b){for(var c=a.search(Wf),d=0,e,f=[];(e=Vf(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(Zf,"$1")};var ag=function(a){try{return!!a&&a.location.href!=null&&pe(a,"foo")}catch(b){return!1}},cg=function(a,b){var c=!0;c=c===void 0?!1:c;b=b===void 0?B:b;b=bg(b);for(var d=0;b&&d++<40&&(!c&&!ag(b)||!a(b));)b=bg(b)},bg=function(a){try{var b=a.parent;if(b&&b!=a)return b}catch(c){}return null},dg=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()}},eg=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a, c)&&b(a[c],c,a)},gg=function(){var a=[];eg(fg,function(b){a.push(b)});return a};function hg(a){var b,c;return(c=(b=/https?:\/\/[^\/]+/.exec(a))==null?void 0:b[0])!=null?c:""} var fg={Yn:"allow-forms",Zn:"allow-modals",ao:"allow-orientation-lock",bo:"allow-pointer-lock",eo:"allow-popups",fo:"allow-popups-to-escape-sandbox",ho:"allow-presentation",io:"allow-same-origin",jo:"allow-scripts",ko:"allow-top-navigation",lo:"allow-top-navigation-by-user-activation"},ig=Ee(function(){return gg()}),mg=function(a){var b=ig();return a.length?bb(b,function(c){return!kb(a,c)}):b},ng=function(a){a=a&&a.toString&&a.toString();return typeof a==="string"&&Ec(a,"[native code]")},og=Ee(function(){return Qf()? 2:Pf()?1:0}),pg=function(a,b){b=b===void 0?document:b;return b.createElement(String(a).toLowerCase())},qg=function(a){for(var b=a;a&&a!=a.parent;)a=a.parent,ag(a)&&(b=a);return b};var rg=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)"),vg=function(a){a=a||sg();for(var b=new tg(B.location.href,!1),c=null,d=a.length-1,e=d;e>=0;--e){var f=a[e];!c&&rg.test(f.url)&&(c=f);if(f.url&&!f.di){b=f;break}}e=null;f=a.length&&a[d].url;b.depth!=0&&f&&(e=a[d]);return new ug(b,e,c)},sg=function(){var a=B,b=[],c=null;do{var d=a;if(ag(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new tg(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},Cg=function(a){var b=1,c;for(c in a.j)b=c.length>b?c.length:b;return 3997-b-a.l.length-1};var Eg=function(a,b){this.g=a;this.depth=b},Gg=function(){var a=sg(),b=Math.max(a.length-1,0),c=vg(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 Eg([e.url,e.di?2:0],c(e.depth,1)));d&&d!=e&&f.push(new Eg([d.url,2],0));a.url&&a!=e&&f.push(new Eg([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=hg(a.url))&&g.push([new Eg([d,1],c(a.depth,b))]);g.push([]);return cb(g,function(h){return Fg(b,h)})}; function Fg(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 Hg(){var a=a===void 0?Gg():a;return a.map(function(b){return yg(b)})};var Jg=function(a,b,c,d,e){Ig(a,b,c===void 0?null:c,d===void 0?!1:d,e===void 0?!1:e)};function Ig(a,b,c,d,e){e=e===void 0?!1:e;a.google_image_requests||(a.google_image_requests=[]);var f=pg("IMG",a.document);if(c||d){var g=function(h){c&&c(h);d&&lb(a.google_image_requests,f);Kf(f,"load",g);Kf(f,"error",g)};Jf(f,"load",g);Jf(f,"error",g)}e&&(f.attributionSrc="");f.src=b;a.google_image_requests.push(f)} var Lg=function(a,b){var c=c===void 0?!1:c;var d="https://pagead2.googlesyndication.com/pagead/gen_204?id="+b;eg(a,function(e,f){if(e||e===0)d+="&"+f+"="+encodeURIComponent(""+e)});Kg(d,c)},Kg=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)):Jg(c,a,void 0,b,d)};var G=function(a){var b="bi";if(a.bi&&a.hasOwnProperty(b))return a.bi;b=new a;return a.bi=b};var Mg=function(){this.j=new Nf;this.g=Ff()?new Gf:new Ef},Og=function(){Ng();var a=D.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&typeof D.setInterval==="function"&&typeof D.clearInterval==="function"&&typeof D.setTimeout==="function"&&typeof D.clearTimeout==="function")};Mg.prototype.setTimeout=function(a,b){return D.setTimeout(a,b)};Mg.prototype.clearTimeout=function(a){D.clearTimeout(a)};var Pg=function(){Ng();return Hg()};var Qg=function(){},Ng=function(){var a=G(Qg);if(!a.g){if(!D)throw Error("Context has not been set and window is undefined.");a.g=G(Mg)}return a.g};function Rg(){throw Error("Invalid UTF8");}function Sg(a,b){b=String.fromCharCode.apply(null,b);return a==null?b:a+b}var Tg=void 0,Ug,Vg=typeof TextDecoder!=="undefined",Wg,Xg=typeof String.prototype.isWellFormed==="function",Yg=typeof TextEncoder!=="undefined"; function Zg(a){var b=!1;b=b===void 0?!1:b;if(Yg){if(b&&(Xg?!a.isWellFormed():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(a)))throw Error("Found an unpaired surrogate");a=(Wg||(Wg=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 $g(a){B.setTimeout(function(){throw a;},0)};var ah=function(a){for(var b=[],c=0,d=0;d255&&(b[c++]=e&255,e>>=8);b[c++]=e}return b},bh=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return b.length>1?b:"0"+b}).join("")};var ch={},dh=null,eh=re||se||!Be&&typeof B.atob=="function",gh=function(a,b){b===void 0&&(b=0);fh();b=ch[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("")},ih=function(a){if(eh)return B.atob(a);var b="";hh(a,function(c){b+=String.fromCharCode(c)}); return b},jh=function(a){var b=[];hh(a,function(c){b.push(c)});return b},kh=function(a){var b=a.length,c=b*3/4;c%3?c=Math.floor(c):Ec("=.",a[b-1])&&(c=Ec("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;hh(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d},hh=function(a,b){function c(k){for(;d>4);g!=64&&(b(f<<4&240|g>>2),h!=64&&b(g<<6&192|h))}},fh=function(){if(!dh){dh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));ch[c]=d;for(var e=0;e=4||(a[b]=c+1,Dh())}};function Gh(){return typeof BigInt==="function"};function Hh(a){return Array.prototype.slice.call(a)};var Ih=typeof Symbol==="function"&&typeof Symbol()==="symbol";function Jh(a){return typeof Symbol==="function"&&typeof Symbol()==="symbol"?Symbol():a}var Kh=Jh(),Lh=Jh("0di"),Mh=Jh("2ex"),Nh=Jh("1oa"),Oh=Jh("0dg"),Ph=Jh("64big");var Qh=Ih?function(a,b){a[Kh]|=b}:function(a,b){a.g!==void 0?a.g|=b:Object.defineProperties(a,{g:{value:b,configurable:!0,writable:!0,enumerable:!1}})},Rh=Ih?function(a,b){a[Kh]&=~b}:function(a,b){a.g!==void 0&&(a.g&=~b)},Sh=Ih?function(a){return a[Kh]|0}:function(a){return a.g|0},Th=Ih?function(a){return a[Kh]}:function(a){return a.g},Uh=Ih?function(a,b){a[Kh]=b}:function(a,b){a.g!==void 0?a.g=b:Object.defineProperties(a,{g:{value:b,configurable:!0,writable:!0,enumerable:!1}})}; function Vh(a){Qh(a,32);return a}function Wh(a,b){Uh(b,(a|0)&-14591)}function Xh(a,b){Uh(b,(a|34)&-14557)};var Yh={},Zh={};function $h(a){return!(!a||typeof a!=="object"||a.g!==Zh)}function ai(a){return a!==null&&typeof a==="object"&&!Array.isArray(a)&&a.constructor===Object}function bi(a,b,c){if(a!=null)if(typeof a==="string")a=a?new wh(a,th):Ah();else if(a.constructor!==wh)if(sh(a))a=a.length?new wh(c?a:new Uint8Array(a),th):Ah();else{if(!b)throw Error();a=void 0}return a} function ci(a,b,c){if(!Array.isArray(a)||a.length)return!1;var d=Sh(a);if(d&1)return!0;if(!(b&&(Array.isArray(b)?b.includes(c):b.has(c))))return!1;Uh(a,d|1);return!0}var di,ei=[];Uh(ei,55);di=Object.freeze(ei);function fi(a){if(a&2)throw Error();}var gi;function hi(a,b){(b=gi?b[gi]:void 0)&&(a[gi]=Hh(b))}var ii,ji=Object.freeze({});Object.freeze({});var ki=Object.freeze({});var li=typeof Uint8Array.prototype.slice==="function",mi=0,ni=0,oi;function pi(a){var b=a>>>0;mi=b;ni=(a-b)/4294967296>>>0}function qi(a){if(a<0){pi(0-a);var b=q(ri(mi,ni));a=b.next().value;b=b.next().value;mi=a>>>0;ni=b>>>0}else pi(a)}function si(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,a==0&&(b=b+1>>>0));a=b*4294967296+(a>>>0);return c?-a:a} function ti(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else Gh()?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+ui(c)+ui(a));return c}function ui(a){a=String(a);return"0000000".slice(a.length)+a} function vi(){var a=mi,b=ni;b&2147483648?Gh()?a=""+(BigInt(b|0)<>>0)):(b=q(ri(a,b)),a=b.next().value,b=b.next().value,a="-"+ti(a,b)):a=ti(a,b);return a} function wi(a){if(a.length<16)qi(Number(a));else if(Gh())a=BigInt(a),mi=Number(a&BigInt(4294967295))>>>0,ni=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");ni=mi=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)),ni*=1E6,mi=mi*1E6+d,mi>=4294967296&&(ni+=Math.trunc(mi/4294967296),ni>>>=0,mi>>>=0);b&&(b=q(ri(mi,ni)),a=b.next().value,b=b.next().value,mi=a,ni=b)}}function ri(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};function xi(a){a.bq=!0;return a};var yi=xi(function(a){return typeof a==="number"}),zi=xi(function(a){return typeof a==="string"}),Ai=xi(function(a){return typeof a==="boolean"}),Bi=xi(function(a){return!!a&&(typeof a==="object"||typeof a==="function")});function Ci(a){return xi(function(b){if(!Bi(b))return!1;for(var c=q(Object.entries(a)),d=c.next();!d.done;d=c.next()){var e=q(d.value);d=e.next().value;e=e.next().value;if(!(d in b)){if(e.Sm===!0)continue;return!1}if(!e(b[d]))return!1}return!0})} function Di(a){return Ei(xi(function(b,c){return b===void 0?!0:a(b,c)}))}function Ei(a){a.Sm=!0;return a};function Fi(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 Gi(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)}function Hi(a){if(a!=null&&typeof a!=="boolean")throw Error("Expected boolean but got "+Ka(a)+": "+a);return a}function Ii(a){if(a==null||typeof a==="boolean")return a;if(typeof a==="number")return!!a}var Ji=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/; function Ki(a){var b=typeof a;return b==="number"?Number.isFinite(a):b!=="string"?!1:Ji.test(a)}function Li(a){if(!Number.isFinite(a))throw Eh("enum");return a|0}function Mi(a){return a==null?a:Li(a)}function Ni(a){return a==null?a:Number.isFinite(a)?a|0:void 0}function Oi(a){if(typeof a!=="number")throw Eh("int32");if(!Number.isFinite(a))throw Eh("int32");return a|0} function Pi(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 Qi(a){if(typeof a!=="number")throw Eh("uint32");if(!Number.isFinite(a))throw Eh("uint32");return a>>>0}function Ri(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 Si(a){var b=!!b;if(!Ki(a))throw Eh("int64");typeof a==="string"?a=Ti(a):b?(a=Math.trunc(a),Number.isSafeInteger(a)?a=String(a):(b=String(a),Ui(b)?a=b:(qi(a),a=vi()))):a=Vi(a);return a}function Ui(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 Vi(a){a=Math.trunc(a);Number.isSafeInteger(a)||(qi(a),a=si(mi,ni));return a} function Ti(a){var b=Math.trunc(Number(a));if(Number.isSafeInteger(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));Ui(a)||(wi(a),a=vi());return a}function Wi(a){if(typeof a!=="string")throw Error();return a}function Xi(a){if(a!=null&&typeof a!=="string")throw Error();return a}function Yi(a){return a==null||typeof a==="string"?a:void 0} function Zi(a,b,c,d){if(a!=null&&typeof a==="object"&&a.Ag===Yh)return a;if(!Array.isArray(a))return c?d&2?$i(b):new b:void 0;var e=c=Sh(a);e===0&&(e|=d&32);e|=d&2;e!==c&&Uh(a,e);return new b(a)}function $i(a){var b=a[Lh];if(b)return b;b=new a;Qh(b.L,34);return a[Lh]=b};var ej=function(a){var b=aj(a);if(b)return b;(b=Math.random()>.01)||(bj===void 0&&(bj=typeof Proxy!=="function"?!1:!0),b=!bj||!Proxy);if(b)return a;b=new Proxy(a,{set:function(c,d,e){cj();c[d]=e;return!0}});dj(a,b);return b};function cj(){Dh()}var fj=void 0,gj=void 0,aj=function(a){var b;return(b=fj)==null?void 0:b.get(a)},hj=function(a){var b;return((b=gj)==null?void 0:b.get(a))||a};function dj(a,b){(fj||(fj=new WeakMap)).set(a,b);(gj||(gj=new WeakMap)).set(b,a)}var bj=void 0;var ij;function jj(a,b){ij=b;a=new a(b);ij=void 0;return a}var kj,lj;function mj(a){switch(typeof a){case "boolean":return kj||(kj=[0,void 0,!0]);case "number":return a>0?void 0:a===0?lj||(lj=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}} function I(a,b,c){a==null&&(a=ij);ij=void 0;if(a==null){var d=96;c?(a=[c],d|=512):a=[];b&&(d=d&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error("narr");d=Sh(a);if(d&2048)throw Error("farr");if(d&64)return a;d|=64;if(c&&(d|=512,c!==a[0]))throw Error("mid");a:{c=a;var e=c.length;if(e){var f=e-1;if(ai(c[f])){d|=256;b=f-(+!!(d&512)-1);if(b>=1024)throw Error("pvtlmt");d=d&-16760833|(b&1023)<<14;break a}}if(b){b=Math.max(b,e-(+!!(d&512)-1));if(b>1024)throw Error("spvt");d=d&-16760833|(b&1023)<< 14}}}Uh(a,d);return a};function nj(a,b){return oj(b)}function oj(a){switch(typeof a){case "number":return isFinite(a)?a:String(a);case "boolean":return a?1:0;case "object":if(a)if(Array.isArray(a)){if(ci(a,void 0,0))return}else{if(sh(a))return nh(a);if(a instanceof wh){var b=a.g;return b==null?"":typeof b==="string"?b:a.g=nh(b)}}}return a};function pj(a,b,c){var d=Hh(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 Dj=function(a,b,c,d){if(c===-1)return null;var e=b>>14&1023||536870912;if(c>=e){if(b&256)return a[a.length-1][c]}else{var f=a.length;return d&&b&256&&(d=a[f-1][c],d!=null)?(Fj(a,b,e,c)&&Fh(void 0,Mh),d):Fj(a,b,e,c)}},Hj=function(a,b,c){var d=a.L,e=Th(d);fi(e);Gj(d,e,b,c);return a}; function Gj(a,b,c,d,e){var f=b>>14&1023||536870912;if(c>=f||e&&!sc){var g=b;if(b&256)e=a[a.length-1];else{if(d==null)return g;e=a[f+(+!!(b&512)-1)]={};g|=256}e[c]=d;c "+a)};function Hk(a){if(typeof a==="string")return{buffer:rh(a),Md:!1};if(Array.isArray(a))return{buffer:new Uint8Array(a),Md:!1};if(a.constructor===Uint8Array)return{buffer:a,Md:!1};if(a.constructor===ArrayBuffer)return{buffer:new Uint8Array(a),Md:!1};if(a.constructor===wh)return{buffer:Bh(a)||new Uint8Array(0),Md:!0};if(a instanceof Uint8Array)return{buffer:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),Md:!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 Ik=function(a,b){this.j=null;this.A=!1;this.g=this.l=this.o=0;this.init(a,void 0,void 0,b)};Ik.prototype.init=function(a,b,c,d){d=d===void 0?{}:d;this.Jf=d.Jf===void 0?!1:d.Jf;a&&(a=Hk(a),this.j=a.buffer,this.A=a.Md,this.o=b||0,this.l=c!==void 0?this.o+c:this.j.length,this.g=this.o)};Ik.prototype.clear=function(){this.j=null;this.A=!1;this.g=this.l=this.o=0;this.Jf=!1};Ik.prototype.reset=function(){this.g=this.o}; var Jk=function(a,b){a.g=b;if(b>a.l)throw Gk(a.l,b);},Kk=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 Fk();Jk(a,c);return e},Lk=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];Jk(a,a.g+4);return(d<<0|e<<8|f<<16|b<<24)>>>0},Mk=function(a){var b=Lk(a),c=Lk(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*Math.pow(2,-1074)*b:a*Math.pow(2,d-1075)*(b+4503599627370496)},Nk=function(a){for(var b=0,c=a.g,d=c+10,e=a.j;ca.l)throw Gk(b,a.l-c);a.g=d;return c},Qk=function(a,b){if(b==0)return Ah();var c=Pk(a,b);a.Jf&&a.A?c=a.j.subarray(c, c+b):(a=a.j,b=c+b,c=c===b?new Uint8Array(0):li?a.slice(c,b):new Uint8Array(a.subarray(c,b)));return c.length==0?Ah():new wh(c,th)},Rk=[];var Tk=function(a,b){if(Rk.length){var c=Rk.pop();c.init(a,void 0,void 0,b);a=c}else a=new Ik(a,b);this.g=a;this.l=this.g.g;this.j=this.o=-1;Sk(this,b)},Sk=function(a,b){b=b===void 0?{}:b;a.Ih=b.Ih===void 0?!1:b.Ih};Tk.prototype.reset=function(){this.g.reset();this.l=this.g.g;this.j=this.o=-1}; var Uk=function(a){var b=a.g;if(b.g==b.l)return!1;a.l=a.g.g;var c=Kk(a.g)>>>0;b=c>>>3;c&=7;if(!(c>=0&&c<=5))throw Ek(c,a.l);if(b<1)throw Error("Invalid field number: "+b+" (at position "+a.l+")");a.o=b;a.j=c;return!0},Vk=function(a){switch(a.j){case 0:a.j!=0?Vk(a):Nk(a.g);break;case 1:a=a.g;Jk(a,a.g+8);break;case 2:if(a.j!=2)Vk(a);else{var b=Kk(a.g)>>>0;a=a.g;Jk(a,a.g+b)}break;case 5:a=a.g;Jk(a,a.g+4);break;case 3:b=a.o;do{if(!Uk(a))throw Error("Unmatched start-group tag: stream EOF");if(a.j==4){if(a.o!= b)throw Error("Unmatched end-group tag");break}Vk(a)}while(1);break;default:throw Ek(a.j,a.l);}},Wk=function(a,b,c){var d=a.g.l,e=Kk(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},Xk=function(a){var b=Kk(a.g)>>>0;a=a.g;var c=Pk(a,b);a=a.j;if(Vg){var d=a,e;(e= Ug)||(e=Ug=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(Tg===void 0){try{e.decode(new Uint8Array([128]))}catch(n){}try{e.decode(new Uint8Array([97])),Tg=!0}catch(n){Tg=!1}}!Tg&&(Ug=void 0);throw m;}}else{f=c;b=f+b;c=[];for(var g=null,h,k;f=b?Rg():(k=a[f++],h<194||(k&192)!==128?(f--,Rg()):c.push((h&31)<<6|k&63)):h<240?f>=b-1?Rg():(k=a[f++],(k&192)!==128||h===224&&k<160||h===237&&k>=160||((e= a[f++])&192)!==128?(f--,Rg()):c.push((h&15)<<12|(k&63)<<6|e&63)):h<=244?f>=b-2?Rg():(k=a[f++],(k&192)!==128||(h<<28)+(k-144)>>30!==0||((e=a[f++])&192)!==128||((d=a[f++])&192)!==128?(f--,Rg()):(h=(h&7)<<18|(k&63)<<12|(e&63)<<6|d&63,h-=65536,c.push((h>>10&1023)+55296,(h&1023)+56320))):Rg(),c.length>=8192&&(g=Sg(g,c),c.length=0);f=Sg(g,c)}return f},Yk=function(a,b,c){var d=Kk(a.g)>>>0;for(d=a.g.g+d;a.g.g0;a--){r=a-1;n=h[r];r-=e;if(!(n==null||ci(n,d, r)||$h(n)&&n.size===0))break;u=!0}if(h!==b||k||u){if(!c)h=Array.prototype.slice.call(h,0,a);else if(u||k||m)h.length=a;m&&h.push(m)}b=h}return b}function cl(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");Qh(b,128);return jj(a,Vh(b))};var dl=function(a,b){this.j=a>>>0;this.g=b>>>0},fl=function(a){if(!a)return el||(el=new dl(0,0));if(!/^-?\d+$/.test(a))return null;wi(a);return new dl(mi,ni)},el;var gl=function(){this.g=[]};gl.prototype.length=function(){return this.g.length};gl.prototype.end=function(){var a=this.g;this.g=[];return a}; var hl=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)},il=function(a,b){for(;b>127;)a.g.push(b&127|128),b>>>=7;a.g.push(b)},jl=function(a,b){if(b>=0)il(a,b);else{for(var c=0;c<9;c++)a.g.push(b&127|128),b>>=7;a.g.push(1)}},kl=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 ll=function(){this.l=[];this.j=0;this.g=new gl},ml=function(a,b){b.length!==0&&(a.l.push(b),a.j+=b.length)},ol=function(a,b){nl(a,b,2);b=a.g.end();ml(a,b);b.push(a.j);return b},pl=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++},ql=function(a){ml(a,a.g.end());for(var b=new Uint8Array(a.j),c=a.l,d=c.length,e=0,f=0;f0?void 0:b]} function Bl(a){var b=a[Hl];if(b)return b;b=Kl(a,a[Hl]=new Gl,Jl,Jl,Il);if(!b.ga&&!b.j&&!b.g){var c=!0,d;for(d in b)isNaN(d)||(c=!1);c?(mj(a[0])===kj?Fl?b=Fl:(b=new Gl,b.te=mj(!0),b=Fl=b):b=El||(El=new Gl),b=a[Hl]=b):b.A=!0}return b}function Ll(a,b,c){a[b]=c} function Kl(a,b,c,d,e){e=e===void 0?Ll:e;b.te=mj(a[0]);var f=0,g=a[++f];g&&g.constructor===Object&&(b.ga=g,g=a[++f],typeof g==="function"&&(b.l=g,b.o=a[++f],g=a[++f]));for(var h={};Array.isArray(g)&&typeof g[0]==="number"&&g[0]>0;){for(var k=0;k>31)*2+1;var e=d>>>23&255;d&=8388607;bm(b,c,e==255?d?NaN:a*Infinity:e==0?a*Math.pow(2,-149)*d:a*Math.pow(2,e-150)*(d+Math.pow(2,23)));return!0},function(a,b,c){b=Gi(b);b!=null&&(nl(a,c,5),a=a.g,c=oi||(oi=new DataView(new ArrayBuffer(8))),c.setFloat32(0,+b,!0),ni=0,mi=c.getUint32(0, !0),kl(a,mi))}),lm=$l(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 Fk();bm(b,c,a===0?void 0:a);return!0},function(a,b,c){a:if(b!=null){if(Ki(b)){if(typeof b==="string"){b=Ti(b);break a}if(typeof b==="number"){b=Vi(b);break a}}b=void 0}b!=null&&(typeof b==="string"&&fl(b),b!=null&&(nl(a,c,0),typeof b==="number"? (a=a.g,qi(b),hl(a,mi,ni)):(c=fl(b),hl(a.g,c.j,c.g))))}),qm=$l(function(a,b,c){if(a.j!==0)return!1;bm(b,c,Kk(a.g));return!0},dm),rm=am(function(a,b,c){if(a.j!==0&&a.j!==2)return!1;b=Lj(b,Th(b),c,2,!1);a.j==2?Yk(a,Kk,b):b.push(Kk(a.g));return!0},function(a,b,c){b=yl(Pi,b);if(b!=null&&b.length){c=ol(a,c);for(var d=0;d>>0;a=Qk(a.g,d);bm(b,c,a===Ah()?void 0:a);return!0},function(a,b,c){b=b==null||typeof b=="string"||sh(b)||b instanceof wh?b:void 0;b!=null&&rl(a,c,Hk(b).buffer)}),Bm=$l(function(a,b,c){if(a.j!==0)return!1;bm(b,c,Kk(a.g)>>>0);return!0},gm),Cm=$l(function(a,b,c){if(a.j!==0)return!1;a=Kk(a.g)>>>0;bm(b,c,a===0?void 0:a);return!0},gm), Dm=$l(function(a,b,c){if(a.j!==0)return!1;bm(b,c,Kk(a.g));return!0},hm),Em=am(function(a,b,c){if(a.j!==0&&a.j!==2)return!1;b=Lj(b,Th(b),c,2,!1);a.j==2?Yk(a,Ok,b):b.push(Kk(a.g));return!0},function(a,b,c){b=yl(Pi,b);if(b!=null&&b.length){c=ol(a,c);for(var d=0;d-1)return b.apply(null,v(c));try{return a.g=a.l.g.g(),b.apply(null,v(c))}finally{a.o+=a.l.g.g()-a.g,a.g=-1,a.j+=1}}};var Om=function(a,b){this.j=a;this.l=b;this.g=new Mm(a)};var Pm=function(){this.g={}},Qm=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 Rm={mp:1,Np:2,fp:3};var Sm=function(){this.A=void 0;this.N=0;this.B=new Df(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",Rm));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 Om(Ng(),this.ea);this.C=this.g=this.o=!1;this.flags=new Pm}; Sm.prototype.Pg=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)}}}}; Sm.prototype.Qg=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}),dn=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=cn()||(c!=null?c:Math.random()2048||this.events.push(a)};var en=function(a){a&&an&&cn()&&(an.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),an.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))}; dn.prototype.start=function(a,b){if(!this.j)return null;a=new $m(a,b,Zm()||Ym());b="goog_"+a.label+"_"+a.uniqueId+"_start";an&&cn()&&an.mark(b);return a};dn.prototype.end=function(a){if(this.j&&typeof a.value==="number"){a.duration=(Zm()||Ym())-a.value;var b="goog_"+a.label+"_"+a.uniqueId+"_end";an&&cn()&&an.mark(b);this.B(a)}};var hn=function(){var a=fn;this.C=gn;this.A="jserror";this.l=!0;this.j=null;this.B=this.qc;this.g=a===void 0?null:a;this.o=!1};l=hn.prototype;l.Ug=function(a){this.j=a};l.Fi=function(a){this.A=a};l.Hi=function(a){this.l=a};l.Ii=function(a){this.o=a};l.Sd=function(a,b,c){var d=this;return Nm(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{en(e),g=d.B(a,new jn(kn(h)),void 0,c)}catch(k){d.qc(217,k)}if(!g)throw h;}return f})()}; l.Rg=function(a,b,c,d){var e=this;return Nm(mc().j.g,function(){var f=Da.apply(0,arguments);return e.Sd(a,function(){return b.apply(c,f)},d)})}; l.qc=function(a,b,c,d,e){e=e||this.A;try{var f=new wg;Bg(f,1,"context",a);Vm(b)||(b=new jn(kn(b)));b.msg&&Bg(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){}Ag(f,3,[g]);var h=vg();h.j&&Bg(f,4,"top",h.j.url||"");Ag(f,5,[{url:h.g.url||""},{url:h.g.url?Sf(h.g.url):""}]);Tm(this.C,e,f,this.o,c)}catch(k){try{Tm(this.C,e,{context:"ecmserr",rctx:a,msg:kn(k),url:h&&h.g.url},this.o,c)}catch(m){}}return this.l}; var kn=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},jn=function(a){Um.call(this,Error(a),{message:a})};w(jn,Um);var gn,ln,fn=new dn(1,window),mn=function(){D&&typeof D.google_measure_js_timing!="undefined"&&(D.google_measure_js_timing||fn.C())};gn=new function(){var a="https:";D&&D.location&&D.location.protocol==="http:"&&(a="http:");this.j=a;this.g=.01;this.l=Math.random()};ln=new hn;D&&D.document&&(D.document.readyState=="complete"?mn():fn.j&&Jf(D,"load",function(){mn()})); var nn=function(a){ln.Ug(function(b){$a(a,function(c){c(b)})})},on=function(a,b){return ln.Sd(a,b)},pn=function(a,b,c,d){return ln.Rg(a,b,c,d)},qn=function(a,b,c,d){ln.qc(a,b,c,d)};var rn=Date.now(),sn=-1,tn=-1,un,vn=-1,wn=!1,xn=function(){return Date.now()-rn},yn=function(){var a=mc().A,b=tn>=0?xn()-tn:-1,c=wn?xn()-sn:-1,d=vn>=0?xn()-vn:-1;if(a==947190542)return 100;if(a==79463069)return 200;a=[2E3,4E3];var e=[250,500,1E3];qn(637,Error(),.001);var f=b;c!=-1&&c1500&&d<4E3?500:g};var zn=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};l=zn.prototype;l.getWidth=function(){return this.right-this.left};l.getHeight=function(){return this.bottom-this.top};l.clone=function(){return new zn(this.top,this.right,this.bottom,this.left)};l.contains=function(a){return this&&a?a instanceof zn?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){Ma(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 An=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};zn.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}; zn.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};zn.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 Bn=function(a,b,c){b instanceof Xe?(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};zn.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 Cn=function(a,b,c){var d=new zn(0,0,0,0);this.time=a;this.volume=null;this.l=b;this.g=d;this.j=c};Cn.prototype.Ed=function(a,b){return!!a&&(!(b===void 0?0:b)||this.volume==a.volume)&&this.l==a.l&&An(this.g,a.g)&&!0};var Dn=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};Dn.prototype.getTimestamp=function(){return this.B};Dn.prototype.Ed=function(a,b){return this.l.Ed(a.l,b===void 0?!1:b)&&this.J==a.J&&An(this.j,a.j)&&An(this.A,a.A)&&this.g==a.g&&this.o==a.o&&this.B==a.B&&this.C==a.C};var En={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},Sb={dj:"start",FIRST_QUARTILE:"firstquartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdquartile",COMPLETE:"complete",ERROR:"error",rl:"metric",PAUSE:"pause",cj:"resume",SKIPPED:"skip",Dl:"viewable_impression",vl:"mute",Cl:"unmute",FULLSCREEN:"fullscreen",Wk:"exitfullscreen",Ri:"bufferstart",Qi:"bufferfinish",Xk:"fully_viewable_audible_half_duration_impression",ql:"measurable_impression",Nk:"abandon",Vk:"engagedview",IMPRESSION:"impression", Sk:"creativeview",LOADED:"loaded",PROGRESS:"progress",po:"close",qo:"collapse",gp:"overlay_resize",hp:"overlay_unmeasurable_impression",ip:"overlay_unviewable_impression",kp:"overlay_viewable_immediate_impression",jp:"overlay_viewable_end_of_session_impression",Tk:"custom_metric_viewable",Pk:"audio_audible",Rk:"audio_measurable",Qk:"audio_impression"},Fn="start firstquartile midpoint thirdquartile resume loaded".split(" "),Gn=["start","firstquartile","midpoint","thirdquartile"],Hn=["abandon"],In= {UNKNOWN:-1,dj:0,FIRST_QUARTILE:1,MIDPOINT:2,THIRD_QUARTILE:3,COMPLETE:4,rl:5,PAUSE:6,cj:7,SKIPPED:8,Dl:9,vl:10,Cl:11,FULLSCREEN:12,Wk:13,Xk:14,ql:15,Nk:16,Vk:17,IMPRESSION:18,Sk:19,LOADED:20,Tk:21,Ri:22,Qi:23,Qk:27,Rk:28,Pk:29};var Kb={Wn:"addEventListener",Co:"getMaxSize",Eo:"getScreenSize",Fo:"getState",Go:"getVersion",np:"removeEventListener",ap:"isViewable"},Jn=function(a){var b=a!==a.top,c=a.top===qg(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,Tf:e,Cn:d}};var Kn=function(){var a=window.document;return a&&typeof a.elementFromPoint==="function"};function Ln(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 Ye(d.innerWidth,d.innerHeight)).round():hf(d||window).round()}catch(n){e=new Ye(-12245933,-12245933)}a=e;var f=a.height,g=a.width;if(g===-12245933)return new zn(g,g,g,g);var h=kf(af(b.document).g),k=h.x,m=h.y;return new zn(m,k+g,m+f,k)}catch(n){return new zn(-12245933,-12245933,-12245933,-12245933)}};var Mn=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};Mn.prototype.clone=function(){return new Mn(this.left,this.top,this.width,this.height)};var Nn=function(a){return new zn(a.top,a.left+a.width,a.top+a.height,a.left)},On=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 Mn(c,e,d-c,a-e)}return null};l=Mn.prototype; l.contains=function(a){return a instanceof Xe?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 Ye(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 Qn=function(a,b,c){if(typeof b==="string")(b=Pn(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=Pn(c,d);f&&(c.style[f]=e)}},Rn={},Pn=function(a,b){var c=Rn[b];if(!c){var d=ie(b);c=d;a.style[d]===void 0&&(d=(se?"Webkit":re?"Moz":qe?"ms":null)+ke(d),a.style[d]!==void 0&&(c=d));Rn[b]=c}return c},Sn=function(a,b){var c=$e(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},Tn=function(a,b){return Sn(a, b)||(a.currentStyle?a.currentStyle[b]:null)||a.style&&a.style[b]},Un=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},Vn=function(a){var b=$e(a),c=Tn(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=Tn(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},Wn=function(a){var b=$e(a),c=new Xe(0,0);if(a==(b?$e(b):document).documentElement)return c;a=Un(a);b=kf(af(b).g);c.x=a.left+b.x;c.y=a.top+b.y;return c},Yn=function(a,b){var c=new Xe(0,0),d=lf($e(a));if(!pe(d,"parent"))return c;do{var e=d==b?Wn(a):Xn(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c},Xn=function(a){a=Un(a);return new Xe(a.left,a.top)},Zn=function(a){typeof a=="number"&&(a=Math.round(a)+"px");return a},ao=function(a){var b=$n;if(Tn(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},$n=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=se&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Un(a),new Ye(a.right-a.left,a.bottom-a.top)):new Ye(b,c)},bo=function(a){var b=Wn(a);a=ao(a);return new Mn(b.x,b.y,a.width,a.height)},co=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+")")},eo=function(a,b){a.style.display=b?"":"none"};var fo=function(a,b){b=Math.pow(10,b);return Math.floor(a*b)/b},go=function(a){return new zn(a.top,a.right,a.bottom,a.left)},ho=function(a){var b=a.top||0,c=a.left||0;return new zn(b,c+(a.width||0),b+(a.height||0),c)},io=function(a){return a!=null&&a>=0&&a<=1};function jo(){var a=Ic();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 Fc(a,b)})||Fc(a,"OMI/")&&!Fc(a,"XiaoMi/")?!0:Fc(a,"Presto")&&Fc(a,"Linux")&&!Fc(a,"X11")&&!Fc(a,"Android")&&!Fc(a,"Mobi"):!1} function ko(){var a=Ic();return Fc(a,"AppleTV")||Fc(a,"Apple TV")||Fc(a,"CFNetwork")||Fc(a,"tvOS")}function lo(){var a=Ic();return Fc(a,"sdk_google_atv_x86")||Fc(a,"Android TV")}function mo(){return Fc(Ic(),"CrKey")&&!(Fc(Ic(),"CrKey")&&Fc(Ic(),"SmartSpeaker"))||Fc(Ic(),"PlayStation")||Fc(Ic(),"Roku")||jo()||Fc(Ic(),"Xbox")||ko()||lo()};var oo=function(){this.N=!1;this.l=!ag(D.top);this.C=Pf()||Qf();var a=sg();a=a.length>0&&a[a.length-1]!=null&&a[a.length-1].url!=null?((a=a[a.length-1].url.match(Rf)[3]||null)?decodeURI(a):a)||"":"";this.domain=a;this.g=new zn(0,0,0,0);this.A=new Ye(0,0);this.o=new Ye(0,0);this.J=new zn(0,0,0,0);this.frameOffset=new Xe(0,0);this.F=!1;this.B=0;this.D=!1;this.j=!(!D||!Jn(D).Lb);no(this)},po=function(a,b){b&&b.screen&&(a.A=new Ye(b.screen.width,b.screen.height))},qo=function(a,b){a:{var c=a.g?new Ye(a.g.getWidth(), a.g.getHeight()):new Ye(0,0);b=b===void 0?D: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,n=h.offsetHeight,p=h.offsetWidth;h.clientHeight!=n&&(k=g.scrollHeight,m=g.scrollWidth,n=g.offsetHeight,p=g.offsetWidth);k>c.height?k>n?(d=k,e=m):(d=n,e=p):k0||a.D)return!0;a=Ng().j.isVisible();var b=Of();return a||b},ro=function(){return G(oo)};var to=function(a){this.l=a;this.j=0;this.g=null};to.prototype.cancel=function(){Ng().clearTimeout(this.g);this.g=null};var uo=function(a){var b=Ng(),c=mc().j.g;a.g=b.setTimeout(Nm(c,pn(143,function(){a.j++;a.l.sample()})),yn())};var vo=function(a,b,c){this.l=a;this.xa=c===void 0?"na":c;this.C=[];this.za=!1;this.o=new Cn(-1,!0,this);this.g=this;this.N=b;this.K=this.D=!1;this.da="uk";this.P=!1;this.A=!0};vo.prototype.F=function(){return!1};vo.prototype.G=function(){return this.za=!0};vo.prototype.he=function(){return this.g.da};vo.prototype.Ze=function(){return this.g.K};var xo=function(a,b,c){if(!a.K||(c===void 0?0:c))a.K=!0,a.da=b,a.N=0,a.g!=a||wo(a)};vo.prototype.getName=function(){return this.g.xa};vo.prototype.Yc=function(){return this.g.Z()}; vo.prototype.Z=function(){return{}};vo.prototype.zc=function(){return this.g.N};var yo=function(a,b){kb(a.C,b)||(a.C.push(b),b.ke(a.g),b.cd(a.o),b.sc()&&(a.D=!0))};vo.prototype.T=function(){var a=ro();a.g=Ln(!0,this.l,a.C)};vo.prototype.W=function(){po(ro(),this.l)};vo.prototype.ba=function(){return this.o.g};var zo=function(a){a=a.g;a.W();a.T();var b=ro();b.J=Ln(!1,a.l,b.C);qo(ro(),a.l);a.o.g=a.ba()};vo.prototype.sample=function(){};var Ao=function(a,b){a.g!=a?Ao(a.g,b):a.A!==b&&(a.A=b,wo(a))}; vo.prototype.isActive=function(){return this.g.A};var Bo=function(a){a.D=a.C.length?eb(a.C,function(b){return b.sc()}):!1},Co=function(a){var b=qb(a.C);$a(b,function(c){c.cd(a.o)})},wo=function(a){var b=qb(a.C);$a(b,function(c){c.ke(a.g)});a.g!=a||Co(a)};l=vo.prototype;l.ke=function(a){var b=this.g;this.g=a.zc()>=this.N?a:this;b!==this.g?(this.A=this.g.A,wo(this)):this.A!==this.g.A&&(this.A=this.g.A,wo(this))};l.cd=function(a){if(a.j===this.g){var b=!this.o.Ed(a,this.D);this.o=a;b&&Co(this)}}; l.sc=function(){return this.D};l.dispose=function(){this.P=!0};l.Ja=function(){return this.P};var Do=function(a,b,c,d){this.element=a;this.g=new zn(0,0,0,0);this.o=new zn(0,0,0,0);this.j=b;this.ea=c;this.F=d;this.D=!1;this.timestamp=-1;this.B=new Dn(b.o,this.element,this.g,new zn(0,0,0,0),0,0,xn(),0)};l=Do.prototype;l.ih=function(){return!0};l.Bf=function(){};l.dispose=function(){if(!this.Ja()){var a=this.j;lb(a.C,this);a.D&&this.sc()&&Bo(a);this.Bf();this.D=!0}};l.Ja=function(){return this.D};l.Yc=function(){return this.j.Yc()};l.zc=function(){return this.j.zc()};l.he=function(){return this.j.he()}; l.Ze=function(){return this.j.Ze()};l.ke=function(){};l.cd=function(){this.uc()};l.sc=function(){return this.F};var Eo=function(a){this.A=!1;this.g=a;this.o=function(){}};l=Eo.prototype;l.zc=function(){return this.g.zc()};l.he=function(){return this.g.he()};l.Ze=function(){return this.g.Ze()};l.create=function(a,b,c){var d=null;this.g&&(d=this.Ke(a,b,c),yo(this.g,d));return d};l.jh=function(){return this.Yd()};l.Yd=function(){return!1};l.init=function(a){return this.g.G()?(yo(this.g,this),this.o=a,!0):!1};l.ke=function(a){a.zc()==0&&this.o(a.he(),this)};l.cd=function(){};l.sc=function(){return!1}; l.dispose=function(){this.A=!0};l.Ja=function(){return this.A};l.Yc=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();Ng();Jg(D,a)};var Qo=function(){this.g=0};function Ro(a){a&&typeof a.dispose=="function"&&a.dispose()};var So=function(){this.N=this.N;this.J=this.J};So.prototype.N=!1;So.prototype.Ja=function(){return this.N};So.prototype.dispose=function(){this.N||(this.N=!0,this.O())};So.prototype[Symbol.dispose]=function(){this.dispose()};var M=function(a,b){To(a,Sa(Ro,b))},To=function(a,b){a.N?b():(a.J||(a.J=[]),a.J.push(b))};So.prototype.O=function(){if(this.J)for(;this.J.length;)this.J.shift()()};var Uo=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=G(Qo);g.add("i",d.g++);g.add("adk",e);Ko(g,f);e=new No(g);Po(e)}})};var Vo=function(){this.j=this.l=this.o=this.g=0},Wo=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 Xo=[1,.75,.5,.3,0],Yo=function(a){this.j=a=a===void 0?Xo:a;this.g=cb(this.j,function(){return new Vo})},$o=function(a,b){return Zo(a,function(c){return c.g},b===void 0?!0:b)},bp=function(a,b){return ap(a,b,function(c){return c.g})},cp=function(a,b){return Zo(a,function(c){return c.l},b===void 0?!0:b)},dp=function(a,b){return ap(a,b,function(c){return c.l})},ep=function(a,b){return ap(a,b,function(c){return c.j})},fp=function(a){$a(a.g,function(b){b.j=0})},gp=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;Wo(a.g[f],g&&k,e,!g||h)}},Zo=function(a,b,c){a=cb(a.g,function(d){return b(d)});return c?a:hp(a)},ap=function(a,b,c){var d=jb(a.j,function(e){return b<=e});return d==-1?0:c(a.g[d])},hp=function(a){return cb(a,function(b,c,d){return c>0?d[c]-d[c-1]:d[c]})};var ip=function(){this.l=new Yo;this.W=new Vo;this.G=this.B=-1;this.ba=1E3;this.ha=new Yo([1,.9,.8,.7,.6,.5,.4,.3,.2,.1,0]);this.aa=this.K=-1},jp=function(a,b){return cp(a.l,b===void 0?!0:b)}; ip.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.rb):b.rb;this.aa=Math.max(this.aa,b.rb);gp(this.ha,b.rb,c.rb,b.g,a,d);gp(this.l,b.na,c.na,b.g,a,d);c=d||c.Nd!=b.Nd?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.g;Wo(this.W,c,a,b)};ip.prototype.Dc=function(){return this.W.l>=this.ba};function kp(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 lp=pc.URL,mp;if(mp=!!lp){var np;a:{if(lp){var op=RegExp(".*[&#?]google_debug(=[^&]*)?(&.*)?$");try{var pp=op.exec(decodeURIComponent(lp));if(pp){np=pp[1]&&pp[1].length>1?pp[1].substring(1):"true";break a}}catch(a){}}np=""}mp=np.length>0}ln.Hi(!mp)}var qp=function(a,b,c,d){var e=e===void 0?!1:e;c=pn(d,c);Jf(a,b,c,{capture:e})};var rp=new zn(0,0,0,0);function sp(a,b){b=tp(b);return b===0?0:tp(a)/b}function tp(a){return Math.max(a.bottom-a.top,0)*Math.max(a.right-a.left,0)}function up(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=$e(a),e=d&&lf(d),f=e&&e.frameElement;f&&(a=f)}}catch(g){break}}return!1} function vp(a,b,c){if(!a||!b)return!1;b=Bn(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;ag(window.top)&&window.top&&window.top.document&&(window=window.top);if(!Kn())return!1;a=window.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=$e(c))&&b.defaultView&&b.defaultView.frameElement)&&up(b,a);var d=a===c;a=!d&&a&&Bf(a,function(e){return e===c});return!(b||d||a)} function wp(a,b,c,d){return ro().l?!1:a.getWidth()<=0||a.getHeight()<=0?!0:c&&d?on(208,function(){return vp(a,b,c)}):!1};var xp=new zn(0,0,0,0),zp=function(a,b,c){So.call(this);this.position=xp.clone();this.yg=this.fg();this.ji=-2;this.Gn=Date.now();this.tk=-1;this.tg=b;this.sg=null;this.Ue=!1;this.Hg=null;this.opacity=-1;this.vn=c;this.Hn=!1;this.ki=function(){};this.xk=function(){};this.wb=new Cf;this.wb.md=a;this.wb.g=a;this.Tb=!1;this.Dd={mi:null,li:null};this.mk=!0;this.xf=null;this.pe=this.Tm=!1;mc().N++;this.qb=this.Vh();this.rk=-1;this.ta=null;this.Gj=this.Qm=!1;this.ea=new fc;oc(this.ea);yp(this);this.vn== 1?ic(this.ea,"od",1):ic(this.ea,"od",0)};w(zp,So);zp.prototype.O=function(){this.wb.g&&(this.Dd.mi&&(Kf(this.wb.g,"mouseover",this.Dd.mi),this.Dd.mi=null),this.Dd.li&&(Kf(this.wb.g,"mouseout",this.Dd.li),this.Dd.li=null));this.xf&&this.xf.dispose();this.ta&&this.ta.dispose();delete this.yg;delete this.ki;delete this.xk;delete this.wb.md;delete this.wb.g;delete this.Dd;delete this.xf;delete this.ta;delete this.ea;So.prototype.O.call(this)};zp.prototype.Zc=function(){return this.ta?this.ta.g:this.position}; zp.prototype.Pg=function(a){mc().Pg(a)};zp.prototype.Qg=function(a){mc().Qg(a)};var yp=function(a){a=a.wb.md;var b;if(b=a&&a.getAttribute)b=/-[a-z]/.test("googleAvInapp")?!1:Ce&&a.dataset?"googleAvInapp"in a.dataset:a.hasAttribute?a.hasAttribute("data-"+je()):!!a.getAttribute("data-"+je());b&&(ro().j=!0)};zp.prototype.sc=function(){return!1};zp.prototype.fg=function(){return new ip};zp.prototype.Za=function(){return this.yg}; var Ap=function(a,b){b!=a.pe&&(a.pe=b,a=ro(),b?a.B++:a.B>0&&a.B--)},Bp=function(a,b){if(a.ta){if(b.getName()===a.ta.getName())return;a.ta.dispose();a.ta=null}b=b.create(a.wb.g,a.ea,a.sc());if(b=b!=null&&b.ih()?b:null)a.ta=b},Cp=function(a,b,c){if(!a.sg||a.tg==-1||b.getTimestamp()===-1||a.sg.getTimestamp()===-1)return 0;a=b.getTimestamp()-a.sg.getTimestamp();return a>c?0:a};zp.prototype.Ej=function(a){return Cp(this,a,1E4)}; var Dp=function(a,b,c){if(a.ta){a.ta.uc();var d=a.ta.B,e=d.l,f=e.g;if(d.A!=null){var g=d.j;a.Hg=new Xe(g.left-f.left,g.top-f.top)}f=a.Wg()?Math.max(d.g,d.o):d.g;g={};e.volume!==null&&(g.volume=e.volume);e=a.Ej(d);a.sg=d;a.Li(f,b,c,!1,g,e,d.C)}},Ep=function(a){if(a.Ue&&a.xf){var b=jc(a.ea,"od")==1,c=ro().g,d=a.xf,e=a.ta?a.ta.getName():"ns",f=a.Hg,g=new Ye(c.getWidth(),c.getHeight());c=a.Wg();a={En:e,Hg:f,Tn:g,Wg:c,na:a.qb.na,On:b};if(b=d.j){b.uc();e=b.B;f=e.l.g;var h=g=null;e.A!=null&&f&&(g=e.j,g= new Xe(g.left-f.left,g.top-f.top),h=new Ye(f.right-f.left,f.bottom-f.top));e=c?Math.max(e.g,e.o):e.g;c={En:b.getName(),Hg:g,Tn:h,Wg:c,On:!1,na:e}}else c=null;c&&Uo(d,a,c)}};l=zp.prototype;l.Li=function(a,b,c,d,e,f,g){this.Tb||(this.Ue&&(a=this.rh(a,c,e,g),d=d&&this.qb.na>=(this.Nd()?.3:.5),this.Mi(f,a,d),this.tg=b,a.na>0&&-1===this.rk&&(this.rk=b),this.tk==-1&&this.Dc()&&(this.tk=b),this.ji==-2&&(this.ji=tp(this.Zc())?a.na:-1),this.qb=a),this.ki(this))}; l.Mi=function(a,b,c){this.Za().N(a,b,this.qb,c)};l.Vh=function(){return new Ab};l.rh=function(a,b,c,d){c=this.Vh();c.g=b;b=Ng().j;b=Of()?-1:b.isVisible()?0:1;c.j=b;c.na=this.xh(a);c.Nd=this.Nd();c.rb=d;return c};l.xh=function(a){return this.opacity===0&&jc(this.ea,"opac")===1?0:a};l.Nd=function(){return!1};l.Wg=function(){return this.Qm||this.Tm};l.Kb=function(){return 0};l.Dc=function(){return this.yg.Dc()}; l.Fj=function(){var a=this.Ue;a=(this.Gj||this.Ja())&&!a;var b=mc().l!==2||this.Hn;return this.Tb||b&&a?2:this.Dc()?4:3};l.cg=function(){return 0};var Fp=function(a,b,c){b&&(a.ki=b);c&&(a.xk=c)};var Gp=function(){};Gp.prototype.next=function(){return Hp};var Hp={done:!0,value:void 0};Gp.prototype.Zd=function(){return this};var Ip=function(){this.o=this.g=this.l=this.j=this.A=0},Jp=function(a){var b={};b=(b.ptlt=Ta()-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 Kp=function(){Ab.call(this);this.fullscreen=!1;this.volume=void 0;this.l=!1;this.mediaTime=-1};w(Kp,Ab);var Lp=function(a){return io(a.volume)&&a.volume>0};var Np=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 Mp(f,b,c)}},Op=function(a,b){return function(c){return b(c)?c[a]:void 0}},Pp=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 Qp=Pp([void 0,1,2,3,4,8,16]),Rp=Pp([void 0,4,8,16]),Sp={sv:"sv",v:"v",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",p0:Op("p0",Rp),p1:Op("p1",Rp),p2:Op("p2",Rp),p3:Op("p3",Rp),cp:"cp",tos:"tos",mtos:"mtos",amtos:"amtos",mtos1:Np("mtos1",[0,2,4],!1,Rp),mtos2:Np("mtos2",[0,2,4],!1,Rp),mtos3:Np("mtos3",[0,2,4],!1,Rp),mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",vht:"vht",mut:"mut",a:"a",a0:Op("a0",Rp),a1:Op("a1",Rp),a2:Op("a2",Rp),a3:Op("a3",Rp),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:Op("c0",Rp),c1:Op("c1",Rp),c2:Op("c2",Rp),c3:Op("c3",Rp),mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:Op("qmtos",Qp),qnc:Op("qnc",Qp),qmv:Op("qmv",Qp),qnv:Op("qnv",Qp), 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:Op("ss0",Rp),ss1:Op("ss1",Rp),ss2:Op("ss2",Rp),ss3:Op("ss3",Rp),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"},Tp=Object.assign({},Sp,{avid:function(a){return function(){return a}}("audio"),avas:"avas",vs:"vs"}),Up={atos:"atos",avt:Np("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 Vp=function(){this.j=this.g=""};var Wp=function(){},Xp=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 Yp=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}; Yp.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 Zp=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},$p=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 aq=function(){this.g=this.j=0};aq.prototype.getValue=function(){return this.j};var bq=function(a,b,c){b>=32||(a.g&1<=.5;io(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.M+=a,this.D+=e?a:0);gp(this.j,b.na,c.na,b.g,a,d,e);Wo(this.g,!0,a);Wo(this.A,e,a);Wo(this.F,c.fullscreen,a);Wo(this.la,e&&!f,a);a=Math.floor(b.mediaTime/1E3);bq(this.P,a,b.isVisible());bq(this.Z,a,b.na>=1);bq(this.da,a,Lp(b))}};var eq=function(){this.l=!1};eq.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 fq=function(a,b){this.l=!1;this.o=a;this.N=b;this.A=0};w(fq,eq);fq.prototype.g=function(){return!0};fq.prototype.C=function(){return!1};fq.prototype.getId=function(){var a=this,b=Rb(function(c){return c==a.o});return In[b].toString()};fq.prototype.toString=function(){var a="";this.C()&&(a+="c");this.l&&(a+="s");this.A>0&&(a+=":"+this.A);return this.getId()+a};var gq=function(a,b){fq.call(this,a,b);this.B=[]};w(gq,fq);gq.prototype.j=function(a,b){b=b===void 0?null:b;b!=null&&this.B.push(b);fq.prototype.j.call(this,a)};var hq=function(){};var iq=function(){};w(iq,hq);iq.prototype.j=function(){return null};iq.prototype.l=function(){return[]};var jq=function(a,b,c,d){Do.call(this,a,b,c,d)};w(jq,Do);l=jq.prototype;l.sh=function(){if(this.element){var a=this.element,b=this.j.g.l;try{try{var c=go(a.getBoundingClientRect())}catch(m){c=new zn(0,0,0,0)}var d=c.right-c.left,e=c.bottom-c.top,f=Yn(a,b),g=f.x,h=f.y;var k=new zn(Math.round(h),Math.round(g+d),Math.round(h+e),Math.round(g))}catch(m){k=rp.clone()}this.g=k}};l.pj=function(){this.o=this.j.o.g};l.Hj=function(a){var b=jc(this.ea,"od")==1;return wp(a,this.o,this.element,b)}; l.qj=function(){this.timestamp=xn()}; l.uc=function(){this.qj();this.sh();if(this.element&&typeof this.element.videoWidth==="number"&&typeof this.element.videoHeight==="number"){var a=this.element;var b=new Ye(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.pj(); a=this.g;c=this.o;a=a.left<=c.right&&c.left<=a.right&&a.top<=c.bottom&&c.top<=a.bottom?new zn(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 zn(0,0,0,0);c=a.top>=a.bottom||a.left>=a.right?new zn(0,0,0,0):a;a=this.j.o;b=e=d=0;(this.g.bottom-this.g.top)*(this.g.right-this.g.left)>0&&(this.Hj(c)?c=new zn(0,0,0,0):(d=ro().A,b=new zn(0,d.height,d.width,0),d=sp(c,this.g),e=sp(c,ro().g),b=sp(c,b)));c=c.top>=c.bottom||c.left>=c.right?new zn(0,0,0, 0):Bn(c,-this.g.left,-this.g.top);so()||(e=d=0);this.B=new Dn(a,this.element,this.g,c,d,e,this.timestamp,b)};l.getName=function(){return this.j.getName()};var kq=new zn(0,0,0,0),lq=function(a,b,c){Do.call(this,null,a,b,c);this.C=a.isActive();this.A=0};w(lq,jq);l=lq.prototype;l.ih=function(){this.l();return!0};l.cd=function(){jq.prototype.uc.call(this)};l.qj=function(){};l.sh=function(){};l.uc=function(){this.l();jq.prototype.uc.call(this)};l.ke=function(a){a=a.isActive();a!==this.C&&(a?this.l():(ro().g=new zn(0,0,0,0),this.g=new zn(0,0,0,0),this.o=new zn(0,0,0,0),this.timestamp=-1));this.C=a};function mq(a){return[a.top,a.left,a.bottom,a.right]} var nq={},oq=(nq.firstquartile=0,nq.midpoint=1,nq.thirdquartile=2,nq.complete=3,nq),pq=function(a,b,c,d,e,f){f=f===void 0?new iq:f;zp.call(this,b,c,d);this.ti=e;this.Fh=0;this.Ma={};this.ya=new Yp;this.Ek={};this.Ra="";this.rd=null;this.xb=!1;this.g=[];this.Ec=f.j();this.C=f.l();this.A=null;this.o=-1;this.ba=this.F=void 0;this.K=this.G=0;this.P=-1;this.Ba=this.xa=!1;this.aa=this.D=this.j=this.Ie=this.Ya=0;this.Rb=this.Z=-1;this.Xa=0;this.Ua=new Yo;this.T=this.ha=this.da=0;this.la=-1;this.Pa=0;this.B= De;this.M=[this.fg()];this.Xc=2;this.Xd={};this.Xd.pause="p";this.Xd.resume="r";this.Xd.skip="s";this.Xd.mute="m";this.Xd.unmute="um";this.Xd.exitfullscreen="ef";this.l=null;this.ub=this.Va=!1;this.Wc=Math.floor(Date.now()/1E3-1704067200);this.W=0};w(pq,zp);pq.prototype.sc=function(){return!0};var qq=function(a){a.Gj=!0;a.Pa!=0&&(a.Pa=3)},rq=function(a){return a===void 0?a:Number(a)?fo(a,3):0};l=pq.prototype;l.Ej=function(a){return Cp(this,a,Math.max(1E4,this.o/3))}; l.Li=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.ba=k.isYouTube||this.ba;Ng();this.ub=!1;e=sq(this,b);tq(this)===1&&(f=e);zp.prototype.Li.call(this,a,b,c,d,k,f,g);this.Ec&&this.Ec.l&&$a(this.C,function(m){m.j(h)})}; l.Mi=function(a,b,c){zp.prototype.Mi.call(this,a,b,c);uq(this).N(a,b,this.qb,c);this.Ba=Lp(this.qb)&&Lp(b);this.P==-1&&this.xa&&(this.P=this.Za().g.g);this.ya.l=0;a=this.Dc();b.isVisible()&&this.ya.reportEvent("vs");a&&this.ya.reportEvent("vw");io(b.volume)&&this.ya.reportEvent("am");Lp(b)?this.ya.reportEvent("a"):this.ya.reportEvent("mut");this.pe&&this.ya.reportEvent("f");b.j!=-1&&(this.ya.reportEvent("bm"),b.j==1&&(this.ya.reportEvent("b"),Lp(b)&&this.ya.reportEvent("umutb")));Lp(b)&&b.isVisible()&& this.ya.reportEvent("avs");this.Ba&&a&&this.ya.reportEvent("avw");b.na>0&&this.ya.reportEvent("pv");vq(this,this.Za().g.g,!0)&&this.ya.reportEvent("gdr");dp(this.Za().l,1)>=2E3&&this.ya.reportEvent("pmx");this.ub&&this.ya.reportEvent("tvoff")};l.fg=function(){return new cq};l.Za=function(){return this.yg};var uq=function(a,b){return a.M[b!=null&&b=0?c:-1;return a}; var tq=function(a){var b=!!jc(mc().ea,"umt");return a.F||!b&&!a.ba?0:1},sq=function(a,b){a.Pa==2?b=0:a.tg==-1?b=0:(b-=a.tg,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.T+=Math.max(b-d,0),e=Math.min(d,a.K)):a.ha+=Math.abs(d);d!=0&&(a.K=0);a.la==-1&&d>0&&(a.la=vn>=0?xn()-vn:-1);a.G=c;return e};pq.prototype.xh=function(a){return ro().N?0:this.pe?1:zp.prototype.xh.call(this,a)};pq.prototype.Kb=function(){return 1}; pq.prototype.getDuration=function(){return this.o}; var wq=function(a,b){eb(a.C,function(c){return c.o==b.o})||a.C.push(b)},xq=function(a){var b=bp(a.Za().j,1);return vq(a,b)},vq=function(a,b,c){return b>=15E3?!0:a.xa?(c===void 0?0:c)?!0:a.o>0?b>=a.o/2:a.P>0?b>=a.P:!1:!1},yq=function(a){var b={},c=ro();b.insideIframe=c.l;b.unmeasurable=a.Tb;b.position=a.Zc();b.exposure=a.qb.na;b.documentSize=c.o;b.viewportSize=new Ye(c.g.getWidth(),c.g.getHeight());a.l!=null&&(b.presenceData=a.l);b.screenShare=a.qb.rb;return b},Fq=function(a){var b=fo(a.qb.na,2),c= a.ya.l,d=a.qb,e=uq(a),f=rq(e.o),g=rq(e.C),h=rq(d.volume),k=fo(e.B,2),m=fo(e.G,2),n=fo(d.na,2),p=fo(e.K,2),r=fo(e.aa,2);d=fo(d.rb,2);a=a.Zc().clone();a.round();e=jp(e,!1);return{Sn:b,df:c,Bg:f,vg:g,Oe:h,Cg:k,wg:m,na:n,Dg:p,xg:r,rb:d,position:a,Eg:e}},Hq=function(a,b){Gq(a.g,b,function(){return{Sn:0,df:void 0,Bg:-1,vg:-1,Oe:-1,Cg:-1,wg:-1,na:-1,Dg:-1,xg:-1,rb:-1,position:void 0,Eg:[]}});a.g[b]=Fq(a)},Gq=function(a,b,c){for(var d=a.length;d0?1:0;n.atos=$o(k.j);n.ssb=$o(k.ha,!1);n.amtos=cp(k.j,!1);n.uac=a.Ya;n.vpt=k.g.g;m=="nio"&&(n.nio=1,n.avms="nio");n.gmm="4";n.gdr=vq(a,k.g.g,!0)?1:0;n.efpf=a.Xc;if(m=="gsv"||m=="nis")f=a.ta,f.A>0&&(n.nnut=f.A);n.tcm=tq(a);n.nmt=a.ha;n.bt=a.T;n.pst=a.la;n.vpaid=a.F;n.dur=a.o;n.vmtime=a.G;n.is=a.ya.l;a.g.length>=1&&(n.i0=a.g[0].df,n.a0=[a.g[0].Oe],n.c0=[a.g[0].na],n.ss0= [a.g[0].rb],f=a.g[0].position,n.p0=f?mq(f):void 0);a.g.length>=2&&(n.i1=a.g[1].df,n.a1=Lq(a.g[1].Bg,a.g[1].Oe,a.g[1].vg),n.c1=Lq(a.g[1].Cg,a.g[1].na,a.g[1].wg),n.ss1=Lq(a.g[1].Dg,a.g[1].rb,a.g[1].xg),f=a.g[1].position,n.p1=f?mq(f):void 0,n.mtos1=a.g[1].Eg);a.g.length>=3&&(n.i2=a.g[2].df,n.a2=Lq(a.g[2].Bg,a.g[2].Oe,a.g[2].vg),n.c2=Lq(a.g[2].Cg,a.g[2].na,a.g[2].wg),n.ss2=Lq(a.g[2].Dg,a.g[2].rb,a.g[2].xg),f=a.g[2].position,n.p2=f?mq(f):void 0,n.mtos2=a.g[2].Eg);a.g.length>=4&&(n.i3=a.g[3].df,n.a3=Lq(a.g[3].Bg, a.g[3].Oe,a.g[3].vg),n.c3=Lq(a.g[3].Cg,a.g[3].na,a.g[3].wg),n.ss3=Lq(a.g[3].Dg,a.g[3].rb,a.g[3].xg),f=a.g[3].position,n.p3=f?mq(f):void 0,n.mtos3=a.g[3].Eg);n.cs=$p(a.ya);b&&(n.ic=Zp(a.ya),n.dvpt=k.g.j,n.dvs=ep(k.l,.5),n.dfvs=ep(k.l,1),n.davs=ep(k.j,.5),n.dafvs=ep(k.j,1),c&&(k.g.j=0,fp(k.l),fp(k.j)),a.Dc()&&(n.dtos=k.M,n.dav=k.D,n.dtoss=a.Fh+1,c&&(k.M=0,k.D=0,a.Fh++)),n.dat=k.A.j,n.dft=k.F.j,c&&(k.A.j=0,k.F.j=0));n.ps=[g.o.width,g.o.height];n.bs=[g.g.getWidth(),g.g.getHeight()];n.scs=[g.A.width,g.A.height]; n.dom=g.domain;a.Ie&&(n.vds=a.Ie);if(a.C.length>0||a.Ec)b=qb(a.C),a.Ec&&b.push(a.Ec),n.pings=cb(b,function(p){return p.toString()});b=cb(bb(a.C,function(p){return p.C()}),function(p){return p.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.ta?a.ta.getName():"ns";a.ta&&Zb(n,a.ta.Yc());h.g&&(n.femt=a.Z,n.femvt=a.Rb,n.emc=a.Xa,n.emb=$o(a.Ua,!1),n.emuc=a.da,n.avms="exc");d?(n.c=fo(a.qb.na,2),n.ss=fo(a.qb.rb,2)):n.tth=xn()-un;n.mc=fo(k.G,2);n.nc=fo(k.B,2);n.mv= rq(k.C);n.nv=rq(k.o);n.lte=fo(a.ji,2);d=uq(a,e);jp(k);n.qmtos=jp(d);n.qnc=fo(d.B,2);n.qmv=rq(d.C);n.qnv=rq(d.o);n.qas=d.o>0?1:0;n.qi=a.Ra;n.avms||(n.avms="geo");n.psm=k.P.g;n.psv=k.P.getValue();n.psfv=k.Z.getValue();n.psa=k.da.getValue();h=lc(h.ea);h.length&&(n.veid=h);a.l&&Zb(n,Jp(a.l));n.avas=a.cg();n.vs=a.Fj();n.co=Mq(a);return n},Iq=function(a,b){if(kb(Hn,b))return!0;var c=a.Ma[b];return c!==void 0?(a.Ma[b]=!0,!c):!1};pq.prototype.Fj=function(){return this.Tb?2:xq(this)?5:this.Dc()?4:3}; pq.prototype.cg=function(){return this.Va?this.Za().A.l>=2E3?4:3:2};var Mq=function(a){var b=a.W.toString(10).padStart(2,"0");b=""+a.Wc+b;a.W<99&&a.W++;return b};var Nq=Ta(),Qq=function(){this.g={};var a=lf();Oq(this,a,document);var b=Pq();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)Oq(this,c,c.document);Oq(this,a.top,a.top.document)}}catch(d){}},Pq=function(){var a=document.documentElement;try{if(!ag(lf().top))return"2";var b=[],c=lf(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"}},Oq=function(a,b,c){qp(c,"mousedown",function(){return Rq(a)},301); qp(b,"scroll",function(){return Sq(a)},302);qp(c,"touchmove",function(){return Tq(a)},303);qp(c,"mousemove",function(){return Uq(a)},304);qp(c,"keydown",function(){return Vq(a)},305)},Rq=function(a){Hb(a.g,function(b){b.l>1E5||++b.l})},Sq=function(a){Hb(a.g,function(b){b.g>1E5||++b.g})},Tq=function(a){Hb(a.g,function(b){b.g>1E5||++b.g})},Vq=function(a){Hb(a.g,function(b){b.j>1E5||++b.j})},Uq=function(a){Hb(a.g,function(b){b.o>1E5||++b.o})};var Wq=function(){this.g=[];this.j=[]},Xq=function(a,b){return fb(a.g,function(c){return c.Ra==b})},Yq=function(a,b){return b?fb(a.g,function(c){return c.wb.md==b}):null},Zq=function(a,b){return fb(a.j,function(c){return c.Kb()==2&&c.Ra==b})},ar=function(){var a=$q;return a.g.length==0?a.j:a.j.length==0?a.g:pb(a.j,a.g)};Wq.prototype.reset=function(){this.g=[];this.j=[]}; var br=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.ta&&b.ta.Bf(),b.dispose(),!0):!1},cr=function(a){var b=$q;if(br(b,a)){switch(a.Kb()){case 0:var c=function(){return null};case 2:c=function(){return Zq(b,a.Ra)};break;case 1:c=function(){return Xq(b,a.Ra)}}for(var d=c();d;d=c())br(b,d)}},dr=function(a){var b=$q;a=bb(a,function(c){return!Yq(b,c.wb.md)});b.g.push.apply(b.g,v(a))},er=function(a){var b=[];$a(a,function(c){eb($q.g,function(d){return d.wb.md=== c.wb.md&&d.Ra===c.Ra})||($q.g.push(c),b.push(c))})},$q=G(Wq);var fr=function(a,b,c,d){Do.call(this,a,b,c,d);this.l=this.A=0};w(fr,Do);fr.prototype.getName=function(){return"exc"};fr.prototype.uc=function(){this.B=new Dn(this.j.o,this.element,this.g,new zn(0,0,0,0),this.A,0,xn(),this.l)};var gr=function(){Eo.call(this,new vo(D,2))};w(gr,Eo);gr.prototype.getName=function(){return"exc"};gr.prototype.jh=function(){return!0};gr.prototype.Yd=function(){return!0};gr.prototype.Ke=function(a,b,c){return new fr(a,this.g,b,c)};var hr=function(){this.g=this.j=null},ir=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.jh()});a.g&&(a.g.init(c)?zo(a.g.g):b(a.g.g.he(),a.g));return a.g!=null};var kr=function(a){a=jr(a);Eo.call(this,a.length?a[a.length-1]:new vo(D,0));this.l=a;this.j=null};w(kr,Eo);l=kr.prototype;l.getName=function(){return(this.j?this.j:this.g).getName()};l.Yc=function(){return(this.j?this.j:this.g).Yc()};l.zc=function(){return(this.j?this.j:this.g).zc()};l.init=function(a){var b=!1;$a(this.l,function(c){c.G()&&(b=!0)});b&&(this.o=a,yo(this.g,this));return b};l.dispose=function(){$a(this.l,function(a){a.dispose()});Eo.prototype.dispose.call(this)}; l.jh=function(){return eb(this.l,function(a){return a.F()})};l.Yd=function(){return eb(this.l,function(a){return a.F()})};l.Ke=function(a,b,c){return new jq(a,this.g,b,c)};l.cd=function(a){this.j=a.j};var jr=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=mr.prototype;l.uc=function(){var a=or(this);a.length>0&&pr(this,a);jq.prototype.uc.call(this)};l.sh=function(){}; l.Hj=function(){return!1};l.pj=function(){};l.Yc=function(){var a={};return Object.assign(this.j.Yc(),(a.niot_obs=this.N,a.niot_cbk=this.J,a))};l.getName=function(){return"nio"};var rr=function(a){a=a===void 0?D:a;Eo.call(this,new vo(a,2))};w(rr,Eo);rr.prototype.getName=function(){return"nio"};rr.prototype.Yd=function(){return!ro().j&&this.g.g.l.IntersectionObserver!=null};rr.prototype.Ke=function(a,b,c){return new mr(a,this.g,b,c)};var tr=function(){var a=sr();vo.call(this,D.top,a,"geo")};w(tr,vo);tr.prototype.ba=function(){return ro().g};tr.prototype.F=function(){var a=sr();this.N!==a&&(this.g!=this&&a>this.g.N&&(this.g=this,wo(this)),this.N=a);return a==2};var sr=function(){mc();var a=ro();return a.l||a.j?0:2};var ur=function(){};var vr=function(){this.done=!1;this.g={Fl:0,ej:0,hq:0,xj:0,Yh:-1,cm:0,Zl:0,dm:0,Dn:0};this.A=null;this.C=!1;this.l=null;this.B=0;this.j=new to(this)},yr=function(){var a=wr;a.C||(a.C=!0,xr(a,function(){return a.o.apply(a,v(Da.apply(0,arguments)))}),a.o())};vr.prototype.sample=function(){zr(this,ar(),!1)}; var Ar=function(){G(ur);var a=G(hr);a.g!=null&&a.g.g?zo(a.g.g):no(ro())},zr=function(a,b,c){if(!a.done&&(a.j.cancel(),b.length!=0)){a.l=null;try{Ar();var d=xn();mc().J=d;if(G(hr).g!=null)for(var e=0;e=0?xn()-tn:-1,h=xn();e.g.Yh==-1&&(g=h);var k=ro(),m=mc(),n=kc(m.ea),p=ar();try{if(p.length>0){var r= k.g;r&&(n.bs=[r.getWidth(),r.getHeight()]);var u=k.o;u&&(n.ps=[u.width,u.height]);D.screen&&(n.scs=[D.screen.width,D.screen.height])}else n.url=encodeURIComponent(D.location.href.substring(0,512)),f.referrer&&(n.referrer=encodeURIComponent(f.referrer.substring(0,512)));n.tt=g;n.pt=tn;n.bin=m.l;D.google_osd_load_pub_page_exp!==void 0&&(n.olpp=D.google_osd_load_pub_page_exp);n.deb=[1,e.g.Fl,e.g.ej,e.g.xj,e.g.Yh,0,e.j.j,e.g.cm,e.g.Zl,e.g.dm,e.g.Dn,-1].join(";");n.tvt=Br(e,h);k.j&&(n.inapp=1);if(D!== null&&D!=D.top){p.length>0&&(n.iframe_loc=encodeURIComponent(D.location.href.substring(0,512)));var t=k.J;n.is=[t.getWidth(),t.getHeight()]}}catch(x){n.error=1}wr.l=n}r=Xb(wr.l);u=mc().j;jc(u.l,"prf")==1?(t=new Lm,e=u.g,f=0,e.g>-1&&(f=e.l.g.g()-e.g),t=Vj(t,1,Fi(e.o+f),0),e=u.g,t=wk(t,5,e.g>-1?e.j+1:e.j),t=zk(t,2,u.j.g.o()),t=zk(t,3,u.j.g.l()),u=zk(t,4,u.j.g.j()),t={},u=(t.pf=gh(u.g()),t)):u={};Zb(r,u);Zb(b,d,c,r,a())}])},wr=G(vr);var Fr=null,Gr="",Hr=!1,Ir=function(){var a=Fr||D;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 Jr(){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 Kr=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:Jr()}:"av.default_js_unreleased_RCxx".includes("youtube.player.web")?{ac:"yw",bc:Jr()}:"av.default_js_unreleased_RCxx".includes("outstream_web_client")?{ac:"out",bc:Jr()}:"av.default_js_unreleased_RCxx".includes("drx_rewarded_web")? {ac:"r",bc:Jr()}:"av.default_js_unreleased_RCxx".includes("gam_native_web_video")?{ac:"n",bc:Jr()}:"av.default_js_unreleased_RCxx".includes("admob_interstitial_video")?{ac:"int",bc:Jr()}:{ac:"j",bc:null}},Lr=Kr().ac,Mr=Kr().bc;var Or=function(a,b){var c={sv:"963"};Mr!==null&&(c.v=Mr);c.cb=Lr;c.nas=$q.g.length;c.msg=a;b!==void 0&&(a=Nr(b))&&(c.e=In[a]);return c},Pr=function(a){return a.lastIndexOf("custom_metric_viewable",0)==0},Nr=function(a){var b=Pr(a)?"custom_metric_viewable":a.toLowerCase();return Rb(function(c){return c==b})};var Qr={yo:"visible",mo:"audible",Ap:"time",Bp:"timetype"},Rr={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)}},Sr=function(){this.g=void 0;this.j=!1;this.l=0;this.o=-1;this.A="tos"},Tr=function(a){try{var b=a.split(",");return b.length>Nb(Qr).length?null:db(b,function(c,d){d=d.toLowerCase().split("=");if(d.length!=2||Rr[d[0]]=== void 0||!Rr[d[0]](d[1]))throw Error("Entry ("+d[0]+", "+d[1]+") is invalid.");c[d[0]]=d[1];return c},{})}catch(c){return null}},Ur=function(a,b){if(a.g==void 0)return 0;switch(a.A){case "mtos":return a.j?dp(b.j,a.g):dp(b.l,a.g);case "tos":return a.j?bp(b.j,a.g):bp(b.l,a.g)}return 0};var Vr=function(a,b,c,d){fq.call(this,b,d);this.B=a;this.J=c};w(Vr,fq);Vr.prototype.getId=function(){return this.B};Vr.prototype.C=function(){return!0};Vr.prototype.g=function(a){var b=a.Za(),c=a.getDuration();return eb(this.J,function(d){if(d.g!=void 0)var e=Ur(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 Wr=function(){};w(Wr,Wp);Wr.prototype.g=function(a){var b=new Vp;b.g=Xp(a,Sp);b.j=Xp(a,Up);return b};var Xr=function(a){fq.call(this,"fully_viewable_audible_half_duration_impression",a)};w(Xr,fq);Xr.prototype.g=function(a){return xq(a)};var Yr=function(a){this.g=a};w(Yr,hq);var Zr=function(a,b){fq.call(this,a,b)};w(Zr,fq);Zr.prototype.g=function(a){return a.Za().Dc()};var $r=function(a){gq.call(this,"measurable_impression",a)};w($r,gq);$r.prototype.g=function(a){var b=kb(this.B,jc(mc().ea,"ovms"));return!a.Tb&&(a.Pa!=0||b)};var as=function(){Yr.apply(this,arguments)};w(as,Yr);as.prototype.j=function(){return new $r(this.g)};as.prototype.l=function(){return[new Zr("viewable_impression",this.g),new Xr(this.g)]};var bs=function(a,b,c){lq.call(this,a,b,c)};w(bs,lq);bs.prototype.l=function(){var a=Ia("ima.admob.getViewability"),b=jc(this.ea,"queryid");typeof a==="function"&&b&&a(b)};bs.prototype.getName=function(){return"gsv"};var cs=function(a){a=a===void 0?D:a;Eo.call(this,new vo(a,2))};w(cs,Eo);cs.prototype.getName=function(){return"gsv"};cs.prototype.Yd=function(){var a=ro();mc();return a.j&&!1};cs.prototype.Ke=function(a,b,c){return new bs(this.g,b,c)};var ds=function(a,b,c){lq.call(this,a,b,c)};w(ds,lq);ds.prototype.l=function(){var a=this,b=Ia("ima.bridge.getNativeViewability"),c=jc(this.ea,"queryid");typeof b==="function"&&c&&b(c,function(d){Ub(d)&&a.A++;var e=d.opt_nativeViewVisibleBounds||{},f=d.opt_nativeViewHidden;a.g=ho(d.opt_nativeViewBounds||{});var g=a.j.o;g.g=f?kq.clone():ho(e);a.timestamp=d.opt_nativeTime||-1;ro().g=g.g;d=d.opt_nativeVolume;d!==void 0&&(g.volume=d)})};ds.prototype.getName=function(){return"nis"};var es=function(a){a=a===void 0?D:a;Eo.call(this,new vo(a,2))};w(es,Eo);es.prototype.getName=function(){return"nis"};es.prototype.Yd=function(){var a=ro();mc();return a.j&&!1};es.prototype.Ke=function(a,b,c){return new ds(this.g,b,c)};var fs=function(){vo.call(this,D,2,"mraid");this.ha=0;this.M=this.aa=!1;this.J=null;this.j=Jn(this.l);this.o.g=new zn(0,0,0,0);this.la=!1};w(fs,vo);fs.prototype.F=function(){return this.j.Lb!=null};fs.prototype.Z=function(){var a={};this.ha&&(a.mraid=this.ha);this.aa&&(a.mlc=1);a.mtop=this.j.Cn;this.J&&(a.mse=this.J);this.la&&(a.msc=1);a.mcp=this.j.Tf;return a}; fs.prototype.B=function(a){var b=Da.apply(1,arguments);try{return this.j.Lb[a].apply(this.j.Lb,b)}catch(c){qn(538,c,.01,function(d){d.method=a})}};var gs=function(a,b,c){a.B("addEventListener",b,c)}; fs.prototype.G=function(){var a=this;if(this.za)return!this.Ze();this.za=!0;if(this.j.Tf===2)return this.J="ng",xo(this,"w"),!1;if(this.j.Tf===1)return this.J="mm",xo(this,"w"),!1;ro().D=!0;this.l.document.readyState&&this.l.document.readyState=="complete"?hs(this):qp(this.l,"load",function(){Ng().setTimeout(pn(292,function(){return hs(a)}),100)},292);return!0}; var hs=function(a){mc().C=!!a.B("isViewable");gs(a,"viewableChange",is);a.B("getState")==="loading"?gs(a,"ready",js):ks(a)},ks=function(a){typeof a.j.Lb.AFMA_LIDAR==="string"?(a.aa=!0,ls(a)):(a.j.Tf=3,a.J="nc",xo(a,"w"))},ls=function(a){a.M=!1;var b=jc(mc().ea,"rmmt")==1,c=!!a.B("isViewable");(b?!c:1)&&Ng().setTimeout(pn(524,function(){a.M||(ms(a),qn(540,Error()),a.J="mt",xo(a,"w"))}),500);ns(a);gs(a,a.j.Lb.AFMA_LIDAR,os)},ns=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)},ms=function(a){a.B("removeEventListener",a.j.Lb.AFMA_LIDAR,os);a.aa=!1};fs.prototype.T=function(){var a=ro(),b=ps(this,"getMaxSize");a.g=new zn(0,b.width,b.height,0)};fs.prototype.W=function(){ro().A=ps(this,"getScreenSize")}; var ps=function(a,b){if(a.B("getState")==="loading")return new Ye(-1,-1);b=a.B(b);if(!b)return new Ye(-1,-1);a=parseInt(b.width,10);b=parseInt(b.height,10);return isNaN(a)||isNaN(b)?new Ye(-1,-1):new Ye(a,b)};fs.prototype.dispose=function(){ms(this);vo.prototype.dispose.call(this)}; var js=function(){try{var a=G(fs);a.B("removeEventListener","ready",js);ks(a)}catch(b){qn(541,b)}},os=function(a,b){try{var c=G(fs);c.M=!0;var d=a?new zn(a.y,a.x+a.width,a.y+a.height,a.x):new zn(0,0,0,0);var e=xn(),f=so();var g=new Cn(e,f,c);g.g=d;g.volume=b;c.cd(g)}catch(h){qn(542,h)}},is=function(a){var b=mc(),c=G(fs);a&&!b.C&&(b.C=!0,c.la=!0,c.J&&xo(c,"w",!0))};var qs=function(a){this.key=a;this.defaultValue=!1;this.valueType="boolean"};var rs=new qs("45381479"),ts=new qs("45378663");var vs=function(){this.za=!1;this.G="";this.l=!1;this.g=this.j=null;var a={};this.aa=(a.start=this.Fm,a.firstquartile=this.Am,a.midpoint=this.Cm,a.thirdquartile=this.Gm,a.complete=this.xm,a.error=this.ym,a.pause=this.si,a.resume=this.ck,a.skip=this.Em,a.viewable_impression=this.jc,a.mute=this.Ge,a.unmute=this.Ge,a.fullscreen=this.Bm,a.exitfullscreen=this.zm,a.fully_viewable_audible_half_duration_impression=this.jc,a.measurable_impression=this.jc,a.abandon=this.si,a.engagedview=this.jc,a.impression= this.jc,a.creativeview=this.jc,a.progress=this.Ge,a.custom_metric_viewable=this.jc,a.bufferstart=this.si,a.bufferfinish=this.ck,a.audio_measurable=this.jc,a.audio_audible=this.jc,a);a={};this.T=(a.overlay_resize=this.Dm,a.abandon=this.Wh,a.close=this.Wh,a.collapse=this.Wh,a.overlay_unmeasurable_impression=function(b){return Kq(b,"overlay_unmeasurable_impression",so())},a.overlay_viewable_immediate_impression=function(b){return Kq(b,"overlay_viewable_immediate_impression",so())},a.overlay_unviewable_impression= function(b){return Kq(b,"overlay_unviewable_impression",so())},a.overlay_viewable_end_of_session_impression=function(b){return Kq(b,"overlay_viewable_end_of_session_impression",so())},a);mc().l=3;us(this)};vs.prototype.o=function(a){Ap(a,!1);cr(a)};vs.prototype.A=function(){};var ws=function(a,b,c,d){a=a.B(null,d,!0,b);a.A=c;dr([a]);return a}; vs.prototype.B=function(a,b,c,d){var e=this;a=new pq(D,a,c?b:-1,7,this.yh(),this.wj());a.Ra=d;hc(a.ea);ic(a.ea,"queryid",a.Ra);a.Pg(this.G);Fp(a,function(){return e.M.apply(e,v(Da.apply(0,arguments)))},function(){return e.P.apply(e,v(Da.apply(0,arguments)))});(d=G(hr).g)&&Bp(a,d);a.wb.md&&G(ur);return a}; var xs=function(a,b,c){wb(b);var d=a.g;$a(b,function(e){var f=cb(e.j,function(g){var h=Tr(g);if(h==null)g=null;else if(g=new Sr,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=tc(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})||wq(c,new Vr(e.id,e.g,f,d))})},ys=function(){var a=[],b=mc();b.g||a.push(G(tr)); jc(b.ea,"mvp_lv")&&a.push(G(fs));var c=[new cs,new es];b.g&&c.push(new gr);c.push(new kr(a));b.g||c.push(new rr(D));return c},As=function(a){if(!a.za){a.za=!0;try{var b=xn(),c=mc(),d=ro();tn=b;c.A=79463069;a.j!=="o"&&(Fr=qg(D));if(Og()){wr.g.ej=0;wr.g.Yh=xn()-b;var e=ys(),f=G(hr);f.j=e;ir(f,function(){zs()})?wr.done||(Dr(),yo(f.g.g,a),yr()):d.l&&!c.g?zs():yr()}else Hr=!0}catch(g){throw $q.reset(),g;}}},Bs=function(a){wr.j.cancel();Gr=a;wr.done=!0},Cs=function(a){if(a.j)return a.j;var b=G(hr).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},Ds=function(a,b,c){if(a.g==null)return b.Ie|=4,!1;a=a.g.report(c,b);b.Ie|=a;return a==0};vs.prototype.ke=function(a){switch(a.zc()){case 0:if(a=G(hr).g)a=a.g,lb(a.C,this),a.D&&this.sc()&&Bo(a);zs();break;case 2:yr()}};vs.prototype.cd=function(){};vs.prototype.sc=function(){return!1};var zs=function(){var a=[new rr(D)],b=G(hr);b.j=a;ir(b,function(){Bs("i")})?wr.done||(Dr(),yr()):Bs("i")}; vs.prototype.P=function(a,b){a.Tb=!0;switch(a.Kb()){case 1:Es(a,b);break;case 2:this.Ai(a)}this.Ei(a)};var Es=function(a,b){if(!a.xb){var c=Kq(a,"start",so());c=a.ti.g(c).g;var d={id:"lidarv"};d.r=b;d.sv="963";Mr!==null&&(d.v=Mr);Tf(c,function(e,f){return d[e]=e=="mtos"||e=="tos"?f:encodeURIComponent(f)});b=Ir();Tf(b,function(e,f){return d[e]=encodeURIComponent(f)});b="//pagead2.googlesyndication.com/pagead/gen_204?"+Mo(Ko(new Io,d));Po(b);a.xb=!0}};l=vs.prototype; l.Fm=function(a){var b=a.B(a);b&&(b=b.volume,a.Va=io(b)&&b>0);Hq(a,0);return Kq(a,"start",so())};l.Ge=function(a,b,c){zr(wr,[a],!so());return this.jc(a,b,c)};l.jc=function(a,b,c){return Kq(a,c,so())};l.Am=function(a){return Fs(a,"firstquartile",1)};l.Cm=function(a){a.xa=!0;return Fs(a,"midpoint",2)};l.Gm=function(a){return Fs(a,"thirdquartile",3)};l.xm=function(a){var b=Fs(a,"complete",4);qq(a);return b};l.ym=function(a){a.Pa=3;return Kq(a,"error",so())}; var Fs=function(a,b,c){zr(wr,[a],!so());Hq(a,c);c!=4&&Gq(a.M,c,a.fg);return Kq(a,b,so())};l=vs.prototype;l.ck=function(a,b,c){b=so();a.Pa!=2||b||(a.Za().J=xn());zr(wr,[a],!b);a.Pa==2&&(a.Pa=1);return Kq(a,c,b)};l.Em=function(a,b){b=this.Ge(a,b||{},"skip");qq(a);return b};l.Bm=function(a,b){Ap(a,!0);return this.Ge(a,b||{},"fullscreen")};l.zm=function(a,b){Ap(a,!1);return this.Ge(a,b||{},"exitfullscreen")}; l.si=function(a,b,c){b=a.Za();b.T=dq(b,xn(),a.Pa!=1);zr(wr,[a],!so());a.Pa==1&&(a.Pa=2);return Kq(a,c,so())};l.Dm=function(a){zr(wr,[a],!so());return a.j()};l.Wh=function(a){zr(wr,[a],!so());this.bk(a);qq(a);return a.j()}; var us=function(a){Er(function(){var b=Gs();a.j!=null&&(b.sdk=a.j);var c=G(hr);c.g!=null&&(b.avms=c.g.getName());return b})},Hs=function(a,b,c,d){var e=Yq($q,c);e!==null&&e.Ra!==b&&(a.o(e),e=null);e||(b=a.B(c,xn(),!1,b),$q.j.length==0&&(mc().A=79463069),er([b]),e=b,e.A=Cs(a),d&&(e.rd=d));return e};vs.prototype.M=function(){};var Js=function(a,b){b.D=0;for(var c in En)a[c]==null&&(b.D|=En[c]);Is(a,"currentTime");Is(a,"duration")};l=vs.prototype;l.Ai=function(){};l.bk=function(){};l.Xi=function(){}; l.Ei=function(){};l.zh=function(){};l.wj=function(){this.g||(this.g=this.zh());return this.g==null||this.l?new iq:new as(this.g)};l.yh=function(){return new Wr};var Is=function(a,b){var c=a[b];c!==void 0&&c>0&&(a[b]=Math.floor(c*1E3))},Gs=function(){var a=ro(),b={},c={},d={};return Object.assign({},(b.sv="963",b),Mr!==null&&(c.v=Mr,c),(d["if"]=a.l?"1":"0",d.nas=String($q.g.length),d))};var Ks=function(a){fq.call(this,"audio_audible",a)};w(Ks,fq);Ks.prototype.g=function(a){return a.cg()==4};var Ls=function(a){gq.call(this,"audio_measurable",a)};w(Ls,gq);Ls.prototype.g=function(a){a=a.cg();return a==3||a==4};var Ms=function(){Yr.apply(this,arguments)};w(Ms,Yr);Ms.prototype.j=function(){return new Ls(this.g)};Ms.prototype.l=function(){return[new Ks(this.g)]};var Ns=function(){};w(Ns,Wp);Ns.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 Vp;b.g=Xp(a,Tp);b.j=Xp(a,Up);return b};var Os=function(a){this.j=a};Os.prototype.report=function(a,b){var c=this.g(b);if(typeof c==="function"){var d={};var e={};d=Object.assign({},Mr!==null&&(d.v=Mr,d),(e.sv="963",e.cb=Lr,e.e=Ps(a),e));e=Kq(b,a,so());Zb(d,e);b.Ek[a]=e;d=b.Kb()==2?Oo(d).join("&"):b.ti.g(d).g;try{return c(b.Ra,d,a),0}catch(f){return 2}}else return 1};var Ps=function(a){var b=Pr(a)?"custom_metric_viewable":a;a=Rb(function(c){return c==b});return In[a]};Os.prototype.g=function(){return Ia(this.j)};var Qs=function(a,b){this.j=a;this.l=b};w(Qs,Os);Qs.prototype.g=function(a){if(!a.rd)return Os.prototype.g.call(this,a);if(this.l[a.rd])return function(){};qn(393,Error());return null};var Rs=function(){vs.call(this);this.C=void 0;this.F=null;this.D=!1;this.N={};this.K=0;this.J="ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED"};w(Rs,vs);Rs.prototype.A=function(a,b){var c=this,d=G(hr);if(d.g!=null)switch(d.g.getName()){case "nis":var e=Ss(this,a,b);break;case "gsv":e=Ts(this,a,b);break;case "exc":e=Us(this,a)}e||(b.opt_overlayAdElement?e=void 0:b.opt_adElement&&(e=Hs(this,a,b.opt_adElement,b.opt_osdId)));e&&e.Kb()==1&&(e.B==De&&(e.B=function(f){return c.Xi(f)}),Vs(this,e,b));return e}; var Vs=function(a,b,c){c=c.opt_configurable_tracking_events;a.g!=null&&Array.isArray(c)&&xs(a,c,b)}; Rs.prototype.Xi=function(a){a.j=0;a.aa=0;if(a.A=="h"||a.A=="n"){if(mc().o)var b=Ia("ima.bridge.getVideoMetadata");else if(a.rd&&Ws(this)){var c=this.N[a.rd];c?b=function(e){return Xs(c,e)}:c!==null&&qn(379,Error())}else b=Ia("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=Ia("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=Ia("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={});Js(d,a);io(d.volume)&&io(this.C)&&(d.volume*=this.C);return d}; var Ts=function(a,b,c){var d=Xq($q,b);d||(d=c.opt_nativeTime||-1,d=ws(a,b,Cs(a),d),c.opt_osdId&&(d.rd=c.opt_osdId));return d},Ss=function(a,b,c){var d=Xq($q,b);d||(d=ws(a,b,"n",c.opt_nativeTime||-1));return d},Us=function(a,b){var c=Xq($q,b);c||(c=ws(a,b,"h",-1));return c};Rs.prototype.zh=function(){if(Ws(this))return new Qs("ima.common.triggerExternalActivityEvent",this.N);var a=Ys(this);return a!=null?new Os(a):null}; var Ys=function(a){var b=mc();switch(Cs(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};Rs.prototype.Ai=function(a){!a.g&&a.Tb&&Ds(this,a,"overlay_unmeasurable_impression")&&(a.g=!0)}; Rs.prototype.bk=function(a){a.mk&&(a.Dc()?Ds(this,a,"overlay_viewable_end_of_session_impression"):Ds(this,a,"overlay_unviewable_impression"),a.mk=!1)}; var Zs=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.ti:a.yh();if(e.opt_bounds)return c.g(Or("ol",d));if(d!==void 0)if(Nr(d)!==void 0)if(Hr)a=Or("ue",d);else if(As(a),Gr=="i")a=Or("i",d),a["if"]=0;else if(b=a.A(b,e)){b:{Gr=="i"&&(b.Tb=!0,a.Ei(b));f=e.opt_fullscreen;f!==void 0&&Ap(b,!!f);var g;if(g=!ro().j&&!mo()&&Of(Ng().j)){switch(b.Kb()){case 1:Es(b,"pv");break;case 2:a.Ai(b)}Bs("pv")}f=d.toLowerCase();if(g=!g)c:{if(jc(mc().ea, "ssmol")&&(g=a.l,f==="loaded"))break c;g=kb(Fn,f)}if(g&&b.Pa==0){Gr!="i"&&(wr.done=!1);g=e!==void 0?e.opt_nativeTime:void 0;vn=g=typeof g==="number"?g:xn();b.Ue=!0;var h=so();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.Fh=0;h||(b.Za().J=g);zr(wr,[b],!h)}(g=b.Xd[f])&&b.ya.reportEvent(g);jc(mc().ea,"fmd")||kb(Gn,f)&&b.Ec&&b.Ec.j(b,null);switch(b.Kb()){case 1:var k=Pr(f)?a.aa.custom_metric_viewable:a.aa[f];break;case 2:k=a.T[f]}if(k&&(d=k.call(a,b,e,d),jc(mc().ea,"fmd")&&kb(Gn,f)&&b.Ec&&b.Ec.j(b,null),d!==void 0)){e=Or(void 0,f);Zb(e,d);d=e;break b}d=void 0}b.Pa==3&&a.o(b);a=d}else a=Or("nf",d);else a=void 0;else Hr?a=Or("ue"):f?(a=Or(),Zb(a,Jq(f,!0,!1,!1))):a=Or("nf");return typeof a==="string"?c.g():c.g(a)}; Rs.prototype.M=function(a){this.l&&a.Kb()==1&&$s(this,a)};Rs.prototype.Ei=function(a){this.l&&a.Kb()==1&&$s(this,a)};var $s=function(a,b){var c;if(b.rd&&Ws(a)){var d=a.N[b.rd];d?c=function(f,g){at(d,f,g)}:d!==null&&qn(379,Error())}else c=Ia("ima.common.triggerViewabilityMeasurementUpdate");if(typeof c==="function"){var e=yq(b);e.nativeVolume=a.C;c(b.Ra,e)}},Ws=function(a){return mc().o||Cs(a)!="h"&&Cs(a)!="m"?!1:a.K!=0}; Rs.prototype.B=function(a,b,c,d){if(Qm(mc().flags,ts)){var e=jc(mc().ea,"mm"),f={};(e=(f[zb.Ok]="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"&&qn(1044,Error())}a=vs.prototype.B.call(this,a,b,c,d);this.D&&(b=this.F,a.l==null&&(a.l=new Ip),b.g[a.Ra]=a.l,a.l.A=Nq);return a};Rs.prototype.o=function(a){a&&a.Kb()==1&&this.D&&delete this.F.g[a.Ra];return vs.prototype.o.call(this,a)}; Rs.prototype.wj=function(){this.g||(this.g=this.zh());return this.g==null||this.l?new iq:this.J==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new Ms(this.g):new as(this.g)};Rs.prototype.yh=function(){return this.J==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new Ns:new Wr};var bt=function(a){var b={};return b.viewability=a.g,b.googleViewability=a.j,b},ct=function(a,b,c){c=c===void 0?{}:c;a=Zs(G(Rs),b,c,a);return bt(a)},dt=pn(193,ct,void 0,Gs);Ha("Goog_AdSense_Lidar_sendVastEvent",dt); var et=pn(194,function(a,b){b=b===void 0?{}:b;a=Zs(G(Rs),a,b);return bt(a)});Ha("Goog_AdSense_Lidar_getViewability",et);var ft=pn(195,function(){return Pg()});Ha("Goog_AdSense_Lidar_getUrlSignalsArray",ft);var gt=pn(196,function(){return JSON.stringify(Pg())});Ha("Goog_AdSense_Lidar_getUrlSignalsList",gt);var ht=ka(["//tpc.googlesyndication.com/sodar/",""]);B.console&&typeof B.console.log==="function"&&Ra(B.console.log,B.console);var it=function(a){for(var b=[],c=a=lf(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};var jt=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.j=!1};jt.prototype.stopPropagation=function(){this.j=!0};jt.prototype.preventDefault=function(){this.defaultPrevented=!0};var kt=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 lt=function(a,b){jt.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)};Ua(lt,jt); lt.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=se||a.offsetX!==void 0?a.offsetX:a.layerX,this.l=se|| 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&<.Xb.preventDefault.call(this)}; lt.prototype.stopPropagation=function(){lt.Xb.stopPropagation.call(this);this.Pb.stopPropagation?this.Pb.stopPropagation():this.Pb.cancelBubble=!0};lt.prototype.preventDefault=function(){lt.Xb.preventDefault.call(this);var a=this.Pb;a.preventDefault?a.preventDefault():a.returnValue=!1};var mt="closure_listenable_"+(Math.random()*1E6|0),nt=function(a){return!(!a||!a[mt])};var ot=0;var pt=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.hg=e;this.key=++ot;this.sf=this.Lf=!1},qt=function(a){a.sf=!0;a.listener=null;a.proxy=null;a.src=null;a.hg=null};var rt=function(a){this.src=a;this.g={};this.j=0};rt.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=tt(a,b,d,e);g>-1?(b=a[g],c||(b.Lf=!1)):(b=new pt(b,this.src,f,!!d,e),b.Lf=c,a.push(b));return b};rt.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.g))return!1;var e=this.g[a];b=tt(e,b,c,d);return b>-1?(qt(e[b]),nb(e,b),e.length==0&&(delete this.g[a],this.j--),!0):!1}; var ut=function(a,b){var c=b.type;c in a.g&&lb(a.g[c],b)&&(qt(b),a.g[c].length==0&&(delete a.g[c],a.j--))};rt.prototype.We=function(a,b,c,d){a=this.g[a.toString()];var e=-1;a&&(e=tt(a,b,c,d));return e>-1?a[e]:null};var tt=function(a,b,c,d){for(var e=0;e>>0),At=function(a){if(typeof a==="function")return a;a[It]||(a[It]=function(b){return a.handleEvent(b)});return a[It]};var N=function(){So.call(this);this.C=new rt(this);this.Wc=this;this.aa=null};Ua(N,So);N.prototype[mt]=!0;l=N.prototype;l.addEventListener=function(a,b,c,d){zt(this,a,b,c,d)};l.removeEventListener=function(a,b,c,d){Gt(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.Wc;var d=a.type||a;if(typeof a==="string")a=new jt(a,c);else if(a instanceof jt)a.target=a.target||c;else{var e=a;a=new jt(d,c);Zb(a,e)}e=!0;if(b)for(var f=b.length-1;!a.j&&f>=0;f--){var g=a.currentTarget=b[f];e=Jt(g,d,!0,a)&&e}a.j||(g=a.currentTarget=c,e=Jt(g,d,!0,a)&&e,a.j||(e=Jt(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,Nt=function(){var a=B.MessageChannel;typeof a==="undefined"&&typeof window!=="undefined"&&window.postMessage&&window.addEventListener&&!Mc("Presto")&&(a=function(){var e=pf(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var g="callImmediate"+Math.random(),h=f.location.protocol=="file:"?"*":f.location.protocol+"//"+f.location.host;e=Ra(function(k){if((h=="*"||k.origin==h)&&k.data==g)this.port1.onmessage()}, this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,h)}}});if(typeof a!=="undefined"){var b=new a,c={},d=c;b.port1.onmessage=function(){if(c.next!==void 0){c=c.next;var e=c.rj;c.rj=null;e()}};return function(e){d.next={rj:e};d=d.next;b.port2.postMessage(0)}}return function(e){B.setTimeout(e,0)}};var Ot=function(){this.j=this.g=null};Ot.prototype.add=function(a,b){var c=Pt.get();c.set(a,b);this.j?this.j.next=c:this.g=c;this.j=c};Ot.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 Pt=new Kt(function(){return new Qt},function(a){return a.reset()}),Qt=function(){this.next=this.g=this.j=null};Qt.prototype.set=function(a,b){this.j=a;this.g=b;this.next=null};Qt.prototype.reset=function(){this.next=this.g=this.j=null};var Rt,St=!1,Tt=new Ot,Vt=function(a,b){Rt||Ut();St||(Rt(),St=!0);Tt.add(a,b)},Ut=function(){if(B.Promise&&B.Promise.resolve){var a=B.Promise.resolve(void 0);Rt=function(){a.then(Wt)}}else Rt=function(){var b=Wt;typeof B.setImmediate!=="function"||B.Window&&B.Window.prototype&&B.Window.prototype.setImmediate==B.setImmediate?(Mt||(Mt=Nt()),Mt(b)):B.setImmediate(b)}},Wt=function(){for(var a;a=Tt.remove();){try{a.j.call(a.g)}catch(b){$g(b)}Lt(Pt,a)}St=!1};var Yt=function(a){this.g=0;this.B=void 0;this.o=this.j=this.l=null;this.A=this.C=!1;if(a!=De)try{var b=this;a.call(void 0,function(c){Xt(b,2,c)},function(c){Xt(b,3,c)})}catch(c){Xt(this,3,c)}},Zt=function(){this.next=this.context=this.j=this.l=this.g=null;this.o=!1};Zt.prototype.reset=function(){this.context=this.j=this.l=this.g=null;this.o=!1};var $t=new Kt(function(){return new Zt},function(a){a.reset()}),au=function(a,b,c){var d=$t.get();d.l=a;d.j=b;d.context=c;return d}; Yt.prototype.then=function(a,b,c){return bu(this,typeof a==="function"?a:null,typeof b==="function"?b:null,c)};Yt.prototype.$goog_Thenable=!0;var cu=function(a,b){return bu(a,null,b)};Yt.prototype.cancel=function(a){if(this.g==0){var b=new du(a);Vt(function(){eu(this,b)},this)}}; var eu=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?eu(c,b):(f?(d=f,d.next==c.o&&(c.o=d),d.next=d.next.next):fu(c),gu(c,e,3,b)))}a.l=null}else Xt(a,3,b)},iu=function(a,b){a.j||a.g!=2&&a.g!=3||hu(a);a.o?a.o.next=b:a.j=b;a.o=b},bu=function(a,b,c,d){var e=au(null,null,null);e.g=new Yt(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 du?g(h):f(k)}catch(m){g(m)}}:g});e.g.l=a;iu(a,e);return e.g};Yt.prototype.N=function(a){this.g=0;Xt(this,2,a)};Yt.prototype.D=function(a){this.g=0;Xt(this,3,a)}; var Xt=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 Yt){iu(d,au(e||De,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(Ma(d))try{var k=d.then;if(typeof k==="function"){ju(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,hu(a),b!=3||c instanceof du||ku(a,c))}},ju=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)}},hu=function(a){a.C||(a.C=!0,Vt(a.J,a))},fu=function(a){var b=null;a.j&&(b=a.j,a.j=b.next,b.next=null);a.j||(a.o=null);return b};Yt.prototype.J=function(){for(var a;a=fu(this);)gu(this,a,this.g,this.B);this.C=!1}; var gu=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,lu(b,c,d);else try{b.o?b.l.call(b.context):lu(b,c,d)}catch(e){mu.call(null,e)}Lt($t,b)},lu=function(a,b,c){b==2?a.l.call(a.context,c):a.j&&a.j.call(a.context,c)},ku=function(a,b){a.A=!0;Vt(function(){a.A&&mu.call(null,b)})},mu=$g,du=function(a){Wa.call(this,a)};Ua(du,Wa);du.prototype.name="cancel";var nu=function(a,b){N.call(this);this.l=a||1;this.j=b||B;this.o=Ra(this.B,this);this.A=Ta()};Ua(nu,N);nu.prototype.enabled=!1;nu.prototype.g=null;var ou=function(a){a.l=250;a.g&&a.enabled?(a.stop(),a.start()):a.g&&a.stop()};nu.prototype.B=function(){if(this.enabled){var a=Ta()-this.A;a>0&&a2147483647?-1:B.setTimeout(a,b||0)},qu=function(a){B.clearTimeout(a)},ru=function(a){var b=null;return cu(new Yt(function(c,d){b=pu(function(){c(void 0)},a);b==-1&&d(Error("Failed to schedule timer."))}),function(c){qu(b);throw c;})};var tu=function(){return Math.round(Date.now()/1E3)};var uu=function(){this.g={};return this};uu.prototype.remove=function(a){var b=this.g;a in b&&delete b[a]};uu.prototype.set=function(a,b){this.g[a]=b};var vu=function(a,b){a.g.eb=Wb(a.g,"eb",0)|b};uu.prototype.get=function(a){return Wb(this.g,a,null)};var wu=null,xu=function(){this.g={};this.j=0},yu=function(){wu||(wu=new xu);return wu},zu=function(a,b){a.g[b.getName()]=b},Au=function(a,b){this.o=a;this.l=!0;this.g=b};Au.prototype.getName=function(){return this.o};Au.prototype.getValue=function(){return this.g};Au.prototype.j=function(){return String(this.g)};var Bu=function(a,b){Au.call(this,String(a),b);this.A=a;this.g=!!b};w(Bu,Au);Bu.prototype.j=function(){return this.g?"1":"0"};var Cu=function(a,b){Au.call(this,a,b)};w(Cu,Au); Cu.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 Du=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 Cu("",new Mn(c,b,Number(a[3])-c,Number(a[2])-b))}return new Cu("",new Mn(0,0,0,0))};var Eu=function(a){var b=new Mn(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new Mn(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d0?(e=Nn(b),f=Nn(c),e=e.top>=f.top&&e.top0?(e=Nn(b),f=Nn(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;zu(a,new Bu(1024,e));d&&d>0?(e=Nn(b),f=Nn(c),e=e.left>=f.left&&e.left0?(b=Nn(b),c=Nn(c),c=b.right<=c.right&&b.right>c.left):c=!1;zu(a,new Bu(4096,c))}};var Hu=function(a,b){var c=0;Ob(lf(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){a=yu();a.g={};var e=new Bu(32,!0);e.l=!1;zu(a,e);e=lf().document;e=e.visibilityState||e.webkitVisibilityState||e.mozVisibilityState||e.msVisibilityState||"";zu(a,new Bu(64,e.toLowerCase().substring(e.length-6)!="hidden"?!0:!1));a:{try{var f=lf().top;try{var g=!!f.location.href||f.location.href===""}catch(n){g=!1}if(g){var h=it(d);var k=h&&h.length!=0?"1":"0";break a}k="2";break a}catch(n){k="2"; break a}k=void 0}zu(a,new Bu(256,k=="2"));zu(a,new Bu(128,k=="1"));h=g=lf().top;k=="2"&&(h=lf());f=Fu(d,h);zu(a,new Cu("er",f));try{var m=h.document&&!h.document.body?null:hf(h||window)}catch(n){m=null}m?(h=kf(af(h.document).g),zu(a,new Bu(16384,!!h)),m=h?new Mn(h.x,h.y,m.width,m.height):null):m=null;zu(a,new Cu("vi",m));if(m&&"1"==k){k=it(d);d=[];for(h=0;h0?Math.round(window.performance.timing.domLoading/1E3):null;c.set.call(c,"td",tu()-(a!=null?a:b!=null?b:tu()))};new nu(200); var Iu=function(a,b){try{var c=new Hu(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 n in m.g){var p=m.g[n];if(p instanceof Bu)p.getValue()&&(e|=p.A);else{var r=m.g[n],u=r.l?r.j():"";u&&f.push(n+u)}}f.push("eb"+String(e));(k=f.join("_"))&&a.push(k);c.g.set("eb",d);return a.join("_")}catch(t){return"tle;"+de(t.name,12)+";"+de(t.message, 40)}};var Ju=function(a){this.L=I(a)};w(Ju,L);Ju.prototype.getName=function(){return K(this,1)};Ju.prototype.getValue=function(){return K(this,2)};var Ku=function(a){this.L=I(a)};w(Ku,L);var Lu=function(a){this.L=I(a)};w(Lu,L);var Mu=function(a){this.L=I(a)};w(Mu,L);var Nu=function(a){this.L=I(a)};w(Nu,L);var Ou=function(a){this.L=I(a)};w(Ou,L);var Jj=function(a){this.L=I(a)};w(Jj,L);var Pu=function(a){return J(a,Ku,29)};var Qu=function(a){this.L=I(a)};w(Qu,L);var Ru=Km(Qu);var Su=function(a){this.L=I(a)};w(Su,L);var Vu=function(){var a=Tu;this.A=Uu;this.C="jserror";this.o=!0;this.g=a===void 0?null:a;this.j=null;this.l=!1;this.B=this.qc};l=Vu.prototype;l.Ug=function(a){this.j=a};l.Fi=function(a){this.C=a};l.Hi=function(a){this.o=a};l.Ii=function(a){this.l=a}; l.Sd=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.o;try{en(d),b=this.B(a,new Um(h,{message:Wu(h)}),void 0,c)}catch(k){this.qc(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.Rg=function(a,b,c,d){var e=this;return function(){var f=Da.apply(0,arguments);return e.Sd(a,function(){return b.apply(c,f)},d)}}; l.qc=function(a,b,c,d,e){e=e||this.C;try{var f=new wg;Bg(f,1,"context",a);Vm(b)||(b=new Um(b,{message:Wu(b)}));b.msg&&Bg(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){}Ag(f,3,[g]);var h=vg();h.j&&Bg(f,4,"top",h.j.url||"");Ag(f,5,[{url:h.g.url||""},{url:h.g.url?Sf(h.g.url):""}]);Xu(this.A,e,f,this.l,c)}catch(k){try{Xu(this.A,e,{context:"ecmserr",rctx:a,msg:Wu(k),url:h&&h.g.url},this.l,c)}catch(m){}}return this.o}; var Wu=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(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 Yu=function(){this.g=(typeof document=="undefined"?null:document)||{cookie:""}},$u=function(){var a=Zu;if(!B.navigator.cookieEnabled)return!1;if(!a.isEmpty())return!0;a.set("TESTCOOKIESENABLED","1",{Kj:60});if(a.get("TESTCOOKIESENABLED")!=="1")return!1;a.remove("TESTCOOKIESENABLED");return!0};l=Yu.prototype; l.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.gq;d=c.iq||!1;var f=c.domain||void 0;var g=c.path||void 0;var h=c.Kj}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 av=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;fa;break;case 12:c=zi(a)&&zi(g)&&(new RegExp(a)).test(g);break;case 10:c=g!=null&&Hc(String(g),a)===-1;break;case 11:c=g!=null&&Hc(String(g),a)===1;break;default:return{success:!1,Ib:3}}return{success:!0,value:c}} function nv(a,b){return a?b?lv(a,b):{success:!1,Ib:1}:{success:!0,value:!0}};var ek=function(a){this.L=I(a)};w(ek,L);var ov=function(a){this.L=I(a)};w(ov,L);ov.prototype.getValue=function(){return J(this,ek,2)};var pv=function(a){this.L=I(a)};w(pv,L);var qv=Km(pv),rv=[1,2,3,6,7,8];var tv=function(a){this.L=I(a)};w(tv,L);var uv=Im([0,Fm,vm]);function vv(a,b){try{var c=function(d){var e={};return[(e[d.Nc]=d.zg,e)]};return JSON.stringify([a.filter(function(d){return d.Vb}).map(c),al(b),a.filter(function(d){return!d.Vb}).map(c)])}catch(d){return wv(d,b),""}}function xv(a,b){var c=new ll;try{var d=a.filter(function(f){return f.Vb}).map(yv);ul(c,1,d);sl(c,2,uv(b),tl);var e=a.filter(function(f){return!f.Vb}).map(yv);ul(c,3,e)}catch(f){wv(f,b)}return ql(c)} function wv(a,b){try{Lg({m:Wu(a instanceof Error?a:Error(String(a))),b:sk(b,1)||null,v:K(b,2)||null},"rcs_internal")}catch(c){}}function yv(a){var b=new ll;sl(b,a.Nc,a.Tg,tl);return ql(b)}function tl(a,b){a=a.subarray(0,a.length);ml(b,b.g.end());ml(b,a)}var zv=function(a,b){var c=new tv;a=Dk(c,1,a);b=Vj(a,2,Xi(b),"");a=b.L;c=Th(a);this.j=c&2?b:jj(b.constructor,Aj(a,c,!0))};var Av=function(a){this.L=I(a)};w(Av,L);Av.prototype.getTagSessionCorrelator=function(){Fh(this,Ph);return qk(this,1)};var Bv=function(a,b){return zk(a,1,b)},Cv=function(a,b){return zk(a,2,b)};var Dv=Im([0,lm,-1,Fm]);var Ev=function(a){this.L=I(a)};w(Ev,L);var Fv=function(){var a=new Ev;return Wj(a,1,Li,[20])};var Gv=[0,Em];var Hv=[0,qm];var Iv=function(a){this.L=I(a)};w(Iv,L);var Jv=[0,qm,-1,Dm];var Kv=function(a){this.L=I(a)};w(Kv,L);var Lv=function(a,b){return Dk(a,1,b)},Mv=function(a,b){return Dk(a,2,b)};var Nv=[0,Fm,-1];var Ov=function(a){this.L=I(a)};w(Ov,L);var Pv=[1,2];var Qv=[0,Pv,Gm,-1,sm];var Rv=function(a){this.L=I(a)};w(Rv,L);var Sv=function(a,b){return jk(a,1,b)},Tv=function(a,b){return lk(a,2,b)},Uv=function(a,b){return Uj(a,4,b,Oi)},Vv=function(a,b){return lk(a,5,b)},Wv=function(a,b){return Dk(a,6,b)};var Xv=[0,Nv,ym,Nv,1,rm,ym,Qv,Fm];var Yv=function(a){this.L=I(a)};w(Yv,L);var Zv=[1,2,3,4,6];var $v=[0,Zv,Gm,-3,rm,Gm];var aw=function(a){this.L=I(a)};w(aw,L);var bw=[0,sm,ym,$v,-1];var cw=function(a){this.L=I(a)};w(cw,L);cw.prototype.getTagSessionCorrelator=function(){Fh(this,Ph);return qk(this,2)};var ew=function(a){var b=new cw;return kk(b,4,dw,a)},dw=[4,5,7,8,9];var fw=Im([0,dw,lm,-1,1,zm,Xv,zm,Hv,lm,zm,bw,zm,Jv,zm,kv]);var gw=function(a){this.L=I(a)};w(gw,L);gw.prototype.wf=function(a){return zk(this,7,a)};gw.prototype.Gi=function(a){return zk(this,8,a)};var hw=[0,vm,-1,qm,Fm,Gv,lm,-2,Fm,rm];var iw=function(a){this.L=I(a)};w(iw,L);var jw=[0,qm,-2];var kw=function(a){this.L=I(a)};w(kw,L);var lw=[0,sm,-1];var mw=function(a){this.L=I(a)};w(mw,L);var nw=[0,sm,-1];var ow=function(a){this.L=I(a)};w(ow,L);ow.prototype.Zc=function(){return J(this,kw,2)};ow.prototype.getSize=function(){return J(this,mw,3)};ow.prototype.getDuration=function(){return J(this,iw,4)};var pw=[0,Fm,lw,nw,jw];var qw=[0,lw,nw,jw,qm];var rw=function(a){this.L=I(a)};w(rw,L);rw.prototype.getSize=function(){return J(this,mw,2)};var tw=[0,Fm,nw];var uw=function(a){this.L=I(a)};w(uw,L);var vw=Km(uw);var ww=Im([0,tw,qw,pw,hw]);var xw=function(a){this.L=I(a)};w(xw,L);var yw=[0,Fm,sm];var zw=function(a){this.L=I(a)};w(zw,L);var Aw=function(a,b){return zk(a,1,b)},Bw=Km(zw);var Cw=[0,lm,-1];var Dw=function(a){this.L=I(a)};w(Dw,L);var Ew=[0,Fm,Dm,-1,Cw,-1];var Fw=function(a){this.L=I(a)};w(Fw,L);Fw.prototype.wf=function(a){return zk(this,3,a)};var Gw=[6];var Hw=Im([0,Gw,Gv,lm,-1,yw,rm,zm,Ew]);var Iw=function(a){this.L=I(a)};w(Iw,L);var Jw=function(a,b){jk(a,13,b)};var Kw=function(a){this.L=I(a)};w(Kw,L);Kw.prototype.getEscapedQemQueryId=function(){return K(this,2)};var Lw=function(){zv.apply(this,arguments)};w(Lw,zv);var Mw=function(){Lw.apply(this,arguments)};w(Mw,Lw);Mw.prototype.vf=function(){this.o.apply(this,v(Da.apply(0,arguments).map(function(a){return{Vb:!0,Nc:4,zg:al(a)}})))};Mw.prototype.B=function(){this.o.apply(this,v(Da.apply(0,arguments).map(function(a){return{Vb:!0,Nc:16,zg:al(a)}})))};Mw.prototype.gk=function(){this.o.apply(this,v(Da.apply(0,arguments).map(function(a){return{Vb:!0,Nc:20,zg:al(a)}})))}; Mw.prototype.fk=function(){this.o.apply(this,v(Da.apply(0,arguments).map(function(a){return{Vb:!0,Nc:25,zg:al(a)}})))};var Nw=function(){Lw.apply(this,arguments)};w(Nw,Lw);Nw.prototype.vf=function(){this.g.apply(this,v(Da.apply(0,arguments).map(function(a){return{Vb:!0,Nc:4,Tg:fw(a)}})))};Nw.prototype.B=function(){this.g.apply(this,v(Da.apply(0,arguments).map(function(a){return{Vb:!0,Nc:16,Tg:Dv(a)}})))}; Nw.prototype.gk=function(){this.g.apply(this,v(Da.apply(0,arguments).map(function(a){return{Vb:!0,Nc:20,Tg:Hw(a)}})))};Nw.prototype.fk=function(){this.g.apply(this,v(Da.apply(0,arguments).map(function(a){return{Vb:!0,Nc:25,Tg:ww(a)}})))};var Ow=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 Pw=function(a,b,c,d,e,f,g,h){Mw.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};w(Pw,Mw);var Qw=function(a){a.l!==null&&(clearTimeout(a.l),a.l=null);if(a.g.length){var b=vv(a.g,a.j);a.J(a.N+"?e=1",b);a.g=[]}}; Pw.prototype.o=function(){var a=Da.apply(0,arguments),b=this;try{this.F&&vv(this.g.concat(a),this.j).length>=65536&&Qw(this),this.A&&!this.C&&(this.C=!0,this.A.g(function(){Qw(b)})),this.g.push.apply(this.g,v(a)),this.g.length>=this.D&&Qw(this),this.g.length&&this.l===null&&(this.l=setTimeout(function(){Qw(b)},this.G))}catch(c){wv(c,this.j)}}; var Rw=function(a,b,c,d,e,f){Pw.call(this,a,b,"https://pagead2.googlesyndication.com/pagead/ping",Ow,c===void 0?1E3:c,d===void 0?100:d,(e===void 0?!1:e)&&!!globalThis.fetch,f)};w(Rw,Pw);var Sw=function(a,b,c){var d=d===void 0?new Rw(6,"unknown",b):d;this.A=a;this.o=c;this.j=d;this.g=[];this.l=a>0&&dg()<1/a},Uw=function(a,b,c,d,e,f){if(a.l){var g=Mv(Lv(new Kv,b),c);b=Wv(Tv(Sv(Vv(Uv(new Rv,d),e),g),a.g.slice()),f);b=ew(b);a.j.vf(Tw(a,b));if(f===1||f===3||f===4&&!a.g.some(function(h){return sk(h,1)===sk(g,1)&&sk(h,2)===c}))a.g.push(g),a.g.length>100&&a.g.shift()}},Vw=function(a,b,c,d){if(a.l){var e=new Iv;b=vk(e,1,b);c=vk(b,2,c);d=Ck(c,3,d);c=new cw;d=kk(c,8,dw,d);a.j.vf(Tw(a,d))}}, Ww=function(a,b,c,d,e){if(a.l){var f=new hv;b=jk(f,1,b);c=Ck(b,2,c);d=vk(c,3,d);if(e.qf===void 0)ak(d,4,iv,Mi(e.Ib));else switch(e.qf){case 3:c=new bv;c=ak(c,2,cv,Mi(e.Kc));e=Ck(c,1,e.Ib);kk(d,5,iv,e);break;case 4:c=new bv;c=ak(c,3,cv,Mi(e.Kc));e=Ck(c,1,e.Ib);kk(d,5,iv,e);break;case 5:c=new bv,c=ak(c,4,cv,Mi(e.Kc)),e=Ck(c,1,e.Ib),kk(d,5,iv,e)}e=new cw;e=kk(e,9,dw,d);a.j.vf(Tw(a,e))}},Tw=function(a,b){var c=Date.now();c=Number.isFinite(c)?Math.round(c):0;b=zk(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()*Math.pow(2,52));e.call(d,c,"goog_pvsid",{value:g,configurable:!1})}catch(h){}e=zk(b,2,Number(c.goog_pvsid)||-1);return zk(e,6,a.A)};var Xw=function(){var a={};this.Wb=(a[3]={},a[4]={},a[5]={},a)};var Yw=/^true$/.test("false");function Zw(a,b){switch(b){case 1:return uk(a,1,rv);case 2:return uk(a,2,rv);case 3:return uk(a,3,rv);case 6:return uk(a,6,rv);case 8:return uk(a,8,rv);default:return null}}function $w(a,b){if(!a)return null;switch(b){case 1:return nk(a,1);case 7:return K(a,3);case 2:return rk(a,2);case 3:return K(a,3);case 6:return tk(a,4);case 8:return tk(a,4);default:return null}} var ax=Ee(function(){if(!Yw)return{};try{var a;var b=b===void 0?window:b;try{var c=b.sessionStorage}catch(e){c=null}var d=(a=c)==null?void 0:a.getItem("GGDFSSK");if(d)return JSON.parse(d)}catch(e){}return{}});function bx(a,b,c,d){var e=d=d===void 0?0:d,f,g;G(cx).l[e]=(g=(f=G(cx).l[e])==null?void 0:f.add(b))!=null?g:(new Set).add(b);e=ax();if(e[b]!=null)return e[b];b=dx(d)[b];if(!b)return c;b=qv(JSON.stringify(b));b=ex(b);a=$w(b,a);return a!=null?a:c} function ex(a){var b=G(Xw).Wb;if(b&&ck(a,rv)!==8){var c=ib(ik(a,ov,5,Mj()),function(f){f=nv(J(f,ev,1),b);return f.success&&f.value});if(c){var d;return(d=c.getValue())!=null?d:null}}var e;return(e=J(a,ek,4))!=null?e:null}var cx=function(){this.j={};this.o=[];this.l={};this.g=new Map};function fx(a,b,c){return!!bx(1,a,b===void 0?!1:b,c)}function gx(a,b,c){b=b===void 0?0:b;a=Number(bx(2,a,b,c));return isNaN(a)?b:a}function hx(a,b,c){b=b===void 0?"":b;a=bx(3,a,b,c);return typeof a==="string"?a:b} function ix(a,b,c){b=b===void 0?[]:b;a=bx(6,a,b,c);return Array.isArray(a)?a:b}function jx(a,b,c){b=b===void 0?[]:b;a=bx(8,a,b,c);return Array.isArray(a)?a:b}function dx(a){return G(cx).j[a]||(G(cx).j[a]={})}function kx(a,b){var c=dx(b);eg(a,function(d,e){if(c[e]){d=qv(JSON.stringify(d));var f=dk(d,rv,8);if(Ni(Ej(d,f))!=null){var g=qv(JSON.stringify(c[e]));f=fk(d);g=tk(hk(g,ek,4),4);Wj(f,4,Wi,g)}c[e]=al(d)}else c[e]=d})} function lx(a,b,c,d,e){e=e===void 0?!1:e;var f=[],g=[];b=q(b);for(var h=b.next();!h.done;h=b.next()){h=h.value;for(var k=dx(h),m=q(a),n=m.next();!n.done;n=m.next()){n=n.value;var p=ck(n,rv),r=Zw(n,p);if(r){var u=void 0,t=void 0,x=void 0;var A=(u=(x=G(cx).g.get(h))==null?void 0:(t=x.get(r))==null?void 0:t.slice(0))!=null?u:[];a:{u=r;t=p;x=new Yv;switch(t){case 1:ak(x,1,Zv,Mi(u));break;case 2:ak(x,2,Zv,Mi(u));break;case 3:ak(x,3,Zv,Mi(u));break;case 6:ak(x,4,Zv,Mi(u));break;case 8:ak(x,6,Zv,Mi(u)); break;default:A=void 0;break a}Uj(x,5,A,Oi);A=x}if(u=A)t=void 0,u=!((t=G(cx).l[h])==null||!t.has(r));u&&f.push(A);if(p===8&&k[r])A=qv(JSON.stringify(k[r])),p=fk(n),A=tk(hk(A,ek,4),4),Wj(p,4,Wi,A);else{if(p=A)u=void 0,p=!((u=G(cx).g.get(h))==null||!u.has(r));p&&g.push(A)}e||(p=r,A=h,u=d,t=G(cx),t.g.has(A)||t.g.set(A,new Map),t.g.get(A).has(p)||t.g.get(A).set(p,[]),u&&t.g.get(A).get(p).push(u));k[r]=al(n)}}}if(f.length||g.length)a=d!=null?d:void 0,c.l&&c.o&&(d=new aw,f=lk(d,2,f),g=lk(f,3,g),a&&wk(g, 1,a),f=new cw,g=kk(f,7,dw,g),c.j.vf(Tw(c,g)))}function mx(a,b){b=dx(b);a=q(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=qv(JSON.stringify(c)),e=ck(d,rv);(d=Zw(d,e))&&(b[d]||(b[d]=c))}}function nx(){return Object.keys(G(cx).j).map(function(a){return Number(a)})}function ox(a){G(cx).o.includes(a)||kx(dx(4),a)};function px(a,b,c){c.hasOwnProperty(a)||Object.defineProperty(c,String(a),{value:b})}function qx(a,b,c){return b[a]||c}function rx(a){px(5,fx,a);px(6,gx,a);px(7,hx,a);px(8,ix,a);px(17,jx,a);px(13,mx,a);px(15,ox,a)} function sx(a){px(4,function(b){G(Xw).Wb=b},a);px(9,function(b,c){var d=G(Xw);d.Wb[3][b]==null&&(d.Wb[3][b]=c)},a);px(10,function(b,c){var d=G(Xw);d.Wb[4][b]==null&&(d.Wb[4][b]=c)},a);px(11,function(b,c){var d=G(Xw);d.Wb[5][b]==null&&(d.Wb[5][b]=c)},a);px(14,function(b){for(var c=G(Xw),d=q([3,4,5]),e=d.next();!e.done;e=d.next())e=e.value,Object.assign(c.Wb[e],b[e])},a)}function tx(a){a.hasOwnProperty("init-done")||Object.defineProperty(a,"init-done",{value:!0})};var Ox=function(){};Ox.prototype.j=function(){};Ox.prototype.g=function(){return[]};var Px=function(a,b,c){a.j=function(d,e){qx(2,b,function(){return[]})(d,c,e)};a.g=function(){return qx(3,b,function(){return[]})(c)}};var Qx=function(){this.g=Math.random()},Rx=function(){var a=Uu,b=window.google_srt;b>=0&&b<=1&&(a.g=b)},Xu=function(a,b,c,d,e){if(((d===void 0?0:d)?a.g:Math.random())<(e||.01))try{if(c instanceof wg)var f=c;else f=new wg,eg(c,function(h,k){var m=f,n=m.o++;Ag(m,n,xg(k,h))});var g=Dg(f,"https:","/pagead/gen_204?id="+b+"&");g&&Jg(B,g)}catch(h){}};var Uu,Sx,Tu=new dn(1,window);(function(a){Uu=a!=null?a:new Qx;typeof window.google_srt!=="number"&&(window.google_srt=Math.random());Rx();Sx=new Vu;Sx.Ug(function(){});Sx.Ii(!0);window.document.readyState=="complete"?window.google_measure_js_timing||Tu.C():Tu.j&&Jf(window,"load",function(){window.google_measure_js_timing||Tu.C()})})(); var Tx=function(a,b){return Sx.Rg(a,b)},Ux=function(a,b){var c=G(Ox).g();!a.eid&&c.length&&(a.eid=c.toString());Xu(Uu,"gdn::mta",a,!0,b)},Vx=function(a,b){Sx.qc(531,a,.01,b)};var Wx=function(a){this.L=I(a)};w(Wx,L);var Xx=function(a){this.L=I(a)};w(Xx,L);var Yx=function(a,b){return Uj(a,1,b,Li)},Zx=function(a,b){return Uj(a,2,b,Li)},$x=function(a,b){return Uj(a,3,b,Oi)},ay=function(a,b){Uj(a,4,b,Oi)};var by=function(a){this.L=I(a)};w(by,L);var cy=function(a){this.L=I(a)};w(cy,L);cy.prototype.getVersion=function(){return ok(this,1)}; var dy=function(a,b){return wk(a,1,b)},ey=function(a,b){return jk(a,2,b)},fy=function(a,b){return jk(a,3,b)},gy=function(a,b){return wk(a,4,b)},hy=function(a,b){return wk(a,5,b)},iy=function(a,b){return wk(a,6,b)},jy=function(a,b){return Vj(a,7,Xi(b),"")},ky=function(a,b){return wk(a,8,b)},ly=function(a,b){return wk(a,9,b)},my=function(a,b){return Vj(a,10,Hi(b),!1)},ny=function(a,b){return Vj(a,11,Hi(b),!1)},oy=function(a,b){return Uj(a,12,b,Li)},py=function(a,b){return Uj(a,13,b,Li)},qy=function(a, b){return Uj(a,14,b,Li)},ry=function(a,b){return Vj(a,15,Hi(b),!1)},sy=function(a,b){return Vj(a,16,Xi(b),"")},ty=function(a,b){return Uj(a,17,b,Oi)},uy=function(a,b){return Uj(a,18,b,Oi)},vy=function(a,b){return lk(a,19,b)};var wy=function(a){this.L=I(a)};w(wy,L);var yy="a".charCodeAt(),zy=Lb({Uo:0,To:1,Qo:2,Lo:3,Ro:4,Mo:5,So:6,Oo:7,Po:8,Ko:9,No:10,Vo:11}),Ay=Lb({Xo:0,Yo:1,Wo:2});var By=function(a){if(/[^01]/.test(a))throw Error("Input bitstring "+a+" is malformed!");this.j=a;this.g=0},Dy=function(a){a=Cy(a,36);var b=new by;b=zk(b,1,Math.floor(a/10));return wk(b,2,a%10*1E8)},Ey=function(a){return String.fromCharCode(yy+Cy(a,6))+String.fromCharCode(yy+Cy(a,6))},Hy=function(a){var b=Cy(a,16);return!!Cy(a,1)===!0?(a=Fy(a),a.forEach(function(c){if(c>b)throw Error("ID "+c+" is past MaxVendorId "+b+"!");}),a):Gy(a,b)},Iy=function(a){for(var b=[],c=Cy(a,12);c--;){var d=Cy(a,6),e= Cy(a,2),f=Fy(a),g=b,h=g.push,k=new Wx;d=Dk(k,1,d);e=Dk(d,2,e);f=Uj(e,3,f,Oi);h.call(g,f)}return b},Fy=function(a){for(var b=Cy(a,12),c=[];b--;){var d=!!Cy(a,1)===!0,e=Cy(a,16);if(d)for(d=Cy(a,16);e<=d;e++)c.push(e);else c.push(e)}c.sort(function(f,g){return f-g});return c},Gy=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)};By.prototype.skip=function(a){this.g+=a};var Jy=function(a){try{var b=jh(a).map(function(f){return f.toString(2).padStart(8,"0")}).join(""),c=new By(b);if(Cy(c,3)!==3)return null;var d=Zx(Yx(new Xx,Gy(c,24,zy)),Gy(c,24,zy)),e=Cy(c,6);e!==0&&ay($x(d,Gy(c,e)),Gy(c,e));return d}catch(f){return null}};var Ky=function(a){try{var b=jh(a).map(function(d){return d.toString(2).padStart(8,"0")}).join(""),c=new By(b);return vy(uy(ty(sy(ry(qy(py(oy(ny(my(ly(ky(jy(iy(hy(gy(fy(ey(dy(new cy,Cy(c,6)),Dy(c)),Dy(c)),Cy(c,12)),Cy(c,12)),Cy(c,6)),Ey(c)),Cy(c,12)),Cy(c,6)),!!Cy(c,1)),!!Cy(c,1)),Gy(c,12,Ay)),Gy(c,24,zy)),Gy(c,24,zy)),!!Cy(c,1)),Ey(c)),Hy(c)),Hy(c)),Iy(c))}catch(d){return null}};var My=function(a){if(!a)return null;var b=a.split(".");if(b.length>4)return null;a=Ky(b[0]);if(!a)return null;var c=new wy;a=jk(c,1,a);b.shift();b=q(b);for(c=b.next();!c.done;c=b.next())switch(c=c.value,Ly(c)){case 1:case 2:break;case 3:c=Jy(c);if(!c)return null;jk(a,2,c);break;default:return null}return a},Ly=function(a){try{var b=jh(a).map(function(c){return c.toString(2).padStart(8,"0")}).join("");return Cy(new By(b),3)}catch(c){return-1}};var Ny=function(a,b){var c={};if(Array.isArray(b)&&b.length!==0){b=q(b);for(var d=b.next();!d.done;d=b.next())d=d.value,c[d]=a.indexOf(d)!==-1}else for(a=q(a),b=a.next();!b.done;b=a.next())c[b.value]=!0;delete c[0];return c};var Oy=function(a){this.L=I(a)};w(Oy,L);var Py=function(a){var b=new Oy;Wj(b,1,Li,a)};[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 Qy=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?(Lg({e:String(a.internalErrorState)}, "tcfe"),!1):!0:a.cmpStatus!=="loaded"||a.eventStatus!=="tcloaded"&&a.eventStatus!=="useractioncomplete"?!1:!0};var Ry=function(){this.blockSize=-1};Py([1,8,9,10,11,12,2,3,4,5,15,16,19,20,21]);Py([1,6,7,9,10,11,12,2,3,4,5,13,14,18,19,20,21]);Py([1,6,7,9,10,11,12,2,3,4,5,13,14,17,18,19,20,21]);new Oy;var O=function(a,b){this.j=this.B=this.o="";this.A=null;this.N=this.l="";this.C=!1;var c;a instanceof O?(this.C=b!==void 0?b:a.C,Sy(this,a.o),this.B=a.B,Ty(this,a.j),Uy(this,a.A),this.l=a.l,Vy(this,a.g.clone()),this.N=a.D()):a&&(c=String(a).match(Rf))?(this.C=!!b,Sy(this,c[1]||"",!0),this.B=Wy(c[2]||""),Ty(this,c[3]||"",!0),Uy(this,c[4]),this.l=Wy(c[5]||"",!0),Vy(this,c[6]||"",!0),this.N=Wy(c[7]||"")):(this.C=!!b,this.g=new Xy(null,this.C))}; O.prototype.toString=function(){var a=[],b=this.o;b&&a.push(Yy(b,Zy,!0),":");var c=this.j;if(c||b=="file")a.push("//"),(b=this.B)&&a.push(Yy(b,Zy,!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(Yy(c,c.charAt(0)=="/"?$y:az,!0));(c=this.g.toString())&&a.push("?",c);(c=this.D())&&a.push("#",Yy(c,bz));return a.join("")}; O.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?Sy(b,a.o):c=!!a.B;c?b.B=a.B:c=!!a.j;c?Ty(b,a.j):c=a.A!=null;var d=a.l;if(c)Uy(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(Ec(e,"./")||Ec(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?Vy(b,a.g.clone()):c=!!a.N;c&&(b.N=a.D());return b};O.prototype.clone=function(){return new O(this)}; var Sy=function(a,b,c){a.o=c?Wy(b,!0):b;a.o&&(a.o=a.o.replace(/:$/,""))},Ty=function(a,b,c){a.j=c?Wy(b,!0):b},Uy=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},Vy=function(a,b,c){b instanceof Xy?(a.g=b,cz(a.g,a.C)):(c||(b=Yy(b,dz)),a.g=new Xy(b,a.C));return a},ez=function(a,b){return a.g.get(b)};O.prototype.D=function(){return this.N}; var fz=function(a,b){return(!a.j&&!b.j||a.j==b.j)&&(a.A==null&&b.A==null||a.A==b.A)},gz=function(a){return a instanceof O?a.clone():new O(a,void 0)},Wy=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},Yy=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,hz),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},hz=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},Zy=/[#\/\?@]/g,az=/[#\?:]/g,$y=/[#\?]/g,dz= /[#\?@]/g,bz=/#/g,Xy=function(a,b){this.j=this.g=null;this.l=a||null;this.o=!!b},iz=function(a){a.g||(a.g=new Map,a.j=0,a.l&&Tf(a.l,function(b,c){a.add(Yd(b),c)}))};Xy.prototype.add=function(a,b){iz(this);this.l=null;a=jz(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.j+=1;return this};Xy.prototype.remove=function(a){iz(this);a=jz(this,a);return this.g.has(a)?(this.l=null,this.j-=this.g.get(a).length,this.g.delete(a)):!1};Xy.prototype.clear=function(){this.g=this.l=null;this.j=0}; Xy.prototype.isEmpty=function(){iz(this);return this.j==0};var kz=function(a,b){iz(a);b=jz(a,b);return a.g.has(b)};l=Xy.prototype;l.forEach=function(a,b){iz(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};l.eg=function(){iz(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(jz(this,e),qb(c)),this.j+=c.length))},a));a.o=b};var lz=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};function mz(){var a=new lz;return{promise:a.promise,resolve:a.resolve}};function nz(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=mz();a[9]=c;b();return c};function oz(){var a=a===void 0?window:a;var b;return z(function(c){b=[nz(a).promise];try{b.push(nz(a.parent).promise)}catch(d){}return c.return(Promise.race(b))})};var pz=[0,2,1],qz=null,rz=function(){var a=window.event||qz;if(!a)return null;var b;(b=a.which?1<=0?c.substring(0,d)+b+c.substring(e):c.substring(0,d)+b}a.href=b.length>6E4?c:b}}};function sz(a){var b=b===void 0?B:b;var c=new Su;a!=null&&(a.ae!=null&&Ak(c,1,a.ae),a.In!=null&&Ak(c,3,a.In),a.label!=null&&Ak(c,6,a.label),a.Ij!=null&&Ak(c,7,a.Ij),a.tj!=null&&Ak(c,8,a.tj),a.wn!=null&&Ak(c,11,a.wn));var d;a=b;a=a===void 0?window:a;(d=a.fence)==null||d.reportEvent({eventType:"interaction",eventData:bl(c),destination:["buyer"]})};var tz=function(a){return typeof a.className=="string"?a.className:a.getAttribute&&a.getAttribute("class")||""},uz=function(a){return a.classList?a.classList:tz(a).match(/\S+/g)||[]},vz=function(a,b){typeof a.className=="string"?a.className=b:a.setAttribute&&a.setAttribute("class",b)},wz=function(a,b){return a.classList?a.classList.contains(b):kb(uz(a),b)},xz=function(a,b){if(a.classList)a.classList.add(b);else if(!wz(a,b)){var c=tz(a);vz(a,c+(c.length>0?" "+b:b))}},yz=function(a,b){if(a.classList)Array.prototype.forEach.call(b, function(e){xz(a,e)});else{var c={};Array.prototype.forEach.call(uz(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;vz(a,b)}},zz=function(a,b){a.classList?a.classList.remove(b):wz(a,b)&&vz(a,Array.prototype.filter.call(uz(a),function(c){return c!=b}).join(" "))};var Az=function(a){this.serializedAttributionData=al(a);this.g=a.clone();this.isMutableImpression=Kj(this.g)&&!!nk(J(this.g,Jj,1),33);K(this.g,30);nk(this.g,11);this.hasUserFeedbackData=!!this.g&&Kj(this.g);nk(this.g,4);nk(this.g,6);nk(this.g,13);this.Oj=ok(this.g,8)||1;this.creativeIndexSuffix=ok(this.g,8)>1?ok(this.g,7).toString():"";Yi(Ej(this.g,34))!=null&&(this.creativeIndexSuffix=K(this.g,34)+"_"+this.creativeIndexSuffix);nk(this.g,17);nk(this.g,18);this.C=!!nk(this.g,14);this.B=!!nk(this.g, 15);nk(this.g,31);nk(this.g,9);this.openAttributionInline=nk(this.g,10)==1;this.isMobileDevice=!!nk(this.g,12);this.yf=null;this.J=(a=pc.querySelector("[data-slide]"))?a.getAttribute("data-slide")==="true":!1;(this.o=ok(this.g,8)>1)&&D.goog_multislot_cache===void 0&&(D.goog_multislot_cache={});if(this.o&&!this.J&&D.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}bf("abgcp"+this.creativeIndexSuffix);bf("abgc"+this.creativeIndexSuffix);this.j=bf("abgs"+this.creativeIndexSuffix);bf("abgl"+this.creativeIndexSuffix);bf("abgb"+this.creativeIndexSuffix);bf("abgac"+this.creativeIndexSuffix);bf("mute_panel"+this.creativeIndexSuffix);this.l=ef("goog_delegate_attribution"+this.creativeIndexSuffix);this.isDelegateAttributionActive= !!this.l&&!!this.C&&!ef("goog_delegate_disabled")&&!this.B;if(this.j)a:for(a=this.j,a=a.childNodes,b=0;bg.right-.5&&d.bottom>g.bottom-.5&&d.lefte+.1&&!(g++>30);){var h=(f+e)/2;Lz(d,h);Jz(d.j)?e=h:f=h}Lz(d,e)}b()})},this);return new Promise(a)};Kz.prototype.getSize=function(){return this.g};var Mz=function(a,b){a.l=b};var Nz=function(a){return!!a&&!!K(a,30)&&!!K(a,31)&&!!K(a,32)},Oz=function(a,b){return bf(a+(b===void 0?"":b))},Pz=function(a,b){return bf(a+(b===void 0?"":b))},Qz=function(a){if(Yi(Ej(a,21))!=null){var b=JSON.parse(K(a,21)).msg_type;if(b==="resize-me"||b==="dismiss"||b==="i-dismiss"){var c=K(a,21);try{b==="i-dismiss"?oz().then(function(d){d.dismiss(3)}):D.top.postMessage(c,"*")}catch(d){Vx(d,function(e){e.closeMsg=c})}}}},Rz=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 Sz=RegExp("[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]");var Tz={},Uz={},Vz={},Wz={},Xz=function(){throw Error("Do not instantiate directly");};Xz.prototype.uj=null;Xz.prototype.getContent=function(){return this.content};Xz.prototype.toString=function(){return this.content};Xz.prototype.uk=function(){if(this.vj!==Tz)throw Error("Sanitized content was not of kind HTML.");return Kd(this.toString())};var Yz=function(){Xz.call(this)};Ua(Yz,Xz);Yz.prototype.vj=Tz;var Zz=function(a){if(a!=null)switch(a.uj){case 1:return 1;case -1:return-1;case 0:return 0}return null},dA=function(a){return $z(a,Tz)?a:a instanceof Id?aA(Jd(a).toString()):aA(String(String(a)).replace(bA,cA),Zz(a))},aA=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.uj=d);return c}}(Yz),eA=function(a,b){for(var c in b)c in a||(a[c]=b[c]);return a},fA=function(a){return a instanceof Xz?!!a.getContent():!!a},iA=function(a){return gA(String(a), function(){return""}).replace(hA,"<")},jA=RegExp.prototype.hasOwnProperty("sticky"),kA=new RegExp((jA?"":"^")+"(?:!|/?([a-zA-Z][a-zA-Z0-9:-]*))",jA?"gy":"g"); function gA(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 lA=function(a){return a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>")},Q=function(a){return $z(a,Tz)?String(iA(a.getContent())).replace(mA,cA):String(a).replace(bA,cA)},pA=function(a){return $z(a,Tz)?String(iA(a.getContent())).replace(nA,cA):String(a).replace(oA,cA)},uA=function(a){$z(a,Uz)||$z(a,Vz)?a=qA(a):a instanceof jd?a=qA(ld(a)):a instanceof fd?a=qA(gd(a).toString()):(a=String(a),a=rA.test(a)?a.replace(sA,tA):"about:invalid#zSoyz");return a},wA=function(a){$z(a,Uz)||$z(a,Vz)?a=qA(a): a instanceof jd?a=qA(ld(a)):a instanceof fd?a=qA(gd(a).toString()):(a=String(a),a=vA.test(a)?a.replace(sA,tA):"about:invalid#zSoyz");return a},R=function(a){$z(a,Wz)?a=lA(a.getContent()):a==null?a="":a instanceof wd?a=lA(xd(a)):a instanceof Gd?a=lA(a instanceof Gd&&a.constructor===Gd?a.g:"type_error:SafeStyleSheet"):(a=String(a),a=xA.test(a)?a:"zSoyz");return a},$z=function(a,b){return a!=null&&a.vj===b},yA={"\x00":"�","\t":" ","\n":" ","\v":" ","\f":" ","\r":" "," ":" ", '"':""","&":"&","'":"'","-":"-","/":"/","<":"<","=":"=",">":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"},cA=function(a){return yA[a]},zA={"\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"},tA=function(a){return zA[a]},bA=/[\x00\x22\x26\x27\x3c\x3e]/g,mA=/[\x00\x22\x27\x3c\x3e]/g,oA=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,nA=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,sA=/[\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, xA=/^(?!-*(?:expression|(?:moz-)?binding))(?:(?:[.#]?-?(?:[_a-z0-9-]+)(?:-[_a-z0-9-]+)*-?|(?:calc|cubic-bezier|drop-shadow|hsl|hsla|hue-rotate|invert|linear-gradient|max|min|rgb|rgba|rotate|rotateZ|translate|translate3d|translateX|translateY|var)\((?:(?:(?:(?:\/(?![\/\*]))|(?:\*(?!\/)))?[-\u0020\t,+.!#%_0-9a-zA-Z]+)*|(?:calc|cubic-bezier|drop-shadow|hsl|hsla|hue-rotate|invert|linear-gradient|max|min|rgb|rgba|rotate|rotateZ|translate|translate3d|translateX|translateY|var)\((?:(?:(?:\/(?![\/\*]))|(?:\*(?!\/)))?[-\u0020\t,+.!#%_0-9a-zA-Z]+)*\))+\)|[-+]?(?:[0-9]+(?:\.[0-9]*)?|\.[0-9]+)(?:e-?[0-9]+)?(?:[a-z]{1,4}|%)?|(?:(?:\/(?![\/\*]))|(?:\*(?!\/)))|!important)(?:\s*[,\u0020]\s*|$))*$/i, rA=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,vA=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+-]+;base64,[a-z0-9+\/]+=*$|^blob:/i,AA=/^[a-zA-Z0-9+\/_-]+={0,2}$/,qA=function(a){return String(a).replace(sA,tA)},BA=function(a){a=String(a);return AA.test(a)?a:"zSoyz"},hA=/
';h?n='
'+(da?"":'")+ '
'+(k&&!m?(C?HA(a):"")+(fa?"":''+dA(f)+""):"")+(p?"":n?''+dA(u)+' ': ''+dA(A)+' ')+"
":(f=(da?"":'")+'
'+(H>40?'
': "")+(C?HA(a)+'':""),!k||m||fa?k="":(k=a.creativeIndexSuffix,m=a.ak,k=aA(''+dA(m)+"")),k=f+k,p?n="":n?(n='',p=a.creativeIndexSuffix,m=a.Hk,fa=a.Gk,f=a.fh,h=a.fi,p=aA(''+(f&&!h?IA(a.creativeIndexSuffix,a.Vg)+dA(fa):dA(fa)+" "+IA(a.creativeIndexSuffix,a.Vg))+""),n+=p):(n='',p=a.creativeIndexSuffix,m=a.kk,fa=a.jk,f=a.Vg,p=aA(''+dA(fa)+' '),n+=p),n=k+n+"
");g=e+n+'
'+dA(g)+'
'; C?(d='
'+(da?"":'
'+GA()+"
")+'
'+(da?'
'+GA()+"
":"")+'
'+dA(P)+'
', C=a.creativeIndexSuffix,P=a.fi,da=a.Kl,e=a.Ll,C=aA(''+(P?JA()+dA(da):dA(da)+" "+JA())+""),d=d+C+"
"):d="";Tb=Tb(g+d+"");d=a.creativeIndexSuffix;C=a.Rh;P=a.Gl;da=a.Nl;g=a.pi;e=a.Ng;n=a.gm;p=a.Uj;k=a.Vj;m=a.fh;fa=a.zk;f=a.enableNativeJakeUi;h=a.Ki;a=a.og;b=b&&b.em;b=aA((m?'":"")+"#panel_set"+R(d)+">.panel {position: absolute;"+(C?"top: -100%; left: -100%;":"top: -"+R(P)+"px; left: -"+R(da)+"px;")+"z-index: 2147483646; display: block;"+(C?"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;"+(n?"top: 0; left: 0;":"left: "+R(p)+"px; top: "+R(k)+"px;")+ "opacity: 1;}#panel_set"+R(d)+" .panel-container {display: table;"+(C?"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;}"+(fa?"#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;}")+(fa?"#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(Tb+b)},HA=function(a){var b=a.creativeIndexSuffix;a=a.Jl;return aA(''+dA(a)+"")},IA=function(a,b){return aA('')},GA=function(){return aA('')}, JA=function(){return aA('')};var LA=function(a,b){var c=a.creativeIndexSuffix,d=a.Um,e=a.Fn,f=a.hm,g=aA,h=eA({lm:fA(d)?"left":"right",Rl:fA(d)?"right":"left"},a);d=h.lm;var k=h.Rl,m=h.creativeIndexSuffix,n=h.Sl,p=h.Ul,r=h.Tl,u=h.Pn,t=h.un,x=h.Rh,A=h.pi,H=h.Ng,C=h.fh,P=h.Ki;h=h.og;b=b&&b.em;f=" "+aA((C?'":"")+"#survey-container"+R(m)+" {position: absolute; top: 0; left: 0;"+ (fA(x)?"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(n)+"px;}.survey-option {position: relative; overflow: hidden; display: inline-block; padding: 1px 5px; width: "+ R(p)+"px; height: "+R(n)+"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)-n)/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-(n+2))+"px 0px;}#mute_panel"+R(m)+".survey-small-grid #option-container"+R(m)+" {padding: 0 "+R((A!=null?A:0)/2-(p+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(P)+"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("'+wA(t)+"/images/icons/material/system/1x/keyboard_arrow_"+qA(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("'+wA(t)+"/images/icons/material/system/1x/keyboard_arrow_"+qA(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);}'+ (C?".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?'
'+aA('')+ "
":"");e=eA({options:e},a);a=e.options;e=e.creativeIndexSuffix;b="";d=a.length;for(k=0;k
'+dA(a[k])+"
";b+='
';a=aA(b);return g(f+a+'
')};var NA=function(a,b,c,d,e,f,g,h,k,m,n,p,r,u){this.J=a;this.g=b;this.o=c;this.ha=g;this.j=h;this.ub=k;this.F=d;this.Wc=e;this.P=f;this.Ba=n;this.Ua=p;this.xa=r;this.W=void 0;this.la=m;this.C=Math.min(50,this.o);this.M=!1;this.l=0;this.D=!0;this.N=this.G=this.K=this.A=this.B=this.ba=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&&MA(this)<=4;this.Xa=this.g>=196&&this.o>=2*this.C+4&&MA(this)<= 4;this.Va=this.ub==="enable_jake_ui_grid"&&b&&a;this.da=!!this.la;this.T=u;this.collapse()};NA.prototype.render=function(){CA(this.J,LA,{pi:this.g,Ng:this.o,Uj:0,Vj:0,Rh:this.ha,creativeIndexSuffix:this.j,Um:this.F,un:this.Wc,Ul:96,Sl:this.C,Tl:8,Pn:MA(this)*(this.C+8)-8,Yp:MA(this)*95+1,Zp:MA(this)*104-8,Fn:cb(ik(this.P,Mu,2,Mj()),function(a){return K(a,1)}),fh:this.Ba,Ki:this.Ua,og:this.xa,hm:this.T});OA(this)};NA.prototype.expand=function(){this.J&&xz(this.J,"visible")}; NA.prototype.collapse=function(){this.J&&zz(this.J,"visible")};NA.prototype.display=function(a){this.W=a;this.expand()}; var MA=function(a){return ik(a.P,Mu,2,Mj()).length},PA=function(a){var b=[],c=a.o,d=a.g,e=a.C,f=MA(a)*95+1,g=MA(a)*104-8;var h=MA(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},OA=function(a){a.aa= document.getElementById("survey-container"+a.j);a.ba=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.da?a.aa&&a.K&&a.G&&(a.aa.onscroll=function(){a.M=!0},window.setInterval(function(){if(a.M){var e=a.ba.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.M=!1}},100)):(a.B&&Jf(a.B,"click",Ra(a.xb,a)),a.A&&Jf(a.A,"click",Ra(a.Ya,a)));var b=df("survey-option",a.J);if(b&&b[0]){a.N=b[0];for(var c=0;c1?1:0])||Ux({context:"mta_nomop"});this.Va=a||new Ou;this.g=this.l.creativeIndexSuffix;this.Rb=this.l.isMobileDevice;this.xa=!!this.l.creativeIndexSuffix;this.Xa=this.l.autoExpandOnLoad;this.G=Ez(K(this.j,5),K(this.j,6),K(this.j,19));a=new Fz(this.da); this.ba=!!this.l.enableNativeJakeUi;this.me=Gz(a,"jake_ui_extension","jake_default_ui");this.Xc=Gz(a,"disable_report_button",(!1).toString()).toString()==="true";this.je=Gz(a,"disable_wta_button",(!1).toString()).toString()==="true";this.ha=!!nk(this.j,43);this.P=nk(Pu(this.j),24);this.F=sk(Pu(this.j),27);this.Ba=this.ub=this.Ua=!1;this.xb=nk(Pu(this.j),29);this.A=this.W;this.o=this.T;this.M=!1;RA(this);this.D=null;this.Z=Tx(279,function(){c.B&&(Ux({ev:"psx",efsb:1,elsb:0,ttd:Date.now()-c.B},1),c.B= null,Kf(D,"beforeunload",c.Z))});this.Ya=!1;this.K=this.B=null;this.la=ok(Pu(this.j),28)};w(SA,N); SA.prototype.render=function(){var a=this,b=Pz("mute_panel",this.g),c=Pu(this.j),d=K(this.j,25)||"//support.google.com/adsense/troubleshooter/1631343",e=K(c,2),f=K(c,1),g=K(this.j,32),h=K(this.j,35),k=K(this.j,36),m=K(this.j,39),n=K(this.j,40),p=nk(this.j,41),r=K(Pu(this.j),17),u=K(this.j,31);r&&(u=Uf(u,"eid",r));r=Nz(this.j);c&&K(c,11)&&K(c,12)&&(e=K(c,12),f=K(c,11));c={isMutableImpression:this.l.isMutableImpression,Wm:!1,Gl:this.T,Nl:this.W,Ng:this.o,pi:this.A,Uj:0,Vj:0,Rh:this.M,creativeIndexSuffix:this.g, gm:this.xa,jq:this.j,fi:nk(this.j,27),ak:K(Pu(this.j),6),Xl:K(Pu(this.j),7),jk:e,kk:d,Vg:f,Un:r,Vn:this.je,Gk:g,Hk:u,enableNativeJakeUi:this.ba,fh:this.P,zk:this.F!==0,Jl:h,qn:k,Kl:m,Ll:n,fm:this.Xc,Ki:this.la,og:this.ha};CA(b,KA,c);(c=this.ba?Oz("native_closed_text",this.g):Oz("closed_text",this.g))&&TA(this,c,K(Pu(this.j),18));(c=Oz("final_closed_text",this.g))&&TA(this,c,K(Pu(this.j),3));(c=Oz("report_btn",this.g))&&Jf(c,"click",Tx(280,function(){UA(a)}));(c=Oz("settings_btn",this.g))&&Jf(c,"click", function(){return a.collapse()});if(Nz(this.j)){var t=Oz("why_this_ad_btn",this.g);t&&Jf(t,"click",Tx(281,function(C){var P;(P=a.G)==null||Cz(P,"closebutton_whythisad_click","1",!1);P=t.getAttribute("href");var fa={};C=(fa.wtaUrl=P,fa.underlyingEvent=C,fa);Rz(a,"wtaClicked",{detail:C})}))}(c=Oz("menu-dismiss",this.g))&&Jf(c,"click",Tx(354,function(){VA(a,"btn")}));if(this.F!==0){(c=Oz("ad_options_btn",this.g))&&Jf(c,"click",function(){var C=Oz("ad_options_panel",a.g);C&&xz(C,"visible")});(c=Oz("ad_options_dismiss", this.g))&&Jf(c,"click",function(){return WA(a)});var x=Oz("learn_more_btn",this.g);x&&Jf(x,"click",function(C){a.Ba||(a.Ba=!0,Ux({context:"mta_paidLearnMore"},.01));var P=x.getAttribute("href"),fa={};C=(fa.learnMoreUrl=P,fa.underlyingEvent=C,fa);Rz(a,"learnMoreClicked",{detail:C})});if(c=Oz("personalize_toggle",this.g))if(Jf(c,"click",function(){var C=Oz("personalize_checkbox",a.g);C.checked=!C.checked;var P=C.checked,fa=!a.Ua;a.Ua=!0;var da={};P=(da.gpidType=a.F,da.gpidPersonalizationEnabled=P,da.gpidShouldResetAdsData= fa,da);Rz(a,"updateGpid",{detail:P});fa&&a.F==1&&Ux({context:"mta_paidClearAdsData"},.01);(fa=K(a.j,42))&&D.fetch&&D.fetch(fa);a.ub||(a.ub=!0,Ux({context:"mta_paidPersonalizationToggle",state_toggled:C.checked},.01))}),c=Oz("personalize_checkbox",this.g))c.checked=p}(p=Oz("native-menu-bg",this.g))&&Jf(p,"click",Tx(354,function(){VA(a,"bg")}));p=Oz("survey_panel",this.g);c=J(this.Va,Nu,3);d=["jake-top"];p&&c&&(this.D=new NA(p,this.A,this.o,nk(this.j,27),K(Pu(this.j),16),c,this.M,this.g,this.me,this.Rb, this.P,this.la,this.ha,this.xb),d=PA(this.D),this.D.render());yz(b,d);b=[];p=this.P?15:16;if(this.ba)p=new Kz("#mute_panel"+this.g+" .native-panel",p,6),b.push(p.resize());else{var A=new Kz("#mute_panel"+this.g+" .panel-row",p,9);Mz(A,function(){var C=Oz("ad_closed_panel",a.g);A.getSize()<=13?xz(C,"fallback-wrap"):zz(C,"fallback-wrap")});var H=new Kz("#mute_panel"+this.g+" .btn-text",p,9);b.push(A.resize().then(function(){return H.resize()}))}p=new Kz("#mute_panel"+this.g+" .conf-msg",17,12);b.push(p.resize()); p=new Kz("#mute_panel"+this.g+" #final_closed_text",17,12);b.push(p.resize());p=new Kz("#mute_panel"+this.g+" .survey-option span",12,8);b.push(p.resize());return Promise.all(b)}; var RA=function(a){if(a.g){for(var b=null,c=0,d=0,e=document.querySelectorAll("[data-dim]"),f=0;f=115?(a.o=b.offsetHeight,a.A=b.offsetWidth):a.xa=!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.T=b,a.W=c,a.o=b,a.A=c,a.M=!0},VA=function(a,b){Ux({context:"mta_dismiss",close_method:b,jake_mta_context:K(Pu(a.j),17),height:a.o,width:a.A},.01);a.collapse()},TA=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",K(Pu(a.j),5));a=document.createElement("span");a.innerText=c[1];b.appendChild(d);b.appendChild(e);b.appendChild(a)},UA=function(a){var b=J(a.Va,Lu,2);if(!a.Ya)if(b){var c;(c=a.G)==null||Dz(c, b);a.Ya=!0}else Ux({context:"mta_nomoconv"},.01);b=0;a.D?(b=2,a.D.display(function(d,e){var f;(f=a.G)==null||Dz(f,d);a.K=d;Ux({type:"jake_survey_idx",idx:e,jake_mta_context:K(Pu(a.j),17)},.01);XA(a)}),a.B=Date.now(),(c=Oz("survey_panel",a.g))&&xz(c,"visible")):XA(a);Ux({type:"jake_telemetry",surv_rc:b,jake_mta_context:K(Pu(a.j),17)},.01);a.B&&Jf(D,"beforeunload",a.Z)},XA=function(a){var b=Oz("survey_panel",a.g);b&&zz(b,"visible");(b=Oz("post_survey_panel",a.g))&&xz(b,"visible");setTimeout(function(){return YA(a)}, 1600)},YA=function(a){var b=Oz("final_closed_panel",a.g);b&&xz(b,"visible");setTimeout(function(){return ZA(a)},300)},ZA=function(a){var b=Oz("final_closed_text",a.g);b&&xz(b,"visible");b=a.K&&K(a.K,1)==="mute_survey_option"&&K(a.K,2)==="3";(a.g===""||b)&&setTimeout(function(){return Qz(a.j)},900)}; SA.prototype.expand=function(){xz(Pz("ad_closed_panel",this.g),"visible");xz(document.body,"goog_menu_opened");if(!this.Xa){var a=J(this.j,Lu,7);if(a){var b;(b=this.G)==null||Dz(b,a);this.Xa=!0}else Ux({context:"mta_noiconv"},.01)}this.dispatchEvent("p-control-panel-shown")};SA.prototype.collapse=function(){zz(Pz("ad_closed_panel",this.g),"visible");zz(document.body,"goog_menu_opened");WA(this);this.dispatchEvent("p-control-panel-hidden")};SA.prototype.O=function(){Kf(D,"beforeunload",this.Z);N.prototype.O.call(this)}; var WA=function(a){(a=Oz("ad_options_panel",a.g))&&zz(a,"visible")};var $A={};Ha("adsense.mobileads.afmanotify.receiveMessage",function(a,b){if($A.hasOwnProperty(a))for(var c=$A[a],d=0;dc)return this.l;Vm(b)||(b=new Um(b,{context:a,id:e}));if(d||this.g)b.meta={},this.g&&this.g(b.meta),d&&d(b.meta);B.google_js_errors=B.google_js_errors||[];B.google_js_errors.push(b);B.error_rep_loaded||(b=B.document,a=pg("SCRIPT",b),Wd(a,this.J),(b=b.getElementsByTagName("script")[0])&&b.parentNode&&b.parentNode.insertBefore(a,b),B.error_rep_loaded=!0);return this.l}; l.Sd=function(a,b,c){try{return b()}catch(d){if(!this.C(a,d,this.A,c,this.j))throw d;}};l.Rg=function(a,b,c,d){var e=this;return function(){var f=Da.apply(0,arguments);return e.Sd(a,function(){return b.apply(c,f)},d)}};var JB=function(a){a=a._google_rum_ns_=a._google_rum_ns_||{};return a.pq=a.pq||[]};function KB(a){return Kd(a===null?"null":a===void 0?"undefined":a)};var LB=function(a,b){b=b.google_js_reporting_queue=b.google_js_reporting_queue||[];b.length<2048&&b.push(a)},MB=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=Zm(),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&&LB(Object.assign({},{label:a.toString(), value:g,duration:(Zm()||0)-g,type:h},d&&f&&{taskId:e.google_rum_task_id_counter=e.google_rum_task_id_counter||1}),e)}return k}};function NB(a,b,c){eg(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 SB=function(a,b,c,d,e,f,g,h){f=f===void 0?Infinity:f;g=g===void 0?!1:g;dn.call(this,a,h);var k=this;this.W=b;this.domain=c;this.path=d;this.da=e;this.J=0;this.A={};this.F={};this.M=[];this.report={};this.l=0;this.D=[];this.G=f;a=this.g.navigator;this.T=!(this.domain!=="csi.gstatic.com"||!a||!a.sendBeacon);this.g.performance&&this.g.performance.now||OB(this,"dat",1);a&&a.deviceMemory&&OB(this,"dmc",a.deviceMemory);this.g===this.g.top&&OB(this,"top",1);this.P=!g;this.K=function(){k.g.setTimeout(function(){PB(k)}, 1100)};this.aa=function(){OB(k,"uet",2);for(var n=q(k.M),p=n.next();!p.done;p=n.next()){p=p.value;try{p()}catch(u){}}n=k.g;var r=r===void 0?{}:r;typeof window.CustomEvent==="function"?p=new CustomEvent("rum_blp",r):(p=document.createEvent("CustomEvent"),p.initCustomEvent("rum_blp",!!r.bubbles,!!r.cancelable,r.detail));n.dispatchEvent(p);PB(k);k.A.uet!=null&&(k.o-=3+k.A.uet.length+2,delete k.A.uet)};this.Z=Fe(function(){PB(k)});this.ba=function(){var n=k.g.document;(n.hidden!=null?n.hidden:n.mozHidden!= null?n.mozHidden:n.webkitHidden!=null&&n.webkitHidden)&&k.Z()};this.N=this.g.setTimeout(function(){PB(k)},5E3);this.o=b.length+c.length+d.length+e.length+3;$a(this.events,function(n){QB(k,n)});b=JB(this.g);var m=function(){var n=Da.apply(0,arguments)[0],p=n[0];n=n[1];var r=p.length+n.length+2;k.o+k.l+r>8E3&&PB(k);k.D.push([p,n]);k.l+=r;k.o+k.l>=6E3&&PB(k);return 0};$a(b,function(n){return m(n)});b.length=0;b.push=m;OB(this,"puid",(this.J+1).toString(36)+"~"+Ta().toString(36));RB(this)};w(SB,dn); var RB=function(a){a.g.document.readyState==="complete"?a.g.setTimeout(function(){PB(a)},0):Jf(a.g,"load",a.K);var b=Mf(a.g.document);typeof b!=="undefined"&&Jf(a.g,b,a.ba);Jf(a.g,"pagehide",a.aa)},OB=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},TB=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&&(PB(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&&PB(a)},PB=function(a){if(a.j&&a.P){try{a.l&&(a.sendBeacon(a.report),a.J===a.G&&a.C())}catch(b){(new IB).qc(358,b)}a.report={};a.l=0;a.events.length=0;a.g.clearTimeout(a.N);a.N=0}},UB=function(a,b){var c=a.W+"//"+a.domain+a.path+a.da,d={};c=NB(c,a.A,d);c=NB(c,b,d);b=a.g;b.google_timing_params&&(c=NB(c,b.google_timing_params,d),b.google_timing_params=void 0);$a(a.D,function(e){var f=q(e);e=f.next().value; f=f.next().value;var g={};c=NB(c,(g[e]=f,g))});a.D.length=0;return c};SB.prototype.sendBeacon=function(a){this.J++;a=UB(this,a);var b=!1;try{b=!!(this.T&&this.g.navigator&&this.g.navigator.sendBeacon(a,null))}catch(c){this.T=!1}b||Jg(this.g,a);OB(this,"puid",(this.J+1).toString(36)+"~"+Ta().toString(36))}; var QB=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):"");TB(a,c,b,!0,"~")};SB.prototype.B=function(a){this.j&&this.J1)return lC("multiple-elements",a.g),null;b=b[0];return b?b.innerHTML:(lC("missing-element",a.g),null)},oC=function(){var a=nC,b=mC(a);if(b!==null)if(cC(b)){var c=JSON.parse(b);b=c.experimentIds;var d=c.binaryIdentifier;c=c.adEventId;var e=typeof d==="string";typeof c=="string"&&WB(U(),"qqid",c);e&& (a.g=d);typeof b!=="string"?lC("missing-flags",a.g):(e||lC("missing-binary-id",a.g),a.l=b)}else lC("invalid-json",a.g)};kC.prototype.reset=function(){this.l=null;this.g="missing-id"};var pC=function(){kC.apply(this,arguments)};w(pC,kC);var lC=function(a,b){var c=U();T(c,"eee",a);T(c,"bi",b)};function qC(a){return a.split(",").map(function(b){return parseInt(b,10)}).filter(function(b){return!isNaN(b)})};var xB=new rB,rC=new rB,sC=new rB,tC=new rB,uC=new rB,vC=new rB,wC=new rB,xC=new rB,yC=new rB,zC=new rB;S({id:95329493,R:0});S({id:95329494,R:0});S({id:318475490,R:0});S({id:324123032,R:0});S({id:420706097,R:10});S({id:420706098,R:10});S({id:21062100,R:0});S({id:420706142,R:0});S({id:44745813,R:0});var AC=S({id:44746068,R:0});S({id:21064565,R:0});S({id:21064567,R:0});S({id:418572006,R:10});S({id:95338773,R:10,qa:tC});S({id:95338774,R:10,qa:tC});S({id:95334214,R:10});var BC=S({id:95334215,R:10}); S({id:44749839,R:0});var CC=S({id:44714743,R:0});S({id:44715336,R:10});S({id:44724516,R:0});S({id:44726389,R:10});S({id:44752711,R:50});S({id:44752052,R:50});S({id:44752657,R:50});S({id:44733246,R:10});var DC=S({id:44750823,R:10,qa:rC}),EC=S({id:44750824,R:10,qa:rC}),FC=S({id:44794282,R:10,qa:rC}),GC=S({id:44797013,R:10,qa:rC}),HC=S({id:44797014,R:10,qa:rC});S({id:44750822,R:10,qa:rC});S({id:44751889,R:10});S({id:44751890,R:10});S({id:44752995,R:10});S({id:44752996,R:10});S({id:44762627,R:0}); S({id:44762628,R:0});S({id:44801479,R:10,qa:sC});S({id:44801480,R:10,qa:sC});S({id:44752538,R:0});S({id:44754608,R:10});S({id:44754609,R:10});var IC=S({id:75259414,R:0});S({id:44776384,R:0});S({id:95322945,R:10});S({id:95322946,R:10});S({id:44787954,R:0});S({id:44789282,R:0});S({id:44792636,R:0});S({id:44794298,R:0});S({id:44803996,R:0});S({id:44805453,R:0});S({id:44804917,R:0});S({id:95334260,R:0});S({id:75259416,R:0});S({id:75259420,R:0});S({id:75259421,R:0});S({id:44785452,R:10}); var JC=S({id:44785453,R:10});S({id:45401791,R:0});S({id:95326337,R:990,qa:uC});S({id:95336735,R:50,qa:yC});S({id:95336736,R:50,qa:yC});var KC=window.navigator||{},LC=KC.cookieDeprecationLabel?990:0;S({id:95322906,R:KC.cookieDeprecationLabel?10:0,qa:vC});S({id:95320461,R:0,qa:vC});var MC=S({id:95322907,R:LC,qa:vC});S({id:44807614,R:10});S({id:44807615,R:10});S({id:44809192,R:10,qa:xC});var NC=S({id:44809193,R:10,qa:xC});S({id:95320804,R:10,qa:xC});S({id:95320805,R:10,qa:xC});S({id:95322027,R:1E3,qa:wC}); S({id:46130031,R:0});S({id:95328713,R:10});var OC=S({id:95328714,R:10});S({id:95327848,R:0});S({id:95335486,R:100,qa:zC});S({id:95335487,R:100,qa:zC});S({id:31065644,R:1});S({id:31065645,R:1});var PC=new rB;S({id:95331588,R:0,qa:PC});S({id:95331589,R:1E3,qa:PC});S({id:95332182,R:0});var QC=typeof window.sharedStorage!=="undefined"?50:0;S({id:95338844,R:QC});var RC=S({id:95338845,R:QC});S({id:95338109,R:1});var SC=S({id:95338110,R:1}); if(typeof window.initializeVirtualDom==="undefined"){var nC=G(pC),TC;nC.j||(oC(),nC.j=!0);TC=nC.l;var UC;nC.j||(oC(),nC.j=!0);UC=nC.g;if(TC!=null){var VC=new bC(qC(TC),UC);wB(VC)}};var WC=function(a,b,c){this.j=a;this.l=b;this.g=c===void 0?null:c};WC.prototype.getName=function(){return this.j};var XC=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||XC();var YC=function(){this.adPosition=1;this.l=-1;this.j=this.g=0;this.totalAds=1};YC.prototype.getAdPosition=function(){return this.adPosition};YC.prototype.getPodIndex=function(){return this.g};YC.prototype.getTimeOffset=function(){return this.j};YC.prototype.getTotalAds=function(){return this.totalAds};var ZC=function(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""};function $C(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+ee("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 aD(a,b){return E(b)?!1:(new RegExp(a)).test(b)}function bD(a){if(!a)return!1;switch(a.toLowerCase()){case "true":case "1":return!0}return!1}function cD(a){var b=[""];if(!a)return null;a=a.toLowerCase().replace("-","_");if(b.includes(a))return a;a=ZC(a);return b.includes(a)?a:null};var dD={Fp:2,Hp:3,Ep:4,Gp:5,Ip:6,Jp:7,Kp:8,Lp:11,Mp:12};var eD={LOADED:"loaded",dj:"start",FIRST_QUARTILE:"firstQuartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdQuartile",COMPLETE:"complete",PAUSE:"pause",cj:"resume",Ri:"bufferStart",Qi:"bufferFinish",SKIPPED:"skipped",Op:"volumeChange",lp:"playerStateChange",Xn:"adUserInteraction"};function fD(a,b){return a&&(a[b]||(a[b]={}))}function gD(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(fD,c)[a[a.length-1]]=b};function hD(a){for(var b=q(iD.keys()),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=q(iD.get(c)),e=d.next();!e.done;e=d.next())if(e.value.test(a))return c}return 1} var iD=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\/.*$/]]]);gD("OmidSessionClient.verificationVendorIdForScriptUrl",hD); gD("OmidSessionClient.VerificationVendorId",{OTHER:1,MOAT:2,DOUBLEVERIFY:3,INTEGRAL_AD_SCIENCE:4,PIXELATE:5,NIELSEN:6,COMSCORE:7,MEETRICS:8,GOOGLE:9});var jD={Dp:"ultrahigh",Jo:"high",ep:"medium"},kD=new Set("disable_frequency_capping adgroups adsafe adsid adtest adk ad_type js alternate_ad_url is_amp mv an u_ah u_aw channel client u_cd ca_h ca_type ca_w cdm co tfcd correlator creatives ad_block debug_experiment_id disable_budget_throttling dlt dt eo_id_str 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 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 lD="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),mD=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]=lD[d==19?c&3|8:c]);return a.join("")};var nD=function(){var a=a===void 0?mD():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},oD=function(a,b){a=a.clone();a.adTagUrl=b;a.adsResponse=null;a.A=!0;return a}; nD.prototype.clone=function(){var a=new nD;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 qD=function(a){O.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;pD(this,c)};w(qD,O);qD.prototype.toString=function(){return rD(this,O.prototype.toString.call(this))};qD.prototype.D=function(){return""}; var pD=function(a,b){E(F(b))||b.split(";").forEach(function(c){var d=c.indexOf("=");if(!(d<=0)){var e=Yd(c.substring(0,d));c=Yd(c.substring(d+1));d=a.J.get(e);d!=null?d.includes(c)||d.push(c):d=[F(c)];a.J.set(e,d)}},a)},sD=function(a,b){if(E(F(b)))return null;a=a.J.get(b);return a!=null?a:null},tD=function(a,b,c){E(F(b))||(c=c.map(F),a.J.set(b,c))},rD=function(a,b){b=[F(b)];b.push.apply(b,v(uD(a)));return b.join(";")},uD=function(a){var b=sD(a,"ord");b==null?b=[F(Date.now())]:E(F("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]);tD(a,"ord",b);return c};qD.prototype.clone=function(){return new qD(this.toString())};function vD(){try{var a=window.top.location.href}catch(b){return 2}return a==null?2:a==window.document.location.href?0:1}function wD(a,b){b.forEach(function(c,d){a.g.set(d,c)})}function xD(a,b){b=q(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=q(c.value);c=d.next().value;d=d.next().value;E(d)&&a.g.remove(c)}}function yD(a){Sy(a,"https")} function zD(a){var b;(b=AD(a)||BD(a)||CD(a)||DD(a)||ED(a))||(a=new O(a),b=a.l,b=a.j==="pubads.g.doubleclick.net"&&(aD("/ssai/",b)||aD("/ondemand/",b)));return b}function BD(a){var b=new qD(a);a=b.j;b=rD(b,b.l);return!tc(a,".g.doubleclick.net")&&(tc(a,"doubleclick.net")||tc(a,"pagead2.googlesyndication.com"))&&aD("/(ad|pfad)[x|i|j]?/",b)}function DD(a){return(new O(a)).j=="bid.g.doubleclick.net"} function AD(a){a=new O(a);var b=a.l;return tc(a.j,"googleads.g.doubleclick.net")&&aD("/pagead/(live/)?ads",b)}function CD(a){a=new O(a);var b=a.l;return tc(a.j,"doubleclick.net")&&aD("/gampad/(live/)?ads",b)}function ED(a){a=new O(a);var b=a.l;return a.j==="ad.doubleclick.net"&&aD("/dv3/adv",b)}function FD(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 GD(a){var b=uB(),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 HD(a,b,c){c=c===void 0?"":c;a=a.g;var d=c;kz(a,b)&&(d=a.get(b));return E(d)?c:d};var LD=function(a,b){a=a===void 0?{}:a;b=b===void 0?new Map:b;ID(b,"ADCOUNT",function(){var e=a.Fb;return(e=e===void 0?null:e)?e.getAdPosition().toString():"-1"});ID(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()});ID(b,"ADPLAYHEAD",function(){var e=a.H;e=e===void 0?null:e;return e==null?"-1":$C(e.getCurrentTime(),!0)});ID(b,"ADSERVINGID",function(){var e=a.ad;return(e=(e=e===void 0?null:e)&&e.xd)?e:"-1"});ID(b,"ASSETURI", function(){var e=a.H;e=e===void 0?null:e;return e==null?"-1":e.Af});JD(b,"CLICKPOS","-1");ID(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.Ln;c=c.Mn;JD(b,"UNIVERSALADID",d&&c?d+" "+c:"-1");KD(a,b)},KD=function(a,b){a=a===void 0?{}:a;b=b===void 0?new Map:b;ID(b,"ADTYPE",function(){var d=a.ad;return(d=d===void 0?null:d)?d.Sc:"-1"});JD(b,"APPBUNDLE",a.appName||"-1");ID(b,"BREAKMAXADS",function(){var d=a.Fb;return(d=d===void 0?null:d)?d.getTotalAds().toString(): "-1"});JD(b,"BREAKMAXADLENGTH","-1");ID(b,"BREAKMAXDURATION",function(){var d=a.Fb;return(d=d===void 0?null:d)?d.l.toString():"-1"});JD(b,"BREAKMINADLENGTH","-1");JD(b,"BREAKMINDURATION","-1");ID(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});ID(b,"CACHEBUSTING",MD);JD(b,"CLICKTYPE",a.sj||"-1");var c=a;JD(b,"CLIENTUA",ND({Qe:c.Qe,Re:c.Re,lf:c.lf,mf:c.mf}));JD(b,"CONTENTID","-1");JD(b,"CONTENTURI","-1");JD(b,"DEVICEIP", "-1");JD(b,"DEVICEUA","-1");JD(b,"DOMAIN",a.domain||OD());JD(b,"GDPRCONSENT",a.Th?a.Th:"-1");JD(b,"IFA","-2");JD(b,"IFATYPE","-2");JD(b,"INVENTORYSTATE","-1");JD(b,"LATLONG","-1");ID(b,"LIMITADTRACKING",function(){return"-1"});ID(b,"MEDIAPLAYHEAD",function(){var d=a.Fb;return(d=d===void 0?null:d)?d.getTimeOffset().toString():"-1"});ID(b,"OMIDPARTNER",function(){var d=a.Ig,e=a.Rj;d=d===void 0?null:d;e=e===void 0?null:e;return d==null||e==null?"-1":d+"/"+e});JD(b,"PAGEURL",a.pageUrl||PD());JD(b,"PLACEMENTTYPE", a.Wj||"-1");JD(b,"PLAYERSIZE","-1");JD(b,"PLAYERSTATE","-1");JD(b,"REGULATIONS","-1");JD(b,"SERVERSIDE","0");JD(b,"SERVERUA","-1");ID(b,"TIMESTAMP",QD);ID(b,"TRANSACTIONID",function(){var d=a.ma;return(d=d===void 0?null:d)?d.transactionId.toString():"-1"});JD(b,"US_PRIVACY",a.yk||"-1");a.vd&&JD(b,"UACH",a.vd);return b},JD=function(a,b,c){a.set(b,new WC(b,{toString:function(){return c}}))},ID=function(a,b,c){a.set(b,new WC(b,{toString:function(){return c()}}))},RD=function(a,b){b=b===void 0?new Map: b;b.set("ERRORCODE",new WC("ERRORCODE",a))},ND=function(a){var b=a.Qe===void 0?null:a.Qe;var c=a.Re===void 0?null:a.Re;var d=a.lf===void 0?null:a.lf;a=a.mf===void 0?null:a.mf;if(!b&&!d)return"-1";var e="unknown";b&&(e=b+(c?"/"+c:""));b="";d&&(b=" "+d+(a?"/"+a:""));return e+b},MD=function(){return Math.round(Math.random()*1E8+1E8).toString().slice(1)},OD=function(){var a=vD()==2?null:lf().top.location.hostname;return a?a:"-1"},PD=function(){var a=vD()==2?null:lf().top.location.href;return a?a:"-1"}, QD=function(){return(new Date).toISOString()};var SD=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g,TD=function(a,b){return a.replace(SD,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!=""&&E(F(e))?null:encodeURIComponent(e).replace(/%2C/g,",")}else e=null;return e!=null?e:c})};var UD=function(a){this.N=a;this.sa=null},VD=function(a,b){return a.map(function(c){c=typeof c==="string"?new gB(c):c;return new gB(TD(c.url,b),c.g==null?null:TD(c.g,b))})},XD=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 gB(e):e});c=c?VD(b,c):b;WD(a.N,c,d)};var ZD=function(a,b,c){c=c===void 0?[]:c;UD.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.M.push(function(){return YD(d)})};w(ZD,UD);ZD.prototype.report=function(a,b){b=b===void 0?$D(this,a):b;aE(this,a,b||[])}; var aE=function(a,b,c){var d=c.map(function(f){return typeof f==="string"?new gB(f):f});if(qB(IC)){var e=[];a.C.forEach(function(f){f=bE(b,f);f!==void 0&&e.push(f)});e.length===0?cE(a,b,d):Promise.all(e).then(function(f){f=f[0];Array.isArray(f)&&f.every(function(g){return typeof g==="string"})?cE(a,b,f.map(function(g){return new gB(g)})):cE(a,b,d)})}else a.C.forEach(function(f){return bE(b,f)}),cE(a,b,d)},cE=function(a,b,c){dE(a,b)?eE(a,b,c):fE(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"&&ZB(U(),"evoace"),b=="progress"&&ZB(U(),"evoape"),b=="engagedView"&&ZB(U(),"evoaeve")),gE(a,b,c))},gE=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{ae:Yf(d.url,"ad_signals"),label:Yf(d.url,"label")}}).filter(function(d){return!!d.ae}).forEach(function(d){var e= d.ae;d=d.label||"";var f=f===void 0?B:f;if(e!=="")if(b==="impression"||b==="click"){var g=new Su;e=Ak(g,1,e);e=Ak(e,6,d);if(b==="click"){Ak(e,10,Date.now().toString());d=bl(e);var h;(h=f.fence)==null||h.setReportEventDataForAutomaticBeacons({eventType:"reserved.top_navigation",eventData:d,destination:["buyer"],once:!0});var k;(k=f.fence)==null||k.setReportEventDataForAutomaticBeacons({eventType:"reserved.top_navigation_start",eventData:d,destination:["buyer"],once:!0})}else b==="impression"&&Ck(e, 9,1);var m;(m=f.fence)==null||m.reportEvent({eventType:b,eventData:bl(e),destination:["buyer"]})}else sz({ae:e,label:d||b})}),c=c.filter(function(d){return!Yf(d.url,"ad_signals")}),c.length&&XD(a,c,a.l,a.J.includes(b)));hE(a,b)},hE=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),gE(a,c,b))},iE=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*1E5/c&&m>a.o?(g=m>g?m:g,e.push(mB(h))):k&&k<=b&&k>a.A&&(f=k>f?k:f,e.push(mB(h)))});a.A=f;a.o=g;e.length>0&&a.report("progress",e)}},jE=function(a,b){a.l.set(b.getName(),b)},kE=function(a,b){b.forEach(function(c){return jE(a,c)})},lE=function(a,b){a.C.push(b)},eE=function(a,b,c){var d=c;a.l!=null&&(d=VD(c,a.l));a.j.has(b)?d.forEach(function(e){return void a.j.get(b).push(e)}):a.j.set(b,d)},dE=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}},fE=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 "error":case "click":case "expand":case "collapse":return!0;default:return!a.g.has(b)}}, bE=function(a,b){try{var c=b(a);if(typeof c==="object"&&typeof c.then==="function")return c||Promise.resolve()}catch(d){}},$D=function(a,b){return(a.B.get(b)||[]).map(function(c){return mB(c)})},YD=function(a){T(U(),"rec",Array.from(a.g,function(b){var c=q(b);b=c.next().value;c=c.next().value;return b+"-"+c}).join("|"))};var mE={},nE=(mE.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(" "),mE),oE=new Map,pE=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;So.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 Df;this.B=(a=a.ga.get(eB))? a.j:"";this.C=a?a.g:"";this.D=a?a.l:[];lE(this.j,function(h){g.K(h)});a=yB();nc(a);oE.set(this.l,this)};w(pE,So);pE.prototype.reportEvent=function(a){this.j.report(a)};var rE=function(a,b){jE(a.j,new WC("VIEWABILITY",b.viewability));jE(a.j,new WC("GOOGLE_VIEWABILITY",b.googleViewability,function(c){return function(d){return qE(d,c)}}("GOOGLE_VIEWABILITY")))}; pE.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.Ld(),f.opt_adElement=void 0,f);a=="start"&&(c.opt_configurable_tracking_events=e);d&&(c.opt_bounds=bo(d));a=ct(a,b,c);rE(this,a)}; var sE=function(a){if(a.G&&a.o.gi()){ro().F=!0;G(Rs);var b=a.o;mc().B=b}b=G(Rs);var c=a.B;b.G=c;mc().Pg(c);G(Rs);a=a.C;b=mc();try{var d=ih(a);b.Qg(d)}catch(e){Tm(gn,"lidarv",{processDecodedFlagsFailure:1},!0,1E-6),b.Qg(a)}ic(b.ea,"fmd",Qm(b.flags,rs)?1:0)},qE=function(a,b){b=nE[b];return b==null?!0:b.some(function(c){return a.match(c)!=null})};pE.prototype.O=function(){oE.delete(this.l);this.g=this.j=null;this.o=new Df};Ha("ima.common.triggerExternalActivityEvent",function(a,b,c){(a=oE.get(a))&&a.reportEvent(c)}); Ha("ima.common.getVideoMetadata",function(a){return(a=oE.get(a))?{currentTime:a.g.getCurrentTime(),duration:a.g.getDuration(),cq:a.F,volume:a.g.muted?0:a.g.getVolume()}:{}});var tE=function(a){this.L=I(a)};w(tE,L);tE.prototype.getValue=function(){return K(this,1)};var uE=function(a,b){return Ak(a,1,b)},vE=function(a,b){return Hj(a,2,b==null?b:Si(b))},wE=function(a,b){return Ak(a,3,b)},xE=function(a,b){return Ak(a,4,b)};tE.prototype.getVersion=function(){return sk(this,5)};var yE=function(a){this.g=a};var zE=function(a){this.g=a===void 0?null:a};var AE=function(a,b){var c=b===void 0?{}:b;b=c.vendor===void 0?null:c.vendor;var d=c.Lc===void 0?null:c.Lc;var e=c.parameters===void 0?null:c.parameters;c=c.V===void 0?[]:c.V;this.g=a;this.vendor=b;this.parameters=e;this.Lc=d;this.V=c};var BE=function(a,b,c){this.id=a;this.title=b;this.g=c};var CE=function(a,b,c,d,e){this.id=a;this.Cc=d===void 0?!1:d;this.title=b;this.j=c;this.g=!(e===void 0?0:e)};var DE=function(a,b,c){this.j=a;this.l=b;this.g=(c===void 0?null:c)||""};DE.prototype.Cc=function(){return this.j.Cc};var EE=function(a){var b=a.Ea;var c=a.Oa;var d=a.height;var e=a.width;a=a.Aa===void 0?!1:a.Aa;this.Ea=b;this.Oa=c;this.height=d;this.width=e;this.Aa=a};EE.prototype.getHeight=function(){return this.height};EE.prototype.getWidth=function(){return this.width};var FE=function(){this.g=this.j=0;this.ib=this.creativeType=this.l=null};FE.prototype.clone=function(){var a=new FE;a.j=this.j;a.g=this.g;a.l=this.l;a.creativeType=this.creativeType;a.ib=this.ib;return a};var GE=function(){this.ib=this.fa=this.Ab=null;this.g=this.j=0;this.N=1;this.Cb="left";this.Db="top";this.Gb=this.Ga=-1;this.D=this.o=this.C=this.A=null;this.J=[];this.B=[];this.l=[]};GE.prototype.getApiFramework=function(){return this.fa}; var HE=function(a,b){return a.Cb=="left"?"0px":a.Cb=="right"?b-a.j+"px":a.Cb+"px"},IE=function(a,b){return a.Db=="bottom"?"0px":a.Db=="top"?b-a.g+"px":b-a.g-le(a.Db)+"px"},JE=function(a,b){var c=new Mn(0,0,b.width,b.height),d=Number.MIN_VALUE,e=null;a.l.forEach(function(f){var g=new Mn(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 RE(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 SE(){var a=document.featurePolicy;return a!==void 0&&typeof a.allowedFeatures=="function"&&typeof a.allowedFeatures()=="object"&&a.allowedFeatures().includes("attribution-reporting")} function TE(a){return(a==null?void 0:a.g)!=null&&SE()?(a=a.g)?"attributionsrc="+encodeURIComponent(a):a===""?"attributionsrc":"":""}function UE(a,b){(a==null?void 0:a.g)!=null&&SE()&&b.setAttribute("attributionsrc",F(a.g))};var VE=RegExp("(doubleclick\\.net|googleadservices\\.com|googlesyndication\\.com)"),WE=["ai","sigh"],XE=["xai","sig"];function YE(a){return a&&VE.test(a)?a.includes("/pagead/adview")||a.includes("/pagead/conversion")||a.includes("/gampad/live/conversion")||a.includes("/pagead/interaction")?WE.every(function(b){return Xf(a,b)}):a.includes("/pcs/view")?XE.every(function(b){return Xf(a,b)}):!1:!1}function ZE(a,b){var c=a.indexOf("&adurl=");return c!=-1?a.substr(0,c)+b+a.substr(c,a.length):a+b} function $E(a,b){a&&b!=null&&(b=SE()?"6":"5",a=$f(a,"nis"),a=ZE(a,"&nis="+b));return a};var aF=function(a){var b=a.Af;var c=a.lj;var d=a.Bk;var e=a.jj;var f=a.Ea;var g=a.Oa;var h=a.Ck;var k=a.kj;EE.call(this,{Ea:f,Oa:g,height:a.height,width:a.width,Aa:a.Aa===void 0?!1:a.Aa});this.j=b;this.C=c;this.o=d;this.l=e;this.g=h;this.A=k};w(aF,EE);var bF=function(a){var b=a.Xm;var c=a.mimeType;EE.call(this,{Ea:a.Ea,Oa:a.Oa,height:a.height,width:a.width,Aa:a.Aa===void 0?!1:a.Aa});this.j=b;this.g=c};w(bF,EE);bF.prototype.getMediaUrl=function(){return this.j};var cF=function(a,b,c){this.g=a;this.resourceType=b;this.creativeType=c===void 0?null:c};var dF=function(a){var b=a===void 0?{}:a;a=b.id===void 0?null:b.id;var c=b.yd===void 0?null:b.yd;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.kb===void 0?!1:b.kb;var h=b.Rf===void 0?null:b.Rf;var k=b.Sf===void 0?[]:b.Sf;var m=b.resources===void 0?[]:b.resources;b=b.V===void 0?[]:b.V;this.id=a;this.yd=c;this.fa=d;this.width=e;this.height=f;this.kb=g;this.Rf=h;this.Sf=k;this.resources=m;this.V=b};var eF=function(a,b){this.g=a;this.j=b===void 0?"none":b};var fF=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 gF=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 hF=function(a){var b=a===void 0?{}:a;a=b.Hb===void 0?null:b.Hb;var c=b.vc===void 0?[]:b.vc;b=b.Pf===void 0?[]:b.Pf;this.Hb=a;this.vc=c;this.Pf=b};var iF=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.Xh===void 0?null:b.Xh;var m=b.Ga===void 0?null:b.Ga;var n=b.Gb===void 0?null:b.Gb;var p=b.rf===void 0?null:b.rf;var r=b.ne===void 0?null:b.ne;var u=b.af===void 0?[]:b.af;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.Xh=k;this.Ga=m;this.rf=p;this.Gb=n;this.ne=r;this.af=u;this.resources=b};var jF=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.He===void 0?null:c.He;this.La=a;this.fa=d;this.mimeType=b;this.He=c},kF=function(a){return a.La.resourceType==="Url"?a.La.g:null},lF=function(a){return a.La.resourceType==="Html"?a.La.g:null};var mF=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 nF=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.Fa===void 0?null:c.Fa;var m=c.maxBitrate===void 0?null:c.maxBitrate;var n=c.Ka===void 0?null:c.Ka;mF.call(this,a,{yb:e,mimeType:f,codec:c.codec===void 0?null:c.codec,width:d,height:b});this.fa=g;this.Fa=k||m||h||0;this.maxBitrate=m||k||h|| 0;this.Ka=n};w(nF,mF);var oF=function(a){var b=a===void 0?{}:a;a=b.Hb===void 0?null:b.Hb;var c=b.vc===void 0?[]:b.vc;b=b.Se===void 0?[]:b.Se;this.Hb=a;this.vc=c;this.Se=b};var pF=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.V===void 0?[]:b.V;var e=b.Fc===void 0?[]:b.Fc;var f=b.bb===void 0?[]:b.bb;var g=b.vh===void 0?[]:b.vh;var h=b.wd===void 0?null:b.wd;var k=b.ia===void 0?null:b.ia;b=b.va===void 0?[]:b.va;this.duration=a;this.ia=k;this.Ob=c;this.V=d;this.Fc=e;this.bb=f;this.vh=g;this.wd=h;this.va=b};var qF=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.Gc===void 0?null:b.Gc;var g=b.resources===void 0?[]:b.resources;var h=b.Fg===void 0?null:b.Fg;var k=b.Gg===void 0?[]:b.Gg;b=b.ia===void 0?null:b.ia;this.id=a;this.fa=c;this.height=d;this.width=e;this.Gc=f;this.resources=g;this.Fg=h;this.Gg=k;this.ia=b};var rF=function(a,b){b=b===void 0?[]:b;this.g=a;this.V=b};var sF=function(a){var b=a===void 0?{}:a;a=b.cf===void 0?"unknown":b.cf;b=b.bf===void 0?"unknown":b.bf;this.cf=a||"unknown";this.bf=b||"unknown"};var tF=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.xe===void 0?null:b.xe;var g=b.de===void 0?null:b.de;b=b.fb===void 0?[]:b.fb;this.Da=a;this.id=c;this.adId=d;this.Ub=e;this.xe=f;this.de=g;this.fb=b};var uF=function(a,b){this.url=a;this.g=b===void 0?null:b};var vF=function(a){var b=a===void 0?{}:a;a=b.vendor===void 0?null:b.vendor;var c=b.De===void 0?null:b.De;var d=b.Lc===void 0?null:b.Lc;var e=b.parameters===void 0?null:b.parameters;b=b.V===void 0?[]:b.V;this.vendor=a;this.De=c;this.Lc=d;this.parameters=e;this.V=b};var wF=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.Ac===void 0?[]:b.Ac;var e=b.pa===void 0?[]:b.pa;var f=b.sb===void 0?[]:b.sb;b=b.ga===void 0?[]:b.ga;this.Na=a;this.g=c;this.j=d;this.pa=e;this.sb=f;this.ga=b};var xF=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.Sc===void 0?null:c.Sc;this.Ta=a;this.id=b;this.Da=d;this.Sc=c=="audio"?"audio":c=="hybrid"?"hybrid":"video"};var yF=function(a){this.g=a=a===void 0?[]:a},zF=function(a,b){var c=[];a.g.forEach(function(d){c=c.concat(d.Ta.ga.filter(function(e){return e instanceof b}))});return c};var AF=function(a){this.V=a=a===void 0?[]:a};var BF=function(a,b,c,d){b=b===void 0?[]:b;c=c===void 0?"":c;d=d===void 0?"":d;AF.call(this,a);this.g=b;this.l=c;this.j=d};w(BF,AF);var CF=function(){};CF.prototype.g=function(a,b){var c=[],d="",e="";zF(a,BF).forEach(function(f){c.push.apply(c,v(f.g));d=d||f.l;e=e||f.j});(c.length>0||d||e)&&b.ga.set(eB,new eB(c,d,e))};var DF=function(){var a={};var b=a.ra===void 0?"":a.ra;var c=a.vb===void 0?"http://www.google.com/adsense/support":a.vb;var d=a.Bd===void 0?!1:a.Bd;a=a.tc===void 0?0:a.tc;this.ra=b;this.vb=c;this.Bd=d;this.tc=a};var EF=function(a,b){var c=b===void 0?{}:b;b=c.ra===void 0?null:c.ra;var d=c.vb===void 0?null:c.vb;var e=c.ee===void 0?null:c.ee;var f=c.ei===void 0?!1:c.ei;var g=c.ve===void 0?[]:c.ve;var h=c.Fe===void 0?!1:c.Fe;var k=c.uiConfig===void 0?null:c.uiConfig;var m=c.Pc===void 0?null:c.Pc;c=c.Yb===void 0?null:c.Yb;AF.call(this,a);this.ra=b;this.vb=d;this.ee=e;this.ei=f;this.ve=g;this.Fe=h;this.uiConfig=k;this.Pc=m;this.Yb=c};w(EF,AF);var FF=function(a){this.g=a};var GF="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(" "),HF=["c.googlesyndication.com"]; function IF(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:JF(a,HF)?c=!1:b.includes("https")&&JF(a,GF)&&(c=!0);return c?(a=new O(a),T(U(),"htp","1"),Sy(a,"https"),a.toString()):a}function JF(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)} function KF(a){var b=LF;try{var c=(new O(a)).j;c=c.replace(/^www./i,"");return b.some(function(d){return MF(d,c)})}catch(d){return!1}}function MF(a,b){if(E(F(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 NF(a){a=new O(a);var b=a.j;return a.o!="http"&&a.o!="https"?!1:b.indexOf(".")==-1||b.match(/^[\.0-9]*$/)?!1:OF(a.toString())} function OF(a){try{Yd(a)}catch(b){return!1}return!0};var PF=/OS (\S+) like/,QF=/Android ([\d\.]+)/;function RF(a,b){a=(a=a.exec(Ic()))?a[1]:"";a=a.replace(/_/g,".");return Hc(a,b)>=0}var SF=function(){var a=B.navigator||null;return ZC(a.language||a.userLanguage||a.browserLanguage||a.systemLanguage||"")},TF=function(){return Qf()||Pf()},UF=function(){return ye||ue&&"ontouchstart"in document.documentElement},VF=function(a,b){var c=window.screen.availHeight||window.screen.height;return(window.screen.availWidth||window.screen.width)-a<=0&&c-b<=42};var WF=id(dd(new cd(ad,"about:blank")));id(dd(new cd(ad,"javascript:undefined")));function XF(a,b){a=B[a];return a&&a.prototype?(b=Object.getOwnPropertyDescriptor(a.prototype,b))&&b.get||null:null}XF("Element","attributes")||XF("Node","attributes");XF("Element","innerHTML")||XF("HTMLElement","innerHTML");XF("Node","nodeName");XF("Node","nodeType");XF("Node","parentNode");XF("Node","childNodes");XF("HTMLElement","style")||XF("Element","style");XF("HTMLStyleElement","sheet");XF("Element","namespaceURI")||XF("Node","namespaceURI");var YF={TYPE_EXTERNAL:0,TYPE_SITELINK:1,TYPE_WEBSITE_DEEP_LINK:2};var ZF=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.Mg===void 0?null:b.Mg;b=b.bg===void 0?null:b.bg;this.type=a;this.target=c;this.title=d;this.Mg=e;this.bg=b};var $F={TYPE_ADX_ENDCAP:0,TYPE_WEBSITE:1};var aG=function(a){var b=a===void 0?{}:a;a=b.Xg===void 0?!1:b.Xg;var c=b.Yg===void 0?!1:b.Yg;b=b.Ve===void 0?5E3:b.Ve;this.Xg=a;this.Yg=c;this.Ve=b};var bG=function(a){var b=a===void 0?{}:a;a=b.ii===void 0?null:b.ii;var c=b.Gh===void 0?null:b.Gh;b=b.Hh===void 0?null:b.Hh;this.ii=a;this.Gh=c;this.Hh=b};var cG=function(a){a=a===void 0?{}:a;this.Ji=a.Ji===void 0?[]:a.Ji};var dG=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.Ia===void 0?null:b.Ia;b=b.Oh===void 0?null:b.Oh;this.description=a;this.Sb=c;this.Ia=d;this.Oh=b};var eG=function(a){var b=a===void 0?{}:a;a=b.type;var c=b.priority===void 0?-1:b.priority;var d=b.V===void 0?[]:b.V;var e=b.actions===void 0?[]:b.actions;var f=b.qd===void 0?null:b.qd;b=b.Qc===void 0?null:b.Qc;this.type=a;this.priority=c;this.V=d;this.actions=e;this.qd=f;this.Qc=b};var fG=function(a){a=a===void 0?{}:a;this.Cd=a.Cd===void 0?[]:a.Cd};var gG=function(a,b,c,d){this.value=a;this.g=b;this.path=c;this.domain=d};var hG=function(a){this.g=a};var iG=function(a){this.g=a};var jG=function(){};jG.prototype.g=function(a,b){a=q(a.g);for(var c=a.next();!c.done;c=a.next()){c=q(c.value.Ta.ga);for(var d=c.next();!d.done;d=c.next())d=d.value,d instanceof iG&&b.ga.set(yE,new yE(d.g))}};var kG=function(a,b,c,d,e){this.value=a;this.g=b;this.path=c;this.domain=d;this.j=e};var lG=function(a,b,c){var d=c===void 0?{}:c;c=d.yb===void 0?null:d.yb;var e=d.Ka===void 0?null:d.Ka;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.Oi===void 0?null:d.Oi;var m=d.ph===void 0?null:d.ph;var n=d.Aa===void 0?null:d.Aa;var p=d.width===void 0?null:d.width;var r=d.height===void 0?null:d.height;d=d.Vc===void 0?null:d.Vc;this.type=b;this.Ka=e;this.Oa=h;this.Oi=k;this.ph=m;this.Aa=n;this.url=a;this.yb=c;this.mimeType=f;this.Ea=g; this.width=p;this.height=r;this.Vc=d};var mG=function(a,b,c,d,e){this.o=a;this.g=b;this.A=c;this.j=d;this.l=e};var nG={},oG=(nG[18]=496,nG[22]=2128,nG[43]=488,nG[44]=848,nG[45]=2128,nG[59]=848,nG[133]=242,nG[134]=400,nG[135]=1E3,nG[136]=2E3,nG[139]=48,nG[140]=128,nG[141]=256,nG[160]=108,nG[242]=150,nG[243]=276,nG[244]=512,nG[245]=1E3,nG[247]=1E3,nG[249]=48,nG[250]=64,nG[251]=128,nG[278]=95,nG[342]=464,nG[343]=1064,nG[344]=2128,nG[345]=496,nG[346]=816,nG[347]=2096,nG),pG={Uk:"application/dash+xml",Ho:"video/gma-demuxed",HLS:"application/vnd.apple.mpegurl",pl:"application/x-mpegURL",MP3:"audio/mpeg",sl:"video/mp4", tl:"audio/mp4",ul:"video/mpeg",yl:"video/ogg",zl:"audio/ogg",Bl:"video/3gpp",El:"video/webm"};var qG=function(){};qG.prototype.g=null;var rG=function(a){var b;(b=a.g)||(b=a.g={});return b};var sG,tG=function(){};Ua(tG,qG);sG=new tG;var uG=function(a){N.call(this);this.headers=new Map;this.da=a||null;this.j=!1;this.D=this.g=null;this.K="";this.o=0;this.l=this.G=this.A=this.F=!1;this.M=0;this.B=null;this.W="";this.P=!1};Ua(uG,N); var vG=/^https?$/i,wG=["POST","PUT"],zG=function(a,b,c,d){if(a.g)throw Error("[goog.net.XhrIo] Object is active with another request="+a.K+"; newUri="+b);c=c?c.toUpperCase():"GET";a.K=b;a.o=0;a.F=!1;a.j=!0;a.g=new XMLHttpRequest;a.D=a.da?rG(a.da):rG(sG);a.g.onreadystatechange=Ra(a.T,a);try{a.G=!0,a.g.open(c,String(b),!0),a.G=!1}catch(g){xG(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(wG,c)||e||f||d.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");c=q(d);for(d=c.next();!d.done;d=c.next())e=q(d.value),d=e.next().value,e=e.next().value,a.g.setRequestHeader(d,e);a.W&&(a.g.responseType=a.W);"withCredentials"in a.g&&a.g.withCredentials!==a.P&&(a.g.withCredentials=a.P);try{yG(a),a.M>0&&(a.B=pu(a.Z,a.M,a)),a.A=!0,a.g.send(b),a.A=!1}catch(g){xG(a)}};uG.prototype.Z=function(){typeof Ga!="undefined"&&this.g&&(this.o=8,this.dispatchEvent("timeout"),this.abort(8))}; var xG=function(a){a.j=!1;a.g&&(a.l=!0,a.g.abort(),a.l=!1);a.o=5;AG(a);BG(a)},AG=function(a){a.F||(a.F=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};uG.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"),BG(this))};uG.prototype.O=function(){this.g&&(this.j&&(this.j=!1,this.l=!0,this.g.abort(),this.l=!1),BG(this,!0));uG.Xb.O.call(this)}; uG.prototype.T=function(){this.Ja()||(this.G||this.A||this.l?CG(this):this.ba())};uG.prototype.ba=function(){CG(this)}; var CG=function(a){if(a.j&&typeof Ga!="undefined"&&(!a.D[1]||DG(a)!=4||EG(a)!=2))if(a.A&&DG(a)==4)pu(a.T,0,a);else if(a.dispatchEvent("readystatechange"),DG(a)==4){a.j=!1;try{var b=EG(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.K).match(Rf)[1]||null;!f&&B.self&&B.self.location&&(f=B.self.location.protocol.slice(0,-1));e=!vG.test(f?f.toLowerCase():"")}d=e}d?(a.dispatchEvent("complete"), a.dispatchEvent("success")):(a.o=6,AG(a))}finally{BG(a)}}},BG=function(a,b){if(a.g){yG(a);var c=a.g,d=a.D[0]?function(){}:null;a.g=null;a.D=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=d}catch(e){}}},yG=function(a){a.B&&(qu(a.B),a.B=null)};uG.prototype.isActive=function(){return!!this.g}; var DG=function(a){return a.g?a.g.readyState:0},EG=function(a){try{return DG(a)>2?a.g.status:-1}catch(b){return-1}},FG=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=dC(a)}return b}};var GG=RegExp("/itag/(\\d+)/"),HG=RegExp("/cpn/([\\w-]{16})(/|$)"),IG=RegExp("^[\\w-]{16}$");function JG(a){var b=Yf(a,"cpn");return b&&b.match(IG)?b:(a=a.match(HG))&&a.length===3?a[1]:null};var KG=function(a){this.j=a===void 0?null:a}; KG.prototype.g=function(a,b){if(b instanceof OE&&this.j&&!(b.g.length>0)){a=q(a.g);for(var c=a.next();!c.done;c=a.next()){c=q(c.value.Ta.ga);for(var d=c.next();!d.done;d=c.next()){var e=d.value;if(e instanceof mG){d=LG(this.j,e);var f=void 0;if(d.length>0)for(var g=q(d),h=g.next();!h.done;h=g.next()){h=h.value;var k=void 0;h instanceof bF&&(k=h.getMediaUrl());h instanceof aF&&(k=h.j);if(k&&(h=JG(k))){f=h;break}}e=f?f:e.o;T(U(),"cpn",e);b.C=e;d=q(d);for(e=d.next();!e.done;e=d.next())b.g.push(e.value)}}}}};var MG=function(a){this.g=a};var NG=function(a){var b=a===void 0?{}:a;a=b.xd===void 0?null:b.xd;var c=b.Na===void 0?null:b.Na;var d=b.zd===void 0?null:b.zd;var e=b.Hf===void 0?null:b.Hf;var f=b.description===void 0?null:b.description;var g=b.yf===void 0?null:b.yf;wF.call(this,{Na:c,errors:b.errors===void 0?[]:b.errors,Ac:b.Ac===void 0?[]:b.Ac,pa:b.pa===void 0?[]:b.pa,sb:b.sb===void 0?[]:b.sb,ga:b.ga===void 0?[]:b.ga});this.xd=a;this.zd=d;this.Hf=e;this.description=f;this.yf=g};w(NG,wF);var OG=function(a,b){this.gb=a===void 0?null:a;this.g=b===void 0?null:b};var PG=function(){};PG.prototype.g=function(a,b){a=q(a.g);for(var c=a.next();!c.done;c=a.next()){a:{var d=b;c=q(c.value.Ta.ga);for(var e=c.next();!e.done;e=c.next())if(e=e.value,e instanceof OG){d.ga.set(zE,new zE(e.gb,e.g));d=!0;break a}d=!1}if(d)break}};var QG=function(a){this.sb=a=a===void 0?[]:a};var RG=function(a){this.dealId=a};var SG=function(a,b,c,d){this.l=a;this.j=d===void 0?null:d;this.o=b;this.g=c};var TG=function(a){this.g=a===void 0?!1:a};var UG=function(a){var b=a===void 0?{}:a;a=b.Oc===void 0?null:b.Oc;var c=b.Cc===void 0?!1:b.Cc;var d=b.Je===void 0?null:b.Je;var e=b.zf===void 0?null:b.zf;var f=b.Od===void 0?!1:b.Od;var g=b.Tc===void 0?null:b.Tc;var h=b.ce===void 0?null:b.ce;var k=b.be===void 0?null:b.be;var m=b.Of===void 0?null:b.Of;var n=b.format===void 0?null:b.format;var p=b.Lg===void 0?null:b.Lg;b=b.gh===void 0?null:b.gh;this.Oc=a;this.Cc=c;this.Je=d;this.zf=e;this.Od=f;this.Tc=g;this.ce=h;this.be=k;this.Of=m;this.format=n; this.Lg=p;this.gh=b;T(U(),"ytext_viu",this.Od?"1":"0");T(U(),"ytext_hd",this.Je&&this.be&&this.ce?"1":"0");this.Od&&T(U(),"ytext_vi",this.Oc?this.Oc:"Undefined")};var VG=function(){};VG.prototype.g=function(a,b){a=q(a.g);for(var c=a.next();!c.done;c=a.next()){c=q(c.value.Ta.ga);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof UG){b.ga.set(DE,new DE(new CE(d.Oc,d.Je,d.zf,d.Cc,d.Od),new BE(d.Tc,d.ce,d.be),d.format,d.gh,d.Lg));return}}};var WG=function(){};WG.prototype.l=function(){return!0};WG.prototype.j=function(a){var b=new nB;this.g(a,b);return b};WG.prototype.g=function(a,b){a.g.forEach(function(e){XG(e,b);e.Ta.Na&&b.j.push(e.Ta.Na)});if(a.g.length>0){var c=a.g[0];c.id&&(b.id=c.id);c.Sc&&(b.Sc=c.Sc);c.Da&&(b.l=c.Da);if(qB(SC)){a=q([].concat(v(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.Ta;c instanceof NG&&(b.zd=c.zd,b.xd=c.xd,YG(c,b))}}; var XG=function(a,b){var c=a.Ta.j;a.Ta.g.forEach(function(d){oB(b,new iB("error",d))});c.forEach(function(d){oB(b,kB("impression",d.url,d.g))})},YG=function(a,b){a=q(a.pa);for(var c=a.next();!c.done;c=a.next())if((c=c.value.Ub)&&c.bb&&c.bb.length>0){a=q(c.bb);for(c=a.next();!c.done;c=a.next())c=c.value,b.bb.push(new fB(kF(c),lF(c),c.mimeType,c.fa,c.He));break}};var ZG=function(a,b){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);this.Ib=b===void 0?900:b};w(ZG,Error);var $G=function(a){this.j=a;this.g=Date.now()};$G.prototype.reset=function(){this.g=Date.now()};var aH=function(a){a=a.g+a.j-Date.now();return a>0?a:0};var bH="://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(" "),cH=/\bocr\b/;function dH(a){if(E(F(a))||qe&&a.length>2048)return!1;try{if((new O(a)).D().match(cH))return!0}catch(b){}return bH.find(function(b){return a.match(b)!=null})!=null};var eH=function(a){var b=Error.call(this,a);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.errorCode=a};w(eH,Error);var fH=function(a){if(typeof DOMParser!="undefined"){var b=new DOMParser;a=KB(a);return b.parseFromString(Jd(a),"application/xml")}throw Error("Your browser does not support loading xml documents");};var gH=function(a){So.call(this);this.j=a;this.g={}};Ua(gH,So);var hH=[];gH.prototype.listen=function(a,b,c,d){return iH(this,a,b,c,d)};var iH=function(a,b,c,d,e,f){Array.isArray(c)||(c&&(hH[0]=c.toString()),c=hH);for(var g=0;g0?a[a.length-1]:null} function V(a){if(a.childNodes.length==0)return null;var b="";a=q(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 KH(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 LH(a,b){return a.hasAttribute("type")&&a.getAttribute("type").toLowerCase()==b.toLowerCase()}function MH(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*36E5+c*6E4+e*1E3,a+=b}} function NH(a){var b=[];a=q(uf(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d.nodeName=="Verification"){c={vendor:d.getAttribute("vendor"),V:[]};d=q(uf(d));for(var e=d.next();!e.done;e=d.next())switch(e=e.value,e.nodeName){case "JavaScriptResource":c.De=V(e);c.Lc=e.getAttribute("apiFramework");break;case "VerificationParameters":c.parameters=V(e);break;case "TrackingEvents":c.V=OH(e)}c.De!=null&&b.push(new vF(c))}}return b} function PH(a){var b=[];a=q(uf(a));for(var c=a.next();!c.done;c=a.next())c=c.value,c.nodeName=="CustomTracking"&&b.push.apply(b,v(OH(c)));return b}function QH(a,b){var c=a.getAttribute("id");a=KH(a);b=new PE(b,c,a);b.url=$E(b.url,b.g);return b} function OH(a){var b=[];a=q(uf(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&&!E(e)){var f=d.getAttribute("offset"),g=null,h=null;f&&f.endsWith("%")?h=parseInt(f,10):f&&f.includes(":")&&(g=MH(f));d=KH(d);e=$E(e,d);b.push(new hB(c,e,{Ga:g,Qd:h},d))}}}return b}function RH(a){return a==null||a==="about:blank"?null:a} function SH(a){var b={};b.Ab=a.getAttribute("program");b.fa=a.getAttribute("apiFramework");b.ib=a.getAttribute("altText");b.Xh=a.getAttribute("hoverText");b.width=GH(a,"width");b.height=GH(a,"height");b.Cb=a.getAttribute("xPosition");b.Db=a.getAttribute("yPosition");b.Gb=MH(a.getAttribute("duration"));b.rf=MH(a.getAttribute("pxratio"));b.Ga=TH(a.getAttribute("offset"),b.Gb);b.resources=UH(a);b.af=[];a=q(uf(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;switch(d.nodeName){case "IconViewTracking":b.af.push(V(d)); break;case "IconClicks":c=null;var e=[],f=[];d=q(uf(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=QH(g,h));break;case "IconClickTracking":h!=null&&e.push(new PE(h,k));break;case "IconClickFallbackImages":f=VH(g)}}b.ne=new hF({Hb:c,vc:e,Pf:f})}}return new iF(b)}function TH(a,b){if(a!=null)return a.endsWith("%")&&b!=null?parseInt(a,10)*b/100:MH(a)} function UH(a){var b=[];a=q(uf(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 cF(d,"Static",c.getAttribute("creativeType")));break;case "HTMLResource":b.push(new cF(d,"Html"));break;case "IFrameResource":b.push(new cF(d,"IFrame"))}}return b} function VH(a){var b=[];a=q(uf(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=UH(d).filter(function(g){return g.resourceType=="Static"});if(c.length>0){var e=GH(d,"width"),f=GH(d,"height");d=WH(d);b.push(new gF(c[0],e,f,d))}}return b}function WH(a){a=q(uf(a));for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.nodeName=="AltText")return V(b);return null};var XH=function(){this.g=[]},YH=function(a,b){a.g.includes(b)||a.g.push(b)},ZH=function(a,b){var c=[];b=q(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.nodeName=="Extension")for(var e=q(a.g),f=e.next();!f.done;f=e.next())if(f=f.value.g(d),f!=null){c.push(f);break}return c},aI=function(a){var b={fb:[]};b.Da=GH(a,"sequence");b.id=a.getAttribute("id");b.adId=a.getAttribute("adId");for(var c=q(uf(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=[],n=[],p=[],r=[],u=q(uf(e)),t=u.next();!t.done;t=u.next()){var x=t.value;switch(x.nodeName){case "TrackingEvents":k=OH(x);break;case "VideoClicks":for(var A=null,H=[],C=[],P=q(uf(x)),fa=P.next();!fa.done;fa=P.next()){var da=fa.value,Tb=V(da);if(Tb!=null){var mm=da.getAttribute("id");switch(da.nodeName){case "ClickThrough":A=QH(da,Tb);break;case "ClickTracking":var zq=KH(da);H.push(new PE(Tb,mm,zq));break;case "CustomClick":C.push(new PE(Tb,mm))}}}h=new oF({Hb:A,vc:H,Se:C}); break;case "MediaFiles":for(var mf=[],qj=[],jg=[],nm=q(uf(x)),xh=nm.next();!xh.done;xh=nm.next()){var Mb=xh.value;switch(Mb.nodeName){case "MediaFile":var kg=void 0,Db=V(Mb);if(Db==null)var yh=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 ed={};ed.height=GH(Mb,"height");ed.width=GH(Mb,"width");ed.yb=Mb.getAttribute("delivery");ed.bitrate=GH(Mb,"bitrate");ed.Fa=GH(Mb,"minBitrate");ed.maxBitrate=GH(Mb, "maxBitrate");ed.mimeType=(kg=Mb.getAttribute("type"))==null?void 0:kg.toLowerCase();ed.fa=Mb.getAttribute("apiFramework");ed.codec=Mb.getAttribute("codec");var Aq=Db,om=Number(Yf(Aq,"itag"));if(om)var lg=om;else{var rj=Aq.match(GG);lg=rj&&rj.length===2?Number(rj[1]):null}lg!=null&&(ed.Ka=lg);yh=new nF(Db,ed)}var Bq=yh;Bq!==null&&mf.push(Bq);break;case "ClosedCaptionFiles":for(var sj=[],tj=q(uf(Mb)),ux=tj.next();!ux.done;ux=tj.next()){var vx=ux.value,EJ=V(vx);if(EJ!==null){var wx={url:EJ},FJ=void 0; wx.mimeType=(FJ=vx.getAttribute("type"))==null?void 0:FJ.toLowerCase();wx.language=vx.getAttribute("language");sj.push(new fF(wx))}}jg=sj;break;case "InteractiveCreativeFile":var GJ=void 0,HJ=JH(Mb,"HTMLResource");if(HJ){var xx="Html";var Cq=V(HJ)}else xx="Url",Cq=V(Mb);if(!Cq||E(Cq))var IJ=null;else{var X0=new cF(Cq,xx),Dq={};Dq.mimeType=(GJ=Mb.getAttribute("type"))==null?void 0:GJ.toLowerCase();Dq.fa=Mb.getAttribute("apiFramework");Dq.He=HH(Mb.getAttribute("variableDuration"));var Y0=new jF(X0, Dq);xx==="Html"?$B("lima_p_ich"):$B("lima_p_icu");IJ=Y0}var JJ=IJ;JJ!==null&&qj.push(JJ)}}T(U(),"vmfc",""+mf.length);var Z0=jg.length===0?"0":"1";T(U(),"vhc",Z0);var $0=mf;var a1=jg;var b1=qj;m=$0;p=a1;n=b1;break;case "Duration":g=MH(V(x));break;case "AdParameters":f=F(V(x));break;case "Icons":for(var KJ=[],LJ=q(uf(x)),yx=LJ.next();!yx.done;yx=LJ.next()){var MJ=yx.value;MJ.nodeName=="Icon"&&KJ.push(SH(MJ))}var zx=r=KJ;T(U(),"icc",zx.length.toString());if(zx.length>0){for(var NJ=0,OJ=0,PJ=0,QJ=0,uj= null,RJ="ns",SJ="ns",TJ=q(zx),Ax=TJ.next();!Ax.done;Ax=TJ.next()){for(var vj=Ax.value,UJ=q(vj.resources),Bx=UJ.next();!Bx.done;Bx=UJ.next())switch(Bx.value.resourceType){case "Html":NJ++;break;case "IFrame":OJ++;break;case "Static":PJ++;break;default:QJ++}uj=vj.Ab;SJ=vj.width?vj.width.toString():"ns";RJ=vj.height?vj.height.toString():"ns"}T(U(),"icrh",NJ.toString());T(U(),"icri",OJ.toString());T(U(),"icrs",PJ.toString());T(U(),"icru",QJ.toString());uj&&(uj.length>16&&(uj=uj.substring(0,15)+"*"),T(U(), "icp",uj));T(U(),"icdi",RJ+"x"+SJ)}}}var c1=TH(e.getAttribute("skipoffset"),g);b.Ub=new pF({duration:g,Ob:c1,V:k,Fc:m,bb:n,vh:p,wd:h,ia:f,va:r});break;case "NonLinearAds":for(var VJ=[],WJ=[],XJ=q(uf(e)),Cx=XJ.next();!Cx.done;Cx=XJ.next()){var Dx=Cx.value;switch(Dx.nodeName){case "NonLinear":for(var YJ=VJ,d1=YJ.push,zh=Dx,e1=UH(zh),f1=zh.getAttribute("id"),g1=GH(zh,"width"),h1=GH(zh,"height"),i1=zh.getAttribute("apiFramework"),j1=MH(zh.getAttribute("minSuggestedDuration")),ZJ=null,$J=null,aK=[],bK= q(uf(zh)),Ex=bK.next();!Ex.done;Ex=bK.next()){var pm=Ex.value,Eq=V(pm);if(Eq!=null)switch(pm.nodeName){case "NonLinearClickThrough":$J=QH(pm,Eq);break;case "NonLinearClickTracking":var k1=KH(pm);aK.push(new PE(Eq,pm.getAttribute("id"),k1));break;case "AdParameters":ZJ=F(Eq)}}d1.call(YJ,new qF({id:f1,fa:i1,width:g1,height:h1,Gc:j1,Fg:$J,Gg:aK,resources:e1,ia:ZJ}));break;case "TrackingEvents":WJ=OH(Dx)}}b.xe=new rF(VJ,WJ);var Fx=b.xe.g;T(U(),"nlc",Fx.length.toString());if(Fx.length>0){for(var cK=0, dK=0,eK=0,fK=0,Gx=!1,gK=q(Fx),Hx=gK.next();!Hx.done;Hx=gK.next())for(var hK=q(Hx.value.resources),Ix=hK.next();!Ix.done;Ix=hK.next()){var iK=Ix.value;switch(iK.resourceType){case "Html":cK++;Gx=Gx||Ec(iK.g,"<");break;case "IFrame":dK++;break;case "Static":eK++;break;default:fK++}}T(U(),"nlrh",cK.toString());T(U(),"nlri",dK.toString());T(U(),"nlrs",eK.toString());T(U(),"nlru",fK.toString());T(U(),"nlrhc",Gx.toString())}break;case "CompanionAds":b.de=$H(e);var Jx=b.de.g;T(U(),"ccc",Jx.length.toString()); if(Jx.length>0){for(var kK=0,lK=0,mK=0,nK=0,Kx=!1,oK=q(Jx),Lx=oK.next();!Lx.done;Lx=oK.next())for(var pK=q(Lx.value.resources),Mx=pK.next();!Mx.done;Mx=pK.next()){var qK=Mx.value;switch(qK.resourceType){case "Html":kK++;Kx=Kx||Ec(qK.g,"<");break;case "IFrame":lK++;break;case "Static":mK++;break;default:nK++}}T(U(),"ccrh",kK.toString());T(U(),"ccri",lK.toString());T(U(),"ccrs",mK.toString());T(U(),"ccru",nK.toString());T(U(),"ccrhc",Kx.toString())}break;case "UniversalAdId":var rK=b.fb,l1=rK.push, Nx=V(e);Nx||(Nx=e.getAttribute("idValue"));var m1=e.getAttribute("idRegistry");l1.call(rK,new sF({bf:m1,cf:Nx}))}}return new tF(b)},$H=function(a){var b=[],c=a.getAttribute("required");c!="any"&&c!="all"&&(c="none");a=q(uf(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=UH(e),h=e.getAttribute("id"),k=e.getAttribute("adSlotID"),m=e.getAttribute("apiFramework"),n=e.getAttribute("width")==="fluid"&&e.getAttribute("height")==="fluid",p=GH(e,"width"), r=GH(e,"height"),u=[],t=null,x=[],A;e=q(uf(e));for(A=e.next();!A.done;A=e.next()){var H=A.value;switch(H.nodeName){case "TrackingEvents":u=OH(H);break;case "CompanionClickThrough":A=V(H);A==null||E(A)||(t=QH(H,A));break;case "CompanionClickTracking":if(A=V(H),A!=null&&!E(A)){var C=KH(H);x.push(new PE(A,H.getAttribute("id"),C))}}}f.call(d,new dF({id:h,yd:k,fa:m,width:p,height:r,kb:n,Rf:t,Sf:x,resources:g,V:u}))}}return new eF(b,c)};var cI=function(){var a={gj:[new bI,new WG]};var b=a.gj===void 0?[]:a.gj;a=a.Il===void 0?[]:a.Il;this.j=b;this.g=a},dI=function(a,b){a:{var c=q(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=q(a.g);for(d=a.next();!d.done;d=a.next())d.value.g(b,c);return c}throw new ZG("Ad Provider was not found for ad.",1014);},eI=function(a,b){a.g.unshift(b)};var fI=function(a,b){this.j=a;this.g=b===void 0?null:b};var gI=function(a,b){AF.call(this,a);this.g=b};w(gI,AF);var bI=function(){};w(bI,WG);bI.prototype.l=function(a){a=(a.g.length<1?null:a.g[0]).Ta;return a instanceof NG?a.pa.find(function(b){return b.Ub!=null})!=null:!1};bI.prototype.j=function(a){var b=new OE;this.g(a,b);return b}; bI.prototype.g=function(a,b){WG.prototype.g.call(this,a,b);for(var c=q(a.g),d=c.next();!d.done;d=c.next())d=d.value,hI(d,b),d=d.Ta,d instanceof NG&&(b.description=d.description);a:if(c=a.g.length<1?null:a.g[0])if(d=zF(a,fI),d.length>0)for(a=q(d),c=a.next();!c.done;c=a.next())c=c.value,c.j&&(b.Ob=c.g?c.g:5E3);else{c=q(c.Ta.pa);for(d=c.next();!d.done;d=c.next())if((d=d.value.Ub)&&d.Ob!=null){b.Ob=d.Ob;break a}c=zF(a,AF);c=q(c);for(d=c.next();!d.done;d=c.next()){d=q(d.value.V);for(var e=d.next();!e.done;e= d.next())if(e.value.eventType=="skip"){b.Ob=5E3;break a}}a=zF(a,gI);a=q(a);for(c=a.next();!c.done;c=a.next())if(c.value.g=="Generic"){b.Ob=5E3;break}}}; var hI=function(a,b){for(var c=q(a.Ta.pa),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 NE(k.cf,k.bf)});for(var f=q(e.V),g=f.next();!g.done;g=f.next())oB(b,jB(g.value));if(f=e.wd){g=q(f.vc);for(var h=g.next();!h.done;h=g.next())h=h.value,oB(b,kB("click",h.url,h.g,h.id));g=q(f.Se);for(h=g.next();!h.done;h=g.next())h=h.value,h.id&&oB(b,new iB(h.id,h.url))}a.Ta instanceof NG&&(b.Gb=d.Ub.duration,e.ia&&(b.ia=e.ia),f&&f.Hb&& (b.N=f.Hb.url,b.A=TE(f.Hb),b.B=f.Hb.g))}}};var iI=function(a){So.call(this);this.C=1;this.l=[];this.o=0;this.g=[];this.j={};this.D=!!a};Ua(iI,So);var jI=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};iI.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}; iI.prototype.B=function(a,b){var c=this.j[a];if(c){for(var d=Array(arguments.length-1),e=1,f=arguments.length;e0&&this.o==0)for(;c=this.l.pop();)this.A(c)}}return e!=0}return!1};var kI=function(a,b,c){Vt(function(){a.apply(b,c)})}; iI.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={}};iI.prototype.O=function(){iI.Xb.O.call(this);this.clear();this.l.length=0};var lI=function(a){So.call(this);this.g=new iI(a);M(this,this.g)};Ua(lI,So);var mI=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)},nI=function(a,b,c){return a.g.B(b.toString(),c)};lI.prototype.clear=function(a){this.g.clear(a!==void 0?a.toString():void 0)};function oI(a,b,c,d){mI(b,c,d);To(a,function(){return void jI(b.g,c.toString(),d)})};var qI=Ee(pI);function pI(){for(var a="",b=q(rI()),c=b.next();!c.done;c=b.next())c=c.value,c<=15&&(a+="0"),a+=c.toString(16);return a} function rI(){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=q(b.l);for(h=g.next();!h.done;h=g.next())h=h.value,d+=h.Ka+",",h.url.indexOf("gvt1.com")>=0&&f++;g=q(b.g);for(h=g.next();!h.done;h=g.next())h=h.value,e+=h.Ka+",",h.url.indexOf("gvt1.com")>=0&&f++;g=q(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=CI(a,b);a||(ZB(U(),"ghmsh_f"),b.j.length>0?a=DI(b.j[0]):b.g.length>0&&b.l.length>0?a=EI(b.l[0],b.g[0]):(ZB(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 bF?(c.g&&T(U(),"mt",c.g),c.getMediaUrl().indexOf("gvt1.com")>= 0&&T(U(),"gvt1","1"),wI(c.getMediaUrl())):c instanceof aF&&(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)),wI(c.j))):T(U(),"ams","0"),FI(a),qB(AC)&&(b=(b=GI(b,18))?b:null)?[a,b]:[a]):[]},CI=function(a,b){var c=null;a=q(a.g);for(var d=a.next();!d.done;d=a.next()){var e=d.value;switch(e.type){case "dash":if(c=HI(b,"application/dash+xml"))return c;break;case "hls":if(c=HI(b,"application/vnd.apple.mpegurl"))return c;break; case "itag":if(e.Pd)c=GI(b,e.Pd);else if(e.Rn){d=c=void 0;var f=b,g=e.Rn;e=e.Qp;for(var h=q(f.l),k=h.next();!k.done;k=h.next())k=k.value,k.Ka==g&&(d=k);if(e)for(f=q(f.g),g=f.next();!g.done;g=f.next())g=g.value,g.Ka==e&&(c=g);c=d&&c?EI(d,c):d?new aF({Af:d.url,lj:"",Bk:d.Ka,jj:null,Ck:d.mimeType,kj:"",Ea:d.Ea,Oa:"",height:d.height,width:d.width,Aa:d.Aa||!1,Qn:d.Vc,Ql:0}):null}if(c)return c}}return null},HI=function(a,b){a=q(a.A);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.mimeType==b)return DI(c); return null},GI=function(a,b){a=q(a.j);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.Ka==b)return DI(c);return null},DI=function(a){return new bF({Xm:a.url,mimeType:a.mimeType,Ka:a.Ka,Ea:a.Ea,Oa:a.Oa,height:a.height,width:a.width,Aa:a.Aa||!1,Vc:a.Vc})},EI=function(a,b){return new aF({Af:a.url,lj:b.url,Bk:a.Ka,jj:b.Ka,Ck:a.mimeType,kj:b.mimeType,Ea:a.Ea,Oa:b.Oa,height:a.height,width:a.width,Aa:a.Aa&&b.Aa||!1,Qn:a.Vc,Ql:b.Vc})},FI=function(a){a=xI(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 II=function(a){this.g=a};II.prototype.toString=function(){return this.g};var JI=[];function KI(a){a=new II(a);JI.push(a);return a}KI("imalib_instrumentation");KI("simid_video_addon_pause");KI("simid_video_addon_play");KI("simid_video_addon_stop");KI("request_resize");KI("video_creative_resize_result");KI("ui_ad_clicked");KI("ui_endcap_impression");KI("ui_replay_icon_clicked");KI("ui_skip_to_endcap_clicked");KI("ui_play_pause_clicked");KI("ui_play_resume_clicked");KI("ui_play_pause_hidden");KI("ui_play_pause_shown");KI("ui_mute_button_clicked");KI("ui_skip_shown");KI("ui_skip_clicked"); KI("ui_learn_more_clicked");KI("ui_author_icon_clicked");KI("ui_ad_author_clicked");KI("ui_ad_title_clicked");KI("ui_wta_clicked");KI("ui_cta_clicked");var LI=KI("ui_close_countdown_complete");KI("update_action_title");KI("video_time_update");KI("accumulated_video_time");KI("animate_time_update");KI("video_reward_granted");KI("video_show_endcard");KI("video_player_end");KI("video_player_pause");KI("video_player_play");KI("video_player_volume_change");KI("video_player_start");KI("video_player_focus_ui_element"); KI("video_error");KI("request_cta_url_for_qr");KI("receive_cta_for_qr");KI("och_click");KI("close_ad");KI("request_change_ad_duration");KI("ad_duration_change_result");var MI=new II("ad_author_icon_update"),NI=new II("ad_author_update"),OI=new II("ad_cta_text_update"),PI=new II("ad_title_update"),QI=new II("in_creative_widget_shown"),RI=new II("in_creative_widget_hidden"),SI=new II("in_creative_widget_navigation_dispatched"),TI=new II("gpid_consent_data_changed"),UI=function(a,b,c){this.type=a;this.j=b;this.g=c},VI=new II("publisher_invoked_skip"),WI=new II("ui_ad_attribution_clicked"),XI=new II("ui_ad_author_clicked"),YI=new II("ui_ad_clicked"),ZI=new II("ui_ad_mouse_enter"), $I=new II("ui_ad_mouse_over"),aJ=new II("ui_ad_mouse_leave"),bJ=new II("ui_author_icon_clicked"),cJ=new II("ui_ad_title_clicked"),dJ=new II("ui_close_button_clicked"),eJ=new II("ui_close_button_shown"),fJ=new II("ui_close_countdown_shown"),gJ=new II("ui_close_countdown_timeout"),hJ=new II("ui_endcap_learn_more_clicked"),iJ=new II("ui_focus_element"),jJ=new II("ui_focus_skip_button"),kJ=new II("ui_icon_fallback_image_closed"),lJ=new II("ui_learn_more_clicked"),mJ=new II("ui_sandboxed_iframe_loaded"), nJ=function(a,b){this.Cb=a;this.Db=b},oJ=new II("ui_overlay_clicked"),pJ=new II("ui_overlay_faded"),qJ=new II("ui_overlay_rendered"),rJ=new II("ui_play_pause_clicked"),sJ=new II("ui_play_pause_hidden"),tJ=new II("ui_play_pause_shown"),uJ=new II("ui_recall_button_clicked"),vJ=new II("ui_skip_clicked"),wJ=new II("ui_skip_shown"),xJ=new II("ui_vast_icon_clicked"),yJ=new II("ui_vast_icon_rendered"),zJ=new II("ui_wta_clicked"),AJ=new II("video_clicked"),BJ=new II("video_pause"),CJ=new II("video_ad_shown"), DJ=new II("video_started"),jK=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},sK=new II("video_time_update");var tK=function(){return aA('
')},uK=function(){return aA('
')},vK=function(a){a=a.Ch;return aA('
'+dA(a)+"
")};var wK=function(a){a=a||{};a=a.hi;return aA('
'+dA(a)+"
")},xK=function(){var a="Learn More "+dA("");return aA(a)},yK=function(a){a=a.hi;return aA('
'+dA(a)+"
")};var zK=function(){N.call(this);this.element=null;this.g=new gH(this);M(this,this.g)};w(zK,N);zK.prototype.O=function(){this.g=null};var CK=function(a,b){zK.call(this);this.l=this.j=null;this.element=FA(tK,{});a.appendChild(this.element);this.g.listen(this.element,"touchmove",function(c){c.preventDefault()});AK(this);BK(this,b);(parseInt(Sn(a,"width"),10)||parseInt(a.getAttribute("width"),10))<=400&&xz(this.element,"videoAdUi-mobile");this.ca()};w(CK,zK); var AK=function(a){a.j=FA(uK,{});a.element.appendChild(a.j);a.g.listen(a.j,"click",function(b){ZB(U(),"sic");b.stopPropagation()})},BK=function(a,b){a.l=FA(vK,{Ch:b||xK()});a.element.appendChild(a.l);a.g.listen(ef("callToActionButton",a.element),"click",function(c){ZB(U(),"ecbc");a.dispatchEvent("video_card_endcap_action");c.stopPropagation()})};CK.prototype.show=function(){eo(this.element,!0)};CK.prototype.ca=function(){eo(this.element,!1)}; CK.prototype.O=function(){tf(this.element);this.element=null;zK.prototype.O.call(this)};var DK=function(){return aA('
')};var FK=function(a){zK.call(this);this.l=a;this.j=null;this.element=FA(DK,{});EK(this)};w(FK,zK);var EK=function(a){a.j=ef("advertiserChannelThumbnail",a.element);a.g.listen(a.j,"click",function(){a.l?ZB(U(),"ectc"):ZB(U(),"ctc")});a.g.listen(ef("advertiserHeadline",a.element),"click",function(){a.l?ZB(U(),"eadc"):ZB(U(),"adc")});a.g.listen(ef("advertiserDescription",a.element),"click",function(){a.l?ZB(U(),"eahc"):ZB(U(),"ahc")})};FK.prototype.O=function(){tf(this.element);this.element=null;zK.prototype.O.call(this)};var GK=function(){N.call(this);this.g=new gH(this);M(this,this.g)};w(GK,N);GK.prototype.O=function(){this.g=null};GK.prototype.Kf=function(){};var HK=function(){GK.apply(this,arguments)};w(HK,GK);HK.prototype.Cf=function(){};var IK=function(a){a=a===void 0?!1:a;HK.call(this);this.j=new FK(a);this.A=ef("advertiserChannelThumbnail",this.j.element);this.l=ef("advertiserDescription",this.j.element);this.o=ef("advertiserHeadline",this.j.element)};w(IK,HK);IK.prototype.Le=function(a){if(a){var b=this.j;b.j.setAttribute("src",a);Qn(b.j,"display","inline")}};IK.prototype.kh=function(a){a&&this.o&&wf(this.o,a)};IK.prototype.Cf=function(a){a&&this.l&&wf(this.l,a)}; IK.prototype.Kf=function(a){a.insertBefore(this.j.element,a.childNodes[0]||null)};var JK=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 MK=function(a,b){a=a.Vd;return aA('
'+KK(null,b)+LK(a)+"
")},KK=function(){var a='
')},NK=function(a){a=a||{};var b=a.hh,c="";return c=a.oc?c+("You can skip in "+ b):c+("You can skip this ad in "+b)},OK=function(a){return LK(a.Vd)},LK=function(a){var b='
'; return aA(b)};var PK=function(){N.call(this);this.j=0;this.endTime=this.startTime=null};Ua(PK,N);var QK=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return typeof c==="string"?c:c.Kc+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});Qn(a,"transition",b.join(","))},RK=Ee(function(){var a=pf(document,"DIV"),b=se?"-webkit":re?"-moz":qe?"-ms":null,c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");c={style:c};if(!Pd.test("div"))throw Error("");if("DIV"in Rd)throw Error("");b=void 0;var d="";if(c)for(m in c)if(Object.prototype.hasOwnProperty.call(c,m)){if(!Pd.test(m))throw Error(""); var e=c[m];if(e!=null){var f=void 0;var g=m;if(e instanceof cd)e=dd(e);else if(g.toLowerCase()=="style"){if(!Ma(e))throw Error("");if(!(e instanceof wd)){var h="";for(f in e)if(Object.prototype.hasOwnProperty.call(e,f)){if(!/^[-_a-zA-Z0-9]+$/.test(f))throw Error("Name allows only [-_a-zA-Z0-9], got: "+f);var k=e[f];k!=null&&(k=Array.isArray(k)?k.map(zd).join(" "):zd(k),h+=f+":"+k+";")}e=h?new wd(h,vd):yd}e=xd(e)}else{if(/^on/i.test(g))throw Error("");if(g.toLowerCase()in Qd)if(e instanceof fd)e=gd(e).toString(); else if(e instanceof jd)e=ld(e);else if(typeof e==="string")e=pd(e).toString();else throw Error("");}f=g+'="'+Dc(String(e))+'"';d+=" "+f}}var m="":(b=Od(b),m+=">"+Jd(b).toString()+"");m=Kd(m);We(a,m);a=a.firstChild;m=a.style[ie("transition")];return(typeof m!=="undefined"?m:a.style[Pn(a,"transition")]||"")!=""});var SK=function(a,b,c,d,e){PK.call(this);this.g=a;this.A=b;this.B=c;this.l=d;this.D=Array.isArray(e)?e:[e]};Ua(SK,PK);var TK=function(a){a.j!=1&&(a.dispatchEvent("begin"),a.dispatchEvent("play"),a.startTime=Ta(),a.j=1,RK()?(Qn(a.g,a.B),a.o=pu(a.tn,void 0,a)):a.lh(!1))};l=SK.prototype;l.tn=function(){ao(this.g);QK(this.g,this.D);Qn(this.g,this.l);this.o=pu(Ra(this.lh,this,!1),this.A*1E3)};l.stop=function(){this.j==1&&this.lh(!0)}; l.lh=function(a){Qn(this.g,"transition","");qu(this.o);Qn(this.g,this.l);this.endTime=Ta();this.j=0;a?this.dispatchEvent("stop"):this.dispatchEvent("finish");this.dispatchEvent("end")};l.O=function(){this.stop();SK.Xb.O.call(this)};l.pause=function(){};var UK=function(a,b){return new SK(a,b,{opacity:0},{opacity:1},{Kc:"opacity",duration:b,timing:"ease-out",delay:0})};var WK=function(a){zK.call(this);this.F=this.D=this.j=this.o=this.B=this.A=this.l=null;VK(this,a)};w(WK,zK); var VK=function(a,b){a.l=FA(KK);a.A=ef("videoAdUiPreSkipButton",a.l);a.B=ef("videoAdUiPreSkipText",a.A);a.j=FA(OK,{Vd:vc("Skip Ad ")});a.o=ef("videoAdUiSkipButton",a.j);eo(a.l,!1);b.appendChild(a.l);b.appendChild(a.j);a.g.listen(a.o,"click",function(c){c.stopPropagation();a.dispatchEvent("click")})},XK=function(a){a.A.style.backgroundColor="black";a.o.style.backgroundColor="black"},YK=function(a){eo(a.j,!1);co(a.j,0)};WK.prototype.show=function(){eo(this.A,!0);eo(this.o,!0)}; WK.prototype.ca=function(){eo(this.A,!1);eo(this.o,!1)};WK.prototype.O=function(){Ro(this.D);this.D=null;Ro(this.F);this.F=null;this.l&&(tf(this.l),this.l=null);this.o&&(this.o=null);this.j&&(tf(this.j),this.j=null);zK.prototype.O.call(this)};var ZK=function(){if(ve){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Ic()))?a[1]:"0"}return ue?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(Ic()))?a[0].replace(/_/g,"."):"10"):we?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Ic()))?a[1]:""):xe||ye||ze?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Ic()))?a[1].replace(/_/g,"."):""):""}();var aL=function(a,b){GK.call(this);this.l=b;this.j=new WK(a);this.o=b==0?3:1;M(this,this.j);$K(this)};w(aL,GK);var $K=function(a){bL(a);we&&ZK==="4.4.4"&&XK(a.j);a.l==0?a.dispatchEvent("skipShown"):YK(a.j);a.g.listen(a.j,"click",function(){a.o==3&&a.dispatchEvent("videoSkipClicked")})},bL=function(a){if(!(a.l<0)){var b=Math.ceil(a.l-0),c=b.toString();b>=60&&(c=$C(b));wf(a.j.B,NK({hh:c}))}};aL.prototype.skip=function(){return this.l>=0&&this.o==3?(this.dispatchEvent("publisher_invoked_skip"),!0):!1}; aL.prototype.show=function(){this.j.show()};aL.prototype.ca=function(){this.j.ca()};var cL=function(a,b,c){GK.call(this);var d=this;this.o=new CK(a,c);this.B=0;this.D=b;this.j=null;this.l=new IK(!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.Kf(this.o.l);JK(this.l);M(this,this.l);this.A=new aL(this.o.element,0);this.A.aa=this;M(this,this.A);b>0&&(this.j=new nu(100),M(this,this.j),this.g.listen(this.j,"tick",this.hn))};w(cL,GK); var dL=function(a,b){var c=c===void 0?!1:c;if(b){var d=ef("advertiserVideoThumbnail",a.o.j);d.setAttribute("src",b);c&&(Qn(d,{width:"100%",pointer:"cursor"}),a.g.listen(d,"click",function(){a.dispatchEvent("click")}))}};l=cL.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.ca=function(){this.o.ca();this.j&&this.j.stop();this.dispatchEvent("video_card_endcap_collapse")};l.hn=function(){this.dispatchEvent("timeupdate");(this.B>0?Date.now()-this.B:0)>=this.D&&this.ca()};l.pause=function(){this.j&&this.j.stop()};var eL=function(a){a=a.Ch;return aA('
'+dA(a)+"
")};var gL=function(a){zK.call(this);var b=this;this.element=FA(eL,{Ch:a||xK()});a=function(){return b.dispatchEvent("click")};this.j=ef("videoAdUiActionCtaInset",this.element);this.o=ef("videoAdUiActionCtaText",this.j);fL(this,this.o,"fctc",a);this.A=ef("videoAdUiActionCtaLink",this.j);fL(this,this.A,"fcvuc",a);this.l=ef("videoAdUiActionCtaIconContainer",this.j);fL(this,this.l,"fctnc",a);fL(this,ef("videoAdUiActionCtaButton",this.j),"fcabc",function(){return b.dispatchEvent("click")});fL(this,ef("videoAdUiActionCtaInset", this.j),"fcbgc",a);fL(this,ef("actionCtaCollapsibleContainer",this.j),"fcbgc",a)};w(gL,zK);var fL=function(a,b,c,d){d=d===void 0?null:d;b!=null&&a.g.listen(b,"click",function(e){e.stopPropagation();ZB(U(),c);d&&(VB(U().g),d())})};gL.prototype.show=function(){eo(this.element,!0)};gL.prototype.ca=function(){eo(this.element,!1)};var hL=function(a){HK.call(this);this.j=new gL(a)};w(hL,HK);l=hL.prototype;l.Kf=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.kh=function(a){a&&wf(this.j.o,a)};l.Le=function(a){var b=this.j,c=pf(document,"IMG");c.setAttribute("onerror",'this.style.display="none"');c.setAttribute("src",a);xz(c,"videoAdUiActionIcon");b.l.appendChild(c);Qn(b.l,"display","inline")}; l.Cf=function(a){a&&wf(this.j.A,a)};l.show=function(){this.j.show()};l.ca=function(){this.j.ca()};var iL=function(a){So.call(this);this.I=a};w(iL,So);iL.prototype.build=function(){};var jL=function(a){a=a===void 0?null:a;So.call(this);this.g=new gH(this);M(this,this.g);this.o=a};w(jL,So);var kL=function(a,b,c,d){a.o&&(mI(a.o,b,c,d),To(a,function(){jI(a.o.g,b.toString(),c,d)}))},lL=function(a,b,c){return nI(a.o,b,c)};var mL=function(a,b){jL.call(this);b&&a.l&&a.l.setAttribute("data-ck-navigates","true")};w(mL,jL);var nL=function(a,b,c){c=c===void 0?null:c;jL.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&&lL(d,d.j,null)})};w(nL,jL);var oL=function(a,b,c,d){jL.call(this,b);var e=this;this.j=a;M(this,this.j);this.g.listen(this.j,"click",function(){lL(e,c,null)});kL(this,d,this.l,this)};w(oL,jL);oL.prototype.l=function(a){this.j.l(a);this.j.show()};var qL=function(a,b,c,d,e){d=d===void 0?0:d;e=e===void 0?0:e;jL.call(this,b);var f=this;this.j=a;M(this,this.j);this.aa=c;this.A=d;this.K=e;this.M=null;this.B=this.D=this.l=this.G=!1;pL(this,this.A);kL(this,sK,this.C,this);kL(this,CJ,this.F,this);kL(this,DJ,this.P,this);this.g.listen(this.j,"click",function(){f.l&&lL(f,f.aa,null)})};w(qL,jL);qL.prototype.C=function(a){!a||a.currentTimeSeconds<0||a.durationSeconds<0||(this.l?this.o&&jI(this.o.g,sK.toString(),this.C,this):pL(this,this.A-a.currentTimeSeconds))}; var pL=function(a,b){if(b<=0)b=a.j,eo(b.l,!0),eo(b.j,!1),a.l=!0,lL(a,eJ,null),a.A>0&&!a.B&&(lL(a,LI,null),a.B=!0);else{var c=a.j;eo(c.l,!1);eo(c.j,!0);wf(c.j,Math.ceil(b).toString());a.D||(lL(a,fJ,null),a.D=!0)}};qL.prototype.F=function(){var a=this;this.K>0&&!this.M&&(this.M=pu(function(){if(!a.G){var b=a.j;eo(b.l,!0);eo(b.j,!1);a.l=!0;lL(a,eJ,null);lL(a,gJ,null);a.o&&jI(a.o.g,CJ.toString(),a.F,a)}},this.K*1E3))};qL.prototype.P=function(){this.G=!0};var sL=function(a,b,c){jL.call(this,b);var d=this;this.j=a;this.C=c;kL(this,uJ,function(){rL(d,500)},this);rL(this,2E3)};w(sL,jL);var rL=function(a,b){a.j.Ud(!1);a.g.oa(a.j,"click",a.A);a.l&&clearTimeout(a.l);a.l=setTimeout(function(){a.j.Ud(!0);a.g.listen(a.j,"click",a.A)},b)};sL.prototype.A=function(a){a instanceof lt&&a.g!=null&&a.l!=null?a=new nJ(a.g,a.l):(a.nodeType==1?a=Xn(a):(a=a.changedTouches?a.changedTouches[0]:a,a=new Xe(a.clientX,a.clientY)),a=new nJ(a.x,a.y));lL(this,this.C,a)};var tL=function(a,b){jL.call(this,b);this.view=a};w(tL,jL);tL.prototype.show=function(){this.view.show()};tL.prototype.ca=function(){this.view.ca()};var uL=function(a,b,c){c=c===void 0?!1:c;jL.call(this,b);var d=this;this.g.listen(a,"click",function(){lL(d,YI,null)});c?this.g.listen(a,"mouseover",function(){lL(d,$I,null)}):this.g.listen(a,"mouseenter",function(){lL(d,ZI,null)});this.g.listen(a,"mouseleave",function(){lL(d,aJ,null)})};w(uL,jL);var wL=function(a,b,c,d){d=d===void 0?45E3:d;jL.call(this,b);this.j=a;M(this,this.j);this.F=c;this.G=d;this.D=this.C=!1;kL(this,dJ,this.sm,this);kL(this,uJ,this.wm,this);this.g.listen(this.j,"mouseover",this.Im);this.g.listen(this.j,"mouseout",this.Kn);this.j.hk(400);vL(this)};w(wL,jL);var vL=function(a){a.l==null&&(a.l=pu(function(){a.C||(a.ca(),a.D=!0);a.l=null},a.D?15E3:a.G,a))};l=wL.prototype;l.stop=function(){this.l!=null&&(qu(this.l),this.l=null)}; l.Im=function(){var a=this;this.show();this.C=!0;this.B=pu(function(){a.C&&a.stop();a.B=null},1E3,this)};l.Kn=function(){this.B!=null&&(qu(this.B),this.B=null);this.C&&vL(this);this.C=!1};l.show=function(){this.j.Zi();this.A!=null&&(qu(this.A),this.A=null)};l.ca=function(){var a=this;this.j.Aj();this.A==null&&(this.A=pu(function(){a.F&&a.j.ca();a.A=null;lL(a,pJ,null)},400,this))};l.sm=function(){this.j.ca();lL(this,pJ,null)};l.wm=function(){this.j.show()};var xL=function(a,b,c){So.call(this);this.j=a;this.C=b||0;this.l=c;this.A=Ra(this.o,this)};Ua(xL,So);xL.prototype.g=0;xL.prototype.O=function(){xL.Xb.O.call(this);this.stop();delete this.j;delete this.l};xL.prototype.start=function(a){this.stop();this.g=pu(this.A,a!==void 0?a:this.C)};var yL=function(a){a.isActive()||a.start(void 0)};xL.prototype.stop=function(){this.isActive()&&qu(this.g);this.g=0};xL.prototype.isActive=function(){return this.g!=0};xL.prototype.o=function(){this.g=0;this.j&&this.j.call(this.l)};var CL=function(a,b,c){c=c===void 0?!1:c;jL.call(this,b);var d=this;this.A=!1;this.l=a;M(this,this.l);this.B=c;zL(this.l,c);this.C=!c;c?AL(this):BL(this);this.j=new xL(function(){return void BL(d)},2E3);this.g.listen(this.l,"click",function(){lL(d,rJ,!d.B);d.j.stop();d.A&&yL(d.j)});kL(this,YI,function(){AL(d);yL(d.j)},this);te||(kL(this,ZI,function(){AL(d);d.j.stop();d.A&&yL(d.j)},this),kL(this,$I,function(){AL(d);d.j.stop();d.A&&yL(d.j)},this),kL(this,aJ,function(){if(!d.B||d.A){var e=d.j;e.stop(); e.o()}},this));kL(this,BJ,function(e){zL(d.l,e);(d.B=e)?AL(d):d.A||BL(d);d.A&&yL(d.j)},this)};w(CL,jL);var AL=function(a){a.C||(a.C=!0,lL(a,tJ,null),a.l.show())},BL=function(a){a.C&&(a.C=!1,lL(a,sJ,null),a.l.ca())},DL=function(a){a.A=!0;xz(a.l.element,"fullScreen")};var EL=function(a,b){jL.call(this,b);this.j=a;M(this,this.j);kL(this,sK,this.l,this)};w(EL,jL);EL.prototype.l=function(a){a&&this.j.j(a.currentTimeSeconds,a.durationSeconds,a.adPosition,a.totalAds)};var FL=function(a,b,c){jL.call(this,b);var d=this;this.j=a;M(this,this.j);this.j.ca();this.g.listen(this.j,"click",function(){lL(d,uJ,null);d.j.ca()});kL(this,c,function(){d.j.show()},this)};w(FL,jL);var IL=function(a,b,c,d){d=d===void 0?0:d;jL.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;GL(this,0);this.l==0?lL(this,wJ,null):HL(this.j);this.g.listen(this.j,"click",function(){e.A==3&&lL(e,vJ,null)});kL(this,sK,this.C,this);kL(this,jJ,this.B,this)};w(IL,jL); IL.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){GL(this,0);var b=this.j;TK(UK(b.l,b.B));eo(b.l,!0)}this.A=2}else{b=this.j;eo(b.o,!0);var c=b.B;c=new SK(b.l,c,{opacity:1,visibility:"shown"},{opacity:.9,visibility:"hidden"},{Kc:"opacity",duration:c,timing:"ease-out",delay:0});b=UK(b.o,b.B);TK(c);TK(b);this.A=3;lL(this,wJ,null)}this.A==2&&GL(this,a.currentTimeSeconds)}}; var GL=function(a,b){if(!(a.l<0)){var c=Math.ceil(a.l-b);b=c.toString();c>=60&&(b=$C(c));a=a.j;b={hh:b,oc:a.F};a.G?wf(a.D,""+(b||{}).hh):wf(a.D,NK(b))}};IL.prototype.B=function(){var a=this.j;a.j&&a.j.focus()};var ML=function(a,b,c,d){d=d===void 0?!1:d;jL.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&&(lL(e,xJ,e.j),JL(e))}),this.j.Ga>=0?KL(this):LL(this),(this.j.Ga>=0||this.j.Gb>=0)&&kL(this,sK,this.C,this)):KL(this)};w(ML,jL); ML.prototype.C=function(a){if(a){var b=this.j.Ga>=0?this.j.Ga:0,c=this.j.Gb>=0?this.j.Gb+b:-1;c>=0&&a.currentTimeSeconds*1E3>=c?(KL(this),NL(this)):a.currentTimeSeconds*1E3>=b&&(LL(this),c<0&&NL(this))}}; var NL=function(a){a.o&&jI(a.o.g,sK.toString(),a.C,a)},KL=function(a){a.l.B&&a.l.ca()},LL=function(a){a.l.B||(a.l.show(),lL(a,yJ,a.j))},JL=function(a){if(a.B&&!a.A){var b=ao(a.l.element.parentElement),c=JE(a.j,b);if(!c){c=KE(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&&(OL(a.l,c),(c=a.l.A)&&a.g.listen(c,"click",function(e){lL(a,kJ,a.j);e.stopPropagation();a.A&&(e=a.l,e.j&&(e.g.oa(e.j,"load",e.D,!0,e),e.g.oa(e.j,"error",e.D,!0,e),e.g.oa(e.j,"focusout"),tf(e.j), e.element.focus(),e.j=null,e.A=null),a.A=!1)}));a.A=!0}};ML.prototype.O=function(){NL(this);jL.prototype.O.call(this)};var PL=function(){return aA('
')};var QL=function(a){a=a||{};a=a.ra;return aA('
'+dA(a)+"
")},RL=function(a){var b=a.sk,c=a.adPosition;a=a.totalAds;return a>=2&&c>=1?"Ad "+c+" of "+a+" "+b:"Ad "+b};var SL=function(){return aA('
')};var TL=function(a){a=a||{};a=a.Rp;return aA('
'+dA(a)+"
")};var UL=function(a){a=a.Nm;return aA('
'+(a?'
':"")+'
')};var VL=function(){var a=aA,b='
';var c=aA(''); return a(b+c+"
")};var WL=function(a){return aA('
")};var XL=function(){return aA('
')},YL=function(a){var b=a.La,c=a.height,d=a.width;a=a.alt;return aA('
'+Q(a)+'
')};var ZL=function(a){var b=a.height,c=a.width;a=a.attribution;return aA('
'+dA(a)+"
")},$L=function(a){var b=a.height,c=a.width;a=a.attribution;return aA('
'+dA(a)+"
")},aM=function(a){var b=a.height,c=a.width,d=a.La;a=a.attribution;return aA('
'+dA(a)+"
")},bM=function(a){var b=a.title,c=a.text,d=a.dir,e=a.attribution,f=a.image,g=a.duration;a=a.Pc;return aA('
'+(fA(f)?'
'+(fA(g)?'
'+dA(g)+"
":"")+"
":"")+'
'+dA(a)+"
":"")+'
'+dA(e)+ "
")};var cM=function(){var a=aA,b='
';var c=aA('');b=b+c+'
';c=aA(''); return a(b+c+"
")};var dM=function(){var a=aA,b='
';var c=aA('');return a(b+c+"
")};var eM=function(){var a='
'; return aA(a)};var fM=function(){N.call(this);this.element=null;this.g=new gH(this);M(this,this.g)};w(fM,N);var gM=function(a,b){a.element&&b.element&&a.element.appendChild(b.element)};fM.prototype.Ha=function(){return this.element};var hM=function(){fM.call(this)};w(hM,fM);var iM=function(a,b){a.element&&b.insertBefore(a.element,b.childNodes[0]||null)};var jM=function(){fM.call(this);var a=this;this.element=FA(PL);eo(this.element,!1);this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};w(jM,fM);jM.prototype.l=function(a){wf(this.element,a)};jM.prototype.show=function(){eo(this.element,!0)};var kM=function(a){a=a===void 0?!1:a;fM.call(this);this.element=FA(QL,{ra:RL({sk:"",adPosition:0,totalAds:0})});this.l=ef("videoAdUiAttribution",this.element);this.o=a;this.g.listen(this.element,"click",function(b){b.stopPropagation()});eo(this.element,!1)};w(kM,fM);kM.prototype.show=function(){eo(this.element,!0)};kM.prototype.j=function(a,b,c,d){this.l&&(a=$C(b-a),c=RL({sk:": ("+a+")",adPosition:c||0,totalAds:d||0}),this.o&&(c=a),wf(this.l,c.toString()));this.show()};var lM=function(){fM.call(this);var a=this;this.element=FA(SL);eo(this.element,!1);this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};w(lM,fM);lM.prototype.l=function(a){wf(this.element,"by "+a)};lM.prototype.show=function(){eo(this.element,!0)};var mM=function(){fM.call(this);this.element=FA(TL);this.l=ef("videoAdUiAutoClose",this.element);eo(this.element,!1)};w(mM,fM);mM.prototype.j=function(a,b){this.l&&(a=a={xn:$C(b-a)},a="Ad will close in "+dA(a.xn),a=aA(a),wf(this.l,a.toString()));eo(this.element,!0)};var nM=function(a,b,c,d){d=d===void 0?!1:d;fM.call(this);var e=this;this.D=c;this.A=d;this.element=FA(UL,{Nm: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=ef("videoAdUiTopBar",this.element);this.B=ef("videoAdUiTopBarTextContainer",this.element);this.l=ef("videoAdUiClickElement",this.element);b&&this.j.classList.add(b);this.o=ef("videoAdUiBottomBar",this.element);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")});eo(this.j,!1)};w(nM,hM); var oM=function(a){var b=(parseInt(Sn(a.element,"width"),10)||a.element.width)<=400;a=a.element;b?xz(a,"videoAdUi-mobile"):zz(a,"videoAdUi-mobile")},pM=function(a){a.j&&eo(a.j,!0)},qM=function(a,b){a.j&&b.element&&a.j.appendChild(b.element)},rM=function(a,b){a.o&&b.element&&a.o.appendChild(b.element)};nM.prototype.Ud=function(a){Qn(this.element,{"pointer-events":a?"auto":"none",cursor:a&&this.D?"pointer":"auto"})}; var sM=function(a,b){b?a.g.listen(a.element,"mouseover",function(){xz(a.j,"videoAdUiTopBarTransitions")}):zz(a.j,"videoAdUiTopBarTransitions")},tM=function(a,b){a=a.j;b?xz(a,"videoAdUiTopBarCollapsed"):zz(a,"videoAdUiTopBarCollapsed")},uM=function(a,b){a=a.o;b?xz(a,"videoAdUiBottomBarCollapsed"):zz(a,"videoAdUiBottomBarCollapsed")},vM=function(a,b){a.B&&b.element&&a.B.appendChild(b.element)},wM=function(a,b){a.l&&b.element&&a.l.appendChild(b.element)}; nM.prototype.ca=function(){eo(this.j,!1);eo(this.o,!1);eo(this.l,!1)};var xM=function(){fM.call(this);var a=this;this.element=FA(VL);this.j=ef("closeCountdownText",this.element);this.l=ef("closeButtonIcon",this.element);this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};w(xM,fM);var yM=function(a){fM.call(this);this.element=FA(WL,{backgroundImage:"data:image/png;base64,"+a.kf})};w(yM,fM);yM.prototype.show=function(){eo(this.element,!0)};yM.prototype.ca=function(){eo(this.element,!1)};var zM=function(a){fM.call(this);var b=this;this.A=this.j=null;this.B=!1;this.element=FA(XL);switch(a){case "author":xz(this.element,"authorIcon");break;case "vast":xz(this.element,"vastIcon");break;case "freeplayWta":xz(this.element,"vastIcon"),xz(this.element,"freeplayAtv")}this.ca();this.o=null;this.g.listen(this.element,"click",function(c){c.stopPropagation();b.dispatchEvent("click")})};w(zM,hM); zM.prototype.l=function(a){this.o||(this.o=pf(document,"IMG"));this.o.setAttribute("src",a);this.o.setAttribute("onerror",'this.style.display="none"');this.element.appendChild(this.o)};var AM=function(a,b,c){Qn(a.element,{height:b+"px",width:c+"px"});a.o&&(a.o.setAttribute("width",c+"px"),a.o.setAttribute("height",b+"px"))},BM=function(a,b,c){Qn(a.element,{position:"absolute",overflow:"hidden",left:b,bottom:c})};zM.prototype.show=function(){eo(this.element,!0);this.B=!0}; zM.prototype.ca=function(){eo(this.element,!1);this.B=!1};var OL=function(a,b){a.j||(a.j=FA(YL,{La:b.l,width:b.j,height:b.g,alt:b.ib}),eo(a.j,!1),a.element.appendChild(a.j),a.A=(new xM).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()}))};zM.prototype.D=function(){eo(this.j,!0);this.A.focus()};var CM=function(a){a=a===void 0?null:a;fM.call(this);var b=this;this.element=FA(yK,{hi:a||xK()});this.j=ef("learnMoreButton",this.element);this.g.listen(this.j,"click",function(c){c.stopPropagation();b.dispatchEvent("click")})};w(CM,fM);CM.prototype.l=function(a){wf(this.j,a)};CM.prototype.show=function(){eo(this.element,!0)};var DM=function(){fM.call(this);var a=this;this.element=FA(wK,{hi:xK()});this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};w(DM,fM);var FM=function(a,b,c){So.call(this);this.j=a;this.A=b;this.B=c;this.o=0;this.g={};this.l=new gH(this);M(this,this.l);EM(this)};w(FM,So);var EM=function(a){a.B.forEach(function(b){this.l.listen(b.element,"mousedown",this.D,!0);this.l.listen(b.element,"mouseup",Sa(this.G,b),!0)},a);a.l.listen(a.A,"mouseenter",a.F)},GM=function(a,b){Hb(a.g,function(c,d){b=Uf($f(b,d),d,c)});return b};FM.prototype.D=function(){this.C=Date.now()}; FM.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.Qf);(this.j&8)==8&&(a=Wn(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=rz())&&(this.g.mb=b);c.tagName.toUpperCase()=="A"&&(b=GM(this,c.href),b=td(b),b!==void 0&&(c.href=b))};FM.prototype.F=function(){this.o++};var HM=function(a,b,c){fM.call(this);var d=this,e=[];switch(b){case "embedded":this.element=FA(ZL,a);ef("embeddedOverlayIframe",this.element).setAttribute("src",a.La||"");break;case "html":this.element=FA($L,a);Sd(ef("overlayInnerElement",this.element),Re(a.La||""));break;case "image":this.element=FA(aM,a);break;case "text":this.element=FA(bM,a);a=ef("textImageContainer",this.element);a!=null&&e.push({element:a,Qf:9});a=ef("overlayTextTitle",this.element);a!=null&&e.push({element:a,Qf:0});a=ef("overlayTextUrl", this.element);a!=null&&e.push({element:a,Qf:1});break;default:this.element=of("DIV","overlayContainer")}e.push({element:this.element,Qf:2});this.j=new FM(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")})};w(HM,fM);l=HM.prototype;l.Ud=function(a){var b=this.element;a?xz(b,"clickable"):zz(b,"clickable")}; l.hk=function(a){QK(this.element,"opacity "+a/1E3+"s")};l.show=function(){eo(this.element,!0)};l.ca=function(){eo(this.element,!1)};l.Zi=function(){co(this.element,1)};l.Aj=function(){co(this.element,.3)};l.Ha=function(){return this.element};var IM=function(a){return ef("overlayTextAttribution",a.element)};var JM=function(){fM.call(this);var a=this;this.element=FA(cM);this.l=ef("videoAdUiPlayIcon",this.element);this.j=ef("videoAdUiPauseIcon",this.element);this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")});zL(this,!1)};w(JM,fM);var zL=function(a,b){eo(a.l,b);eo(a.j,!b)};JM.prototype.show=function(){this.element&&xz(this.element,"fade-in")};JM.prototype.ca=function(){this.element&&zz(this.element,"fade-in")};var KM=function(){fM.call(this);var a=this;this.element=FA(dM);this.j=!0;this.g.listen(this.element,"click",function(b){a.j&&(b.stopPropagation(),a.dispatchEvent("click"))})};w(KM,fM);KM.prototype.show=function(){eo(this.element,!0);this.j=!0};KM.prototype.ca=function(){eo(this.element,!1);this.j=!1};var LM=function(a){var b=a.jf===void 0?!1:a.jf;var c=a.Sg===void 0?!1:a.Sg;var d=a.ah===void 0?.5:a.ah;a=a.oc===void 0?!1:a.oc;fM.call(this);var e=this;this.F=a;this.element=FA(MK,{Vd:vc(a?"Skip ":"Skip Ad ")});b&&xz(this.element,"noTextSkipButton");c&&xz(this.element,"raisedSkipButton");this.G=b;this.B=d;this.l=ef("videoAdUiPreSkipContainer",this.element);this.A=ef("videoAdUiPreSkipButton",this.element);this.D=ef("videoAdUiPreSkipText",this.element);this.o=ef("videoAdUiSkipContainer",this.element); this.j=ef("videoAdUiSkipButton",this.element);eo(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()});we&&ZK==="4.4.4"&&(this.A.style.backgroundColor="black",this.j.style.backgroundColor="black")};w(LM,fM);LM.prototype.ca=function(){eo(this.A,!1);eo(this.j,!1)};var HL=function(a){eo(a.o,!1);co(a.o,0)};var MM=function(a){a=a===void 0?!1:a;fM.call(this);var b=this;this.element=FA(eM);a&&this.element.classList.add("smallWtaIcon");this.g.listen(this.element,"click",function(c){c.stopPropagation();b.dispatchEvent("click")})};w(MM,fM);function NM(a,b){if(typeof ReportingObserver==="undefined")return null;var c=function(e){e=q(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 OM(a){return NM(function(b){return b.body&&b.body.id==="HeavyAdIntervention"},a)} function PM(a){return OM(function(b){b=b.body.message;b.includes("CPU")?a("heavy_ad_intervention_cpu"):b.includes("network")&&a("heavy_ad_intervention_network")})}function QM(a){a=a===void 0?null:a;NM(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 RM=[new Ye(200,200),new Ye(250,250),new Ye(300,250),new Ye(336,280),new Ye(450,50),new Ye(468,60),new Ye(480,70),new Ye(728,90)];function SM(a,b,c,d){a&&(c=Math.min(c,90));var e=[];RM.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 TM(a){var b=bD(ez(new O(a.adTagUrl),"overlay"));return SM(b,a.nonLinearAdSlotWidth||0,a.nonLinearAdSlotHeight||0,a.forceNonLinearFullSlot||!1)}function UM(a){return a==="flash"||a==="image"||a==="staticimage"}function VM(a){var b=[];a.forEach(function(c){c==="video"?b.push("standardvideo"):c!="skippablevideo"&&b.push(c)});return b}function WM(a){a=HD(a,"ad_type");return E(a)?["video"]:a.split("_")};var XM=function(){zH.apply(this,arguments)};w(XM,zH); XM.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new O(a.adTagUrl),c=new Map;c.set("sdkv","h.0.0.0");var d=new O(a.adTagUrl),e=c.set,f=HD(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",HD(d,"client"));c.set("min_ad_duration",Number(HD(d,"min_ad_duration",(0).toString())).toString());e=Number(HD(d,"max_ad_duration",(1E5).toString()));e>0&&c.set("max_ad_duration",Math.round(1.1*e).toString());e=Number(HD(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 O(a.adTagUrl);g=Math.max(g,k)+"x"+Math.max(h,m);f=HD(f,"sz");e.call(c,"sz",E(f)||g!=="0x0"?g:f);e=c.set;f=HD(d,"channel");f=Array.from(new Set(f.split(/[+, ]/))).slice(0,30).join("+");e.call(c,"channel",f);c.set("h_ch",HD(d,"h_ch").split(/[+, ]/).join("+"));e=c.set;f=HD(d,"adsafe");e.call(c,"adsafe", Qb(jD,f)?f:"high");e=c.set;d=HD(d,"videoad_start_delay");e.call(c,"videoad_start_delay",E(d)?"1":d);c.set("hl",SF());c.set("vid_d",a.contentDuration||"");c.set("ca_type","image");c.set("unviewed_position_start","1");c.set("output","xml_vast4");AH(c);d=Map;e=[];f=e.concat;g={};g.u_tz=-(new Date).getTimezoneOffset();var n=n===void 0?D:n;try{var p=n.history.length}catch(C){p=0}g.u_his=p;var r;g.u_h=(r=D.screen)==null?void 0:r.height;var u;g.u_w=(u=D.screen)==null?void 0:u.width;var t;g.u_ah=(t=D.screen)== null?void 0:t.availHeight;var x;g.u_aw=(x=D.screen)==null?void 0:x.availWidth;var A;g.u_cd=(A=D.screen)==null?void 0:A.colorDepth;p=new Map;for(var H in g)p.set(H,g[H]);a=new d(f.call(e,v(p),v(FD(a)),v(c)));BH(this,a);wD(b,a);YM(b);yD(b);return b.toString()};var YM=function(a){a.g.forEach(function(b,c){kD.has(c)&&!E(b)||a.g.remove(c)})};var ZM=function(a){a=a===void 0?new Map:a;zH.call(this,a)};w(ZM,zH);ZM.prototype.g=function(a){if(a.adTagUrl==null)return null;var b=new O(a.adTagUrl),c=new Map;c.set("sdkv","h.0.0.0");AH(c);c.set("nel",SE()?"1":"0");a=new Map([].concat(v(FD(a)),v(c)));BH(this,a);wD(b,a);xD(b,a);yD(b);return b.toString()};var $M=function(a){a=a===void 0?new Map:a;zH.call(this,a)};w($M,zH); $M.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new qD(a.adTagUrl),c=new Map;AH(c);c.set("dc_sdkv","h.0.0.0");c.set("dc_sdki",CH().toString(16));c.set("dc_eid",vB());c.set("dcmt","text/xml");c.set("nel",SE()?"1":"0");var d=sD(b,"dc_output")||[];(d.includes("vast")||d.includes("xml_vast2"))&&c.set("dc_output","xml_vast3");a=new Map([].concat(v(FD(a)),v(c)));BH(this,a);c=q(a);for(d=c.next();!d.done;d=c.next()){var e=q(d.value);d=e.next().value;e.next();e=aN(d);d=a.get(d);e!=="dc_rfl"&&(d= encodeURIComponent(d));E(e)||E(d)||tD(b,e,[d])}yD(b);return b.toString()};var aN=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 bN=function(a){a=a===void 0?new Map:a;zH.call(this,a)};w(bN,zH);bN.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new O(a.adTagUrl),c=new Map;AH(c);c.set("sdkv","h.0.0.0");c.set("sdki",CH().toString(16));c.set("output","xml_vast4");a=new Map([].concat(v(FD(a)),v(c)));BH(this,a);wD(b,a);yD(b);return b.toString()};var cN=function(a){a=a===void 0?new Map:a;zH.call(this,a)};w(cN,zH); cN.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new O(a.adTagUrl),c=new Map;c.set("sdkv","h.0.0.0");AH(c);c.set("hl",SF());c.set("afvsz",TM(a));c.set("unviewed_position_start","1");var d=(new O(a.adTagUrl)).g,e=String(d.get("output")||"");d=String(d.get("ad_rule")||"");d=bD(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(v(FD(a)),v(c)));BH(this,a);wD(b,a);xD(b,a);b.g.remove("impl");yD(b);return b.toString()};var dN={oo:"SIMID:Creative:clickThru",zo:"SIMID:Creative:fatalError",Do:"SIMID:Creative:getMediaState",LOG:"SIMID:Creative:log",op:"SIMID:Creative:reportTracking",pp:"SIMID:Creative:requestChangeAdDuration",qp:"SIMID:Creative:requestChangeVolume",rp:"SIMID:Creative:requestExitFullscreen",sp:"SIMID:Creative:requestFullscreen",REQUEST_PAUSE:"SIMID:Creative:requestPause",REQUEST_PLAY:"SIMID:Creative:requestPlay",up:"SIMID:Creative:requestResize",vp:"SIMID:Creative:requestSkip",REQUEST_STOP:"SIMID:Creative:requestStop", tp:"SIMID:Creative:requestNavigation",Io:"SIMID:Creative:handleSkipShown"};function eN(a){return typeof a!="object"?!1:Number.isInteger(a.width)&&Number.isInteger(a.height)&&Number.isInteger(a.x)&&Number.isInteger(a.y)};var fN=function(a){a=a===void 0?{}:a;this.ia=a.ia;this.th=a.th;this.uh=a.uh;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.ni=a.ni;this.Be=a.Be;this.Ce=a.Ce;this.eh=a.eh;this.uri=a.uri;this.Ni=a.Ni;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 gN(a){a=a.trackingUrls;if(!(a instanceof Array))return ZB(U(),"sp_s_vrt_ia"),!1;if(a.every(function(b){return typeof b=="string"}))return ZB(U(),"sp_s_vrt_s"),!0;ZB(U(),"sp_s_vrt_iu");return!1}function hN(a){if(!eN(a.videoDimensions))return ZB(U(),"sp_s_vr_ivd"),!1;if(!eN(a.creativeDimensions))return ZB(U(),"sp_s_vr_icd"),!1;if(typeof a.fullscreen!="boolean")return ZB(U(),"sp_s_vr_ifs"),!1;ZB(U(),"sp_s_vr_s");return!0} var iN=function(){},jN=function(a,b){switch(a){case "SIMID:Creative:requestChangeAdDuration":return a=b.duration,isNaN(a)||typeof a!="number"?null:new fN({duration:a});case "SIMID:Creative:reportTracking":return gN(b)?new fN({eh:b.trackingUrls}):null;case "SIMID:Creative:requestResize":return hN(b)?new fN({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 fN({volume:b.volume,muted:b.muted});case "SIMID:Creative:requestNavigation":return typeof b.uri!="string"?null:new fN({uri:b.uri});case "SIMID:Creative:log":return typeof b.message!="string"?null:new fN({message:b.message})}return new fN};var kN=function(a,b,c,d){this.type=a;this.args=d;this.messageId=b;this.g=c};var lN=function(a,b,c){jt.call(this,a.type);this.resolve=b;this.reject=c;this.args=a.args};w(lN,jt);var mN=function(a,b,c,d){d=d===void 0?{}:d;a=d.Yf===void 0?!1:d.Yf;d=d.Xf===void 0?!1:d.Xf;N.call(this);this.o=new lz;this.G=c;this.B={Yf:a,Xf:d};this.l="";this.K=1;this.D=this.F=window;this.g=b;this.A=new gH(this);M(this,this.A);this.j=new Map};w(mN,N); var qN=function(a){a.A.listen(window,"message",function(b){a:{b=b.Pb;var c=a.D===b.source;if(a.B.Yf){var d=a.g==null||a.g==="*"||b.origin===a.g;if(!c||!d)break a}else if(b.origin!==a.g&&!c&&a.g!="*")break a;b:if(b.data){c={};try{c=JSON.parse(b.data)}catch(h){b=null;break b}b=typeof c!="object"?null:c}else b=null;var e=b;if(e!=null&&(b=e.type,c=e.sessionId,c==a.l||b=="createSession")&&(!a.B.Xf||b!=="createSession"||a.l==null)&&(d=e.args,e=e.messageId,e!=null)){var f=null;try{if(b=="resolve"||b=="reject"){var g= d.messageId;f=g==null?null:new fN({Ce:g,Be:d.value})}else f=jN(b,d)}catch(h){if(h.cause===1210){g=JSON.stringify({type:"TimingEvent",key:"smd_ss_nfo_init"});a.sendMessage("SIMID:Creative:log",new fN({message:g}));g=JSON.stringify({type:"OneShotParameter",key:"smd_ss_nfo_init_r",value:h.message});a.sendMessage("SIMID:Creative:log",new fN({message:g}));break a}throw h;}if(f)switch(b==="SIMID:Player:init"&&(g=JSON.stringify({type:"TimingEvent",key:"smd_ss_so_init"}),a.sendMessage("SIMID:Creative:log", new fN({message:g}))),g=new kN(b,e,c,f),g.type){case "resolve":case "reject":if(b=g.args.Ce)c=g.args.Be||{},a.j.has(b)&&(d=a.j.get(b),g.type=="resolve"?d.resolve(c):g.type=="reject"&&d.reject(c),a.j.delete(b));break;case "createSession":a.l=g.g;nN(a,g.messageId);a.o.resolve();break;default:oN(a,g)}else pN(a,e,{errorCode:1211,message:"Invalid message arguments."})}}})}; mN.prototype.sendMessage=function(a,b){b=b===void 0?new fN:b;var c=this.K++,d={};d.type=a;d.sessionId=this.l;d.messageId=c;d.timestamp=Date.now();if(a=="resolve"||a=="reject"){var e={};b=(e.messageId=b.Ce,e.value=b.Be,e)}else{e={};switch(a){case "SIMID:Player:init":var f={};f=(f.adParameters=b.ia,f.clickThruUri=b.th,f.clickThruUrl=b.uh,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.Ni,k.skippableState="adHandles",k.navigationSupport=b.ni,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 lz,this.j.set(c,a),a.promise):Promise.resolve({})}; var oN=function(a,b){a.dispatchEvent(new lN(b,function(c){c=c===void 0?{}:c;nN(a,b.messageId,c)},function(c){c=c===void 0?{}:c;pN(a,b.messageId,c)}))},nN=function(a,b,c){c=c===void 0?{}:c;a.sendMessage("resolve",new fN({Ce:b,Be:c}))},pN=function(a,b,c){a.sendMessage("reject",new fN({Ce:b,Be:c}))};function rN(a){return(a=a.bb.find(function(b){return F(b.fa)=="SIMID"&&b.mimeType=="text/html"&&!!b.url&&!E(b.url)}))?a.url:null}function sN(a){return(a=a.bb.find(function(b){return F(b.fa)=="SIMID"&&b.mimeType=="text/html"&&!!b.g&&!E(b.g)}))?a.g:null};var tN="SIMID:Player:adSkipped SIMID:Player:adStopped SIMID:Player:appBackgrounded SIMID:Player:fatalError SIMID:Player:init SIMID:Player:startCreative".split(" "),uN=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 O(a),a.o+"://"+a.j);d=e}this.g=new mN(new iN,d,tN,b);this.j=null;this.l=0;this.o=!1};w(uN,N); var vN=function(a){qN(a.g);Object.values(dN).forEach(function(b){a.g.listen(b,function(c){a.o&&$B("lima_pmh_m_"+b);b==="SIMID:Creative:log"&&c.args.message==="cr"?a.l=0:a.dispatchEvent(c)})})},wN=function(a,b){a=a.g;var c=b.source;b=b.target;a.D=c;a.F=b};uN.prototype.log=function(a){return this.g.sendMessage("SIMID:Player:log",new fN({message:a}))}; var xN=function(a){a.o=!1;var b=[];Object.values(dN).forEach(function(c){b.push("lima_pmh_m_"+c)});aC(b)},yN=function(a){a.j&&(a.l===2?(a.j.resolve(),a.j=null):(a.log("pp"),a.l++,setTimeout(function(){return yN(a)},2E3)))};var zN=function(a){ZB(U(),"lima_csiu");var b="border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:"+((lo()?"99":"100")+"%; height:100%; position: absolute;display:none"),c=fe();b=of("IFRAME",{id:c,name:c,allow:"autoplay",allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:b});a=pd(a);b.removeAttribute("srcdoc");if(a instanceof fd)throw new Vd("TrustedResourceUrl",2);Ud(b,"allow-same-origin allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-storage-access-by-user-activation".split(" ")); a=td(a);a!==void 0&&(b.src=a);return b},AN=function(a){ZB(U(),"lima_csih");var b="border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:"+((lo()?"99":"100")+"%; height:100%; position: absolute;display:none"),c=fe();b=of("IFRAME",{id:c,name:c,allow:"autoplay",allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:b});b.removeAttribute("src");if(a instanceof Id)throw new Vd("SafeHtml",1);Ud(b,["allow-scripts","allow-forms","allow-popups","allow-popups-to-escape-sandbox","allow-storage-access-by-user-activation"]); a=Kd(a);b.srcdoc=Jd(a);return b};var BN={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 CN(a){if(!a)return!1;if(a=DN(a)){if(a.g=="TRUEVIEW"||a.g=="SKIPPABLE")return!0;if(a.g)return!1;ZB(U(),"ytu_nf");return a.Cc()}return!1} function EN(a){return a?(a=DN(a))&&a.g=="BUMPER"?!0:!1:!1}function FN(a){return a?(a=DN(a))&&a.g=="NONSKIPPABLE"?!0:!1:!1}function GN(a){return a?(a=DN(a))?a.j.id:null:null}function HN(a){return(a=DN(a))?a.j:null}function IN(a){return(a=DN(a))?a.l:null}function JN(a){return(a=(a=DN(a))?a.g:null)?BN[a]||null:null}function DN(a){return a.ga.get(DE)};var KN=function(a){this.duration=a};var LN=function(a,b,c){this.kf=a;this.j=b;this.g=c};var MN=function(a,b,c){this.g=a;this.j=b;this.l=c};var NN=function(a){this.g=a};var ON=function(a){this.Da=a};var PN=function(a){var b=a.qe===void 0?null:a.qe;var c=a.re===void 0?null:a.re;var d=a.se===void 0?null:a.se;var e=a.Ia===void 0?null:a.Ia;var f=a.imageWidth===void 0?0:a.imageWidth;a=a.imageHeight===void 0?0:a.imageHeight;this.qe=b;this.re=c;this.se=d;this.Ia=e;this.imageWidth=f;this.imageHeight=a};var QN=function(a){this.g=a};var RN=function(){}; RN.prototype.g=function(a){if(!LH(a,"activeview"))return null;var b=[],c=IH(a,"trackingConfiguration");c=q(c);for(var d=c.next();!d.done;d=c.next()){d=IH(d.value,"trackingEventConfiguration");d=q(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=IH(f,"trackingEventCriteria");f=q(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=PH(a);e=JH(a,"activeViewMetadata");d="";e&&(d=V(e)||"");a=JH(a,"activeViewFlags");e="";a&&(e=V(a)||"");return new BF(c,b,d,e)};var SN=function(){};SN.prototype.g=function(a){if(!LH(a,"wrapper_info"))return null;var b=0;(a=JH(a,"Duration"))&&(b=MH(V(a)));return b!=null&&b>0?new KN(b):null};var TN=function(){}; TN.prototype.g=function(a){if(!LH(a,"adsense"))return null;for(var b=null,c=null,d=null,e,f=[],g,h=null,k=null,m=null,n=q(uf(a)),p=n.next();!p.done;p=n.next())switch(p=p.value,p.nodeName.toLowerCase()){case "attributiontext":b=V(p);break;case "attributionurl":c=V(p);break;case "conversionurl":d=V(p);break;case "is_pharma":e=HH(p.getAttribute("bool"));break;case "checkedevents":f=UN(p);break;case "showyoutubeannotations":g=HH(V(p));break;case "ui":h=null;p=JH(p,"config");if(p!=null){var r=JH(p,"context"); if(r!=null&&r.getAttribute("data").toLowerCase()=="default"&&(h=new DF,r=JH(p,"params"))){p=h;r=q(uf(r));for(var u=r.next();!u.done;u=r.next())switch(u=u.value,u.nodeName.toLowerCase()){case "audio_muted_on_start":p.Bd=HH(u.getAttribute("bool"))||!1;break;case "attribution_text":p.ra=u.getAttribute("data");break;case "attribution_url":p.vb=u.getAttribute("data");break;case "signals":p.tc=GH(u,"int")||0}}}break;case "visibleurl":k=V(p);break;case "whythisad":a:{m=q(uf(p));for(p=m.next();!p.done;p= m.next())if(p=p.value,p.nodeName.toLowerCase()=="wtaclickthroughurl"){m=V(p);break a}m=null}m&&T(U(),"wta","1")}return new EF(PH(a),{ra:b,vb:c,ee:d,ei:e,ve:f,Fe:g,uiConfig:h,Pc:k,Yb:m})};var UN=function(a){var b=[];Array.from(uf(a)).forEach(function(c){(c=c.getAttribute("id"))&&b.push(c.toLowerCase())});return b};var VN=function(){};VN.prototype.g=function(a){if(!LH(a,"AdVerifications"))return null;var b=[];a=IH(a,"AdVerifications");a=q(a);for(var c=a.next();!c.done;c=a.next())b.push.apply(b,v(NH(c.value)));return new QG(b)};var WN=function(){};WN.prototype.g=function(a){if(!LH(a,"adx"))return null;var b;if(a=JH(a,"skippability")){var c=V(a);if(c=="skippable"){var d=!0;(a=a.getAttribute("offset"))&&!E(a)&&(b=MH(a))}else c=="nonskippable"&&(d=!1)}return d!=null?new fI(d,b):null};var XN=function(){};XN.prototype.g=function(a){if(!LH(a,"companion_about_this_ad"))return null;a=IH(a,"Icon");if(a.length<1)return null;a=SH(a[0]);return new FF(a)};var YN=function(){};YN.prototype.g=function(a){a=PH(a);return a.length>0?new AF(a):null};var ZN=function(){};ZN.prototype.g=function(a){if(!LH(a,"dart"))return null;a=PH(a);var b=a.find(function(c){return c.eventType=="skip"})?"Generic":"Unavailable";return new gI(a,b)};var $N=function(){};$N.prototype.g=function(a){if(!LH(a,"dfp"))return null;var b="Unavailable",c=JH(a,"skippableadtype");c&&V(c)=="Generic"&&(b="Generic");return new gI(PH(a),b)};var aO=function(){};aO.prototype.g=function(a){if(!LH(a,"watermark"))return null;var b=JH(a,"WatermarkData");if(!b)return null;a=GH(b,"max_width");var c=GH(b,"max_height");b=b?V(b):null;return!b||b===""||a==null||isNaN(a)||c==null||isNaN(c)?null:new LN(b,a,c)};var bO=function(){};bO.prototype.g=function(a){if(!LH(a,"eoid_cookie"))return null;a=q(uf(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=GH(c,"expires"),e=c.getAttribute("path"),f=void 0;c=(f=c.getAttribute("value"))!=null?f:"";if(b&&d!=null&&e)return new gG(c,d,e,b)}}return null};var cO=function(){};cO.prototype.g=function(a){if(!LH(a,"esp"))return null;var b=[];a=q(uf(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;d.nodeName=="EspLibrary"&&(c=JH(d,"LibraryName"))&&(c=V(c))&&(d=(d=JH(d,"LibraryUrl"))?V(d):null,b.push({Wl:c,eq:d}))}return new hG(b)};var dO=function(a){this.L=I(a)};w(dO,L);dO.prototype.getWidth=function(){return ok(this,9)};dO.prototype.getHeight=function(){return ok(this,10)};var eO=Km(dO);var fO=function(){};fO.prototype.g=function(a){if(!LH(a,"privacy_sandbox"))return null;a=JH(a,"TurtledoveConfig");if(!a)return null;a=V(a);if(!a)return null;a=eO(be(a).replaceAll("\\\\","\\"));return new iG(a)};var gO=function(){};gO.prototype.g=function(a){var b=LH(a,"gfp_cookie"),c=LH(a,"gfp_cookie_v2");if(!b&&!c)return null;a=q(uf(a));for(b=a.next();!b.done;b=a.next()){var d=b.value;if(d.nodeName=="Cookie"){b=d.getAttribute("domain");var e=GH(d,"expires"),f=d.getAttribute("path"),g=void 0;d=(g=d.getAttribute("value"))!=null?g:"";if(b&&e!=null&&f)return new kG(d,e,f,b,c)}}return null};var hO=function(){}; hO.prototype.g=function(a){if(!LH(a,"GoogleHostedMedia"))return null;T(U(),"hghme","1");var b=[],c=[],d=[],e=[],f,g=JH(a,"clientplaybacknonce");g&&(f=V(g));a=q(uf(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=q(uf(h));for(var k=h.next();!k.done;k=h.next()){k=k.value;var m=V(k),n=k.getAttribute("delivery"),p= GH(k,"itag"),r=void 0,u=(r=k.getAttribute("mimeType"))==null?void 0:r.toLowerCase();r=HH(k.getAttribute("mseCompatible"));var t=GH(k,"contentLength"),x=null,A=null,H=null,C=null,P=null,fa=null;if(g=="video"||g=="muxed")x=k.getAttribute("videoCodec"),A=GH(k,"videoBitrate"),P=GH(k,"width"),fa=GH(k,"height");if(g=="audio"||g=="muxed")H=k.getAttribute("audioCodec"),C=GH(k,"audioBitrate");if(m!=null&&g!=null)switch(k=new lG(m,g,{yb:n,Ka:p,mimeType:u,Ea:x,Oa:H,Oi:A,ph:C,Aa:r,width:P,height:fa,Vc: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 mG(f?f:"None",b,c,d,e)};var iO=function(){};iO.prototype.g=function(a){if(!LH(a,"gpid_wta"))return null;a=q(uf(a));for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.nodeName=="AttributionData"&&(b=V(b)))return new MG(b);return null};var jO=Object.keys($F),kO={TYPE_ACTION_ENDCAP:0,TYPE_COLLAPSE_ENDCAP:1,TYPE_DISMISS_ENDCAP:2,TYPE_IMPRESSION_ENDCAP:3},lO=new Map([[0,"video_card_endcap_action"],[1,"video_card_endcap_collapse"],[2,"video_card_endcap_dismiss"],[3,"video_card_endcap_impression"]]),mO=function(){}; mO.prototype.g=function(a){if(!LH(a,"InfoCards"))return null;var b=[];a=IH(a,"card");a=q(a);for(var c=a.next(),d={};!c.done;d={Og:void 0},c=a.next()){var e=c.value;c=e.getAttribute("type");if(jO.includes(c)){var f=GH(e,"priority"),g=nO(e),h=IH(e,"action").map(function(t){return new ZF({target:t.getAttribute("target"),title:t.getAttribute("title"),type:YF[t.getAttribute("type")],Mg:t.getAttribute("package_id"),bg:t.getAttribute("fallback_url")})});d.Og=JH(e,"placement");var k=null;d.Og&&(k=function(t){return function(x){return HH(t.Og.getAttribute(x))|| !1}}(d),k=new aG({Xg:k("show_in_cta"),Yg:k("show_in_endcap"),Ve:GH(d.Og,"endcap_duration_ms")}));d=JH(e,"website_card");e=null;if(d){e=null;var m=JH(d,"image");m&&(m=JH(m,"url"))&&(e=V(m));m=JH(d,"extension_data");var n=null;if(m){n=IH(m,"sitelink_extensions");m=[];n=q(n);for(var p=n.next();!p.done;p=n.next()){p=p.value;var r=JH(p,"link_action"),u=null;r&&((u=r.getAttribute("target"))||(u=r.getAttribute("link_url")),u=new ZF({target:u,title:r.getAttribute("title"),type:1,Mg:null,bg:null}));m.push(new bG({ii:u, Gh:p.getAttribute("description_line_1"),Hh:p.getAttribute("description_line_2")}))}n=new cG({Ji:m})}e=new dG({description:d.getAttribute("description"),Sb:d.getAttribute("headline"),Ia:e,Oh:n})}b.push(new eG({type:$F[c],priority:isNaN(f)||f==void 0?-1:f,V:g,actions:h,qd:k,Qc:e}))}}return new fG({Cd:b})}; var nO=function(a){var b=[];a=IH(a,"event");a=q(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getAttribute("type");d=lO.get(kO[d]);c=c.getAttribute("base_url");d&&c&&b.push(new hB(d,c))}return b};var oO=function(){};oO.prototype.g=function(a){if(!LH(a,"inred_info"))return null;a=q(uf(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 MN(c,d,e):null};var pO=function(){};pO.prototype.g=function(a){if(!LH(a,"metrics"))return null;a=q(uf(a));for(var b=a.next();!b.done;b=a.next())switch(b=b.value,b.nodeName){case "AdEventId":var c=Af(b);break;case "FeEventId":var d=Af(b)}return new OG(c,d)};var qO=function(){};qO.prototype.g=function(a){if(!LH(a,"non_linear_about_this_ad"))return null;a=IH(a,"Icon");if(a.length<1)return null;a=SH(a[0]);return new NN(a)};var rO=function(){};rO.prototype.g=function(a){if(!LH(a,"pod"))return null;a=GH(a,"sequence");a==null&&(a=-1);return new ON(a)};var sO=function(){};sO.prototype.g=function(a){return LH(a,"programmatic")?(a=JH(a,"DealId"))&&(a=V(a))&&!E(a)?new RG(a):null:null};var tO=function(){};tO.prototype.g=function(a){if(!LH(a,"sodar"))return null;var b=null;a=q(uf(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 SG(d,e,f,b):null};var uO=function(){};uO.prototype.g=function(a){if(!LH(a,"textad"))return null;var b={};a=q(uf(a));for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.nodeName.toLowerCase()){case "line1":b.qe=V(c);break;case "line2":b.re=V(c);break;case "line3":b.se=V(c);break;case "imageurl":b.Ia=V(c),b.imageWidth=GH(c,"width"),b.imageHeight=GH(c,"height")}return new PN(b)};var vO=function(){};vO.prototype.g=function(a){if(!LH(a,"uisettings"))return null;var b;(a=JH(a,"uihideable"))&&(b=HH(V(a)));return new TG(b)};var wO=function(){};wO.prototype.g=function(a){if(!LH(a,"waterfall"))return null;a=GH(a,"fallback_index");a==null&&(a=-1);return new QN(a)};var xO=function(){}; xO.prototype.g=function(a){if(!LH(a,"youtubehostedad"))return null;var b=null,c=!1,d=null,e=null,f=!1,g=null,h=null,k=null,m=null,n=null,p=null,r=null,u=JH(a,"youtubevideoid");u&&(b=V(u));if(u=JH(a,"istrueview"))u=HH(V(u)),u!=void 0&&(c=u);(u=JH(a,"videotitle"))&&(d=V(u));(u=JH(a,"videothumbnailurl"))&&(e=V(u));if(u=JH(a,"isvideounlisted"))u=HH(V(u)),u!=void 0&&(f=u);(u=JH(a,"channelid"))&&(g=V(u));(u=JH(a,"channeltitle"))&&(h=V(u));(u=JH(a,"channelthumbnailurl"))&&(k=V(u));(u=JH(a,"channelcustomurl"))&& (m=V(u));(u=JH(a,"format"))&&(n=V(u));(u=JH(a,"youtubeownershipfingerprint"))&&(p=V(u));(a=JH(a,"youtubevisitordata"))&&(r=V(a));return new UG({Oc:b,Cc:c,Je:d,zf:e,Od:f,Tc:g,ce:h,be:k,Of:m,format:n,Lg:p,gh:r})};var yO=function(a){var b=a===void 0?{}:a;a=b.id===void 0?null:b.id;var c=b.Wa===void 0?!1:b.Wa;var d=b.Sh===void 0?!0:b.Sh;var e=b.Gf===void 0?null:b.Gf;b=b.Wd===void 0?null:b.Wd;this.id=a;this.Wa=c;this.Sh=d;this.Gf=e;this.Wd=b};var zO=function(a,b){this.eventType=a;this.url=b};var AO=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.V===void 0?[]:d.V;d=d.ga===void 0?[]:d.ga;this.j=a;this.g=b;this.breakId=c;this.breakType=e;this.V=f;this.ga=d};var BO=function(a){this.g=a=a===void 0?[]:a};var CO=function(){};var DO=function(){};var EO=function(){this.g=[]},FO=function(a){var b=new DO;a.g.includes(b)||a.g.push(b)},HO=function(a,b){if(!b)throw Error("VMAP string is empty.");if(!GO(b))throw Error("Response string is not a valid VMAP document.");var c=[];b=q(uf(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"),n=0,p=[];if(m=="start")n=0;else if(m=="end")n=-1;else if(m!= void 0){var r=MH(m);r!=void 0&&(n=r/1E3)}e=q(uf(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,x=u;u=x.getAttribute("id");var A=x.getAttribute("followRedirects")!="false",H=x.getAttribute("allowMultipleAds")=="true";x=q(uf(x));for(var C=x.next();!C.done;C=x.next())switch(C=C.value,C.nodeName){case "vmap:AdTagURI":t=(t=V(C))?t:void 0;break;case "vmap:VASTAdData":C=q(uf(C));for(var P=C.next();!P.done;P=C.next())P=P.value,P.nodeName=="VAST"&& (g=P)}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 yO({id:u,Wa:H,Sh:A,Gf:t,Wd:(r=g)!=null?r:null});break;case "vmap:Extensions":f=d;r=[];t=q(uf(u));for(u=t.next();!u.done;u=t.next())if(u=u.value,u.nodeName=="vmap:Extension")for(A=q(f.g),H=A.next();!H.done;H=A.next())H=u.getAttribute("type")!="bumper"?null:new CO,H!=null&&r.push(H);f=r;break;case "vmap:TrackingEvents":for(p= [],r=q(uf(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&&p.push(new zO(t,u)))}}if(!g||m==null||isNaN(n))throw Error("VMAP ad source contains neither ad tag nor inline VAST data.");c.push(new AO(g,n,{breakId:h,breakType:k,V:p,ga:f}))}}return new BO(c)},GO=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 IO=function(a,b){this.l=a;this.o=b;this.j=this.g=null};var JO={"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"},KO={Uk:"application/dash+xml",sl:"video/mp4",ul:"video/mpeg",pl:"application/x-mpegURL",yl:"video/ogg",zl:"audio/ogg",Bl:"video/3gpp",El:"video/webm",AAC:"audio/aac",MP3:"audio/mpeg",tl:"audio/mp4"};var LO=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};w(LO,Error);var MO=function(a,b){a.ad||(a.ad=b)};l=LO.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 NO=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 LO){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 OO=function(){this.g=this.j=this.o=this.A=null;this.l=[]};var PO=function(){};var QO=function(a,b){this.message=a;this.errorCode=b};QO.prototype.getErrorCode=function(){return this.errorCode};QO.prototype.getMessage=function(){return this.message}; var RO=new QO("Unable to request ads from server. Cause: {0}.",1005),SO=new QO("Cannot parse the {0} value for the adslist response: {1}.",900),TO=new QO("Invalid usage of the API. Cause: {0}",900),UO=new QO("The browser prevented playback initiated without user interaction.",1205),VO=new QO("Unable to display one or more required companions.",602),WO=new QO("There was a problem requesting ads from the server.",1005),XO=new QO("Ad tag URI {0} is invalid. It must be properly encoded before being passed.", 1013),YO=new QO("The provided ad type: {0} is not supported.",200),ZO=new QO("The provided {0} information: {1} is invalid.",1101),$O=new QO("The response does not contain any valid ads.",1009),aP=new QO("The overlay ad content could not be displayed since creative dimensions do not align with display area.",501),bP=new QO("A Protected Audience API error occurred.",1014),cP=new QO("The ad response was not understood and cannot be parsed.",1010),dP=new QO("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.", 900),eP=new QO("Unable to open URL. The URL appears to be invalid or is not supported by your current browser. URL requested: {0}.",1022),fP=new QO("No assets were found in the VAST ad response.",200),gP=new QO("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403),hP=new QO("Ad request reached a timeout.",301),iP=new QO("VAST response was malformed and could not be parsed.",100),jP=new QO("VAST media file loading reached a timeout of {0} seconds.", 402),kP=new QO("Non linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",503),lP=new QO("The maximum number of VAST wrappers ({0}) has been reached.",302),mP=new QO("VAST media file duration differs from the VAST response duration by {0} seconds.",202),nP=new QO("No additional VAST wrappers allowed.",300),oP=new QO("No Ads VAST response after one or more Wrappers",303),pP=new QO("There was an error playing the video ad.",400),qP=new QO("An unexpected error occurred within the VPAID creative. Refer to the inner error for more info.", 901);var rP=ka(["https://imasdk.googleapis.com/js/sdkloader/car.js"]);Ue(rP);function sP(a,b){return a.ld!==b.ld?a.ld-b.ld:a.nd!==b.nd?a.nd-b.nd:a.pd!==b.pd?a.pd-b.pd:0}function tP(a){a=a.split(".");if(a.length!==3)return null;var b=q(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:{ld:c,nd:a,pd:b}};var uP=function(a){this.l=this.g=this.j=this.o=this.platformVersion=this.platform=null;a=F(a).split(":");if(a!=null&&a.length>=3){if(uc(a[0],"ios"))this.platform="ios",this.platformVersion=a[0].substr(3);else if(uc(a[0],"android"))this.platform="android",this.platformVersion=a[0].substr(7);else if(uc(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= tP(a[1]);this.g=a[2];if(this.platform==="ios"||this.platform==="tvos")this.l=a.length>3?a[3]:""}};function vP(a){return a?AD(a)?"adsense":DD(a)?"dbm":BD(a)?"dcm":ED(a)?"dv3":CD(a)?"xfp":"thirdparty":""}function wP(a){if(!a)return null;a=(new O(a)).g;return a.get("ms")!=null?F(a.get("ms")):null};var xP=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 yP=function(a){this.g=a},zP=function(a,b){return Pb(a.g,b)&&(a=a.g[b],typeof a==="boolean")?a:!1},AP=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 BP=function(a){this.L=I(a)};w(BP,L);var CP=function(){this.T="always";this.ba=4;this.aa=null;this.g=1;this.P=0;this.j=!0;this.locale="en";this.J=!0;this.G=this.C=this.l=!1;this.la=this.ha="";this.B=null;this.F=this.D=this.o="";this.Z=this.xa=!1;this.da=!0;this.N=mD();this.A={};this.M="";this.W=0;try{this.K=Gg()[0]}catch(a){}},DP=function(a){a=F(a);E(a)||(a=a.substring(0,20));return a};l=CP.prototype;l.setCompanionBackfill=function(a){this.T=a};l.getCompanionBackfill=function(){return this.T};l.setNumRedirects=function(a){this.ba=a}; l.getNumRedirects=function(){return this.ba};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.qm=function(){return this.g};l.setAutoPlayAdBreaks=function(a){this.j=a};l.Pm=function(){return this.j};l.ik=function(a){this.l=a};l.om=function(){return this.l};l.setLocale=function(a){if(a=cD(a))this.locale=a};l.getLocale=function(){return this.locale}; l.setPlayerType=function(a){this.ha=DP(a)};l.getPlayerType=function(){return this.ha};l.setPlayerVersion=function(a){this.la=DP(a)};l.getPlayerVersion=function(){return this.la};var FP=function(){var a=EP;if(a.B==null){var b={},c=(new O(lf().location.href)).g;if(kz(c,"tcnfp"))try{b=JSON.parse(c.get("tcnfp"))}catch(d){}a.B=new yP(b)}return a.B};l=CP.prototype;l.Gi=function(){};l.wf=function(){};l.setDisableCustomPlaybackForIOS10Plus=function(a){this.Z=a};l.getDisableCustomPlaybackForIOS10Plus=function(){return this.Z}; l.isCookiesEnabled=function(){return this.da};l.setCookiesEnabled=function(a){a!=null&&(this.da=a)};l.setSessionId=function(a){this.N=a};l.An=function(){};l.mm=function(){return!0};l.setFeatureFlags=function(a){this.A=a};l.getFeatureFlags=function(){return this.A};var GP=function(a){var b=EP;return b.A.hasOwnProperty(a)&&!!b.A[a]};CP.prototype.getFeatureFlags=CP.prototype.getFeatureFlags;CP.prototype.setFeatureFlags=CP.prototype.setFeatureFlags;CP.prototype.getDisableFlashAds=CP.prototype.mm; CP.prototype.setDisableFlashAds=CP.prototype.An;CP.prototype.setSessionId=CP.prototype.setSessionId;CP.prototype.setCookiesEnabled=CP.prototype.setCookiesEnabled;CP.prototype.isCookiesEnabled=CP.prototype.isCookiesEnabled;CP.prototype.getDisableCustomPlaybackForIOS10Plus=CP.prototype.getDisableCustomPlaybackForIOS10Plus;CP.prototype.setDisableCustomPlaybackForIOS10Plus=CP.prototype.setDisableCustomPlaybackForIOS10Plus;CP.prototype.setStreamCorrelator=CP.prototype.wf; CP.prototype.setPageCorrelator=CP.prototype.Gi;CP.prototype.getPlayerVersion=CP.prototype.getPlayerVersion;CP.prototype.setPlayerVersion=CP.prototype.setPlayerVersion;CP.prototype.getPlayerType=CP.prototype.getPlayerType;CP.prototype.setPlayerType=CP.prototype.setPlayerType;CP.prototype.getLocale=CP.prototype.getLocale;CP.prototype.setLocale=CP.prototype.setLocale;CP.prototype.getIsVpaidAdapter=CP.prototype.om;CP.prototype.setIsVpaidAdapter=CP.prototype.ik;CP.prototype.isAutoPlayAdBreaks=CP.prototype.Pm; CP.prototype.setAutoPlayAdBreaks=CP.prototype.setAutoPlayAdBreaks;CP.prototype.getVpaidMode=CP.prototype.qm;CP.prototype.setVpaidMode=CP.prototype.setVpaidMode;CP.prototype.setVpaidAllowed=CP.prototype.setVpaidAllowed;CP.prototype.getPpid=CP.prototype.getPpid;CP.prototype.setPpid=CP.prototype.setPpid;CP.prototype.getNumRedirects=CP.prototype.getNumRedirects;CP.prototype.setNumRedirects=CP.prototype.setNumRedirects;CP.prototype.getCompanionBackfill=CP.prototype.getCompanionBackfill; CP.prototype.setCompanionBackfill=CP.prototype.setCompanionBackfill;var EP=new CP;var HP=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(){}};var IP=["gdpr_consent","addtl_consent"];function JP(a){var b={};(new O(a)).g.forEach(function(c,d){b[d]=c});return b}function KP(a){return a==="1"||a==="true"}function LP(a){a.forEach(function(b,c,d){b===""&&d.delete(c)})} var MP=function(a,b,c,d){b=b===void 0?{}:b;c=c===void 0?{}:c;this.ng=d===void 0?!1:d;this.j=a===void 0?!1:a;a={};b=q(Object.entries(b));for(d=b.next();!d.done;d=b.next()){var e=q(d.value);d=e.next().value;e=e.next().value;e!=null&&(a[d]=String(e))}this.l=a;this.g=new xP(c)},NP=function(a,b,c){c=c===void 0?!1:c;return new MP(zD(a),JP(a),b,c)},OP=function(a,b,c){return new MP(!0,a||{},b,c===void 0?!1:c)},UP=function(a){var b=new Map,c=b.set;if(a.j){var d=PP(a,"rdp");d=KP(d)?"1":""}else d="";c.call(b, "rdp",d);b.set("us_privacy",QP(a));c=b.set;d=PP(a,"npa");d=KP(d);c.call(b,"npa",a.j&&d?"1":"");b.set("gdpr",RP(a));b.set("gdpr_consent",SP(a));c=b.set;d=PP(a,"addtl_consent");c.call(b,"addtl_consent",a.g.l||d||"");b.set("gpp",a.g.gppString);b.set("gpp_sid",a.g.o);b.set("ltd",TP(a)?"1":"");LP(b);return b},WP=function(a,b){return zD(b)&&VP(a)},PP=function(a,b){if(a.l.hasOwnProperty(b))return a.l[b]},QP=function(a){var b=PP(a,"us_privacy");return a.g.uspString||b||""},RP=function(a){var b=PP(a,"gdpr"); a=a.g.j;return a==="1"||a==="0"?a:b!==void 0?b:""},SP=function(a){var b=a.g.g;a=PP(a,"gdpr_consent");return b&&b!=="tcunavailable"?b:b==="tcunavailable"?a||b:a||""},VP=function(a){var b;if(!(b=TP(a))){if(XP(a)){b=SP(a);if(b==="tcunavailable")b=null;else{var c;a=XP(a);var d=My(b);if(d&&b){var e=J(d,cy,1);d=J(d,Xx,2)||new Xx;var f=ok(e,9),g=ok(e,4),h=ok(e,5),k=nk(e,10),m=nk(e,11),n=K(e,16),p=nk(e,15),r={consents:Ny(Nj(e,13,Ni),zy),legitimateInterests:Ny(Nj(e,14,Ni),zy)},u={consents:Ny(Nj(e,17,Pi)), legitimateInterests:Ny(Nj(e,18,Pi))},t=Ny(Nj(e,12,Ni),Ay),x=ik(e,Wx,19,Mj());e={};x=q(x);for(var A=x.next();!A.done;A=x.next()){A=A.value;var H=sk(A,1);e[H]=e[H]||{};var C=Nj(A,3,Pi);C=q(C);for(var P=C.next();!P.done;P=C.next())e[H][P.value]=sk(A,2)}b={tcString:b,tcfPolicyVersion:f,gdprApplies:a,cmpId:g,cmpVersion:h,isServiceSpecific:k,useNonStandardStacks:m,publisherCC:n,purposeOneTreatment:p,purpose:r,vendor:u,specialFeatureOptins:t,publisher:{restrictions:e,consents:Ny(Nj(d,1,Ni),zy),legitimateInterests:Ny(Nj(d, 2,Ni),zy),customPurposes:{consents:Ny(Nj(d,3,Pi)),legitimateInterests:Ny(Nj(d,4,Pi))}}}}else b=null;b=(c=b)!=null?c:null}c=b;if(b=!!c){var fa=fa===void 0?{}:fa;if(Qy(c))if(c.gdprApplies===!1)var da=!0;else if(c.tcString==="tcunavailable")da=!fa.idpcApplies;else if((fa.idpcApplies||c.gdprApplies!==void 0||fa.Xp)&&(fa.idpcApplies||typeof c.tcString==="string"&&c.tcString.length)){da=da===void 0?"755":da;c:{if(c.publisher&&c.publisher.restrictions&&(fa=c.publisher.restrictions["1"],fa!==void 0)){fa= fa[da===void 0?"755":da];break c}fa=void 0}fa===0?da=!1:c.purpose&&c.vendor?(fa=c.vendor.consents,(da=!(!fa||!fa[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},TP=function(a){a=PP(a,"ltd");return KP(a)},XP=function(a){var b=RP(a).toLowerCase();b=b==="true"||b==="1";return G(HP).g(cB.g,cB.defaultValue)?b||a.ng:b},YP=function(a){var b={"native":!1},c=XP(a);if(b.gdpr= c)c=a.g.j,b.gdprCmp=c==="1"||c==="0",c=PP(a,"gdpr")!==void 0,b.gdprUrl=c;c=!!SP(a);if(b.tcStrValid=c){c=a.g.g;var d=!!c;b.tcCmpPresent=d;b.tcCmpAvail=d&&c!=="tcunavailable";a=PP(a,"gdpr_consent");c=!!a;b.tcUrlPresent=c;b.tcUrlAvail=c&&a!=="tcunavailable"}return b};var ZP=function(a){this.L=I(a)};w(ZP,L);ZP.prototype.getVersion=function(){return K(this,2)};var $P=function(a){this.L=I(a)};w($P,L);var aQ=function(a,b){return Ak(a,2,b)},bQ=function(a,b){return Ak(a,3,b)},cQ=function(a,b){return Ak(a,4,b)},dQ=function(a,b){return Ak(a,5,b)},eQ=function(a,b){return Ak(a,9,b)},fQ=function(a,b){return lk(a,10,b)},gQ=function(a,b){return Hj(a,11,Hi(b))},hQ=function(a,b){return Ak(a,1,b)},iQ=function(a,b){return Hj(a,7,Hi(b))};var jQ="platform platformVersion architecture model uaFullVersion bitness fullVersionList wow64".split(" ");function kQ(a){var b;return(b=a.google_tag_data)!=null?b:a.google_tag_data={}}function lQ(a){var b,c;return typeof((b=a.navigator)==null?void 0:(c=b.userAgentData)==null?void 0:c.getHighEntropyValues)==="function"} function mQ(){var a=window;if(!lQ(a))return null;var b=kQ(a);if(b.uach_promise)return b.uach_promise;a=a.navigator.userAgentData.getHighEntropyValues(jQ).then(function(c){b.uach!=null||(b.uach=c);return c});return b.uach_promise=a} function nQ(a){var b;return gQ(fQ(dQ(aQ(hQ(cQ(iQ(eQ(bQ(new $P,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 ZP;d=Ak(d,1,c.brand);return Ak(d,2,c.version)}))||[]),a.wow64||!1)}function oQ(){var a,b;return(b=(a=mQ())==null?void 0:a.then(function(c){return nQ(c)}))!=null?b:null};function pQ(){var a=a===void 0?null:a;var b="h.3.657.0";a!=null&&(b+="/n."+a);return b} var rQ=function(){this.J=1;this.Xc=this.Wc=this.Rb=this.appName=null;this.g=new MP;this.Z=null;this.pg=!1;this.secureSignals=this.ug=this.rg=this.ha=this.M=this.ba=null;this.je=!1;mD();this.deviceId="";this.G=this.Zk=this.me=this.A=null;this.aa="";this.la=-1;this.Ua=this.Qj="";this.qk=this.dk=this.Zj=this.Yj=this.l=this.Tj=!1;this.K=null;this.P=!1;this.Kk=this.D=this.C=this.ml=this.al=this.Ba=this.Jk=this.Fk=this.j=this.Ak=null;this.nl=!1;this.Pi=this.Lk=null;this.Si=!1;this.ub=0;this.wk=!1;this.Nj= null;this.Ti=new Map;this.referrer=this.W=null;this.B=!1;this.ol=this.Ui=null;this.Xa=this.Va=this.xl=this.wl=this.Vi=this.F=!1;this.vd=this.Ya=this.Al=null;this.T=this.Wi=this.o=!1;this.xb=null;this.Yk="";this.N=new Iw;this.da=null;this.xa=new uw;qQ(this)},sQ=function(){return Math.floor(Math.random()*4503599627370496)},tQ=function(a){var b=a.D,c=a.appName,d=EP,e="h.3.657.0";b!=null?(e+="/n."+b,c!=null&&(e+="/"+c)):d.l&&(e+="/vpaid_adapter");a.dk&&(e+="/ima_eap");return e},wQ=function(a,b){a=a=== void 0?{}:a;b=b===void 0?!1:b;var c=uQ(),d=a.identifierInfo||null,e=a.isTv||!1,f=a.isAndroidTvAdsFramework||!1,g=a.marketAppInfo||null,h=a.env||null,k=null;h&&(k=new uP(h));h=a.eoidCookieEnabled;var m=a.eoidCookieValue,n=a.gfpCookieValue,p=a.gfpCookieV2Id||null,r=a.gfpCookieV2OptOut||null;var u=a.espSignals||null;var t=a.companionSlots,x=a.network,A=a.settings||{},H=a.topicsEnabled,C=a.videoEnvironment||{},P=a.pvsid||0,fa=a.clientBidsProto||null;a.quicksilverSignals&&(c.xa=vw(a.quicksilverSignals)); P>0&&(c.ub=P);A.ppid!=null&&(c.W=A.ppid);C.contentMediaUrl!=null&&(c.Z=C.contentMediaUrl);C.customClickTrackingProvided!=null&&(c.je=C.customClickTrackingProvided);c.pg=h||!1;c.ba=m||null;n!=null&&n?c.M=n:c.M=null;c.ha=p;c.rg=r;c.secureSignals=u;c.da=fa;H!==void 0&&(c.Xa=H);C.iframeState!=null&&(c.la=C.iframeState);C.isAmp!=null&&(c.Tj=C.isAmp);C.topAccessiblePageUrl!=null&&(c.j=C.topAccessiblePageUrl);C.referrer!=null&&(c.referrer=C.referrer);C.topOrigin!=null&&(c.Al=C.topOrigin);C.domLoadTime!= null&&(c.me=C.domLoadTime);C.downloadBandwidthKbps!=null&&(c.Zk=C.downloadBandwidthKbps);C.sdkImplLoadTime!=null&&(c.Ui=C.sdkImplLoadTime);C.imaHostingDomain!=null&&(c.Qj=C.imaHostingDomain);C.imaHostingPageUrl!=null&&(c.Ua=C.imaHostingPageUrl);c.o=C.usesCustomVideoPlayback!=null?C.usesCustomVideoPlayback:a.usesCustomVideoPlayback||!1;C.usesProxyMediaElement!=null&&(c.Wi=C.usesProxyMediaElement);C.rendersUiNatively!=null&&(c.B=C.rendersUiNatively);a.sdkOwnedRendering!=null&&(c.ol=a.sdkOwnedRendering); c.Va=C.supportsResizing!=null?C.supportsResizing:a.supportsResizing||!1;c.Zj=a.isBrowserCookieEnabled||!1;c.F=a.supportsIconClickFallback||!1;c.Vi=vQ(a,k);c.nl=a.omidAdSessionsOnStartedOnly||!1;c.xl=a.supportsOmidJsManagedAppSessions||!1;C.usesInlinePlayback!=null&&(c.T=C.usesInlinePlayback);C.videoAdKey!=null&&(c.xb=C.videoAdKey);t&&(c.al=t);x&&(c.ml=x);c.wl=a.supportsNativeNetworking||!1;d?(c.Rb=d.appSetId||null,c.Wc=d.appSetIdScope||null,c.deviceId=d.deviceId,c.aa=d.idType,c.K=d.isLimitedAdTracking, c.Lk=d.perAppIdentifier,c.Pi=d.perAppIdentifierV2,c.Si=d.perAppIdentifierV2UserEnabled||!1,c.wk=!!d.perAppIdentifierUnificationVersion,c.Nj=d.idfv,c.Ya=d.trackingAuthorizationStatus||null,c.Yk=d.adsIdentityToken):b&&(c.deviceId=a.rdid||"",c.aa=a.idType||"",d=a.isLat)&&(c.K=String(d)==="1");c.Ba=a.msParameter||"";g&&(c.Jk=g.appVersion||"",c.Fk=g.packageName||"");k&&(c.appName=k.g,c.A=k.l,g=k.platform,c.j="//mbapp"+encodeURIComponent(String((g==="ios"||g==="tvos"?1:g==="android"?2:0)+"-"+k.g))+".com", c.C=k.platform,c.D=k.platform+"."+k.o,c.Kk=k.j);a.gmaSignals&&(c.ug=a.gmaSignals);a.platformSignals&&(c.Ti=new Map(Object.entries(a.platformSignals)));c.P=b;c.l=e;c.Yj=f;c.dk=a.isEapLoader||!1;c.qk=a.isFledgeEligible||!1;c.N=new Iw;return c},vQ=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 sP({ld:3,nd:16,pd:2},a)<=0;case "ios":return sP({ld:3,nd:11,pd:1},a)<=0;default:return!1}}, qQ=function(a){var b=oQ();b&&b.then(function(c){a.vd=c==null?null:gh(ah(bl(c)),3)})},uQ=function(){return G(rQ)},xQ=sQ(),yQ=sQ(),zQ=xQ,AQ=yQ;function BQ(){var a=lf(),b=document;return new O(a.parent===a?a.location.href:b.referrer)}function CQ(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={},DQ=(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),EQ="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(" "), FQ=["vpaidEvent"],GQ="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(" "), HQ="viewable_impression measurable_impression overlay_unmeasurable_impression overlay_unviewable_impression overlay_viewable_immediate_impression overlay_viewable_end_of_session_impression externalActivityEvent".split(" "),IQ={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 JQ(a){return a.startsWith("custom_metric_viewable")?!0:IQ[a]!=null}var KQ="acceptInvitation acceptInvitationLinear click collapse complete exitFullscreen expand firstQuartile fullscreen impression loaded midpoint pause resume skip start thirdQuartile videoClicked volumeChange".split(" ");var LQ=new sH;function MQ(a,b){a!=null&&b!=null&&(a=TD(a,b));return a}function NQ(a,b){var c=c===void 0?LQ:c;var d=d===void 0?null:d;a=MQ(a,b);d=d?MQ(d,b):d;wH(c,new gB(a,d))}function OQ(a,b){a!=null&&a.forEach(function(c){return void NQ(c,b)})};var PQ=function(){this.g=Math.random()<.01;this.l=Math.floor(Math.random()*4503599627370496);this.j=null}; PQ.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;tQ(uQ())&&(b.sdkv=tQ(uQ()));this.j&&(b.palv=this.j);a=vB();E(F(a))||(b.e=a);b=QQ(this,b);var d=new O("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=BQ().o;b!=="http"&&b!=="https"||Sy(d,b);EP.C||(b=d.toString(),a=ez(d,"url"),a!=null&&Pc()&&b.length>2083&&(b=CQ(d,a)),NQ(b))}}; var QQ=function(a,b){b.id="ima_html5";var c=BQ();b.c=a.l;b.domain=c.j;return b},RQ=function(){return G(PQ)};var SQ=function(){this.V=new Map},TQ=function(a,b){b.forEach(function(c){var d=c.g,e=a.getEvents(d);e.push(c);a.V.set(d,e)})},VQ=function(a,b,c,d,e){var f=null,g=null;d&&(UQ(d)!==-1?f=UQ(d):g=d.g?d.value:-1);c=new iB(b,c,f,g,e===void 0?null:e);d=a.getEvents(b);d.push(c);a.V.set(b,d)};SQ.prototype.getEvents=function(a){return a!=null?this.V.get(a)||[]:[]};SQ.prototype.isEmpty=function(){return this.V.size===0}; var WQ=function(a,b){return a.getEvents(b).map(function(c){return lB(c)})},XQ=function(a,b){b.V.forEach(function(c){TQ(a,c)})};var YQ=function(a){this.ma=a;this.g=!1;this.V=new SQ};YQ.prototype.getMaxDuration=function(){if(this.ma.adTagUrl==null)return null;var a=this.ma.adTagUrl.match(Rf)[6]||null;if(!a)return null;var b=null;Tf(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 ZQ(a){var b=pf(document,"VIDEO"),c=Lb(KO).filter(function(d){var e=["video/3gpp","application/x-mpegURL"];return Tc()&&e.includes(d)||(Sc()||Ae||UF())&&d==="video/webm"?!1:b.canPlayType(d)});a=a.filter(function(d){return c.includes(d)});return a.length>0?a:c} var aR=function(a){a=a===void 0?!1:a;return!(UF()||Ae&&RF(PF,10))||!a&&uQ().o?uQ().l||Fc(Ic(),"Xbox")?!0:xe||ze?!1:!we||we&&RF(QF,4)?ko()?uQ().B:$Q()?!1:!0:!1:!0},bR=function(a){return!(a||xe||ze||mo()||we&&(!we||!RF(QF,4)))},cR=function(){var a=FP();return a&&zP(a,"disableOnScreenDetection")?!1:!ko()},dR=function(a){a=a===void 0?[]:a;return ZQ(a)},eR=function(){var a;if(!(a=mo()||Fc(Ic(),"CrKey")&&Fc(Ic(),"SmartSpeaker"))){var b,c;a=!!((b=window)==null?0:(c=b.chrome)==null?0:c.webview)}return a|| uQ().Wi?!1:!0},fR=function(){var a=uQ(),b=a.Kk;switch(a.C){case "android":return a.l?a.F:!!b&&sP({ld:3,nd:5,pd:2},b)<=0;case "ios":return!!b&&sP({ld:3,nd:4,pd:1},b)<=0;case "tvos":return a.B;default:return!$Q()}},gR=function(){var a=a===void 0?!0:a;var b=[];!uQ().P&&EP.g!==0&&b.push("2");eR()&&b.push("7");(uQ().l||!$Q())&&a&&b.push("8");return b},$Q=function(){return hR()===1||hR()===2},hR=function(){switch(uQ(),0){case 1:return 3;case 2:return 1}return uQ().l||(uQ(),!1)||uQ().C==="tvos"?1:mo()?2: 0},iR=function(a){return uQ().F?uQ().Yj?(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 jR="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");var kR=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}; kR.prototype.append=function(a){if(a){var b=a.autoAlign;b!=null&&(this.autoAlign=b);b=le(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=le(a.playAdsAfterTime);typeof b==="number"&&!isNaN(b)&&b>0&&(this.playAdsAfterTime=b);this.restoreCustomPlaybackStateOnAdBreakComplete= a.restoreCustomPlaybackStateOnAdBreakComplete||this.restoreCustomPlaybackStateOnAdBreakComplete;b=le(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}};Ha("module$exports$google3$javascript$ads$interactivemedia$sdk$clientside$api$ads_rendering_settings.AdsRenderingSettings.AUTO_SCALE",-1);var lR=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.Af="";this.sa=this.error=null;this.F=8E3;this.B=0;this.D=new gH(this);M(this,this.D)};w(lR,N);var nR=function(a){a.D.listen(a.j,a.g,a.tm);mR(a.j,a.g,"startTracking")},oR=function(a){kH(a.D);mR(a.j,a.g,"stopTracking")};lR.prototype.load=function(){throw Error("Unexpected usage of VideoDisplayChannel");}; var rR=function(a,b,c,d){a.Af=b||"";pR(a);d=d?qR(d):null;if(c){if(c instanceof bF){mR(a.j,a.g,"load",{videoUrl:b,adPodInfo:d,muxedMediaUrl:c.getMediaUrl(),muxedMimeType:c.g,muxedVideoCodec:c.Ea,muxedAudioCodec:c.Oa,mseCompatible:c.Aa});return}if(c instanceof aF){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){mR(a.j,a.g,"load",{videoUrl:b,adPodInfo:d,demuxedVideoUrl:e,demuxedAudioUrl:f,demuxedVideoMimeType:g,demuxedAudioMimeType:h,demuxedVideoCodec:k,demuxedAudioCodec:m,mseCompatible:c.Aa}); return}}}mR(a.j,a.g,"load",{videoUrl:b,adPodInfo:d})};lR.prototype.reset=function(a){this.l||this.o||this.pause();Ae&&!a&&(sR(this,.001),rR(this,"",null,null));(xe||ze)&&this.Ld()&&!a&&mR(this.j,this.g,"exitFullscreen")};var pR=function(a){a.duration=-1;a.currentTime=-1;a.o=!1;a.l=!1;a.A=!1;tR(a)},sR=function(a,b){mR(a.j,a.g,"setCurrentTime",{currentTime:b})};lR.prototype.setVolume=function(a){this.volume=a;mR(this.j,this.g,"setVolume",{volume:a})};lR.prototype.canPlayType=function(a){return dR().includes(a)}; var uR=function(a){mR(a.j,a.g,"play");a.B||(a.B=pu(a.G,a.F,a));Promise.resolve()};lR.prototype.pause=function(){mR(this.j,this.g,"pause");tR(this)};var vR=function(a){pR(a);Ae||UF()||mR(a.j,a.g,"unload")};l=lR.prototype;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.Ld=function(){return this.fullscreen}; l.tm=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":tR(this);if(b.errorCode==null||b.errorMessage==null||b.type==null)a=null;else for(var c=a=new LO(b.type,b.errorMessage,b.errorCode),d=b.innerError,e=0;e<3;++e)if(d instanceof Object){var f=new LO(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|| pP.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||(tR(this),this.A=!0,wR(this,b),this.dispatchEvent("start"));break;case "timeupdate":this.A&&(c=b.timeUnit,a=xR(b.currentTime,c),b=xR(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":wR(this,b);this.dispatchEvent("volumeChange");break;case "loadedmetadata":this.duration=he(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 wR=function(a,b){b=b.volume;typeof b!=="number"||isNaN(b)||b<0||b>1||(a.muted=b===0,a.volume=b)};lR.prototype.G=function(){this.A||this.dispatchEvent("mediaLoadTimeout")};var tR=function(a){a.B&&(qu(a.B),a.B=0)},xR=function(a,b){if(a===void 0)return a;switch(b){case "ms":return he(a)/1E3;default:return he(a)}};var yR=function(a,b){N.call(this);this.l=a;this.contentDuration=b;this.j=0;this.g=new gH(this);M(this,this.g)};w(yR,N);yR.prototype.Zc=function(){return this.j};yR.prototype.start=function(){this.stop();this.g.listen(this.l,"contentTimeUpdate",this.o)};yR.prototype.stop=function(){kH(this.g)};yR.prototype.o=function(a){a=a.Eb;a=xR(a.currentTime,a.timeUnit);a!==void 0&&(this.j=a,this.dispatchEvent(new jt("contentPlayheadChanged")))};var zR=function(a,b){jt.call(this,"OffsetTrackerEvent");this.l=a;this.g=b};w(zR,jt);var AR=function(a,b){N.call(this);this.j=a;this.g=b;this.sa=null;this.l=new gH(this);M(this,this.l)};w(AR,N);AR.prototype.remove=function(a){this.g.splice(this.g.indexOf(a),1)};AR.prototype.start=function(){this.stop();this.l.listen(this.j,"contentPlayheadChanged",this.o,!1);this.j.start()};AR.prototype.stop=function(){kH(this.l);this.j.stop()};AR.prototype.o=function(){BR(this)}; var BR=function(a){var b=a.j.Zc();if(!(isNaN(b)||b<0)){var c=CR(a,b);b=DR(a,b,a.j.contentDuration);c==null&&b==null||a.dispatchEvent(new zR(c,b))}},DR=function(a,b,c){var d=a.g.filter(function(f){return f!==-1&&b>=f-(EP.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-(EP.j?8:2):a.g.length===1||b>a.g[a.g.length-2]+1)?-1:null:null},CR=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},ER=function(a){var b=a.g.find(function(c){return c===-1?!0:a.j.Zc()<=c});return b==null?null:b};var FR=function(){this.g=new Map};FR.prototype.add=function(a,b){var c=this.g.get(a)||[];c.push.apply(c,v(b));this.g.set(a,c)};FR.prototype.remove=function(a){this.g.delete(a)};var HR=function(a){return GR(Array.from(a.g.keys()))};FR.prototype.getPodIndex=function(a){var b=HR(this);switch(a){case 0:return 0;case -1:return-1;default:return a=b.indexOf(a),b[0]===0?a:a+1}};var GR=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 IR=function(a,b,c){this.j=a;this.g=b;this.we=c};function JR(a,b){return KR("adPlayError",a,b===void 0?null:b,Da.apply(2,arguments))}function KR(a,b,c,d){if(c instanceof LO)return c;var e=b.getErrorCode();b=b.getMessage();if(d.length>0)for(var f=0;f1){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d2*this.size&&eS(this),!0):!1};var eS=function(a){if(a.size!=a.g.length){for(var b=0,c=0;b=d.g.length)return Hp;var f=d.g[b++];return{value:a?f:d.j[f],done:!1}};return e};var fS=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var hS=null,iS=function(){N.call(this);this.A=this.g=null;this.M="";this.G=this.H=this.P=null;this.K=-1;this.B=!1;this.j=new dS;this.l=new Map;this.o=new gH(this);M(this,this.o);this.F=new Map;mc().o=!0;cR()};w(iS,N); var jS=function(){hS==null&&(hS=new iS);return hS},mS=function(a,b){var c=a.Zb;cR()&&kS(jS(),c,b);var d=[];(lS(a).get("activeview")||[]).forEach(function(e){d.push.apply(d,v(e.j))});d.length&&jS().l.set(c,d)},nS=function(a){jS().F.delete(a.Zb);jS().l.delete(a.Zb)},kS=function(a,b,c){a.F.set(b,c)},oS=function(a,b){var c={};a=(c.queryId=a,c.viewabilityString=b,c);jS().dispatchEvent(WR({type:"measurable_impression",data:a}))},pS=function(a,b){var c={};a=(c.queryId=a,c.viewabilityString=b,c);jS().dispatchEvent(WR({type:"viewable_impression", data:a}))},qS=function(a,b,c){var d={};a=(d.queryId=a,d.viewabilityString=b,d.eventName=c,d);jS().dispatchEvent(WR({type:"externalActivityEvent",data:a}))},rS=function(a,b){a.g&&a.o.oa(a.g,"activityMonitor",a.D);a.g=b;a.o.listen(a.g,"activityMonitor",a.D);mR(a.g,"activityMonitor","getPageSignals")},sS=function(a){var b=jS();if(b.g)if(b.G)a(b.G+"_ct"+(Ta()-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.Ld());e.osdId=b.M;e.eventId=d;RQ().g&&(b.A=Ta(),e.loggingId=Math.random(),RQ().report(43,{step:"sendingMessage",logid:e.loggingId,time:b.A}));mR(b.g,"activityMonitor","fetchAdTagUrl",e)}else a("")};iS.prototype.destroy=function(){this.o.oa(this.g,"activityMonitor",this.D);this.g=null}; iS.prototype.D=function(a){var b=a.Eb;switch(a.messageType){case "appStateChanged":G(Rs);b=b.appState;a=ro();a.N!=b&&(a.N=b,(a=G(hr).g)&&Ao(a.g,!b));break;case "externalActivityEvent":qS(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":oS(b.queryId,b.viewabilityString);break;case "pageSignals":this.P=b.pageSignals;break;case "viewableImpression":pS(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;jS().G=b;jS().K=Ta();break;case "viewability":a= b.queryId;var 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=G(Rs);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 Ip),Zb(a.l,b.presenceData));a.Z==-1&&(a.Z=xn(),a.Rb=a.Za().g.g);a.da+=e?1:0;a.Xa++;gp(a.Ua,d,d,!1,1,!1);a.Tb=e||a.Tb;a=a.ta;c=b.position;a.g=new zn(c.top, c.right,c.bottom,c.left);a.A=b.exposure||0;a.l=b.screenShare;a=ro();c=b.insideIframe;c!==void 0&&c==0&&(a.l=!1);b.documentSize&&(a.o=new Ye(b.documentSize.width,b.documentSize.height));b.viewportSize&&(a.g=new zn(0,b.viewportSize.width,b.viewportSize.height,0))}break;case "engagement":a=b.eventId,clearTimeout(a),c=this.j.get(a),RQ().g&&(d=-1,this.A&&(d=Ta()-this.A),e=!1,c||(e=!0),Pb(b,"loggingId")&&RQ().report(43,{step:"receivedResponse",time:Ta(),timeout:e,logid:b.loggingId,timediff:d})),c&&(this.j.delete(a), c(b.engagementString))}};Ha("ima.bridge.getNativeViewability",function(a,b){jS();b({})});Ha("ima.bridge.getVideoMetadata",function(a){return(a=jS().F.get(a))?a():{}});Ha("ima.bridge.triggerViewEvent",pS);Ha("ima.bridge.triggerMeasurableEvent",oS);Ha("ima.bridge.triggerExternalActivityEvent",qS);var LF=["*.googlesyndication.com","gcdn.2mdn.net"];function tS(a){return a==null?!1:tc(a,".g.doubleclick.net")}function uS(a){return IF(a,ko()?"https":lf().location.protocol)};var vS=function(){this.A=null;this.duration=-1;this.C=this.creativeId=null;this.fb=[];this.ia="";this.V=new SQ;this.ad=null};l=vS.prototype;l.Ca=function(){var a;return(a=this.A)!=null?a:NaN};l.getDuration=function(){return this.duration};l.getCreativeId=function(){return this.creativeId};l.getCreativeAdId=function(){return this.C};l.mh=function(){return null};l.getApiFramework=function(){return null};var wS=function(a,b){a.ia=b};vS.prototype.getAd=function(){return this.ad}; var xS=function(a,b){a.fb=b};vS.prototype.getUniversalAdIds=function(){return this.fb};var yS=function(a){var b=new SQ;a.B().forEach(function(c){XQ(b,c.V)});return b};vS.prototype.B=function(){for(var a=[this],b,c=(b=this.ad)==null?void 0:b.Y;c;)b=zS(this,c)||zS(this,c,!0),b!=null&&a.push(b),c=c.Y;return a};var zS=function(a,b,c){c=c===void 0?!1:c;var d;return(d=b.pa.find(function(e){var f=e.Ca()===a.Ca();return e instanceof a.constructor&&(c||f)}))!=null?d:null};function AS(a){a=a.getApiFramework();return a==="VPAID"||a==="surveys"}var CS=function(a,b,c,d,e,f){vS.call(this);this.j=b;this.skipOffset=e;this.va=f;this.g=null;this.duration=a;this.Fc=BS(c);this.bb=d.slice()};w(CS,vS);var BS=function(a){return a.filter(function(b){return AS(b)&&!E(F(b.mimeType))&&b.mimeType.indexOf("x-shockwave-flash")!==-1?!1:!0})};l=CS.prototype;l.Qb=function(){var a,b;return(b=(a=this.j)==null?void 0:a.url)!=null?b:null};l.Me=function(){return TE(this.j)}; l.Df=function(){var a,b;return(b=(a=this.j)==null?void 0:a.g)!=null?b:null};l.getMediaUrl=function(){return this.g!=null?this.g.url:null};l.mh=function(){var a=DS(this);return a!=null?a.url:null};var DS=function(a){a=a.Fc.find(function(b){return AS(b)&&!E(F(b.mimeType))&&b.mimeType.indexOf("javascript")!==-1});return a!=null?a:null};CS.prototype.getApiFramework=function(){var a=this.g;return a!=null?a.getApiFramework():this.Fc.length===1?this.Fc[0].getApiFramework():null};var ES=function(a,b,c,d,e){vS.call(this);this.size=b;this.resourceType=c;this.creativeType=d;this.g=e;this.kb=!1;this.element=this.j=this.fa=null;this.Gc=-2;this.o=!1;this.Yb=null;E(F(a))&&(a="goog_"+ge++ +"_ima");this.id=F(a);this.creativeType==null?this.contentType=null:this.contentType=JO[this.creativeType]||"Other"};w(ES,vS);l=ES.prototype;l.ig=function(){return!E(F(this.g))}; l.getContent=function(){if(ko())return"";this.element==null&&(this.element=this.Uf(),rf(this.element,FS(this)));var a=this.element;if("outerHTML"in a)a=a.outerHTML;else{var b=pf($e(a),"DIV");b.appendChild(a.cloneNode(!0));a=b.innerHTML}this.o&&(a=a.replaceAll(RegExp("]+) attributionsrc([^>]+)>","g"),""));return a}; l.Uf=function(){var a=F(this.g);if(!E(F(this.Qb()))){a=new O(a);var b=encodeURIComponent(String(this.Qb()));a.g.set("clickTAG",b);a=a.toString()}b=of("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",uS(a));return GS(this,b)}; l.bd=function(a){var b=F(this.g);if(!E(F(this.Qb()))){b=new O(b);var c=encodeURIComponent(String(this.Qb()));b.g.set("clickTAG",c);b=b.toString()}return new HM({height:this.getHeight(),width:this.getWidth(),La:uS(b),attribution:a.ra},"embedded",a.tc)};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.ff=function(){return this.kb};l.getHeight=function(){return this.getSize().height}; l.getMinSuggestedDuration=function(){return G(HP).g(bB.g,bB.defaultValue)&&this.Gc<=0?45:this.Gc};l.pb=function(){return this.resourceType};l.getMediaUrl=function(){return this.g};l.mh=function(){return this.fa==="VPAID"&&this.contentType==="Javascript"?this.g:null};l.getApiFramework=function(){return this.fa};l.Qb=function(){var a,b;return(b=(a=this.j)==null?void 0:a.url)!=null?b:null};l.Me=function(){return TE(this.j)};l.Df=function(){var a,b;return(b=(a=this.j)==null?void 0:a.g)!=null?b:null}; var GS=function(a,b){var c=of("DIV");Qn(c,"cursor","default");Qn(c,"position","relative");Qn(c,"z-index","1001");Qn(c,"height",a.getHeight()+"px");a.getContentType()!=="Text"&&Qn(c,"width",a.getWidth()+"px");a=a.getAdId();E(F(a))||(c.id=a);c.appendChild(b);return c},FS=function(a){if(!a.o)return null;a=[].concat(v(yS(a).getEvents("start")),v(yS(a).getEvents("creativeView")));if(a.length>0){var b=[];a.forEach(function(c){var d=lB(c);if(!E(F(d))){var e=af().Yl("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"}); e.src=gd(WF).toString();c.j!=null&&e.setAttribute("attributionsrc",c.j||"");Qn(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",uS(d));e.setAttribute("id",c);b.push(e)}});return b}return null};ES.prototype.B=function(){for(var a=[this],b,c=(b=this.getAd())==null?void 0:b.Y;c;)b=this.o?zS(this,c)||zS(this,c,!0):HS(this,c)||HS(this,c,!0),b!=null&&a.push(b),c=c.Y;return a}; var HS=function(a,b,c){c=c===void 0?!1:c;return b.pa.find(function(d){var e=d.Ca()==a.Ca();return a instanceof d.constructor&&(c||e)})};var IS=function(a){this.L=I(a)};w(IS,L);IS.prototype.getUniversalAdIdValue=function(){return Yi(Ej(this,7))};IS.prototype.getUniversalAdIdRegistry=function(){return Yi(Ej(this,8))};var JS=[0,Bm,Dm,-1,km,tm,-1,xm,-1,Bm,tm,xm,Dm];var KS=function(a){this.L=I(a)};w(KS,L);KS.prototype.getType=function(){return Ni(Ej(this,1))};var LS=function(a,b){return Ck(a,1,b)};KS.prototype.getAdSystem=function(){return Yi(Ej(this,3))};var MS=function(a,b){Ck(a,4,b)};KS.prototype.getAdId=function(){return Yi(Ej(this,5))};KS.prototype.getCreativeId=function(){return Yi(Ej(this,6))};KS.prototype.getCreativeAdId=function(){return Yi(Ej(this,7))};var NS=[0,Dm,xm,-1,Dm,xm,-2,Bm,xm,JS,um];var OS=function(a){this.L=I(a)};w(OS,L);OS.prototype.g=Jm([0,ym,NS,tm,-1]);var PS=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]]),RS=function(a){var b=LS(new KS,a.l?2:1),c=a.ma;if(c&&c.adTagUrl){var d=null;try{d=(new O(c.adTagUrl)).j}catch(e){}d!= null&&d.length>0?d=d.slice(-40):d=null;Ak(b,2,d)}c=a.getAdSystem();c=c.length===0?null:c;MS(Ak(b,3,c),QS(a.F));c=a.getAdId();c=c.length===0?null:c;Ak(b,5,c);c=a.getCreativeId();c=c.length===0?null:c;Ak(b,6,c);c=a.getCreativeAdId();c=c.length===0?null:c;Ak(b,7,c);a=a.tb;c=a.A;d=a.o;c!=null&&d!=null&&d>=c&&xk(b,8,d-c);a=a.l.map(function(e){return e.vendor});Uj(b,11,a,Wi);return b},QS=function(a){return a>=1&&a<2?1:a>=2&&a<3?2:a>=3&&a<4?3:a>=4&&a<5?4:0},SS=function(a){a=a.trim().toLowerCase();a=a.split(" ")[0]; return PS.get(a)||0};var TS=[202,1009],US=!1;function VS(a,b,c){c=c===void 0?null:c;var d=a?a.j:null;if(a){var e=a.getAdPodInfo();var f=new YC;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 WS(d,e,b,a?a.ma:null,c)} function XS(a,b,c){b=b===void 0?null:b;var d=new Map;a=VS(b,c===void 0?null:c,a);YS(d,a);RD(a.error.getVastErrorCode(),d);ZS(d);$S(d,a);aT(d);c=a.error.getErrorCode();JD(d,"ERROR_MSG",a.error.getMessage());JD(d,"IMA_ERROR",c.toString());JD(d,"INTERNAL_ID","0");a=TS.includes(c);JD(d,"BLOCKING_ERROR",a?"1":"0");bT(d,b);return d}function cT(){var a=uQ().j;return(new O(a)).j||""}function dT(a){var b=new Map,c=VS(null,null);YS(b,c);c=b;c=c===void 0?new Map:c;JD(c,"REASON",a);return b} function eT(a,b){var c=new Map;b=VS(a,b===void 0?null:b);YS(c,b);ZS(c);$S(c,b);aT(c);bT(c,a);return c}function fT(){var a=SP(uQ().g);/^[\.\w_-]*$/.test(a)||US||(RQ().report(141,{tcstring:a}),US=!0)} function gT(a,b){var c,d,e,f,g,h,k;return z(function(m){if(m.g==1)return d=c=null,eR()&&(c="Google1",d="3.657.0"),(f=a.adTagUrl)!=null&&f.includes("GOOGLE_INSTREAM_VIDEO_NONCE")?m=y(m,b(a),3):(m.g=2,m=void 0),m;m.g!=2&&(e=m.j||void 0);g=uQ().vd;h=SP(uQ().g);k=QP(uQ().g);fT();var n=m.return;var p={Wj:"1",ma:a,appName:uQ().appName,pk:dR(),sj:$Q()?"0":TF()?"2":"1",Ig:c,Rj:d,domain:cT(),pageUrl:hT(a),Qe:EP.getPlayerType(),Re:EP.getPlayerVersion(),lf:"IMA",mf:"3.657.0",hj:gR(),Th:h,vd:g,yk:k,rm:e};p=p=== void 0?{}:p;var r=r===void 0?new Map:r;JD(r,"ADCATEGORIES","-1");JD(r,"ADCOUNT","-1");JD(r,"APIFRAMEWORKS",p.hj?p.hj.join(","):"-1");JD(r,"BLOCKEDADCATEGORIES","-1");var u;JD(r,"GOOGLE_INSTREAM_VIDEO_NONCE",(u=p.rm)!=null?u:"-1");JD(r,"EXTENSIONS","-2");JD(r,"MEDIAMIME",p.pk?p.pk.join(","):"-1");JD(r,"PLAYERCAPABILITIES","-1");JD(r,"VASTVERSIONS",Lb(dD).join(","));JD(r,"VERIFICATIONVENDORS","-2");p=KD(p,r);return n.call(m,p)})}function ZS(a){JD(a,"SDKV",tQ(uQ()))} function YS(a,b){var c=b.ad,d=b.Fb,e=b.ma;b=b.display;var f=uQ().appName,g=$Q()?"0":TF()?"2":"1",h=null,k=null;c instanceof OE&&c.fb.length>0&&(k=c.fb[0],h=k.getAdIdValue(),k=k.getAdIdRegistry());var m=null,n=null;eR()&&(m="Google1",n="3.657.0");var p=cT(),r=hT(e),u=EP.getPlayerType(),t=EP.getPlayerVersion(),x=SP(uQ().g),A=uQ().vd,H=QP(uQ().g);fT();LD({H:b,Wj:"1",Fb:d,ad:c,ma:e,appName:f,sj:g,Mn:h,Ln:k,Ig:m,Rj:n,Qe:u,Re:t,lf:"IMA",mf:"3.657.0",domain:p,pageUrl:r,Th:x,vd:A,yk:H},a)} function bT(a,b){ID(a,"CREATIVE_PLAYBACK",function(){if(b){var c=new OS;for(var d=[],e=b;e!=null;)d.push(RS(e)),e=e.Y;e=d[0];var f=new IS,g=b.g;if(g instanceof CS){if(Hj(f,5,Hi(!0)),g=g.g,g!=null){var h=g.mimeType||"";h=h.length===0?null:SS(h);Ck(f,2,h);h=g.Fa||0;h=xk(f,1,h<=0?null:h);var k=g.url;k!=null&&KF(k)?(k=(new O(k)).l,k=k!=null&&k.startsWith("/videoplayback")):k=!1;Ak(h,11,k?g.g:null)}}else g instanceof ES&&(Hj(f,5,Hi(!1)),g=g.creativeType||"",g=g.length===0?null:SS(g),g=Ck(f,2,g),xk(g,1, null));iT(b)!=null&&(EP.g===2?Ck(f,12,1):Ck(f,12,2));g=b.getDuration();g=Hj(f,4,Fi(g<0?null:g));h=b.getUniversalAdIdValue();g=Ak(g,7,h);h=b.getUniversalAdIdRegistry();Ak(g,8,h);h=b.tb;g=h.j;h=h.g;g!=null&&h!=null&&h>=g&&xk(f,9,h-g);Hj(f,10,Hi(!1));jk(e,10,f);d.reverse();d=lk(c,1,d);Hj(d,3,Hi((document.visibilityState||"")==="visible"));c=c.g();c=gh(c,3)}else c="";return c})} function aT(a){ID(a,"URL_SIGNALS",function(){var b=jS().P;!b&&window.Goog_AdSense_Lidar_getUrlSignalsArray&&(b=window.Goog_AdSense_Lidar_getUrlSignalsArray());return b?b[0]:""})}function $S(a,b){if(b.ad!=null){var c=b.ad.ga.get(zE);JD(a,"AQI",(c instanceof zE?c.g:"")||"");ID(a,"AD_V",function(){if(b.ad instanceof OE){var d=GN(b.ad);if(d!=null)return d}return"0"});JD(a,"FINAL","1")}}function hT(a){a=(a==null?void 0:a.pageUrl)||null;return NF(a)?a:uQ().j} var WS=function(a,b,c,d,e){this.ad=a;this.Fb=b;this.display=c;this.ma=d===void 0?null:d;this.error=e===void 0?null:e};function jT(a,b){a=kT(a);var c=new Map;ZS(c);var d=c;d=d===void 0?new Map:d;JD(d,"DEBUG_MESSAGE",b);OQ(a,c)};var lT={IMAGE:"Image",FLASH:"Flash",ALL:"All"},mT={HTML:"Html",IFRAME:"IFrame",STATIC:"Static",ALL:"All"},nT={IGNORE:"IgnoreSize",SELECT_EXACT_MATCH:"SelectExactMatch",SELECT_NEAR_MATCH:"SelectNearMatch",SELECT_FLUID:"SelectFluid"},oT=function(){this.allowCustom=!0;this.creativeType=this.resourceType="All";this.sizeCriteria="SelectExactMatch";this.nearMatchPercent=90;this.adSlotIds=[]}; Ha("module$exports$google3$javascript$ads$interactivemedia$sdk$clientside$api$companion_ad_selection_settings.CompanionAdSelectionSettings.CreativeType",lT);Ha("module$exports$google3$javascript$ads$interactivemedia$sdk$clientside$api$companion_ad_selection_settings.CompanionAdSelectionSettings.ResourceType",mT);Ha("module$exports$google3$javascript$ads$interactivemedia$sdk$clientside$api$companion_ad_selection_settings.CompanionAdSelectionSettings.SizeCriteria",nT);var qT=function(a,b){b=b===void 0?new oT:b;this.g=a;this.settings=b?b:new oT;this.resourceType=pT(mT,this.settings.resourceType)?this.settings.resourceType:"All";this.creativeType=pT(lT,this.settings.creativeType)?this.settings.creativeType:"All";this.sizeCriteria=pT(nT,this.settings.sizeCriteria)?this.settings.sizeCriteria:"SelectExactMatch";this.adSlotIds=this.settings.adSlotIds!=null?this.settings.adSlotIds:[];this.nearMatchPercent=typeof this.settings.nearMatchPercent==="number"&&this.settings.nearMatchPercent> 0&&this.settings.nearMatchPercent<=100?this.settings.nearMatchPercent:90},uT=function(a,b){var c=[];b.forEach(function(d){a.settings.allowCustom&&(d.ig()&&(isNaN(d.Ca())||isNaN(rT(d))||rT(d)===d.Ca())&&sT(a,d)?c.push(d):(d=tT(a,d),d!=null&&d.ig()&&c.push(d)))});return c};qT.prototype.pb=function(){return this.resourceType}; var sT=function(a,b){var c;if(c=b.getContentType()!=="Flash"){if(c=a.resourceType==="All"||a.resourceType===b.pb())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.ff())||a.g.kb)a=b&&a.g.kb;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||b0?k:-1;this.G=m?m.slice():[];this.K=n?n.slice():[];this.pa=p?p.slice():[];u!=null&&u.forEach(function(da,Tb){fa.ga.set(Tb,da)});this.Wa=(this.l=x!=null)?A:!1;this.Gd=this.l?H:!1;this.P=F(x);this.pa.forEach(function(da){da.ad=fa});this.o=new cI;eI(this.o,new PG);P&&eI(this.o,new VG);eI(this.o,new CF);eI(this.o,new jG);T(U(),"ghmsh_eids",vB());NT(this.o);this.j=dI(this.o,new yF([t]),new nD);OT(this,r)},NT=function(a){var b=[{type:"itag",Pd:22},{type:"itag", Pd:18}];(Ae||UF()||ue&&Be)&&b.unshift({type:"hls"});eI(a,new KG(new BI(b)))},QT=function(a){var b=a.g;return a.lc()?b.Fc:[]};l=PT.prototype;l.lc=function(){var a=this.g;return a!=null&&a instanceof CS};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 F(this.title)};l.getDescription=function(){return F(this.description)}; var RT=function(a){for(var b=[];a!=null;)b=[].concat(v(a.G),v(b)),a=a.Y;return b},ST=function(a){return a.Y!=null?ST(a.Y).concat(a.K):a.K};PT.prototype.getSurveyUrl=function(){return this.ba};PT.prototype.getDealId=function(){var a=this.dealId!=null?this.dealId:"",b=this.Y;return b!=null?(b=b.getDealId(),E(b)?a:b):a}; PT.prototype.getContentType=function(){if(iT(this)!=null)return"application/javascript";if(TT(this))return"image/jpeg";var a=this.g,b="";if(a===null)return b;if(a instanceof CS)a=a.g,a!==null&&(b=F(a.mimeType));else if(a instanceof ES)switch(a.pb()){case "IFrame":case "Html":b="text/html";break;case "Static":b=F(a.creativeType)}return b};var UT=function(a){return a.Y!=null?a.A.concat(UT(a.Y)):a.A};PT.prototype.getTraffickingParametersString=function(){return this.g!=null?this.g.ia:""}; var VT=function(a,b){return a.ga.get(b)},lS=function(a){for(var b=new Map;a;)a.ga.forEach(function(c,d){var e=b.get(d);e?b.set(d,[].concat(v(e),[c])):b.set(d,[c])}),a=a.Y;return b},WT=function(a,b){var c=[];a.ga.forEach(function(d){c=c.concat(ET(d,b))});return c},kT=function(a){return WT(a,"integrationDebug").map(function(b){return b+"&sdkv=[SDKV]"})},XT=function(a,b,c){c=c===void 0?null:c;a.g=b;a.C=new Ye(0,0);a.g&&(c=a.g,a.g instanceof ES&&(a.C=a.g.getSize()));if(b=a.Y){var d=zS(c,b)||zS(c,b,!0); XT(b,d,c)}c=a.Fb;a=a.getDuration();c.g=a},ZT=function(a){if(a.ma){var b=new yF(YT(a));a.j=dI(a.o,b)}},YT=function(a){return a.Y?[a.Wd].concat(v(YT(a.Y))):[a.Wd]},$T=function(a){var b=0;for(a=a.Y;a!=null;)a=a.Y,b++;return b};l=PT.prototype;l.getAdId=function(){return this.adId!=null?this.adId:""};l.getWrapperAdIds=function(){var a=VT(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?F(a.getCreativeAdId()):""};l.getCreativeId=function(){var a=this.g;return a!=null?(a=a.getCreativeId(),a!=null?a:""):""};l.getWrapperCreativeIds=function(){var a=VT(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=VT(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 aU=function(a){if(a.Y){var b=aU(a.Y);if(b)return b}return(a=VT(a,"metrics"))?a.j:null};PT.prototype.getUniversalAdIds=function(){var a=this.g;return a!=null?a.getUniversalAdIds():[]};PT.prototype.getUniversalAdIdValue=function(){var a=this.getUniversalAdIds();return a.length?a[0].getAdIdValue():"unknown"}; PT.prototype.getUniversalAdIdRegistry=function(){var a=this.getUniversalAdIds();return a.length?a[0].getAdIdRegistry():"unknown"};var bU=function(a){if(a.Y){var b=bU(a.Y);if(b)return b}return(a=VT(a,"metrics"))?a.l:null},cU=function(a){if(a.Y==null)return[a.D];var b=cU(a.Y);b.push(a.D);return b},dU=function(a){a=VT(a,"waterfall");return a==null?-1:a.j};PT.prototype.getPodIndex=function(){if(this.Da!==-1)return this.Da;var a=VT(this,"pod");return a==null?-1:a.Ca()}; PT.prototype.Td=function(){if(!this.M){this.M=!0;var a;(a=this.B)==null||a.Td(this.getDuration());a=this.Y;a!=null&&a.Td()}};var eU=function(a){var b;if((b=a.B)==null?0:b.Nf())return a.B;a=a.Y;return a!=null?eU(a):null};PT.prototype.getCompanionAds=function(a,b){b=b===void 0?new oT:b;return uT(new qT(a,b),UT(this))};PT.prototype.lg=function(){for(var a=this;a;){if(fU(a))return!1;a=a.Y}return!0}; var gU=function(a,b){return b||a.Y==null?a.J:a.J.concat(gU(a.Y))},OT=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){hU(c,a)})},iU=function(a,b){return a.pa.some(function(c){return c instanceof CS&&b==="linear"||c instanceof ES&&b==="nonlinear"?!0:!1})};PT.prototype.isLinear=function(){return this.T?this.W:jU(this)?!0:iU(this,"linear")};PT.prototype.isSkippable=function(){return kU(this)!=null}; var jU=function(a){var b=a.g,c=a.ma!=null&&a.ma.forceNonLinearFullSlot!=null&&a.ma.forceNonLinearFullSlot;return fU(a)&&b!=null&&b instanceof ES&&(a.C.height>90||c)},lU=function(a,b){if(b==null)return null;var c=VT(b,"adx");return c!=null?c:lU(a,b.Y)},kU=function(a){var b=lU(a,a.Y);if(b!=null)return b.isSkippable()?b.offset:null;b=null;var c=new LT(5,!1);a:{var d=q(a.ga.values());for(var e=d.next();!e.done;e=d.next())if(ET(e.value,"skip").length!==0){d=!0;break a}d=a.ga.get("DFP");d=d instanceof FT&& d.j?!0:!1}e=a.g;b==null&&e!=null&&e instanceof CS&&(b=e.skipOffset);b==null&&d&&(b=c);return jU(a)?(VT(a,"AdSense"),new LT(5,!1)):b};PT.prototype.getSkipTimeOffset=function(){var a=kU(this);if(a!=null){var b=this.getDuration();a.g&&b>0&&(a.g=!1,a.value=a.value*b/100);return UQ(a)}return-1};var mU=function(a){return a.g!==null?a.g.Qb():null},nU=function(a){return a.g!=null?a.g.Me():null},oU=function(a){return a.g!=null?a.g.getDuration():-1},pU=function(a){return a.N!=null?a.N:0}; PT.prototype.getDuration=function(){if(jU(this))return VT(this,"AdSense"),15+pU(this);if(this.l){var a=VT(this,"wrapper_info");if(a)return a.getDuration()}return oU(this)+pU(this)};PT.prototype.getMediaUrl=function(){var a=null,b=this.g;b!=null&&(a=b.getMediaUrl(),E(F(a))&&(a=null));return a};var iT=function(a){return a.g!==null?a.g.mh():null},rU=function(a){a=VT(a,"InfoCards");return a!=null&&qU(a)!=null};l=PT.prototype; l.getVastMediaWidth=function(){var a=0,b=this.g;b&&(b instanceof CS?(b=b.g,b!==null&&(a=b.getWidth())):b instanceof ES&&(a=b.getSize().width));return a};l.getVastMediaHeight=function(){var a=0,b=this.g;b&&(b instanceof CS?(b=b.g,b!==null&&(a=b.getHeight())):b instanceof ES&&(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 ES?this.g.getMinSuggestedDuration():this.g.getDuration()};l.getAdPodInfo=function(){return this.Fb}; var fU=function(a){return["ADSENSE","ADSENSE/ADX","ADSENSE-VIRAL"].includes(a.D)},TT=function(a){return a.lc()?a.g.bb.some(function(b){return F(b.fa)==="Safeframe"}):!1},sU=function(a){return a.lc()?a.g.bb.some(function(b){return F(b.fa)==="SIMID"}):!1},tU=function(a,b,c){a.disableUi=c&&b;(c||b)&&RQ().report(60,{ui_disabled_available:c,ui_disable_requested:b},!0);return a.disableUi},uU=function(a){var b=[];a.g instanceof CS&&b.push.apply(b,v(a.g.va));a.Y&&b.push.apply(b,v(uU(a.Y)));var c=new Set, d=[];b.forEach(function(e){c.has(e.Ab)||(c.add(e.Ab),d.push(e))});return d},vU=function(a){var b=a.Z.slice();a=VT(a,"adVerifications");a!=null&&(b=b.concat(a.yc()));return b};PT.prototype.yc=function(){var a=vU(this),b=this.Y;b!=null&&(a=b.yc().concat(a));return a}; var xU=function(a){for(var b=wU(a),c;((c=a)==null?void 0:c.Y)!=null;){a=a.Y;var d=void 0;b=((d=a)==null?void 0:wU(d))||b}return b},wU=function(a){a=a.ga.get("EoidCookieExtension");return a instanceof GT?a.j:null},zU=function(a,b){for(var c=yU(a,b),d;((d=a)==null?void 0:d.Y)!=null;){a=a.Y;var e=void 0;c=((e=a)==null?void 0:yU(e,b))||c}return c},yU=function(a,b){a=a.ga.get(b?"GfpCookieV2Extension":"GfpCookieV1Extension");return a instanceof JT?a.j:null}; PT.prototype.getVastMediaBitrate=function(){if(this.lc()){var a=this.g.g;if(a!=null)return a.Fa||0}return 0}; var AU=function(a){var b={};b.adId=a.getAdId();b.adPodInfo=qR(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.Me(),b.clickThroughUrl=c.Qb()||"");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=MT(a.getUniversalAdIds());b.universalAdIdRegistry= a.getUniversalAdIdRegistry();b.universalAdIdValue=a.getUniversalAdIdValue();b.vpaid=iT(a)!=null;b.width=a.getWidth();b.vastMediaBitrate=a.getVastMediaBitrate();b.vastMediaHeight=a.getVastMediaHeight();b.vastMediaWidth=a.getVastMediaWidth();return b},BU=function(a){var b=a.g,c=b!=null?yS(b):new SQ;ST(a).forEach(function(d){VQ(c,"impression",d.url,null,d.g)});RT(a).forEach(function(d){VQ(c,"error",d)});lS(a).forEach(function(d){d.forEach(function(e){XQ(c,e.g)})});return c.V},CU=function(a){for(var b= [];a!=null;)a.ga.forEach(function(c){b=[].concat(v(b),v(c.ve))}),a=a.Y;return b};PT.prototype.isCustomClickTrackingUsed=function(){return(this.lg()?TF():!1)&&uQ().je};function DU(a,b){var c=F(a);E(c)?b=a:YE(c)?(a=c,c=tQ(uQ()),a=ZE(a,"&sdkv="+c),uQ().P&&(a=ZE(a,"&ssss=gima")),b!=="impression"&&b!=="click"&&(a=ZE(a,"&vci=[CREATIVE_PLAYBACK]")),b=a):b=c;return b}function EU(a){a=F(a);if(E(a))return!1;try{Yd(a)}catch(b){return!1}return!0};var FU=function(a,b){this.g=a;this.j=b};var GU=function(a,b,c){this.g=a;this.qh=b;this.l=c;this.j=null};l=GU.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.ff=function(){return this.g.ff()};l.ig=function(){return this.g.ig()};l.Ca=function(){return this.g.Ca()}; var rT=function(a){var b;a=(b=a.g.getAd())==null?void 0:b.g;return a!=null?a.Ca():NaN};l=GU.prototype;l.getSize=function(){return this.g.getSize()};l.pb=function(){return this.g.pb()};l.getAdSlotId=function(){return this.l};l.getApiFramework=function(){return this.g.getApiFramework()||""};l.getAd=function(){return this.g.getAd()}; var hU=function(a,b){a.g.ad=b;a.qh.forEach(function(c){hU(c,b)});HU(a,b)},HU=function(a,b){var c,d;a.j=((d=((c=lS(b).get("companionAta"))!=null?c:[])[0])==null?void 0:d.j)||null},IU=function(a){var b={};b.apiFramework=a.getApiFramework();b.content=a.getContent();b.size=a.getSize();b.fluidSize=a.ff();b.resourceType=a.pb();b.resourceValue=a.g.g;b.contentType=a.getContentType();b.sequenceNumber=a.Ca();b.mainAdSequenceNumber=rT(a);b.adSlotId=a.getAdSlotId();b.backupCompanions=a.qh.map(function(c){return IU(c)}); b.height=a.getSize().height;b.width=a.getSize().width;return b};var JU=function(a,b,c,d){ES.call(this,a,b,"Html",c,d)};w(JU,ES);JU.prototype.bd=function(a){return new HM({height:this.getHeight(),width:this.getWidth(),La:this.g,attribution:a.ra},"html",a.tc)};JU.prototype.Uf=function(){var a=of("DIV");Sd(a,KB(this.g));return GS(this,a)};var KU=function(a,b,c,d){ES.call(this,a,b!=null?b:new Ye(0,0),"Static",c,d);this.l=b==null};w(KU,ES);KU.prototype.getContent=function(){var a=ES.prototype.getContent.call(this);this.o&&(a=a.replace(' src=""',' src="'+uS(F(this.g))+'"'));return a};KU.prototype.bd=function(a){var b=this.o?"":uS(F(this.g));return new HM({height:this.l?void 0:this.getHeight(),width:this.l?void 0:this.getWidth(),La:b,attribution:a.ra},"image",a.tc)}; KU.prototype.Uf=function(){var a=this.bd(new KT).Ha(),b=of("a",{target:"_blank",id:this.getAdId()});b.setAttribute("href",uS(F(this.Qb())));UE(this.j,b);b.appendChild(a);return b};var LU=function(a,b){ES.call(this,a,b,"Static","text","");this.l=null};w(LU,ES);LU.prototype.getSize=function(){return new Ye(this.getWidth(),this.getHeight())};LU.prototype.getHeight=function(){return 63};LU.prototype.getWidth=function(){return this.l!=null?bo(this.l).width:0};var MU=function(a,b){if(b!=null){var c=of("a");c.setAttribute("href",uS(F(a.Qb())));UE(a.j,c);var d;(d=b.parentElement)==null||d.replaceChild(c,b);c.appendChild(b)}}; LU.prototype.Uf=function(){this.l=this.bd(new KT).Ha();this.l.id=this.getAdId();MU(this,ef("textImageContainer",this.l));MU(this,ef("overlayTextTitle",this.l));return this.l}; var NU=function(a,b){var c=a.getAd();if(!c)return{};a=VT(c,"AdSense");var d=VT(c,"TextAd"),e=d.qe||"",f="rtl";e!=null&&(f=Sz.test.call(Sz,e)?"rtl":"ltr");e={title:e,text:(d.re||"")+" "+(d.se||""),dir:f};if(d=d.Ia)e.image=uS(d),c=c.pa.find(function(g){return g instanceof CS}),c!=null&&(e.duration=$C(c.getDuration()));a.Pc&&(e.Pc=a.Pc);e.attribution=a.ra?a.ra:b;return e};LU.prototype.bd=function(a){return new HM(NU(this,a.ra),"text",a.tc)};function OU(a,b,c){if(c.length===0)return new ES(a,b,"",null,"");var d=PU(c);c=d.pb();var e=d.creativeType;d=d.g;RQ().report(95,{rt:c,ct:e});switch(c){case "Html":return new JU(a,b,e,d);case "Static":if(e!=null)switch(JO[e]){case "Image":return new KU(a,b,e,d);case "Text":return new LU(a,b)}}return new ES(a,b,c,e,d)} function PU(a){var b=a.find(function(f){return f.pb()==="IFrame"}),c=a.find(function(f){return f.pb()==="Html"}),d=a.find(function(f){var g=f.creativeType;return f.pb()==="Static"&&g!=null&&JO[g]==="Image"}),e=a.find(function(f){var g=f.creativeType;return f.pb()==="Static"&&g!=null&&JO[g]==="Text"});return b!=null?b:c!=null?c:d!=null?d:e!=null?e:a[0]};function QU(a,b,c,d,e){var f=PU(e),g=OU(a.id,a.size,[f]),h=function(m){m.o=!0;m.fa=a.fa;m.j=b;m.A=c;d&&(m.V=d);m.kb=!!a.kb};h(g);e.splice(e.indexOf(f),1);var k=[];e.forEach(function(m){m=OU(a.id,a.size,[m]);h(m);k.push(new GU(m,[],a.yd))});return new GU(g,k,a.yd)};var RU=function(a,b,c){this.resourceType=a;this.creativeType=b;this.g=c};RU.prototype.pb=function(){return this.resourceType};RU.prototype.getContentType=function(){return this.creativeType==null?null:JO[this.creativeType]||"Other"};var SU=function(a,b){CT.call(this,b);this.j=a};w(SU,CT);var TU=function(a){CT.call(this);this.duration=a};w(TU,CT);TU.prototype.getDuration=function(){return this.duration};var UU=function(a){CT.call(this);this.sb=a};w(UU,CT);UU.prototype.yc=function(){return this.sb};var VU=function(a,b,c,d,e,f,g,h,k){CT.call(this,h,k);this.ra=a;this.vb=b;this.ee=c;this.Pc=d;this.j=e;this.uiConfig=f;this.Fe=g};w(VU,CT);var WU=function(a,b){CT.call(this);this.j=a;this.offset=b};w(WU,CT);WU.prototype.isSkippable=function(){return this.j};var XU=function(a){CT.call(this);this.j=a};w(XU,CT);var YU=function(a){CT.call(this);this.kf=a};w(YU,CT);var ZU=function(a){CT.call(this);this.j=a};w(ZU,CT);var $U=function(a){CT.call(this);this.j=a};w($U,CT);var aV=function(a,b){CT.call(this,b);this.Cd=a};w(aV,CT);var qU=function(a){var b=[];a=q(a.Cd);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 bV=function(a,b,c){CT.call(this);this.j=a;this.l=b;this.o=c};w(bV,CT);var cV=function(a,b){CT.call(this);this.j=a;this.l=b};w(cV,CT);var dV=function(a){CT.call(this);this.j=a};w(dV,CT);var eV=function(a){CT.call(this);this.dealId=a};w(eV,CT);eV.prototype.getDealId=function(){return this.dealId};var fV=function(a,b,c,d,e){e=e===void 0?null:e;CT.call(this);this.l=a;this.A=b;this.j=c;this.o=d;this.C=e};w(fV,CT); fV.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/"+Zd(a)+".js":"";a=b.document;var h={};d&&(h._scs_=d);h._bgu_=g;h._bgp_=e;h._li_="v_h.3.657.0";f&&(h._upb_=f);(d=b.GoogleTyFxhY)&&typeof d.push=="function"||(d=b.GoogleTyFxhY=[]);d.push(h);d=af(a);d=pf(d.g,"SCRIPT");d.type="text/javascript";d.async=!0;c=Ue(ht,Zd(c)+".js");Wd(d,c);(b=(b.GoogleTyFxhYEET||{})[d.src])? b():a.getElementsByTagName("head")[0].appendChild(d)}};var gV=function(a,b,c,d,e,f){CT.call(this);this.qe=a;this.re=b;this.se=c;this.Ia=d;this.imageWidth=e;this.imageHeight=f};w(gV,CT);var hV=function(a){CT.call(this);this.j=a};w(hV,CT);var iV=function(a){CT.call(this);this.j=a};w(iV,CT);iV.prototype.Ca=function(){return this.j};var jV=function(a){CT.call(this);this.j=isNaN(a)?-1:a};w(jV,CT);var kV=function(a,b,c,d,e,f,g,h,k,m){k=uS(F(k));nF.call(this,k,{height:h,width:g,yb:a,mimeType:b,fa:m,bitrate:d,Fa:e,maxBitrate:f,codec:c});this.g=JG(k)};w(kV,nF);kV.prototype.getWidth=function(){return this.width||0};kV.prototype.getHeight=function(){return this.height||0};kV.prototype.getApiFramework=function(){return this.fa};var mV=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,n,p){if(m=="%")return"%";var r=c.shift();if(typeof r=="undefined")throw Error("[goog.string.format] Not enough arguments");arguments[0]=r;return lV[m].apply(null,arguments)})},lV={s:function(a,b,c){return isNaN(c)||c==""||a.length>=Number(c)?a:a=b.indexOf("-",0)>-1? a+ee(" ",Number(c)-a.length):ee(" ",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+ee(" ",a):f+ee(b.indexOf("0",0)>=0?"0":" ",a)+d},d:function(a,b,c,d,e,f,g,h){return lV.f(parseInt(a, 10),b,c,d,0,f,g,h)}};lV.i=lV.d;lV.u=lV.d;var nV=function(a){this.j=a};w(nV,PO);nV.prototype.g=function(){var a=this;try{var b=oV(this)}catch(d){throw MR(iP,d);}var c=b.g.map(function(d){d=a.getAd(d);var e=RE(a.j)||0;d.F=e;jT(d,"vl");return d});return new IR(c,null,b.we)}; nV.prototype.getAd=function(a){var b=a.Ta,c=null,d=null,e=!1,f=null,g=!1,h=null,k=null;b instanceof NG?(c=b.Hf,d=b.zd,f=b.description,h=b.yf):b instanceof FH&&(e=b.Wa,g=b.Gd,k=b.Ff);var m=pV(b.ga),n=m==null;a:{var p=b.Na;if(E(F(p)))p="UNKNOWN";else switch(p=p.toUpperCase(),p){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:p="UNKNOWN"}}return new PT(a.id||"",b.Na,p,c,d,f,h,this.getDealId(b.ga),a.Da||0,qV(b.g),rV(b.j),sV(this,b.pa,m),tV(this,b.pa),uV(this,b.ga,n),a,k,e,g,this.yc(b.sb),!m)}; var pV=function(a){if(!uQ().l&&$Q())return qB(DC)||qB(EC)||qB(GC)||qB(HC)||qB(FC)?ZB(U(),"ima_lvp_nss_ycs"):ZB(U(),"ima_lvp_nss_ncs"),null;if(!(qB(DC)||qB(EC)||qB(GC)||qB(HC)||qB(FC)))return ZB(U(),"ima_lvp_ncs"),null;ZB(U(),"ima_lvp_ycs");var b=a.find(function(e){return e instanceof UG}),c=a.find(function(e){return e instanceof fG});if(!(b instanceof UG)||c)return ZB(U(),"ima_lvp_ycs_ns"),null;c=a.find(function(e){return e instanceof mG});a=a.find(function(e){return e instanceof EF});var d={};return d.channelCustomUrl= b.Of,d.channelId=b.Tc,d.channelThumbnailUrl=b.be,d.channelTitle=b.ce,d.cpn=c instanceof mG?c.o:null,d.format=b.format,d.isSkippable=b.format!=="BUMPER"&&b.format!=="NONSKIPPABLE",d.isTrueView=b.Cc,d.isVideoUnlisted=b.Od,d.title=b.Je,d.videoThumbnailUrl=b.zf,d.wtaUrl=a instanceof EF?a.Yb:null,d.youtubeVideoId=b.Oc,d.engagedViewUrls=[],d.infoCards=[],d},vV=function(a,b){return EU(a)?DU(a,b):null},qV=function(a){var b=[];a.forEach(function(c){(c=vV(c,"error"))&&b.push(c)});return b},rV=function(a){var b= [];a.forEach(function(c){var d=vV(c.url,"impression");d&&b.push(new gB(d,c.g))});return b},tV=function(a,b){var c=[];b.forEach(function(d){d.de!=null&&(d=a.getCompanionAds(d.de,d.Da||0),c.push(d))});return c};nV.prototype.getCompanionAds=function(a,b){var c=this,d=[];a.g.forEach(function(e){(e=wV(c,e,b))&&d.push(e)});return new FU(d,xV(a.j))}; var wV=function(a,b,c){var d={fa:b.fa,size:a.getSize(b.width,b.height),id:b.id,yd:b.yd,kb:b.kb},e=b.Rf||null;a=yV(a,b.resources);if(a.length===0)return null;var f=zV(b.V);b.Sf.forEach(function(g){VQ(f,"click",g.url,null,g.g)});return QU(d,e,c,f,a)},xV=function(a){a=a!=null?a.toLowerCase():"";return a==="all"?"all":a==="any"?"any":"none"},sV=function(a,b,c){var d=[];b.forEach(function(e){e.Ub!=null?d.push(AV(a,e,c)):e.xe!=null&&(d=d.concat(BV(a,e)))});return d},AV=function(a,b,c){var d=b.Ub,e=d.bb; e.length>0?ZB(U(),"ima_lvp_nvs"):ZB(U(),"ima_lvp_yvs");c&&(e=mV("https://imasdk.googleapis.com/js/simid/simid_trueview_%s.html",EP.getLocale()),e=[new jF(new cF(e,"Url"),{mimeType:"text/html",fa:"SIMID",He:!1})]);e=new CS(d.duration?d.duration/1E3:0,CV(d.wd),DV(d.Fc),e,EV(d.Ob),FV(a,d.va));var f=zV(d.V);GV(d.wd).forEach(function(g){VQ(f,"click",g.url,null,g.g)});d.wd&&d.wd.Se.forEach(function(g){c&&qB(EC)&&g.id==="engagedView"?c.engagedViewUrls.push(g.url):VQ(f,g.id?g.id:"",g.url)});c?wS(e,JSON.stringify(c)): e.ia=d.ia||"";e.A=b.Da||0;e.creativeId=b.id;e.C=b.adId;f&&(e.V=f);xS(e,a.getUniversalAdIds(b.fb));return e},BV=function(a,b){var c=b.xe,d=zV(c.V);c=c.g.map(function(f){return HV(a,f,d)});if(c.length===0&&!d.isEmpty()){var e=new ES(null,new Ye(-1,-1),"",null,"");d&&(e.V=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},HV=function(a,b,c){var d=-1;b.Gc!=null&&(d=b.Gc/1E3);a=OU(b.id,a.getSize(b.width,b.height),yV(a,b.resources)); a.ia=b.ia||"";a.fa=b.fa;a.j=b.Fg;var e=new SQ;b.Gg.forEach(function(f){VQ(e,"click",f.url)});XQ(e,c);e&&(a.V=e);a.Gc=d;return a},yV=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.pb(e.resourceType);g==null||c&&g!=="Static"||f==="text/javascript"||d.push(new RU(g,f,e.g))});return d},FV=function(a,b){var c=[];b.forEach(function(d){(d=IV(a,d))&&c.push(d)});return c},IV=function(a,b){a=yV(a,b.resources,!0);if(a.length===0)return null; a=PU(a);var c=new GE;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.rf?b.rf:1;c.Cb=b.Cb?b.Cb.toLowerCase():"left";c.Db=b.Db?b.Db.toLowerCase():"top";c.Ga=b.Ga!=null?b.Ga:0;c.Gb=b.Gb!=null?b.Gb:-1;var d=CV(b.ne),e;c.A=(e=d==null?void 0:d.url)!=null?e:null;c.C=TE(d);c.B=GV(b.ne).map(function(f){return f.url});c.l=JV(b.ne);c.J=b.af;c.o=a.g;c.D=a.creativeType;return c},DV=function(a){var b=[];a.forEach(function(c){c=new kV(c.yb?c.yb.toLowerCase(): null,c.mimeType?c.mimeType.toLowerCase():null,c.codec?c.codec.toLowerCase():null,c.Fa||0,c.Fa||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},CV=function(a){var b;return(b=a==null?void 0:a.Hb)!=null?b:null},GV=function(a){var b=[];return a==null?b:a.vc},JV=function(a){return(a==null?[]:a.Pf).map(function(b){var c=new FE;c.j=b.width||0;c.g=b.height||0;c.l=b.La?b.La.g:"";c.ib=b.ib;return c})},zV=function(a){var b=new SQ;a.forEach(function(c){var d= vV(c.url,c.eventType);if(d){var e=EV(c.Ga);e==null&&c.Qd!=null&&(e=new LT(c.Qd,!0));VQ(b,c.eventType,d,e,c.g)}});return b};nV.prototype.pb=function(a){switch(a){case "Static":case "IFrame":case "Html":return a;default:return null}}; var uV=function(a,b,c){var d=new Map;b.forEach(function(e){var f=KV(a,e);e=f.type;f=f.jm;if(e!=null&&f!=null&&(c||e!=="InfoCards")){var g=d.get(e);g==null?d.set(e,f):e==="generic"&&DT(g,f.g)}});return d},KV=function(a,b){var c=null,d=null;if(b instanceof BF)c="activeview",d=new SU(b.g,zV(b.V));else if(b instanceof KN)c="wrapper_info",d=new TU(b.duration/1E3);else if(b instanceof QG)c="adVerifications",b=a.yc(b.sb),b.length!==0&&(d=new UU(b));else if(b instanceof fI)c="adx",d=new WU(b.j,EV(b.g));else if(b instanceof EF)c="AdSense",d=zV(b.V),d=new VU(b.ra,b.vb,b.ee,b.Pc,b.Yb,LV(b.uiConfig),b.Fe,d,b.ve);else if(b instanceof gI)c="DFP",d=new FT(b.g==="Generic",zV(b.V));else if(b instanceof gG)c="EoidCookieExtension",d=new GT(xE(wE(vE(uE(new tE,b.value),b.g),b.path),b.domain));else if(b instanceof kG)c=b.j?"GfpCookieV2Extension":"GfpCookieV1Extension",d=new JT(xE(wE(vE(uE(new tE,b.value),b.g),b.path),b.domain));else if(b instanceof mG)c="GoogleHostedMediaExtension",d=new ZU(b);else if(b instanceof MG)try{var e=Ru(be(b.g)); d=new $U(e);c="GpidWtaExtension"}catch(g){}else if(b instanceof MN)c="inred_info",d=new bV(b.g,b.j,b.l);else if(b instanceof OG)c="metrics",d=new cV(b.g,b.gb);else if(b instanceof ON)c="pod",d=new iV(b.Da);else if(b instanceof RG)c="programmatic",d=new eV(b.dealId);else if(b instanceof SG)c="sodar",d=new fV(b.l,b.o,b.g,"",b.j);else if(b instanceof PN)c="TextAd",d=new gV(b.qe,b.re,b.se,b.Ia,b.imageWidth,b.imageHeight);else if(b instanceof TG)c="uiSettings",d=new hV(b.g);else if(b instanceof QN)c="waterfall", d=new jV(b.g);else if(b instanceof AF)c="generic",d=new CT(zV(b.V));else if(b instanceof fG){c="InfoCards";var f=[];b.Cd.forEach(function(g){return f.push.apply(f,v(g.V))});d=new aV(b.Cd,zV(f))}else if(b instanceof hG)c="esp",d=new HT(b.g);else if(b instanceof LN)c="watermark",d=new YU(b.kf,b.j,b.g);else if(b instanceof NN){if(b=IV(a,b.g))c="nonlinearAta",d=new dV(b)}else b instanceof FF&&(b=IV(a,b.g))&&(c="companionAta",d=new XU(b));return{type:c,jm:d}}; nV.prototype.getUniversalAdIds=function(a){return a.map(function(b){return new NE(b.cf,b.bf)})};nV.prototype.yc=function(a){var b=[];a.forEach(function(c){if(c.De!=null){var d=zV(c.V).getEvents("verificationNotExecuted");b.push(new AE(c.De,{Lc:c.Lc||void 0,V:d,vendor:c.vendor||void 0,parameters:c.parameters||void 0}))}});return b};var LV=function(a){var b=new KT;if(a==null)return b;a.ra!=null&&(b.ra=a.ra);b.vb=a.vb;b.Bd=a.Bd;b.tc=a.tc;return b}; nV.prototype.getDealId=function(a){var b="";a.forEach(function(c){c instanceof RG&&(b=c.dealId||"")});return b};nV.prototype.getSize=function(a,b){return new Ye(a!=null?a:NaN,b!=null?b:NaN)}; var EV=function(a){return a==null?null:new LT(a/1E3,!1)},oV=function(a){var b=new XH;YH(b,new RN);YH(b,new WN);YH(b,new TN);YH(b,new $N);YH(b,new fO);YH(b,new mO);YH(b,new tO);YH(b,new hO);YH(b,new xO);YH(b,new cO);YH(b,new iO);YH(b,new aO);YH(b,new qO);YH(b,new XN);YH(b,new gO);YH(b,new bO);YH(b,new SN);YH(b,new VN);YH(b,new ZN);YH(b,new oO);YH(b,new pO);YH(b,new rO);YH(b,new sO);YH(b,new uO);YH(b,new vO);YH(b,new wO);YH(b,new YN);var c=a.j;if(!c)throw Error("VAST string is empty.");if(!QE(c))throw Error("Response string is not a valid VAST document."); a=[];var d=[];c=q(uf(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=GH(f,"sequence");e.Sc=f.getAttribute("adType");f=q(uf(f));for(var k=f.next();!k.done;k=f.next()){var m=k.value;if(m.nodeName=="InLine"){var n=k=f=g=void 0,p=void 0,r=void 0,u=void 0,t=[],x=[],A=[],H=[];m=q(uf(m));for(var C=m.next();!C.done;C=m.next()){var P=C.value;switch(P.nodeName){case "AdServingId":u=V(P);break;case "AdSystem":r=V(P);break; case "AdTitle":p=V(P);break;case "AdVerifications":H=H.concat(NH(P));break;case "Advertiser":n=V(P);break;case "Creatives":C=q(uf(P));for(P=C.next();!P.done;P=C.next())P=P.value,P.nodeName=="Creative"&&A.push(aI(P));break;case "Description":k=V(P);break;case "Error":V(P)!=null&&t.push(V(P));break;case "Extensions":g=ZH(h,uf(P));break;case "Impression":C=RH(V(P));P=KH(P);C!=null&&x.push(new uF(C,P));break;case "Survey":f=V(P)}}g=new NG({xd:u,Na:r,zd:p,Hf:n,description:k,yf:f,errors:t,Ac:x,pa:A,sb:H, ga:g});break}else if(m.nodeName=="Wrapper"){f=k=g=void 0;n=h;H=m;p=[];r=[];u=[];h=[];t=H.getAttribute("followAdditionalWrappers")!="false";x=H.getAttribute("allowMultipleAds")=="true";A=H.getAttribute("fallbackOnNoAd")=="true";H=q(uf(H));for(m=H.next();!m.done;m=H.next())switch(C=m.value,C.nodeName){case "AdSystem":f=V(C);break;case "VASTAdTagURI":k=(k=V(C))?k:void 0;break;case "Creatives":m=q(uf(C));for(C=m.next();!C.done;C=m.next())C=C.value,C.nodeName=="Creative"&&u.push(aI(C));break;case "Error":m= V(C);m!=null&&p.push(m);break;case "AdVerifications":h=h.concat(NH(C));break;case "Extensions":g=ZH(n,uf(C));break;case "Impression":m=RH(V(C)),C=KH(C),m!=null&&r.push(new uF(m,C))}g=new FH({Na:f,Gd:t,Wa:x,Qh:A,Ff:k,errors:p,Ac:r,pa:u,sb:h,ga:g});break}}if(!g)throw Error("Vast Ad contains neither inline nor wrapper data.");a.push(new xF(g,e));break;case "Error":(e=V(f))&&d.push(e)}}aC(["lima_p_ich","lima_p_icu"]);return new EH({ads:a,we:d})};var MV=function(a,b){this.j=a;this.ma=b;this.adsResponse=null;RQ().report(115,{vmap:!0})};w(MV,PO);MV.prototype.g=function(){this.adsResponse||(this.adsResponse=new IR(null,NV(this),[]));return this.adsResponse}; var NV=function(a){var b=new FR,c=new EO;FO(c);try{var d=HO(c,a.j)}catch(e){throw MR($O);}d.g.forEach(function(e){var f=e.j;var g=f.Gf;f=f.Wd;g?g=oD(a.ma,g):f?(g=a.ma.clone(),g.adTagUrl=null,g.adsResponse=f,g.A=!0):g=null;g!=null&&(g=OV(e,g),b.add(e.g,[g]))});if(HR(b).length===0)throw MR($O);return b},OV=function(a,b){b=new YQ(b);var c=new SQ;a.ga.find(function(d){return d instanceof CO})&&(b.g=!0);a.V.forEach(function(d){var e=d.eventType,f=DU(d.url,e);f&&EU(f)&&e!=null&&VQ(c,d.eventType,f)});b.V= c;return b};function PV(a,b){if(a!=null){if(a&&a.nodeName==="Playlist")return new OR(a,b);if(GO(a))return new MV(a,b);if(QE(a))return new nV(a)}return null};var QV=function(){So.apply(this,arguments);this.g=new Set};w(QV,So);var RV=function(a,b){var c=pu(function(){a.g.delete(c);b.call(a)});a.g.add(c)};QV.prototype.O=function(){this.g.forEach(function(a){return qu(a)});this.g.clear()};function SV(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 qW(){return/\d+\.\d+\.\d+(-.*)?/.test("1.4.10-google_20240110")}function rW(){for(var a=["1","4","10"],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);NW.indexOf(a)>=0&&(b=b.mediaEvents);b=b[a];if(!b)throw Error("Unrecognized method name: "+a+".");b.apply(null,v(c))};var SW=function(a,b,c){nW("AdSession.context",a);this.g=xW();this.o=a;this.J=!1;var d=this.o.g||void 0;if(!b){b=FW();var e=e===void 0?AW:e;var f=[b,DW(b)?b.top:CW];d&&f.unshift(d);a:{d=q(f);for(var g=d.next();!g.done;g=d.next()){b:{f=b;g=g.value;var h=e;if(!EW(g))try{var k=IW(g);if(k){var m=new BW(k);break b}}catch(n){}m=h(g)?new GW(f,g):null}if(f=m){b=f;break a}}b=null}}this.A=b;this.D=c||new PW;this.N=this.G=this.F=!1;this.l=this.j=null;this.B=!1;this.C={};this.A&&(this.A.g=this.vm.bind(this)); this.wa("setClientInfo","1.4.10-google_20240110",this.o.j.name,this.o.j.version,this.g);QW(this,a.B);(a=a.A)&&this.wa("setContentUrl",a,this.g);RW(this)},TW=function(a){return!!a.A||a.D.g!=null};l=SW.prototype;l.registerSessionObserver=function(a){this.sendMessage("registerSessionObserver",a,this.g)};l.start=function(){this.wa("startSession",{customReferenceData:this.o.C,underEvaluation:this.o.o},this.g)};l.error=function(a,b){this.wa("sessionError",a,b,this.g)}; l.wa=function(a){this.sendMessage.apply(this,[a,null].concat(v(Da.apply(1,arguments))))};l.sendMessage=function(a,b){var c=Da.apply(2,arguments);if(this.A){var d=xW();b&&(this.C[d]=b);c=new sW(d,"SessionService."+a,"1.4.10-google_20240110",qW()&&rW()?c:JSON.stringify(c));this.A.sendMessage(c)}else if(this.D.g!=null)try{this.D.sendMessage(a,b,c)}catch(e){yW("Failed to communicate with SessionInterface with error:"),yW(e)}}; l.vm=function(a){var b=a.method,c=a.g;a=a.args;if(b==="response"&&this.C[c]){var d=qW()&&rW()?a?a:[]:a&&typeof a==="string"?JSON.parse(a):[];this.C[c].apply(this,d)}b==="error"&&window.console&&yW(a)};var QW=function(a,b){b&&(b=b.map(function(c){return c.toJSON()}),a.wa("injectVerificationScriptResources",b,a.g))},RW=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)})}; gD("OmidSessionClient.AdSession",SW);var UW=function(a){nW("AdEvents.adSession",a);this.j=a.g;try{if(a.F)throw Error("AdEvents already registered.");a.F=!0;a.wa("registerAdEvents",a.g);this.g=a}catch(b){throw Error("AdSession already has an ad events instance registered");}}; UW.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.wa("loaded",a,this.j)};gD("OmidSessionClient.AdEvents",UW);var VW=function(a){nW("MediaEvents.adSession",a);this.j=a.g;try{if(a.G)throw Error("MediaEvents already registered.");a.G=!0;a.wa("registerMediaEvents",a.g);this.g=a}catch(b){throw Error("AdSession already has a media events instance registered");}};VW.prototype.start=function(a,b){oW("MediaEvents.start.duration",a);pW("MediaEvents.start.mediaPlayerVolume",b);this.g.wa("start",a,b,this.j)};VW.prototype.pause=function(){this.g.wa("pause",this.j)};VW.prototype.resume=function(){this.g.wa("resume",this.j)}; var WW=function(a,b){nW("MediaEvents.playerStateChange.playerState",b);a.g.wa("playerStateChange",b,a.j)},XW=function(a,b){nW("MediaEvents.adUserInteraction.interactionType",b);a.g.wa("adUserInteraction",b,a.j)};gD("OmidSessionClient.MediaEvents",VW);var YW=function(a,b,c,d){N.call(this);this.ad=a;this.M=b;this.K=c;this.omidAccessModeRules=d;this.sa=this.l=null;this.B=[];this.G=this.T=this.D=this.W=!1;this.A=this.g=this.F=this.j=null;this.o=new gH(this);this.o.listen(this.M,KQ,this.Z);this.o.listen(this.M,["adError","streamError"],this.da)};w(YW,N); var eX=function(a,b,c){var d=ZW(a);d.length===0?$W(a,"noVerifications"):(b=new LW(b,d,uQ().j),c&&(b.l(c),c=Object.keys(a.omidAccessModeRules).length>0,b.o=!c,RQ().report(159,{pcp:c})),a.j=new SW(b),TW(a.j)?(a.F=new UW(a.j),a.g=new VW(a.j),a.j.registerSessionObserver(function(e){if(!aX(a))switch(e.type){case "sessionStart":jT(a.ad,"ss");e=e.data;a.D=!0;bX(a,e==null?void 0:e.creativeType);cX(a,e==null?void 0:e.impressionType);dX(a);break;case "sessionFinish":jT(a.ad,"sf");a.T=!0;a.dispatchEvent(new jt("omidAdSessionCompleted")); break;case "sessionError":jT(a.ad,"se")}}),a.W=!0,bX(a),cX(a),a.j.start()):(a.j=null,$W(a,"notSupported")))};YW.prototype.Z=function(a){this.G||aX(this)||(a.type!=="firstQuartile"||this.D||jT(this.ad,"bf"),a.type!=="complete"||this.D||jT(this.ad,"bc"),this.B.push(a),dX(this))};YW.prototype.da=function(a){this.B.push(a);dX(this)};YW.prototype.P=function(){dX(this)}; var fX=function(a){if(!a.G){a.G=!0;var b;(b=a.j)!=null&&b.wa("finishSession",b.g);pu(function(){aX(a)||(jT(a.ad,"le"),$W(a,"sessionLingering"))},5E3)}},dX=function(a){if(a.D&&!aX(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 UR){var d=void 0,e=c;if(e.F&&e.g)switch(b.type){case "loaded":jT(e.ad,"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 lW(d,g,f.ma?f.ma.g==="auto":!1,e));break;case "impression":jT(e.ad,"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.wa("impressionOccurred",e.j);break;case "start":jT(e.ad,"ps");e.g.start(e.ad.getDuration(),e.l==null?0: e.l.getVolume());((d=e.l)==null?0:d.Ld())&&WW(e.g,"fullscreen");break;case "firstQuartile":e=e.g;e.g.wa("firstQuartile",e.j);break;case "midpoint":e=e.g;e.g.wa("midpoint",e.j);break;case "thirdQuartile":e=e.g;e.g.wa("thirdQuartile",e.j);break;case "complete":b=e.g;b.g.wa("complete",b.j);fX(e);break;case "pause":e.g.pause();break;case "resume":e.g.resume();break;case "skip":b=e.g;b.g.wa("skipped",b.j);fX(e);break;case "volumeChange":b=b.getAdData();e=e.g;b=b.volume;pW("MediaEvents.volumeChange.mediaPlayerVolume", b);e.g.wa("volumeChange",b,e.j);break;case "click":case "videoClicked":XW(e.g,"click");break;case "fullscreen":WW(e.g,"fullscreen");break;case "exitFullscreen":WW(e.g,"normal");break;case "expand":WW(e.g,"expanded");break;case "collapse":WW(e.g,"collapsed");break;case "acceptInvitation":case "acceptInvitationLinear":XW(e.g,"invitationAccept")}}else b instanceof LR&&(e=void 0,b=b.getError(),jT(c.ad,"e"),(e=c.j)==null||e.error("video",b.toString()),fX(c))}},$W=function(a,b){a.A=b;a.dispatchEvent(new jt("omidAdSessionAbandoned")); jT(a.ad,"ab");a.A==="notSupported"&&gX(a,a.ad.yc(),"3","notSupported")},bX=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.wa("setCreativeType",a,b.g);b.j=a}},cX=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.wa("setImpressionType","beginToRender", a.g);a.l="beginToRender"}},aX=function(a){return a.T||a.A!=null};YW.prototype.getAd=function(){return this.ad}; var ZW=function(a){for(var b=[],c=a.ad;c!=null;){var d=vU(c),e=[];d=q(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value,f.Lc==="omid")if(f.g==null)gX(a,[f],"3","nullUrl");else{var g=new KW(f.g,f.vendor||void 0,f.parameters||void 0,hW(a.omidAccessModeRules,f.g));b.push(g);e.push(f)}else gX(a,[f],"2");if(d=c.tb)d.l=e;c=c.Y}hX(a,b);return b},gX=function(a,b,c,d){var e=[];b=q(b);for(var f=b.next();!f.done;f=b.next())f=f.value,e=[].concat(v(e),v(f.V.map(function(g){return lB(g)})));d&&(e=e.map(function(g){g= new O(g);g.g.set("dbg",d);return g.toString()}));kE(a.K,dT(c));a.K.report("verificationNotExecuted",e)};YW.prototype.O=function(){kH(this.o);Ro(this.o);N.prototype.O.call(this)};var hX=function(a,b){b=b.map(function(c){return[c.j||"",c.g]});RQ().report(129,{omData:JSON.stringify(b)});jT(a.ad,"oms")};var iX=null,jX=function(){N.call(this);this.A=!0;this.Ig=new JW("Google1","3.657.0");this.j=[];this.sa=this.B=this.g=null;this.o=new gH(this)};w(jX,N);var kX=function(){iX==null&&(iX=new jX);return iX};jX.prototype.D=function(){this.A=!1;this.dispatchEvent(new jt("omidUnavailable"));RQ().report(128,{status:"disabled",reason:"iframeLoadFailed",description:"The OM SDK iframe failed to load. No measurements can be taken."})}; jX.prototype.vk=function(a,b,c,d){var e=this;d=d===void 0?{}:d;jT(a,"omo");var f=new YW(a,b,c,d);if(!this.A)return gX(f,a.yc(),"3","notEnabled"),null;this.o.kd(b,["show_ad","start","adError"],function(g){switch(g.type){case "show_ad":lX(e,f);break;case "start":lX(e,f);break;case "adError":f.D||gX(f,f.getAd().yc(),"3","A fatal ad error occurred, so no OMID ad session was started.")}});this.o.listen(f,"omidAdSessionAbandoned",function(){mX(!0,f);f.dispose();e.g=null;nX(e)});this.o.listen(f,"omidAdSessionCompleted", function(){mX(!1,f);f.dispose();e.g=null;nX(e)});return f};var lX=function(a,b){b.W||aX(b)||a.j.includes(b)||(a.j.push(b),a.g&&(jT(b.getAd(),"saa"),fX(a.g)),nX(a))},nX=function(a){a.A&&!a.g&&a.j.length!==0&&a.B&&(a.g=a.j.shift(),eX(a.g,a.Ig,a.B))};jX.prototype.l=function(a){this.B=a;nX(this)};var mX=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);RQ().report(87,c)};function oX(a){var b="";a.forEach(function(c,d){E(c)||(b+=d+"="+c+"&")});return b.slice(0,-1)};var rX=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);pX===void 0&&(B.Int32Array?pX=new Int32Array(qX):pX=qX);this.reset()},pX;Ua(rX,Ry);var sX=[].concat(128,ub(0,63));rX.prototype.reset=function(){this.l=this.j=0;this.g=B.Int32Array?new Int32Array(this.A):qb(this.A)}; var tX=function(a){for(var b=a.o,c=a.B,d=0,e=0;e>>7|e<<25)^(e>>>18|e<<14)^e>>>3)|0,g=(c[b-7]|0)+((d>>>17|d<<15)^(d>>>19|d<<13)^d>>>10)|0;c[b]=f+g|0}d=a.g[0]|0;e=a.g[1]|0;var h=a.g[2]|0,k=a.g[3]|0,m=a.g[4]|0,n=a.g[5]|0,p=a.g[6]|0;f=a.g[7]|0;for(b=0;b<64;b++){var r=((d>>>2|d<<30)^(d>>>13|d<<19)^(d>>>22|d<<10))+(d&e^d&h^e&h)|0;g=m&n^~m&p;f=f+((m>>>6|m<<26)^(m>>>11|m<<21)^(m>>> 25|m<<7))|0;g=g+(pX[b]|0)|0;g=f+(g+(c[b]|0)|0)|0;f=p;p=n;n=m;m=k+g|0;k=h;h=e;e=d;d=g+r|0}a.g[0]=a.g[0]+d|0;a.g[1]=a.g[1]+e|0;a.g[2]=a.g[2]+h|0;a.g[3]=a.g[3]+k|0;a.g[4]=a.g[4]+m|0;a.g[5]=a.g[5]+n|0;a.g[6]=a.g[6]+p|0;a.g[7]=a.g[7]+f|0},uX=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&&(tX(a),e=0)}else throw Error("message must be string or array");a.j=e;a.l+=c},vX=function(a){var b=[],c=a.l*8;a.j<56?uX(a,sX,56-a.j):uX(a,sX,a.blockSize-(a.j-56));for(var d=63;d>=56;d--)a.o[d]=c&255,c/=256;tX(a);for(d=c=0;d=0;e-=8)b[c++]=a.g[d]>>e&255;return b},qX=[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 xX=function(){rX.call(this,8,wX)};Ua(xX,rX);var wX=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];var yX=["300x250","640x640","301x301"];function zX(a){var b=[];a.forEach(function(c){c.length>0&&b.push(c.map(function(d){return d.kb?"fluid":d.size.width+"x"+d.size.height}).join("|"))});return b.join(",")}function AX(a,b){var c;a=(c=BX(a,b).get("url"))!=null?c:"";c=new Map;var d=b.ba;d==null||/[;\r\n]/.test(d)?b.pg&&(c.set("eoidce","1"),CX(c,a,b)):c.set("eo_id_str",d);return c} function DX(a,b){var c;a=(c=BX(a,b).get("url"))!=null?c:"";c=new Map;if(!EP.isCookiesEnabled())c.set("co","1");else if(b.Zj&&!VP(b.g)){var d=b.M,e=d!=null&&!/[;\r\n]/.test(d);e&&c.set("cookie",d);d=b.ha;var f=d!=null&&!/[;\r\n]/.test(d);f&&c.set("gpic",d);e&&f||(c.set("cookie_enabled","1"),CX(c,a,b));b=b.rg;b!=null&&!/[;\r\n]/.test(b)&&c.set("pdopt",b)}return c}function CX(a,b,c){c=c.Qj;var d=null;try{d=(new URL(decodeURIComponent(b))).hostname}catch(e){}d!==c&&a.set("cdm",c)} function EX(a,b){var c=new Map,d=uQ().ub;d>0&&c.set("pvsid",d.toString());c.set("correlator",xQ.toString());c.set("scor",yQ.toString());d=b.G;d!=null&&(b.G=null,c.set("fbidx",d.toString()));b.W!=null&&c.set("ppid",b.W);b.A!=null&&c.set("submodel",b.A);b.da!=null&&c.set("cbidsp",b.da);var e=a.adTagUrl||"";d=new Map;var f=b.Xc;f!=null?(e=zX(f),d.set("ciu_szs",e)):e=(new O(e)).g.get("ciu_szs","");GP("audioPosterImageEnabled")&&(f=yX.join(","),e=e===""?f:e+","+f);d.set("ciu_szs",e);e=DX(a,b);f=AX(a,b); !VP(b.g)&&qB(OC)&&a.j&&c.set("aos",a.j);return new Map([].concat(v(d),v(FX(a,b)),v(e),v(f),v(c)))} function GX(a,b,c){var d=new Map;d.set("correlator",xQ.toString());var e=new O(a.adTagUrl),f=e.g;f.get("description_url","")!==""&&(f=f.get("ad_block",""),f=E(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(v(HX(e,a,c)),v(FX(a,c)),v(DX(a,c)),v(AX(a,c)),v(d)))} function FX(a,b){var c=new Map;c.set("sdkv",tQ(b));var d=c.set,e=1;aR(b.T)&&(e+=4);$Q()||(e+=1024);!$Q()&&(e+=64);b.B&&(e+=2147483648);d.call(c,"sdki",e.toString(16));c.set("ptt",(20).toString());b.xb!=null&&c.set("adk",b.xb);d=gR();d.length>0&&c.set("sdk_apis",d.join(","));d=uQ();if(eR()){var f;d="Google1/"+((f=d.D)!=null?f:"h.3.657.0")}else d=null;f=d;f!=null&&c.set("omid_p",f);b.Z&&c.set("media_url",b.Z);EP.N&&c.set("sid",EP.N);b.secureSignals&&!VP(b.g)&&c.set("a3p",b.secureSignals);b.Xa&&c.set("htps", (10).toString());c.set("nel",SE()?"1":"0");(f=b.ug)&&c.set("scar",f);b.qk&&c.set("td",(1).toString());f=GD((new O(a.adTagUrl)).g.get("eid",""));E(F(f))||c.set("eid",f);c.set("afvsz",TM(a));f=(new O(a.adTagUrl)).g.get("ctv","");d={};RQ().report(197,(d.pctv=f,d));f=new Map;b.Ya?f.set("attmas",b.Ya):b.K!=null&&f.set("is_lat",b.K?"1":"0");if(!VP(b.g)){d=EP.M;qB(MC)&&d!==null&&(e=new BP,Dk(Vj(e,3,Xi(d),""),4,EP.W),d=gh(ah(bl(e)),3),f.set("psd",d));e=b.deviceId;d=b.g;if(d.j){var g=PP(d,"tfcd");g=g==="0"|| g==="false"?(0).toString():KP(g)?(1).toString():""}else g="";(g=g===(1).toString())||(d.j?(d=PP(d,"tfua"),d=d==="0"||d==="false"?(0).toString():KP(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.Lk)&&!d){f.set("paid",e);if(e=b.Nj)g=new xX,uX(g,ah(e)),g=bh(vX(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.Pi;var h=!b.Si,k=b.wk&&qB(JC);g&&!k&&(f.set("paid2",g),f.set("paopt",h?"1":"0"),e&&(g=new xX,uX(g,ah(e)),e=bh(vX(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.Rb;g=b.Wc;e&&g&&!d&&(f.set("pvid",e),f.set("pvid_s",""+g))}d=new Map;e=b.la;g=(document.visibilityState||"")==="visible";g!=null&&d.set("vis",g?"1":"2");e!==-1&&d.set("frm",e.toString()); cR()&&(e=2,g=D&&Jn(D).Lb?!1:Of(Ng().j),!$Q()&&g&&(e|=2048),d.set("osd",e.toString()));e=b.Ba;e!=null&&d.set("ms",e);d.set("sdr","1");d.set("unviewed_position_start","1");d.set("is_amp",b.Tj?"1":"0");(e=SF())&&d.set("hl",e);(e=b.vd)&&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.Jk;g!=null&&e.set("mv",g+"."+(b.Fk||""));g=a.linearAdSlotWidth;h=a.linearAdSlotHeight;e.set("u_so",g==null||h==null?"l":h>g?"p":"l"); e.set("ctv",String(hR()));g=new Map;E(EP.getPlayerType())||(g.set("mpt",EP.getPlayerType()),E(EP.getPlayerVersion())||g.set("mpv",EP.getPlayerVersion()));h=new Map;fR()||h.set("wta","0");if(a instanceof nD&&a.A&&a.adTagUrl!==null){var m=a.adTagUrl;k=UP(b.g);m=JP(m);for(var n=q(IP),p=n.next();!p.done;p=n.next())p=p.value,m[p]==="redundant"&&k.set(p,"redundant")}else k=UP(b.g);m=Map;n=[];p=n.concat;h=v(h);var r=new Map;VP(b.g)||(E(EP.o)||r.set("adsid",EP.o),E(EP.F)||r.set("pucrd",EP.F),E(EP.D)||r.set("jar", EP.D));h=new m(p.call(n,h,v(r),v(k)));k=new Map;m=b.me;(n=b.Ui)&&m&&m>0&&n>m&&(k.set("dlt",m.toString()),k.set("idt",(n-m).toString()));k.set("dt",Ym().toString());a=BX(a,b);b=b.Ti||{};return new Map([].concat(v(f),v(d),v(e),v(g),v(b),v(h),v(c),v(a),v(k)))} function HX(a,b,c){var d=new Map,e=WM(a);aR(c.T)||(e=VM(e));e.some(function(f){return UM(f)})&&b.nonLinearAdSlotWidth!=null&&b.nonLinearAdSlotHeight!=null&&(b=TM(b),d.set("image_size",b),E(b)&&(e=e.filter(function(f){return!UM(f)})));d.set("ad_type",e.join("_"));b=e.some(function(f){return f==="text"});d.set("num_ads",b?"3":"1");a=HD(a,"t_pyv");E(a)&&(a=b?"allow":"exclude");d.set("t_pyv",a);e.some(function(f){return f==="bumpervideo"||f==="skippablevideo"||f==="standardvideo"||f==="video"})&&(e=Xc("Chromium")>= 6||Xc("Firefox")>=4||we&&RF(QF,2.3)?43:18,d.set("video_format",e.toString()));return d} function BX(a,b){var c,d=(c=a.adTagUrl)!=null?c:"";c=new O(d);var e;a=(e=a.pageUrl)!=null?e:"";var f;e=(f=ez(c,"url"))!=null?f:"";f=NF(a)?a:e;c=IX(c);c=NF(f)?f:c;c=new O(c);e=new O(b.Ua);a=new O(b.j);d="unknown";fz(a,e)?d="flat":fz(c,e)?d="bottom":fz(c,a)&&(d="top");RQ().report(160,{contentLocation:d});c=new Map;e=b.referrer;E(F(e))||c.set("ref",e);if(NF(f)){c.set("url",f);var g;c.set("top",(g=b.j)!=null?g:"");c.set("loc",b.Ua)}else g=c.set,b=b.j&&NF(b.j)?b.j:b.referrer&&NF(b.referrer)?b.referrer: "null",g.call(c,"url",b);return c}function IX(a){var b="";["video_url_to_fetch","description_url","durl"].find(function(c){c=ez(a,c)||"";return NF(c)?(b=c,!0):!1});return b}function JX(a){return a?zD(a)?(a=new O(a),a.g.remove("ctv"),a.toString()):a:null};var KX=function(){this.g=[];this.j=[]},LX=function(a){a.g.length===0&&(a.g=a.j,a.g.reverse(),a.j=[])},MX=function(a,b){a.j.push(b)};l=KX.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.Xe=function(){for(var a=[],b=this.g.length-1;b>=0;--b)a.push(this.g[b]);var c=this.j.length;for(b=0;b=Math.pow(2,32))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)},JY=new Uint8Array(0);var KY=function(a,b,c){this.l=a;this.g=b;this.j=c};KY.prototype.Jb=function(){return this.l};var LY=function(a){this.l=a;this.j=null;this.g=new Map};LY.prototype.ab=function(){return this.l};var NY=function(a,b){return(a=MY(a,b))?a:[]},MY=function(a,b){b instanceof Uint8Array&&(b=[].concat(v(b)).toString());return a.g.get(b)};/* Copyright 2022 Google LLC SPDX-License-Identifier: Apache-2.0 */ function OY(a){return a==null?void 0:new Uint8Array(Bh(a)||0)}function PY(a){a==null?a=void 0:a=(a=Bh(a))?a.length:0;return a};function QY(){for(var a=0,b=0;bNumber.MAX_SAFE_INTEGER)throw new Z("cannot convert number larger than "+Number.MAX_SAFE_INTEGER);var b=Math.pow(2,32),c=a%b;a/=b;b=new Uint8Array(8);for(var d=7;d>=4;d--)b[d]=c&255,c>>>=8;for(c=3;c>=0;c--)b[c]=a&255,a>>>=8;return b}function SY(a){for(var b="",c=0;c1?d:"0"+d}return b} function TY(a){a=a.replace(/-/g,"+").replace(/_/g,"/");return UY(globalThis.atob(a))}function VY(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=TY(b);b=TY(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]=aZ(BigInt("0x"+SY(b)),0)?3:2;return d;default:throw new Y("invalid format");}} function bZ(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 cZ(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=bZ(XY(a));var e=d-BigInt(3);a:switch(XY(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(aZ(d,0)&&aZ(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 CZ=function(a,b){this.key=a;this.jd=b};CZ.prototype.encrypt=function(a){var b=this,c,d,e,f;return z(function(g){if(g.g==1)return AZ(a),c=uZ(b.jd),d=new Uint8Array(16),d.set(c),e={name:"AES-CTR",counter:d,length:128},y(g,globalThis.crypto.subtle.encrypt(e,b.key,a),2);f=g.j;return g.return(QY(c,new Uint8Array(f)))})}; CZ.prototype.decrypt=function(a){var b=this,c,d,e;return z(function(f){if(f.g==1){AZ(a);if(a.length16)throw new Y("invalid IV length, must be at least 12 and at most 16");AZ(a);zZ(a.length);return y(d,globalThis.crypto.subtle.importKey("raw",a,{name:"AES-CTR",length:a.length},!1,["encrypt","decrypt"]),2)}c=d.j;return d.return(new CZ(c,b))})};var EZ=function(){};var FZ=function(a,b,c){this.hash=a;this.key=b;this.ud=c};w(FZ,EZ);var GZ=function(a,b){var c;return z(function(d){if(d.g==1)return AZ(b),y(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.ud)))})},HZ=function(a,b,c){var d;return z(function(e){if(e.g==1)return AZ(b),AZ(c),y(e,GZ(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 y(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 FZ(a,d,c))})};var JZ=function(a,b,c,d){this.g=a;this.jd=b;this.j=c;this.ud=d};w(JZ,xZ);JZ.prototype.encrypt=function(a,b){b=b===void 0?new Uint8Array(0):b;var c=this,d,e,f;return z(function(g){if(g.g==1)return AZ(a),y(g,c.g.encrypt(a),2);if(g.g!=3)return d=g.j,AZ(b),e=RY(b.length*8),y(g,GZ(c.j,QY(b,d,e)),3);f=g.j;if(c.ud!=f.length)throw new Y("invalid tag size, expected "+c.ud+" but got "+f.length);return g.return(QY(d,f))})}; JZ.prototype.decrypt=function(a,b){b=b===void 0?new Uint8Array(0):b;var c=this,d,e,f,g,h;return z(function(k){if(k.g==1){AZ(a);if(a.length16)throw new Y("Invalid AES CTR HMAC key format: IV size is out of range: "+c);return{Ol:a,If:b,jd:c}},NZ=function(a){if(!a)throw new Y("Invalid AES CTR HMAC key format: key format undefined");var b=pk(a,2);if(b<16)throw new Y("Invalid AES CTR HMAC key format: HMAC key is too small: "+ pk(a,2));a=J(a,PX,1);if(!a)throw new Y("Invalid AES CTR HMAC key format: params undefined");var c=pk(a,2);if(c<10)throw new Y("Invalid HMAC params: tag size "+c+" is too small.");if(!OZ.has(sk(a,1)))throw new Y("Unknown hash type.");if(c>OZ.get(sk(a,1)))throw new Y("Invalid HMAC params: tag size "+c+" is out of range.");switch(sk(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{Km:a,Jm:b,Hm:d,ud:c}},OZ=new Map([[1,20],[3,32],[4,64]]), PZ=function(){this.g=new LZ};l=PZ.prototype; l.Jb=function(a,b){var c,d,e,f,g,h=this,k,m,n,p,r,u;return z(function(t){if(t.g==1){if(a!=h.ab())throw new Y("Requested primitive type which is not supported by this key manager.");if(b instanceof AY){if(!h.fe(K(b,1)))throw new Y("Key type "+K(b,1)+" is not supported. This key manager supports "+h.lb()+".");try{k=UX(b.getValue())}catch(C){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 RX)k=b;else throw new Y("Given key type is not supported. This key manager supports "+h.lb()+".");var x=J(k,OX,2);if(!x)throw new Y("Invalid AES CTR HMAC key format: key undefined");BZ(x.getVersion(),h.getVersion());var A=new VX;var H=J(x,NX,2);A=jk(A,1,H);H=PY(Tj(x,3));A=yk(A,2,H);A=MZ(A).jd;f=OY(Tj(x,3));g=A;m=f;n=g;x=J(k,QX,3);if(!x)throw new Y("Invalid AES CTR HMAC key format: key undefined");BZ(x.getVersion(),h.getVersion());A=new WX;H=J(x,PX,2);A=jk(A,1,H);H=PY(Tj(x,3)); A=yk(A,2,H);H=NZ(A);A=H.Hm;H=H.ud;c=OY(Tj(x,3));d=A;e=H;p=c;r=d;u=e;return y(t,KZ(m,n,r,p,u),2)}return t.return(t.j)})};l.fe=function(a){return a===this.lb()};l.lb=function(){return"type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"};l.ab=function(){return xZ};l.getVersion=function(){return 0};l.ie=function(){return this.g};var QZ=function(a){var b=a.key;a=a.Ic;this.key=b;this.Ic=a};QZ.prototype.encrypt=function(a,b,c){var d=this,e,f;return z(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 y(g,globalThis.crypto.subtle.encrypt(e,d.key,b),2)}f=g.j;return g.return(d.Ic?QY(a,new Uint8Array(f)):new Uint8Array(f))})}; QZ.prototype.decrypt=function(a,b,c){var d=this,e,f,g,h,k;return z(function(m){if(m.g==1){e=d.Ic?28:16;if(b.length5)){k.g=2;break}d=a.subarray(0,5);return y(k,NY(c.g,d),3);case 3:return e=k.j,f=a.subarray(5,a.length),k.l=4,y(k,YZ(e,f,b),6);case 6:g=k.j;k.g=5;k.l=0;break;case 4:wa(k);case 5:if(g)return k.return(g);case 2:return y(k,NY(c.g,JY),7);case 7:return h=k.j,k.return(YZ(h,a,b))}})}; var YZ=function(a,b,c){var d,e,f,g;return z(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");}AZ(c);AZ(d);g=e;if(e==null||g===void 0||g.length==0)g=new Uint8Array(f); AZ(g);return y(t,IZ(b,g,f),2);case 2:return h=t.j,y(t,GZ(h,c),3);case 3:return k=t.j,y(t,IZ(b,k,f),4);case 4:h=t.j,m=1,n=0,p=new Uint8Array(0),r=new Uint8Array(a);case 5:return u=new Uint8Array(p.length+d.length+1),u.set(p,0),u.set(d,p.length),u[u.length-1]=m,y(t,GZ(h,u),8);case 8:p=t.j;if(n+p.length>8*(a-d-1)&255;return c}function E_(a){var b=a.gd;var c=a.fd;return QY(D_,a.Bb,UY(b),c)}function F_(a){var b=a.Kd;var c=a.info;var d=a.Bb;return QY(t_(2,a.length),D_,d,UY(b),c)}function G_(a){switch(a){case 2:return 1;case 4:return 3;default:throw new Z("Unrecognized NIST HPKE KEM identifier");}} function H_(a,b){var c;return z(function(d){return d.g==1?(c=dZ(a,1,b),y(d,hZ(c),2)):d.return(d.j)})}function I_(a){var b=a.Dh;var c=a.publicKey;var d=a.privateKey;var e;return z(function(f){return f.g==1?(e=dZ(b,1,c),e.d=VY(d),y(f,iZ(e),2)):f.return(f.j)})}function J_(a){var b,c;return z(function(d){if(d.g==1)return b=a.algorithm,y(d,gZ(a),2);c=d.j;if(!c.crv)throw new Y("Curve has to be defined.");return d.return($Y(b.namedCurve,1,c))})};var K_=function(a,b,c,d){this.Kh=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 M_(a,b,c,d,e,f){var g,h,k,m,n,p,r;return z(function(u){switch(u.g){case 1:a:{switch(e.qg){case 16:var t=z_;break a;case 32:t=A_;break a}t=void 0}a:{switch(d.jg){case "SHA-256":var x=x_;break a;case "SHA-512":x=y_;break a}x=void 0}g=QY(C_,N_(c),x,t);return y(u,O_(d,{fd:new Uint8Array(0),gd:"psk_id_hash",Bb:g}),2);case 2:return h=u.j,y(u,O_(d,{fd:f,gd:"info_hash",Bb:g}),3);case 3:return k=u.j,m=QY(u_,h,k),y(u,O_(d,{fd:new Uint8Array(0),gd:"secret",Bb:g,salt:b}),4);case 4:return n=u.j,y(u,P_(d, {Xj:n,info:m,Kd:"key",Bb:g,length:e.qg}),5);case 5:return p=u.j,y(u,P_(d,{Xj:n,info:m,Kd:"base_nonce",Bb:g,length:12}),6);case 6:return r=u.j,u.return(new K_(a,p,r,e))}})}function Q_(a,b,c,d,e){var f,g,h;return z(function(k){return k.g==1?y(k,b.Jh(a),2):k.g!=3?(f=k.j,g=f.Kh,h=f.Bn,y(k,M_(g,h,b,c,d,e),3)):k.return(k.j)})}function R_(a,b,c,d,e,f){var g;return z(function(h){return h.g==1?y(h,c.Eh(a,b),2):h.g!=3?(g=h.j,y(h,M_(a,g,c,d,e,f),3)):h.return(h.j)})};var S_=function(a,b){this.privateKey=a;this.publicKey=b},T_=function(a){return z(function(b){return b.g==1?y(b,J_(a.publicKey),2):b.return(b.j)})};function U_(a){var b=a.privateKey;var c=a.publicKey;var d=a.Dh;var e,f;return z(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 y(g,H_(WY(d),c),2)}if(g.g!=3)return e=g.j,y(g,I_({Dh:WY(d),publicKey:c,privateKey:b}),3);f=g.j;return g.return(new S_(f,e))})} function V_(a){return z(function(b){W_(a.privateKey,"private");W_(a.publicKey,"public");return b.return(new S_(a.privateKey,a.publicKey))})}function W_(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 X_=function(a){this.qg=a};X_.prototype.seal=function(a){var b=a.key;var c=a.nonce;var d=a.rn;var e=a.oh;var f=this,g;return z(function(h){if(h.g==1){if(b.length!==f.qg)throw new Y("Unexpected key length: "+b.length.toString());return y(h,RZ({key:b,Ic:!1}),2)}return h.g!=3?(g=h.j,y(h,g.encrypt(c,d,e),3)):h.return(h.j)})}; X_.prototype.open=function(a){var b=a.key;var c=a.nonce;var d=a.Vl;var e=a.oh;var f=this,g;return z(function(h){if(h.g==1){if(b.length!==f.qg)throw new Y("Unexpected key length: "+b.length.toString());return y(h,RZ({key:b,Ic:!1}),2)}g=h.j;return h.return(g.decrypt(c,d,e))})};var Y_=function(a){this.jg=a},O_=function(a,b){var c=b.fd;var d=b.gd;var e=b.Bb;var f=b.salt;return z(function(g){return g.g==1?y(g,Z_(a,E_({gd:d,fd:c,Bb:e}),f),2):g.return(g.j)})},P_=function(a,b){var c=b.Xj;var d=b.info;var e=b.Kd;var f=b.Bb;var g=b.length;return z(function(h){return h.g==1?y(h,a.expand(c,F_({Kd:e,info:d,Bb:f,length:g}),g),2):h.return(h.j)})},$_=function(a,b){var c=b.fd;var d=b.gd;var e=b.info;var f=b.Kd;var g=b.Bb;var h=b.length;var k=b.salt;var m;return z(function(n){return n.g== 1?y(n,Z_(a,E_({gd:d,fd:c,Bb:g}),k),2):n.g!=3?(m=n.j,y(n,a.expand(m,F_({Kd:f,info:e,Bb:g,length:h}),h),3)):n.return(n.j)})}; Y_.prototype.expand=function(a,b,c){var d=this,e,f,g,h,k,m,n;return z(function(p){switch(p.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=a0(d);if(c>255*e)throw new Y("length too large");AZ(b);return y(p,IZ(d.jg,a,e),2);case 2:f=p.j,g=1,h=0,k=new Uint8Array(0),m=new Uint8Array(c);case 3:return n=new Uint8Array(k.length+b.length+1),n.set(k,0),n.set(b,k.length),n[n.length-1]=g,y(p,GZ(f,n),6);case 6:k=p.j;if(h+k.lengthMath.pow(5,2))a.A=!0},touchend:function(b){return void J0(a,b)}},Hb(a.G,function(b,c){a.g.addEventListener(c,b,!1)})):a.K.listen(a.g,"click",a.W)},H0=function(a){a.K.oa(a.g,"click",a.W);Hb(a.G,function(b,c){this.g.removeEventListener(c,b,!1)},a);a.G={}},J0=function(a,b){!a.D||a.j!==1||a.A||a.M||a.B||!I0(a,b.changedTouches)||(a.l=window.setTimeout(function(){return void L0(a)},300));a.j=b.touches.length;a.j===0&&(a.D=!1,a.A=!1,a.o=[]);a.M=!1};G0.prototype.W=function(){L0(this)}; var I0=function(a,b){for(var c=0;c
';b=Math.max(0,Math.ceil(b-0));for(var d=0;d
';return aA(c+"
")},U0=function(){return aA('
')};var V0=function(){fM.call(this);this.element=FA(U0);this.j=ef("fullSlotContentContainer",this.element);this.l=ef("fullSlotBottomBar",this.element)};w(V0,hM);var W0=function(a,b){a.l&&b.element&&a.l.appendChild(b.element)},n1=function(a,b){a.j&&b.element&&a.j.appendChild(b.element)};var o1=function(a,b,c,d,e,f,g){S0.call(this,b);this.l=a;this.A=c;this.uiConfig=d;this.ra=e;this.C=f;this.B=g;this.o=[];this.g=0;this.view=new V0;this.j=new gH(this)};w(o1,S0);l=o1.prototype; l.build=function(){var a=this;iM(this.view,this.A);this.l.forEach(function(d,e){d=d.bd(a.uiConfig);a.o.push(d);var f=IM(d);f!=null&&a.j.listen(f,"click",function(g){g.stopPropagation();nI(a.I,WI,null)});new sL(d,a.I,oJ);a.j.listen(d,"click",function(){a.g=e});n1(a.view,d)});if(this.C){var b=new LM({jf:!0,Sg:!0,oc:GP("promoskip")});W0(this.view,b);b=new IL(b,this.I,5);M(this,b);b=new mM;W0(this.view,b);new EL(b,this.I);b=new jM;new nL(b,this.I,WI);b.l(this.ra);W0(this.view,b);b.show();if(this.B){var c= new MM(!0);new nL(c,this.I,zJ);gM(b,c)}}TK(UK(this.view.element,.3));nI(this.I,qJ,null)};l.O=function(){tf(this.view.Ha());S0.prototype.O.call(this)};l.Ne=function(){return this.view.j};l.show=function(){};l.ca=function(){};l.ge=function(){return this.l[this.g]};l.dg=function(){return this.o[this.g]};var q1=function(a,b){fM.call(this);var c=this;this.D=b;this.l=this.o=null;this.B=!1;this.element=FA(T0,{Oj:a,margin:(57-10*a)/a});this.j=ef("innerContainer",this.element);this.A=Array.from(df("overlaySelector",this.element));this.A.forEach(function(d,e){c.g.listen(d,"click",function(f){p1(c,e);f.stopPropagation()})});p1(this,0);this.g.listen(this.element,"mouseover",function(){c.dispatchEvent("mouseover")});this.g.listen(this.element,"mouseout",function(){c.dispatchEvent("mouseout")})};w(q1,hM); q1.prototype.Ud=function(a){this.B=a;this.l&&this.l.Ud(a)};var p1=function(a,b){a.o!=null&&zz(a.A[a.o],"active");xz(a.A[b],"active");a.o=b;a.D(b)},r1=function(a,b){if(a.l){var c;(c=a.j)==null||c.removeChild(a.l.Ha());a.g.oa(b,"click")}a.l=b;a.l.Ud(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=q1.prototype;l.hk=function(a){QK(this.j,"opacity "+a/1E3+"s")};l.show=function(){eo(this.j,!0)};l.ca=function(){eo(this.j,!1)}; l.Zi=function(){co(this.j,1)};l.Aj=function(){co(this.j,.3)};var t1=function(a,b,c,d){S0.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 gH(this);this.o=new nu(15E3);this.view=new q1(a.length,function(f){s1(e,f)})};w(t1,S0); t1.prototype.build=function(){var a=this;iM(this.view,this.B);new wL(this.view,this.I,!1);new sL(this.view,this.I,oJ);this.l=this.C.map(function(b){var c=b.bd(a.uiConfig),d=IM(c);d!=null&&a.A.listen(d,"click",function(e){e.stopPropagation();nI(a.I,WI,null)});d=new xM;new qL(d,a.I,dJ);gM(c,d);b.Yb&&(b=new MM(!0),new nL(b,a.I,zJ),gM(c,b));return c});s1(this,0);this.g=new KM;new FL(this.g,this.I,dJ);gM(this.view,this.g);mI(this.I,dJ,function(){return void a.stop()});mI(this.I,uJ,function(){a.o.start()}); this.A.listen(this.o,"tick",this.D);this.o.start()};t1.prototype.O=function(){tf(this.view.Ha());S0.prototype.O.call(this)};t1.prototype.stop=function(){this.o.stop()};t1.prototype.D=function(){p1(this.view,(this.j+1)%this.l.length)};var s1=function(a,b){b!==a.j&&a.l[b]&&(r1(a.view,a.l[b]),a.j=b,nI(a.I,qJ,null))};l=t1.prototype;l.Ne=function(){var a=this.dg();return a?a.Ha():null};l.dg=function(){return this.l[this.j]};l.show=function(){this.view&&this.view.show();this.g&&this.g.ca()}; l.ca=function(){this.view&&this.view.ca();this.g&&this.g.show()};l.ge=function(){return this.C[this.j]};var u1=function(a){this.I=a},v1=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})},w1=function(a,b){var c=lf().screen;if(c){var d=c.availWidth||c.width,e=c.availHeight||c.height,f=new Xe(0,e),g=Number.MAX_VALUE,h=null;b.forEach(function(k,m){m=a[m];if(m.B){var n=new Xe(le(HE(k,d)),le(IE(k,e)));k=f.x-n.x;n=f.y-n.y;k=Math.sqrt(k*k+n*n);g>k&&(h=m,g=k)}});h!=null&&(b=h.Ha(),b!=null&&b.focus())}};var x1=function(a,b,c,d){jL.call(this,b);var e=this;this.A=d;this.j=new lI;new ML(a,this.j,c,!1);mI(this.j,xJ,function(){e.A.show()});kL(this,sK,this.l,this)};w(x1,jL);x1.prototype.l=function(a){nI(this.j,sK,a)};var y1=function(a,b){jL.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();lL(c,SI,d.wtaUrl)});this.g.listen(this.view.j,"learnMoreClicked",function(d){d=d.detail;d.underlyingEvent.preventDefault();lL(c,SI,d.learnMoreUrl)});this.g.listen(this.view.j,"updateGpid",function(d){d=d.detail;lL(c,TI,new UI(d.gpidType,d.gpidPersonalizationEnabled,d.gpidShouldResetAdsData))});this.g.listen(this.view.j,"p-control-panel-hidden", function(){return void lL(c,RI,null)});kL(this,BJ,function(d){d||c.ca()},this)};w(y1,jL);y1.prototype.show=function(){this.view.show();lL(this,QI,null)};y1.prototype.ca=function(){this.view.ca()};var z1=function(a){fM.call(this);this.element=pf(document,"div");this.element!==null&&(this.element.id="ima_"+a)};w(z1,fM);var A1=function(){return aA('')};var B1=function(a){fM.call(this);var b=this;this.o=this.l=!1;this.element=FA(A1);var c;(c=J(a,Jj,1))!=null&&Ak(c,40,"https://support.google.com/ads/answer/10923348");if(!a)throw Error("bad attrdata");c=new Az(a);this.j=new SA(a,c);this.g.listen(this.j,"p-control-panel-hidden",function(){b.l=!1})};w(B1,hM);B1.prototype.show=function(){this.l||(this.o||(this.j.render(),this.o=!0),this.j.expand(),this.l=!0)};B1.prototype.ca=function(){this.l&&(this.j.collapse(),this.l=!1)};var C1=function(a,b,c,d,e,f){f=f===void 0?!1:f;iL.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 nM([this.g.F],this.g.A?"videoAdUiTopBar-gvn":"videoAdUiTopBarWithGradients",!this.g.g,this.j);sM(this.view,!this.j&&(!TF()||!1));this.G=new gH(this);M(this,this.G);document.addEventListener("click",function(h){var k=g.view.Ha().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),VB(U().g))},!0);this.M=new u1(b)};w(C1,iL);l=C1.prototype; l.build=function(){var a=this;iM(this.view,this.D);oM(this.view);To(this,function(){return tf(a.view.Ha())});this.g.gb&&gM(this.view,new z1(this.g.gb));if(this.g.isSkippable()){mI(this.I,wJ,function(){a.B=!0});var b=new LM({jf:!0,Sg:!0,ah:this.g.ah,oc:GP("promoskip")});rM(this.view,b);var c=new IL(b,this.I,this.g.C);M(this,c);this.o&&b.ca()}if(this.g.j&&!this.o){var d=new kM(this.j);this.j?rM(this.view,d):this.g.A?(qM(this.view,d),pM(this.view)):rM(this.view,d);this.g.l?new EL(d,this.I):d.show()}this.g.B&& (b=new MM(!0),new nL(b,this.I,zJ),this.j?rM(this.view,b):d?gM(d,b):this.g.A?qM(this.view,b):rM(this.view,b));this.j&&(d=new JM,DL(new CL(d,this.I)),wM(this.view,d),mI(this.I,BJ,function(e){a.C&&(tM(a.view,!e),uM(a.view,!e))}));if(this.j||this.g.o&&!this.o)d=new zM("author"),new oL(d,this.I,bJ,MI),qM(this.view,d),d=new jM,new oL(d,this.I,cJ,PI),this.j?vM(this.view,d):qM(this.view,d),d=new lM,new oL(d,this.I,XI,NI),this.j?vM(this.view,d):qM(this.view,d),mI(this.I,MI,function(){return void pM(a.view)}), mI(this.I,PI,function(){return void pM(a.view)}),mI(this.I,NI,function(){return void pM(a.view)});this.j?new uL(this.view,this.I,!0):this.o||(d=YI,this.g.g||!this.g.G?d=AJ:new mL(this.view,!0),this.K?new sL(this.view,this.I,d):(new nL(this.view,this.I,d),this.view.Ud(!0)));this.g.va.forEach(function(e){var f=null;if(a.g.J&&e.Ab==="GoogleWhyThisAd"){f=new zM("vast");var g=new B1(a.g.J);iM(g,a.D);To(a,function(){return tf(g.Ha())});var h=new y1(g,a.I);new x1(f,a.I,e,h)}else f=GP("force_wta_top_left")? new zM("freeplayWta"):new zM("vast"),new ML(f,a.I,e,iR(e.l));AM(f,e.g,e.j);gM(a.view,f);a.A.push(f)});this.j?(this.l=new CM,new oL(this.l,this.I,lJ,OI)):(this.l=new DM,new nL(this.l,this.I,lJ));this.g.D!=null&&(d=new yM(this.g.D),new tL(d,this.I),wM(this.view,d));mI(this.I,sK,function(e){!a.j&&e&&e.durationSeconds>0&&e.durationSeconds-e.currentTimeSeconds<5&&sM(a.view,!1);a.j&&!a.C&&e&&e.currentTimeSeconds>5&&(a.C=!0,tM(a.view,!0),uM(a.view,!0))});mI(this.I,iJ,function(){var e=a.M,f=a.A,g=a.g.va, h=a.g.isSkippable();v1(f)||(h?nI(e.I,jJ,null):w1(f,g))});this.ye()};l.ze=function(){this.B&&nI(this.I,VI,null)};l.Jg=function(){!this.F&&this.g.o&&!this.o&&this.g.g&&this.l&&(this.F=!0,qM(this.view,this.l),pM(this.view))};l.ye=function(){var a=this,b=ao(this.view.Ha()),c=b.height;GP("force_wta_top_left")&&(c=c-16-20-2);this.g.va.forEach(function(d,e){a.g.va.length===a.A.length&&BM(a.A[e],HE(d,b.width),IE(d,c))})};l.getConfig=function(){return this.g};var D1=function(a,b,c,d,e,f,g){g=g===void 0?!1:g;iL.call(this,c);this.g=new C1(b,c,d,e,f,g);this.j=new o1([a],c,d,new KT,"",!1,!1)};w(D1,iL);l=D1.prototype;l.build=function(){this.g.build();this.j.build()};l.ze=function(){this.g.ze()};l.Jg=function(){this.g.Jg()};l.ye=function(){this.g.ye()};l.getConfig=function(){return this.g.getConfig()};l.O=function(){this.g.dispose();this.j.dispose()};var E1=function(a,b,c,d){iL.call(this,a);this.l=b;this.g=c;this.o=d;this.j=null;this.view=new nM(["videoAdUiInstreamUxRefresh","endcap"],"",!0,!0)};w(E1,iL); E1.prototype.build=function(){iM(this.view,this.l);oM(this.view);this.j=new LM({jf:!0,Sg:!0,oc:GP("promoskip")});rM(this.view,this.j);new IL(this.j,this.I,0);var a=new CM(this.g.actions[0].title);new nL(a,this.I,hJ);qM(this.view,a);a=new jM;var b;if((b=this.g.Qc)==null?0:b.Sb)a.l(this.g.Qc.Sb),a.show();new nL(a,this.I,hJ);wM(this.view,a);b=new lM;var c;if((c=this.g.Qc)==null?0:c.description)b.l(this.g.Qc.description),b.show();wM(this.view,b);new nL(b,this.I,hJ);c=new zM("author");var d;if(b=((d=this.g.Qc)== null?void 0:d.Ia)||this.o)c.l(b),c.show();new nL(c,this.I,hJ);qM(this.view,c);pM(this.view)};var F1=function(a){var b;(b=a.j)!=null&&b.j&&b.j.focus()};E1.prototype.O=function(){tf(this.view.Ha());this.view.dispose();iL.prototype.O.call(this)};function G1(a,b){b!=null&&(a.j=b.includes("adAttribution"),a.l=b.includes("countdown"))} function H1(a,b){b=b===void 0?6:b;var c=new I1;var d=a.getDuration()!==-1&&a.getDuration()!==0&&a.getDuration()<=7;c.C=d?-1:a.getSkipTimeOffset();c.va=uU(a);c.gb=bU(a);GP("force_wta_top_left")&&J1(c.va);if(uQ().C==="tvos"){var e,f,g,h;d=new Ye((g=(e=a.ma)==null?void 0:e.linearAdSlotWidth)!=null?g:0,(h=(f=a.ma)==null?void 0:f.linearAdSlotHeight)!=null?h:0);K1(c.va,d)}c.G=!E(F(mU(a)));c.o=a.getDuration()>b||a.getDuration()===0;a.j&&(c.F=JN(a.j)||"");b=FP();zP(b,"disableSkipFadeTransition")&&(c.ah=0); if(L1(uU(a))){var k;b=((k=lS(a).get("GpidWtaExtension"))!=null?k:[])[0];c.J=b==null?void 0:b.j}if(a=(lS(a).get("watermark")||[]).pop())c.D={kf:a.kf};return c}function L1(a){return a.some(function(b){return b.Ab==="GoogleWhyThisAd"})}function J1(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 K1(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 M1=function(a){fM.call(this);this.element=of("DIV","nonLinearContainer");a&&xz(this.element,"autoalign")};w(M1,hM);var N1=function(a,b,c,d,e,f){S0.call(this,b);this.l=a;this.A=c;this.j=this.g=null;this.o=new gH(this);M(this,this.o);this.view=new M1(d);this.C=e;this.uiConfig=f};w(N1,S0);l=N1.prototype; l.build=function(){var a=this;iM(this.view,this.A);To(this,function(){return tf(a.view.Ha())});this.g=this.l.bd(this.uiConfig);var b=IM(this.g);b!=null&&this.o.listen(b,"click",function(c){c.stopPropagation();nI(a.I,WI,null)});G(HP).g(bB.g,bB.defaultValue)?(b=this.l.getMinSuggestedDuration()*1E3,new wL(this.g,this.I,!0,b)):new wL(this.g,this.I,!0);new sL(this.g,this.I,oJ);gM(this.view,this.g);this.C&&(b=new xM,new qL(b,this.I,dJ),gM(this.g,b),this.j=new KM,new FL(this.j,this.I,pJ),gM(this.view,this.j)); this.l.Yb&&(b=new MM(!0),new nL(b,this.I,zJ),gM(this.g,b));nI(this.I,qJ,null)};l.Ne=function(){return this.g?this.g.Ha():null};l.show=function(){this.j&&this.j.ca();this.g&&this.g.show()};l.ca=function(){this.j&&this.j.show();this.g&&this.g.ca()};l.ge=function(){return this.l};l.dg=function(){return this.g};var O1=function(){return aA('
')};var P1=function(){fM.call(this);this.element=FA(O1);this.j=ef("safeFrameParent",this.element);this.l=ef("safeFrameBottomBar",this.element)};w(P1,hM);var Q1=function(a,b){b.element&&a.l.appendChild(b.element)};var R1=function(a){var b={};$a(a,function(c){b[c.g()]=c.j()});return b};var S1=function(a,b,c,d,e,f){So.call(this);this.o=a;this.status=1;this.l=b;this.j=c;this.K=d;this.mg=!!e;this.A=Math.random();this.C={};this.g=null;this.D=Ra(this.G,this);this.B=f};w(S1,So); S1.prototype.G=function(a){if(!(this.j!=="*"&&a.origin!==this.j||!this.mg&&a.source!=this.l)){var b=null;try{b=JSON.parse(a.data)}catch(c){}if(Ma(b)&&(a=b.i,b.c===this.o&&a!=this.A)){if(this.status!==2)try{this.status=2,T1(this),this.g&&(this.g(),this.g=null)}catch(c){}a=b.s;b=b.p;if(typeof a==="string"&&(typeof b==="string"||Ma(b))&&this.C.hasOwnProperty(a))this.C[a](b)}}};var T1=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)}; S1.prototype.F=function(){if(this.status===1){try{this.l.postMessage&&T1(this)}catch(a){}window.setTimeout(Ra(this.F,this),50)}};S1.prototype.connect=function(a){a&&(this.g=a);Jf(window,"message",this.D);this.K&&this.F()};var U1=function(a,b,c){a.C[b]=c},V1=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){}};S1.prototype.O=function(){this.status=3;Kf(window,"message",this.D);So.prototype.O.call(this)};function W1(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);gf(a,c)};var X1=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},Y1=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})},Z1=function(a){var b= window,c=b.screenX||b.screenLeft||0,d=b.screenY||b.screenTop||0;b=new zn(d,c+(b.outerWidth||document.documentElement.clientWidth||0),d+(b.outerHeight||document.documentElement.clientHeight||0),c);c=Wn(a);d=ao(a);var e=new Mn(c.x,c.y,d.width,d.height);c=Nn(e);d=String(Tn(a,"zIndex"));var f=new zn(0,Infinity,Infinity,0);for(var g=af(a),h=g.g.body,k=g.g.documentElement,m=jf(g.g);a=Vn(a);)if((!se||a.clientHeight!=0||a!=h)&&a!=h&&a!=k&&Tn(a,"overflow")!="visible"){var n=Wn(a),p=new Xe(a.clientLeft,a.clientTop); n.x+=p.x;n.y+=p.y;f.top=Math.max(f.top,n.y);f.right=Math.min(f.right,n.x+a.clientWidth);f.bottom=Math.min(f.bottom,n.y+a.clientHeight);f.left=Math.max(f.left,n.x)}a=m.scrollLeft;m=m.scrollTop;f.left=Math.max(f.left,a);f.top=Math.max(f.top,m);g=g.g;g=hf(g.parentWindow||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 Mn(f.left,f.top,f.right-f.left,f.bottom-f.top):null)?On(e,f):null; g=a=0;m&&!m.getSize().isEmpty()&&(a=m.width/e.width,g=m.height/e.height);m=new zn(0,0,0,0);if(h=f)(e=On(e,f))?(k=Nn(f),n=Nn(e),h=n.right!=k.left&&k.right!=n.left,k=n.bottom!=k.top&&k.bottom!=n.top,h=(e.width!=0||h)&&(e.height!=0||k)):h=!1;h&&(m=new zn(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 X1(b,c,d,m,a,g)};var $1=function(a){this.A=a;this.o=null;this.D=this.status=0;this.j=null;this.Z="sfchannel"+a};$1.prototype.za=function(){return this.status==1};({})[3]=id(dd(new cd(ad,"https://s0.2mdn.net/ads/richmedia/studio/mu/templates/hifi/hifi.js")));({})[3]=id(dd(new cd(ad,"https://s0.2mdn.net/ads/richmedia/studio_canary/mu/templates/hifi/hifi_canary.js")));var a2=function(a){this.g=a};a2.prototype.getValue=function(a,b){return this.g[a]==null||this.g[a][b]==null?null:this.g[a][b]};var b2=function(a,b){this.Zf=a;this.ag=b;this.j=this.g=!1};var c2=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.mg=g;this.hostpageLibraryTokens=h;this.g=""};function d2(a){return typeof a==="number"||typeof a==="string"}var e2=function(a,b){this.j=a;this.l=b};e2.prototype.g=function(a){this.l&&a&&(a.sentinel=this.l);return JSON.stringify(a)};var f2=function(a,b,c){e2.call(this,a,c===void 0?"":c);this.version=b};w(f2,e2);f2.prototype.g=function(){return e2.prototype.g.call(this,{uid:this.j,version:this.version})};var g2=function(a,b,c,d){e2.call(this,a,d===void 0?"":d);this.A=b;this.o=c};w(g2,e2); g2.prototype.g=function(){return e2.prototype.g.call(this,{uid:this.j,initialWidth:this.A,initialHeight:this.o})};var h2=function(a,b,c){e2.call(this,a,c===void 0?"":c);this.description=b};w(h2,e2);h2.prototype.g=function(){return e2.prototype.g.call(this,{uid:this.j,description:this.description})};var i2=function(a,b,c,d){e2.call(this,a,d===void 0?"":d);this.expand=b;this.push=c};w(i2,e2); i2.prototype.g=function(){return e2.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 j2=function(a,b){e2.call(this,a,b===void 0?"":b)};w(j2,e2);j2.prototype.g=function(){return e2.prototype.g.call(this,{uid:this.j})};var k2=function(a,b,c){e2.call(this,a,c===void 0?"":c);this.o=b};w(k2,e2); k2.prototype.g=function(){var a={uid:this.j,newGeometry:Y1(this.o)};return e2.prototype.g.call(this,a)};var l2=function(a,b,c,d,e,f){k2.call(this,a,c,f===void 0?"":f);this.success=b;this.expand=d;this.push=e};w(l2,k2);l2.prototype.g=function(){var a={uid:this.j,success:this.success,newGeometry:Y1(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 m2=function(a,b,c,d){e2.call(this,a,d===void 0?"":d);this.width=b;this.height=c};w(m2,e2);m2.prototype.g=function(){return e2.prototype.g.call(this,{uid:this.j,width:this.width,height:this.height})};var n2=function(a){var b;if((b=a.location)==null?0:b.ancestorOrigins)return a.location.ancestorOrigins.length;var c=0;cg(function(){c++;return!1},a);return c};var o2=function(){this.g=[]},q2=function(a,b,c,d,e){a.g.push(new p2(b,c,d,e))},r2=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},p2=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 w2=function(a){$1.call(this,a.uniqueId);var b=this;this.B=a.sa;this.N=a.size===1;this.aa=new b2(a.permissions.Zf&&!this.N,a.permissions.ag&&!this.N);this.C=a.ri;var c;this.xa=(c=a.hostpageLibraryTokens)!=null?c:[];var d=window.location;c=d.protocol;d=d.host;this.la=c=="file:"?"*":c+"//"+d;this.Ua=!!a.mg;this.T=a.Ee?"//"+a.Ee+".safeframe.googlesyndication.com":"//tpc.googlesyndication.com";this.ha=a.zb?"*":"https:"+this.T;this.da=s2(a);this.l=new o2;t2(this,a);this.o=this.W=Z1(a.ri);this.K=a.tf|| "1-0-40";var e;this.ba=(e=a.Tp)!=null?e:"";u2(this,a);this.F=MB(412,function(){return v2(b)},a.wc);this.G=-1;this.J=0;var f=MB(415,function(){b.g&&(b.g.name="",a.Sj&&a.Sj(),Kf(b.g,"load",f))},a.wc);Jf(this.g,"load",f);this.Zh=MB(413,this.Zh,a.wc);this.xi=MB(417,this.xi,a.wc);this.zi=MB(419,this.zi,a.wc);this.Mh=MB(411,this.Mh,a.wc);this.wh=MB(409,this.wh,a.wc);this.M=MB(410,this.M,a.wc);this.oi=MB(416,this.oi,a.wc);this.j=new S1(this.Z,this.g.contentWindow,this.ha,!1);U1(this.j,"init_done",Ra(this.Zh, this));U1(this.j,"register_done",Ra(this.xi,this));U1(this.j,"report_error",Ra(this.zi,this));U1(this.j,"expand_request",Ra(this.Mh,this));U1(this.j,"collapse_request",Ra(this.wh,this));U1(this.j,"creative_geometry_update",Ra(this.M,this));this.j.connect(Ra(this.oi,this))};w(w2,$1); var t2=function(a,b){var c=b.ri;var d=b.size;b=b.Vm;a.N?(c.style.width=Zn("100%"),c.style.height=Zn("auto")):b||(c.style.width=Zn(d.width),c.style.height=Zn(d.height))},u2=function(a,b){var c=b.zb;var d=b.content;var e=b.Lm;var f=b.size;var g=b.Mm===void 0?"3rd party ad content":b.Mm;var h=b.Vp;var k=b.Pp;var m=(b=b.Vm)||!c;d=b||!c?d!=null?d:"":"";var n={shared:{sf_ver:a.K,ck_on:$u()?1:0,flash_ver:"0"}};d=a.K+";"+d.length+";"+d;n=new c2(a.A,a.la,a.W,a.aa,new a2(n),a.N,a.Ua,a.xa);var p={};p.uid=n.j; p.hostPeerName=n.l;p.initialGeometry=Y1(n.o);var r=n.permissions;r=JSON.stringify({expandByOverlay:r.Zf,expandByPush:r.ag,readCookie:r.g,writeCookie:r.j});p=(p.permissions=r,p.metadata=JSON.stringify(n.metadata.g),p.reportCreativeGeometry=n.A,p.isDifferentSourceWindow=n.mg,p.goog_safeframe_hlt=R1(n.hostpageLibraryTokens),p);n.g&&(p.sentinel=n.g);n=JSON.stringify(p);p=f.width;f=f.height;a.N&&(f=p=0);r={};e=(r.id=e,r.title=g,r.name=d+n,r.scrolling="no",r.marginWidth="0",r.marginHeight="0",r.width=String(p), r.height=String(f),r["data-is-safeframe"]="true",r);m&&(g=a.ba,m=a.T,f=a.K,(d=g)&&(d="?"+d),m=(m===void 0?"//tpc.googlesyndication.com":m)+("/safeframe/"+f+"/html/container.html"+d),(f=n2(lf($e(a.C))))&&(m+=(g?"&":"?")+"n="+f),e.src="https:"+m);a.da!==null&&(e.sandbox=a.da);h&&(e.allow=h);k&&(e.credentialless="true");e["aria-label"]="Advertisement";e.tabIndex="0";b?(a.C.removeChild(c),W1(c,e),a.g=c):c?(a.g=c,gf(a.g,e)):(c=pg("IFRAME"),W1(c,e),a.g=c);a.N&&(a.g.style.minWidth="100%");a.C.appendChild(a.g)}; l=w2.prototype;l.oi=function(){Jf(window,"resize",this.F);Jf(window,"scroll",this.F)}; l.Zh=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(!Ma(b)||!d2(b.uid)||typeof b.version!=="string")throw Error("Cannot parse JSON message");var c=new f2(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.xi=function(a){try{if(!this.za())throw Error("Container not initialized");if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Ma(b)||!d2(b.uid)||typeof b.initialWidth!=="number"||typeof b.initialHeight!=="number")throw Error("Cannot parse JSON message");if(this.A!==(new g2(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.zi=function(a){try{if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Ma(b)||!d2(b.uid)||typeof b.description!=="string")throw Error("Cannot parse JSON message");var c=new h2(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.Mh=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(!Ma(b)||!d2(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 i2(b.uid,new zn(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.ag||!c.push&&this.aa.Zf){var e=c.expand,f=c.push,g=this.o=Z1(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)q2(this.l,h,"overflowX","visible","important"),q2(this.l,h,"overflowY","visible", "important");var k=Nn(new Mn(0,0,this.o.j.getWidth(),this.o.j.getHeight())).expand(e);q2(this.l,this.C,"position","relative");q2(this.l,this.g,"position","absolute");if(f){var m=this.l,n=this.C,p=k.getWidth();q2(m,n,"width",p+"px");var r=this.l,u=this.C,t=k.getHeight();q2(r,u,"height",t+"px")}else q2(this.l,this.g,"zIndex","10000");var x=this.l,A=this.g,H=k.getWidth();q2(x,A,"width",H+"px");var C=this.l,P=this.g,fa=k.getHeight();q2(C,P,"height",fa+"px");q2(this.l,this.g,"left",k.left+"px");q2(this.l, this.g,"top",k.top+"px");this.D=2;this.o=Z1(this.g);d=!0}else d=!1}a=d;V1(this.j,"expand_response",(new l2(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(Tb){var da;(da=this.B)==null||da.error("Invalid EXPAND_REQUEST message. Reason: "+Tb.message)}}; l.wh=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(!Ma(b)||!d2(b.uid))throw Error("Cannot parse JSON message");if(this.A!==(new j2(b.uid,b.sentinel)).j)throw Error("Wrong source container");r2(this.l);this.D=0;this.g&&(this.o=Z1(this.g));V1(this.j,"collapse_response",(new k2(this.A,this.o)).g())}catch(d){var c;(c=this.B)== null||c.error("Invalid COLLAPSE_REQUEST message. Reason: "+d.message)}};var v2=function(a){if(a.status==1||a.status==2)switch(a.J){case 0:x2(a);a.G=window.setTimeout(Ra(a.P,a),1E3);a.J=1;break;case 1:a.J=2;break;case 2:a.J=2}}; w2.prototype.M=function(a){try{if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Ma(b)||!d2(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 m2(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,v2(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)}};w2.prototype.P=function(){if(this.status==1||this.status==2)switch(this.J){case 1:this.J=0;break;case 2:x2(this),this.G=window.setTimeout(Ra(this.P,this),1E3),this.J=1}};var x2=function(a){a.o=Z1(a.g);V1(a.j,"geometry_update",(new k2(a.A,a.o)).g())}; w2.prototype.destroy=function(){this.status!=100&&(this.D==2&&(r2(this.l),this.D=0),window.clearTimeout(this.G),this.G=-1,this.J=3,this.j&&(this.j.dispose(),this.j=null),Kf(window,"resize",this.F),Kf(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 s2=function(a){var b=null;a.ek&&(b=a.ek);return b==null?null:b.join(" ")},y2=["allow-modals","allow-orientation-lock","allow-presentation","allow-pointer-lock"],z2=["allow-top-navigation"],A2=["allow-same-origin"],B2=mg([].concat(v(y2),v(z2)));mg([].concat(v(y2),v(A2)));mg([].concat(v(y2),v(z2),v(A2)));var C2=function(a){var b=a.container;var c=a.Ah;var d=a.Bh;var e=a.gb;var f=a.Lh;var g=a.Ee;var h=a.tf;var k=a.skipOffset;iL.call(this,a.I);this.sa=this.j=null;this.container=b;this.Ah=c;this.Bh=d;this.gb=e;this.Lh=f;this.Ee=g;this.tf=h;this.skipOffset=k;(this.g=k!=null?new LM({jf:!0}):null)&&M(this,this.g);this.view=new P1};w(C2,iL); C2.prototype.build=function(){var a=this;iM(this.view,this.container);if(this.g&&this.skipOffset!=null){var b=new IL(this.g,this.I,this.skipOffset,7);Q1(this.view,this.g);M(this,b)}this.gb&&Q1(this.view,new z1(this.gb));this.j=new w2({content:this.Ah,wc:this.Lh,Lm:"safe-frame-container",sa:{info:function(){},kq:function(){},error:function(){}},Sj:function(){return void nI(a.I,mJ,null)},ri:this.view.j,permissions:{Zf:!1,ag:!1},Ee:this.Ee,tf:this.tf,ek:B2,size:this.Bh,uniqueId:fe()});To(this,function(){var c; return void((c=a.j)==null?void 0:c.destroy())})};C2.prototype.O=function(){tf(this.view.Ha());this.view.dispose();iL.prototype.O.call(this)};var D2=function(){fM.call(this);this.element=of("div");Qn(this.element,{position:"absolute",width:"100%",height:"100%"})};w(D2,hM);var E2=function(a,b,c,d){iL.call(this,c);this.va=a;this.gb=b;this.g=d;this.view=new D2};w(E2,iL);E2.prototype.build=function(){var a=this;window.frameElement&&Qn(window.frameElement,{"z-index":100});iM(this.view,this.g);this.gb&&gM(this.view,new z1(this.gb));this.va.forEach(function(b){var c=new zM("vast");new ML(c,a.I,b);gM(a.view,c);var d=ao(a.view.Ha());BM(c,HE(b,d.width),IE(b,d.height));AM(c,b.g,b.j)})};E2.prototype.O=function(){tf(this.view.Ha());iL.prototype.O.call(this)};function F2(a,b,c){c=c===void 0?null:c;switch(yH(a.adTagUrl||"")){case "dcm":c=new Map;b.A!=null&&c.set("dc_submodel",b.A);var d=EP.K;d!=null&&c.set("dc_rfl",yg(d));d=new qD(a.adTagUrl||"");var e=sD(d,"dc_output")||[];(e.includes("vast")||e.includes("xml_vast2")||e.includes("xml_vast3"))&&c.set("dc_output","xml_vast4");d=sD(d,"dc_eid")||[];d=GD(d[0]||"");E(F(d))||c.set("dc_eid",d);a=new Map([].concat(v(FX(a,b)),v(c)));return new $M(a);case "dv3":c=new Map;b.A!=null&&c.set("submodel",b.A);d=GD((new O(a.adTagUrl)).g.get("eid", ""));E(F(d))||c.set("eid",d);if(d=EP.K)d=yg(d),d=encodeURIComponent(F(d)),c.set("rfl",d);a=new Map([].concat(v(FX(a,b)),v(c)));return new bN(a);case "adsense":return new XM(GX(a,c!=null?c.l:[],b));case "xfp":return new cN(EX(a,b));case "dbm":return new ZM(FX(a,b));default:return new DH}};var G2="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(" "),H2=[].concat(v(EQ),v(FQ)).filter(function(a){return!G2.includes(a)}),I2=function(a){N.call(this);this.U=a};w(I2,N);l=I2.prototype;l.getAd=function(){return this.U.getAd()};l.Bc=function(){return this.U.Bc()};l.expand=function(){this.U.expand()}; l.collapse=function(){this.U.collapse()};l.uf=function(){this.U.uf()};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.Uc=function(){this.U.Uc()};l.reportEvent=function(a){this.U.reportEvent(a)};l.Nb=function(a,b){this.U.Nb(a,b)};l.Sa=function(a,b,c){this.U.Sa(a,b,c)};l.Hc=function(){this.U.Hc()};l.rc=function(){this.U.rc()};l.toString=function(){return this.U.toString()};var J2=function(a,b,c,d){d=d===void 0?!1:d;I2.call(this,a);this.ka=b;this.X=c;this.G=d;this.K=this.g=this.D=this.A=this.F=this.l=this.j=null;this.P=!1;this.M=this.B=null;this.T=Xb(this.ka);this.o=new gH(a);M(this,this.o)};w(J2,I2);J2.prototype.init=function(){this.P||(K2(this),this.P=!0);I2.prototype.init.call(this)}; J2.prototype.start=function(){this.G||(this.ka.g=!1);I2.prototype.start.call(this);var a,b;(a=ef("videoAdUi"))==null||(b=a.classList)==null||b.add("ima-action-ad");if(a=this.getAd())if(b=VT(a,"InfoCards"))if(this.A=qU(b))this.D=this.A.actions[0].title,this.g=this.A.Qc,this.K=this.A.actions[0].target||mU(a);var c,d;if((c=this.A)==null?0:(d=c.qd)==null?0:d.Xg)if(this.G){var e=this.X.g.hc();this.D&&nI(e,OI,this.D);var f;((f=this.g)==null?0:f.Sb)&&nI(e,PI,this.g.Sb);var g;((g=this.g)==null?0:g.description)&& nI(e,NI,this.g.description);var h;((h=this.g)==null?0:h.Ia)&&nI(e,MI,this.g.Ia)}else{f=document.body;this.j=new hL(this.D);this.j.ca();this.F=of("DIV");xz(this.F,"videoAdUiFloatingLayer");f.appendChild(this.F);this.j.Kf(this.F);((e=this.g)==null?0:e.Sb)&&this.j.kh(this.g.Sb);var k;((k=this.g)==null?0:k.description)&&this.j.Cf(this.g.description);var m;((m=this.g)==null?0:m.Ia)&&this.j.Le(this.g.Ia);(f=(f=this.getAd())&&f.j?JN(f.j):null)&&this.j.j.element.classList.add(f)}var n,p;if((n=this.A)==null? 0:(p=n.qd)==null?0:p.Yg)if(n=this.X.g.ob(),p=this.getAd(),n&&p&&this.A&&this.A.qd)if(f=this.A.qd.Ve,p.N=f/1E3,this.G){var r=IN(p.j);this.B=new E1(this.X.g.hc(),n,this.A,(r==null?void 0:r.g)||null);this.B.build()}else{this.l=new cL(n,f,this.D);((r=this.g)==null?0:r.Sb)&&this.l.l.kh(this.g.Sb);var u;((u=this.g)==null?0:u.description)&&this.l.l.Cf(this.g.description);var t;((t=this.g)==null?0:t.Ia)&&this.l.l.Le(this.g.Ia)}var x;if(r=(x=this.getAd())==null?void 0:x.j){if((x=HN(r))&&x.j){var A;(A=this.l)== null||dL(A,x.j)}A=IN(r);var H;if(((H=this.g)==null||!H.Ia)&&(A==null?0:A.g)){var C;(C=this.j)==null||C.Le(A.g||"");var P;(P=this.l)!=null&&P.l.Le(A.g||"")}}L2(this);M2(this,"start")};J2.prototype.destroy=function(){Object.assign(this.ka,this.T);I2.prototype.destroy.call(this)}; var L2=function(a){a.j&&a.o.listen(a.j,"ctaClicked",function(){a.pause();M2(a,"ctaclick");a.Uc()});a.l&&(a.o.listen(a.l,"video_card_endcap_action",function(){return void N2(a)}),a.o.listen(a.l,"video_card_endcap_collapse",function(){return void O2(a,"video_card_endcap_collapse")}),a.o.listen(a.l,"videoSkipClicked",function(){return void O2(a,"video_card_endcap_dismiss")}))},K2=function(a){var b=a.U;a.o.listen(b,H2,function(c){return a.dispatchEvent(c)});a.o.listen(b,"start",function(){M2(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){M2(a,"error");c=c.getError()||JR(pP);NR(a,pP,c.getInnerError());a.destroy()});a.o.listen(b,"allAdsCompleted",function(){return void P2(a)});a.o.listen(b,"skip",function(){M2(a,"skip");a.l=null;var c;(c=a.B)==null||c.dispose();a.B=null;a.j&&a.j.ca();a.destroy()})},P2=function(a){M2(a,"complete");a.j&& a.j.ca();if(a.l)a.X.g.Mc(),a.l.show();else if(a.B){a.X.g.Mc();var b=a.X.g.hc();mI(b,vJ,function(){O2(a,"video_card_endcap_collapse")});mI(b,hJ,function(){N2(a)});a.X.j.l&&F1(a.B);var c,d,e;a.M=setTimeout(function(){O2(a,"video_card_endcap_collapse")},(e=(c=a.A)==null?void 0:(d=c.qd)==null?void 0:d.Ve)!=null?e:0)}else a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()})),a.dispatchEvent(X({type:"allAdsCompleted",ad:a.getAd()}));Object.assign(a.ka,a.T)},N2=function(a){M2(a,"endcapclick"); var b;(b=a.l)==null||b.pause();a.M&&clearTimeout(a.M);b={};b=(b.url=a.K,b);a.dispatchEvent(X({type:"navigationRequested",ad:a.getAd(),data:b}))};J2.prototype.Uc=function(){M2(this,"outerclick");this.Sa(this.K,null,null)}; var O2=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.X.g.dd();a.destroy()},M2=function(a,b){var c={};a=(c.evt=b,c.format=Q2(a),c);RQ().report(143,a,!0)},Q2=function(a){a=a.getAd();if(!a)return"noad";a=a.j;if(!a)return"noimalibad";a=DN(a);if(!a)return"noextension";a=a.g;return a!=null?a:"noformat"}; J2.prototype.O=function(){var a;(a=this.B)==null||a.dispose();I2.prototype.O.call(this)};var S2=function(a,b,c,d){So.call(this);this.l=a;this.X=b;this.o=c;this.ka=d;this.j=null;M(this,this.l);a.o=[].concat(v(a.B));a=R2(a);this.A=this.g=this.o.create([a],this.X,this.ka)};w(S2,So);l=S2.prototype;l.Id=function(){return this.g};l.gg=function(){var a=this,b,c;return z(function(d){if(d.g==1)return b=T2(a),a.j=null,y(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.Rd=function(){var a=this;return z(function(b){return b.g==1?y(b,T2(a),2):b.return(b.j)})};l.ci=function(){return this.Id()===this.A};l.O=function(){this.g.destroy();So.prototype.O.call(this)};var T2=function(a){if(a.Ja())return Promise.resolve(null);if(a.j)return a.j;a.j=new Promise(function(b){a.l.fc().then(function(c){a.Ja()?b(null):c?b(a.o.create([c],a.X,a.ka)):b(null)}).catch(function(){b(null)})});return a.j};var U2=function(){N.call(this)};w(U2,N);l=U2.prototype;l.getAd=function(){return null};l.Bc=function(){return!0};l.expand=function(){};l.collapse=function(){};l.uf=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.Uc=function(){};l.Sa=function(){};l.Hc=function(){};l.rc=function(){};var V2=function(a,b,c,d,e,f,g){this.g=a;this.A=b;this.C=c;this.l=d;this.B=e;this.j=f;this.J=g;this.o=[]};var W2=function(a){So.call(this);this.g=a.slice();this.l=this.j=this.g.shift()};w(W2,So);l=W2.prototype;l.Id=function(){return this.j};l.gg=function(){var a=this;return z(function(b){a.j=a.g.shift();return b.return(a.Id())})};l.Rd=function(){var a=this;return z(function(b){return a.Ja()?b.return(Promise.resolve(null)):a.g.length>0?b.return(a.g[0]):b.return(null)})};l.ci=function(){return this.Id()===this.l};l.O=function(){this.g.forEach(function(a){return void a.destroy()});So.prototype.O.call(this)};var Y2=function(a,b,c,d){N.call(this);this.ad=a;this.Ua=b;this.da=c;this.ka=d;this.sa=null;this.A=!1;this.volume=0;this.ub=this.K=null;this.W=new gH(this);M(this,this.W);this.j=new gH(this);M(this,this.j);this.xa=new QV;this.l=new ZD(BU(this.getAd()),new F0,CU(this.getAd()));if(this.getAd().g==null)throw MR(fP);this.Xc=$Q()?new fW:kX();X2(this)};w(Y2,N);Y2.prototype.Mb=function(){};Y2.prototype.expand=function(){};Y2.prototype.collapse=function(){}; var X2=function(a){var b=a.getAd(),c=b.ma;a.K=a.Xc.vk(b,a,a.l,c==null?void 0:c.omidAccessModeRules);a.ub=PM(function(d){return void a.reportEvent(d)})};Y2.prototype.getAd=function(){return this.ad};Y2.prototype.Bc=function(){return this.ad.isLinear()};Y2.prototype.O=function(){this.xa.dispose();this.dispatchEvent(X({type:"contentResumeRequested",ad:this.getAd()}));this.dispatchEvent(X({type:"allAdsCompleted",ad:this.getAd()}));Ro(this.j);var a;(a=this.ub)==null||a.disconnect();N.prototype.O.call(this)}; Y2.prototype.Sa=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 Z2=function(a){kH(a.W);a.W.kd(a.da,"companion_display_error",function(){});var b=a.da.B(a.getAd());b!=null&&a.W.listen(b,"companion_click",a.je);if(!a.da.ij())throw JR(VO);};Y2.prototype.je=function(){};var $2=function(a){var b=a.getAd();for(a=VT(b,"sodar");!a&&(b=b.Y);)a=VT(b,"sodar");a!=null&&a.init()};Y2.prototype.init=function(){}; Y2.prototype.reportEvent=function(a){this.l.report(a)};Y2.prototype.Nb=function(a,b){kE(this.l,b);b=this.l;a=a.getErrorCode();ZB(U(),"err");T(U(),"aec",String(a));RD(a,b.l);b.report("error")};var a3=function(a,b){a.reportEvent(b);var c=a.dispatchEvent,d=a.getAd();d=d===void 0?null:d;c.call(a,new UR(b,d===void 0?null:d,null))};l=Y2.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 MR(TO,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?NR(this,ZO,null,"volume",String(a)):this.volume=a};l.uf=function(){this.reportEvent("abandon")};var b3=function(a){if(!a.Ua){var b,c="Disp cont null.\n"+((b=Error().stack)!=null?b:"no stack");b={err:de(c,1500)};RQ().report(64,b,!0)}return a.Ua};l=Y2.prototype; l.Kg=function(a){var b=a.type;if(HQ.indexOf(b)!==-1){if(b==="externalActivityEvent"&&(b=a.getAdData().eventName,!JQ(b)))return;a3(this,b)}};l.resize=function(){};l.destroy=function(){var a=this;RV(this.xa,function(){return void a.dispose()})};l.Uc=function(){};l.Hc=function(){};l.rc=function(){};var c3=function(a,b,c){Y2.call(this,a,b.g,b.l,c);this.o=null;this.height=this.width=-1;this.D=!1;this.M=[];this.g=null;this.I=b.g.hc()};w(c3,Y2);l=c3.prototype; l.start=function(){Y2.prototype.start.call(this);d3(this);b3(this).Mc();this.o=b3(this).ob();if(this.o!=null){this.reportEvent("show_ad");this.dispatchEvent(X({type:"show_ad",ad:this.getAd()}));sf(this.o);this.oj();if(cR()&&this.g){var a=this.g.Ne(),b=new pE(this.getAd().j,this.l,b3(this).Jd(),cR(),this.getAd().Zb);b.A=a;sE(b);M(this,b)}this.Pe();this.M.forEach(function(c){return void c()});this.M=[];this.D=!0}}; l.init=function(){if(!this.A){this.A=!0;this.dispatchEvent(X({type:"loaded",ad:this.getAd()}));var a=jS();this.j.listen(a,HQ,this.Kg)}};l.expand=function(){this.g!=null&&this.g.show();this.reportEvent("expand")};l.collapse=function(){this.g!=null&&this.g.ca();this.reportEvent("collapse")};l.Mb=function(){Y2.prototype.Mb.call(this);this.Pe();this.D&&this.reportEvent("overlay_resize")};l.resize=function(a,b){Y2.prototype.resize.call(this,a,b);this.width=a;this.height=b;this.Pe();this.D&&this.reportEvent("overlay_resize")}; l.O=function(){var a;(a=this.g)==null||a.dispose();this.g=null;this.I.clear();this.D=!1;this.o!=null&&(sf(this.o),this.o=null);b3(this).dd();Y2.prototype.O.call(this)}; l.oj=function(){var a=this;if(!this.g){var b=this.getAd().g;if(b==null){var c=JR(fP);e3(this,c);throw c;}try{Z2(this)}catch(d){throw e3(this,d),d;}kE(this.l,eT(this.getAd()));c=fU(this.getAd())||this.ka.useStyledNonLinearAds;this.o&&(this.g=new N1(b,this.I,this.o,this.ka.autoAlign,c,new KT),mI(this.I,dJ,function(){return void a.Ye()}),mI(this.I,oJ,function(){var d=b.Qb(),e=b.Me();a3(a,"click");a.Sa(d,e,null)}),mI(this.I,uJ,function(){return void f3(a)}),mI(this.I,qJ,function(){return void a.ba()}), mI(this.I,zJ,function(){return void a.T()}),this.g.build())}};l.Pe=function(a,b){a=a===void 0?0:a;b=b===void 0?0:b;if(this.g!=null){var c=ao(b3(this).ob()),d=this.width,e=this.height;if(d===-1||e===-1)d=c.width,e=c.height;c=ao(this.g.Ne());if(c.width+a>d||c.height+b>e)throw a=JR(aP),e3(this,a),this.destroy(),a;}};var e3=function(a,b){var c=XS(b,a.getAd());a.Nb(b,c)};c3.prototype.Ye=function(){this.reportEvent("close");this.dispatchEvent(X({type:"userClose",ad:this.getAd()}))}; c3.prototype.ba=function(){var a=this;if(this.g){var b=this.g.ge().getAd();this.D?this.F(b):this.M.push(function(){return void a.F(b)})}};c3.prototype.F=function(a){a&&(kE(this.l,eT(a)),a3(this,"impression"),this.reportEvent("creativeView"),a3(this,"start"))};var f3=function(a){a.dispatchEvent(X({type:"userRecall",ad:a.getAd()}))};c3.prototype.Kg=function(a){var b=a.getAdData();this.getAd().Zb===b.queryId&&Y2.prototype.Kg.call(this,a)}; c3.prototype.T=function(){this.g&&this.Sa(this.g.ge().Yb,null,null)};var d3=function(a){var b=a.getAd().g,c,d;if(a=(d=((c=lS(a.getAd()).get("nonlinearAta"))!=null?c:[])[0])==null?void 0:d.j.A)b.Yb=a};c3.prototype.toString=function(){return"nonlinearman"};var i3=function(a,b,c){c3.call(this,a[0],b,c);var d=this;this.Z=!1;this.uiConfig=null;this.B=[];this.P=!1;this.elapsedTime=0;this.Ba=[];this.la=!1;this.G=new nu(200);M(this,this.G);this.ha=new F0;a.forEach(function(e){var f=e.g;if(f==null)f=MR(fP),e=XS(f,e),d.Nb(f,e);else{if(d.uiConfig==null){var g=VT(e,"AdSense");g&&(d.uiConfig=g.uiConfig)}f.getContentType()==="Text"&&(d.Z=!0);!(e=g3(e))||h3(d)&&!d.Z||(f.Yb=e);d.B.push(f)}});UT(this.getAd()).length!==0&&Z2(this)};w(i3,c3);l=i3.prototype; l.oj=function(){var a=this;if(!this.g&&this.o){if(this.B.length===0)throw JR(fP);this.uiConfig==null&&(this.uiConfig=new KT);if(h3(this)){var b=this.getAd(),c=R0(b,uU(b));b=tU(b,this.ka.disableUi,c);c=j3(this);this.g=new o1(this.B,this.I,this.o,this.uiConfig,c.text,!b,c.shouldRenderWta);this.j.listen(this.G,"tick",this.Nn)}else this.B.length===1?this.g=new N1(this.B[0],this.I,this.o,!0,!0,this.uiConfig):this.g=new t1(this.B,this.I,this.o,this.uiConfig);mI(this.I,oJ,function(d){var e=d.Cb,f=d.Db;if(a.g){d= a.g.ge();var g=d.getAd();if(g){var h=VT(g,"AdSense");h=new O(h.ee);var k=ao(a.g.Ne()),m=ao(b3(a).ob());e=["0","aw="+k.width,"ah="+k.height,"nx="+e,"ny="+f,"viewMode="+(VF(m.width,m.height)?"fullscreen":"normal"),"sdkv=h.3.657.0","eids="+vB(),"bw="+m.width,"bh="+m.height];h.g.set("label","elementclick");h.g.set("value",e.join(";"));a.ha.g(h.toString());k3(a,g);a.reportEvent("click");l3(a);a.dispatchEvent(X({type:"click",ad:a.getAd()}));if(e=d.Qb())(g=a.g.dg())&&(e=GM(g.j,e)),a.Sa(e,d.Me(),d.Df())}}}); mI(this.I,qJ,function(){return void a.ba()});mI(this.I,dJ,function(){return void a.Ye()});mI(this.I,uJ,function(){return void f3(a)});mI(this.I,wJ,function(){a.dispatchEvent(X({type:"skippableStateChanged",ad:a.getAd()}))});mI(this.I,vJ,function(){return void m3(a)});mI(this.I,zJ,function(){return void a.T()});mI(this.I,WI,function(){var d,e=VT(a.getAd(),"AdSense");e&&(d=e.vb);d==null&&a.uiConfig&&(d=a.uiConfig.vb);d&&a.Sa(d,null,null)});this.g.build()}}; l.Nn=function(){this.elapsedTime+=.2;var a=new jK(this.elapsedTime,this.getDuration());nI(this.I,sK,a);this.elapsedTime>=this.getDuration()&&(this.dispatchEvent(X({type:"complete",ad:this.getAd()})),n3(this))};l.init=function(){c3.prototype.init.call(this)};l.start=function(){c3.prototype.start.call(this);!this.P&&h3(this)&&(this.P=!0,this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()})),this.G.start())}; l.Ye=function(){var a=this;c3.prototype.Ye.call(this);this.B.forEach(function(b){if(b=b.getAd())k3(a,b),a.reportEvent("close"),l3(a)})};var g3=function(a){return(a=VT(a,"AdSense"))?a.j:null},j3=function(a){var b=VT(a.getAd(),"AdSense").ra,c;b=b!=null?b:(c=a.uiConfig)==null?void 0:c.ra;if(c=!!g3(a.getAd()))c=h3(a)&&!a.Z;a={text:b,shouldRenderWta:c};a.text==null&&(a.text=aA("Ads by Google"));return a}; i3.prototype.ba=function(){var a=this;if(this.g){var b=this.g.ge().getAd();if(b!=null){this.ad=b;var c=b.getAdId();this.Ba.includes(c)||(this.Ba.push(c),this.D?this.F(b):this.M.push(function(){return void a.F(b)}))}}};i3.prototype.F=function(a){a&&(this.ad=a,this.la||(this.dispatchEvent(X({type:"impression",ad:this.getAd()})),this.la=!0),k3(this,a),this.reportEvent("impression"),this.reportEvent("creativeView"),this.reportEvent("start"),this.dispatchEvent(X({type:"start",ad:this.getAd()})),l3(this))}; i3.prototype.T=function(){if(h3(this)){var a=g3(this.getAd());this.Sa(a,null,null)}else c3.prototype.T.call(this)};i3.prototype.Pe=function(){var a=h3(this)?15:0,b=h3(this)?65:0;c3.prototype.Pe.call(this,a,b)};var h3=function(a){return jU(a.getAd())},m3=function(a){a.dispatchEvent(X({type:"skip",ad:a.getAd()}));a.Ye();n3(a)},n3=function(a){a.G.stop();a.g&&(a.g.dispose(),a.g=null);a.P&&(a.P=!1,a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()})))}; i3.prototype.skip=function(){var a;var b=(a=this.getAd())==null?void 0:kU(a);b?(a=UQ(b),a=a!==-1&&this.getCurrentTime()>=a):a=!1;a&&m3(this)};i3.prototype.getCurrentTime=function(){return h3(this)?this.elapsedTime:c3.prototype.getCurrentTime.call(this)};i3.prototype.getDuration=function(){return h3(this)&&this.uiConfig!=null?15:c3.prototype.getDuration.call(this)};i3.prototype.getRemainingTime=function(){var a=this.getDuration(),b=this.getCurrentTime();return h3(this)&&0<=b&&b<=a?a-b:c3.prototype.getRemainingTime.call(this)}; var k3=function(a,b){a.l=new ZD(BU(b),a.ha,CU(b));kE(a.l,eT(b))},l3=function(a){a.l=new ZD(new Map,a.ha)};i3.prototype.toString=function(){return"adsensenonlinearman"};var p3=function(a,b,c,d,e){So.call(this);this.B=a;this.D=b;this.X=c;this.C=d;this.ka=e;this.A=!1;this.l=new gH;this.j=null;this.g=a;o3(this,a);M(this,this.l);this.o=[b]};w(p3,So);l=p3.prototype;l.Id=function(){return this.g};l.gg=function(){var a=this,b,c;return z(function(d){if(d.g==1)return b=q3(a),a.j=null,y(d,b,2);c=d.j;if(!c)throw Error("Called getNextManager when there are no more managers.");o3(a,c);a.g=c;return d.return(a.g)})}; l.Rd=function(){var a=this;return z(function(b){return b.g==1?a.A?b.return(null):y(b,q3(a),2):b.return(b.j)})};l.ci=function(){return this.Id()===this.B};l.O=function(){this.g.destroy();So.prototype.O.call(this)}; var r3=function(a){if(!qB(BC)){var b;return(b=a.g.getAd())==null?void 0:eU(b)}var c;return(c=a.o.find(function(d){var e;return(e=eU(d))==null?void 0:e.Nf()}))==null?void 0:eU(c)},q3=function(a){if(a.j)return a.j;var b=r3(a);if(b==null)return Promise.resolve(null);a.j=new Promise(function(c){b.Fd(function(d){if(a.Ja())c(null);else{a.o.push.apply(a.o,v(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.X,a.ka);c(d)}else c(null)}},function(){return void c(null)})});return a.j},o3=function(a,b){a.l.listen(b,["adStarted","start","impression"],function(){a.A=!0;a.l.dispose()})};var s3=[{type:"itag",Pd:18},{type:"itag",Pd:22}],t3=[{type:"itag",Pd:22},{type:"itag",Pd:18}];var u3=function(a,b,c){this.currentTime=b;this.duration=c;this.adBreakDuration=a.getMaxDuration();this.adPosition=a.getAdPosition();this.totalAds=a.getTotalAds()};function v3(a,b,c){var d=null,e=c+b;a.pa.forEach(function(f){var g;if(g=f instanceof ES)c===0&&b===0||f instanceof LU?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=EP.getFeatureFlags().audioPosterImageDefaultUrl;!b&&c&&(b=new KU(null,null,"Image",c));return b};var y3="start creativeView engagedView impression measurable_impression viewable_impression firstQuartile midpoint thirdQuartile complete".split(" "),z3=y3.concat(),A3=y3.concat(["skipShown","skip"]),B3=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.sa=null;this.g=new gH(this);M(this,this.g);this.F=new Set};w(B3,N);B3.prototype.O=function(){C3(this);N.prototype.O.call(this)}; var C3=function(a){kH(a.g);a.H!=null&&oR(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},F3=function(a,b,c,d,e){C3(a);a.H=c;nR(a.H);a.B=d;a.I=e;a.j=new D3(a.H);a.A=b.Zb;cR()&&(b=jS(),a.g.listen(b,"externalActivityEvent",a.en),a.g.listen(b,"measurable_impression",a.gn),a.g.listen(b,"viewable_impression",a.nn));a.g.listen(a.H,"timeUpdate",a.hl);a.g.listen(a.H,"loadedmetadata",function(){a.notify((new jt("loadedMetadata")).type)});a.g.listen(a.H,"durationChange",function(){a.notify((new jt("durationChange")).type)}); a.g.listen(a.H,"canplay",function(){a.notify((new jt("adCanPlay")).type)});a.g.listen(a.H,"volumeChange",a.on);a.g.listen(a.H,"pause",a.fl);a.g.listen(a.H,"play",a.gl);a.g.listen(a.H,"end",a.cn);a.g.listen(a.H,"beginFullscreen",a.T);a.g.listen(a.H,"endFullscreen",a.P);a.g.listen(a.H,"skip",a.M);a.g.listen(a.H,"skipShown",a.aj);a.g.listen(a.H,"start",a.kn);a.g.listen(a.H,"error",a.dl);a.g.listen(a.H,"mediaLoadTimeout",a.el);a.g.listen(a.H,"autoplayDisallowed",a.cl);a.g.listen(a.H,"loaded",function(){return void a.report("loaded")}); E3(a,a.B,a.I)},E3=function(a,b,c){b!=null&&c!=null&&(mI(c,AJ,function(){a.notify(VR({type:"videoClicked"}).type)}),mI(c,vJ,function(){return void a.M()}),mI(c,wJ,function(){return void a.aj()}),mI(c,VI,function(){return void a.ze()}),mI(c,bJ,function(){a.notify(VR({type:"authorIconClicked"}).type)}),mI(c,cJ,function(){a.notify(VR({type:"titleClicked"}).type)}),mI(c,XI,function(){a.notify(VR({type:"authorNameClicked"}).type)}),mI(c,lJ,function(){a.notify(VR({type:"learnMoreClicked"}).type)}),mI(c, yJ,function(d){return void G3(d)}),mI(c,xJ,function(d){return void H3(a,d.l,d.A,d.C,d.B)}),mI(c,kJ,function(){a.notify(VR({type:"iconFallbackImageClosed"}).type)}),mI(c,zJ,function(){return void H3(a,[],b?b.B:null,null)}))};l=B3.prototype;l.notify=function(a){if(this.l||!z3.includes(a))this.F.has(a)&&A3.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.gn=function(a){(a=a.getAdData())&&a.queryId===this.A&&this.notify("measurable_impression")};l.nn=function(a){(a=a.getAdData())&&a.queryId===this.A&&this.notify("viewable_impression")};l.en=function(a){if(a=a.getAdData()){var b=a.eventName;a=JQ(b)&&a.queryId===this.A?b:null;a!=null&&this.l&&!this.F.has(a)&&this.notify(a)}}; l.hl=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"),iE(this.G,this.H.getCurrentTime(),a*1E3));I3(this)}};var I3=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=B3.prototype; l.kn=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.on=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.fl=function(){this.H&&this.j&&(this.H.o?(I3(this),this.notify("complete")):this.H.l&&(this.j.j=!0,this.notify("pause")))};l.gl=function(){this.j&&this.j.j&&(this.j.j=!1,this.notify("resume"))};l.cn=function(){I3(this);this.notify("complete")};l.nh=function(){this.notify("click")};l.dl=function(){this.notify("error")};l.el=function(){this.notify("mediaLoadTimeout")};l.cl=function(){this.notify("autoplayDisallowed")};l.aj=function(){this.notify("skipShown")}; var G3=function(a){a.J.forEach(function(b){NQ(b)})},H3=function(a,b,c,d,e){e=e===void 0?[]:e;var f={};c=(f.clickThroughUrl=c,f.attributionParams=d,f);b.length>0&&!iR(b)&&(c.iconClickFallbackImages=b.map(function(g){return v0(g)}));a.dispatchEvent(VR({type:"videoIconClicked",data:c}));e.forEach(function(g){NQ(g)})};B3.prototype.M=function(){this.notify("skip")};B3.prototype.ze=function(){this.notify("skip")};B3.prototype.T=function(){this.notify("fullscreen")};B3.prototype.P=function(){this.notify("exitFullscreen")}; var D3=function(a){this.j=!1;this.g=a.muted;this.volume=a.getVolume()};D3.prototype.muted=function(a,b){return!this.g&&a||this.volume!==0&&b===0};var J3=function(a,b){b=b===void 0?null:b;jt.call(this,a);this.data=b};w(J3,jt);var L3=function(a){N.call(this);this.l=a;this.j=!1;this.o=new gH(this);M(this,this.o);this.g=new K3;this.o.listen(this.l,"nativeUi",this.A)};w(L3,N);var N3=function(a){a.j||(a.j=!0,M3(a))},O3=function(a,b){a.g.j=b;M3(a)};L3.prototype.O=function(){this.g=new K3;M3(this);this.j=!1;N.prototype.O.call(this)};var M3=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.Vd,c),d);mR(a.l,"nativeUi","updateUiState",b)}}; L3.prototype.A=function(a){switch(a.messageType){case "iconClicked":this.dispatchEvent(new J3("iconClicked",a.Eb));break;case "iconRendered":this.dispatchEvent(new J3("iconRendered",a.Eb));break;case "skipButtonClicked":this.dispatchEvent(new J3("skipButtonClicked"))}};var K3=function(){this.Vd="";this.j={};this.g="skipStateHidden"};var P3=["image/jpeg","image/jpg","image/png"],Q3=function(a,b,c){So.call(this);this.g=a;this.I=b;this.va=c.filter(function(d){var e=d.D;return e!=null&&P3.includes(e.toLowerCase())&&d.o!=null});this.j=new gH(this);M(this,this.j);this.j.listen(this.g,"iconClicked",this.l);this.j.listen(this.g,"iconRendered",this.o);a={};O3(this.g,(a.icons=this.va.map(function(d,e){return y0(d,e)}),a.iconsFallbackImageCloseText="OK",a.iconsFallbackImageErrorText="The requested information could not be loaded.",a))}; w(Q3,So);Q3.prototype.l=function(a){(a=R3(this,a.data))&&nI(this.I,xJ,a)};Q3.prototype.o=function(a){(a=R3(this,a.data))&&nI(this.I,yJ,a)};var R3=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 U3=function(a,b,c,d){d=d===void 0?!1:d;So.call(this);this.j=a;this.I=b;this.g=c;this.oc=d;this.currentTimeSeconds=0;a=this.g;this.state=a<0?1:a===0?3:2;this.l=new gH(this);M(this,this.l);S3(this);T3(this);this.state===3&&nI(this.I,wJ,null)};w(U3,So);var S3=function(a){a.l.listen(a.j,"skipButtonClicked",function(){a.state===3&&nI(a.I,vJ,null)});mI(a.I,sK,a.o,a);To(a,function(){jI(a.I.g,sK.toString(),a.o,a)})}; U3.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,nI(this.I,wJ,null)):this.state=2,T3(this))}; var T3=function(a){var b="skipStateHidden",c="";if(a.state===3)b="skipStateSkippable",c=vc(a.oc?"Skip ":"Skip Ad ");else if(a.state===2){b="skipStatePreSkip";c=a.oc;var d=Math.ceil(a.g-a.currentTimeSeconds),e=d.toString();d>=60&&(e=$C(d));c=NK({hh:e,oc:c})}a=a.j;if(a.g.g!==b||a.g.Vd!==c)a.g.g=b,a.g.Vd=c,M3(a)};var V3=function(a,b,c){So.call(this);this.g=a;this.I=b;this.config=c;this.j=!1};w(V3,So);l=V3.prototype;l.build=function(){var a=this;mI(this.I,wJ,this.bj,this);To(this,function(){jI(a.I.g,wJ.toString(),a.bj,a)});var b=GP("promoskip");b=new U3(this.g,this.I,this.config.C,b);M(this,b);b=new Q3(this.g,this.I,this.config.va);M(this,b);N3(this.g)};l.ze=function(){this.j&&nI(this.I,VI,null)};l.ye=function(){};l.getConfig=function(){return this.config};l.Jg=function(){};l.bj=function(){this.j=!0};var W3=function(a,b,c,d){d=d===void 0?!1:d;Y2.call(this,a,b.g,b.l,c);var e=this;this.X=b;this.P=d;this.sa=this.ha=this.g=this.H=null;this.Z=this.D=!1;this.Xa=this.Ba=this.F=1;this.B=null;this.T=!1;this.ba=this.Ya=null;this.Va=!1;this.G=b.A;this.I=b.g.hc();this.o=new B3(this.l);this.la=new IO(this.I,this.getAd().isSkippable());this.xb=function(){var f={};return f.currentTime=e.getCurrentTime(),f.duration=e.getDuration(),f.isPlaying=!0,f.isVpaid=iT(e.getAd())!=null,f.isYouTube=!1,f.volume=e.getVolume(), f};b.o.push(this.toString())};w(W3,Y2);W3.prototype.O=function(){nS(this.getAd());var a;(a=this.g)==null||a.dispose();this.g=null;this.I.clear();Ro(this.o);Ro(this.ha);Ro(this.l);this.Z=!1;if(this.D){a=this.D=!1;b3(this)!=null&&(a=this.X.j.o);var b;(b=this.H)==null||b.reset(a)}var c;(c=this.H)==null||vR(c);X3(this.G,this.H);Y2.prototype.O.call(this)}; var Y3=function(a,b,c){if(!a.D){a.D=!0;mS(a.getAd(),a.xb);jS().H=b;if(a.K!=null){var d=a.K;d.l=b;d.o.listen(d.l,"start",d.P)}a.ha=new P0(b);d=a.ha;var e;(e=d.g)==null||kH(e);d.g=new gH(d);M(d,d.g);d.g.listen(d.H,"play",d.l);d.g.listen(d.H,"start",d.o);e=a.ka.loadVideoTimeout;e>0&&(b.F=e);e=a.getAd().j;e=e instanceof OE?e.g.length>0?e.g[0]:null:null;d=a.getAd().tb;d.j=Date.now();d.g=null;rR(b,c.url||"",e,a.getAd().getAdPodInfo());EP.C&&EP.G&&(b={},c=(b.mediaUrl=c.url,b),a.dispatchEvent(X({type:"mediaUrlPinged", ad:a.getAd(),data:c})))}},$3=function(a,b){if(a.X.j.B){var c=new L3(a.X.C);b=new V3(c,a.I,b);M(b,c);return b}c=document.body;var d=a.getAd(),e=b3(a).ob();e=(e=e?ao(e):null)?x3(d,e):null;var f=R0(d,uU(d));d=tU(d,a.ka.disableUi,f);b=e?new D1(e,b,a.I,c,d,!0,a.P):new C1(b,a.I,c,d,!0,a.P);mI(a.I,rJ,function(){Z3(a)});mI(a.I,QI,function(){a.pause()});mI(a.I,RI,function(){a.resume()});mI(a.I,SI,function(g){a.Sa(g,null,null)});mI(a.I,TI,function(g){var h={};a.dispatchEvent(X({type:"updateGfpCookie",ad:a.getAd(), data:(h.gfpCookieUserEnabled=g.j,h.gfpCookieClearData=g.g,h)}))});return b},a4=function(a,b){a.j.listen(b,"loaded",a.ln);a.j.listen(b,"timeUpdate",a.mn);a.j.listen(b,"waiting",a.pn);a.j.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.j.listen(b,"focusSkipButton",a.fn);a.j.listen(b,"seeked",function(){return void a.dispatchEvent("seeked")});a.j.listen(b, "seeking",function(){return void a.dispatchEvent("seeking")})};l=W3.prototype; l.init=function(){if(this.A)b4(this);else{this.A=!0;if(rU(this.getAd())&&$Q()){T(U(),"bia","1");var a=JR(YO,null,"action")}else a=this.X.j.T,a=this.getAd().isSkippable()&&!aR(a)?JR(YO,null,"skippablevideo"):null;if(a)c4(this,this.H,YO,a);else{a:{a=this.getAd();this.getAd();var b=VT(a,"GoogleHostedMediaExtension");if(b){var c=s3;Qf()&&hR()!==1&&hR()!==2||(c=t3);b=LG(new BI(c),b.j);if(b.length>0)for(b=q(b),c=b.next();!c.done;c=b.next())if(c=c.value,c instanceof bF){a=new kV(null,c.g,c.Ea,0,0,0,c.getWidth()|| 0,c.getHeight()||0,c.getMediaUrl(),null);break a}}b=dR(this.ka.mimeTypes||[]);b=new yI({nj:this.ka.bitrate,mimeTypes:b,hf:null});c=QT(a);vI(c);a=b.j<=0?Qf()?500:Infinity:b.j;b=zI(b,c);if(b.length==0)a=null;else{WB(U(),"smb",a);c=null;for(var d=q(b),e=d.next();!e.done;e=d.next()){e=e.value;var f=e.Fa,g=e.maxBitrate;f!=null&&f>a||g!=null&&gf)||(c=e)}if(!c)for(c=null,d=q(b),e=d.next();!e.done;e=d.next())if(e=e.value,f=e.Fa,g=e.maxBitrate,!(g!=null&&g>a))if(g== null||c==null||c.maxBitrate==null||c.maxBitratef)c=e;if(!c)for(c=null,d=q(b),e=d.next();!e.done;e=d.next())if(e=e.value,f=e.Fa,g=e.maxBitrate,!(f!=null&&ff)c=e;a=c}(c=a)||AI(b);a=[];c&&(a.push(c),T(U(),"vms","1"),c.maxBitrate?WB(U(),"br",c.maxBitrate):c.Fa&&WB(U(),"br",c.Fa),c.mimeType&&WB(U(),"mt",c.mimeType),c.width&&c.height&&WB(U(),"vs",c.width+"x"+c.height),c.codec&&WB(U(), "vc",c.codec),b=0,d="none",c.url&&(c=new tI(new O(c.url)),b=uI(c,"itag"),b=uI(c,"manifest")||b||0,d=uI(c,"source")),T(U(),"bit",String(b)),T(U(),"vsrc",d));a=a.length>0?a[0]:null}this.B=a;this.B===null?d4(this,JR(gP)):(this.getAd().g.g=this.B,b4(this),e4(this,this.B))}}};l.skip=function(){var a;if(a=this.H)if(a=this.getAd().isSkippable())a=FP(),a=zP(a,"enableSkipApi")||this.getAd().disableUi;a&&(this.g!=null?this.g.ze():(this.reportEvent("skip"),f4(this)))}; l.start=function(){if(this.Ya){var a=this.H;c4(this,a,pP,JR(pP,a.getError()))}else if(Y2.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=g4(this.G),this.H||(h4(this.G),this.H=g4(this.G))),this.H){var b=this.getAd().j;if(b instanceof OE){var c=GN(b);c&&(this.getAd().da=c)}if(this.ka.useVideoAdUi||this.X.j.B){var d=this.getAd(),e=this.ka,f=d.lg(),g=e.useStyledLinearAds;if($Q())var h=!1;else{var k;if(!(k= TF()&&!d.isCustomClickTrackingUsed())){var m,n;(n=d.j instanceof OE&&CN(d.j)||rU(d))||(n=d.j instanceof OE&&DN(d.j)?FN(d.j):!1);(m=n)||(m=d.j instanceof OE&&DN(d.j)?EN(d.j):!1);k=m||g}h=k?!0:!1}var p=h;var r=(lS(d).get("AdSense")||[]).pop(),u=r!=null&&r.Fe,t=r?r.j:null,x=p||u||e.useStyledLinearAds;if(sU(d)){if(L1(uU(d))){var A,H;var C=(H=((A=lS(d).get("GpidWtaExtension"))!=null?A:[])[0])==null?void 0:H.j}var P=uU(d);e=C;var fa=bU(d),da=new I1;da.gb=fa;da.va=P;da.j=!1;da.l=!1;da.g=!1;da.o=!1;da.A= !1;da.C=-1;e&&(da.J=e);var Tb=da}else if(x){var mm=F(mU(d)),zq=p||u||e.useLearnMoreButton;if(E(mm)||!OF(mm))zq=!1;P=zq;var mf=H1(d,0);mf.g=P;mf.N=e.g;!f||G1(mf,e.uiElements);L1(uU(d))||E(F(t))||uQ().l||(mf.B=t);Tb=mf}else{c:{f=["ADSENSE","ADSENSE/ADX","402"];for(var qj=cU(d),jg=qj.length-1;jg>=0;jg--)if(qj[jg]!=="UNKNOWN"){var nm=f.includes(qj[jg]);break c}nm=!1}if(nm){var xh=H1(d);xh.A=!0;L1(uU(d))||E(F(t))||(xh.B=t);var Mb=xh}else{var kg=H1(d);kg.o=!1;kg.j=!1;kg.l=!1;G1(kg,e.uiElements);Mb=kg}Tb= Mb}this.ba=Tb;this.g=$3(this,Tb);this.g.build();if(this.getAd().da!=null&&Tb.N){var Db=this.la,yh=this.getAd().j;Db.g=yh instanceof OE?HN(yh):null;Db.j=yh instanceof OE?IN(yh):null;Db.g&&Db.g.g&&(Db.g.title&&nI(Db.l,PI,Db.g.title),Db.j&&Db.j.title&&nI(Db.l,NI,Db.j.title),Db.j&&Db.j.g&&nI(Db.l,MI,Db.j.g))}var ed=this.getAd(),Aq=Tb.getUiElements();ed.uiElements=Aq}var om=this.H;mR(om.j,om.g,"activate");var lg=this.H;F3(this.o,this.getAd(),lg,this.g?this.g.getConfig():null,this.I);this.j.listen(this.o, "adCanPlay durationChange engagedView authorIconClicked authorNameClicked videoClicked videoIconClicked iconFallbackImageClosed learnMoreClicked muteClicked titleClicked unmuteClicked start skipShown loadedMetadata".split(" "),this.M);var rj=new pE(this.getAd().j,this.l,lg,cR(),this.getAd().Zb);sE(rj);M(this,rj);a4(this,lg);iH(this.j,this.o,"impression",this.M,!1,this);i4(this,lg);Y3(this,this.H,a);var Bq=this.setVolume,sj=VT(this.getAd(),"AdSense");Bq.call(this,sj!=null&&sj.uiConfig!=null&&sj.uiConfig.Bd? 0:this.Xa);this.reportEvent("show_ad");this.dispatchEvent(X({type:"show_ad",ad:this.getAd()}));b3(this).Zg();try{Z2(this)}catch(tj){c4(this,this.H,VO,tj);break a}uR(this.H)}else c4(this,this.H,dP,Error("Could not claim video display."))}catch(tj){d4(this,tj)}};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.Xa=a};l.pause=function(){this.H&&this.H.pause()};l.resume=function(){this.H&&uR(this.H)}; 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 c4=function(a,b,c,d){a.getAd().Td();j4(a,b,d);NR(a,c,d);a.destroy()},j4=function(a,b,c){c=JR(pP,c);b=XS(c,a.getAd(),b);a.Ja()||a.Va||(a.Va=!0,a.Nb(c,b))},i4=function(a,b){kE(a.l,eT(a.getAd(),b));var c=a.getAd().g;c!=null&&c instanceof CS&&(GQ.forEach(function(d){iH(a.j,a.o,d,a.M,!1,a)}),c=a.j,c.listen(a.o,"error",function(){c4(a,b,pP,JR(pP,b.getError()))}),c.listen(a.o,"mediaLoadTimeout",function(){a.getAd().tb.g=Date.now();c4(a,b,jP,JR(jP,null,(a.ka.loadVideoTimeout/1E3).toString()))}),c.listen(a.o, "autoplayDisallowed",function(){var d=JR(pP),e=JR(UO);d.g=e;c4(a,b,pP,d)}));a.getAd().isSkippable()&&(a.o.D=30)},k4=function(a){if(a.T){a.dispatchEvent(X({type:"click",ad:a.getAd()}));var b=a.Sa,c=mU(a.getAd()),d=nU(a.getAd()),e=a.getAd();b.call(a,c,d,e.g!=null?e.g.Df():null)}}; W3.prototype.M=function(a){switch(a.type){case "start":$2(this);this.T=!0;this.g&&this.g.Jg();l4(this,"start");ZB(U(),"ff");a=this.o;var b=b3(this).Uh();b||a.B||!a.H||a.g.listen(a.H,"click",a.nh);if(b){a.o=new G0;a.g.listen(a.o,"click",a.nh,!1);var c=a.o;b==null||c.F||(c.g=b,K0(c),c.F=!0)}a.I&&mI(a.I,YI,a.nh,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":nI(this.I,BJ,!0);this.dispatchEvent(X({type:"pause",ad:this.getAd()}));break;case "resume":nI(this.I,BJ,!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":l4(this,"click");k4(this);this.pause();break;case "engagedView":this.dispatchEvent(X({type:"engagedView",ad:this.getAd()})); break;case "videoClicked":Z3(this);this.dispatchEvent(X({type:"videoClicked"}));break;case "videoIconClicked":this.dispatchEvent(a);(a=a.getAdData())&&!this.X.j.F&&this.Sa(a.clickThroughUrl,a.attributionParams,null);this.pause();break;case "iconFallbackImageClosed":this.dispatchEvent(X({type:"iconFallbackImageClosed",ad:this.getAd()}));break;case "authorIconClicked":m4(this);break;case "authorNameClicked":m4(this);break;case "learnMoreClicked":l4(this,"learn_more_click");k4(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 O("//www.youtube.com/watch");var d=c.g;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");Vy(c,d);a=c.toString()}else a=null;a!==null&&(this.pause(),this.Sa(a,null,null));break;case "muteClicked":this.Ba=this.F;this.setVolume(0);break;case "unmuteClicked":this.setVolume(this.Ba);break;case "skipShown":this.dispatchEvent(X({type:"skippableStateChanged",ad:this.getAd()}));break;case "skip":f4(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 Z3=function(a){a.H&&(a.H.l?a.resume():a.pause())},f4=function(a){a.dispatchEvent(X({type:"skip",ad:a.getAd()}));a.destroy()};l=W3.prototype; l.Uc=function(){l4(this,"external_click");if(this.getAd().disableUi&&this.T){var a={};a=(a.url=mU(this.getAd()),a.attributionParams=nU(this.getAd()),a);this.reportEvent("click");this.dispatchEvent(X({type:"click",ad:this.getAd(),data:a}));this.pause()}else this.getAd()};l.ln=function(){this.getAd().tb.g=Date.now()};l.lk=function(a,b){return b>=0&&a>=0}; l.mn=function(){var a=this.getCurrentTime(),b=this.getDuration();if(this.lk(a,b)){var c=new u3(this.getAd().getAdPodInfo(),a,b);this.dispatchEvent(X({type:"adProgress",ad:this.getAd(),data:c}))}if(this.g!=null&&b>=0&&a>=0){if(!(this.Z||this.getAd().F<3)&&this.H){c=this.H.getDuration();var d=oU(this.getAd());c=Math.abs(c-d);c>2&&(c=JR(mP,null,Number(c).toFixed(2)),d=XS(c,this.getAd(),this.H),this.Nb(c,d));this.Z=!0}c=this.getAd().getAdPodInfo();a=new jK(a,b,this.H?this.H.duration:-1,c.getAdPosition(), c.getTotalAds());nI(this.I,sK,a)}};l.fn=function(){this.g&&nI(this.I,jJ,null)};l.pn=function(){this.dispatchEvent(X({type:"adBuffering",ad:this.getAd()}))};var m4=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=F(c.j.id),b=E(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.Sa(b,null,null))}; W3.prototype.Mb=function(){Y2.prototype.Mb.call(this);this.g!=null&&this.g.ye()};W3.prototype.resize=function(a,b){Y2.prototype.resize.call(this,a,b);this.g!=null&&this.g.ye()}; var e4=function(a,b){a.ka.enablePreloading&&bR(a.X.j.o)&&(a.H=g4(a.G),a.H&&(a4(a,a.H),a.j.listen(a.H,"error",function(c){a.Ya=c}),nR(a.H),Y3(a,a.H,b)))},d4=function(a,b){j4(a,a.H,b);b instanceof LO?a.dispatchEvent(new LR(b)):NR(a,pP,b);a.destroy()},b4=function(a){a.dispatchEvent(X({type:"loaded",ad:a.getAd()}));a.dispatchEvent(X({type:"adMetadata",ad:a.getAd()}))},l4=function(a,b){var c,d=(c=a.getAd())==null?void 0:c.j;if(d&&(DN(d)||a.P)){c=a.ba?a.ba.g:"null";var e={},f=RQ(),g=f.report;e.evt=b;b= (b=DN(d))?(b=b.g)?b:"noformat":"noextension";g.call(f,170,(e.format=b,e.clicks_allowed=a.T,e.ux_refresh=a.P,e.learn_more_enabled=c,e))}};W3.prototype.toString=function(){return"videoman"};var n4=function(){W3.apply(this,arguments)};w(n4,W3);n4.prototype.M=function(a){switch(a.type){case "complete":this.dispatchEvent(X({type:"complete",ad:this.getAd()}));break;default:W3.prototype.M.call(this,a)}};n4.prototype.lk=function(a,b){return(b>=0||b===-2)&&a>=0};n4.prototype.getDuration=function(){return W3.prototype.getDuration.call(this)+pU(this.getAd())};var o4={"${seller_video_url}":"imasdk.googleapis.com/js/sdkloader/fledge_vast_player","${seller_video_query_params}":"&adtag="},p4=function(a){So.call(this);this.Cj=a;this.zb=pf(document,"IFRAME");this.zb.allow="autoplay *";Qn(this.zb,"width","100%");Qn(this.zb,"height","100%")};w(p4,So); var q4=function(a,b){b.appendChild(a.zb);To(a,function(){return tf(a.zb)})},r4=function(a,b){return z(function(c){if(c.g==1)return y(c,a.Cj.deprecatedReplaceInURN(b,o4),2);var d=a.zb;if(/^(uuid-in-package|urn:uuid):[0-9a-fA-F-]*$/.test(b)){var e=id(b);d.src=gd(e).toString();d=!0}else d=!1;if(!d)throw Error("Unable to write URN to iframe.");c.g=0})};p4.prototype.show=function(){eo(this.zb,!0)};p4.prototype.ca=function(){eo(this.zb,!1)};var s4=function(a,b){So.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);To(this,function(){window.removeEventListener("message",c.l,!0)})};w(s4,So);s4.prototype.postMessage=function(a){if(this.A){var b;(b=this.zb.contentWindow)==null||b.postMessage(a,"*")}else this.j.push(a)}; var t4=function(a){for(a.o=!0;a.g.length>0;){var b=a.g.shift();b&&a.C(b)}};var u4=function(a,b,c,d){d=d===void 0?navigator:d;N.call(this);var e=this;this.ad=a;this.X=b;this.ka=c;this.Cj=d;this.za=!1;this.Dk=this.Vf=this.currentTime=this.Jj=0;this.bn=function(f){switch(f.type){case "fledge_player_ready":f=e.ed;for(f.A=!0;f.j.length>0;){var g=f.j.shift();g&&f.postMessage(g)}break;case "fledge_player_loaded":clearTimeout(e.Dk);e.getAd().tb.g=Date.now();break;case "fledge_player_progress":g=f.data;f=g.currentTime;g=g.duration;e.Vf!==g&&e.dispatchEvent(X({type:"durationChange", ad:e.getAd()}));e.currentTime=f;e.Vf=g;f=new u3(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){NR(e,bP,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.Jn=this.X.g.ob();this.oe=new p4(d);M(this,this.oe);this.ed=new s4(this.oe.zb,this.bn);M(this,this.ed);this.yj=new PT(null,null,"UNKNOWN",null,null,null,null,null,0,[],[],[],[],new Map,new xF(new NG({pa:[new tF({Ub:new pF})]})));this.yj.Fb=this.ad.getAdPodInfo();b.o.push(this.toString())};w(u4,N);l=u4.prototype;l.getAd=function(){return this.yj};l.Bc=function(){return!0}; l.init=function(){var a=this,b;return z(function(c){switch(c.g){case 1:if(a.za)return c.return();var d=a.getAd().tb;d.j=Date.now();d.g=null;a.oe.ca();c.l=2;return y(c,r4(a.oe,a.ad.g),4);case 4:c.g=3;c.l=0;break;case 2:return b=wa(c),NR(a,bP,b),a.destroy(),c.return();case 3:q4(a.oe,a.Jn),a.za=!0,c.g=0}})}; l.start=function(){var a=this;return z(function(b){if(b.g==1)return y(b,a.init(),2);a.dispatchEvent(X({type:"contentPauseRequested",ad:a.getAd()}));a.X.g.Mc();a.oe.show();a.ed.postMessage({type:"fledge_player_set_playback",data:{enable:!0}});t4(a.ed);a.Dk=setTimeout(function(){a.getAd().tb.g=Date.now();NR(a,jP,void 0);a.destroy()},a.ka.loadVideoTimeout);b.g=0})};l.pause=function(){this.ed.postMessage({type:"fledge_player_set_playback",data:{enable:!1}})}; l.resume=function(){this.ed.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.Jj=a;this.ed.postMessage({type:"fledge_player_set_volume",data:{volume:a}})};l.getVolume=function(){return this.Jj};l.uf=function(){this.ed.postMessage({type:"fledge_player_abandon"})}; l.getCurrentTime=function(){return this.currentTime};l.getDuration=function(){return this.Vf};l.getRemainingTime=function(){return this.Vf-this.currentTime};l.Mb=function(){};l.resize=function(){};l.Uc=function(){};l.collapse=function(){};l.expand=function(){};l.reportEvent=function(){};l.Nb=function(){};l.Sa=function(){};l.Hc=function(){};l.rc=function(){};l.toString=function(){return"fledgeman"};var v4=function(a){So.call(this);this.g=a};w(v4,So);l=v4.prototype;l.Uh=function(){return this.g.Uh()};l.ob=function(){return this.g.ob()};l.Jd=function(){return this.g.Jd()};l.ca=function(){};l.Zg=function(){this.g.Zg()};l.kg=function(){this.g.ca()};l.Mc=function(){this.g.Mc()};l.dd=function(){this.g.dd()};l.hc=function(){return this.g.hc()};l.Bi=function(a){this.g.Bi(a)};l.Ci=function(){this.g.Ci()};var x4=function(a,b,c){I2.call(this,a.Id());this.g=a;this.X=b;this.ka=c;this.A=this.B=-1;this.l=this.j=this.D=this.G=this.o=!1;this.F=w4(this,this.U);this.volume=1};w(x4,I2);x4.prototype.resize=function(a,b){this.B=a;this.A=b;I2.prototype.resize.call(this,a,b)};x4.prototype.start=function(){this.D=!0;y4(this)};var y4=function(a){a.j||a.l||(a.j=!0,a.U.Bc()||z4(a),I2.prototype.start.call(a))};x4.prototype.setVolume=function(a){this.volume=a;I2.prototype.setVolume.call(this,a)}; x4.prototype.destroy=function(){this.g.dispose();I2.prototype.destroy.call(this)};x4.prototype.O=function(){I2.prototype.O.call(this);this.U.dispose()}; var A4=function(a,b){var c,d,e;return z(function(f){if(f.g==1)return a.l=!0,c=b.getError()||JR(pP),y(f,a.g.Rd(),2);(d=f.j)?(e=X({type:"log",data:c}),a.dispatchEvent(e)):a.dispatchEvent(b);a.U.destroy();f.g=0})},D4=function(a,b){var c,d;return z(function(e){switch(e.g){case 1:return y(e,a.g.Rd(),2);case 2:c=e.j;case 3:return c&&c.Ja()?y(e,a.g.gg(),6):c?y(e,a.g.gg(),8):(B4(a,c),a.dispatchEvent(b),a.dispose(),e.return());case 6:return y(e,a.g.Rd(),7);case 7:c=e.j;e.g=3;break;case 8:d=e.j,B4(a,d),a.U.Ja()|| a.U.dispose(),a.U=d,a.l=!1,a.j=!1,a.D?(C4(a),y4(a)):C4(a),e.g=0}})},E4=function(a){var b;return z(function(c){if(c.g==1)return y(c,a.g.Rd(),2);(b=c.j)?b.Bc()||z4(a):z4(a);c.g=0})},z4=function(a){!a.G&&a.o&&(a.G=!0,a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()})))},C4=function(a){if(a.g.ci())throw Error("1st manager initialization is done by publisher calling ad pod manager api.");var b;(b=a.F)==null||b.dispose();a.F=w4(a,a.U);a.setVolume(a.volume);a.resize(a.B,a.A);a.init()},G4=function(a, b,c){c.listen(b,H2,function(d){return a.dispatchEvent(d)});c.listen(b,"contentResumeRequested",function(){return void E4(a)});c.listen(b,"adError",function(d){return void A4(a,d)});c.listen(b,"allAdsCompleted",function(d){return void D4(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 F4(a)})},F4=function(a){var b;return z(function(c){if(c.g==1)return y(c,a.g.Rd(),2); (b=c.j)&&a.ka.enablePreloading&&bR(a.X.j.o)&&(H4(a,b),b.setVolume(a.getVolume()),b.init());c.g=0})},w4=function(a,b){var c=new gH(b);M(a,c);G4(a,b,c);return c},B4=function(a,b){b?b.Bc()||a.X.g.kg():(a.X.g.kg(),a.X.g.dd())},H4=function(a,b){EP.C&&EP.G&&(new gH(b)).kd(b,"mediaUrlPinged",function(c){return a.dispatchEvent(c)})};x4.prototype.Hc=function(){this.U.Hc()};x4.prototype.rc=function(){this.U.rc()};var K4=function(a){var b=a.ad;var c=a.X;a=a.ka;Y2.call(this,b,c.g,c.l,a);var d=this;this.B=null;this.Z=!1;this.M=.4;this.G=null;this.currentTime=-1;this.D=null;this.F=this.P=this.T=!1;this.o=null;this.ha=I4(b);if(this.ia=J4(b)){this.B=new Ye(this.ia._width_,this.ia._height_);var e;this.Z=(e=this.ia._should_resize_)!=null?e:!1;this.M=this.ia._resizing_threshold_!=null&&this.ia._resizing_threshold_>0?this.ia._resizing_threshold_:.4}this.ba=a.loadVideoTimeout!==-1?a.loadVideoTimeout:8E3;this.g=new nu(200); this.X=c;M(this,this.g);this.j.listen(this.g,"tick",function(){var f=d.getDuration();d.currentTime+=.2;var g=d.currentTime>=f;d.currentTime=Math.min(f,d.currentTime);f=new u3(d.getAd().getAdPodInfo(),d.currentTime,f);d.dispatchEvent(X({type:"adProgress",ad:d.getAd(),data:f}));f=new jK(d.currentTime,d.getDuration());nI(d.I,sK,f);g&&(d.g.stop(),a3(d,"complete"),d.destroy())});this.I=c.g.hc();To(this,function(){return void d.I.clear()})};w(K4,Y2);l=K4.prototype; l.O=function(){this.D!=null&&(qu(this.D),this.D=null);b3(this).dd();var a=b3(this).ob();a&&sf(a);Y2.prototype.O.call(this)}; l.init=function(){var a=this;if(!this.A){this.A=!0;var b=this.ha,c=b3(this).ob(),d=this.ia;if(b&&c&&d){b=lF(b);oI(this,this.I,mJ,function(){a.P=!0;a.T&&L4(a)});oI(this,this.I,wJ,function(){a.dispatchEvent(X({type:"skippableStateChanged",ad:a.getAd()}));a3(a,"skipShown")});oI(this,this.I,vJ,function(){a.skip()});sf(c);var e,f;this.o=new C2({container:c,Ah:b,Bh:new Ye(d._width_,d._height_),gb:bU(this.getAd()),Lh:function(g,h){var k=null,m=null,n=null;try{k=zi(h==null?void 0:h.name)?h.name:"Unknown error"}catch(p){k= "exception"}try{m=zi(h==null?void 0:h.message)?h.message:"Caught "+h}catch(p){m="exception"}try{n=zi(h==null?void 0:h.stack)?h.stack:Error().stack}catch(p){n="exception"}h={};RQ().report(185,(h.m=g,h.name=k,h.message=m,h.stack=n,h))},Ee:qI(),tf:"1-0-40",skipOffset:(f=(e=kU(this.getAd()))==null?void 0:UQ(e))!=null?f:null,I:this.I});this.G&&this.resize(this.G.width,this.G.height);To(this,function(){var g;return void((g=a.o)==null?void 0:g.dispose())});this.o.build();a3(this,"loaded")}else c=JR(YO,null, "SafeFrame"),M4(this,c),this.destroy()}};l.start=function(){var a=this;if(!this.T){this.T=!0;var b=this.X.J,c=this.X.j.xa,d=dW(this.getAd(),b3(this),this.ia,this.getDuration());jk(c,3,d);var e;d=(e=J(c,gw,4))==null?void 0:qk(e,6);dg()<1/d&&(b==null||b.fk(c));Y2.prototype.start.call(this);this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()}));this.currentTime=0;this.P?L4(this):this.D=pu(function(){a.D=null;if(!a.P){var f=JR(jP,null,(a.ba/1E3).toString());M4(a,f);a.destroy()}},this.ba)}}; l.pause=function(){this.F&&(this.g.stop(),a3(this,"pause"))};l.resume=function(){this.F&&(this.g.start(),a3(this,"resume"))};l.Mb=function(){Y2.prototype.Mb.call(this)}; l.resize=function(a,b){Y2.prototype.resize.call(this,a,b);if(this.Z&&this.B&&this.M&&this.B.width!==0&&this.B.height!==0&&a!==0&&b!==0){var c=this.B.width;var d=this.B.height;c=Math.min((a-c)/c,(b-d)/d);if(c!==0)if(c<0&&Math.abs(c)<=this.M)N4(this,a,b,c+1);else if(c>0)N4(this,a,b,Math.min(this.M,c)+1);else if(d=JR(aP,null),this.ia){var e={};RQ().report(193,(e.m="resize_failed",e.resize_rate=c,e.player_width=a,e.player_height=b,e.creative_width=this.ia._width_,e.creative_height=this.ia._height_,e)); M4(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=kU(this.getAd()))?(a=UQ(a),a=a!==-1&&this.currentTime!==-1&&this.currentTime>=a):a=!1;a&&(this.g.stop(),a3(this,"skip"),this.destroy())}; var L4=function(a){var b;if(b=!a.Z)if(b=b3(a).ob()){var c=a.ia;b=c?b.clientWidth=c&&b5(a,2)};W4.prototype.pause=function(){this.o?this.o.stop():I2.prototype.pause.call(this)};W4.prototype.resume=function(){this.o?this.o.start():I2.prototype.resume.call(this)}; var $4=function(a){a.ua.g.sendMessage("SIMID:Media:ended");a.D?(a.o=new nu,M(a,a.o),a.j.listen(a.o,"tick",function(){a.F+=.25;var b=a.getAd();b&&(b=new u3(b.getAdPodInfo(),a.getCurrentTime(),a.getDuration()),a.dispatchEvent(X({type:"adProgress",ad:a.getAd(),data:b})));Z4(a,a.getCurrentTime())}),ou(a.o),a.o.start()):b5(a,2)};W4.prototype.getCurrentTime=function(){return I2.prototype.getCurrentTime.call(this)+this.F}; var Y4=function(a){a.T.listen(a.ua,Object.values(dN),function(b){switch(b.type){case "SIMID:Creative:clickThru":a.reportEvent("click");a.dispatchEvent(X({type:"click",ad:a.getAd()}));a.W&&RQ().report(148,{time:a.getCurrentTime(),dur:a.getDuration()},!0);b.resolve();break;case "SIMID:Creative:fatalError":case "SIMID:Creative:requestStop":b.resolve();b5(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.eh))for(var c=q(b.args.eh),d=c.next();!d.done;d=c.next())NQ(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.Ld(), c));break;case "SIMID:Creative:requestPause":a.pause();b.resolve();break;case "SIMID:Creative:requestPlay":a.resume();b.resolve();break;case "SIMID:Creative:requestResize":c5(a,b);break;case "SIMID:Creative:requestChangeAdDuration":d=b.args.duration;if(d<0&&d!==-2)b.reject();else if(c=a.getAd())d-=oU(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.Sa(b.args.uri,((e=a.getAd())==null?void 0:nU(e))||null,((f= a.getAd())==null?void 0:f.g!=null?f.g.Df():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":ZB(c, d.key);break;case "Parameter":d.value&&WB(c,d.key,d.value);break;case "OneShotParameter":d.value&&T(c,d.key,d.value)}}b.resolve();break;default:b.reject()}})},b5=function(a,b){b=a.ua.g.sendMessage("SIMID:Player:adStopped",new fN({code:b}));X4(a,b)},d5=function(a,b){var c;return z(function(d){if(!a.X.j.Va)throw Error("Resize is not supported.");c=R4(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,n=b.creativeX,p=b.creativeY;if(n===void 0||p===void 0||k===void 0||m===void 0)throw Error("Invalid creative dimensions.");if(k!==c.width||m!==c.height||n!==0||p!==0)throw Error("Creative resizing is not supported.");e=new Mn(g,h,e,f);if(!(new Mn(0,0,c.width,c.height)).contains(e))throw Error("Video cannot be moved out of slot bounds.");a.G=e;a.X.g.Bi(a.G);d.g=0})},c5=function(a,b){d5(a,b.args).then(function(c){return b.resolve(c)}).catch(function(c){return b.reject(c)})}; W4.prototype.start=function(){var a=this;I2.prototype.start.call(this);this.B.promise.then(function(){return void e5(a)}).catch(function(){f5(a)})}; var e5=function(a){if(!a.Ja()){g5(a);ZB(U(),"ima_lsc");var b,c;(b=a.ua)!=null&&(b.j?b=void 0:(b.l=0,b.j=new lz,yN(b),b=b.j.promise),(c=b)==null||c.then(function(){ZB(U(),"ima_csr")},function(){ZB(U(),"ima_cmc")}));a.ua.g.sendMessage("SIMID:Player:startCreative").catch(function(){return void f5(a)})}},g5=function(a){a.X.g.Mc();a.l&&(a.l.style.display="block")},f5=function(a){var b=JR(dP),c=XS(b,a.getAd());I2.prototype.Nb.call(a,b,c);a.dispatchEvent(new LR(b));X4(a)}; W4.prototype.skip=function(){var a=this.ua.g.sendMessage("SIMID:Player:adSkipped");this.reportEvent("skip");this.dispatchEvent(X({type:"skip",ad:this.getAd()}));X4(this,a)};W4.prototype.Hc=function(){I2.prototype.Hc.call(this);this.ua.g.sendMessage("SIMID:Player:appBackgrounded")};W4.prototype.rc=function(){I2.prototype.rc.call(this);this.ua.g.sendMessage("SIMID:Player:appForegrounded")}; W4.prototype.Mb=function(){var a=R4(this.g),b=new Mn(0,0,a.width,a.height),c=this.G||b;this.ua.g.sendMessage("SIMID:Player:resize",new fN({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:VF(a.width,a.height)}))};var a5=function(a){a.ua.g.o.promise.then(function(){var b=a.ua,c=a.getDuration();b.g.sendMessage("SIMID:Media:durationchange",new fN({duration:c}))})}; W4.prototype.O=function(){this.K.dispose();this.X.j.Va&&this.X.g.Ci();this.X.g.dd();this.l&&(this.l.style.visibility="hidden");this.dispatchEvent(X({type:"contentResumeRequested",ad:this.getAd()}));this.dispatchEvent(X({type:"allAdsCompleted",ad:this.getAd()}));X4(this);I2.prototype.O.call(this)};W4.prototype.destroy=function(){var a=this;I2.prototype.destroy.call(this);RV(this.K,function(){return void a.dispose()})}; var X4=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||xN(d);a.P||(c=ru(2E3),a.P=Promise.race([b,c]).then(function(){tf(a.l);a.ua.dispose();a.T.dispose()}),a.destroy())};var h5=function(a){jt.call(this,"vpaid-message");this.data=a};w(h5,jt);var i5=function(a,b,c){N.call(this);this.j=a;this.A=b;this.l=c;this.H=this.g=null;this.o=new gH(this);M(this,this.o)};w(i5,N);i5.prototype.init=function(){this.o.listen(lf(),"message",this.il);j5(this)}; var j5=function(a){if(!a.H||!a.g){a.H||(a.H=g4(a.l));if(!a.g){a:{var b=a.A;for(var c=q(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),mR(b.g,"adsManager","vpaidEvent",a))}};l=i5.prototype; l.start=function(){j5(this);if(!this.H)throw h4(this.l),j5(this),Error("Play ad was called before prior video display was released.");if(!this.g)throw RQ().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.fj=function(){};l.Ae=function(a,b){b.session=this.j;b.type=a;lf().parent.postMessage(JSON.stringify(b),"*")}; l.il=function(a){(a=k5(a))&&a.session===this.j&&(a.type==="friendlyReady"?(a={},this.dispatchEvent(new h5((a.type="vpaidChannelLoaded",a)))):this.dispatchEvent(new h5(a)))};var k5=function(a){a=a.Pb||null;if(!a)return null;a=a.data;if(typeof a!=="string")return null;a=B0(a);if(a!=null)try{return JSON.parse(a.data)}catch(b){}return null}; i5.prototype.O=function(){var a;if((a=this.g)!=null){var b=this.j,c={};b=(c.vpaidEventType="destroyFriendlyIframe",c.session=b,c);mR(a.g,"adsManager","vpaidEvent",b)}X3(this.l,this.H);a=this.A;(b=this.g)&&a.g.set(b,!1)};i5.prototype.Jd=function(){return this.H};var l5=function(a,b,c,d,e){N.call(this);this.ad=a;this.B=b;this.o=c;this.l=d;this.G=e;this.H=null;this.F="";this.g=null;this.D=this.A=!1;this.j=new gH(this);M(this,this.j)};w(l5,N);l=l5.prototype; l.init=function(){if(!this.A&&(this.H||(this.H=g4(this.l)),this.H)){var a;if((a=iT(this.ad))&&/\.html(\?.*)?$/.test(a))this.G&&(a=a.replace(".html","_"+"en".replace("-","_")+".html")),a=F(a);else{var b=new O(a),c=new O("http://tpc.googlesyndication.com/pagead/js/loader21.html");b.o==="https"&&Sy(c,"https");a=Vy(c,a||"").toString()}this.g=of("IFRAME",{src:uS(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.j.listen(this.g,"load",this.yn);var d;(d=this.o.ob())==null||d.appendChild(this.g);this.j.listen(lf(),"message",this.jl);this.j.listen(this.H,"beginFullscreen click end endFullscreen error loaded mediaLoadTimeout pause play timeUpdate volumeChange".split(" "),this.Dj);this.j.listen(this.H,jR,this.Dj);this.A=!0}}; l.start=function(){this.init();this.D=!0;if(!this.H)throw h4(this.l),this.init(),Error("Play ad was called before prior video display was released.");this.g!=null&&(this.g.style.display="block")};l.resume=function(){m5(this,"play")};l.getName=function(){return"secure"};l.fj=function(a){var b={};m5(this,"supportedMimeTypes",(b.supportedMimeTypes=a,b))}; l.Ae=function(a,b){var c;if(((c=this.g)==null?void 0:c.contentWindow)!=null){b.session=this.B;b.type=a;var d;(d=this.g)==null||d.contentWindow.postMessage(JSON.stringify(b),"*")}}; l.jl=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.g)==null?void 0:c.contentWindow)&&b!=null&&b.session===this.B)if(b.type==="videoCall")switch(b.func){case "load":case "play":if(!this.D){this.dispatchEvent(new h5({type:"AdError",message:"VPAID ad called play on video element before start was called on VPAID manager"}));break}this.o.Zg();var d=b.src;if(this.F!==d){this.F=d;var e;(e=this.H)==null||rR(e,d,null,this.ad.getAdPodInfo())}var f; (f=this.H)==null||uR(f);break;case "pause":var g;(g=this.H)==null||g.pause();break;case "currentTime":e=b.currentTime,(d=this.H)==null||sR(d,e)}else this.dispatchEvent(new h5(b))};l.yn=function(){var a={};this.dispatchEvent(new h5((a.type="vpaidChannelLoaded",a)))};l.O=function(){tf(this.g);X3(this.l,this.H)}; l.Dj=function(a){switch(a.type){case "loadedmetadata":var b,c={};m5(this,"loadedmetadata",(c.duration=(b=this.H)==null?void 0:b.getDuration(),c));break;case "timeUpdate":var d;b={};m5(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":m5(this,"ended");break;case "beginFullscreen":m5(this,"fullscreenchange");break;case "endFullscreen":m5(this,"fullscreenchange");break;case "loaded":m5(this,"loadstart"); break;case "mediaLoadTimeout":m5(this,"stalled");break;case "play":m5(this,"playing");break;default:m5(this,a.type)}};var m5=function(a,b,c){c=c===void 0?{}:c;c.messageType=b;a.Ae("wrapperCall",c)};l5.prototype.Jd=function(){return this.H};function n5(a){a=iT(a);return!(!a||!a.match("//s0.2mdn.net/instream/html5/survey/survey.html"))};var o5=function(a,b,c){Y2.call(this,a,b.g,b.l,c);var d=this;this.X=b;this.H=null;this.ha=this.P=this.loaded=!1;this.G=[];this.sa=this.o=null;this.Z=this.duration=this.la=-1;this.ba=this.D=!1;this.g=this.T=null;this.xb=b.A;this.Va=b.B;this.Rb=function(){var e={};return e.currentTime=d.getCurrentTime(),e.duration=d.getDuration(),e.isPlaying=!0,e.isVpaid=iT(d.getAd())!=null,e.isYouTube=!1,e.volume=d.o,e};this.Ba="goog_"+ge++;this.M=new nu(500);this.ug=(new O(iT(this.getAd()))).j;this.B=this.getAd().lc(); this.I=b.g.hc();this.F="normal";b.o.push(this.toString())};w(o5,Y2);l=o5.prototype; l.init=function(){if(EP.g===0){var a=JR(YO,null,"vpaid");p5(this,a);throw a;}if(!this.A){a=this.getAd();var b=this.Ba,c=b3(this),d=this.xb,e=this.Va;this.g=n5(a)||EP.g!==2?new l5(a,b,c,d,n5(a)):new i5(b,e,d);M(this,this.g);a=this.getAd().tb;a.j=Ta();a.g=null;this.j.listen(this.M,"tick",this.rg);this.j.listen(jS(),HQ,this.Kg);this.j.listen(this.g,"vpaid-message",this.pg);this.g.init();this.H=this.g.Jd();q5(this,this.H);this.A=!0;a3(this,"loaded")}}; l.start=function(){this.init();Y2.prototype.start.call(this);if(this.g){try{this.g.start()}catch(d){var a=JR(pP,d,"internal");p5(this,a);return}if(this.H=this.g.Jd()){q5(this,this.H);r5(this);kE(this.l,eT(this.getAd(),this.H));nR(this.H);this.reportEvent("show_ad");this.dispatchEvent(X({type:"show_ad",ad:this.getAd()}));b3(this).Mc();a=this.getAd();if(a.g instanceof CS){var b=uU(a);if(b!=null&&b.length!==0){var c=document.body;c&&(this.T=new E2(b,bU(a),this.I,c),this.T.build(),mI(this.I,xJ,this.me, this),mI(this.I,yJ,this.Xa,this))}}this.o!=null&&this.H.setVolume(this.o);cR()&&(a=new pE(this.getAd().j,this.l,this.H,cR(),this.getAd().Zb,!0),sE(a),M(this,a));this.ha=!0;this.B?this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()})):this.dispatchEvent(new Q0("vpaidNonLinear",this.Ba));s5(this);this.P||(this.Z=pu(this.Ya,this.ka.loadVideoTimeout,this))}}}; l.resize=function(a,b){this.F=VF(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.g)==null||a.resume()}}; l.setVolume=function(a){Y2.prototype.setVolume.call(this,a);this.o==null&&(this.o=a);this.ha&&this.sendMessage("setAdVolume",{value:a})};var q5=function(a,b){b&&(mS(a.getAd(),a.Rb),jS().H=b,a.K!=null&&(a=a.K,a.l=b,a.o.listen(a.l,"start",a.P)))}; o5.prototype.O=function(){nS(this.getAd());this.M.stop();var a;(a=this.T)==null||a.dispose();this.I.clear();this.H&&(oR(this.H),this.X.j.o||vR(this.H),this.B&&(!this.P||this.H.l||this.H.o||this.H.pause()));this.loaded=!1;this.G=[];qu(this.Z);this.M.dispose();Y2.prototype.O.call(this)}; var t5=function(a){var b=a.getAd().getTraffickingParametersString(),c=F(mU(a.getAd())),d=a.getAd();if(a.B){var e=d.g,f=DS(e);f!=null&&(e.g=f)}e=a.o!=null?a.o:1;f={};b=(f.desiredBitrate=a.ka.bitrate,f.creativeData=b,f.viewMode=a.F,f.clickThroughUrl=c,f.attributionParams=nU(a.getAd()),f.adUrl=iT(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.g)==null||g.fj(a.ka.mimeTypes||[])}; o5.prototype.sendMessage=function(a,b){b=b===void 0?{}:b;if(this.loaded){var c;(c=this.g)==null||c.Ae(a,b)}else this.G.push({type:a,params:b})};o5.prototype.Ya=function(){this.getAd().tb.g=Ta();p5(this,JR(jP,null,(this.ka.loadVideoTimeout/1E3).toString()))};var p5=function(a,b){a.getAd().Td();var c=a.getAd().tb;c.g==null&&(b.getErrorCode(),jP.getErrorCode(),c.g=Ta());c=XS(b,a.getAd());a.Nb(b,c);a.dispatchEvent(new LR(b));a.destroy()}; o5.prototype.pg=function(a){a=a.data;if(typeof a.type==="string")switch(a.type){case "forwardVpaidManagerEvent":this.dispatchEvent(a.data);break;case "vpaidChannelLoaded":t5(this);break;case "heavyAdIntervention":this.reportEvent(a.heavyAdInterventionEventType);break;case "returnDuration":this.duration=a.duration;break;case "returnRemainingTime":u5(this,a.remainingTime);break;case "AdClickThru":this.reportEvent("click");this.dispatchEvent(X({type:"click",ad:this.getAd()}));break;case "AdDurationChange":this.duration= a.duration;u5(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.ba=!0;p5(this,JR(qP,Error(a.message)));break;case "AdExpandedChange":this.dispatchEvent(X({type:"expandedChanged",ad:this.getAd()}));break;case "AdImpression":Z2(this);a3(this,"impression");this.ba=!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.T=!0;e.W=d;this.dispatchEvent(X({type:"linearChanged",ad:this.getAd()}));break;case "AdLoaded":qu(this.Z);this.P=!0;this.getAd().tb.g=Ta();a=a.companions;var f=this.getAd(); if(UT(f).length===0&&(b=f.g)){a:{b=b.Ca();try{e=fH(F(a));if(e==null||!e.documentElement){d=[];break a}var g=$H(e.documentElement);d=g.g.length===0?[]:[(new nV(e.documentElement)).getCompanionAds(g,b)];break a}catch(h){d=[];break a}d=void 0}d.length!==0&&OT(f,d)}s5(this);this.dispatchEvent(X({type:"adCanPlay",ad:this.getAd()}));break;case "AdPaused":this.D=!0;a3(this,"pause");break;case "AdPlaying":this.D=!1;a3(this,"resume");break;case "AdRemainingTimeChange":u5(this,a.remainingTime);break;case "AdSkipped":a3(this, "skip");this.destroy();break;case "AdSkippableStateChange":a3(this,"skippableStateChanged");break;case "AdStarted":this.reportEvent("creativeView");$2(this);this.dispatchEvent(X({type:"adStarted",ad:this.getAd()}));break;case "AdStopped":this.reportEvent("stop");this.ba||p5(this,JR(qP));this.destroy();break;case "AdUserAcceptInvitation":this.B?this.reportEvent("acceptInvitationLinear"):this.reportEvent("acceptInvitation");break;case "AdUserMinimize":this.reportEvent("collapse");break;case "AdUserClose":a3(this, "userClose");break;case "AdVideoComplete":a3(this,"complete");break;case "AdVideoFirstQuartile":a3(this,"firstQuartile");break;case "AdVideoMidpoint":a3(this,"midpoint");break;case "AdVideoStart":this.reportEvent("start");break;case "AdVideoThirdQuartile":a3(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":NQ(a.url)}};var s5=function(a){if(a.P&&a.ha){var b;(b=a.H)!=null&&mR(b.j,b.g,"activate");a.sendMessage("startAd");a.M.start();a.B||(a.sendMessage("becameNonlinear"),a.sendMessage("getAdRemainingTime"));a.sendMessage("getAdDuration")}}; o5.prototype.getCurrentTime=function(){return this.getDuration()<0||this.getRemainingTime()<0?-1:this.getDuration()-this.getRemainingTime()};o5.prototype.getDuration=function(){return this.duration};o5.prototype.getRemainingTime=function(){return this.la}; var u5=function(a,b){a.la=b;if(!a.D){b=a.getAd().getDuration();var c=b-a.la;if(b>=0&&c>=0){var d=new u3(a.getAd().getAdPodInfo(),c,b);a.dispatchEvent(X({type:"adProgress",ad:a.getAd(),data:d}));iE(a.l,c,b*1E3)}}b=a.getAd().getDuration();c=b-a.getRemainingTime();c<=b&&nI(a.I,sK,new jK(c,b))};o5.prototype.rg=function(){this.sendMessage("getAdRemainingTime")}; var r5=function(a){var b={};U();b.pid="0";b.dn=a.ug;var c;b["if"]=(c=a.g)==null?void 0:c.getName();b.asys=a.getAd().getAdSystem();c=new O(iT(a.getAd()));b.vad=c.l.indexOf("vpaid_adapter.js")!==-1;b.atag=kz(c.g,"adTagUrl");var d=[];QT(a.getAd()).forEach(function(e){d.push(F(e.mimeType).toLowerCase())});b.mtypes=d.join(",");RQ().report(29,b)};o5.prototype.Xa=function(a){a.J.forEach(function(b){NQ(b)})};o5.prototype.me=function(a){var b=a.A;b!=null&&(this.Sa(b,a.C,null),this.pause());a.B.forEach(function(c){NQ(c)})}; o5.prototype.skip=function(){this.sendMessage("skipAd")};o5.prototype.toString=function(){return"vpaidman"};var v5=function(a,b){this.g=a;this.duration=b;this.Fb=new BT};l=v5.prototype;l.lg=function(){return!1};l.isLinear=function(){return!0};l.lc=function(){return!0};l.getAdPodInfo=function(){return this.Fb};l.getDuration=function(){return this.duration};function w5(a){return iU(a,"nonlinear")&&iT(a)==null}function x5(a){RQ().report(100,{type:a})}function y5(a){var b=0;a.forEach(function(c){c&&c.lc()&&(b+=c.getDuration())});a.forEach(function(c,d){var e=c.getAdPodInfo();e.totalAds=a.length;c&&c.lc()&&(e.adPosition=d+1,e.g=b)})}var z5=function(){}; z5.prototype.create=function(a,b,c){if(a.length===0)throw Error("Ads manager creation failure, no ads.");var d=new v4(b.g);d=new V2(d,b.A,b.C,b.l,b.B,b.j,b.J);d.o=b.o;b=a[0];if(b instanceof PT&&fU(b)&&w5(b))x5("adsense"),a=[new i3(a,d,c)];else{b=[];for(var e=0;e0)return this.g=null,Promise.resolve(R2(this));if(!(this.l.length>0||this.j))return Promise.resolve(null);this.g=new lz;return this.g.promise}; var D5=function(a){return a.l.length>0&&a.o.length<1&&!a.j},F5=function(a){a.D.oa(a.A,"adBreakFetched",a.K,!1,a);a.D.oa(a.A,"adBreakFetchError",a.P,!1,a)},E5=function(a){iH(a.D,a.A,"adBreakFetched",a.K,!1,a);iH(a.D,a.A,"adBreakFetchError",a.P,!1,a);var b;a.j=(b=a.l.shift())!=null?b:null;b=new A5;b.offset=a.offset;b.g=a.T;b.l=a.j;EP.setCompanionBackfill("on_master_ad");G5(a.A,a.j.ma,b)}; C5.prototype.K=function(a){var b=a.g;if(b.offset===this.offset){EP.setCompanionBackfill(this.F);F5(this);this.j=null;var c=a.o;this.B=[].concat(v(this.B),v(c));H5(this.B,this.offset,this.M,this.l.length,this.aa);this.o=[].concat(v(this.o),v(c));this.o.length>0&&(this.g&&(c=this.g.resolve,this.g=null,c(R2(this))),this.C.dispatchEvent(a));D5(this)&&E5(this);this.l.length>0||this.j||I5(this,b)}}; C5.prototype.P=function(a){a=a.g;a.offset===this.offset&&(EP.setCompanionBackfill(this.F),F5(this),this.j=null,H5(this.B,this.offset,this.M,this.l.length,this.aa),D5(this)&&E5(this),this.l.length>0||this.j||I5(this,a))};var I5=function(a,b){if(a.g){var c=a.g.resolve;a.g=null;c(null)}a.B.length===0&&(EP.getCompanionBackfill()==="always"&&a.A.Ef.B(cW()),b=new B5("adBreakFetchError",b),MR($O),a.C.dispatchEvent(b))};C5.prototype.O=function(){EP.setCompanionBackfill(this.F);F5(this);So.prototype.O.call(this)}; function H5(a,b,c,d,e){var f=J5(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.lc()&&(m.adPosition=k+1,m.g=f)})}function J5(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.lc()&&(d+=e.getDuration())});return d>0?d:-1};var K5=function(a,b,c){this.j=a;this.g=b;this.l=c};K5.prototype.create=function(a){return new C5(this.j,[].concat(v(this.g.g.get(a)||[])),a,this.g.getPodIndex(a),this.l)};var L5=function(a,b,c,d){d=d===void 0?null:d;jt.call(this,a);this.offset=b;this.g=c;this.l=d};w(L5,jt);var N5=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 gH(this);M(this,this.j);M5(this);this.B=HR(this.A).reduce(function(d,e){d.set(e,b.create(e));return d},new Map);this.D=new Set};w(N5,N); var O5=function(a,b){return[].concat(v(a.A.g.get(b)||[]))},P5=function(a,b,c){a.g.set(b,c);a.l===b&&(a.l=null)},Q5=function(a){return[].concat(v(HR(a.A))).length===a.g.size};N5.prototype.start=function(){this.o.start();BR(this.o)};N5.prototype.O=function(){kH(this.j);this.o.stop();N.prototype.O.call(this)}; var M5=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||R5(a,b):(a.l=c,R5(a,c))})},R5=function(a,b){var c=a.B.get(b);a.D.has(b)?S5(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,E5(c)))},T5=function(a,b){a.j.oa(b,"adBreakFetched");a.j.oa(b,"adBreakFetchError")};N5.prototype.K=function(a){S5(this,a.g.offset)}; var S5=function(a,b){a.D.add(b);var c=a.B.get(b);T5(a,c.C);a.g.get(b)==null&&(a.l===b?(a.l=null,a.dispatchEvent(new L5("play",b,c))):a.l==null&&a.dispatchEvent(new L5("load",b,c)))};N5.prototype.G=function(a){a=a.g.offset;var b=this.B.get(a);T5(this,b.C);this.B.set(a,this.F.create(a));var c=MR($O);this.dispatchEvent(new L5("error",a,b,c))};var V5=function(a,b,c,d,e,f){I2.call(this,new U2);this.ba=a;this.D=c;this.ka=e;this.X=f;this.A=null;this.P=this.o=this.T=!1;this.l=null;this.F=this.B=this.G=!1;this.K=this.M=-1;a=e.playAdsAfterTime;e=HR(b);e=q(e);for(var g=e.next();!g.done;g=e.next())g=g.value,g!==-1&&g<=a&&b.remove(g);d=new AR(d,HR(b));M(this,d);this.g=new N5(d,new K5(c,b,f.C.j),b);M(this,this.g);this.j=new gH(this);M(this,this.j);U5(this);this.j.listen(c,"contentComplete",this.ha);this.volume=1;f.o.push(this.toString())};w(V5,I2); l=V5.prototype;l.resize=function(a,b){this.M=a;this.K=b;I2.prototype.resize.call(this,a,b)};l.discardAdBreak=function(){var a=this.U;W5(this)&&a instanceof x4&&a.j?X5(this):(a=ER(this.g.o),a!=null&&this.g.g.get(a)==null&&(P5(this.g,a,1),a===0&&Y5(this),(Q5(this.g)||this.o)&&Z5(this)))};l.getCuePoints=function(){return[].concat(v(HR(this.g.A)))}; l.init=function(){var a=this;this.D.td=!1;this.j.listen(this,"allAdsCompleted",function(){a.D.td=!0});var b={};b=(b.cuepoints=this.getCuePoints(),b);b=X({type:"adMetadata",ad:this.getAd(),data:b});this.dispatchEvent(b);O5(this.g,0).length===0&&Y5(this);this.g.start()};l.start=function(){EP.j||W5(this)&&this.B||(W5(this)?(this.B=!0,$5(this)):this.G=!0)}; var Y5=function(a){a.T=!0;a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()}))},Z5=function(a){a.P||(a.P=!0,a.dispatchEvent(X({type:"allAdsCompleted",ad:a.getAd()})))},$5=function(a){a6(a,"breakStart");a.l&&(qu(a.l),a.l=null);I2.prototype.start.call(a)};V5.prototype.setVolume=function(a){this.volume=a;I2.prototype.setVolume.call(this,a)}; var c6=function(a,b){a.A=b.offset;var c=a.ba;b=b.g;var d=a.X,e=a.ka,f=new v4(d.g);f=new V2(f,d.A,d.C,d.l,d.B,d.j,d.J);f.o=d.o;c=new x4(new S2(b,f,c,e),f,e);a.U.Ja()||a.U.dispose();a.U=c;b6(a);a.U.setVolume(a.volume);a.U.resize(a.M,a.K);a.U.init()},b6=function(a){var b=[].concat(v(H2));a.j.listen(a.U,b,function(c){return void a.dispatchEvent(c)});a.j.listen(a.U,"contentResumeRequested",function(){U5(a);Y5(a)});a.j.listen(a.U,"contentPauseRequested",function(c){a.j.oa(a.g,"load",a.da);a.j.oa(a.g,"play", a.Z);a.j.oa(a.g,"error",a.W);a.dispatchEvent(c)});a.j.listen(a.U,"adError",function(c){c=c.getError()||JR(pP);a.dispatchEvent(X({type:"log",data:c}))});a.j.listen(a.U,"allAdsCompleted",function(){a.B=!1;if(a.g.g.get(-1)!=null&&(yQ=sQ(),a.X.l!=null)){var c=a.X.l.F();c!=null&&d6(c)}a.T||Y5(a);a6(a,"breakEnd");(Q5(a.g)||a.o)&&Z5(a);a.F&&(Z5(a),a.dispose())})};V5.prototype.da=function(a){var b=a.offset;this.A!==b&&(b!==-1||this.Bc())&&c6(this,a)}; V5.prototype.Z=function(a){this.A!==a.offset&&c6(this,a);P5(this.g,a.offset,0);var b=O5(this.g,0).length===1;a.offset===0&&b&&(this.Bc()||Y5(this));EP.j?$5(this):e6(this,a.offset)}; V5.prototype.ha=function(a){this.o||this.Ja()||this.F||(this.o=!0,this.g.g.get(-1)!=null&&this.g.g.get(-1)===1)||(Q5(this.g)&&this.U instanceof U2?(this.dispatchEvent(X({type:"contentResumeRequested",ad:null})),Z5(this)):Q5(this.g)||this.g.g.get(-1)!==2?O5(this.g,-1).length>0?(a.l=!1,a=this.g.o,a.g.includes(-1)&&a.dispatchEvent(new zR(-1,null)),a.stop()):Z5(this):(a.l=!0,Z5(this)))}; V5.prototype.W=function(a){P5(this.g,a.offset,2);var b=a.l||MR($O);this.dispatchEvent(X({type:"log",data:b}));b={};this.dispatchEvent(X({type:"adBreakFetchError",ad:null,data:(b.adBreakTime=a.offset,b)}));((b=Q5(this.g)||this.o)||a.offset===0)&&Y5(this);b&&Z5(this)};var U5=function(a){a.j.listen(a.g,"load",a.da);a.j.listen(a.g,"play",a.Z);a.j.listen(a.g,"error",a.W)}; V5.prototype.destroy=function(){this.l&&(qu(this.l),this.l=null);var a=this.U;W5(this)&&a instanceof x4&&a.j?(this.F=!0,X5(this)):(Z5(this),this.dispose())};var X5=function(a){I2.prototype.destroy.call(a)},W5=function(a){return!(a.U instanceof U2)&&!a.U.Ja()},e6=function(a,b){b===0&&(a.l=pu(function(){Y5(a)},100));b===-1&&(a.l=pu(function(){X5(a)},500));a.G&&(a.G=!1,a.B=!0,$5(a));var c={};b=(c.adBreakTime=b,c);b=X({type:"adBreakReady",ad:a.getAd(),data:b});a.dispatchEvent(b)}; V5.prototype.O=function(){this.D.td=!0;I2.prototype.O.call(this)};V5.prototype.toString=function(){return"vmapman"};var a6=function(a,b){a.A!==null&&O5(a.g,a.A).forEach(function(c){OQ(WQ(c.V,b))})};function f6(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 g6=function(a,b,c,d){this.j=a;this.g=b;this.X=c;this.l=d};g6.prototype.build=function(a,b){a.enablePreloading&&bR(this.X.j.o)?h6(this.X.A,2):h6(this.X.A,1);if(this.g instanceof FR){var c=this.g,d=this.j,e=this.X,f=new z5;RQ().report(100,{type:"vmap"});a=new V5(f,c,d,b,a,e)}else b=this.g,c=this.X,d=new z5,y5(b),a=d.create(b,c,a);this.l(a);return a};var i6=function(a,b){So.call(this);this.g=new gH(this);M(this,this.g);this.g.listen(b,"userInteraction",this.j);this.I=a};w(i6,So);i6.prototype.j=function(a){switch(a.messageType){case "focusSkipButton":nI(this.I,jJ,null);break;case "focusUiElement":nI(this.I,iJ,null)}};var j6=function(a,b,c,d,e){So.call(this);var f=this;this.M=a;this.container=b;this.ka=c;this.o=d;this.l=this.g=null;this.F=-1;this.C=[];this.B={};this.A=null;this.D=new yR(this.o,e);this.D.start();this.j=new gH(this);this.Z=new i6(this.container.hc(),this.o);this.sa=null;this.j.listen(this.o,"adsManager",this.W);this.j.listen(this.o,"userInteraction",this.da);this.A=zt(window,"beforeunload",function(){f.g&&f.g.uf()})};w(j6,So); j6.prototype.O=function(){var a=this;this.g&&this.g.destroy();this.A&&(Ht(this.A),this.A=null);Ro(this.l);Ro(this.Z);pu(function(){Ro(a.j)},0);So.prototype.O.call(this)};j6.prototype.T=function(a){var b={};b=(b.vpaidEventType=a.l,b.session=a.g,b);this.sendMessage(a.type,b)};j6.prototype.W=function(a){try{k6(this,a.messageType,a.Eb)}catch(b){l6(this,b)}};j6.prototype.da=function(){var a;(a=this.g)==null||a.rc()}; var l6=function(a,b){b instanceof LO?(b.getErrorCode(),m6(a,b)):m6(a,JR(dP,b));a.dispose()},k6=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 m6(a,JR(TO,null,"Should call init before calling start.")),d=!0;if(!d)switch(b){case "init":if(a.g)break;a.ka.append(c.adsRenderingSettings);try{var e=a.M.build(a.ka,a.D);a.j.listen(e,EQ,a.P);a.j.listen(e,"adError",a.aa);a.j.listen(e,FQ,a.T);a.g=e}catch(P){l6(a,P);break}for(;a.C.length!==0;){var f=a.C.shift(); k6(a,f.type,f.data)}a.l==null&&(a.l=new nu(200));a.j.listen(a.l,"tick",a.G);a.l.start();a.g.init();ko()||a.j.listen(lf(),"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 V5)X5(a.g);else{var k;(k=a.g)==null||k.destroy()}break;case "navigationRequestedFailed":var m;(m=a.g)==null||m.resume();b=JR(eP,null,(f=c.url)!=null?f:"unknown");f={};a.sendMessage("log",(f.logData=NO(b),f));break;case "pause":var n; (n=a.g)==null||n.pause();break;case "resume":var p;(p=a.g)==null||p.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 x;(x=a.g)==null||x.resize(c.width,c.height);break;case "discardAdBreak":a.g&&a.g instanceof V5&&a.g.discardAdBreak();break;case "updateAdsRenderingSettings":if(c==null)break;a.ka.append(c.adsRenderingSettings); break;case "click":var A;(A=a.g)==null||A.Uc();break;case "appForegrounding":var H;(H=a.g)==null||H.rc();break;case "appBackgrounding":var C;(C=a.g)==null||C.Hc()}}; j6.prototype.P=function(a){var b=n6(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 u3&&(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":c=c.cuepoints;if(!c)break;b=f6(c);var d={};this.sendMessage(a.type,(d.adCuePoints=c,d.internalCuePoints=b,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":o6(this);c={};this.sendMessage(a.type,(c.adData=b,c));break;case "loaded":c=a.getAd();if(!c){m6(this,JR(dP));break}c.getContentType()!=null&&(b.contentType=c.getContentType()); c={};c=(c.adData=b,c);this.sendMessage("loaded",c);break;case "videoIconClicked":a=c.clickThroughUrl;(uQ().F||a)&&this.sendMessage("videoIconClicked",c);break;case "iconFallbackImageClosed":this.sendMessage("iconFallbackImageClosed");break;case "click":c={};this.sendMessage("click",(c.adData=b,c));break;case "log":c=a.getAdData();if(!c)break;if(!(c instanceof LO))break;c=NO(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 O(a)).o||(b=new O(a),b.o||(b.j?(Sy(b,"https"),a=b.toString()):a="https://"+b),c.url=a);uQ().Vi?(b=a,(a=c.attributionSrc)&&qB(OC)&&(b=new O(b),ez(b,"ase")==="3"&&ez(b,"asrd")==="1"&&(a=new O(a),Ty(a,"googleadservices.com"),a=a.toString())),c.attributionSrc=a,this.sendMessage("navigationRequested",c)):this.ka.disableClickThrough||(c=c.attributionParams,c=c!=null?c:"",qe&& (c=""),E(F(a))||(b=a instanceof jd||!dB.test(a)?a:new jd(a),a=b instanceof jd?b:pd(a),b=window,a=td(a),a!==void 0&&b.open(a,"_blank",c)));break;case "setPaidV2UserEnabled":case "updateGfpCookie":this.sendMessage(a.type,c);break;default:c={},this.sendMessage(a.type,(c.adData=b,c))}};j6.prototype.aa=function(a){var b=this;o6(this);this.j.oa(lf(),"resize",this.K);m6(this,a.getError());pu(function(){return b.dispose()})}; var o6=function(a){a.j.oa(a.l,"tick",a.G);Ro(a.l);a.l=null;a.sendMessage("remainingTime",{currentTime:-1,duration:-1,remainingTime:-1})};j6.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)}};j6.prototype.K=function(){try{var a;(a=this.g)==null||a.Mb()}catch(b){l6(this,b)}}; var n6=function(a,b,c){if(c==null)return{};var d=AU(c);b==="start"&&(a.B[c.getAdId()]==null&&(b=UT(c)||[],a.B[c.getAdId()]=b.map(function(e){return IU(e)})),d.companions=a.B[c.getAdId()]);return d};j6.prototype.sendMessage=function(a,b){b=b===void 0?{}:b;mR(this.o,"adsManager",a,b)};var m6=function(a,b){b=NO(b);a.sendMessage("error",b)};var p6=function(a){this.g=a};var q6=function(){this.g=new Map},r6=function(a,b){a.g.clear();for(var c=0;c<1;c++)a.g.set(new p6(b),!1)};var s6=["videoDisplay1","videoDisplay2"],t6=function(a){this.l=a;this.j=new Set;this.g=[]},h6=function(a,b){a.j.clear();a.g=s6.slice(0,b).map(function(c){return new lR(a.l,c)})},g4=function(a){if(a.g.length>0){var b=a.g.shift();a.j.add(b);return b}return null},X3=function(a,b){b&&(a.j.delete(b),a.g.push(b))},h4=function(a){for(var b=q(a.j),c=b.next();!c.done;c=b.next())c=c.value,c.reset(uQ().o),vR(c),a.g.unshift(c)};var u6=function(a,b){jt.call(this,"adsLoaded");this.g=a;this.l=b};w(u6,jt);var v6=function(a,b){this.l=a;this.j=b;this.sa=null};v6.prototype.encrypt=function(a){var b=this;return z(function(c){if(c.g==1)return c.l=2,y(c,b.l.encrypt(a),4);if(c.g!=2)return c.return(c.j);wa(c);return c.return("")})};var w6=function(a){this.ads=a},y6=function(a,b){(b=x6(a,b))&&a.ads.splice(a.ads.indexOf(b),1);return b},x6=function(a,b){b<=0&&(b=120);return a.ads.find(function(c){return c.getDuration()>0&&c.getDuration()<=b})||null};var A6=function(a,b){this.j=a;a=z6(a,b);b=a.Ph;this.g=a.Om;this.Ph=b},B6=function(a){return a.j.reduce(function(b,c){var d;return[].concat(v(b),v((d=a.g.get(c))!=null?d:[]))},[])},C6=function(a,b){a.Ph.forEach(function(c){var d=y6(b,c.getDuration());d&&a.g.set(c,[d])})},z6=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{Om:c, Ph:d}};var D6=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 A6(this.A,[]);this.l=new w6([])},E6=function(a,b){a=a.length===0;var c=b.length>=2,d=b.length>0,e;if(e=a)b=b[0],e=fU(b)&&iU(b,"nonlinear")&&iT(b)==null;return e?!1:a&&c||!a&&d};l=D6.prototype; l.Fd=function(a,b){var c=this;if(this.B){var d=y6(this.l,this.C);d?a([d]):b(MR($O))}else{var e=!1,f=!1;this.N.Fd(function(g){c.g=new A6(c.A,g);f&&F6(c,a,b);e=!0},function(g){c.o=g;f&&F6(c,a,b);e=!0});this.J.Fd(function(g){c.l=new w6(g);e&&F6(c,a,b);f=!0},function(g){c.j=g;e&&F6(c,a,b);f=!0})}};l.Nf=function(){return E6(this.A,this.l.ads)};l.kc=function(){throw Error("Do not use hasMoreAds in ad buffet ad source.");};l.fc=function(){throw Error("Do not use getNextAd in ad buffet ad source.");}; l.Pj=function(){throw Error("Do not use numInlineAdsProduced in ad buffet ad source.");};l.Td=function(a){this.C=a;this.B=!0};var F6=function(a,b,c){a.o&&a.j?a.A.length>0&&a.o?c(a.o):a.j?c(a.j):(a=MR($O),c(a)):a.j?b(B6(a.g)):a.o?(C6(a.g,a.l),B6(a.g).length>0?b(B6(a.g)):(a=MR($O),c(a))):(C6(a.g,a.l),b(B6(a.g)))};var G6=function(a,b){this.C=a;this.A=b;this.g=this.j=0;this.l=-1;this.o="none"},H6=function(a,b){a.j+=1;a.o=b instanceof FR?"map":"src";RQ().report(176,{sic:a.j,eic:a.g,lst:a.o,lec:a.l});a.j>1||a.g>1||a.C(b)},I6=function(a,b){a.g+=1;a.l=b.getErrorCode();RQ().report(176,{sic:a.j,eic:a.g,lst:a.o,lec:a.l});a.j>1||a.g>1||a.A(b)};var J6=function(a,b,c,d){this.C=a;this.J=b;this.ma=c;this.N=d;this.Wa=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.sa=null};J6.prototype.Fd=function(a,b){K6(this,a,b)}; var L6=function(a,b,c){var d=[],e=function(f){a.kc()?a.fc(function(g){d.push(g);e(null)},function(g){e(g)}):d.length>0?b(d):(f==null&&(f=MR($O)),c(f))};e(null)},K6=function(a,b,c){var d=[],e=[];M6(a,d,e);Promise.all(e).then(function(){return N6(a,d,b,c)},function(){return c(MR(hP))})},M6=function(a,b,c){a.ads.forEach(function(d){var e=[];b.push(e);d.l?O6(a,d)||(d=P6(a,d,e,function(f){return a.o=f}),c.push(d)):e.push(d)})},O6=function(a,b){if($T(b)>=EP.getNumRedirects()){var c=a.j(b,lP,null,String(EP.getNumRedirects())); Q6(a,b,c);return!0}return a.B?!1:(a.o=a.j(b,nP),!0)},N6=function(a,b,c,d){var e=[];b.forEach(function(f){f.forEach(function(g){return a.nf(g,function(h){return e.push(h)},function(h){return a.o=h})})});e.length>0?c(e):(a.o===null&&(a.o=MR($O)),d(a.o))},P6=function(a,b,c,d){return new Promise(function(e,f){var g=oD(a.ma,b.P);a.N.fetch(g,new G6(function(h){h instanceof J6?R6(a,h,b,c,d,e,f):(h=new LO("adLoadError","Ad source cannot contain playlist response.",2),MO(h,b),d(h),e())},function(h){h=S6(a, h,b);Q6(a,b,h);d(h);e()}))})},R6=function(a,b,c,d,e,f,g){T6(b,c,a.Wa&&c.Wa,c.Gd);b.ads.length===0?(Q6(a,c,a.j(c,oP)),f()):b.Fd(function(h){d.push.apply(d,v(h));f()},function(h){Q6(a,c,h);e(h);h.getErrorCode()===301&&g();f()})};l=J6.prototype;l.kc=function(){return this.g!=null&&this.g.kc()?!0:this.ads.length>0&&this.l0?a:b:a.length===1?a:b.slice(0,1)}; J6.prototype.nf=function(a,b,c){var d;if(!(d=a.g!=null)){var e=this.ma;d=e.nonLinearAdSlotWidth||0;e=e.nonLinearAdSlotHeight||0;fU(a)&&!a.l?iU(a,"nonlinear")?v3(a,d,e):w3(a):iU(a,"linear")?w3(a):iU(a,"nonlinear")&&v3(a,d,e);d=a.g!=null}d?(this.A++,b(a)):(b=a.pa.length===0?this.j(a,iP):a.isLinear()?this.j(a,fP):this.j(a,kP),MO(b,a),X6(b,a),c(b))};J6.prototype.wi=function(a,b,c){var d=oD(this.ma,a.P);Y6(this,a,d,b,c)}; var Y6=function(a,b,c,d,e){a.N.fetch(c,new G6(function(f){f instanceof J6?(T6(f,b,a.Wa&&b.Wa,b.Gd),d(f)):f instanceof FR?(f=new LO("adLoadError","Ad source cannot contain playlist response.",2),MO(f,b),e(f)):(f=new LO("adLoadError","Unknown ad source.",2),MO(f,b),e(f))},e))},U6=function(a,b,c){var d;if((d=a.g)!=null&&d.kc()){var e;(e=a.g)==null||e.fc(function(g){a.nf(g,b,function(h){a.kc()?a.fc(b,c):c(h)})},function(g){Q6(a,a.ads[a.l],g);a.g=null;g.getErrorCode()===301?c(g):a.kc()?a.fc(b,c):c(g)})}else{var f; ((f=a.g)==null?void 0:f.Pj())===0&&(d=a.ads[a.l],Q6(a,d,a.j(d,oP)));a.g=null;a.fc(b,c)}},Q6=function(a,b,c){a.o=c;X6(c,b)},V6=function(a,b,c){a.l++;var d=a.ads[a.l];if(d.l)if($T(d)>=EP.getNumRedirects()){var e=a.j(d,lP,null,String(EP.getNumRedirects()));Q6(a,d,e);c(e)}else a.B?a.wi(d,function(f){a.g=f;a.fc(b,c)},function(f){f=S6(a,f,null);Q6(a,d,f);c(f)}):(e=a.j(d,nP),c(e));else a.nf(d,b,c)},S6=function(a,b,c){switch(b.getErrorCode()){case 300:case 301:case 302:case 303:case 200:case 1005:MO(b,c); break;default:b.getAd()&&(c=b.getAd()),b=a.j(c,oP)}return b},T6=function(a,b,c,d){a.ads.forEach(function(e){e.Y=b;ZT(e)});W6(a,c);a.B=d};J6.prototype.j=function(a,b,c){var d=MR.apply(null,[b,c].concat(v(Da.apply(3,arguments))));MO(d,a);return d};var X6=function(a,b){var c=b.G,d=a.getAd();d&&(b=d);a=XS(a,b);OQ(c,a)};var Z6=function(a,b,c){J6.call(this,[],a,b,c)};w(Z6,J6);Z6.prototype.Nf=function(){return $6(this)>0};var $6=function(a){var b=a.ads.length-(a.l<0?1:a.l+1);return a.g!=null&&a.g instanceof Z6?b+$6(a.g):b};l=Z6.prototype;l.Fd=function(a,b){L6(this,a,b)};l.kc=function(){if(this.g!=null&&this.g.kc())return!0;var a=this.A===0||this.A===this.D;return this.ads.length>0&&a&&this.l0&&dU(a.g[0])>=0?new Z6(a.g,c,b):E6(a.j,a.g)?new D6(new J6(a.j,[],c,b),new J6([],a.g,c,b),a.j):new J6(a.j,a.g,c,b)},a7=function(a){a=a.filter(function(b){return b.getPodIndex()>0});a.sort(function(b,c){return b.getPodIndex()-c.getPodIndex()});return a},b7=function(a){return a.filter(function(b){return b.getPodIndex()===-1})};var e7=function(a,b,c,d){this.j=a;this.l=b;this.o=c;this.g=d;this.sa=null}; e7.prototype.fetch=function(a,b){if(a.adsResponse!=null&&(typeof a.adsResponse==="string"&&!E(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=fH(a.adsResponse).documentElement}catch(e){I6(b,MR(cP,e));break a}if(c){var d=Ta();f7(this,c,a,d,d,b)}else I6(b,MR(cP))}else CD(a.adTagUrl||"")?g7(this,a,b):h7(this,a,b)}; var h7=function(a,b,c){var d;if(!(d=b.adTagUrl==null))a:{try{Yd(b.adTagUrl)}catch(e){d=!1;break a}d=!0}d?EP.J?sS(function(e){return void i7(a,b,c,e)}):i7(a,b,c):I6(c,MR(XO,null,b.adTagUrl))},g7=function(a,b,c){a.j?a.j.K().then(function(){return void h7(a,b,c)}).catch(function(){}):h7(a,b,c)},i7=function(a,b,c,d){d=d===void 0?"":d;var e,f,g,h,k;return z(function(m){if(m.g==1)return j7(b.adTagUrl||""),y(m,k7(a,b,d),2);e=m.j;f=VP(a.g.g);g=a.g.Xa;h=new $G(b.vastLoadTimeout);k=Date.now();return m.return(a.o.get({url:e, timeout:h,withCredentials:!f,browsingTopics:g}).then(function(n){var p;return(p=n.documentElement)!=null?p:Promise.reject()}).then(function(n){f7(a,n,b,k,Date.now(),c)},function(n){var p="",r=MR(WO);n instanceof Error&&(r=MR(WO,n),p=n.message,p==="8"||n instanceof DOMException&&n.name==="AbortError")&&(r=MR(hP,n));I6(c,r);n=p;n={rt:vP(b.adTagUrl||""),ec:n};RQ().report(18,n)}))})},k7=function(a,b,c){var d,e,f,g,h,k;return z(function(m){if(m.g==1)return b.adTagUrl=JX(b.adTagUrl),d=F2(b,a.g,a.j),e=new O(d.g(b)), a.g.C==="tvos"&&qB(NC)&&(f=e.j,f==="googleads.g.doubleclick.net"||f==="www.googleads.g.doubleclick.net"?Ty(e,"googleads-att.g.doubleclick.net"):(f==="pubads.g.doubleclick.net"||f==="www.pubads.g.doubleclick.net")&&Ty(e,"pubads-att.g.doubleclick.net")),(g=E(c)?null:c)&&tS(e.j)&&e.g.set("ged",g),(h=VP(a.g.g))&&WP(a.g.g,e.toString())&&Ty(e,"pagead2.googlesyndication.com"),y(m,gT(b,function(n){var p=a.l;if(!p.g){n=EX(n,p.j);var r=encodeURIComponent(Ic());n.set("useragent",r);g&&n.set("ged",g);r=EP.o; r==null||n.set("adsid",r);n=oX(n);p.g=p.encrypt(n)}p=p.g;return p}),2);k=m.j;return m.return(MQ(e.toString(),k))})},j7=function(a){a={rt:vP(a)};RQ().report(17,a)},f7=function(a,b,c,d,e,f){var g=null,h=null;try{var k=PV(b,c);if(!k)throw MR(cP);var m=k.g();l7(a,m,c,d,e,new G6(function(n){g=n},function(n){h=n}))}catch(n){h=n instanceof LO?n:MR(dP,n)}h!=null?I6(f,h):g&&H6(f,g)},l7=function(a,b,c,d,e,f){var g=b.g,h=b.j;if(g!=null)H6(f,g);else if(h&&h.length>0){h.forEach(function(m){m.ma=c;ZT(m);m=m.tb; m.A=d;m.o=e});var k=d7(new c7(h),a,c);h.forEach(function(m){m.B=k});H6(f,k)}else throw a=MR(oP),b=b.we,f=XS(a),OQ(b,f),a;};var m7=function(a,b,c,d){this.l=a;this.o=d;this.g=new KX;this.j=!1;this.sa=null;this.A=new e7(this.l,b,c,d)};m7.prototype.requestAds=function(a,b,c){var d=this,e=function(g){b(g);g=d.g;LX(g);g.g.pop();d.j=!1;n7(d)},f=function(g){c(g);g=d.g;LX(g);g.g.pop();d.j=!1;n7(d)};MX(this.g,function(){return void o7(d,a,e,f)});n7(this)}; var n7=function(a){if(!a.j){var b=a.g;LX(b);b=b.g;b=b[b.length-1];b!=null&&(a.j=!0,b())}},o7=function(a,b,c,d){var e=wP(b.adTagUrl);e!=null&&zD(b.adTagUrl||"")&&(a.o.Ba=e);a.A.fetch(b,new G6(function(f){f instanceof FR?c(f):f.Fd(c,d)},d))};var p7=function(a,b,c,d,e){N.call(this);this.Ef=a;this.kl=e;this.td=!0;this.sa=this.g=null;this.j=new v6(b,d);this.l=new m7(a,this.j,c,d)};w(p7,N);p7.prototype.requestAds=function(a,b){var c=this;this.td&&(a.adTagUrl&&!OF(a.adTagUrl)?q7(this,new LO("adLoadError","URI malformed",1005),b):(this.j.g=void 0,this.l.requestAds(a,function(d){c.td?r7(c,d,b):s7(c,d,b)},function(d){return void q7(c,d,b)})))}; var G5=function(a,b,c){a.td||a.l.requestAds(b,function(d){a.td?r7(a,d,c):s7(a,d,c)},function(d){return void q7(a,d,c)})};p7.prototype.contentComplete=function(){var a=new B5("contentComplete",new A5);this.dispatchEvent(a);a.l&&(yQ=sQ(),a=this.Ef.F(),a!=null&&d6(a))}; var r7=function(a,b,c){z(function(d){if(d.g==1){if(b instanceof FR){d.g=2;return}t7(b);a.g?d=y(d,u7(a.g,b),4):(d.g=2,d=void 0);return d}d.g!=2&&(b=d.j);a.dispatchEvent(new u6(b,c));d.g=0})},s7=function(a,b,c){z(function(d){if(d.g==1){if(b instanceof FR)return q7(a,MR(RO,null,"Unsupported ad format."),c),d.return();t7(b);a.g?d=y(d,u7(a.g,b),3):(d.g=2,d=void 0);return d}d.g!=2&&(b=d.j);var e=new B5("adBreakFetched",c);e.o=b;a.dispatchEvent(e);d.g=0})},q7=function(a,b,c){a.td?(EP.getCompanionBackfill()=== "always"&&a.Ef.B(cW()),b=new LR(b),b.Yi=c,a.dispatchEvent(b)):a.dispatchEvent(new B5("adBreakFetchError",c))},t7=function(a){for(var b={},c=q(a),d=c.next();!d.done;d=c.next()){d=lS(d.value);d=q(d.entries());for(var e=d.next();!e.done;e=d.next()){var f=q(e.value);e=f.next().value;f=f.next().value;var g=void 0;b[e]=((g=b[e])!=null?g:0)+f.length}}RQ().report(199,{adCount:a.length,extensionCounts:JSON.stringify(b)})};var v7=function(){this.g=[];this.j=!1};v7.prototype.push=function(a){this.g.push(a);this.j||w7(this)};var w7=function(a){var b=a.g.shift();b!=null&&(a.j=!0,b(),pu(function(){a.j=!1;a.g.length!==0&&w7(a)},4))};var x7=function(){VV.apply(this,arguments)};w(x7,VV); x7.prototype.sendMessage=function(a){var b=y7(a,this.j);z7.push(function(){var c=a.name,d=b;d=d===void 0?null:d;switch(A7){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=lf())==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 C7=function(a){a=(a===void 0?null:a)||"*";var b=B7.get(a);b==null&&(b=new x7(a),B7.set(a,b));return b},y7=function(a,b){var c=a.type,d=DQ[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},A7=0,B7=new Map,z7=new v7;new DOMParser;tP("3.25.1");function D7(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 U7=[12,13,20],V7=function(a,b,c,d){d=d===void 0?{}:d;var e=d.Nh===void 0?!1:d.Nh;d=d.zn===void 0?[]:d.zn;this.gf=a;this.od=c;this.o={};this.Nh=e;a={};this.g=(a[b]=[],a[4]=[],a);this.j={};this.l={};if(b=Xm())for(b=q(b.split(",")||[]),a=b.next();!a.done;a=b.next())(a=Number(a.value))&&(this.j[a]=!0);d=q(d);for(b=d.next();!b.done;b=d.next())this.j[b.value]=!0},Y7=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 Uw(a.od,b,c,e,[],4),e;f=U7.includes(b);for(var g=[],h= [],k=q([0,1,2]),m=k.next();!m.done;m=k.next()){m=m.value;for(var n=q(a.gf[m].entries()),p=n.next();!p.done;p=n.next()){var r=q(p.value);p=r.next().value;r=r.next().value;var u=p,t=r;p=new Ov;r=t.filter(function(P){return P.Wf===b&&a.j[P.dc.getId()]&&W7(a,P)});if(r.length)for(p=q(r),r=p.next();!r.done;r=p.next())h.push(r.value.dc);else if(!a.Nh){r=void 0;m===2?(r=d[1],ak(p,2,Pv,Mi(u))):r=d[0];var x=void 0,A=void 0;r=(A=(x=r)==null?void 0:x(String(u)))!=null?A:m===2&&sk(t[0].bh,11)===1?void 0:d[0](String(u)); if(r!==void 0){u=q(t);for(t=u.next();!t.done;t=u.next())if(t=t.value,t.Wf===b){x=r-t.nk;var H=t;A=H.Lj;var C=H.Mj;H=H.Ym;x<0||x>=A*C||x%C!==H||!W7(a,t)||(x=sk(t.bh,13),x!==0&&x!==void 0&&(A=a.l[String(x)],A!==void 0&&A!==t.dc.getId()?Vw(a.od,a.l[String(x)],t.dc.getId(),x):a.l[String(x)]=t.dc.getId()),h.push(t.dc))}ck(p,Pv)!==0&&(wk(p,3,r),g.push(p))}}}}d=q(h);for(h=d.next();!h.done;h=d.next())h=h.value,k=h.getId(),e.push(k),X7(a,k,f?4:c),lx(ik(h,pv,2,Mj()),f?nx():[c],a.od,k);Uw(a.od,b,c,e,g,1);return e}, X7=function(a,b,c){a.g[c]||(a.g[c]=[]);a=a.g[c];a.includes(b)||a.push(b)},W7=function(a,b){var c=G(Xw).Wb,d=nv(J(b.bh,ev,3),c);if(!d.success)return Ww(a.od,J(b.bh,ev,3),b.Wf,b.dc.getId(),d),!1;if(!d.value)return!1;c=nv(J(b.dc,ev,3),c);return c.success?c.value?!0:!1:(Ww(a.od,J(b.dc,ev,3),b.Wf,b.dc.getId(),c),!1)},Z7=function(a,b){b=b.map(function(c){return new N7(c)}).filter(function(c){return!U7.includes(sk(c,1))});a.gf=R7(a.gf,b)},$7=function(a,b){px(1,function(c){a.j[c]=!0},b);px(2,function(c,d, e){return Y7(a,c,d,e)},b);px(3,function(c){return(a.g[c]||[]).concat(a.g[4])},b);px(12,function(c){return void Z7(a,c)},b);px(16,function(c,d){return void X7(a,c,d)},b)};var a8=function(){this.g=function(){}},b8=function(a,b){a.g=qx(14,b,function(){})};function c8(a){G(a8).g(a)};var d8,e8,f8,g8,h8,i8; function j8(a){var b=a.im;var c=a.Wb;var d=a.config;var e=a.Pl===void 0?J7():a.Pl;var f=a.mj===void 0?0:a.mj;var g=a.od===void 0?new Sw((g8=(d8=J(b,O7,5))==null?void 0:qk(d8,2))!=null?g8:0,(h8=(e8=J(b,O7,5))==null?void 0:qk(e8,4))!=null?h8:0,(i8=(f8=J(b,O7,5))==null?void 0:nk(f8,3))!=null?i8:!1):a.od;a=a.gf===void 0?Q7(ik(b,N7,2,Mj(ji))):a.gf;e.hasOwnProperty("init-done")?(qx(12,e,function(){})(ik(b,N7,2,Mj()).map(function(h){return al(h)})),qx(13,e,function(){})(ik(b,pv,1,Mj()).map(function(h){return al(h)}),f), c&&qx(14,e,function(){})(c),k8(f,e)):($7(new V7(a,f,g,d),e),rx(e),sx(e),tx(e),k8(f,e),lx(ik(b,pv,1,Mj(ji)),[f],g,void 0,!0),Yw=Yw||!(!d||!d.aq),c8(I7),c&&c8(c))}function k8(a,b){var c=b=b===void 0?J7():b;Px(G(Ox),c,a);l8(b,a);a=b;b8(G(a8),a);G(HP).j()} function l8(a,b){var c=G(HP);c.g=function(d,e){return qx(5,a,function(){return!1})(d,e,b)};c.o=function(d,e){return qx(6,a,function(){return 0})(d,e,b)};c.A=function(d,e){return qx(7,a,function(){return""})(d,e,b)};c.C=function(d,e){return qx(8,a,function(){return[]})(d,e,b)};c.l=function(d,e){return qx(17,a,function(){return[]})(d,e,b)};c.j=function(){qx(15,a,function(){})(b)}};function m8(){var a=Ia("google.ima.NativeLoader.getIsGdprLoader");return a?a():!1}Ha("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 WV(a,c.type,c.data||{},c.sid,"",c.id,c.replyToMessageId);C7().dispatchEvent(e);d!=="*"&&C7(d).dispatchEvent(e)}}}catch(f){}}); Ha("google.ima.NativeBridge.calculateIdlessState",function(a,b){b=b===void 0?{}:b;return VP(b.adTagUrl?NP(b.adTagUrl,a,m8()):b.adTagParameters?OP(b.adTagParameters,a,m8()):new MP(!1,{},a,m8()))});var o8=function(a,b){b=b===void 0?new gH: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 t6(this.g.Rc);this.A=new q6;rS(jS(),this.g.Rc);this.l.listen(this.g.Rc,"adsLoader",function(d){var e=new A5;e.g=d.bl;switch(d.messageType){case "requestAds":c.g.xc(e.g);c.requestAds(d.Eb,e);break;case "requestStream":c.g.xc(e.g);n8(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; uQ().secureSignals=(g=d.espSignals)!=null?g:null}});QM(function(){T(U(),"haib","1")})};w(o8,N);o8.prototype.O=function(){Ro(this.j);N.prototype.O.call(this)}; var q8=function(a,b,c){a.l.listen(b,"adsLoaded",function(d){return p8(a,d,b,c)});a.l.listen(b,"adError",function(d){var e=d.Yi.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);mR(a.g.xc(e),"adsLoader","error",f)}})},p8=function(a,b,c,d){var e=b.g,f=b.l,g=f.adTagUrl||"";b=a.g.xc(f.g);var h=f.j;new j6(new g6(c,e,new V2(h,a.B,b,c.Ef,a.A,d,c.kl),function(k){var m=a.g;if(m.g){m=m.g; var n;(n=m.l)!=null&&iH(n,k,EQ,m.M,!1,m);var p;(p=m.l)!=null&&iH(p,k,"adError",m.B,!1,m)}}),h,r8(),b,f.contentDuration);r6(a.A,b);c=s8(g,e);Jw(d.N,zk(J(d.N,zw,13)||new zw,2,Date.now()));mR(b,"adsLoader","adsLoaded",c)},s8=function(a,b){if(b instanceof FR){var c=HR(b);b=TF()}else c=[],b=b[0].lg()&&TF();var d=f6(c),e={};c=(e.adCuePoints=c,e.internalCuePoints=d,e);FP();c.isCustomClickTrackingAllowed=b;c.adTagUrl=a;return c},t8=function(a){if(a!=null){var b=EP;if(a!=null){var c=a.activityMonitorMode; c!=null&&(b.P=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.J=c);c=a.isFunctionalTest;c!=null&&(b.C=c);c=a.isVpaidAdapter;c!=null&&b.ik(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.G=c);c=a.sessionId;c!=null&&b.setSessionId(c);c=a.supportsMultipleVideoDisplayChannels;c!=null&&(b.xa=c);c=a.testingConfig;c!=null&&(b.B=new yP(c));c=a.urlSignals;c!=null&&(b.K=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.D=a["1pJar"]||"";b.F=a.privacyControls||"";c=a.cookieDeprecationLabel;if(c!=null){b.M=c;var d;c=(d=a.cookieDeprecationLabelStatus)!=null?d: 0;b.W=c}}a.persistentStateCorrelator!=null&&(b=U(),WB(b,"c",a.persistentStateCorrelator),XB(U()));a.activeViewPushUpdates!=null&&(jS().B=a.activeViewPushUpdates);RQ().report(41,{mode:EP.g});a.backgroundPlayback!=null&&RQ().report(32);a.pipState!=null&&RQ().report(42,{state:a.pipState});Array.isArray(a.swiftLibraries)&&ko()&&RQ().report(135,{count:a.swiftLibraries.length,libs:a.swiftLibraries.join("~")});b=a.pageCorrelator||0;a=a.streamCorrelator||0;b>0&&(xQ=b);a>0&&(yQ=a)}},u8=function(a){a!=null&& a.osdId!=null&&(jS().M=a.osdId)}; o8.prototype.requestAds=function(a,b){var c=this,d,e,f,g,h,k,m,n,p,r;return z(function(u){if(u.g==1){d=wQ(a);Jw(d.N,Aw(new zw,Date.now()));e=a.adTagUrl;t8(a.settings);u8(a.videoEnvironment);v8(a);jS().B&&Cr();d.g=NP(e,a.consentSettings||{},c.g.ng());e!=null&&(b.adTagUrl=e);RQ().report(165,YP(d.g));var t=new nD;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 x;t.j=((x=a.rubidiumApiVersion)==null? void 0:x.toString())||null;f=t;t=f.adTagUrl||"";AD(t)&&(t=(new O(t)).g.get("description_url",""),d.Ak===t?d.J=d.J%99===0?1:d.J+1:(d.J=1,d.Ak=t));b.contentDuration=f.contentDuration;if(e)if(e==="")var A=null;else t=new O(e),(x=ez(t,"slotname")||ez(t,"iu"))?x=x?(x=/\/(\d+)(?:,\d+){0,2}\//.exec(x))&&x.length===2?x[1]:null:null:x=null,x||(x=(t=(A=ez(t,"client"))!=null?A:"")?t:null),A=x;else A=null;g=A;A=new gw;t=Vj(A,1,Xi(pQ()),"");t=Vj(t,2,Xi(g),"");t=Dk(t,4,d.P?2:1);x=Fv();t=jk(t,5,x);t=zk(t,6,100); t=Dk(t.wf(AQ).Gi(zQ),9,2);x=uB();Uj(t,10,x,Oi);h=A;A=new rw;t=new O(f.adTagUrl);x=Number(HD(t,"plcmt"));Dk(A,1,x);t=HD(t,"sz");t===""?t=null:(t=t.split("|")[0].split("x"),t=t.length!==2?null:t);if(t){x=q(t);t=x.next().value;x=x.next().value;var H=new mw;t=wk(H,1,Number(t));wk(t,2,Number(x));jk(A,2,H)}k=A;A=jk(d.xa,4,h);jk(A,1,k);c.g.xc(b.g);m=w8(c);b.j=m;c.j||(A=c.g,x=ko()?new TV:new u0,H=Tc()&&ng(window.fetch)&&ng(window.AbortController)?new x8:new lH,t=new Rw(0,pQ()),x=new p7(A.B,x,H,d,t),H=new y8(A.Rc), x.g=new z8(H,t),A8(A,x),c.j=x,q8(c,c.j,d));A=c.j;n=A;p=a.liveStreamPrefetchSeconds||0;if(!(p>0)){u.g=2;return}r=Math.floor(Math.random()*p*1E3);return y(u,ru(r),2)}if(u.g!=4)return y(u,B8(),4);c.yi(f,n,p);n.requestAds(f,b);u.g=0})}; var v8=function(a){var b=(a.imalibExperiments||{}).limaExperimentIds||null;b!=null&&(tB.reset(),b=qC(b),wB(new zB(b)));b=a.pvsid;a=(a=(a.genotypeExperimentData||{}).experimentStateProto)?JSON.parse(a):[];b&&a&&(a=cl(P7,a),j8({im:a,mj:7}),a={},b=(a[0]=T7(b),a),G(Ox).j(16,b));b=FP();zP(b,"disableExperiments")&&tB.reset();b=FP();(b=AP(b))&&b.length>0&&(tB.reset(),wB(new zB(b)));cR()&&nc(yB())},n8=function(a,b,c){var d,e,f,g,h;z(function(k){if(k.g==1){d=wQ(b,!0);Jw(d.N,Aw(new zw,Date.now()));t8(b.settings); u8(b.videoEnvironment);var m=new eW;m.T=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.M=b.projectNumber||"";m.K=b.oAuthToken||"";m.Oc=b.videoId||"";m.l=b.apiKey||"";m.g=b.adTagParameters||{};m.aa=b.streamActivityMonitorId||"";m.format="hls";m.P=b.useQAStreamBaseUrl||!1;m.B=b.contentSourceUrl||"";m.adTagUrl=b.adTagUrl||"";b.format==="dash"&& (m.format=b.format);var n=FP();zP(n,"useTestStreamManager")&&(m.F=!0);m.N=b.enableNonce||!1;m.W=b.vodConfigId||"";m.j=b.rubidiumApiVersion||"";e=m;f=OP(e.g,b.consentSettings||{},a.g.ng());RQ().report(165,YP(f));d.g=f;e.D=VP(f);jS().B&&Cr();v8(b);g=a.g.xc(c.g);h=w8(a);c.j=h}else a.g.g(e,h,g,d);k.g=0})},w8=function(a){a.o||(a.o=new C8(document.body,a.g.xc()));return a.o}; o8.prototype.yi=function(a,b,c){c=c===void 0?0:c;this.g.yi(a,b);b=uQ().appName;var d=uQ().D,e={};E(F(b))||(e.app_name=b);E(F(d))||(e.external_version=d);e.delay=c;e.vpaidadapter=EP.l;e.request_type=vP(a.adTagUrl);e.ctv=hR().toString();RQ().report(6,e)};Ha("ima.Bridge",o8,window);var D8=function(a,b,c,d){Nw.call(this,a,b);this.o=c;this.l=d};w(D8,Nw);D8.prototype.g=function(){var a=Da.apply(0,arguments);try{var b=encodeURIComponent(gh(xv(a,this.j),3));this.l(this.o+"?e=4&d="+b)}catch(c){wv(c,this.j)}};var E8=function(a,b,c){b=b===void 0?null:b;c=c===void 0?null:c;jt.call(this,a);this.error=b;this.g=c};w(E8,jt);E8.prototype.getError=function(){return this.error};var F8=function(a,b){return a.indexOf(b)==0?a.substr(b.length):null};var G8=function(){N.call(this);this.B=!1;this.da=void 0;this.G=!1;this.Z=void 0;this.D=!1;this.K=void 0;this.F=!1;this.o=null;this.ba=0;this.j=null;this.P=new lz;this.l=null;this.g={cslots:0,dispcorr:0,streamcorr:0};this.sa=null;this.A=new gH(this)};w(G8,N);var H8=function(a,b){a.j!=null&&a.A.oa(a.j,"gpt",a.M);a.j=b;a.A.listen(a.j,"gpt",a.M)};G8.prototype.O=function(){Ro(this.o);Ro(this.l);Ro(this.A);N.prototype.O.call(this)};G8.prototype.za=function(){return this.B}; var I8=function(a){if(a.G&&a.da!=null)return a.da.map(function(b){return b.clone()})},J8=function(a){a=I8(a);if(a!=null)return a.map(function(b){return b.getSizes()})};G8.prototype.getDisplayAdsCorrelator=function(){if(this.D)return this.Z}; G8.prototype.M=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 nu(100),this.A.listen(this.l,"tick",this.W),this.l.start());this.W()}else this.g.isgptpresent="0",this.T();break;case "getDisplayAdsCorrelator":isNaN(c)||(this.g.dispcorr="1",this.Z=c,this.D=!0);K8(this);break;case "getVideoStreamCorrelator":isNaN(c)||(this.g.streamcorr="1", this.K=c,this.F=!0);K8(this);break;case "googleGetCompanionAdSlots":b!=null&&(a=b.map(this.la,this),this.g.cslots="1",this.da=a,this.G=!0),K8(this)}};G8.prototype.sendMessage=function(a,b,c){this.j!=null&&(a={scope:a},c!=null&&(a.args=c),mR(this.j,"gpt",b,a))};G8.prototype.setVideoSession=function(a){var b=0,c=0;a!=null&&(a=new O(a.adTagUrl),b=Number(ez(a,"pod")||0),c=Number(ez(a,"ppos")||0));this.sendMessage("companionAds","setVideoSession",[yQ,b,c])}; var d6=function(a){a.K=yQ;a.sendMessage("pubads","setImaContent",["",""]);a.setVideoSession(null)},L8=function(a){a.o&&(a.o.stop(),a.A.oa(a.o,"tick",a.T),a.o.dispose(),a.o=null);a.l!=null&&(a.l.stop(),a.A.oa(a.l,"tick",a.W),a.l.dispose(),a.l=null)};G8.prototype.T=function(){this.B||(this.B=!0,this.P.resolve(),L8(this),M8(this,!1),N8(this),this.dispatchEvent(new E8("companion_initialization_failed",Error("GPT companion ads service not available."))),this.j!=null&&this.A.oa(this.j,"gpt",this.M))}; G8.prototype.W=function(){this.D||this.sendMessage("companionAds","getDisplayAdsCorrelator",[tQ(uQ())]);this.F||this.sendMessage("companionAds","getVideoStreamCorrelator");this.G||this.sendMessage(null,"googleGetCompanionAdSlots")}; var K8=function(a){a.B||(a.G&&a.D&&a.F?(a.B=!0,a.P.resolve(),L8(a),M8(a,!0),N8(a),a.dispatchEvent(new E8("companions_success"))):a.o||(a.o=new nu(5E3),a.A.kd(a.o,"tick",a.T),a.o.start()))},M8=function(a,b){a={initSuccess:b,latency:Date.now()-a.ba,slotLoadingDone:a.G,gptCorrelatorRetrieved:a.D,gptStreamCorrelatorRetrieved:a.F};RQ().report(184,a)};G8.prototype.la=function(a){var b=a.adSizes.map(function(c){return{size:new Ye(c.adWidth,c.adHeight),kb:!!c.fluidSize}});return new $V(a.slotId,b)}; G8.prototype.ha=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 N8=function(a){if(!a.g.loggingDone){var b=a.g;if(ko())var c=window.location.href;else{var d=vg();c=d.j;var e=d.g;d=d.l;var f=null;if(d)b:{try{var g=gz(d.url),h=g.l,k=F8(h,"/v/");k||(k=F8(h,"/a/"));if(!k)throw Error("Can not extract standalone amp url.");var m=F8("/"+k,"/s/"),n=g.g.clone();n.remove("amp_js_v");n.remove("amp_lite");var p=m?gz("https://"+m):gz("http://"+k);Vy(p,n);f=p.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=EP.l;a.g.ifstate=uQ().la;RQ().report(70,a.g);a.g={loggingDone:!0}}};var O8=function(a){bW.call(this);this.g=a;this.j=null;this.o=!1;this.sa=null;this.G=!1;this.A=null;this.D=new gH;iH(this.D,this.g,["companions_success","companion_initialization_failed"],this.jn,!1,this);iH(this.D,this.g,"companion_display_error",this.an,!1,this);iH(this.D,this.g,["companion_slot_init","companion_click"],this.Zm,!1,this);this.g.za()?this.G=!0:(a=this.g,a.B||(a.ba=Date.now(),a.sendMessage("proxy","isGptPresent"),K8(a)))};w(O8,bW);O8.prototype.O=function(){this.destroy();bW.prototype.O.call(this)}; O8.prototype.destroy=function(){this.D.dispose();this.A=null;this.l.forEach(function(a){aW(a)});this.j=null};O8.prototype.B=function(a){Ro(this.j);this.j=new N;this.A=a;this.o=!0;this.za()?P8(this):(this.o=Q8(R8(a),[]),this.o||(this.j=this.A=null));return this.j}; O8.prototype.K=function(){var a=this,b,c,d;return z(function(e){if(e.g==1)return GP("force_ad_request_wait_gpt_sync")?e=y(e,a.g.P.promise,2):a.g.za()?(e.g=2,e=void 0):e=e.return(),e;(b=a.g.getDisplayAdsCorrelator())&&(xQ=b);var f=a.g;f=f.F&&f.K!==0?f.K:void 0;(c=f)&&(yQ=c);if(d=J8(a.g))uQ().Xc=d;e.g=0})}; var P8=function(a){var b=a.A;a.A=null;if(a.l.length===0)a.o=Q8(R8(b),[]),S8(a,Error("Companion slots not available."));else if(b==null)S8(a,Error("Invalid main ad."));else{var c=T8(a,b),d=a.g,e=a.l.map(d.ha,d);d.sendMessage(null,"googleSetCompanionAdContents",[e,null,tQ(uQ())]);if(c.length>0&&(a=a.g,c.length!==0&&cU(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++],n=d[f++];h=((h&7)<<18|(k&63)<<12|(m&63)<<6|n&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(""))})};Y8.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.657.0"||c.length>=2&&c[2]==="3.657.0"?!0:!1}):!1}; var Z8=[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],$8=[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],a9=[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],b9=[[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]],c9=[[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]],d9=[[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 Y8(Z8,b9,!1);var e9=new Y8(Z8,c9,!0);new Y8($8,b9,!1);var f9=new Y8($8,c9,!0); new Y8([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],b9,!1); new Y8([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 Y8(Z8,[[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 Y8(Z8,d9,!1);new Y8(Z8,d9,!1);new Y8(a9,[[112,97,108,46,106,115]],!1);new Y8(a9,[[99,97,115,116,95,112,97,108,46,106,115]],!1);new Y8(a9,[[99,116,118,95,112,97,108,46,106,115]],!1);function g9(){var a=[e9,f9];if(a.some(function(c){return c.match(lf().location.href)}))return!0;var b=h9(a,cf(document,"script"));b==null&&document.querySelectorAll&&(b=h9(a,document.querySelectorAll("script")));return b!=null} function h9(a,b){for(var c={},d=0;d0&&Ta()>this.C?(this.j="failed",t9(this)):s9(this);break;case "loaded":u9(this);break;case "failed":this.C>0&&Ta()>this.C?t9(this):(this.j="loading",s9(this))}}; var u9=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)},t9=function(a){u9(a);if(a.g!=null){var b;(b=a.l)==null||b.oa(a.g,"gpt",a.D);a.g=null}a.A=[]};q9.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 v9=ka(["https://securepubads.g.doubleclick.net/pagead/js/car.js"]),w9=ka(["https://securepubads.g.doubleclick.net/pagead/js/cocar.js"]);Ue(v9);var x9=Ue(w9);function y9(a){for(var b=[],c=0;c<8;++c){var d=new D8(7,"","https://pagead2.googlesyndication.com/pagead/ping",function(f){b.push({url:f})}),e=Dk(Cv(Bv(new Av,a),c),3,1);d.B(e)}return b} function z9(a){var b,c,d;z(function(e){if(e.g==1)return b=lf(),b.sharedStorage?y(e,b.sharedStorage.createWorklet(x9.toString(),{dataOrigin:"script-origin"}),2):e.return();if(e.g!=3)return c=e.j,y(e,c.selectURL("ps_caus",y9(a),{resolveToConfig:!0}),3);if(d=e.j){var f=b.document.body,g=document.createElement("fencedframe");g.id="ps_caff";g.name="ps_caff";g.mode="opaque-ads";g.config=d;Qn(g,"border","0");f.appendChild(g)}e.g=0})};function A9(a){(new GW(FW())).g=function(b,c){b.method==="identifyServiceWindow"&&a(c)}}gD("OmidSessionClient.listenForServiceWindow",A9);function B9(a){kX().l(a)} var E9=function(){N.call(this);this.g=null;this.o=!1;if(!g9())throw Error("IMA SDK is either not loaded from a google domain or is not a supported version.");this.j=new gH(this);M(this,this.j);this.Rc=C9();this.l=new Map;this.l.set("*",this.Rc);this.A=D9();var a=new G8;H8(a,this.A);this.B=new O8(a);this.j.listen(lf().document.body,"click dblclick mouseup mouseover mouseout mousemove selectstart mousedown".split(" "),this.D);"ontouchstart"in document&&this.j.listen(lf().document.body,["touchstart", "touchend","touchmove","touchcancel"],this.F);this.j.listen(this.Rc,"omid",function(b){b.messageType==="iframeFailed"&&kX().D()});A9(B9)};w(E9,N);E9.prototype.ng=function(){try{return ez(new O(lf().location.href),"gdpr")==="1"}catch(a){return!1}};var r8=function(){var a=new kR;a.mimeTypes=dR();return a};E9.prototype.xc=function(a){a=(a===void 0?null:a)||"*";var b=this.l.get(a);if(b==null){b=new A0(lf().location.hash.slice(1),a);b.B=!0;var c=F9(this);c&&(b.l(c),b.connect());this.l.set(a,b)}return b}; var B8=function(){return z(function(a){return a.return()})};E9.prototype.yi=function(a,b){var c=F(uQ().j);if(Xf(c,"google_console")||Xf(c,"google_force_console")||Xf(c,"googfc")){if(!this.g){c=this.g=new q9(this.A);var d;(d=c.l)!=null&&iH(d,b,"adError",c.B,!1,c)}b=this.g;b.K||(r9(b,"version",{type:"HTML5",version:"3.657.0"}),b.K=!0);r9(this.g,"ad_request",{adTagUrl:a.adTagUrl,adType:"Deprecated"})}};var C9=function(){var a=new A0(lf().location.hash.slice(1),"*");a.B=!0;return a}; E9.prototype.contentComplete=function(){}; var F9=function(a){var b=null;a.l.forEach(function(c){c=c.g;c!=null&&(b=c)});return b},A8=function(a,b){a.j.listen(b,"adsLoaded",function(c){var d=c.g;if(!(d instanceof FR)&&(G9(a,d,c.l.g),qB(RC)&&!a.o)){var e=uQ();c=e.ub;d=c>0;e=VP(e.g);var f=lf();var g=f.isSecureContext;var h=f.document;h=h===void 0?f.document:h;g=!!(g&&"sharedStorage"in f&&f.sharedStorage&&pH("shared-storage",h));var k;f=!((k=f.sharedStorage)==null||!k.createWorklet);k=e||!g||!d||!f;RQ().report(204,{enabled:!k,isIdless:e,isSharedStorageEnabled:g, isCreateWorkletApiEnabled:f,isValidPVSID:d});if(!k)try{z9(c),a.o=!0}catch(n){var m;RQ().report(205,{message:(m=n)==null?void 0:m.message},!0)}}});a.j.listen(b,"adBreakFetched",function(c){G9(a,c.o,c.g.g)})},G9=function(a,b,c){var d=VP(uQ().g);a=a.xc(c);c={};b=b.filter(function(k){return k instanceof PT});var e=H9(b);if(e){var f;uQ().ba=(f=e.getValue())!=null?f:null;c.eoidCookie=bl(e)}if(!d){if(d=I9(b,!1)){var g;uQ().M=(g=d.getValue())!=null?g:null;c.gfpCookie=bl(d)}if(g=I9(b,!0)){var h;uQ().ha=(h= g.getValue())!=null?h:null;c.gfpCookieV2=bl(g)}c.encryptedSignalBidderIds=J9(b)}mR(a,"adsLoader","cookieUpdate",c)},H9=function(a){return(a=a.find(function(b){return xU(b)!=null}))?xU(a):null},I9=function(a,b){var c=VP(uQ().g);return!EP.isCookiesEnabled()||c?null:(a=a.find(function(d){return zU(d,b)!=null}))?zU(a,b):null},J9=function(a){return a.map(function(b){for(var c=[];b;){var d=VT(b,"esp");d instanceof HT&&(c=[].concat(v(c),v(IT(d))));b=b.Y}return c}).flat()},D9=function(){var a=lf();a=new X8([a.top, a.parent],lf().location.hash.slice(1),"*");a.connect();return a};E9.prototype.D=function(a){mR(this.Rc,"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(;d