// Copyright 2011 Google Inc. All Rights Reserved. (function(){var m,aa=function(a){var b=0;return function(){return b>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};return e}); fa("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c0&&c>0;)if(d[--c]!=b[--e])return!1;return e<=0}});fa("Array.prototype.find",function(a){return a?a:function(b,c){a:{var d=this;d instanceof String&&(d=String(d));for(var e=d.length,f=0;f=f}});fa("Number.isFinite",function(a){return a?a:function(b){return typeof b!=="number"?!1:!isNaN(b)&&b!==Infinity&&b!==-Infinity}}); fa("String.prototype.repeat",function(a){return a?a:function(b){var c=Ga(this,null,"repeat");if(b<0||b>1342177279)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});fa("Object.entries",function(a){return a?a:function(b){var c=[],d;for(d in b)sa(b,d)&&c.push([d,b[d]]);return c}}); fa("Array.from",function(a){return a?a:function(b,c,d){c=c!=null?c:function(h){return h};var e=[],f=typeof Symbol!="undefined"&&Symbol.iterator&&b[Symbol.iterator];if(typeof f=="function"){b=f.call(b);for(var g=0;!(f=b.next()).done;)e.push(c.call(d,f.value,g++))}else for(f=b.length,g=0;g0&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}});fa("Math.sign",function(a){return a?a:function(b){b=Number(b);return b===0||isNaN(b)?b:b>0?1:-1}}); fa("Array.prototype.flat",function(a){return a?a:function(b){b=b===void 0?1:b;var c=[];Array.prototype.forEach.call(this,function(d){Array.isArray(d)&&b>0?(d=Array.prototype.flat.call(d,b-1),c.push.apply(c,d)):c.push(d)});return c}});fa("Promise.allSettled",function(a){function b(d){return{status:"fulfilled",value:d}}function c(d){return{status:"rejected",reason:d}}return a?a:function(d){var e=this;d=Array.from(d,function(f){return e.resolve(f).then(b,c)});return e.all(d)}}); fa("Number.parseInt",function(a){return a||parseInt});/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var Ia=Ia||{},B=this||self,Ja=function(a,b,c){a=a.split(".");c=c||B;for(var d;a.length&&(d=a.shift());)a.length||b===void 0?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b},La=function(a){var b=Ka("CLOSURE_FLAGS");a=b&&b[a];return a!=null?a:!1},Ka=function(a){a=a.split(".");for(var b=B,c=0;c>>0),Qa=0,Ra=function(a,b,c){return a.call.apply(a.bind,arguments)},Sa=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)}},Ta=function(a,b,c){Ta= Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Ra:Sa;return Ta.apply(null,arguments)},Ua=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)}},Va=function(){return Date.now()},Wa=function(a){return a},Xa=function(a,b){function c(){}c.prototype=b.prototype;a.wc=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Er=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 cb=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 lb(a,b){return $a(a,b)>=0} function nb(a,b){b=$a(a,b);var c;(c=b>=0)&&ob(a,b);return c}function ob(a,b){return Array.prototype.splice.call(a,b,1).length==1}function pb(a,b){var c=0;bb(a,function(d,e){b.call(void 0,d,e,a)&&ob(a,e)&&c++})}function qb(a){return Array.prototype.concat.apply([],arguments)}function rb(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;db?1:a=.3:this.ra>=.5};var Db={Sp:0,Zp:1},Eb={668123728:0,668123729:1},Fb={44731964:0,44731965:1},Gb={NONE:0,Jq:1,eq:2},Hb={480596784:0,480596785:1,21063355:2};function Ib(a,b,c){for(var d in a)b.call(c,a[d],d,a)}function Jb(a,b){var c={},d;for(d in a)b.call(void 0,a[d],d,a)&&(c[d]=a[d]);return c}function Kb(a){var b=Lb,c;for(c in b)if(!a.call(void 0,b[c],c,b))return!1;return!0}function Mb(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b}function Nb(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b}function Ob(a,b){var c=Na(b),d=c?b:arguments;for(c=c?0:1;c0&&(b[e]=d)},a);return b},mc=function(a){a=lc(a);var b=[];Ib(a,function(c,d){d in Object.prototype||typeof c!="undefined"&& b.push([d,":",c].join(""))});return b},oc=function(a){var b=nc().ga;b.l&&ab(Mb(b.g),function(c){return bc(c,a)})};var pc=function(a){hc(a,"od",zb);ac(hc(a,"opac",Db));ac(hc(a,"sbeos",Db));ac(hc(a,"prf",Db));ac(hc(a,"mwt",Db));hc(a,"iogeo",Db)};var qc=document,C=window;var rc=La(610401301),sc=La(748402147);function tc(a,b){var c=a.length-b.length;return c>=0&&a.indexOf(b,c)==c}function F(a){return/^[\s\xa0]*$/.test(a)}var uc=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},vc=/&/g,wc=//g,yc=/"/g,zc=/'/g,Ac=/\x00/g,Bc=/[\x00&<>"']/;function Cc(a,b){return a.indexOf(b)!=-1}function Dc(a,b){return Cc(a.toLowerCase(),b.toLowerCase())} function Ec(a,b){var c=0;a=uc(String(a)).split(".");b=uc(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;c==0&&eb?1:0};function Gc(){var a=B.navigator;return a&&(a=a.userAgent)?a:""}var Hc,Ic=B.navigator;Hc=Ic?Ic.userAgentData||null:null;function Jc(a){if(!rc||!Hc)return!1;for(var b=0;b0:!1}function Mc(){return Lc()?!1:Kc("Opera")}function Nc(){return Lc()?!1:Kc("Trident")||Kc("MSIE")}function Oc(){return Lc()?Jc("Microsoft Edge"):Kc("Edg/")}function Pc(){return Kc("Firefox")||Kc("FxiOS")}function Qc(){return Kc("Safari")&&!(Rc()||(Lc()?0:Kc("Coast"))||Mc()||(Lc()?0:Kc("Edge"))||Oc()||(Lc()?Jc("Opera"):Kc("OPR"))||Pc()||Kc("Silk")||Kc("Android"))} function Rc(){return Lc()?Jc("Chromium"):(Kc("Chrome")||Kc("CriOS"))&&!(Lc()?0:Kc("Edge"))||Kc("Silk")}function Sc(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 Tc(a){var b=Gc();if(a==="Internet Explorer"){if(Nc())if((a=/rv: *([\d\.]*)/.exec(b))&&a[1])b=a[1];else{a="";var c=/MSIE +([\d\.]+)/.exec(b);if(c&&c[1])if(b=/Trident\/(\d.\d)/.exec(b),c[1]=="7.0")if(b&&b[1])switch(b[1]){case "4.0":a="8.0";break;case "5.0":a="9.0";break;case "6.0":a="10.0";break;case "7.0":a="11.0"}else a="7.0";else a=c[1];b=a}else b="";return b}var d=RegExp("([A-Z][\\w ]+)/([^\\s]+)\\s*(?:\\((.*?)\\))?","g");c=[];for(var e;e=d.exec(b);)c.push([e[1],e[2],e[3]||void 0]);b=Sc(c); switch(a){case "Opera":if(Mc())return b(["Version","Opera"]);if(Lc()?Jc("Opera"):Kc("OPR"))return b(["OPR"]);break;case "Microsoft Edge":if(Lc()?0:Kc("Edge"))return b(["Edge"]);if(Oc())return b(["Edg"]);break;case "Chromium":if(Rc())return b(["Chrome","CriOS","HeadlessChrome"])}return a==="Firefox"&&Pc()||a==="Safari"&&Qc()||a==="Android Browser"&&Kc("Android")&&!(Rc()||Pc()||Mc()||Kc("Silk"))||a==="Silk"&&Kc("Silk")?(b=c[2])&&b[1]||"":""} function Uc(a){if(Lc()&&a!=="Silk"){var b=Hc.brands.find(function(c){return c.brand===a});if(!b||!b.version)return NaN;b=b.version.split(".")}else{b=Tc(a);if(b==="")return NaN;b=b.split(".")}return b.length===0?NaN:Number(b[0])};/* Copyright Google LLC SPDX-License-Identifier: Apache-2.0 */ function Vc(a){return{valueOf:a}.valueOf()};var Wc=globalThis.trustedTypes,Xc;function Yc(){var a=null;if(!Wc)return a;try{var b=function(c){return c};a=Wc.createPolicy("goog#html",{createHTML:b,createScript:b,createScriptURL:b})}catch(c){}return a}function Zc(){Xc===void 0&&(Xc=Yc());return Xc};var $c=function(a){this.g=a};$c.prototype.toString=function(){return this.g+""};function ad(a){var b=Zc();a=b?b.createScriptURL(a):a;return new $c(a)}function bd(a){if(a instanceof $c)return a.g;throw Error("");};var cd=function(a){this.g=a};cd.prototype.toString=function(){return this.g};var dd=new cd("about:invalid#zClosurez");function ed(a){return a instanceof cd}function fd(a){if(ed(a))return a.g;throw Error("");};var gd=function(a){this.cj=a};function id(a){return new gd(function(b){return b.substr(0,a.length+1).toLowerCase()===a+":"})}var jd=[id("data"),id("http"),id("https"),id("mailto"),id("ftp"),new gd(function(a){return/^[^:]*([/?#]|$)/.test(a)})];function kd(a,b){b=b===void 0?jd:b;if(ed(a))return a;for(var c=0;c")!=-1&&(a=a.replace(xc,">")),a.indexOf('"')!=-1&&(a=a.replace(yc,""")),a.indexOf("'")!=-1&&(a=a.replace(zc,"'")),a.indexOf("\x00")!=-1&&(a=a.replace(Ac,"�")));return a},Fd=function(a){return Cc(a,"&")?"document"in B?Dd(a):Ed(a):a},Dd=function(a){var b={"&":"&","<":"<",">":">", """:'"'};var c=B.document.createElement("div");return a.replace(Gd,function(d,e){var f=b[d];if(f)return f;e.charAt(0)=="#"&&(e=Number("0"+e.slice(1)),isNaN(e)||(f=String.fromCharCode(e)));f||(zd(c,sd(d+" ")),f=c.firstChild.nodeValue.slice(0,-1));return b[d]=f})},Ed=function(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:return c.charAt(0)!="#"||(c=Number("0"+c.slice(1)),isNaN(c))?b:String.fromCharCode(c)}})}, Gd=/&([^;\s<&]+);?/g,Hd=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a},Id=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},H=function(a){return a==null?"":String(a)},Jd=function(){return Math.floor(Math.random()*2147483648).toString(36)+Math.abs(Math.floor(Math.random()*2147483648)^Va()).toString(36)},Kd=Math.random()*2147483648|0,Ld=function(a){var b=Number(a);return b==0&&F(a)?NaN:b},Md=function(a){return String(a).replace(/\-([a-z])/g, function(b,c){return c.toUpperCase()})},Nd=function(){return"googleAvInapp".replace(/([A-Z])/g,"-$1").toLowerCase()},Od=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})},Pd=function(a){isFinite(a)&&(a=String(a));return typeof a==="string"?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN};function Qd(){return rc?!!Hc&&!!Hc.platform:!1}function Rd(){return Kc("iPhone")&&!Kc("iPod")&&!Kc("iPad")};var Sd=function(a){Sd[" "](a);return a};Sd[" "]=function(){};var Td=function(a,b){try{return Sd(a[b]),!0}catch(c){}return!1};var Ud=Nc(),Vd=Kc("Gecko")&&!(Dc(Gc(),"WebKit")&&!Kc("Edge"))&&!(Kc("Trident")||Kc("MSIE"))&&!Kc("Edge"),Wd=Dc(Gc(),"WebKit")&&!Kc("Edge"),Xd=Wd&&Kc("Mobile"),Yd=Qd()?Hc.platform==="macOS":Kc("Macintosh"),Zd=Qd()?Hc.platform==="Windows":Kc("Windows"),$d=Qd()?Hc.platform==="Android":Kc("Android"),ae=Rd(),be=Kc("iPad"),ce=Kc("iPod"),de=Rd()||Kc("iPad")||Kc("iPod");var ee=Qc()&&!(Rd()||Kc("iPad")||Kc("iPod"));var fe=!Ud&&!Qc();var ge=function(a,b){this.x=a!==void 0?a:0;this.y=b!==void 0?b:0};m=ge.prototype;m.clone=function(){return new ge(this.x,this.y)};m.equals=function(a){return a instanceof ge&&(this==a?!0:this&&a?this.x==a.x&&this.y==a.y:!1)};m.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};m.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};m.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this}; m.scale=function(a,b){this.x*=a;this.y*=typeof b==="number"?b:a;return this};var he=function(a,b){this.width=a;this.height=b};m=he.prototype;m.clone=function(){return new he(this.width,this.height)};m.aspectRatio=function(){return this.width/this.height};m.isEmpty=function(){return!(this.width*this.height)};m.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};m.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this}; m.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};m.scale=function(a,b){this.width*=a;this.height*=typeof b==="number"?b:a;return this};function ie(a){if(a instanceof rd)return a;a=String(a).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'");return sd(a)}function je(a){return ke(a)}function ke(a){var b=ie("");return sd(a.map(function(c){return td(ie(c))}).join(td(b).toString()))} var le=/^[a-z][a-z\d-]*$/i,me="APPLET BASE EMBED IFRAME LINK MATH META OBJECT SCRIPT STYLE SVG TEMPLATE".split(" "),ne="AREA BR COL COMMAND HR IMG INPUT KEYGEN PARAM SOURCE TRACK WBR".split(" "),oe=["action","formaction","href"]; function pe(a){var b;if(!le.test("div"))throw Error("");if(me.indexOf("DIV")!==-1)throw Error("");var c="":(a=je(b.map(function(d){return d instanceof rd?d:ie(String(d))})),c+=">"+a.toString()+"");return sd(c)} function qe(a){for(var b="",c=Object.keys(a),d=0;d")+1,c.lastIndexOf("2&&Ue(a,d,b,2);return d},Ue=function(a,b,c,d){function e(h){h&&b.appendChild(typeof h=== "string"?a.createTextNode(h):h)}for(;d0)e(f);else{a:{if(f&&typeof f.length=="number"){if(Oa(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}ab(g?rb(f):f,e)}}},Te=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)},Ve=function(a,b){Ue(He(a),a,arguments,1)},We=function(a){for(var b;b=a.firstChild;)a.removeChild(b)}, Xe=function(a,b){a.insertBefore(b,a.childNodes[0]||null)},Ye=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):null},Ze=function(a){return a.children!=void 0?a.children:Array.prototype.filter.call(a.childNodes,function(b){return b.nodeType==1})},$e=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},He=function(a){return a.nodeType== 9?a:a.ownerDocument||a.document},af=function(a,b){if("textContent"in a)a.textContent=b;else if(a.nodeType==3)a.data=String(b);else if(a.firstChild&&a.firstChild.nodeType==3){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=String(b)}else We(a),a.appendChild(He(a).createTextNode(String(b)))},bf=function(a){if("outerHTML"in a)return a.outerHTML;var b=Te(He(a),"DIV");b.appendChild(a.cloneNode(!0));return b.innerHTML},cf={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},df={IMG:" ", BR:"\n"},ff=function(a){var b=[];ef(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},ef=function(a,b,c){if(!(a.nodeName in cf))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 df)b.push(df[a.nodeName]);else for(a=a.firstChild;a;)ef(a,b,c),a=a.nextSibling},gf=function(a,b){a&&(a=a.parentNode);for(var c=0;a;){if(b(a))return a; a=a.parentNode;c++}return null},Ge=function(a){this.g=a||B.document||document};Ge.prototype.va=function(){return Je(this.g)};Ge.prototype.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};Ge.prototype.j=function(a,b,c){return Re(this.g,arguments)};var hf=function(a){var b=a.g;a=Pe(b);b=b.defaultView;return new ge(b.pageXOffset||a.scrollLeft,b.pageYOffset||a.scrollTop)};Ge.prototype.appendChild=function(a,b){a.appendChild(b)};Ge.prototype.append=Ve; Ge.prototype.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};Ge.prototype.contains=$e;var jf=function(){this.g=this.Od=null};var kf=function(a,b){this.j=(a===void 0?0:a)||0;this.g=(b===void 0?"":b)||""};kf.prototype.cj=function(){return!!this.j||!!this.g};kf.prototype.toString=function(){return this.j+(this.g?"-":"")+this.g};kf.prototype.matches=function(a){return this.g||a.g?this.g==a.g:this.j||a.j?this.j==a.j:!1};var lf=function(){};lf.prototype.now=function(){return 0};lf.prototype.j=function(){return 0};lf.prototype.l=function(){return 0};lf.prototype.g=function(){return 0};var nf=function(){if(!mf())throw Error();};q(nf,lf);var mf=function(){return!(!C||!C.performance)};nf.prototype.now=function(){return mf()&&C.performance.now?C.performance.now():lf.prototype.now.call(this)};nf.prototype.j=function(){return mf()&&C.performance.memory?C.performance.memory.totalJSHeapSize||0:lf.prototype.j.call(this)};nf.prototype.l=function(){return mf()&&C.performance.memory?C.performance.memory.usedJSHeapSize||0:lf.prototype.l.call(this)}; nf.prototype.g=function(){return mf()&&C.performance.memory?C.performance.memory.jsHeapSizeLimit||0:lf.prototype.g.call(this)};function of(a){a=a&&a.toString&&a.toString();return typeof a==="string"&&Cc(a,"[native code]")};var pf=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 qf=function(){},rf=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}},sf=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 tf(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}m=tf.prototype;m.getWidth=function(){return this.right-this.left};m.getHeight=function(){return this.bottom-this.top};m.clone=function(){return new tf(this.top,this.right,this.bottom,this.left)};m.contains=function(a){return this&&a?a instanceof tf?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}; m.expand=function(a,b,c,d){Oa(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 uf=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};tf.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}; tf.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};tf.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 vf=function(a,b,c){b instanceof ge?(a.left+=b.x,a.right+=b.x,a.top+=b.y,a.bottom+=b.y):(a.left+=b,a.right+=b,typeof c==="number"&&(a.top+=c,a.bottom+=c));return a};tf.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 wf=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};wf.prototype.clone=function(){return new wf(this.left,this.top,this.width,this.height)};var xf=function(a){return new tf(a.top,a.left+a.width,a.top+a.height,a.left)},yf=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 wf(c,e,d-c,a-e)}return null};m=wf.prototype; m.contains=function(a){return a instanceof ge?a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height:this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height};m.getSize=function(){return new he(this.width,this.height)};m.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}; m.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};m.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};m.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 Af=function(a,b,c){if(typeof b==="string")(b=zf(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=zf(c,d);f&&(c.style[f]=e)}},Bf={},zf=function(a,b){var c=Bf[b];if(!c){var d=Md(b);c=d;a.style[d]===void 0&&(d=(Wd?"Webkit":Vd?"Moz":null)+Od(d),a.style[d]!==void 0&&(c=d));Bf[b]=c}return c},Cf=function(a,b){var c=He(a);return c.defaultView&&c.defaultView.getComputedStyle&&(a=c.defaultView.getComputedStyle(a,null))?a[b]||a.getPropertyValue(b)||"":""},Df=function(a,b){return Cf(a,b)||(a.currentStyle? a.currentStyle[b]:null)||a.style&&a.style[b]},Ef=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},Ff=function(a){var b=He(a),c=Df(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=Df(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},Gf= function(a){var b=He(a),c=new ge(0,0);if(a==(b?He(b):document).documentElement)return c;a=Ef(a);b=hf(Ie(b));c.x=a.left+b.x;c.y=a.top+b.y;return c},If=function(a,b){var c=new ge(0,0),d=Qe(He(a));if(!Td(d,"parent"))return c;do{var e=d==b?Gf(a):Hf(a);c.x+=e.x;c.y+=e.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c},Hf=function(a){a=Ef(a);return new ge(a.left,a.top)},Jf=function(a){typeof a=="number"&&(a=Math.round(a)+"px");return a},Lf=function(a){return Kf(a)},Kf=function(a){var b= Mf;if(Df(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},Mf=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=Wd&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Ef(a),new he(a.right-a.left,a.bottom-a.top)):new he(b,c)},Nf=function(a){var b=Gf(a);a=Kf(a);return new wf(b.x,b.y,a.width,a.height)},Of=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+")")},Pf=function(a,b){a.style.display=b?"":"none"};var Qf=rf(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});B.addEventListener("test",null,b)}catch(c){}return a});function Rf(a){return a?a.passive&&Qf()?a:a.capture||!1:!1}function Sf(a,b,c,d){return typeof a.addEventListener==="function"?(a.addEventListener(b,c,Rf(d)),!0):!1}function Tf(a,b,c){typeof a.removeEventListener==="function"&&a.removeEventListener(b,c,Rf())};function Uf(){if(qc.prerendering)return 3;var a;return(a={visible:1,hidden:2,prerender:3,preview:4,unloaded:5,"":0}[qc.visibilityState||qc.webkitVisibilityState||qc.mozVisibilityState||""])!=null?a:0}function Vf(a){var b;a.visibilityState?b="visibilitychange":a.mozVisibilityState?b="mozvisibilitychange":a.webkitVisibilityState&&(b="webkitvisibilitychange");return b};var Wf=function(){};Wf.prototype.isVisible=function(){return Uf()===1};var Xf=function(){return Uf()===0};function Zf(a){a.Mr=!0;return a};var $f=Zf(function(a){return typeof a==="number"}),ag=Zf(function(a){return typeof a==="string"}),bg=Zf(function(a){return typeof a==="boolean"}),cg=Zf(function(a){return!!a&&(typeof a==="object"||typeof a==="function")});function dg(a){return Zf(function(b){if(!cg(b))return!1;for(var c=v(Object.entries(a)),d=c.next();!d.done;d=c.next()){var e=v(d.value);d=e.next().value;e=e.next().value;if(!(d in b)){if(e.lo===!0)continue;return!1}if(!e(b[d]))return!1}return!0})} function eg(a){return fg(Zf(function(b,c){return b===void 0?!0:a(b,c)}))}function fg(a){a.lo=!0;return a};var gg,hg=64;function ig(){try{return gg!=null||(gg=new Uint32Array(64)),hg>=64&&(crypto.getRandomValues(gg),hg=0),gg[hg++]}catch(a){return Math.floor(Math.random()*4294967296)}};function jg(a){var b=window;if(!$f(b.goog_pvsid))try{var c=ig()+(ig()&2097151)*4294967296;Object.defineProperty(b,"goog_pvsid",{value:c,configurable:!1})}catch(d){a.jd({methodName:784,yd:d})}b=Number(b.goog_pvsid);(!b||b<=0)&&a.jd({methodName:784,yd:Error("Invalid correlator, "+b)});return b||-1};var lg=function(){return rc&&Hc?Hc.mobile:!kg()&&(Kc("iPod")||Kc("iPhone")||Kc("Android")||Kc("IEMobile"))},kg=function(){return rc&&Hc?!Hc.mobile&&(Kc("iPad")||Kc("Android")||Kc("Silk")):Kc("iPad")||Kc("Android")&&!Kc("Mobile")||Kc("Silk")};var mg=function(a){try{return!!a&&a.location.href!=null&&Td(a,"foo")}catch(b){return!1}},og=function(a,b){var c=!0;c=c===void 0?!1:c;b=b===void 0?B:b;b=ng(b);for(var d=0;b&&d++<40&&(!c&&!mg(b)||!a(b));)b=ng(b)},ng=function(a){try{var b=a.parent;if(b&&b!=a)return b}catch(c){}return null},pg=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()}},qg=function(a,b){if(a)for(var c in a)Object.prototype.hasOwnProperty.call(a, c)&&b(a[c],c,a)},sg=function(){var a=[];qg(rg,function(b){a.push(b)});return a};function tg(a){var b,c;return(c=(b=/https?:\/\/[^\/]+/.exec(a))==null?void 0:b[0])!=null?c:""} var rg={Cp:"allow-forms",Dp:"allow-modals",Ep:"allow-orientation-lock",Fp:"allow-pointer-lock",Gp:"allow-popups",Hp:"allow-popups-to-escape-sandbox",Ip:"allow-presentation",Jp:"allow-same-origin",Kp:"allow-scripts",Lp:"allow-top-navigation",Mp:"allow-top-navigation-by-user-activation"},ug=rf(function(){return sg()}),vg=function(a){var b=ug();return a.length?cb(b,function(c){return!lb(a,c)}):b},wg=rf(function(){return lg()?2:kg()?1:0}),xg=function(){return jg({jd:function(){}})},yg=function(a,b){b= b===void 0?document:b;return b.createElement(String(a).toLowerCase())},zg=function(a){for(var b=a;a&&a!=a.parent;)a=a.parent,mg(a)&&(b=a);return b};var Ag=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)"),Eg=function(a){a=a||Bg();for(var b=new Cg(B.location.href,!1),c=null,d=a.length-1,e=d;e>=0;--e){var f=a[e];!c&&Ag.test(f.url)&&(c=f);if(f.url&&!f.g){b=f;break}}e=null;f=a.length&&a[d].url;b.depth!==0&&f&&(e=a[d]);return new Dg(b,e,c)},Bg=function(){var a=B,b=[],c=null;do{var d=a;if(mg(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new Cg(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=l.length){e-=l.length;b+=l;c=a.l;break}d=d==null?g:d}}a="";d!=null&&(a=""+c+"trn="+d);return b+ a},Lg=function(a){var b=1,c;for(c in a.j)c.length>b&&(b=c.length);return 3997-b-a.l.length-1};var Ng=function(a,b){this.g=a;this.depth=b},Pg=function(){var a=Bg(),b=Math.max(a.length-1,0),c=Eg(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 Ng([e.url,e.g?2:0],c(e.depth,1)));d&&d!=e&&f.push(new Ng([d.url,2],0));a.url&&a!=e&&f.push(new Ng([a.url,0],c(a.depth,b)));var g=db(f,function(h,k){return f.slice(0,f.length-k)});!a.url||(e||d)&&a!=e||(d=tg(a.url))&&g.push([new Ng([d,1],c(a.depth,b))]);g.push([]);return db(g,function(h){return Og(b,h)})}; function Og(a,b){var c=eb(b,function(e,f){return Math.max(e,f.depth)},-1),d=wb("",c+2);d[0]=a;ab(b,function(e){return d[e.depth+1]=e.g});return d}function Qg(){var a=a===void 0?Pg():a;return a.map(function(b){return Hg(b)})};function Rg(a,b,c,d,e){Sg(a,b,c===void 0?null:c,d===void 0?!1:d,e===void 0?!1:e)}function Sg(a,b,c,d,e){e=e===void 0?!1:e;a.google_image_requests||(a.google_image_requests=[]);var f=yg("IMG",a.document);if(c||d){var g=function(h){c&&c(h);d&&nb(a.google_image_requests,f);Tf(f,"load",g);Tf(f,"error",g)};Sf(f,"load",g);Sf(f,"error",g)}e&&(f.attributionSrc="");f.src=b;a.google_image_requests.push(f)} function Tg(a,b){var c=c===void 0?!1:c;var d="https://pagead2.googlesyndication.com/pagead/gen_204?id="+b;qg(a,function(e,f){if(e||e===0)d+="&"+f+"="+encodeURIComponent(String(e))});Ug(d,c)} function Ug(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)):Rg(c,a,void 0,b,d)};var Zg=function(a){var b="re";if(a.re&&a.hasOwnProperty(b))return a.re;b=new a;return a.re=b};var $g=function(){this.j=new Wf;this.g=mf()?new nf:new lf},bh=function(){ah();var a=C.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&typeof C.setInterval==="function"&&typeof C.clearInterval==="function"&&typeof C.setTimeout==="function"&&typeof C.clearTimeout==="function")};$g.prototype.setInterval=function(a,b){return C.setInterval(a,b)};$g.prototype.clearInterval=function(a){C.clearInterval(a)};$g.prototype.setTimeout=function(a,b){return C.setTimeout(a,b)}; $g.prototype.clearTimeout=function(a){C.clearTimeout(a)};var ch=function(){ah();return Qg()};var dh=function(){},ah=function(){var a=Zg(dh);if(!a.g){if(!C)throw Error("Context has not been set and window is undefined.");a.g=Zg($g)}return a.g};function eh(){throw Error("Invalid UTF8");}function fh(a,b){b=String.fromCharCode.apply(null,b);return a==null?b:a+b}var gh=void 0,hh,ih=typeof TextDecoder!=="undefined",jh,kh=typeof String.prototype.isWellFormed==="function",lh=typeof TextEncoder!=="undefined"; function mh(a){var b=!1;b=b===void 0?!1:b;if(lh){if(b&&(kh?!a.isWellFormed():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(a)))throw Error("Found an unpaired surrogate");a=(jh||(jh=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 nh(a){B.setTimeout(function(){throw a;},0)};var oh=function(a){for(var b=[],c=0,d=0;d255&&(b[c++]=e&255,e>>=8);b[c++]=e}return b},ph=function(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return b.length>1?b:"0"+b}).join("")};var qh={},rh=null,sh=Vd||Wd||!ee&&typeof B.atob=="function",uh=function(a,b){b===void 0&&(b=0);th();b=qh[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++]=""+l+g+h+k}l=0;k=d;switch(a.length-e){case 2:l=a[e+1],k=b[(l&15)<<2]||d;case 1:a=a[e],c[f]=""+b[a>>2]+b[(a&3)<<4|l>>4]+k+d}return c.join("")},wh=function(a){if(sh)return B.atob(a);var b="";vh(a,function(c){b+=String.fromCharCode(c)}); return b},xh=function(a){var b=[];vh(a,function(c){b.push(c)});return b},yh=function(a){var b=a.length,c=b*3/4;c%3?c=Math.floor(c):Cc("=.",a[b-1])&&(c=Cc("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;vh(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d},vh=function(a,b){function c(k){for(;d>4);g!=64&&(b(f<<4&240|g>>2),h!=64&&b(g<<6&192|h))}},th=function(){if(!rh){rh={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));qh[c]=d;for(var e=0;e=b||(d[a]=c+1,a=Error(),Ad(a,"incident"),nh(a))}};var Oh=typeof Symbol==="function"&&typeof Symbol()==="symbol";function Ph(a,b,c){return typeof Symbol==="function"&&typeof Symbol()==="symbol"?(c===void 0?0:c)&&Symbol.for&&a?Symbol.for(a):a!=null?Symbol(a):Symbol():b}var Qh=Ph("jas",void 0,!0),Rh=Ph(void 0,"0di"),Sh=Ph(void 0,"1oa"),Th=Ph(void 0,Symbol()),Uh=Ph(void 0,"0ubs"),Vh=Ph(void 0,"0ubsb"),Wh=Ph(void 0,"0actk"),Xh=Ph("m_m","Pr",!0);var Yh={ho:{value:0,configurable:!0,writable:!0,enumerable:!1}},Zh=Object.defineProperties,$h=Oh?Qh:"ho",ai,bi=[];ci(bi,7);ai=Object.freeze(bi);function di(a,b){Oh||$h in a||Zh(a,Yh);a[$h]|=b}function ci(a,b){Oh||$h in a||Zh(a,Yh);a[$h]=b}function ei(a){if(4&a)return 512&a?512:1024&a?1024:0}function fi(a){di(a,34);return a}function gi(a){di(a,32);return a};function hi(){return typeof BigInt==="function"};var ii={};function ji(a,b){return b===void 0?a.g!==ki&&!!(2&(a.K[$h]|0)):!!(2&b)&&a.g!==ki}var ki={};function li(a,b){if(a!=null)if(typeof a==="string")a=a?new Hh(a,Fh):Jh();else if(a.constructor!==Hh)if(zh&&a!=null&&a instanceof Uint8Array)a=a.length?new Hh(new Uint8Array(a),Fh):Jh();else{if(!b)throw Error();a=void 0}return a}var mi=Object.freeze({}),ni=Object.freeze({}); function si(a,b,c){var d=b&128?0:-1,e=a.length,f;if(f=!!e)f=a[e-1],f=f!=null&&typeof f==="object"&&f.constructor===Object;var g=e+(f?-1:0);for(b=b&128?1:0;b=xi&&a<=yi:a[0]==="-"?zi(a,Ai):zi(a,Bi)}),Ai=Number.MIN_SAFE_INTEGER.toString(),xi=vi?BigInt(Number.MIN_SAFE_INTEGER):void 0,Bi=Number.MAX_SAFE_INTEGER.toString(),yi=vi?BigInt(Number.MAX_SAFE_INTEGER):void 0; function zi(a,b){if(a.length>b.length)return!1;if(a.lengthe)return!1;if(d>>0;Ei=b;Fi=(a-b)/4294967296>>>0}function Ii(a){if(a<0){Hi(0-a);var b=v(Ji(Ei,Fi));a=b.next().value;b=b.next().value;Ei=a>>>0;Fi=b>>>0}else Hi(a)}function Ki(a){var b=Gi||(Gi=new DataView(new ArrayBuffer(8)));b.setFloat32(0,+a,!0);Fi=0;Ei=b.getUint32(0,!0)}function Li(a){var b=Gi||(Gi=new DataView(new ArrayBuffer(8)));b.setFloat64(0,+a,!0);Ei=b.getUint32(0,!0);Fi=b.getUint32(4,!0)} function Mi(a,b){var c=b*4294967296+(a>>>0);return Number.isSafeInteger(c)?c:Ni(a,b)}function Oi(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,a==0&&(b=b+1>>>0));a=Mi(a,b);return typeof a==="number"?c?-a:a:c?"-"+a:a} function Ni(a,b){b>>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else hi()?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+Pi(c)+Pi(a));return c}function Pi(a){a=String(a);return"0000000".slice(a.length)+a} function Qi(a,b){b&2147483648?hi()?a=""+(BigInt(b|0)<>>0)):(b=v(Ji(a,b)),a=b.next().value,b=b.next().value,a="-"+Ni(a,b)):a=Ni(a,b);return a} function Ri(a){if(a.length<16)Ii(Number(a));else if(hi())a=BigInt(a),Ei=Number(a&BigInt(4294967295))>>>0,Fi=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");Fi=Ei=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)),Fi*=1E6,Ei=Ei*1E6+d,Ei>=4294967296&&(Fi+=Math.trunc(Ei/4294967296),Fi>>>=0,Ei>>>=0);b&&(b=v(Ji(Ei,Fi)),a=b.next().value,b=b.next().value,Ei=a,Fi=b)}}function Ji(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};function Si(a){return Array.prototype.slice.call(a)};var Ti=typeof BigInt==="function"?BigInt.asIntN:void 0,Ui=typeof BigInt==="function"?BigInt.asUintN:void 0,Vi=Number.isSafeInteger,Wi=Number.isFinite,Xi=Math.trunc;function Yi(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 Zi(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)} function $i(a){if(typeof a!=="boolean")throw Error("Expected boolean but got "+Ma(a)+": "+a);return a}function aj(a){if(a==null||typeof a==="boolean")return a;if(typeof a==="number")return!!a}var bj=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/;function cj(a){switch(typeof a){case "bigint":return!0;case "number":return Wi(a);case "string":return bj.test(a);default:return!1}}function dj(a){if(!Wi(a))throw Mh("enum");return a|0}function ej(a){return a==null?a:Wi(a)?a|0:void 0} function fj(a){if(typeof a!=="number")throw Mh("int32");if(!Wi(a))throw Mh("int32");return a|0}function gj(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return Wi(a)?a|0:void 0}function hj(a){if(typeof a!=="number")throw Mh("uint32");if(!Wi(a))throw Mh("uint32");return a>>>0}function ij(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return Wi(a)?a>>>0:void 0} function jj(a){var b=0;b=b===void 0?0:b;if(!cj(a))throw Mh("int64");var c=typeof a;switch(b){case 512:switch(c){case "string":return kj(a);case "bigint":return String(Ti(64,a));default:return lj(a)}case 1024:switch(c){case "string":return mj(a);case "bigint":return wi(Ti(64,a));default:return nj(a)}case 0:switch(c){case "string":return kj(a);case "bigint":return wi(Ti(64,a));default:return oj(a)}default:throw Error("Unknown format requested type for int64");}} function pj(a){if(a[0]==="-")return!1;var b=a.length;return b<20?!0:b===20&&Number(a.substring(0,6))<184467}function qj(a){var b=a.length;return a[0]==="-"?b<20?!0:b===20&&Number(a.substring(0,7))>-922337:b<19?!0:b===19&&Number(a.substring(0,6))<922337}function rj(a){if(a<0){Ii(a);var b=Ni(Ei,Fi);a=Number(b);return Vi(a)?a:b}b=String(a);if(pj(b))return b;Ii(a);return Mi(Ei,Fi)}function sj(a){if(qj(a))return a;Ri(a);return Qi(Ei,Fi)}function oj(a){a=Xi(a);Vi(a)||(Ii(a),a=Oi(Ei,Fi));return a} function lj(a){a=Xi(a);if(Vi(a))a=String(a);else{var b=String(a);qj(b)?a=b:(Ii(a),a=Qi(Ei,Fi))}return a}function kj(a){var b=Xi(Number(a));if(Vi(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return sj(a)}function mj(a){var b=Xi(Number(a));if(Vi(b))return wi(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return hi()?wi(Ti(64,BigInt(a))):wi(sj(a))}function nj(a){return Vi(a)?wi(oj(a)):wi(lj(a))} function tj(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String(Ti(64,a));if(cj(a)){if(b==="string")return kj(a);if(b==="number")return oj(a)}}function uj(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String(Ui(64,a));if(cj(a)){if(b==="string")return b=Xi(Number(a)),Vi(b)&&b>=0?a=String(b):(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),pj(a)||(Ri(a),a=Ni(Ei,Fi))),a;if(b==="number")return a=Xi(a),a>=0&&Vi(a)?a:rj(a)}} function vj(a){if(a==null||typeof a=="string"||a instanceof Hh)return a}function wj(a){if(typeof a!=="string")throw Error();return a}function xj(a){if(a!=null&&typeof a!=="string")throw Error();return a}function yj(a){return a==null||typeof a==="string"?a:void 0}function zj(a,b,c,d){if(a!=null&&a[Xh]===ii)return a;if(!Array.isArray(a))return c?d&2?((a=b[Rh])||(a=new b,fi(a.K),a=b[Rh]=a),b=a):b=new b:b=void 0,b;c=a[$h]|0;d=c|d&32|d&2;d!==c&&ci(a,d);return new b(a)};function Aj(a){return a};function Bj(a){var b=Wa(Th);return b?a[b]:void 0}var Cj=function(){},Dj=function(a,b){for(var c in a)!isNaN(c)&&b(a,+c,a[c])},Ej=function(a){var b=new Cj;Dj(a,function(c,d,e){b[d]=Si(e)});b.g=a.g;return b};function Fj(a,b){b<100||Nh(Uh,1)};function Gj(a,b,c,d){var e=d!==void 0;d=!!d;var f=Wa(Th),g;!e&&Oh&&f&&(g=a[f])&&Dj(g,Fj);f=[];var h=a.length;g=4294967295;var k=!1,l=!!(b&64),n=l?b&128?0:-1:void 0;if(!(b&1)){var p=h&&a[h-1];p!=null&&typeof p==="object"&&p.constructor===Object?(h--,g=h):p=void 0;if(l&&!(b&128)&&!e){k=!0;var r;g=((r=Hj)!=null?r:Aj)(g-n,n,a,p,void 0)+n}}b=void 0;for(r=0;r=g){var u=r-n,A=void 0;((A=b)!=null?A:b={})[u]=t}else f[r]=t}if(p)for(var w in p)h=p[w],h!= null&&(h=c(h,d))!=null&&(r=+w,t=void 0,l&&!Number.isNaN(r)&&(t=r+n)0?void 0:a===0?Lj||(Lj=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}}function Nj(a,b,c){return a=I(a,b[0],b[1],c?1:2)} function I(a,b,c,d){d=d===void 0?0:d;if(a==null){var e=32;c?(a=[c],e|=128):a=[];b&&(e=e&-8380417|(b&1023)<<13)}else{if(!Array.isArray(a))throw Error("narr");e=a[$h]|0;if(sc&&1&e)throw Error("rfarr");2048&e&&!(2&e)&&Oj();if(e&256)throw Error("farr");if(e&64)return d!==0||e&2048||ci(a,e|2048),a;if(c&&(e|=128,c!==a[0]))throw Error("mid");a:{c=a;e|=64;var f=c.length;if(f){var g=f-1,h=c[g];if(h!=null&&typeof h==="object"&&h.constructor===Object){b=e&128?0:-1;g-=b;if(g>=1024)throw Error("pvtlmt");for(var k in h)f= +k,f1024)throw Error("spvt");e=e&-8380417|(k&1023)<<13}}}e|=64;d===0&&(e|=2048);ci(a,e);return a}function Oj(){if(sc)throw Error("carr");Nh(Wh,5)};function Pj(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[$h]|0;a.length===0&&c&1?a=void 0:c&2||(!b||4096&c||16&c?a=Qj(a,c,!1,b&&!(c&16)):(di(a,34),c&4&&Object.freeze(a)));return a}if(a!=null&&a[Xh]===ii)return b=a.K,c=b[$h]|0,ji(a,c)?a:Rj(a,b,c)?Sj(a,b):Qj(b,c);if(a instanceof Hh)return a}function Sj(a,b,c){a=new a.constructor(b);c&&(a.g=ki);a.l=ki;return a}function Qj(a,b,c,d){d!=null||(d=!!(34&b));a=Gj(a,b,Pj,d);d=32;c&&(d|=2);b=b&8380609|d;ci(a,b);return a} function Tj(a){var b=a.K,c=b[$h]|0;return ji(a,c)?Rj(a,b,c)?Sj(a,b,!0):new a.constructor(Qj(b,c,!1)):a}function Uj(a){if(a.g!==ki)return!1;var b=a.K;b=Qj(b,b[$h]|0);di(b,2048);a.K=b;a.g=void 0;a.l=void 0;return!0}function Vj(a){if(!Uj(a)&&ji(a,a.K[$h]|0))throw Error();}function Wj(a,b){b===void 0&&(b=a[$h]|0);b&32&&!(b&4096)&&ci(a,b|4096)}function Rj(a,b,c){return c&2?!0:c&32&&!(c&4096)?(ci(b,c|2),a.g=ki,!0):!1};var Xj=wi(0),Yj={},ak=function(a,b,c,d,e){b=Zj(a.K,b,c,e);if(b!==null||d&&a.l!==ki)return b},Zj=function(a,b,c,d){if(b===-1)return null;var e=b+(c?0:-1),f=a.length-1;if(!(f<1+(c?0:-1))){if(e>=f){var g=a[f];if(g!=null&&typeof g==="object"&&g.constructor===Object){c=g[b];var h=!0}else if(e===f)c=g;else return}else c=a[e];if(d&&c!=null){d=d(c);if(d==null)return d;if(!Object.is(d,c))return h?g[b]=d:a[e]=d,d}return c}},ck=function(a,b,c){Vj(a);var d=a.K;bk(d,d[$h]|0,b,c);return a}; function bk(a,b,c,d,e){var f=c+(e?0:-1),g=a.length-1;if(g>=1+(e?0:-1)&&f>=g){var h=a[g];if(h!=null&&typeof h==="object"&&h.constructor===Object)return h[c]=d,b}if(f<=g)return a[f]=d,b;if(d!==void 0){var k;g=((k=b)!=null?k:b=a[$h]|0)>>13&1023||536870912;c>=g?d!=null&&(f={},a[g+(e?0:-1)]=(f[c]=d,f)):a[f]=d}return b} var fk=function(a){a=a.K;return dk(a,a[$h]|0,ek,1)!==void 0},hk=function(a,b,c,d){var e=a.K;return dk(e,e[$h]|0,b,gk(a,d,c))!==void 0},jk=function(a,b){return ik(a,a[$h]|0,b)},kk=function(a){return a===mi?2:4}; function lk(a,b,c,d,e){var f=a.K,g=f[$h]|0;d=ji(a,g)?1:d;e=!!e||d===3;d===2&&Uj(a)&&(f=a.K,g=f[$h]|0);a=mk(f,b);var h=a===ai?7:a[$h]|0,k=nk(h,g);var l=4&k?!1:!0;if(l){4&k&&(a=Si(a),h=0,k=ok(k,g),g=bk(f,g,b,a));for(var n=0,p=0;n "+a)};var ml=function(a,b,c){this.buffer=a;if(c&&!b)throw Error();this.g=b}; function nl(a,b){if(typeof a==="string")return new ml(Eh(a),b);if(Array.isArray(a))return new ml(new Uint8Array(a),b);if(a.constructor===Uint8Array)return new ml(a,!1);if(a.constructor===ArrayBuffer)return a=new Uint8Array(a),new ml(a,!1);if(a.constructor===Hh)return b=Kh(a)||new Uint8Array(0),new ml(b,!0,a);if(a instanceof Uint8Array)return a=a.constructor===Uint8Array?a:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),new ml(a,!1);throw Error();};var ol=function(a,b,c,d){this.l=null;this.A=!1;this.g=this.j=this.o=0;this.init(a,b,c,d)};ol.prototype.init=function(a,b,c,d){var e=d===void 0?{}:d;d=e.Ag===void 0?!1:e.Ag;e=e.Vh===void 0?!1:e.Vh;this.Ag=d;this.Vh=e;a&&(a=nl(a,this.Vh),this.l=a.buffer,this.A=a.g,this.o=b||0,this.j=c!==void 0?this.o+c:this.l.length,this.g=this.o)};ol.prototype.clear=function(){this.l=null;this.A=!1;this.g=this.j=this.o=0;this.Ag=!1};ol.prototype.reset=function(){this.g=this.o}; var ql=function(a,b){var c=0,d=0,e=0,f=a.l,g=a.g;do{var h=f[g++];c|=(h&127)<32&&(d|=(h&127)>>4);for(e=3;e<32&&h&128;e+=7)h=f[g++],d|=(h&127)<>>0,d>>>0);throw kl();},pl=function(a,b){a.g=b;if(b>a.j)throw ll(a.j,b);},rl=function(a){var b=a.l,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 kl();pl(a,c);return e},sl=function(a){return rl(a)>>>0},tl=function(a){return ql(a,Oi)},ul=function(a){return ql(a,Qi)},vl=function(a){var b=a.l,c=a.g,d=b[c+0],e=b[c+1],f=b[c+2];b=b[c+3];pl(a,a.g+4);return(d<<0|e<<8|f<<16|b<<24)>>>0},wl=function(a){var b=vl(a);a=(b>>31)*2+1;var c=b>>>23&255;b&=8388607;return c==255?b?NaN:a*Infinity:c==0?a*1.401298464324817E-45*b:a*Math.pow(2,c-150)*(b+8388608)},xl=function(a){var b=vl(a),c=vl(a);a=(c>>31)*2+1;var d=c>>>20&2047;b=4294967296*(c& 1048575)+b;return d==2047?b?NaN:a*Infinity:d==0?a*4.9E-324*b:a*Math.pow(2,d-1075)*(b+4503599627370496)},yl=function(a){for(var b=0,c=a.g,d=c+10,e=a.l;ca.j)throw ll(b,a.j-c);a.g=d;return c},Bl=function(a,b){if(b==0)return Jh();var c=Al(a,b);a.Ag&&a.A?c=a.l.subarray(c,c+b):(a=a.l,b=c+b,c=c===b?new Uint8Array(0): Di?a.slice(c,b):new Uint8Array(a.subarray(c,b)));return c.length==0?Jh():new Hh(c,Fh)},Cl=[],Dl=void 0;var Fl=function(a,b,c,d){if(Cl.length){var e=Cl.pop();e.init(a,b,c,d);a=e}else a=new ol(a,b,c,d);this.j=a;this.l=this.j.g;this.g=this.o=-1;El(this,d)},El=function(a,b){b=b===void 0?{}:b;a.Ei=b.Ei===void 0?!1:b.Ei},Hl=function(a,b,c,d){if(Gl.length){var e=Gl.pop();El(e,d);e.j.init(a,b,c,d);return e}return new Fl(a,b,c,d)},Il=function(a){a.j.clear();a.o=-1;a.g=-1;Gl.length<100&&Gl.push(a)};Fl.prototype.reset=function(){this.j.reset();this.l=this.j.g;this.g=this.o=-1}; var Jl=function(a){var b=a.j;if(b.g==b.j)return!1;a.l=a.j.g;var c=sl(a.j);b=c>>>3;c&=7;if(!(c>=0&&c<=5))throw jl(c,a.l);if(b<1)throw Error("Invalid field number: "+b+" (at position "+a.l+")");a.o=b;a.g=c;return!0},Kl=function(a){switch(a.g){case 0:a.g!=0?Kl(a):yl(a.j);break;case 1:a=a.j;pl(a,a.g+8);break;case 2:if(a.g!=2)Kl(a);else{var b=sl(a.j);a=a.j;pl(a,a.g+b)}break;case 5:a=a.j;pl(a,a.g+4);break;case 3:b=a.o;do{if(!Jl(a))throw Error("Unmatched start-group tag: stream EOF");if(a.g==4){if(a.o!= b)throw Error("Unmatched end-group tag");break}Kl(a)}while(1);break;default:throw jl(a.g,a.l);}},Ll=function(a,b,c){var d=a.j.j,e=sl(a.j),f=a.j.g+e,g=f-d;g<=0&&(a.j.j=f,c(b,a,void 0,void 0,void 0),g=f-a.j.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.j.g=f;a.j.j=d;return b},Ml=function(a){var b=sl(a.j);a=a.j;var c=Al(a,b);a=a.l;if(ih){var d=a,e; (e=hh)||(e=hh=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(l){if(gh===void 0){try{e.decode(new Uint8Array([128]))}catch(n){}try{e.decode(new Uint8Array([97])),gh=!0}catch(n){gh=!1}}!gh&&(hh=void 0);throw l;}}else{f=c;b=f+b;c=[];for(var g=null,h,k;f=b?eh():(k=a[f++],h<194||(k&192)!==128?(f--,eh()):c.push((h&31)<<6|k&63)):h<240?f>=b-1?eh():(k=a[f++],(k&192)!==128||h===224&&k<160||h===237&&k>=160|| ((e=a[f++])&192)!==128?(f--,eh()):c.push((h&15)<<12|(k&63)<<6|e&63)):h<=244?f>=b-2?eh():(k=a[f++],(k&192)!==128||(h<<28)+(k-144)>>30!==0||((e=a[f++])&192)!==128||((d=a[f++])&192)!==128?(f--,eh()):(h=(h&7)<<18|(k&63)<<12|(e&63)<<6|d&63,h-=65536,c.push((h>>10&1023)+55296,(h&1023)+56320))):eh(),c.length>=8192&&(g=fh(g,c),c.length=0);f=fh(g,c)}return f},Nl=function(a){var b=sl(a.j);return Bl(a.j,b)},Ol=function(a,b,c){var d=sl(a.j);for(d=a.j.g+d;a.j.g>>0;this.g=b>>>0},Ql=function(a){a=BigInt.asUintN(64,a);return new Pl(Number(a&BigInt(4294967295)),Number(a>>BigInt(32)))},Sl=function(a){if(!a)return Rl||(Rl=new Pl(0,0));if(!/^\d+$/.test(a))return null;Ri(a);return new Pl(Ei,Fi)},Rl,Tl=function(a,b){this.j=a>>>0;this.g=b>>>0},Ul=function(a){a=BigInt.asUintN(64,a);return new Tl(Number(a&BigInt(4294967295)),Number(a>>BigInt(32)))},Wl=function(a){if(!a)return Vl||(Vl=new Tl(0,0));if(!/^-?\d+$/.test(a))return null;Ri(a); return new Tl(Ei,Fi)},Vl;var Xl=function(){this.g=[]};Xl.prototype.length=function(){return this.g.length};Xl.prototype.end=function(){var a=this.g;this.g=[];return a}; var Yl=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)},Zl=function(a,b){for(;b>127;)a.g.push(b&127|128),b>>>=7;a.g.push(b)},$l=function(a,b){if(b>=0)Zl(a,b);else{for(var c=0;c<9;c++)a.g.push(b&127|128),b>>=7;a.g.push(1)}},am=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 bm=function(){this.l=[];this.j=0;this.g=new Xl},cm=function(a,b){b.length!==0&&(a.l.push(b),a.j+=b.length)},em=function(a,b){dm(a,b,2);b=a.g.end();cm(a,b);b.push(a.j);return b},fm=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++},gm=function(a){cm(a,a.g.end());for(var b=new Uint8Array(a.j),c=a.l,d=c.length,e=0,f=0;f0;){for(var k=0;kc.j)throw ll(e,c.j-d);var f=c.l;d+=f.byteOffset;Dl===void 0&&(Dl=(new Uint16Array((new Uint8Array([1,2])).buffer))[0]==513);if(Dl)for(c.g+=e,c=new Float64Array(f.buffer.slice(d,d+e)),a=0;a-1)return b.apply(null,x(c));try{return a.g=a.l.g.now(),b.apply(null,x(c))}finally{a.o+=a.l.g.now()-a.g,a.g=-1,a.j+=1}}};var qo=function(a,b){this.j=a;this.l=b;this.g=new oo(a)};var ro=function(){this.g={}},so=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 to={Uq:1,Ar:2,Nq:3,1:"POSITION",2:"VISIBILITY",3:"MONITOR_VISIBILITY"};var uo=function(){this.A=void 0;this.P=0;this.B=new kf(0,"");this.l=0;this.L=-1;this.ga=new fc;ac(hc(this.ga,"mv",Gb)).l=Hb===void 0?null:Hb;hc(this.ga,"omid",Db);ac(hc(this.ga,"epoh",Db));ac(hc(this.ga,"epph",Db));ac(hc(this.ga,"umt",Db)).l=Eb===void 0?null:Eb;ac(hc(this.ga,"phel",Db));ac(hc(this.ga,"phell",Db));ac(hc(this.ga,"oseid",to));var a=this.ga;a.g.sloi||(a.g.sloi=new dc);ac(a.g.sloi);hc(this.ga,"mm",Bb);ac(hc(this.ga,"ovms",Ab));ac(hc(this.ga,"xdi",Db));ac(hc(this.ga,"amp",Db));ac(hc(this.ga, "prf",Db));ac(hc(this.ga,"gtx",Db));ac(hc(this.ga,"mvp_lv",Db));ac(hc(this.ga,"ssmol",Db)).l=Fb===void 0?null:Fb;ac(hc(this.ga,"fmd",Db));hc(this.ga,"gen204simple",Db);this.j=new qo(ah(),this.ga);this.C=this.g=this.o=!1;this.flags=new ro}; uo.prototype.Ih=function(a){if(typeof a==="string"&&a.length!=0){var b=this.ga;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)}}}}; uo.prototype.Jh=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}),Go=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.l=Fo()||(c!=null?c:Math.random()2048||this.events.push(a)};var Ho=function(a){a&&Do&&Fo()&&(Do.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),Do.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))}; Go.prototype.start=function(a,b){if(!this.l)return null;a=new Co(a,b,Bo()||Ao());b="goog_"+a.label+"_"+a.uniqueId+"_start";Do&&Fo()&&Do.mark(b);return a};Go.prototype.end=function(a){if(this.l&&typeof a.value==="number"){a.duration=(Bo()||Ao())-a.value;var b="goog_"+a.label+"_"+a.uniqueId+"_end";Do&&Fo()&&Do.mark(b);this.L(a)}};var Io=RegExp("^(?:([^:/?#.]+):)?(?://(?:([^\\\\/?#]*)@)?([^\\\\/?#]*?)(?::([0-9]+))?(?=[\\\\/?#]|$))?([^?#]+)?(?:\\?([^#]*))?(?:#([\\s\\S]*))?$"),Jo=function(a){var b=a.match(Io);a=b[1];var c=b[3];b=b[4];var d="";a&&(d+=a+":");c&&(d=d+"//"+c,b&&(d+=":"+b));return d},Ko=function(a,b){if(a){a=a.split("&");for(var c=0;c=0){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?Bd(e):"")}}},Lo=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},Mo=function(a,b,c,d){for(var e=c.length;(b=a.indexOf(c,b))>=0&&b=0},Po=function(a,b){var c=a.search(No),d=Mo(a, 0,b,c);if(d<0)return null;var e=a.indexOf("&",d);if(e<0||e>c)e=c;d+=b.length+1;return Bd(a.slice(d,e!==-1?e:0))},Qo=/[?&]($|#)/,Ro=function(a,b){for(var c=a.search(No),d=0,e,f=[];(e=Mo(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(Qo,"$1")};var Uo=function(){var a=So;this.C=To;this.A="jserror";this.l=!0;this.j=null;this.B=this.Lc;this.g=a===void 0?null:a;this.o=!1};m=Uo.prototype;m.zj=function(a){this.j=a};m.dl=function(a){this.A=a};m.Aj=function(a){this.l=a};m.gl=function(a){this.o=a};m.ze=function(a,b,c){var d=this;return po(nc().j.g,function(){try{if(d.g&&d.g.l){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{Ho(e),g=d.B(a,new Vo(Wo(h)),void 0,c)}catch(k){d.Lc(217,k)}if(!g)throw h;}return f})()}; m.Kh=function(a,b,c,d){var e=this;return po(nc().j.g,function(){var f=Fa.apply(0,arguments);return e.ze(a,function(){return b.apply(c,f)},d)})}; m.Lc=function(a,b,c,d,e){e=e||this.A;try{var f=new Fg;Kg(f,1,"context",a);xo(b)||(b=new Vo(Wo(b)));b.msg&&Kg(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){}Jg(f,3,[g]);var h=Eg();h.j&&Kg(f,4,"top",h.j.url||"");Jg(f,5,[{url:h.g.url||""},{url:h.g.url?Jo(h.g.url):""}]);vo(this.C,e,f,this.o,c)}catch(k){try{vo(this.C,e,{context:"ecmserr",rctx:a,msg:Wo(k),url:h&&h.g.url},this.o,c)}catch(l){}}return this.l}; var Wo=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},Vo=function(a){wo.call(this,Error(a),{message:a})};q(Vo,wo);var To,Xo,So=new Go(1,window),Yo=function(){C&&typeof C.google_measure_js_timing!="undefined"&&(C.google_measure_js_timing||So.C())};To=new function(){var a="https:";C&&C.location&&C.location.protocol==="http:"&&(a="http:");this.j=a;this.g=.01;this.l=Math.random()};Xo=new Uo;C&&C.document&&(C.document.readyState=="complete"?Yo():So.l&&Sf(C,"load",function(){Yo()})); var Zo=function(a){Xo.zj(function(b){ab(a,function(c){c(b)})})},$o=function(a,b){return Xo.ze(a,b)},ap=function(a,b,c,d){return Xo.Kh(a,b,c,d)},bp=function(a,b,c,d){Xo.Lc(a,b,c,d)};var cp=Date.now(),dp=-1,ep=-1,fp,gp=-1,hp=!1,ip=function(){return Date.now()-cp},jp=function(){var a=nc().A,b=ep>=0?ip()-ep:-1,c=hp?ip()-dp:-1,d=gp>=0?ip()-gp:-1;if(a==947190542)return 100;if(a==79463069)return 200;a=[2E3,4E3];var e=[250,500,1E3];bp(637,Error(),.001);var f=b;c!=-1&&c1500&&d<4E3?500:g};var kp=function(a,b,c){var d=new tf(0,0,0,0);this.time=a;this.volume=null;this.l=b;this.g=d;this.j=c};kp.prototype.equals=function(a,b){return!!a&&(!(b===void 0?0:b)||this.volume==a.volume)&&this.l==a.l&&uf(this.g,a.g)&&!0};var lp=function(a,b,c,d,e,f,g,h){this.l=a;this.C=b;this.j=c;this.A=d;this.g=e;this.o=f;this.L=g;this.B=h};lp.prototype.va=function(){return this.C};lp.prototype.getTimestamp=function(){return this.L};lp.prototype.equals=function(a,b){return this.l.equals(a.l,b===void 0?!1:b)&&this.C==a.C&&uf(this.j,a.j)&&uf(this.A,a.A)&&this.g==a.g&&this.o==a.o&&this.L==a.L&&this.B==a.B};var mp={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},Sb={Oj:"start",FIRST_QUARTILE:"firstquartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdquartile",COMPLETE:"complete",ERROR:"error",Em:"metric",PAUSE:"pause",Nj:"resume",SKIPPED:"skip",Om:"viewable_impression",Im:"mute",Nm:"unmute",FULLSCREEN:"fullscreen",Xl:"exitfullscreen",Ij:"bufferstart",Hj:"bufferfinish",Zl:"fully_viewable_audible_half_duration_impression",Dm:"measurable_impression",Kl:"abandon",Wl:"engagedview",IMPRESSION:"impression", Rl:"creativeview",LOADED:"loaded",PROGRESS:"progress",Qp:"close",Rp:"collapse",Oq:"overlay_resize",Pq:"overlay_unmeasurable_impression",Qq:"overlay_unviewable_impression",Sq:"overlay_viewable_immediate_impression",Rq:"overlay_viewable_end_of_session_impression",Sl:"custom_metric_viewable",Ml:"audio_audible",Ol:"audio_measurable",Nl:"audio_impression"},np="start firstquartile midpoint thirdquartile resume loaded".split(" "),op=["start","firstquartile","midpoint","thirdquartile"],pp=["abandon"],qp= {UNKNOWN:-1,Oj:0,FIRST_QUARTILE:1,MIDPOINT:2,THIRD_QUARTILE:3,COMPLETE:4,Em:5,PAUSE:6,Nj:7,SKIPPED:8,Om:9,Im:10,Nm:11,FULLSCREEN:12,Xl:13,Zl:14,Dm:15,Kl:16,Wl:17,IMPRESSION:18,Rl:19,LOADED:20,Sl:21,Ij:22,Hj:23,Nl:27,Ol:28,Ml:29};var Lb={wp:"addEventListener",fq:"getMaxSize",hq:"getScreenSize",iq:"getState",jq:"getVersion",Vq:"removeEventListener",Kq:"isViewable"},rp=function(a){var b=a!==a.top,c=a.top===zg(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),Kb(function(g){return typeof f[g]==="function"})||(e=1));return{Zb:f,Kg:e,Xo:d}};var sp=function(){var a=window.document;return a&&typeof a.elementFromPoint==="function"};function tp(a,b,c){try{if(a){if(!b.top)return new tf(-12245933,-12245933,-12245933,-12245933);b=b.top}a:{var d=b;if(a&&d!==null&&d!=d.top){if(!d.top){var e=new he(-12245933,-12245933);break a}d=d.top}try{e=(c===void 0?0:c)?(new he(d.innerWidth,d.innerHeight)).round():Oe(d||window).round()}catch(n){e=new he(-12245933,-12245933)}}a=e;var f=a.height,g=a.width;if(g===-12245933)return new tf(g,g,g,g);var h=hf(Ie(b.document)),k=h.x,l=h.y;return new tf(l,k+g,l+f,k)}catch(n){return new tf(-12245933,-12245933, -12245933,-12245933)}};var up=function(a,b){b=Math.pow(10,b);return Math.floor(a*b)/b},vp=function(a){return new tf(a.top,a.right,a.bottom,a.left)},wp=function(a){var b=a.top||0,c=a.left||0;return new tf(b,c+(a.width||0),b+(a.height||0),c)},xp=function(a){return a!=null&&a>=0&&a<=1};function yp(){var a=Gc();return a?fb("AmazonWebAppPlatform;Android TV;Apple TV;AppleTV;BRAVIA;BeyondTV;Freebox;GoogleTV;HbbTV;LongTV;MiBOX;MiTV;NetCast.TV;Netcast;Opera TV;PANASONIC;POV_TV;SMART-TV;SMART_TV;SWTV;Smart TV;SmartTV;TV Store;UnionTV;WebOS".split(";"),function(b){return Dc(a,b)})||Dc(a,"OMI/")&&!Dc(a,"XiaoMi/")?!0:Dc(a,"Presto")&&Dc(a,"Linux")&&!Dc(a,"X11")&&!Dc(a,"Android")&&!Dc(a,"Mobi"):!1} function zp(){var a=Gc();return Dc(a,"AppleTV")||Dc(a,"Apple TV")||Dc(a,"CFNetwork")||Dc(a,"tvOS")}function Ap(){var a=Gc();return Dc(a,"sdk_google_atv_x86")||Dc(a,"Android TV")}function Bp(a){return(a=a.userAgentData)?a.brands.some(function(b){return b.brand.includes("kepler_webview")}):Dc(Gc(),"Kepler")}function Cp(){return Dc(Gc(),"CrKey")&&!(Dc(Gc(),"CrKey")&&Dc(Gc(),"SmartSpeaker"))||Dc(Gc(),"PlayStation")||Dc(Gc(),"Roku")||yp()||Dc(Gc(),"Xbox")||zp()||Ap()};var Ep=function(){this.P=!1;this.l=!mg(C.top);this.C=kg()||lg();var a=Bg();a=a.length>0&&a[a.length-1]!=null&&a[a.length-1].url!=null?((a=a[a.length-1].url.match(Io)[3]||null)?decodeURI(a):a)||"":"";this.domain=a;this.g=new tf(0,0,0,0);this.A=new he(0,0);this.o=new he(0,0);this.L=new tf(0,0,0,0);this.frameOffset=new ge(0,0);this.F=!1;this.B=0;this.D=!1;this.j=!(!C||!rp(C).Zb);Dp(this)},Fp=function(a,b){b&&b.screen&&(a.A=new he(b.screen.width,b.screen.height))},Gp=function(a,b){a:{var c=a.g?new he(a.g.getWidth(), a.g.getHeight()):new he(0,0);b=b===void 0?C:b;b!==null&&b!=b.top&&(b=b.top);var d=0,e=0;try{var f=b.document,g=f.body,h=f.documentElement;if(f.compatMode=="CSS1Compat"&&h.scrollHeight)d=h.scrollHeight!=c.height?h.scrollHeight:h.offsetHeight,e=h.scrollWidth!=c.width?h.scrollWidth:h.offsetWidth;else{var k=h.scrollHeight,l=h.scrollWidth,n=h.offsetHeight,p=h.offsetWidth;h.clientHeight!=n&&(k=g.scrollHeight,l=g.scrollWidth,n=g.offsetHeight,p=g.offsetWidth);k>c.height?k>n?(d=k,e=l):(d=n,e=p):k0||a.D)return!0;a=ah().j.isVisible();var b=Xf();return a||b},Hp=function(){return Zg(Ep)};var Jp=function(a){this.l=a;this.j=0;this.g=null};Jp.prototype.cancel=function(){ah().clearTimeout(this.g);this.g=null};var Kp=function(a){var b=ah(),c=nc().j.g;a.g=b.setTimeout(po(c,ap(143,function(){a.j++;a.l.sample()})),jp())};var Lp=function(a,b,c){this.l=a;this.Fa=c===void 0?"na":c;this.C=[];this.Ia=!1;this.o=new kp(-1,!0,this);this.g=this;this.P=b;this.J=this.D=!1;this.ba="uk";this.T=!1;this.A=!0};Lp.prototype.F=function(){return!1};Lp.prototype.G=function(){return this.Ia=!0};Lp.prototype.Re=function(){return this.g.ba};Lp.prototype.Of=function(){return this.g.J};var Np=function(a,b,c){if(!a.J||(c===void 0?0:c))a.J=!0,a.ba=b,a.P=0,a.g!=a||Mp(a)};Lp.prototype.getName=function(){return this.g.Fa};Lp.prototype.Ed=function(){return this.g.ha()}; Lp.prototype.ha=function(){return{}};Lp.prototype.Zc=function(){return this.g.P};var Op=function(a,b){lb(a.C,b)||(a.C.push(b),b.Te(a.g),b.Gd(a.o),b.Oc()&&(a.D=!0))};Lp.prototype.X=function(){var a=Hp();a.g=tp(!0,this.l,a.C)};Lp.prototype.Z=function(){Fp(Hp(),this.l)};Lp.prototype.ka=function(){return this.o.g};var Pp=function(a){a=a.g;a.Z();a.X();var b=Hp();b.L=tp(!1,a.l,b.C);Gp(Hp(),a.l);a.o.g=a.ka()};Lp.prototype.sample=function(){};var Qp=function(a,b){a.g!=a?Qp(a.g,b):a.A!==b&&(a.A=b,Mp(a))}; Lp.prototype.isActive=function(){return this.g.A};var Rp=function(a){a.D=a.C.length?fb(a.C,function(b){return b.Oc()}):!1},Sp=function(a){var b=rb(a.C);ab(b,function(c){c.Gd(a.o)})},Mp=function(a){var b=rb(a.C);ab(b,function(c){c.Te(a.g)});a.g!=a||Sp(a)};m=Lp.prototype;m.Te=function(a){var b=this.g;this.g=a.Zc()>=this.P?a:this;b!==this.g?(this.A=this.g.A,Mp(this)):this.A!==this.g.A&&(this.A=this.g.A,Mp(this))};m.Gd=function(a){if(a.j===this.g){var b=!this.o.equals(a,this.D);this.o=a;b&&Sp(this)}}; m.Oc=function(){return this.D};m.dispose=function(){this.T=!0};m.Xa=function(){return this.T};var Tp=function(a,b,c,d){this.element=a;this.g=new tf(0,0,0,0);this.l=null;this.C=new tf(0,0,0,0);this.j=b;this.ga=c;this.da=d;this.J=!1;this.timestamp=-1;this.D=new lp(b.o,this.element,this.g,new tf(0,0,0,0),0,0,ip(),0);this.A=void 0};Tp.prototype.bi=function(){return!0};Tp.prototype.P=function(){};Tp.prototype.dispose=function(){if(!this.Xa()){var a=this.j;nb(a.C,this);a.D&&this.Oc()&&Rp(a);this.P();this.J=!0}};Tp.prototype.Xa=function(){return this.J}; var Up=function(a,b){return a.A?new tf(Math.max(b.top+a.A.top,b.top),Math.min(b.left+a.A.right,b.right),Math.min(b.top+a.A.bottom,b.bottom),Math.max(b.left+a.A.left,b.left)):b.clone()};m=Tp.prototype;m.Ed=function(){return this.j.Ed()};m.Zc=function(){return this.j.Zc()};m.Re=function(){return this.j.Re()};m.Of=function(){return this.j.Of()};m.Te=function(){};m.Gd=function(){this.Sc()};m.Oc=function(){return this.da};var Vp=function(a){this.A=!1;this.g=a;this.o=function(){}};m=Vp.prototype;m.Zc=function(){return this.g.Zc()};m.Re=function(){return this.g.Re()};m.Of=function(){return this.g.Of()};m.create=function(a,b,c){var d=null;this.g&&(d=this.vf(a,b,c),Op(this.g,d));return d};m.ci=function(){return this.He()};m.He=function(){return!1};m.init=function(a){return this.g.G()?(Op(this.g,this),this.o=a,!0):!1};m.Te=function(a){a.Zc()==0&&this.o(a.Re(),this)};m.Gd=function(){};m.Oc=function(){return!1}; m.dispose=function(){this.A=!0};m.Xa=function(){return this.A};m.Ed=function(){return{}};var Wp=function(a,b,c){this.l=c===void 0?0:c;this.j=a;this.g=b==null?"":b},Xp=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}};Wp.prototype.o=function(a){return this.la.l?!1:this.ja.j?!1:typeof this.gtypeof a.g?!1:this.g0&&(a+="?"+b);return a};var dq=function(a){var b=[],c=[];Ib(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)},eq=function(a){a=a.toString();ah();Rg(C,a)};var fq=function(){this.g=0};function gq(a){a&&typeof a.dispose=="function"&&a.dispose()};var hq=function(){this.P=this.P;this.L=this.L};hq.prototype.P=!1;hq.prototype.Xa=function(){return this.P};hq.prototype.dispose=function(){this.P||(this.P=!0,this.O())};hq.prototype[Symbol.dispose]=function(){this.dispose()};var N=function(a,b){iq(a,Ua(gq,b))},iq=function(a,b){a.P?b():(a.L||(a.L=[]),a.L.push(b))};hq.prototype.O=function(){if(this.L)for(;this.L.length;)this.L.shift()()};var jq=function(a,b,c){ab(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 Yp;g.add("id","av-js");g.add("type","verif");g.add("vtype",d.A);d=Zg(fq);g.add("i",d.g++);g.add("adk",e);$p(g,f);e=new cq(g);eq(e)}})};var kq=[0,Cn,Qn,-1];var lq=function(){this.j=this.l=this.o=this.g=0},mq=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 nq=[1,.75,.5,.3,0],oq=function(a){this.j=a=a===void 0?nq:a;this.g=db(this.j,function(){return new lq})},qq=function(a,b){return pq(a,function(c){return c.g},b===void 0?!0:b)},sq=function(a,b){return rq(a,b,function(c){return c.g})},tq=function(a,b){return pq(a,function(c){return c.l},b===void 0?!0:b)},uq=function(a,b){return rq(a,b,function(c){return c.l})},vq=function(a,b){return rq(a,b,function(c){return c.j})},wq=function(a){ab(a.g,function(b){b.j=0})},xq=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;mq(a.g[f],g&&k,e,!g||h)}},pq=function(a,b,c){a=db(a.g,function(d){return b(d)});return c?a:yq(a)},rq=function(a,b,c){var d=kb(a.j,function(e){return b<=e});return d==-1?0:c(a.g[d])},yq=function(a){return db(a,function(b,c,d){return c>0?d[c]-d[c-1]:d[c]})};var zq=function(){this.l=new oq;this.Z=this.X=0;this.ha=new lq;this.G=this.B=-1;this.ua=1E3;this.Fa=new oq([1,.9,.8,.7,.6,.5,.4,.3,.2,.1,0]);this.N=this.J=-1},Aq=function(a,b){return tq(a.l,b===void 0?!0:b)}; zq.prototype.P=function(a,b,c,d){this.B=this.B!=-1?Math.min(this.B,b.ra):b.ra;this.G=Math.max(this.G,b.ra);this.J=this.J!=-1?Math.min(this.J,b.Bb):b.Bb;this.N=Math.max(this.N,b.Bb);xq(this.Fa,b.Bb,c.Bb,b.g,a,d);this.X+=a;b.ra===0&&(this.Z+=a);xq(this.l,b.ra,c.ra,b.g,a,d);c=d||c.te!=b.te?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.g;mq(this.ha,c,a,b)};zq.prototype.gd=function(){return this.ha.l>=this.ua};function Bq(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(qc&&qc.URL){var Cq=qc.URL,Dq;if(Dq=!!Cq){var Eq;a:{if(Cq){var Fq=RegExp(".*[&#?]google_debug(=[^&]*)?(&.*)?$");try{var Gq=Fq.exec(decodeURIComponent(Cq));if(Gq){Eq=Gq[1]&&Gq[1].length>1?Gq[1].substring(1):"true";break a}}catch(a){}}Eq=""}Dq=Eq.length>0}Xo.Aj(!Dq)}var Hq=function(a,b,c,d){var e=e===void 0?!1:e;c=ap(d,c);Sf(a,b,c,{capture:e})};var Iq=new tf(0,0,0,0);function Jq(a,b){b=Kq(b);return b===0?0:Kq(a)/b}function Kq(a){return Math.max(a.bottom-a.top,0)*Math.max(a.right-a.left,0)}function Lq(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=He(a),e=d&&Qe(d),f=e&&e.frameElement;f&&(a=f)}}catch(g){break}}return!1} function Mq(a,b,c){if(!a||!b)return!1;b=vf(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;mg(window.top)&&window.top&&window.top.document&&(window=window.top);if(!sp())return!1;a=window.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=He(c))&&b.defaultView&&b.defaultView.frameElement)&&Lq(b,a);var d=a===c;a=!d&&a&&gf(a,function(e){return e===c});return!(b||d||a)} function Nq(a,b,c,d){return Hp().l?!1:a.getWidth()<=0||a.getHeight()<=0?!0:c&&d?$o(208,function(){return Mq(a,b,c)}):!1};var Oq=new tf(0,0,0,0),Qq=function(a,b,c){hq.call(this);this.position=Oq.clone();this.qh=this.Ug();this.fj=-2;this.ep=Date.now();this.ql=-1;this.kh=b;this.jh=null;this.Gf=!1;this.Ah=null;this.opacity=-1;this.Po=c;this.gp=!1;this.hj=function(){};this.wl=function(){};this.Gb=new jf;this.Gb.Od=a;this.Gb.g=a;this.qc=!1;this.ie={lj:null,kj:null};this.kl=!0;this.ng=null;this.We=this.mo=!1;nc().P++;this.zb=this.Ui();this.ol=-1;this.pa=null;this.yk=this.jo=!1;this.ga=new fc;pc(this.ga);Pq(this);this.Po== 1?jc(this.ga,"od",1):jc(this.ga,"od",0)};q(Qq,hq);Qq.prototype.O=function(){this.Gb.g&&(this.ie.lj&&(Tf(this.Gb.g,"mouseover",this.ie.lj),this.ie.lj=null),this.ie.kj&&(Tf(this.Gb.g,"mouseout",this.ie.kj),this.ie.kj=null));this.ng&&this.ng.dispose();this.pa&&this.pa.dispose();delete this.qh;delete this.hj;delete this.wl;delete this.Gb.Od;delete this.Gb.g;delete this.ie;delete this.ng;delete this.pa;delete this.ga;hq.prototype.O.call(this)};Qq.prototype.Fd=function(){return this.pa?this.pa.g:this.position}; Qq.prototype.Ih=function(a){nc().Ih(a)};Qq.prototype.Jh=function(a){nc().Jh(a)};var Pq=function(a){a=a.Gb.Od;var b;if(b=a&&a.getAttribute)b=/-[a-z]/.test("googleAvInapp")?!1:fe&&a.dataset?"googleAvInapp"in a.dataset:a.hasAttribute?a.hasAttribute("data-"+Nd()):!!a.getAttribute("data-"+Nd());b&&(Hp().j=!0)};Qq.prototype.Oc=function(){return!1};Qq.prototype.Ug=function(){return new zq};Qq.prototype.lb=function(){return this.qh}; var Rq=function(a,b){b!=a.We&&(a.We=b,a=Hp(),b?a.B++:a.B>0&&a.B--)},Sq=function(a,b){if(a.pa){if(b.getName()===a.pa.getName())return;a.pa.dispose();a.pa=null}b=b.create(a.Gb.g,a.ga,a.Oc());if(b=b!=null&&b.bi()?b:null)a.pa=b},Tq=function(a,b,c){if(!a.jh||a.kh==-1||b.getTimestamp()===-1||a.jh.getTimestamp()===-1)return 0;a=b.getTimestamp()-a.jh.getTimestamp();return a>c?0:a};Qq.prototype.wk=function(a){return Tq(this,a,1E4)}; var Uq=function(a,b,c){if(a.pa){a.pa.Sc();var d=a.pa.D,e=d.l,f=e.g;if(d.A!=null){var g=d.j;a.Ah=new ge(g.left-f.left,g.top-f.top)}f=a.Oh()?Math.max(d.g,d.o):d.g;g={};e.volume!==null&&(g.volume=e.volume);e=a.wk(d);a.jh=d;a.Dj(f,b,c,!1,g,e,d.B)}},Vq=function(a){if(a.Gf&&a.ng){var b=kc(a.ga,"od")==1,c=Hp().g,d=a.ng,e=a.pa?a.pa.getName():"ns",f=a.Ah,g=new he(c.getWidth(),c.getHeight());c=a.Oh();a={Zo:e,Ah:f,rp:g,Oh:c,ra:a.zb.ra,np:b};if(b=d.j){b.Sc();e=b.D;f=e.l.g;var h=g=null;e.A!=null&&f&&(g=e.j,g= new ge(g.left-f.left,g.top-f.top),h=new he(f.right-f.left,f.bottom-f.top));e=c?Math.max(e.g,e.o):e.g;c={Zo:b.getName(),Ah:g,rp:h,Oh:c,np:!1,ra:e}}else c=null;c&&jq(d,a,c)}};m=Qq.prototype;m.Dj=function(a,b,c,d,e,f,g){this.qc||(this.Gf&&(a=this.li(a,c,e,g),d=d&&this.zb.ra>=(this.te()?.3:.5),this.Ej(f,a,d),this.kh=b,a.ra>0&&-1===this.ol&&(this.ol=b),this.ql==-1&&this.gd()&&(this.ql=b),this.fj==-2&&(this.fj=Kq(this.Fd())?a.ra:-1),this.zb=a),this.hj(this))}; m.Ej=function(a,b,c){this.lb().P(a,b,this.zb,c)};m.Ui=function(){return new Cb};m.li=function(a,b,c,d){c=this.Ui();c.g=b;b=ah().j;b=Xf()?-1:b.isVisible()?0:1;c.j=b;c.ra=this.ti(a);c.te=this.te();c.Bb=d;return c};m.ti=function(a){return this.opacity===0&&kc(this.ga,"opac")===1?0:a};m.te=function(){return!1};m.Oh=function(){return this.jo||this.mo};m.Yb=function(){return 0};m.gd=function(){return this.qh.gd()}; m.xk=function(){var a=this.Gf;a=(this.yk||this.Xa())&&!a;var b=nc().l!==2||this.gp;return this.qc||b&&a?2:this.gd()?4:3};m.Rg=function(){return 0};var Wq=function(a,b,c){b&&(a.hj=b);c&&(a.wl=c)};var Xq=function(){};Xq.prototype.next=function(){return Yq};var Yq={done:!0,value:void 0};Xq.prototype.Ie=function(){return this};var Zq=function(){this.o=this.g=this.l=this.j=this.A=0},$q=function(a){var b={};b=(b.ptlt=Va()-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 ar=function(){Cb.call(this);this.fullscreen=!1;this.volume=void 0;this.l=!1;this.mediaTime=-1};q(ar,Cb);var br=function(a){return xp(a.volume)&&a.volume>0};var dr=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 cr(f,b,c)}},er=function(a,b){return function(c){return b(c)?c[a]:void 0}},fr=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 gr=fr([void 0,1,2,3,4,8,16]),hr=fr([void 0,4,8,16]),ir={sv:"sv",v:"v",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",p0:er("p0",hr),p1:er("p1",hr),p2:er("p2",hr),p3:er("p3",hr),cp:"cp",tos:"tos",mtos:"mtos",amtos:"amtos",mtos1:dr("mtos1",[0,2,4],!1,hr),mtos2:dr("mtos2",[0,2,4],!1,hr),mtos3:dr("mtos3",[0,2,4],!1,hr),mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",vht:"vht",mut:"mut",a:"a",a0:er("a0",hr),a1:er("a1",hr),a2:er("a2",hr),a3:er("a3",hr),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:er("c0",hr),c1:er("c1",hr),c2:er("c2",hr),c3:er("c3",hr),mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:er("qmtos",gr),qnc:er("qnc",gr),qmv:er("qmv",gr),qnv:er("qnv",gr), 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:er("ss0",hr),ss1:er("ss1",hr),ss2:er("ss2",hr),ss3:er("ss3",hr),dc_rfl:"urlsigs",obd:"obd",omidp:"omidp",omidr:"omidr",omidv:"omidv",omida:"omida",omids:"omids",omidpv:"omidpv",omidam:"omidam",omidct:"omidct",omidia:"omidia", omiddc:"omiddc",omidlat:"omidlat",omiddit:"omiddit",nopd:"nopd",co:"co",tm:"tm",tu:"tu"},jr=Object.assign({},ir,{avid:function(a){return function(){return a}}("audio"),avas:"avas",vs:"vs"}),kr={atos:"atos",avt:dr("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 lr=function(){this.j=this.g=""};var mr=function(){},nr=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 bq($p(new Yp,c))};var or=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}; or.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 pr=function(a){var b=Nb(a.j),c=0,d;for(d in a.g)lb(b,d)&&a.g[d]==1&&(c+=a.j[d][1],a.g[d]=2);return c},qr=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 rr=function(){this.g=this.j=0};rr.prototype.getValue=function(){return this.j};var sr=function(a,b,c){b>=32||(a.g&1<=.5;xp(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.da+=a,this.D+=e?a:0);xq(this.j,b.ra,c.ra,b.g,a,d,e);mq(this.g,!0,a);mq(this.A,e,a);mq(this.F,c.fullscreen,a);mq(this.Va,e&&!f,a);a=Math.floor(b.mediaTime/1E3);sr(this.T,a,b.isVisible());sr(this.sa,a,b.ra>=1);sr(this.ka,a,br(b))}};var vr=function(){this.l=!1};vr.prototype.j=function(a){this.l||(this.g(a)?(a=this.P.report(this.o,a),this.A|=a,a=a==0):a=!1,this.l=a)};var wr=function(a,b){this.l=!1;this.o=a;this.P=b;this.A=0};q(wr,vr);wr.prototype.g=function(){return!0};wr.prototype.C=function(){return!1};wr.prototype.getId=function(){var a=this,b=Rb(function(c){return c==a.o});return qp[b].toString()};wr.prototype.toString=function(){var a="";this.C()&&(a+="c");this.l&&(a+="s");this.A>0&&(a+=":"+this.A);return this.getId()+a};var xr=function(a,b){wr.call(this,a,b);this.B=[]};q(xr,wr);xr.prototype.j=function(a,b){b=b===void 0?null:b;b!=null&&this.B.push(b);wr.prototype.j.call(this,a)};var yr=function(){};var zr=function(){};q(zr,yr);zr.prototype.j=function(){return null};zr.prototype.l=function(){return[]};var Ar=function(a,b,c,d){Tp.call(this,a,b,c,d)};q(Ar,Tp);m=Ar.prototype;m.mi=function(){if(this.element){var a=this.element,b=this.j.g.l;try{try{var c=vp(a.getBoundingClientRect())}catch(l){c=new tf(0,0,0,0)}var d=c.right-c.left,e=c.bottom-c.top,f=If(a,b),g=f.x,h=f.y;var k=new tf(Math.round(h),Math.round(g+d),Math.round(h+e),Math.round(g))}catch(l){k=Iq.clone()}this.l=k;this.g=Up(this,this.l)}};m.dk=function(){this.C=this.j.o.g}; m.Ak=function(a){var b=kc(this.ga,"od")==1;return Nq(a,this.C,this.element,b)};m.ek=function(){this.timestamp=ip()}; m.Sc=function(){this.ek();this.mi();if(this.element&&typeof this.element.videoWidth==="number"&&typeof this.element.videoHeight==="number"){var a=this.element;var b=new he(a.videoWidth,a.videoHeight);a=this.g;var c=a.getWidth(),d=a.getHeight(),e=b.width;b=b.height;e<=0||b<=0||c<=0||d<=0||(e/=b,b=c/d,a=a.clone(),e>b?(c/=e,d=(d-c)/2,d>0&&(d=a.top+d,a.top=Math.round(d),a.bottom=Math.round(d+c))):(d*=e,c=Math.round((c-d)/2),c>0&&(c=a.left+c,a.left=Math.round(c),a.right=Math.round(c+d))));this.g=a}this.dk(); a=this.g;c=this.C;a=a.left<=c.right&&c.left<=a.right&&a.top<=c.bottom&&c.top<=a.bottom?new tf(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 tf(0,0,0,0);c=a.top>=a.bottom||a.left>=a.right?new tf(0,0,0,0):a;a=this.j.o;b=e=d=0;if((this.g.bottom-this.g.top)*(this.g.right-this.g.left)>0)if(this.Ak(c))c=new tf(0,0,0,0);else{d=Hp().A;b=new tf(0,d.height,d.width,0);var f;d=Jq(c,(f=this.A)!=null?f:this.g);e=Jq(c,Hp().g);b=Jq(c,b)}f=c.top>=c.bottom|| c.left>=c.right?new tf(0,0,0,0):vf(c,-this.g.left,-this.g.top);Ip()||(e=d=0);this.D=new lp(a,this.element,this.g,f,d,e,this.timestamp,b)};m.getName=function(){return this.j.getName()};var Br=new tf(0,0,0,0),Cr=function(a,b,c){Tp.call(this,null,a,b,c);this.L=a.isActive();this.B=0};q(Cr,Ar);m=Cr.prototype;m.bi=function(){this.o();return!0};m.Gd=function(){Ar.prototype.Sc.call(this)};m.ek=function(){};m.mi=function(){};m.Sc=function(){this.o();Ar.prototype.Sc.call(this)};m.Te=function(a){a=a.isActive();a!==this.L&&(a?this.o():(Hp().g=new tf(0,0,0,0),this.g=new tf(0,0,0,0),this.C=new tf(0,0,0,0),this.timestamp=-1));this.L=a};function Dr(a){return[a.top,a.left,a.bottom,a.right]} var Er={},Fr=(Er.firstquartile=0,Er.midpoint=1,Er.thirdquartile=2,Er.complete=3,Er),Gr=function(a,b,c,d,e,f){f=f===void 0?new zr:f;Qq.call(this,b,c,d);this.pj=e;this.Bi=0;this.Ya={};this.Ga=new or;this.Fl={};this.fb="";this.Vd=null;this.Ub=!1;this.g=[];this.kd=f.j();this.C=f.l();this.A=null;this.o=-1;this.ka=this.F=void 0;this.J=this.G=0;this.T=-1;this.tb=this.Fa=!1;this.N=this.D=this.j=this.tf=this.Sb=0;this.Vb=this.ha=-1;this.Qb=0;this.Va=new oq;this.X=this.sa=this.ba=0;this.ua=-1;this.bb=0;this.B= qf;this.da=[this.Ug()];this.Wc=2;this.Ge={};this.Ge.pause="p";this.Ge.resume="r";this.Ge.skip="s";this.Ge.mute="m";this.Ge.unmute="um";this.Ge.exitfullscreen="ef";this.l=null;this.ub=this.Eb=!1;this.kc=Math.floor(Date.now()/1E3-1704067200);this.Z=0};q(Gr,Qq);Gr.prototype.Oc=function(){return!0};var Hr=function(a){a.yk=!0;a.bb!=0&&(a.bb=3)},Ir=function(a){return a===void 0?a:Number(a)?up(a,3):0};m=Gr.prototype;m.wk=function(a){return Tq(this,a,Math.max(1E4,this.o/3))}; m.Dj=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.ka=k.isYouTube||this.ka;ah();this.ub=!1;e=Jr(this,b);Kr(this)===1&&(f=e);Qq.prototype.Dj.call(this,a,b,c,d,k,f,g);this.kd&&this.kd.l&&ab(this.C,function(l){l.j(h)})}; m.Ej=function(a,b,c){Qq.prototype.Ej.call(this,a,b,c);Lr(this).P(a,b,this.zb,c);this.tb=br(this.zb)&&br(b);this.T==-1&&this.Fa&&(this.T=this.lb().g.g);this.Ga.l=0;a=this.gd();b.isVisible()&&this.Ga.reportEvent("vs");a&&this.Ga.reportEvent("vw");xp(b.volume)&&this.Ga.reportEvent("am");br(b)?this.Ga.reportEvent("a"):this.Ga.reportEvent("mut");this.We&&this.Ga.reportEvent("f");b.j!=-1&&(this.Ga.reportEvent("bm"),b.j==1&&(this.Ga.reportEvent("b"),br(b)&&this.Ga.reportEvent("umutb")));br(b)&&b.isVisible()&& this.Ga.reportEvent("avs");this.tb&&a&&this.Ga.reportEvent("avw");b.ra>0&&this.Ga.reportEvent("pv");Mr(this,this.lb().g.g,!0)&&this.Ga.reportEvent("gdr");uq(this.lb().l,1)>=2E3&&this.Ga.reportEvent("pmx");this.ub&&this.Ga.reportEvent("tvoff")};m.Ug=function(){return new tr};m.lb=function(){return this.qh};var Lr=function(a,b){return a.da[b!=null&&b=0?c:-1;return a}; var Kr=function(a){var b=!!kc(nc().ga,"umt");return a.F||!b&&!a.ka?0:1},Jr=function(a,b){a.bb==2?b=0:a.kh==-1?b=0:(b-=a.kh,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.J+=b,a.X+=Math.max(b-d,0),e=Math.min(d,a.J)):a.sa+=Math.abs(d);d!=0&&(a.J=0);a.ua==-1&&d>0&&(a.ua=gp>=0?ip()-gp:-1);a.G=c;return e};Gr.prototype.ti=function(a){return Hp().P?0:this.We?1:Qq.prototype.ti.call(this,a)};Gr.prototype.Yb=function(){return 1}; Gr.prototype.getDuration=function(){return this.o}; var Nr=function(a,b){fb(a.C,function(c){return c.o==b.o})||a.C.push(b)},Or=function(a){var b=sq(a.lb().j,1);return Mr(a,b)},Mr=function(a,b,c){return b>=15E3?!0:a.Fa?(c===void 0?0:c)?!0:a.o>0?b>=a.o/2:a.T>0?b>=a.T:!1:!1},Pr=function(a){var b={},c=Hp();b.insideIframe=c.l;b.unmeasurable=a.qc;var d=a.Fd(),e=a.pa?a.pa.l:null;b.position=d;e&&!uf(d,e)&&(b.containerPosition=e);b.exposure=a.zb.ra;b.documentSize=c.o;b.viewportSize=new he(c.g.getWidth(),c.g.getHeight());a.l!=null&&(b.presenceData=a.l);b.screenShare= a.zb.Bb;return b},Qr=function(a){var b=up(a.zb.ra,2),c=a.Ga.l,d=a.zb,e=Lr(a),f=Ir(e.o),g=Ir(e.C),h=Ir(d.volume),k=up(e.B,2),l=up(e.G,2),n=up(d.ra,2),p=up(e.J,2),r=up(e.N,2);d=up(d.Bb,2);var t=a.Fd().clone().round();a=a.pa&&a.pa.l?(a.pa?a.pa.l:null).clone().round():null;e=Aq(e,!1);return{qp:b,Sf:c,rh:f,nh:g,yf:h,sh:k,oh:l,ra:n,th:p,ph:r,Bb:d,position:t,Cf:a,uh:e}},Sr=function(a,b){Rr(a.g,b,function(){return{qp:0,Sf:void 0,rh:-1,nh:-1,yf:-1,sh:-1,oh:-1,ra:-1,th:-1,ph:-1,Bb:-1,position:void 0,Cf:void 0, uh:[]}});a.g[b]=Qr(a)},Rr=function(a,b,c){for(var d=a.length;d0?1:0;p.atos=qq(l.j);p.ssb=qq(l.Fa,!1);p.amtos=tq(l.j,!1);p.uac=a.Sb;p.vpt=l.g.g;n=="nio"&&(p.nio=1,p.avms="nio");p.gmm="4";p.gdr=Mr(a,l.g.g,!0)?1:0;p.efpf=a.Wc;if(n== "gsv"||n=="nis")n=a.pa,n.B>0&&(p.nnut=n.B);p.tcm=Kr(a);p.nmt=a.sa;p.bt=a.X;p.pst=a.ua;p.vpaid=a.F;p.dur=a.o;p.vmtime=a.G;p.is=a.Ga.l;a.g.length>=1&&(p.i0=a.g[0].Sf,p.a0=[a.g[0].yf],p.c0=[a.g[0].ra],p.ss0=[a.g[0].Bb],n=a.g[0].position,f=a.g[0].Cf,p.p0=n?Dr(n):void 0,n&&f&&!uf(f,n)&&(p.cp0=Dr(f)));a.g.length>=2&&(p.i1=a.g[1].Sf,p.a1=Wr(a.g[1].rh,a.g[1].yf,a.g[1].nh),p.c1=Wr(a.g[1].sh,a.g[1].ra,a.g[1].oh),p.ss1=Wr(a.g[1].th,a.g[1].Bb,a.g[1].ph),n=a.g[1].position,f=a.g[1].Cf,p.p1=n?Dr(n):void 0,n&&f&& !uf(f,n)&&(p.cp1=Dr(f)),p.mtos1=a.g[1].uh);a.g.length>=3&&(p.i2=a.g[2].Sf,p.a2=Wr(a.g[2].rh,a.g[2].yf,a.g[2].nh),p.c2=Wr(a.g[2].sh,a.g[2].ra,a.g[2].oh),p.ss2=Wr(a.g[2].th,a.g[2].Bb,a.g[2].ph),n=a.g[2].position,f=a.g[2].Cf,p.p2=n?Dr(n):void 0,n&&f&&!uf(f,n)&&(p.cp2=Dr(f)),p.mtos2=a.g[2].uh);a.g.length>=4&&(p.i3=a.g[3].Sf,p.a3=Wr(a.g[3].rh,a.g[3].yf,a.g[3].nh),p.c3=Wr(a.g[3].sh,a.g[3].ra,a.g[3].oh),p.ss3=Wr(a.g[3].th,a.g[3].Bb,a.g[3].ph),n=a.g[3].position,f=a.g[3].Cf,p.p3=n?Dr(n):void 0,n&&f&&!uf(f, n)&&(p.cp3=Dr(f)),p.mtos3=a.g[3].uh);p.cs=qr(a.Ga);b&&(p.ic=pr(a.Ga),p.dvpt=l.g.j,p.dvs=vq(l.l,.5),p.dfvs=vq(l.l,1),p.davs=vq(l.j,.5),p.dafvs=vq(l.j,1),c&&(l.g.j=0,wq(l.l),wq(l.j)),a.gd()&&(p.dtos=l.da,p.dav=l.D,p.dtoss=a.Bi+1,c&&(l.da=0,l.D=0,a.Bi++)),p.dat=l.A.j,p.dft=l.F.j,c&&(l.A.j=0,l.F.j=0));p.ps=[h.o.width,h.o.height];p.bs=[h.g.getWidth(),h.g.getHeight()];p.scs=[h.A.width,h.A.height];p.dom=h.domain;a.tf&&(p.vds=a.tf);if(a.C.length>0||a.kd)b=rb(a.C),a.kd&&b.push(a.kd),p.pings=db(b,function(r){return r.toString()}); b=db(cb(a.C,function(r){return r.C()}),function(r){return r.getId()});sb(b);p.ces=b;a.j&&(p.vmer=a.j);a.D&&(p.vmmk=a.D);a.N&&(p.vmiec=a.N);p.avms=a.pa?a.pa.getName():"ns";a.pa&&Zb(p,a.pa.Ed());k.g&&(p.femt=a.ha,p.femvt=a.Vb,p.emc=a.Qb,p.emb=qq(a.Va,!1),p.emuc=a.ba,p.avms="exc");d?(p.c=up(a.zb.ra,2),p.ss=up(a.zb.Bb,2)):p.tth=ip()-fp;p.mc=up(l.G,2);p.nc=up(l.B,2);p.mv=Ir(l.C);p.nv=Ir(l.o);p.lte=up(a.fj,2);d=Lr(a,e);Aq(l);p.qmtos=Aq(d);p.qnc=up(d.B,2);p.qmv=Ir(d.C);p.qnv=Ir(d.o);p.qas=d.o>0?1:0;p.qi= a.fb;p.avms||(p.avms="geo");p.psm=l.T.g;p.psv=l.T.getValue();p.psfv=l.sa.getValue();p.psa=l.ka.getValue();k=mc(k.ga);k.length&&(p.veid=k);a.l&&Zb(p,$q(a.l));p.avas=a.Rg();p.vs=a.xk();p.co=Xr(a);p.tm=l.X;p.tu=l.Z;return p},Tr=function(a,b){if(lb(pp,b))return!0;var c=a.Ya[b];return c!==void 0?(a.Ya[b]=!0,!c):!1};Gr.prototype.xk=function(){return this.qc?2:Or(this)?5:this.gd()?4:3};Gr.prototype.Rg=function(){return this.Eb?this.lb().A.l>=2E3?4:3:2}; var Xr=function(a){var b=a.Z.toString(10).padStart(2,"0");b=""+a.kc+b;a.Z<99&&a.Z++;return b};var Yr=Va(),as=function(){this.g={};var a=Qe();Zr(this,a,document);var b=$r();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)Zr(this,c,c.document);Zr(this,a.top,a.top.document)}}catch(d){}},$r=function(){var a=document.documentElement;try{if(!mg(Qe().top))return"2";var b=[],c=Qe(a.ownerDocument);for(a=c;a!=c.top;a=a.parent)if(a.frameElement)b.push(a.frameElement);else break;return b&&b.length!=0?"1":"0"}catch(d){return"2"}},Zr=function(a,b,c){Hq(c,"mousedown",function(){return bs(a)},301); Hq(b,"scroll",function(){return cs(a)},302);Hq(c,"touchmove",function(){return ds(a)},303);Hq(c,"mousemove",function(){return es(a)},304);Hq(c,"keydown",function(){return fs(a)},305)},bs=function(a){Ib(a.g,function(b){b.l>1E5||++b.l})},cs=function(a){Ib(a.g,function(b){b.g>1E5||++b.g})},ds=function(a){Ib(a.g,function(b){b.g>1E5||++b.g})},fs=function(a){Ib(a.g,function(b){b.j>1E5||++b.j})},es=function(a){Ib(a.g,function(b){b.o>1E5||++b.o})};var gs=function(){this.g=[];this.j=[]},hs=function(a,b){return gb(a.g,function(c){return c.fb==b})},is=function(a,b){return b?gb(a.g,function(c){return c.Gb.Od==b}):null},js=function(a,b){return gb(a.j,function(c){return c.Yb()==2&&c.fb==b})},ls=function(){var a=ks;return a.g.length==0?a.j:a.j.length==0?a.g:qb(a.j,a.g)};gs.prototype.reset=function(){this.g=[];this.j=[]}; var ms=function(a,b){a=b.Yb()==1?a.g:a.j;var c=ib(a,function(d){return d==b});return c!=-1?(a.splice(c,1),b.pa&&b.pa.P(),b.dispose(),!0):!1},ns=function(a){var b=ks;if(ms(b,a)){switch(a.Yb()){case 0:var c=function(){return null};case 2:c=function(){return js(b,a.fb)};break;case 1:c=function(){return hs(b,a.fb)}}for(var d=c();d;d=c())ms(b,d)}},os=function(a){var b=ks;a=cb(a,function(c){return!is(b,c.Gb.Od)});b.g.push.apply(b.g,x(a))},ps=function(a){var b=[];ab(a,function(c){fb(ks.g,function(d){return d.Gb.Od=== c.Gb.Od&&d.fb===c.fb})||(ks.g.push(c),b.push(c))})},ks=Zg(gs);var qs=function(a,b,c,d){Tp.call(this,a,b,c,d);this.o=this.B=0};q(qs,Tp);qs.prototype.getName=function(){return"exc"};qs.prototype.Sc=function(){this.D=new lp(this.j.o,this.element,this.g,new tf(0,0,0,0),this.B,0,ip(),this.o)};var rs=function(){Vp.call(this,new Lp(C,2))};q(rs,Vp);rs.prototype.getName=function(){return"exc"};rs.prototype.ci=function(){return!0};rs.prototype.He=function(){return!0};rs.prototype.vf=function(a,b,c){return new qs(a,this.g,b,c)};var ts=function(){this.g=this.j=null},us=function(a,b){if(a.j==null)return!1;var c=function(d,e){b(d,e)};a.g=gb(a.j,function(d){return d!=null&&d.ci()});a.g&&(a.g.init(c)?Pp(a.g.g):b(a.g.g.Re(),a.g));return a.g!=null};var ws=function(a){a=vs(a);Vp.call(this,a.length?a[a.length-1]:new Lp(C,0));this.l=a;this.j=null};q(ws,Vp);m=ws.prototype;m.getName=function(){return(this.j?this.j:this.g).getName()};m.Ed=function(){return(this.j?this.j:this.g).Ed()};m.Zc=function(){return(this.j?this.j:this.g).Zc()};m.init=function(a){var b=!1;ab(this.l,function(c){c.G()&&(b=!0)});b&&(this.o=a,Op(this.g,this));return b};m.dispose=function(){ab(this.l,function(a){a.dispose()});Vp.prototype.dispose.call(this)}; m.ci=function(){return fb(this.l,function(a){return a.F()})};m.He=function(){return fb(this.l,function(a){return a.F()})};m.vf=function(a,b,c){return new Ar(a,this.g,b,c)};m.Gd=function(a){this.j=a.j};var vs=function(a){if(!a.length)return[];a=cb(a,function(c){return c!=null&&c.F()});for(var b=1;bc.time?b:c},a[0])};m=ys.prototype;m.Sc=function(){var a=As(this);a.length>0&&Bs(this,a);Ar.prototype.Sc.call(this)}; m.mi=function(){};m.Ak=function(){return!1};m.dk=function(){};m.Ed=function(){var a={};return Object.assign(this.j.Ed(),(a.niot_obs=this.G,a.niot_cbk=this.F,a))};m.getName=function(){return"nio"};var Ds=function(a){a=a===void 0?C:a;Vp.call(this,new Lp(a,2))};q(Ds,Vp);Ds.prototype.getName=function(){return"nio"};Ds.prototype.He=function(){return!Hp().j&&this.g.g.l.IntersectionObserver!=null};Ds.prototype.vf=function(a,b,c){return new ys(a,this.g,b,c)};var Js=function(){var a=Es();Lp.call(this,C.top,a,"geo")};q(Js,Lp);Js.prototype.ka=function(){return Hp().g};Js.prototype.F=function(){var a=Es();this.P!==a&&(this.g!=this&&a>this.g.P&&(this.g=this,Mp(this)),this.P=a);return a==2};var Es=function(){nc();var a=Hp();return a.l||a.j?0:2};var Ks=function(){};var Ls=function(){this.done=!1;this.g={Qm:0,Pj:0,Tr:0,lk:0,Xi:-1,qn:0,on:0,rn:0,Yo:0};this.A=null;this.C=!1;this.l=null;this.B=0;this.j=new Jp(this)},Os=function(){var a=Ms;a.C||(a.C=!0,Ns(a,function(){return a.o.apply(a,x(Fa.apply(0,arguments)))}),a.o())};Ls.prototype.sample=function(){Ps(this,ls(),!1)}; var Qs=function(){Zg(Ks);var a=Zg(ts);a.g!=null&&a.g.g?Pp(a.g.g):Dp(Hp())},Ps=function(a,b,c){if(!a.done&&(a.j.cancel(),b.length!=0)){a.l=null;try{Qs();var d=ip();nc().L=d;if(Zg(ts).g!=null)for(var e=0;e=0?ip()-ep:-1,h=ip();e.g.Xi==-1&&(g=h);var k=Hp(),l=nc(),n=lc(l.ga),p=ls();try{if(p.length>0){var r= k.g;r&&(n.bs=[r.getWidth(),r.getHeight()]);var t=k.o;t&&(n.ps=[t.width,t.height]);C.screen&&(n.scs=[C.screen.width,C.screen.height])}else n.url=encodeURIComponent(C.location.href.substring(0,512)),f.referrer&&(n.referrer=encodeURIComponent(f.referrer.substring(0,512)));n.tt=g;n.pt=ep;n.bin=l.l;C.google_osd_load_pub_page_exp!==void 0&&(n.olpp=C.google_osd_load_pub_page_exp);n.deb=[1,e.g.Qm,e.g.Pj,e.g.lk,e.g.Xi,0,e.j.j,e.g.qn,e.g.on,e.g.rn,e.g.Yo,-1].join(";");n.tvt=Rs(e,h);k.j&&(n.inapp=1);if(C!== null&&C!=C.top){p.length>0&&(n.iframe_loc=encodeURIComponent(C.location.href.substring(0,512)));var u=k.L;n.is=[u.getWidth(),u.getHeight()]}}catch(A){n.error=1}Ms.l=n}r=Wb(Ms.l);t=nc().j;kc(t.l,"prf")==1?(u=new no,e=t.g,f=0,e.g>-1&&(f=e.l.g.now()-e.g),u=Bk(u,1,Yi(e.o+f),0),e=t.g,u=$k(u,5,e.g>-1?e.j+1:e.j),u=cl(u,2,t.j.g.l()),u=cl(u,3,t.j.g.j()),t=cl(u,4,t.j.g.g()),u={},t=(u.pf=uh(t.R()),u)):t={};Zb(r,t);Zb(b,d,c,r,a())}])},Ms=Zg(Ls);var Vs=null,Ws="",Xs=!1,Ys=function(){var a=Vs||C;if(!a)return"";var b=[];if(!a.location||!a.location.href)return"";b.push("url="+encodeURIComponent(a.location.href.substring(0,512)));a.document&&a.document.referrer&&b.push("referrer="+encodeURIComponent(a.document.referrer.substring(0,512)));return b.join("&")};function Zs(){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 $s=function(){return"ima_html5_sdk".includes("ima_html5_sdk")?{Cc:"ima",Dc:null}:"ima_html5_sdk".includes("ima_native_sdk")?{Cc:"nima",Dc:null}:"ima_html5_sdk".includes("admob-native-video-javascript")?{Cc:"an",Dc:null}:"av.default_js_unreleased_RCxx".includes("cast_js_sdk")?{Cc:"cast",Dc:Zs()}:"av.default_js_unreleased_RCxx".includes("youtube.player.web")?{Cc:"yw",Dc:Zs()}:"av.default_js_unreleased_RCxx".includes("outstream_web_client")?{Cc:"out",Dc:Zs()}:"av.default_js_unreleased_RCxx".includes("drx_rewarded_web")? {Cc:"r",Dc:Zs()}:"av.default_js_unreleased_RCxx".includes("gam_native_web_video")?{Cc:"n",Dc:Zs()}:"av.default_js_unreleased_RCxx".includes("admob_interstitial_video")?{Cc:"int",Dc:Zs()}:{Cc:"j",Dc:null}},at=$s().Cc,bt=$s().Dc;var dt=function(a,b){var c={sv:"967"};bt!==null&&(c.v=bt);c.cb=at;c.nas=ks.g.length;c.msg=a;b!==void 0&&(a=ct(b))&&(c.e=qp[a]);return c},et=function(a){return a.lastIndexOf("custom_metric_viewable",0)==0},ct=function(a){var b=et(a)?"custom_metric_viewable":a.toLowerCase();return Rb(function(c){return c==b})};var ft={aq:"visible",Np:"audible",mr:"time",nr:"timetype"},gt={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)}},ht=function(){this.g=void 0;this.j=!1;this.l=0;this.o=-1;this.A="tos"},it=function(a){try{var b=a.split(",");return b.length>Nb(ft).length?null:eb(b,function(c,d){d=d.toLowerCase().split("=");if(d.length!=2||gt[d[0]]=== void 0||!gt[d[0]](d[1]))throw Error("Entry ("+d[0]+", "+d[1]+") is invalid.");c[d[0]]=d[1];return c},{})}catch(c){return null}},jt=function(a,b){if(a.g==void 0)return 0;switch(a.A){case "mtos":return a.j?uq(b.j,a.g):uq(b.l,a.g);case "tos":return a.j?sq(b.j,a.g):sq(b.l,a.g)}return 0};var kt=function(a,b,c,d){wr.call(this,b,d);this.B=a;this.L=c};q(kt,wr);kt.prototype.getId=function(){return this.B};kt.prototype.C=function(){return!0};kt.prototype.g=function(a){var b=a.lb(),c=a.getDuration();return fb(this.L,function(d){if(d.g!=void 0)var e=jt(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 lt=function(){};q(lt,mr);lt.prototype.g=function(a){var b=new lr;b.g=nr(a,ir);b.j=nr(a,kr);return b};var mt=function(a){wr.call(this,"fully_viewable_audible_half_duration_impression",a)};q(mt,wr);mt.prototype.g=function(a){return Or(a)};var nt=function(a){this.g=a};q(nt,yr);var ot=function(a,b){wr.call(this,a,b)};q(ot,wr);ot.prototype.g=function(a){return a.lb().gd()};var pt=function(a){xr.call(this,"measurable_impression",a)};q(pt,xr);pt.prototype.g=function(a){var b=lb(this.B,kc(nc().ga,"ovms"));return!a.qc&&(a.bb!=0||b)};var qt=function(){nt.apply(this,arguments)};q(qt,nt);qt.prototype.j=function(){return new pt(this.g)};qt.prototype.l=function(){return[new ot("viewable_impression",this.g),new mt(this.g)]};var rt=function(a,b,c){Cr.call(this,a,b,c)};q(rt,Cr);rt.prototype.o=function(){var a=Ka("ima.admob.getViewability"),b=kc(this.ga,"queryid");typeof a==="function"&&b&&a(b)};rt.prototype.getName=function(){return"gsv"};var tt=function(a){a=a===void 0?C:a;Vp.call(this,new Lp(a,2))};q(tt,Vp);tt.prototype.getName=function(){return"gsv"};tt.prototype.He=function(){var a=Hp();nc();return a.j&&!1};tt.prototype.vf=function(a,b,c){return new rt(this.g,b,c)};var ut=function(a,b,c){Cr.call(this,a,b,c)};q(ut,Cr);ut.prototype.o=function(){var a=this,b=Ka("ima.bridge.getNativeViewability"),c=kc(this.ga,"queryid");typeof b==="function"&&c&&b(c,function(d){Tb(d)&&a.B++;var e=d.opt_nativeViewVisibleBounds||{},f=d.opt_nativeViewHidden;a.g=wp(d.opt_nativeViewBounds||{});var g=a.j.o;g.g=f?Br.clone():wp(e);a.timestamp=d.opt_nativeTime||-1;Hp().g=g.g;d=d.opt_nativeVolume;d!==void 0&&(g.volume=d)})};ut.prototype.getName=function(){return"nis"};var vt=function(a){a=a===void 0?C:a;Vp.call(this,new Lp(a,2))};q(vt,Vp);vt.prototype.getName=function(){return"nis"};vt.prototype.He=function(){var a=Hp();nc();return a.j&&!1};vt.prototype.vf=function(a,b,c){return new ut(this.g,b,c)};var wt=function(){Lp.call(this,C,2,"mraid");this.sa=0;this.da=this.N=!1;this.L=null;this.j=rp(this.l);this.o.g=new tf(0,0,0,0);this.ua=!1};q(wt,Lp);wt.prototype.F=function(){return this.j.Zb!=null};wt.prototype.ha=function(){var a={};this.sa&&(a.mraid=this.sa);this.N&&(a.mlc=1);a.mtop=this.j.Xo;this.L&&(a.mse=this.L);this.ua&&(a.msc=1);a.mcp=this.j.Kg;return a}; wt.prototype.B=function(a){var b=Fa.apply(1,arguments);try{return this.j.Zb[a].apply(this.j.Zb,b)}catch(c){bp(538,c,.01,function(d){d.method=a})}};var xt=function(a,b,c){a.B("addEventListener",b,c)}; wt.prototype.G=function(){var a=this;if(this.Ia)return!this.Of();this.Ia=!0;if(this.j.Kg===2)return this.L="ng",Np(this,"w"),!1;if(this.j.Kg===1)return this.L="mm",Np(this,"w"),!1;Hp().D=!0;this.l.document.readyState&&this.l.document.readyState=="complete"?yt(this):Hq(this.l,"load",function(){ah().setTimeout(ap(292,function(){return yt(a)}),100)},292);return!0}; var yt=function(a){nc().C=!!a.B("isViewable");xt(a,"viewableChange",zt);a.B("getState")==="loading"?xt(a,"ready",At):Bt(a)},Bt=function(a){typeof a.j.Zb.AFMA_LIDAR==="string"?(a.N=!0,Ct(a)):(a.j.Kg=3,a.L="nc",Np(a,"w"))},Ct=function(a){a.da=!1;var b=kc(nc().ga,"rmmt")==1,c=!!a.B("isViewable");(b?!c:1)&&ah().setTimeout(ap(524,function(){a.da||(Dt(a),bp(540,Error()),a.L="mt",Np(a,"w"))}),500);Et(a);xt(a,a.j.Zb.AFMA_LIDAR,Ft)},Et=function(a){var b=kc(nc().ga,"sneio")==1,c=a.j.Zb.AFMA_LIDAR_EXP_1!==void 0, d=a.j.Zb.AFMA_LIDAR_EXP_2!==void 0;(b=b&&d)&&(a.j.Zb.AFMA_LIDAR_EXP_2=!0);c&&(a.j.Zb.AFMA_LIDAR_EXP_1=!b)},Dt=function(a){a.B("removeEventListener",a.j.Zb.AFMA_LIDAR,Ft);a.N=!1};wt.prototype.X=function(){var a=Hp(),b=Gt(this,"getMaxSize");a.g=new tf(0,b.width,b.height,0)};wt.prototype.Z=function(){Hp().A=Gt(this,"getScreenSize")}; var Gt=function(a,b){if(a.B("getState")==="loading")return new he(-1,-1);b=a.B(b);if(!b)return new he(-1,-1);a=parseInt(b.width,10);b=parseInt(b.height,10);return isNaN(a)||isNaN(b)?new he(-1,-1):new he(a,b)};wt.prototype.dispose=function(){Dt(this);Lp.prototype.dispose.call(this)}; var At=function(){try{var a=Zg(wt);a.B("removeEventListener","ready",At);Bt(a)}catch(b){bp(541,b)}},Ft=function(a,b){try{var c=Zg(wt);c.da=!0;var d=a?new tf(a.y,a.x+a.width,a.y+a.height,a.x):new tf(0,0,0,0);var e=ip(),f=Ip();var g=new kp(e,f,c);g.g=d;g.volume=b;c.Gd(g)}catch(h){bp(542,h)}},zt=function(a){var b=nc(),c=Zg(wt);a&&!b.C&&(b.C=!0,c.ua=!0,c.L&&Np(c,"w",!0))};var Ht=function(a){this.key=a;this.defaultValue=!1;this.valueType="boolean"};var It=new Ht("45381479"),Jt=new Ht("45378663");var Lt=function(){this.Ia=!1;this.J="";this.l=!1;this.g=this.j=null;var a={};this.T=(a.start=this.Un,a.firstquartile=this.Pn,a.midpoint=this.Rn,a.thirdquartile=this.Vn,a.complete=this.Mn,a.error=this.Nn,a.pause=this.oj,a.resume=this.Wk,a.skip=this.Tn,a.viewable_impression=this.Hc,a.mute=this.rf,a.unmute=this.rf,a.fullscreen=this.Qn,a.exitfullscreen=this.On,a.fully_viewable_audible_half_duration_impression=this.Hc,a.measurable_impression=this.Hc,a.abandon=this.oj,a.engagedview=this.Hc,a.impression= this.Hc,a.creativeview=this.Hc,a.progress=this.rf,a.custom_metric_viewable=this.Hc,a.bufferstart=this.oj,a.bufferfinish=this.Wk,a.audio_measurable=this.Hc,a.audio_audible=this.Hc,a);a={};this.Z=(a.overlay_resize=this.Sn,a.abandon=this.Vi,a.close=this.Vi,a.collapse=this.Vi,a.overlay_unmeasurable_impression=function(b){return Vr(b,"overlay_unmeasurable_impression",Ip())},a.overlay_viewable_immediate_impression=function(b){return Vr(b,"overlay_viewable_immediate_impression",Ip())},a.overlay_unviewable_impression= function(b){return Vr(b,"overlay_unviewable_impression",Ip())},a.overlay_viewable_end_of_session_impression=function(b){return Vr(b,"overlay_viewable_end_of_session_impression",Ip())},a);nc().l=3;Kt(this);this.D=null};Lt.prototype.o=function(a){Rq(a,!1);ns(a)};Lt.prototype.A=function(){};var Mt=function(a,b,c,d){a=a.B(null,d,!0,b);a.A=c;os([a]);return a}; Lt.prototype.B=function(a,b,c,d){var e=this;a=new Gr(C,a,c?b:-1,7,this.wi(),this.jk());a.fb=d;ic(a.ga);jc(a.ga,"queryid",a.fb);a.Ih(this.J);Wq(a,function(){return e.N.apply(e,x(Fa.apply(0,arguments)))},function(){return e.X.apply(e,x(Fa.apply(0,arguments)))});(d=Zg(ts).g)&&Sq(a,d);this.D&&(a.pa&&(a.pa.A=this.D),this.D=null);a.Gb.Od&&Zg(Ks);return a}; var Nt=function(a,b,c){yb(b);var d=a.g;ab(b,function(e){var f=db(e.g,function(g){var h=it(g);if(h==null)g=null;else if(g=new ht,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",l=tc(h.time,"%")?"%":"ms";h=parseInt(h.time,10);l=="%"&&(h/=100);l=="ms"?(g.l=h,g.o=-1):(g.l=-1,g.o=h);g.A=k===void 0?"tos":k}return g});fb(f,function(g){return g==null})||Nr(c,new kt(e.id,e.event,f,d))})},Ot=function(){var a=[],b=nc();b.g||a.push(Zg(Js)); kc(b.ga,"mvp_lv")&&a.push(Zg(wt));var c=[new tt,new vt];b.g&&c.push(new rs);c.push(new ws(a));b.g||c.push(new Ds(C));return c},Qt=function(a){if(!a.Ia){a.Ia=!0;try{var b=ip(),c=nc(),d=Hp();ep=b;c.A=79463069;a.j!=="o"&&(Vs=zg(C));if(bh()){Ms.g.Pj=0;Ms.g.Xi=ip()-b;var e=Ot(),f=Zg(ts);f.j=e;us(f,function(){Pt()})?Ms.done||(Ts(),Op(f.g.g,a),Os()):d.l&&!c.g?Pt():Os()}else Xs=!0}catch(g){throw ks.reset(),g;}}},Rt=function(a){Ms.j.cancel();Ws=a;Ms.done=!0},St=function(a){if(a.j)return a.j;var b=Zg(ts).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},Tt=function(a,b,c){if(a.g==null)return b.tf|=4,!1;a=a.g.report(c,b);b.tf|=a;return a==0};Lt.prototype.Te=function(a){switch(a.Zc()){case 0:if(a=Zg(ts).g)a=a.g,nb(a.C,this),a.D&&this.Oc()&&Rp(a);Pt();break;case 2:Os()}};Lt.prototype.Gd=function(){};Lt.prototype.Oc=function(){return!1};var Pt=function(){var a=[new Ds(C)],b=Zg(ts);b.j=a;us(b,function(){Rt("i")})?Ms.done||(Ts(),Os()):Rt("i")}; Lt.prototype.X=function(a,b){a.qc=!0;switch(a.Yb()){case 1:Ut(a,b);break;case 2:this.tj(a)}this.yj(a)};var Ut=function(a,b){if(!a.Ub){var c=Vr(a,"start",Ip());c=a.pj.g(c).g;var d={id:"lidarv"};d.r=b;d.sv="967";bt!==null&&(d.v=bt);Ko(c,function(e,f){return d[e]=e=="mtos"||e=="tos"?f:encodeURIComponent(f)});b=Ys();Ko(b,function(e,f){return d[e]=encodeURIComponent(f)});b="//pagead2.googlesyndication.com/pagead/gen_204?"+bq($p(new Yp,d));eq(b);a.Ub=!0}};m=Lt.prototype; m.Un=function(a){var b=a.B(a);b&&(b=b.volume,a.Eb=xp(b)&&b>0);Sr(a,0);return Vr(a,"start",Ip())};m.rf=function(a,b,c){Ps(Ms,[a],!Ip());return this.Hc(a,b,c)};m.Hc=function(a,b,c){return Vr(a,c,Ip())};m.Pn=function(a){return Vt(a,"firstquartile",1)};m.Rn=function(a){a.Fa=!0;return Vt(a,"midpoint",2)};m.Vn=function(a){return Vt(a,"thirdquartile",3)};m.Mn=function(a){var b=Vt(a,"complete",4);Hr(a);return b};m.Nn=function(a){a.bb=3;return Vr(a,"error",Ip())}; var Vt=function(a,b,c){Ps(Ms,[a],!Ip());Sr(a,c);c!=4&&Rr(a.da,c,a.Ug);return Vr(a,b,Ip())};m=Lt.prototype;m.Wk=function(a,b,c){b=Ip();a.bb!=2||b||(a.lb().L=ip());Ps(Ms,[a],!b);a.bb==2&&(a.bb=1);return Vr(a,c,b)};m.Tn=function(a,b){b=this.rf(a,b||{},"skip");Hr(a);return b};m.Qn=function(a,b){Rq(a,!0);return this.rf(a,b||{},"fullscreen")};m.On=function(a,b){Rq(a,!1);return this.rf(a,b||{},"exitfullscreen")}; m.oj=function(a,b,c){b=a.lb();b.ba=ur(b,ip(),a.bb!=1);Ps(Ms,[a],!Ip());a.bb==1&&(a.bb=2);return Vr(a,c,Ip())};m.Sn=function(a){Ps(Ms,[a],!Ip());return a.j()};m.Vi=function(a){Ps(Ms,[a],!Ip());this.Vk(a);Hr(a);return a.j()}; var Kt=function(a){Us(function(){var b=Wt();a.j!=null&&(b.sdk=a.j);var c=Zg(ts);c.g!=null&&(b.avms=c.g.getName());return b})},Xt=function(a,b,c,d){var e=is(ks,c);e!==null&&e.fb!==b&&(a.o(e),e=null);e||(b=a.B(c,ip(),!1,b),ks.j.length==0&&(nc().A=79463069),ps([b]),e=b,e.A=St(a),d&&(e.Vd=d));return e};Lt.prototype.N=function(){};var Zt=function(a,b){b.D=0;for(var c in mp)a[c]==null&&(b.D|=mp[c]);Yt(a,"currentTime");Yt(a,"duration")};m=Lt.prototype;m.tj=function(){};m.Vk=function(){};m.Jj=function(){}; m.yj=function(){};m.xi=function(){};m.jk=function(){this.g||(this.g=this.xi());return this.g==null||this.l?new zr:new qt(this.g)};m.wi=function(){return new lt};var Yt=function(a,b){var c=a[b];c!==void 0&&c>0&&(a[b]=Math.floor(c*1E3))},Wt=function(){var a=Hp(),b={},c={},d={};return Object.assign({},(b.sv="967",b),bt!==null&&(c.v=bt,c),(d["if"]=a.l?"1":"0",d.nas=String(ks.g.length),d))};var $t=function(a){wr.call(this,"audio_audible",a)};q($t,wr);$t.prototype.g=function(a){return a.Rg()==4};var au=function(a){xr.call(this,"audio_measurable",a)};q(au,xr);au.prototype.g=function(a){a=a.Rg();return a==3||a==4};var bu=function(){nt.apply(this,arguments)};q(bu,nt);bu.prototype.j=function(){return new au(this.g)};bu.prototype.l=function(){return[new $t(this.g)]};var cu=function(){};q(cu,mr);cu.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 lr;b.g=nr(a,jr);b.j=nr(a,kr);return b};var du=function(a){this.j=a};du.prototype.report=function(a,b){var c=this.g(b);if(typeof c==="function"){var d={};var e={};d=Object.assign({},bt!==null&&(d.v=bt,d),(e.sv="967",e.cb=at,e.e=eu(a),e));e=Vr(b,a,Ip());Zb(d,e);b.Fl[a]=e;d=b.Yb()==2?dq(d).join("&"):b.pj.g(d).g;try{return c(b.fb,d,a),0}catch(f){return 2}}else return 1};var eu=function(a){var b=et(a)?"custom_metric_viewable":a;a=Rb(function(c){return c==b});return qp[a]};du.prototype.g=function(){return Ka(this.j)};var fu=function(a,b){this.j=a;this.l=b};q(fu,du);fu.prototype.g=function(a){if(!a.Vd)return du.prototype.g.call(this,a);if(this.l[a.Vd])return function(){};bp(393,Error());return null};var gu=function(){Lt.call(this);this.C=void 0;this.G=null;this.F=!1;this.P={};this.da=0;this.L="ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED"};q(gu,Lt);gu.prototype.A=function(a,b){var c=this,d=Zg(ts);if(d.g!=null)switch(d.g.getName()){case "nis":var e=hu(this,a,b);break;case "gsv":e=iu(this,a,b);break;case "exc":e=ju(this,a)}e||(b.opt_overlayAdElement?e=void 0:b.opt_adElement&&(e=Xt(this,a,b.opt_adElement,b.opt_osdId)));e&&e.Yb()==1&&(e.B==qf&&(e.B=function(f){return c.Jj(f)}),ku(this,e,b));return e}; var ku=function(a,b,c){c=c.opt_configurable_tracking_events;a.g!=null&&Array.isArray(c)&&Nt(a,c,b)}; gu.prototype.Jj=function(a){a.j=0;a.N=0;if(a.A=="h"||a.A=="n"){if(nc().o)var b=Ka("ima.bridge.getVideoMetadata");else if(a.Vd&&lu(this)){var c=this.P[a.Vd];c?b=function(e){return mu(c,e)}:c!==null&&bp(379,Error())}else b=Ka("ima.common.getVideoMetadata");if(typeof b==="function")try{var d=b(a.fb)}catch(e){a.j|=4}else a.j|=2}else if(a.A=="b")if(b=Ka("ytads.bulleit.getVideoMetadata"),typeof b==="function")try{d=b(a.fb)}catch(e){a.j|=4}else a.j|=2;else if(a.A=="ml")if(b=Ka("ima.common.getVideoMetadata"), typeof b==="function")try{d=b(a.fb)}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:Tb(d)?a.j|=32:d.errorCode!=null&&(a.N=d.errorCode,a.j|=64));d==null&&(d={});Zt(d,a);xp(d.volume)&&xp(this.C)&&(d.volume*=this.C);return d}; var iu=function(a,b,c){var d=hs(ks,b);d||(d=c.opt_nativeTime||-1,d=Mt(a,b,St(a),d),c.opt_osdId&&(d.Vd=c.opt_osdId));return d},hu=function(a,b,c){var d=hs(ks,b);d||(d=Mt(a,b,"n",c.opt_nativeTime||-1));return d},ju=function(a,b){var c=hs(ks,b);c||(c=Mt(a,b,"h",-1));return c};gu.prototype.xi=function(){if(lu(this))return new fu("ima.common.triggerExternalActivityEvent",this.P);var a=nu(this);return a!=null?new du(a):null}; var nu=function(a){var b=nc();switch(St(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};gu.prototype.tj=function(a){!a.g&&a.qc&&Tt(this,a,"overlay_unmeasurable_impression")&&(a.g=!0)}; gu.prototype.Vk=function(a){a.kl&&(a.gd()?Tt(this,a,"overlay_viewable_end_of_session_impression"):Tt(this,a,"overlay_unviewable_impression"),a.kl=!1)}; var ou=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.pj:a.wi();if(e.opt_bounds)return c.g(dt("ol",d));if(d!==void 0)if(ct(d)!==void 0)if(Xs)a=dt("ue",d);else if(Qt(a),Ws=="i")a=dt("i",d),a["if"]=0;else if(b=a.A(b,e)){b:{Ws=="i"&&(b.qc=!0,a.yj(b));f=e.opt_fullscreen;f!==void 0&&Rq(b,!!f);var g;if(g=!Hp().j&&!Cp()&&Xf(ah().j)){switch(b.Yb()){case 1:Ut(b,"pv");break;case 2:a.tj(b)}Rt("pv")}f=d.toLowerCase();if(g=!g)c:{if(kc(nc().ga, "ssmol")&&(g=a.l,f==="loaded"))break c;g=lb(np,f)}if(g&&b.bb==0){Ws!="i"&&(Ms.done=!1);g=e!==void 0?e.opt_nativeTime:void 0;gp=g=typeof g==="number"?g:ip();b.Gf=!0;var h=Ip();b.bb=1;b.Ya={};b.Ya.start=!1;b.Ya.firstquartile=!1;b.Ya.midpoint=!1;b.Ya.thirdquartile=!1;b.Ya.complete=!1;b.Ya.resume=!1;b.Ya.pause=!1;b.Ya.skip=!1;b.Ya.mute=!1;b.Ya.unmute=!1;b.Ya.viewable_impression=!1;b.Ya.measurable_impression=!1;b.Ya.fully_viewable_audible_half_duration_impression=!1;b.Ya.fullscreen=!1;b.Ya.exitfullscreen= !1;b.Bi=0;h||(b.lb().L=g);Ps(Ms,[b],!h)}(g=b.Ge[f])&&b.Ga.reportEvent(g);kc(nc().ga,"fmd")||lb(op,f)&&b.kd&&b.kd.j(b,null);switch(b.Yb()){case 1:var k=et(f)?a.T.custom_metric_viewable:a.T[f];break;case 2:k=a.Z[f]}if(k&&(d=k.call(a,b,e,d),kc(nc().ga,"fmd")&&lb(op,f)&&b.kd&&b.kd.j(b,null),d!==void 0)){e=dt(void 0,f);Zb(e,d);d=e;break b}d=void 0}b.bb==3&&a.o(b);a=d}else a=dt("nf",d);else a=void 0;else Xs?a=dt("ue"):f?(a=dt(),Zb(a,Ur(f,!0,!1,!1))):a=dt("nf");return typeof a==="string"?c.g():c.g(a)}; gu.prototype.N=function(a){this.l&&a.Yb()==1&&pu(this,a)};gu.prototype.yj=function(a){this.l&&a.Yb()==1&&pu(this,a)};var pu=function(a,b){var c;if(b.Vd&&lu(a)){var d=a.P[b.Vd];d?c=function(f,g){qu(d,f,g)}:d!==null&&bp(379,Error())}else c=Ka("ima.common.triggerViewabilityMeasurementUpdate");if(typeof c==="function"){var e=Pr(b);e.nativeVolume=a.C;c(b.fb,e)}},lu=function(a){return nc().o||St(a)!="h"&&St(a)!="m"?!1:a.da!=0}; gu.prototype.B=function(a,b,c,d){if(so(nc().flags,Jt)){var e=kc(nc().ga,"mm"),f={};(e=(f[Bb.Ll]="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO",f[Bb.VIDEO]="ACTIVE_VIEW_TRAFFIC_TYPE_VIDEO",f)[e])&&e&&(this.L=e);this.L==="ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED"&&bp(1044,Error())}a=Lt.prototype.B.call(this,a,b,c,d);this.F&&(b=this.G,a.l==null&&(a.l=new Zq),b.g[a.fb]=a.l,a.l.A=Yr);return a};gu.prototype.o=function(a){a&&a.Yb()==1&&this.F&&delete this.G.g[a.fb];return Lt.prototype.o.call(this,a)}; gu.prototype.jk=function(){this.g||(this.g=this.xi());return this.g==null||this.l?new zr:this.L==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new bu(this.g):new qt(this.g)};gu.prototype.wi=function(){return this.L==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new cu:new lt};var ru=function(a){var b={};return b.viewability=a.g,b.googleViewability=a.j,b},tu=function(a,b,c){c=c===void 0?{}:c;a=ou(Zg(gu),b,c,a);return ru(a)},uu=ap(193,tu,void 0,Wt);Ja("Goog_AdSense_Lidar_sendVastEvent",uu); var vu=ap(194,function(a,b){b=b===void 0?{}:b;a=ou(Zg(gu),a,b);return ru(a)});Ja("Goog_AdSense_Lidar_getViewability",vu);var wu=ap(195,function(){return ch()});Ja("Goog_AdSense_Lidar_getUrlSignalsArray",wu);var xu=ap(196,function(){return JSON.stringify(ch())});Ja("Goog_AdSense_Lidar_getUrlSignalsList",xu);var yu=[0,Xn,[0,zn,Mn],[0,Ln,Xn,[0,Tn,Xn,[0,Tn,Cn,fo,Un]]]];var zu=ra(["//ep2.adtrafficquality.google/sodar/",""]),Au=ra(["//tpc.googlesyndication.com/sodar/",""]);B.console&&typeof B.console.log==="function"&&Ta(B.console.log,B.console);var Bu=function(a){for(var b=[],c=a=Qe(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};var Cu=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.j=!1};Cu.prototype.stopPropagation=function(){this.j=!0};Cu.prototype.preventDefault=function(){this.defaultPrevented=!0};var Du=function(a,b){Cu.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.fc=null;a&&this.init(a,b)};Xa(Du,Cu); Du.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;b=a.relatedTarget;b||(c=="mouseover"?b=a.fromElement:c=="mouseout"&&(b=a.toElement));this.relatedTarget=b;d?(this.clientX=d.clientX!==void 0?d.clientX:d.pageX,this.clientY=d.clientY!==void 0?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0):(this.g=Wd||a.offsetX!==void 0?a.offsetX:a.layerX,this.l=Wd|| a.offsetY!==void 0?a.offsetY:a.layerY,this.clientX=a.clientX!==void 0?a.clientX:a.pageX,this.clientY=a.clientY!==void 0?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0);this.button=a.button;this.key=a.key||"";this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.pointerId=a.pointerId||0;this.pointerType=a.pointerType;this.state=a.state;this.fc=a;a.defaultPrevented&&Du.wc.preventDefault.call(this)}; Du.prototype.stopPropagation=function(){Du.wc.stopPropagation.call(this);this.fc.stopPropagation?this.fc.stopPropagation():this.fc.cancelBubble=!0};Du.prototype.preventDefault=function(){Du.wc.preventDefault.call(this);var a=this.fc;a.preventDefault?a.preventDefault():a.returnValue=!1};var Eu="closure_listenable_"+(Math.random()*1E6|0),Fu=function(a){return!(!a||!a[Eu])};var Gu=0;var Hu=function(a,b,c,d,e){this.listener=a;this.proxy=null;this.src=b;this.type=c;this.capture=!!d;this.handler=e;this.key=++Gu;this.hg=this.Cg=!1},Iu=function(a){a.hg=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};function Ju(a){this.src=a;this.g={};this.j=0}Ju.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=Ku(a,b,d,e);g>-1?(b=a[g],c||(b.Cg=!1)):(b=new Hu(b,this.src,f,!!d,e),b.Cg=c,a.push(b));return b};Ju.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.g))return!1;var e=this.g[a];b=Ku(e,b,c,d);return b>-1?(Iu(e[b]),ob(e,b),e.length==0&&(delete this.g[a],this.j--),!0):!1}; var Lu=function(a,b){var c=b.type;c in a.g&&nb(a.g[c],b)&&(Iu(b),a.g[c].length==0&&(delete a.g[c],a.j--))};Ju.prototype.Kf=function(a,b,c,d){a=this.g[a.toString()];var e=-1;a&&(e=Ku(a,b,c,d));return e>-1?a[e]:null};var Ku=function(a,b,c,d){for(var e=0;e>>0),Ru=function(a){if(typeof a==="function")return a;a[Zu]||(a[Zu]=function(b){return a.handleEvent(b)});return a[Zu]};var O=function(){hq.call(this);this.C=new Ju(this);this.ih=this;this.da=null};Xa(O,hq);O.prototype[Eu]=!0;m=O.prototype;m.addEventListener=function(a,b,c,d){Qu(this,a,b,c,d)};m.removeEventListener=function(a,b,c,d){Xu(this,a,b,c,d)}; m.dispatchEvent=function(a){var b,c=this.da;if(c)for(b=[];c;c=c.da)b.push(c);c=this.ih;var d=a.type||a;if(typeof a==="string")a=new Cu(a,c);else if(a instanceof Cu)a.target=a.target||c;else{var e=a;a=new Cu(d,c);Zb(a,e)}e=!0;var f;if(b)for(f=b.length-1;!a.j&&f>=0;f--){var g=a.currentTarget=b[f];e=$u(g,d,!0,a)&&e}a.j||(g=a.currentTarget=c,e=$u(g,d,!0,a)&&e,a.j||(e=$u(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 cv=function(a,b){a.o(b);a.j<100&&(a.j++,b.next=a.g,a.g=b)};var dv=function(){this.j=this.g=null};dv.prototype.add=function(a,b){var c=ev.get();c.set(a,b);this.j?this.j.next=c:this.g=c;this.j=c};dv.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 ev=new bv(function(){return new fv},function(a){return a.reset()}),fv=function(){this.next=this.g=this.j=null};fv.prototype.set=function(a,b){this.j=a;this.g=b;this.next=null};fv.prototype.reset=function(){this.next=this.g=this.j=null};var gv,hv=!1,iv=new dv,kv=function(a,b){gv||jv();hv||(gv(),hv=!0);iv.add(a,b)},jv=function(){var a=Promise.resolve(void 0);gv=function(){a.then(lv)}};function lv(){for(var a;a=iv.remove();){try{a.j.call(a.g)}catch(b){nh(b)}cv(ev,a)}hv=!1};var nv=function(a){this.g=0;this.B=void 0;this.o=this.j=this.l=null;this.A=this.C=!1;if(a!=qf)try{var b=this;a.call(void 0,function(c){mv(b,2,c)},function(c){mv(b,3,c)})}catch(c){mv(this,3,c)}},ov=function(){this.next=this.context=this.j=this.l=this.g=null;this.o=!1};ov.prototype.reset=function(){this.context=this.j=this.l=this.g=null;this.o=!1};var pv=new bv(function(){return new ov},function(a){a.reset()}),qv=function(a,b,c){var d=pv.get();d.l=a;d.j=b;d.context=c;return d}; nv.prototype.then=function(a,b,c){return rv(this,av(typeof a==="function"?a:null),av(typeof b==="function"?b:null),c)};nv.prototype.$goog_Thenable=!0;nv.prototype.L=function(a,b){return rv(this,null,av(a),b)};nv.prototype.catch=nv.prototype.L;nv.prototype.cancel=function(a){if(this.g==0){var b=new tv(a);kv(function(){uv(this,b)},this)}}; var uv=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?uv(c,b):(f?(d=f,d.next==c.o&&(c.o=d),d.next=d.next.next):vv(c),wv(c,e,3,b)))}a.l=null}else mv(a,3,b)},yv=function(a,b){a.j||a.g!=2&&a.g!=3||xv(a);a.o?a.o.next=b:a.j=b;a.o=b},rv=function(a,b,c,d){var e=qv(null,null,null);e.g=new nv(function(f,g){e.l=b?function(h){try{var k=b.call(d,h);f(k)}catch(l){g(l)}}:f;e.j=c?function(h){try{var k=c.call(d, h);k===void 0&&h instanceof tv?g(h):f(k)}catch(l){g(l)}}:g});e.g.l=a;yv(a,e);return e.g};nv.prototype.D=function(a){this.g=0;mv(this,2,a)};nv.prototype.F=function(a){this.g=0;mv(this,3,a)}; var mv=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.D,f=a.F;if(d instanceof nv){yv(d,qv(e||qf,f||null,a));var g=!0}else{if(d)try{var h=!!d.$goog_Thenable}catch(l){h=!1}else h=!1;if(h)d.then(e,f,a),g=!0;else{if(Oa(d))try{var k=d.then;if(typeof k==="function"){zv(d,k,e,f,a);g=!0;break a}}catch(l){f.call(a,l);g=!0;break a}g=!1}}}g||(a.B=c,a.g=b,a.l=null,xv(a),b!=3||c instanceof tv||Av(a,c))}},zv=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)}},xv=function(a){a.C||(a.C=!0,kv(a.P,a))},vv=function(a){var b=null;a.j&&(b=a.j,a.j=b.next,b.next=null);a.j||(a.o=null);return b};nv.prototype.P=function(){for(var a;a=vv(this);)wv(this,a,this.g,this.B);this.C=!1}; var wv=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,Bv(b,c,d);else try{b.o?b.l.call(b.context):Bv(b,c,d)}catch(e){Cv.call(null,e)}cv(pv,b)},Bv=function(a,b,c){b==2?a.l.call(a.context,c):a.j&&a.j.call(a.context,c)},Av=function(a,b){a.A=!0;kv(function(){a.A&&Cv.call(null,b)})},Cv=nh,tv=function(a){Ya.call(this,a)};Xa(tv,Ya);tv.prototype.name="cancel";var Dv=function(a,b){O.call(this);this.j=a||1;this.g=b||B;this.l=Ta(this.bp,this);this.o=Va()};Xa(Dv,O);m=Dv.prototype;m.enabled=!1;m.hc=null;m.setInterval=function(a){this.j=a;this.hc&&this.enabled?(this.stop(),this.start()):this.hc&&this.stop()};m.bp=function(){if(this.enabled){var a=Va()-this.o;a>0&&a2147483647?-1:B.setTimeout(a,b||0)},Fv=function(a){B.clearTimeout(a)},Gv=function(){var a=null;return(new nv(function(b,c){a=Ev(function(){b(void 0)},2E3);a==-1&&c(Error("Failed to schedule timer."))})).L(function(b){Fv(a);throw b;})};var Hv=function(){return Math.round(Date.now()/1E3)};var Iv=function(){this.g={};return this};Iv.prototype.remove=function(a){var b=this.g;a in b&&delete b[a]};Iv.prototype.set=function(a,b){this.g[a]=b};var Jv=function(a,b){a.g.eb=Vb(a.g,"eb",0)|b};Iv.prototype.get=function(a){return Vb(this.g,a,null)};var Kv=null,Lv=function(){this.g={};this.j=0},Mv=function(){Kv||(Kv=new Lv);return Kv},Nv=function(a,b){a.g[b.getName()]=b},Ov=function(a,b){this.o=a;this.l=!0;this.g=b};Ov.prototype.getName=function(){return this.o};Ov.prototype.getValue=function(){return this.g};Ov.prototype.j=function(){return String(this.g)};var Pv=function(a,b){Ov.call(this,String(a),b);this.A=a;this.g=!!b};q(Pv,Ov);Pv.prototype.j=function(){return this.g?"1":"0"};var Qv=function(a,b){Ov.call(this,a,b)};q(Qv,Ov); Qv.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 Rv=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 Qv("",new wf(c,b,Number(a[3])-c,Number(a[2])-b))}return new Qv("",new wf(0,0,0,0))};var Sv=function(a){var b=new wf(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new wf(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d0?(e=xf(b),f=xf(c),e=e.top>=f.top&&e.top0?(e=xf(b),f=xf(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;Nv(a,new Pv(1024,e));d&&d>0?(e=xf(b),f=xf(c),e=e.left>=f.left&&e.left0?(b=xf(b),c=xf(c),c=b.right<=c.right&&b.right>c.left):c=!1;Nv(a,new Pv(4096,c))}};var Vv=function(a,b){var c=0;Ob(Qe(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){a=Mv();a.g={};var e=new Pv(32,!0);e.l=!1;Nv(a,e);e=Qe().document;e=e.visibilityState||e.webkitVisibilityState||e.mozVisibilityState||e.msVisibilityState||"";Nv(a,new Pv(64,e.toLowerCase().substring(e.length-6)!="hidden"?!0:!1));a:{try{var f=Qe().top;try{var g=!!f.location.href||f.location.href===""}catch(n){g=!1}if(g){var h=Bu(d);var k=h&&h.length!=0?"1":"0";break a}k="2";break a}catch(n){k="2"; break a}k=void 0}Nv(a,new Pv(256,k=="2"));Nv(a,new Pv(128,k=="1"));h=g=Qe().top;k=="2"&&(h=Qe());f=Tv(d,h);Nv(a,new Qv("er",f));try{var l=h.document&&!h.document.body?null:Oe(h||window)}catch(n){l=null}l?(h=hf(Ie(h.document)),Nv(a,new Pv(16384,!!h)),l=h?new wf(h.x,h.y,l.width,l.height):null):l=null;Nv(a,new Qv("vi",l));if(l&&"1"==k){k=Bu(d);d=[];for(h=0;h0?Math.round(window.performance.timing.domLoading/1E3):null;c.set.call(c,"td",Hv()-(a!=null?a:b!=null?b:Hv()))};new Dv(200); var Wv=function(a,b){try{var c=new Vv(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,l=c.l;e=d;f=[];e||(e=0);for(var n in l.g){var p=l.g[n];if(p instanceof Pv)p.getValue()&&(e|=p.A);else{var r=l.g[n],t=r.l?r.j():"";t&&f.push(n+t)}}f.push("eb"+String(e));(k=f.join("_"))&&a.push(k);c.g.set("eb",d);return a.join("_")}catch(u){return"tle;"+Hd(u.name,12)+";"+Hd(u.message, 40)}};var Xv=function(a){this.K=I(a)};q(Xv,L);var Yv=function(a){var b=new Xv;return gl(b,1,a)};var Zv=[0,fo];Xv.prototype.R=M(Zv);var $v=function(a){this.K=I(a)};q($v,L);var aw=function(a){var b=window.Date.now();b=Number.isFinite(b)?Math.round(b):0;ck(a,3,b==null?b:jj(b))};$v.prototype.getError=function(){return J(this,Xv,10)};$v.prototype.j=function(a){return Mk(this,10,a)};var bw=mo($v);$v.prototype.R=M([0,Tn,-1,Cn,Mn,-2,Cn,wn,Rn,Zv,Rn]);var cw=function(a){this.K=I(a)};q(cw,L);cw.prototype.getName=function(){return K(this,1)};cw.prototype.getValue=function(){return K(this,2)};var dw=[0,Tn,-1];cw.prototype.R=M(dw);var ew=function(a){this.K=I(a)};q(ew,L);var fw=[0,Tn];ew.prototype.R=M(fw);var gw=function(a){this.K=I(a)};q(gw,L);var hw=[0,Tn];gw.prototype.R=M(hw);var iw=function(a){this.K=I(a)};q(iw,L);var jw=[0,Xn,hw];iw.prototype.R=M(jw);var kw=function(a){this.K=I(a)};q(kw,L);var lw=[2];var mw=[0,lw,Tn,Zn,jw];kw.prototype.R=M(mw);var nw=function(a){this.K=I(a)};q(nw,L);var ow=[1,2];var pw=[0,ow,Zn,mw,Zn,fw];nw.prototype.R=M(pw);var qw=function(a){this.K=I(a)};q(qw,L);var rw=function(a){return Qk(a,1)};var tw=[0,Rn,Xn,pw];qw.prototype.R=M(tw);var uw=function(a){this.K=I(a)};q(uw,L);var vw=function(a){return K(a,3)},ww=function(a){return K(a,18)},xw=function(a){return K(a,6)},yw=function(a){return K(a,7)},zw=function(a){return K(a,16)},Aw=function(a){return K(a,17)},Bw=function(a){return Qk(a,24)},Cw=function(a){return Qk(a,29)},Dw=function(a){return Vk(a,27)},Ew=function(a){return Rk(a,28)};var Fw=[0,Tn,-2,1,Tn,-2,3,Tn,-10,Mn,Tn,Rn,Mn,Rn,fo,Mn,Rn];uw.prototype.R=M(Fw);var Gw=function(a){this.K=I(a)};q(Gw,L);var Hw=[0,Tn,-1,Rn];Gw.prototype.R=M(Hw);var Iw=function(a){this.K=I(a)};q(Iw,L);var Jw=[0,Tn,Hw];Iw.prototype.R=M(Jw);var Kw=function(a){this.K=I(a)};q(Kw,L);var Lw=[0,Tn,Xn,Jw];Kw.prototype.R=M(Lw);var Mw=function(a){this.K=I(a)};q(Mw,L);var Nw=[0,Tn,Hw,Lw,Hw];Mw.prototype.R=M(Nw);var ek=function(a){this.K=I(a)};q(ek,L);var Ow=function(a){return J(a,uw,29)};var Pw=[0,1,Tn,1,Tn,-2,Hw,4,Tn,1,Tn,-5,1,Tn,-5,Rn,Xn,Nw,Fw,Tn,-2,Rn,-1,Tn,-5,Rn,Tn,Rn];ek.prototype.R=M(Pw);var Qw=function(a){this.K=I(a)};q(Qw,L);var Rw=mo(Qw);Qw.prototype.R=M([0,Pw,2,Rn,1,Rn,Mn,-1,Rn,-6,1,Rn,-2,1,Xn,dw,Mn,-1,Rn,2,Rn,2,Tn,Rn,1,Tn,-1,Rn,tw,Rn]);var Sw=function(a){this.K=I(a)};q(Sw,L);Sw.prototype.R=M([0,Tn,Mn,Tn,-5,fo,Tn,-4]);function Tw(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 Ww=function(){var a=Uw;this.A=Vw;this.C="jserror";this.j=!0;this.g=a===void 0?null:a;this.l=null;this.o=!1;this.Li=this.Lc};m=Ww.prototype;m.zj=function(a){this.l=a};m.dl=function(a){this.C=a};m.Aj=function(a){this.j=a};m.gl=function(a){this.o=a}; m.ze=function(a,b,c){try{if(this.g&&this.g.l){var d=this.g.start(a.toString(),3);var e=b();this.g.end(d)}else e=b()}catch(h){b=this.j;try{Ho(d),b=this.Li(a,new wo(h,{message:Tw(h)}),void 0,c)}catch(k){this.Lc(217,k)}if(b){var f,g;(f=window.console)==null||(g=f.error)==null||g.call(f,h)}else throw h;}return e};m.Kh=function(a,b,c,d){var e=this;return function(){var f=Fa.apply(0,arguments);return e.ze(a,function(){return b.apply(c,f)},d)}}; m.Lc=function(a,b,c,d,e){e=e||this.C;var f=void 0;try{var g=new Fg;Kg(g,1,"context",a);xo(b)||(b=new wo(b,{message:Tw(b)}));b.msg&&Kg(g,2,"msg",b.msg.substring(0,512));var h=b.meta||{};if(this.l)try{this.l(h)}catch(n){}if(d)try{d(h)}catch(n){}Jg(g,3,[h]);f=Eg();f.j&&Kg(g,4,"top",f.j.url||"");Jg(g,5,[{url:f.g.url||""},{url:f.g.url?Jo(f.g.url):""}]);Xw(this.A,e,g,this.o,c)}catch(n){try{var k,l;Xw(this.A,e,{context:"ecmserr",rctx:a,msg:Tw(n),url:(l=(k=f)==null?void 0:k.g.url)!=null?l:""},this.o,c)}catch(p){}}return this.j};var Yw=function(a){this.K=I(a)};q(Yw,L);var Zw=[2,3,4];var $w=[0,Zw,fo,io,-2];Yw.prototype.R=M($w);var ax=function(a){this.K=I(a)};q(ax,L);var bx=[3,4,5],cx=[6,7];var dx=function(a){this.K=I(a)};q(dx,L);var ex=[4,5];var fx=[0,bx,cx,ho,Xn,function(){return fx},io,-2,vn,Wn,Un];ax.prototype.R=M(fx);var gx=[0,ex,fx,fo,Mn,io,Zn,$w];dx.prototype.R=M(gx);function hx(a,b){var c=Kk(a,ax,2,kk());if(!c.length)return ix(a,b);a=Vk(a,1);if(a===1){var d=hx(c[0],b);return d.success?{success:!0,value:!d.value}:d}c=db(c,function(h){return hx(h,b)});switch(a){case 2:var e;return(e=(d=c.find(function(h){return h.success&&!h.value}))!=null?d:c.find(function(h){return!h.success}))!=null?e:{success:!0,value:!0};case 3:var f,g;return(g=(f=c.find(function(h){return h.success&&h.value}))!=null?f:c.find(function(h){return!h.success}))!=null?g:{success:!0,value:!1};default:return{success:!1, Wb:3}}} function ix(a,b){var c=Hk(a,bx);a:{switch(c){case 3:var d=Wk(a,3,bx);break a;case 4:d=Wk(a,4,bx);break a;case 5:d=Wk(a,5,bx);break a}d=void 0}if(!d)return{success:!1,Wb:2};b=(b=b[c])&&b[d];if(!b)return{success:!1,rd:d,fg:c,Wb:1};try{var e=b.apply;var f=lk(a,8,yj,kk());var g=e.call(b,null,x(f))}catch(h){return{success:!1,rd:d,fg:c,Wb:2}}e=Vk(a,1);if(e===4)return{success:!0,value:!!g};if(e===5)return{success:!0,value:g!=null};if(e===12)a=K(a,gk(a,cx,7));else a:{switch(c){case 4:a=Uk(a,gk(a,cx,6));break a; case 5:a=K(a,gk(a,cx,7));break a}a=void 0}if(a==null)return{success:!1,rd:d,fg:c,Wb:3};if(e===6)return{success:!0,value:g===a};if(e===9)return{success:!0,value:g!=null&&Ec(String(g),a)===0};if(g==null)return{success:!1,rd:d,fg:c,Wb:4};switch(e){case 7:c=ga;break;case 12:c=ag(a)&&ag(g)&&(new RegExp(a)).test(g);break;case 10:c=g!=null&&Ec(String(g),a)===-1;break;case 11:c=g!=null&&Ec(String(g),a)===1;break;default:return{success:!1,Wb:3}}return{success:!0,value:c}} function jx(a,b){return a?b?hx(a,b):{success:!1,Wb:1}:{success:!0,value:!0}};var kx=function(a){this.K=I(a)};q(kx,L);var lx=function(a){return lk(a,4,yj,kk())};var mx=function(a){this.K=I(a)};q(mx,L);mx.prototype.getValue=function(){return J(this,kx,2)};var nx=[0,Sn,un,Vn,Un];kx.prototype.R=M(nx);var ox=[0,fx,nx];mx.prototype.R=M(ox);var px=function(a){this.K=I(a)};q(px,L);var qx=function(a){Vj(a);a=a.K;var b=a[$h]|0,c=Zj(a,4),d=void 0===ni,e=zj(c,kx,!d,b);!d||e?(e=Tj(e),c!==e&&(b=bk(a,b,4,e),Wj(a,b)),a=e):a=void 0;return a},rx=mo(px),sx=[1,2,3,6,7,8];var tx=[0,sx,io,-2,nx,Xn,ox,io,-2];px.prototype.R=M(tx);var ux=function(a){this.K=I(a)};q(ux,L);var vx=[0,ho,Vn];ux.prototype.R=M(vx);var wx=lo(vx);function xx(a,b){try{var c=function(d){var e={};return[(e[d.xc]=d.Xf,e)]};return JSON.stringify([a.filter(function(d){return d.Nb}).map(c),Jj(b),a.filter(function(d){return!d.Nb}).map(c)])}catch(d){return yx(d,b),""}}function zx(a,b){var c=new bm;try{var d=a.filter(function(f){return f.Nb}).map(Ax);km(c,1,d);im(c,2,wx(b),jm);var e=a.filter(function(f){return!f.Nb}).map(Ax);km(c,3,e)}catch(f){yx(f,b)}return gm(c)} function yx(a,b){try{Tg({m:Tw(a instanceof Error?a:Error(String(a))),b:Vk(b,1)||null,v:K(b,2)||null},"rcs_internal")}catch(c){}}function Ax(a){var b=new bm;im(b,a.xc,a.lg,jm);return gm(b)}function jm(a,b){a=a.subarray(0,a.length);cm(b,b.g.end());cm(b,a)}var Bx=function(a,b){var c=new ux;a=hl(c,1,a);b=el(a,2,b);this.j=Bm(b)};var Cx=function(a){this.K=I(a)};q(Cx,L);Cx.prototype.getTagSessionCorrelator=function(){return Tk(this,1)};var Dx=function(a,b){return cl(a,1,b)},Ex=function(a,b){return cl(a,2,b)},Fx=function(a,b){return hl(a,3,b)};var Gx=[0,Kn,-1,ho];Cx.prototype.R=M(Gx);var Hx=lo(Gx);var Ix=function(a){this.K=I(a)};q(Ix,L);var Jx=function(){var a=new Ix;return Pk(a,1,dj,[20],ej)};var Kx=[0,go];Ix.prototype.R=M(Kx);var Lx=[0,Mn];var Mx=function(a){this.K=I(a)};q(Mx,L);var Nx=[0,Mn,-1,fo];Mx.prototype.R=M(Nx);var Ox=function(a){this.K=I(a)};q(Ox,L);var Px=function(a,b){return hl(a,1,b)},Qx=function(a,b){return hl(a,2,b)};var Rx=[0,ho,-1];Ox.prototype.R=M(Rx);var Sx=function(a){this.K=I(a)};q(Sx,L);var Tx=[1,2];var Ux=[0,Tx,io,-1,On];Sx.prototype.R=M(Ux);var Vx=function(a){this.K=I(a)};q(Vx,L);var Wx=function(a,b){return Mk(a,1,b)},Xx=function(a,b){return Ok(a,2,b)},Yx=function(a,b){return tk(a,4,b,fj)},Zx=function(a,b){return Ok(a,5,b)},$x=function(a,b){return hl(a,6,b)};var ay=[0,Rx,Xn,Rx,1,Nn,Xn,Ux,ho];Vx.prototype.R=M(ay);var by=function(a){this.K=I(a)};q(by,L);var cy=[1,2,3,4,6];var dy=[0,cy,io,-3,Nn,io];by.prototype.R=M(dy);var ey=function(a){this.K=I(a)};q(ey,L);var fy=[0,On,Xn,dy,-1];ey.prototype.R=M(fy);var gy=function(a){this.K=I(a)};q(gy,L);gy.prototype.getTagSessionCorrelator=function(){return Tk(this,2)};var iy=function(a){var b=new gy;return Nk(b,4,hy,a)},hy=[4,5,7,8,9];var jy=[0,hy,Kn,-1,1,Zn,ay,Zn,Lx,Kn,Zn,fy,Zn,Nx,Zn,gx];gy.prototype.R=M(jy);var ky=lo(jy);var ly=function(a){this.K=I(a)};q(ly,L);ly.prototype.Be=function(a){return cl(this,7,a)};ly.prototype.mg=function(a){return cl(this,8,a)};var my=[0,Vn,-1,Mn,ho,Kx,Kn,-2,ho,Nn,Vn];ly.prototype.R=M(my);var ny=function(a){this.K=I(a)};q(ny,L);var oy=[0,Mn,-2];ny.prototype.R=M(oy);var py=function(a){this.K=I(a)};q(py,L);var qy=[0,On,-1];py.prototype.R=M(qy);var ry=function(a){this.K=I(a)};q(ry,L);var sy=[0,On,-1];ry.prototype.R=M(sy);var ty=function(a){this.K=I(a)};q(ty,L);ty.prototype.Fd=function(){return J(this,py,2)};ty.prototype.getSize=function(){return J(this,ry,3)};ty.prototype.getDuration=function(){return J(this,ny,4)};var uy=[0,ho,qy,sy,oy];ty.prototype.R=M(uy);var vy=[0,qy,sy,oy,Mn];var wy=function(a){this.K=I(a)};q(wy,L);wy.prototype.getSize=function(){return J(this,ry,2)};var yy=[0,ho,sy];wy.prototype.R=M(yy);var zy=function(a){this.K=I(a)};q(zy,L);var Ay=mo(zy);var By=[0,yy,vy,uy,my,ho];zy.prototype.R=M(By);var Cy=lo(By);var Dy=function(a){this.K=I(a)};q(Dy,L);var Ey=[0,ho,On];Dy.prototype.R=M(Ey);var Fy=function(a){this.K=I(a)};q(Fy,L);var Gy=function(a,b){return cl(a,1,b)},Hy=function(a){return cl(a,2,Date.now())},Iy=mo(Fy);var Jy=[0,Kn,-1];Fy.prototype.R=M(Jy);var Ky=function(a){this.K=I(a)};q(Ky,L);var Ly=[0,ho,fo,-1,Jy,-1];Ky.prototype.R=M(Ly);var My=function(a){this.K=I(a)};q(My,L);My.prototype.Be=function(a){return cl(this,3,a)};var Ny=[6];var Oy=[0,Ny,Kx,Kn,-1,Ey,Nn,Zn,Ly];My.prototype.R=M(Oy);var Py=lo(Oy);var Qy=[0,Vn,-2,ho,Vn];var Ry=function(a){this.K=I(a)};q(Ry,L);var Sy=function(a,b){Mk(a,13,b)};Ry.prototype.R=M([0,Jy,-19,Kn,Jy]);var Ty=[0,Vn,-1,Tn,[0,Nn],1,ho,Vn,-1];var Uy=[0,Vn,On,Un];var Vy=[0,Qy];var Wy=function(a){this.K=I(a)};q(Wy,L);Wy.prototype.mg=function(a){return cl(this,1,a)};Wy.prototype.Be=function(a){return cl(this,2,a)};var Xy=[0,Kn,-1];Wy.prototype.R=M(Xy);var Yy=function(a){this.K=I(a)};q(Yy,L);var Zy=[0,[1],Zn,Vy,Xy];Yy.prototype.R=M(Zy);var $y=[0,kq,Vn];var az=[0,Vn,-1,Un,-1,$y];var bz=function(a){this.K=I(a)};q(bz,L);var cz=[0,ho,Vn,-1,Un,-1,$y];bz.prototype.R=M(cz);var dz=function(a){this.K=I(a)};q(dz,L);dz.prototype.getTagSessionCorrelator=function(){return Tk(this,1)};var ez=[0,Kn,Nn,Vn];dz.prototype.R=M(ez);var fz=function(a){this.K=I(a)};q(fz,L);var gz=[1,7],hz=[4,6,8];var iz=[0,gz,hz,Zn,cz,ez,1,Zn,Uy,Kn,Zn,Ty,Zn,az,Zn,Zy];fz.prototype.R=M(iz);var jz=lo(iz);var kz=[0,Vn,xn,yn,[0,On,Xn,[0,tn]]];var lz=[0,bo,-1];var mz=[0,fo,Xn,function(){return mz},Xn,lz,Sn,Un];var nz=[0,Xn,[0,fo,-1,co,Un,mz,Rn,-1,bo,$n,[0,Mn,-1,co],Xn,[0,$n,Un,wn,-1],Sn],Xn,[0,fo,-1,co,Un,Xn,lz,$n,Xn,[0,Mn,-1,Nn],Sn],Un];var oz=[0,Sn,-2,1,Sn,-3,On,Sn,-2];var pz=[0,un,-3,[0,un,-1],un,-3,Sn,-1,un,-1];var qz=[0,go,yn,xn];var rz=[0,[0,Xn,kz,-2,yn,Xn,kz,-1],Xn,[0,Bn,-1,un],[0,Sn,-1,pz,-1,Sn,-3,On,Sn,qz,yn,Sn,-4,[0,Xn,[0,[0,ho,On,-1,1,On,-2],ho]],Sn,-7,On,Sn,-6,yn,Sn,-5,Nn,yn,Sn,yn,-2,Sn,-4,yn,Sn,-10,Nn,Sn,-3,ho,Sn],Vn,nz,pz,-1,un,-2,Sn,oz,3,[0,Tn,zn,-2,sn,Bn,Sn],On,qz,[0,[0,Tn,-6]],Vn,Sn,[0,Nn,-1,Sn,Rn,-2],Xn,[0,Bn,-1,un,Bn,un,Bn,On,Bn,-3],Vn,un,Sn,Vn,-1,yu,Rn,Xn,[0,Bn,Vn,ho,Kn,-1,Un,An],Vn,-2,un,Pn,Kn,un,-1,Sn];var sz=[0,un];var tz=[0,[0,un],Bn,-2,Sn];var uz=[0,On,An];var vz=function(a){this.K=I(a)};q(vz,L);vz.prototype.getEscapedQemQueryId=function(){return K(this,2)};var wz=[0,Rn,Xn,[0,zn,-1]];var xz=[0,[0,Vn,[0,[0,Nn,-2,Sn,-1],[0,An],[0,Nn,Sn,Nn,Sn],[0,Un],[0,Nn,Sn],[0,Xn,wz],[0,Sn,-1]],[0,Xn,[0,[0,Dn,-1,go,Un,wz,Sn,[0,[0,Rn,An],-2]],Kn],1,un],On,[0,On,-2,ho]],Vn,nz,Sn,tz,Vn,Sn,-3,Vn,oz,On,-1,1,Sn,-2,Vn,1,Sn,-2,gn,[!0,Tn,sz],Sn,-2,2,go,gn,[!0,Tn,uz],Sn];vz.prototype.R=M(xz);var yz=function(){Bx.apply(this,arguments)};q(yz,Bx);var zz=function(){yz.apply(this,arguments)};q(zz,yz);m=zz.prototype;m.kg=function(){this.o.apply(this,x(Fa.apply(0,arguments).map(function(a){return{Nb:!0,xc:4,Xf:Jj(a)}})))};m.Zk=function(){this.o.apply(this,x(Fa.apply(0,arguments).map(function(a){return{Nb:!0,xc:16,Xf:Jj(a)}})))};m.cl=function(){this.o.apply(this,x(Fa.apply(0,arguments).map(function(a){return{Nb:!0,xc:20,Xf:Jj(a)}})))}; m.al=function(){this.o.apply(this,x(Fa.apply(0,arguments).map(function(a){return{Nb:!0,xc:25,Xf:Jj(a)}})))};m.bl=function(){this.o.apply(this,x(Fa.apply(0,arguments).map(function(a){return{Nb:!0,xc:27,Xf:Jj(a)}})))};var Az=function(){yz.apply(this,arguments)};q(Az,yz);m=Az.prototype;m.kg=function(){this.g.apply(this,x(Fa.apply(0,arguments).map(function(a){return{Nb:!0,xc:4,lg:ky(a)}})))};m.Zk=function(){this.g.apply(this,x(Fa.apply(0,arguments).map(function(a){return{Nb:!0,xc:16,lg:Hx(a)}})))}; m.cl=function(){this.g.apply(this,x(Fa.apply(0,arguments).map(function(a){return{Nb:!0,xc:20,lg:Py(a)}})))};m.al=function(){this.g.apply(this,x(Fa.apply(0,arguments).map(function(a){return{Nb:!0,xc:25,lg:Cy(a)}})))};m.bl=function(){this.g.apply(this,x(Fa.apply(0,arguments).map(function(a){return{Nb:!0,xc:27,lg:jz(a)}})))};function Bz(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 Cz=function(a,b,c,d,e,f,g,h){zz.call(this,a,b);this.L=c;this.B=d;this.F=e;this.P=f;this.D=g;this.A=h;this.g=[];this.l=null;this.C=!1};q(Cz,zz);var Dz=function(a){a.l!==null&&(clearTimeout(a.l),a.l=null);if(a.g.length){var b=xx(a.g,a.j);a.B(a.L+"?e=1",b);a.g=[]}}; Cz.prototype.o=function(){var a=Fa.apply(0,arguments),b=this;try{this.D&&xx(this.g.concat(a),this.j).length>=65536&&Dz(this),this.A&&!this.C&&(this.C=!0,this.A.g(function(){Dz(b)})),this.g.push.apply(this.g,x(a)),this.g.length>=this.P&&Dz(this),this.g.length&&this.l===null&&(this.l=setTimeout(function(){Dz(b)},this.F))}catch(c){yx(c,this.j)}}; var Ez=function(a,b,c,d,e,f){Cz.call(this,a,b,"https://pagead2.googlesyndication.com/pagead/ping",Bz,c===void 0?1E3:c,d===void 0?100:d,(e===void 0?!1:e)&&!!globalThis.fetch,f)};q(Ez,Cz);var Fz=function(a,b,c){var d=d===void 0?new Ez(6,"unknown",b):d;this.A=a;this.o=c;this.j=d;this.g=[];this.l=a>0&&pg()<1/a},Hz=function(a,b,c,d,e,f){if(a.l){var g=Qx(Px(new Ox,b),c);b=$x(Xx(Wx(Zx(Yx(new Vx,d),e),g),a.g.slice()),f);b=iy(b);a.j.kg(Gz(a,b));if(f===1||f===3||f===4&&!a.g.some(function(h){return Vk(h,1)===Vk(g,1)&&Vk(h,2)===c}))a.g.push(g),a.g.length>100&&a.g.shift()}},Iz=function(a,b,c,d){if(a.l){var e=new Mx;b=Zk(e,1,b);c=Zk(b,2,c);d=gl(c,3,d);c=new gy;d=Nk(c,8,hy,d);a.j.kg(Gz(a,d))}}, Jz=function(a,b,c,d,e){if(a.l){var f=new dx;b=Mk(f,1,b);c=gl(b,2,c);d=Zk(c,3,d);if(e.fg===void 0)il(d,4,ex,e.Wb);else switch(e.fg){case 3:c=new Yw;c=il(c,2,Zw,e.rd);e=gl(c,1,e.Wb);Nk(d,5,ex,e);break;case 4:c=new Yw;c=il(c,3,Zw,e.rd);e=gl(c,1,e.Wb);Nk(d,5,ex,e);break;case 5:c=new Yw,c=il(c,4,Zw,e.rd),e=gl(c,1,e.Wb),Nk(d,5,ex,e)}e=new gy;e=Nk(e,9,hy,d);a.j.kg(Gz(a,e))}},Gz=function(a,b){var c=Date.now();c=Number.isFinite(c)?Math.round(c):0;b=cl(b,1,c);c=xg();b=cl(b,2,c);return cl(b,6,a.A)};var Kz=function(){var a={};this.tc=(a[3]={},a[4]={},a[5]={},a)};var Lz=/^true$/.test("false");function Mz(a,b){switch(b){case 1:return Wk(a,1,sx);case 2:return Wk(a,2,sx);case 3:return Wk(a,3,sx);case 6:return Wk(a,6,sx);case 8:return Wk(a,8,sx);default:return null}}function Nz(a,b){if(!a)return null;switch(b){case 1:return Qk(a,1);case 7:return K(a,3);case 2:return Uk(a,2);case 3:return K(a,3);case 6:return lx(a);case 8:return lx(a);default:return null}} var Oz=rf(function(){if(!Lz)return{};try{var a=a===void 0?window:a;try{var b=a.sessionStorage.getItem("GGDFSSK")}catch(c){b=null}if(b)return JSON.parse(b)}catch(c){}return{}});function Pz(a,b,c,d){var e=d=d===void 0?0:d,f,g;Zg(Qz).l[e]=(g=(f=Zg(Qz).l[e])==null?void 0:f.add(b))!=null?g:(new Set).add(b);e=Oz();if(e[b]!=null)return e[b];b=Rz(d)[b];if(!b)return c;b=rx(JSON.stringify(b));b=Sz(b);a=Nz(b,a);return a!=null?a:c} function Sz(a){var b=Zg(Kz).tc;if(b&&Hk(a,sx)!==8){var c=jb(Kk(a,mx,5,kk()),function(f){f=jx(J(f,ax,1),b);return f.success&&f.value});if(c){var d;return(d=c.getValue())!=null?d:null}}var e;return(e=J(a,kx,4))!=null?e:null}var Qz=function(){this.j={};this.o=[];this.l={};this.g=new Map};function Tz(a,b,c){return!!Pz(1,a,b===void 0?!1:b,c)}function Uz(a,b,c){b=b===void 0?0:b;a=Number(Pz(2,a,b,c));return isNaN(a)?b:a}function Vz(a,b,c){b=b===void 0?"":b;a=Pz(3,a,b,c);return typeof a==="string"?a:b} function Wz(a,b,c){b=b===void 0?[]:b;a=Pz(6,a,b,c);return Array.isArray(a)?a:b}function Xz(a,b,c){b=b===void 0?[]:b;a=Pz(8,a,b,c);return Array.isArray(a)?a:b}function Rz(a){return Zg(Qz).j[a]||(Zg(Qz).j[a]={})}function pA(a,b){var c=Rz(b);qg(a,function(d,e){if(c[e]){d=rx(JSON.stringify(d));var f=gk(d,sx,8);if(ej(ak(d,f))!=null){var g=rx(JSON.stringify(c[e]));f=qx(d);g=lx(Jk(g,kx,4));Pk(f,4,wj,g,yj)}c[e]=Jj(d)}else c[e]=d})} function qA(a,b,c,d,e){e=e===void 0?!1:e;var f=[],g=[];b=v(b);for(var h=b.next();!h.done;h=b.next()){h=h.value;for(var k=Rz(h),l=v(a),n=l.next();!n.done;n=l.next()){n=n.value;var p=Hk(n,sx),r=Mz(n,p);if(r){var t=void 0,u=void 0,A=void 0;var w=(t=(A=Zg(Qz).g.get(h))==null?void 0:(u=A.get(r))==null?void 0:u.slice(0))!=null?t:[];a:{t=r;u=p;A=new by;switch(u){case 1:il(A,1,cy,t);break;case 2:il(A,2,cy,t);break;case 3:il(A,3,cy,t);break;case 6:il(A,4,cy,t);break;case 8:il(A,6,cy,t);break;default:w=void 0; break a}tk(A,5,w,fj);w=A}if(t=w)u=void 0,t=!((u=Zg(Qz).l[h])==null||!u.has(r));t&&f.push(w);if(p===8&&k[r])w=rx(JSON.stringify(k[r])),p=qx(n),w=lx(Jk(w,kx,4)),Pk(p,4,wj,w,yj);else{if(p=w)t=void 0,p=!((t=Zg(Qz).g.get(h))==null||!t.has(r));p&&g.push(w)}e||(p=r,w=h,t=d,u=Zg(Qz),u.g.has(w)||u.g.set(w,new Map),u.g.get(w).has(p)||u.g.get(w).set(p,[]),t&&u.g.get(w).get(p).push(t));k[r]=Jj(n)}}}if(f.length||g.length)a=d!=null?d:void 0,c.l&&c.o&&(d=new ey,f=Ok(d,2,f),g=Ok(f,3,g),a&&$k(g,1,a),f=new gy,g=Nk(f, 7,hy,g),c.j.kg(Gz(c,g)))}function rA(a,b){b=Rz(b);a=v(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=rx(JSON.stringify(c)),e=Hk(d,sx);(d=Mz(d,e))&&(b[d]||(b[d]=c))}}function sA(){return Object.keys(Zg(Qz).j).map(function(a){return Number(a)})}function tA(a){Zg(Qz).o.includes(a)||pA(Rz(4),a)};function uA(a,b,c){c.hasOwnProperty(a)||Object.defineProperty(c,String(a),{value:b})}function vA(a,b,c){return b[a]||c}function wA(a){uA(5,Tz,a);uA(6,Uz,a);uA(7,Vz,a);uA(8,Wz,a);uA(17,Xz,a);uA(13,rA,a);uA(15,tA,a)} function xA(a){uA(4,function(b){Zg(Kz).tc=b},a);uA(9,function(b,c){var d=Zg(Kz);d.tc[3][b]==null&&(d.tc[3][b]=c)},a);uA(10,function(b,c){var d=Zg(Kz);d.tc[4][b]==null&&(d.tc[4][b]=c)},a);uA(11,function(b,c){var d=Zg(Kz);d.tc[5][b]==null&&(d.tc[5][b]=c)},a);uA(14,function(b){for(var c=Zg(Kz),d=v([3,4,5]),e=d.next();!e.done;e=d.next())e=e.value,Object.assign(c.tc[e],b[e])},a)}function yA(a){a.hasOwnProperty("init-done")||Object.defineProperty(a,"init-done",{value:!0})};var zA=function(){};zA.prototype.j=function(){};zA.prototype.l=function(){};zA.prototype.g=function(){return[]};var AA=function(a,b,c){a.l=function(d,e){vA(2,b,function(){return[]})(d,c,e)};a.g=function(){return vA(3,b,function(){return[]})(c)};a.j=function(d){vA(16,b,function(){})(d,c)}};var BA=function(){this.domain="pagead2.googlesyndication.com";this.path="/pagead/gen_204?id=";this.g=Math.random()},CA=function(){var a=Vw,b=window.google_srt;b>=0&&b<=1&&(a.g=b)},Xw=function(a,b,c,d,e){if(((d===void 0?0:d)?a.g:Math.random())<(e||.01))try{if(c instanceof Fg)var f=c;else f=new Fg,qg(c,function(h,k){var l=f,n=l.o++;Jg(l,n,Gg(k,h))});var g=Mg(f,"https:",a.domain,a.path+b+"&");g&&Rg(B,g)}catch(h){}};var Vw,DA,Uw=new Go(1,window);(function(a){Vw=a!=null?a:new BA;typeof window.google_srt!=="number"&&(window.google_srt=Math.random());CA();DA=new Ww;DA.zj(function(){});DA.gl(!0);window.document.readyState==="complete"?window.google_measure_js_timing||Uw.C():Uw.l&&Sf(window,"load",function(){window.google_measure_js_timing||Uw.C()})})();function EA(a,b){return DA.Kh(a,b)}function FA(a,b,c){var d=Zg(zA).g();!b.eid&&d.length&&(b.eid=d.toString());Xw(Vw,a,b,!0,c)} function GA(a,b){DA.Lc(531,a,.01,b)};var HA=function(a){this.K=I(a)};q(HA,L);var IA=[0,ho,-1,Nn];HA.prototype.R=M(IA);var JA=function(a){this.K=I(a)};q(JA,L);var KA=function(a,b){return tk(a,1,b,dj)},LA=function(a,b){return tk(a,2,b,dj)},MA=function(a,b){return tk(a,3,b,fj)},NA=function(a,b){tk(a,4,b,fj)};var OA=[0,go,-1,Nn,-1];JA.prototype.R=M(OA);var PA=function(a){this.K=I(a)};q(PA,L);var QA=function(a){this.K=I(a)};q(QA,L);QA.prototype.getVersion=function(){return Rk(this,1)}; var RA=function(a,b){return $k(a,1,b)},SA=function(a,b){return Mk(a,2,b)},TA=function(a,b){return Mk(a,3,b)},UA=function(a,b){return $k(a,4,b)},VA=function(a,b){return $k(a,5,b)},WA=function(a,b){return $k(a,6,b)},XA=function(a,b){return el(a,7,b)},YA=function(a,b){return $k(a,8,b)},ZA=function(a,b){return $k(a,9,b)},$A=function(a,b){return Bk(a,10,b==null?b:$i(b),!1)},aB=function(a,b){return Bk(a,11,b==null?b:$i(b),!1)},bB=function(a,b){return tk(a,12,b,dj)},cB=function(a,b){return tk(a,13,b,dj)}, dB=function(a,b){return tk(a,14,b,dj)},eB=function(a,b){return Bk(a,15,b==null?b:$i(b),!1)},fB=function(a,b){return el(a,16,b)},gB=function(a,b){return tk(a,17,b,fj)},hB=function(a,b){return tk(a,18,b,fj)},iB=function(a,b){return Ok(a,19,b)};var jB=[0,Kn,On];PA.prototype.R=M(jB);var kB=[0,On,jB,-1,On,-2,Vn,On,-1,Sn,-1,go,-2,Sn,Vn,Nn,-1,Xn,IA];QA.prototype.R=M(kB);var lB=function(a){this.K=I(a)};q(lB,L);lB.prototype.R=M([0,kB,OA]);var mB="a".charCodeAt(),nB=Mb({Cq:0,Bq:1,yq:2,tq:3,zq:4,uq:5,Aq:6,wq:7,xq:8,sq:9,vq:10,Dq:11}),oB=Mb({Fq:0,Gq:1,Eq:2});var pB=function(a){if(/[^01]/.test(a))throw Error("Input bitstring "+a+" is malformed!");this.j=a;this.g=0},rB=function(a){a=qB(a,36);var b=new PA;b=cl(b,1,Math.floor(a/10));return $k(b,2,a%10*1E8)},sB=function(a){return String.fromCharCode(mB+qB(a,6))+String.fromCharCode(mB+qB(a,6))},vB=function(a){var b=qB(a,16);return!!qB(a,1)===!0?(a=tB(a),a.forEach(function(c){if(c>b)throw Error("ID "+c+" is past MaxVendorId "+b+"!");}),a):uB(a,b)},wB=function(a){for(var b=[],c=qB(a,12);c--;){var d=qB(a,6),e= qB(a,2),f=tB(a),g=b,h=g.push,k=new HA;d=hl(k,1,d);e=hl(d,2,e);f=tk(e,3,f,fj);h.call(g,f)}return b},tB=function(a){for(var b=qB(a,12),c=[];b--;){var d=!!qB(a,1)===!0,e=qB(a,16);if(d)for(d=qB(a,16);e<=d;e++)c.push(e);else c.push(e)}c.sort(function(f,g){return f-g});return c},uB=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)};pB.prototype.skip=function(a){this.g+=a};function xB(a){if(a!=null)return yB(a)}function yB(a){return Ci(a)?Number(a):String(a)};var zB=function(a){try{var b=xh(a).map(function(f){return f.toString(2).padStart(8,"0")}).join(""),c=new pB(b);if(qB(c,3)!==3)return null;var d=LA(KA(new JA,uB(c,24,nB)),uB(c,24,nB)),e=qB(c,6);e!==0&&NA(MA(d,uB(c,e)),uB(c,e));return d}catch(f){return null}};var AB=function(a){try{var b=xh(a).map(function(d){return d.toString(2).padStart(8,"0")}).join(""),c=new pB(b);return iB(hB(gB(fB(eB(dB(cB(bB(aB($A(ZA(YA(XA(WA(VA(UA(TA(SA(RA(new QA,qB(c,6)),rB(c)),rB(c)),qB(c,12)),qB(c,12)),qB(c,6)),sB(c)),qB(c,12)),qB(c,6)),!!qB(c,1)),!!qB(c,1)),uB(c,12,oB)),uB(c,24,nB)),uB(c,24,nB)),!!qB(c,1)),sB(c)),vB(c)),vB(c)),wB(c))}catch(d){return null}};var CB=function(a){if(!a)return null;var b=a.split(".");if(b.length>4)return null;a=AB(b[0]);if(!a)return null;var c=new lB;a=Mk(c,1,a);b.shift();b=v(b);for(c=b.next();!c.done;c=b.next())switch(c=c.value,BB(c)){case 1:case 2:break;case 3:c=zB(c);if(!c)return null;Mk(a,2,c);break;default:return null}return a},BB=function(a){try{var b=xh(a).map(function(c){return c.toString(2).padStart(8,"0")}).join("");return qB(new pB(b),3)}catch(c){return-1}};var DB=function(a,b){var c={};if(Array.isArray(b)&&b.length!==0){b=v(b);for(var d=b.next();!d.done;d=b.next())d=d.value,c[d]=a.indexOf(d)!==-1}else for(a=v(a),b=a.next();!b.done;b=a.next())c[b.value]=!0;delete c[0];return c};var EB=function(a){this.K=I(a)};q(EB,L);var FB=function(a){var b=new EB;Pk(b,1,dj,a,ej)};EB.prototype.R=M([0,go]);[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].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,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 GB=function(a){if(a.gdprApplies===!1)return!0;a.internalErrorState===void 0&&(a.addtlConsent!==void 0&&typeof a.addtlConsent!=="string"&&(a.addtlConsent=void 0),a.gdprApplies!==void 0&&typeof a.gdprApplies!=="boolean"&&(a.gdprApplies=void 0),a.internalErrorState=a.tcString!==void 0&&typeof a.tcString!=="string"||a.listenerId!==void 0&&typeof a.listenerId!=="number"?2:a.cmpStatus&&a.cmpStatus!=="error"?0:3);return a.cmpStatus==="error"||a.internalErrorState!==0?a.internalBlockOnErrors?(Tg({e:String(a.internalErrorState)}, "tcfe"),!1):!0:a.cmpStatus!=="loaded"||a.eventStatus!=="tcloaded"&&a.eventStatus!=="useractioncomplete"?!1:!0};function HB(){this.blockSize=-1};FB([1,8,9,10,11,12,2,3,4,5,15,16,19,20,21,23]);FB([1,6,7,9,10,11,12,2,3,4,5,13,14,18,19,20,21,23]);FB([1,6,7,9,10,11,12,22,2,3,4,5,13,14,17,18,19,20,21,23]);new EB;var P=function(a,b){this.j=this.B=this.o="";this.A=null;this.P=this.l="";this.C=!1;var c;a instanceof P?(this.C=b!==void 0?b:a.C,IB(this,a.o),this.B=a.B,JB(this,a.j),KB(this,a.A),this.l=a.l,LB(this,a.g.clone()),this.P=a.D()):a&&(c=String(a).match(Io))?(this.C=!!b,IB(this,c[1]||"",!0),this.B=MB(c[2]||""),JB(this,c[3]||"",!0),KB(this,c[4]),this.l=MB(c[5]||"",!0),LB(this,c[6]||"",!0),this.P=MB(c[7]||"")):(this.C=!!b,this.g=new NB(null,this.C))}; P.prototype.toString=function(){var a=[],b=this.o;b&&a.push(OB(b,PB,!0),":");var c=this.j;if(c||b=="file")a.push("//"),(b=this.B)&&a.push(OB(b,PB,!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(OB(c,c.charAt(0)=="/"?QB:RB,!0));(c=this.g.toString())&&a.push("?",c);(c=this.D())&&a.push("#",OB(c,SB));return a.join("")}; P.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?IB(b,a.o):c=!!a.B;c?b.B=a.B:c=!!a.j;c?JB(b,a.j):c=a.A!=null;var d=a.l;if(c)KB(b,a.A);else if(c=!!a.l){if(d.charAt(0)!="/")if(this.j&&!this.l)d="/"+d;else{var e=b.l.lastIndexOf("/");e!=-1&&(d=b.l.slice(0,e+1)+d)}e=d;if(e==".."||e==".")d="";else if(Cc(e,"./")||Cc(e,"/.")){d=e.lastIndexOf("/",0)==0;e=e.split("/");for(var f=[],g=0;g1||f.length==1&&f[0]!="")&&f.pop(), d&&g==e.length&&f.push("")):(f.push(h),d=!0)}d=f.join("/")}else d=e}c?b.l=d:c=a.g.toString()!=="";c?LB(b,a.g.clone()):c=!!a.P;c&&(b.P=a.D());return b};P.prototype.clone=function(){return new P(this)}; var IB=function(a,b,c){a.o=c?MB(b,!0):b;a.o&&(a.o=a.o.replace(/:$/,""))},JB=function(a,b,c){a.j=c?MB(b,!0):b},KB=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},LB=function(a,b,c){b instanceof NB?(a.g=b,TB(a.g,a.C)):(c||(b=OB(b,UB)),a.g=new NB(b,a.C));return a},VB=function(a,b){return a.g.get(b)};P.prototype.D=function(){return this.P}; var WB=function(a,b){return(!a.j&&!b.j||a.j==b.j)&&(a.A==null&&b.A==null||a.A==b.A)},XB=function(a){return a instanceof P?a.clone():new P(a,void 0)},MB=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},OB=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,YB),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},YB=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},PB=/[#\/\?@]/g,RB=/[#\?:]/g,QB=/[#\?]/g,UB= /[#\?@]/g,SB=/#/g,NB=function(a,b){this.j=this.g=null;this.l=a||null;this.o=!!b},ZB=function(a){a.g||(a.g=new Map,a.j=0,a.l&&Ko(a.l,function(b,c){a.add(Bd(b),c)}))};NB.prototype.add=function(a,b){ZB(this);this.l=null;a=$B(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.j+=1;return this};NB.prototype.remove=function(a){ZB(this);a=$B(this,a);return this.g.has(a)?(this.l=null,this.j-=this.g.get(a).length,this.g.delete(a)):!1};NB.prototype.clear=function(){this.g=this.l=null;this.j=0}; NB.prototype.isEmpty=function(){ZB(this);return this.j==0};var aC=function(a,b){ZB(a);b=$B(a,b);return a.g.has(b)};m=NB.prototype;m.forEach=function(a,b){ZB(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};m.Tg=function(){ZB(this);for(var a=Array.from(this.g.values()),b=Array.from(this.g.keys()),c=[],d=0;d0?String(a[0]):b}; m.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($B(this,e),rb(c)),this.j+=c.length))},a));a.o=b};var bC=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};function cC(){var a=new bC;return{promise:a.promise,resolve:a.resolve}};function dC(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=cC();a[9]=c;b();return c};function eC(){var a=a===void 0?window:a;var b;return z(function(c){b=[dC(a).promise];try{b.push(dC(a.parent).promise)}catch(d){}return c.return(Promise.race(b))})};var fC=[0,2,1],gC=null,hC=function(){var a=window.event||gC;if(!a)return null;var b;(b=a.which?1<=0?c.substring(0,d)+b+c.substring(e):c.substring(0,d)+b}c=kd(b.length>6E4?c:b);c=qd(c);c!==void 0&&(a.href=c)}}};function iC(a){var b=b===void 0?B:b;var c=new Sw;a!=null&&(a.Je!=null&&dl(c,1,a.Je),a.hp!=null&&dl(c,3,a.hp),a.label!=null&&dl(c,6,a.label),a.Ck!=null&&dl(c,7,a.Ck),a.gk!=null&&dl(c,8,a.gk),a.Qo!=null&&dl(c,11,a.Qo));var d;a=b;a=a===void 0?window:a;(d=a.fence)==null||d.reportEvent({eventType:"interaction",eventData:Am(c),destination:["buyer"]})};var jC=new Set(["impression","click"]);var kC=function(a){return typeof a.className=="string"?a.className:a.getAttribute&&a.getAttribute("class")||""},lC=function(a){return a.classList?a.classList:kC(a).match(/\S+/g)||[]},mC=function(a,b){typeof a.className=="string"?a.className=b:a.setAttribute&&a.setAttribute("class",b)},nC=function(a,b){return a.classList?a.classList.contains(b):lb(lC(a),b)},oC=function(a,b){if(a.classList)a.classList.add(b);else if(!nC(a,b)){var c=kC(a);mC(a,c+(c.length>0?" "+b:b))}},pC=function(a,b){if(a.classList)Array.prototype.forEach.call(b, function(e){oC(a,e)});else{var c={};Array.prototype.forEach.call(lC(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;mC(a,b)}},qC=function(a,b){a.classList?a.classList.remove(b):nC(a,b)&&mC(a,Array.prototype.filter.call(lC(a),function(c){return c!=b}).join(" "))};var rC=function(a){this.serializedAttributionData=Jj(a);this.g=a.clone();if(a=fk(this.g))a=J(this.g,ek,1),a=!!Qk(a,33);this.isMutableImpression=a;K(this.g,30);Qk(this.g,11);this.hasUserFeedbackData=!!this.g&&fk(this.g);Qk(this.g,4);Qk(this.g,6);Qk(this.g,13);this.Jk=Rk(this.g,8)||1;this.creativeIndexSuffix=Rk(this.g,8)>1?Rk(this.g,7).toString():"";yj(ak(this.g,34))!=null&&(this.creativeIndexSuffix=K(this.g,34)+"_"+this.creativeIndexSuffix);Qk(this.g,17);Qk(this.g,18);this.C=!!Qk(this.g,14);this.B= !!Qk(this.g,15);Qk(this.g,31);Qk(this.g,9);this.openAttributionInline=Qk(this.g,10)==1;this.isMobileDevice=!!Qk(this.g,12);this.pg=null;this.L=(a=qc.querySelector("[data-slide]"))?a.getAttribute("data-slide")==="true":!1;(this.o=Rk(this.g,8)>1)&&C.goog_multislot_cache===void 0&&(C.goog_multislot_cache={});if(this.o&&!this.L&&C.goog_multislot_cache.hd===void 0){a=!1;var b=qc.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}Je(document,"abgcp"+this.creativeIndexSuffix);Je(document,"abgc"+this.creativeIndexSuffix);this.j=Je(document,"abgs"+this.creativeIndexSuffix);Je(document,"abgl"+this.creativeIndexSuffix);Je(document,"abgb"+this.creativeIndexSuffix);Je(document,"abgac"+this.creativeIndexSuffix);Je(document,"mute_panel"+this.creativeIndexSuffix);this.l=Le("goog_delegate_attribution"+ this.creativeIndexSuffix);this.isDelegateAttributionActive=!!this.l&&!!this.C&&!Le("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;DC(d,h);BC(d.j)?e=h:f=h}DC(d,e)}b()})},this);return new Promise(a)};CC.prototype.getSize=function(){return this.g};var EC=function(a,b){a.l=b};var FC=RegExp("[\u0591-\u06ef\u06fa-\u08ff\u200f\ud802-\ud803\ud83a-\ud83b\ufb1d-\ufdff\ufe70-\ufefc]");var GC={},HC={},IC={},JC={},KC=function(){throw Error("Do not instantiate directly");};KC.prototype.hk=null;KC.prototype.getContent=function(){return this.content};KC.prototype.toString=function(){return this.content};KC.prototype.rl=function(){if(this.ik!==GC)throw Error("Sanitized content was not of kind HTML.");return sd(this.toString())};var LC=function(){KC.call(this)};Xa(LC,KC);LC.prototype.ik=GC;var MC=function(a){if(a!=null)switch(a.hk){case 1:return 1;case -1:return-1;case 0:return 0}return null},RC=function(a){return NC(a,GC)?a:a instanceof rd?OC(td(a).toString()):OC(String(String(a)).replace(PC,QC),MC(a))},OC=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.hk=d);return c}}(LC),SC=function(a,b){for(var c in b)c in a||(a[c]=b[c]);return a},TC=function(a){return a instanceof KC?!!a.getContent():!!a},WC=function(a){return UC(String(a), function(){return""}).replace(VC,"<")},XC=RegExp.prototype.hasOwnProperty("sticky"),YC=new RegExp((XC?"":"^")+"(?:!|/?([a-zA-Z][a-zA-Z0-9:-]*))",XC?"gy":"g"); function UC(a,b){for(var c=[],d=a.length,e=0,f=[],g,h,k=0;k":f.push(l);c.push(b(f.join(""), g));e=0;f=[];h=g=null;break;default:f.push(l)}break;default:throw Error();}e===1&&k>=d&&(k=h+1,c.push("<"),e=0,f=[],h=g=null)}return c.join("")} var ZC=function(a,b){a=a.replace(/<\//g,"<\\/").replace(/\]\]>/g,"]]\\>");return b?a.replace(/{/g," \\{").replace(/}/g," \\}").replace(/\/\*/g,"/ *").replace(/\\$/,"\\ "):a},Q=function(a){return NC(a,GC)?$C(WC(a.getContent())):String(a).replace(PC,QC)},cD=function(a){NC(a,GC)?(a=WC(a.getContent()),a=String(a).replace(aD,QC)):a=String(a).replace(bD,QC);return a},eD=function(a){return dD(a)},iD=function(a){NC(a,HC)||NC(a,IC)?a=dD(a):ed(a)?a=eD(fd(a)):a instanceof $c?a=eD(bd(a).toString()):(a=String(a), a=fD.test(a)?a.replace(gD,hD):"about:invalid#zSoyz");return a},kD=function(a){NC(a,HC)||NC(a,IC)?a=dD(a):ed(a)?a=eD(fd(a)):a instanceof $c?a=eD(bd(a).toString()):(a=String(a),a=jD.test(a)?a.replace(gD,hD):"about:invalid#zSoyz");return a},R=function(a){return NC(a,JC)?ZC(a.getContent(),!1):a==null?"":ZC(String(a),!0)},NC=function(a,b){return a!=null&&a.ik===b},lD=function(){KC.call(this)};q(lD,LC); var mD=function(a,b){a.g!==void 0?a.g.push(b):a.content+=b;return a},nD=function(a,b){a.g!==void 0?a.g.push(b):b instanceof lD?b.content!==void 0?a.content+=b.getContent():(a.g=[a.content,b],a.content=void 0):a.content+=b;return a};lD.prototype.getContent=function(){if(this.content!==void 0)return this.content;for(var a="",b=v(this.g),c=b.next();!c.done;c=b.next())a+=c.value;return a};lD.prototype.toString=function(){return this.getContent()}; var oD=function(){function a(){this.content=""}a.prototype=lD.prototype;return function(){return new a}}(),pD={"\x00":"�","\t":" ","\n":" ","\v":" ","\f":" ","\r":" "," ":" ",'"':""","&":"&","'":"'","-":"-","/":"/","<":"<","=":"=",">":">","`":"`","\u0085":"…","\u00a0":" ","\u2028":"
","\u2029":"
"},QC=function(a){return pD[a]},qD={"\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"},hD=function(a){return qD[a]},PC=/[\x00\x22\x26\x27\x3c\x3e]/g,rD=/[\x00\x22\x27\x3c\x3e]/g, bD=/[\x00\x09-\x0d \x22\x26\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,aD=/[\x00\x09-\x0d \x22\x27\x2d\/\x3c-\x3e`\x85\xa0\u2028\u2029]/g,gD=/[\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,fD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i,jD=/^[^&:\/?#]*(?:[\/?#]|$)|^https?:|^ftp:|^data:image\/[a-z0-9+-]+;base64,[a-z0-9+\/]+=*$|^blob:/i,sD=/^[a-zA-Z0-9+\/_-]+={0,2}$/,$C=function(a){return String(a).replace(rD, QC)},dD=function(a){return String(a).replace(gD,hD)},tD=function(a){a=String(a);return sD.test(a)?a:"zSoyz"},VC=/
');switch(Oa(g)?g.toString():g){case "question":var k,l,n=d==null?void 0:(k=d.kf)==null?void 0:k.title;k=d==null?void 0:(l=d.kf)==null?void 0: l.Sj;l=mD(oD(),n?'
'+RC(n)+"
":"");if(k&&k.length>0){mD(l,'
');n=k.length;for(d=0;d'+RC(g)+"");mD(l,"
")}else mD(l,'
No answer choices provided.
');k=c&&c.Df;n=h<350?"--mc-question-font-size: 0.65em; --mc-question-margin-bottom: 16px; --mc-answers-gap: 8px; --mc-answer-padding: 2px 4px; --mc-answer-font-size: 0.6em; --mc-radio-margin-right: 12px; --mc-radio-size: 12px;": h<450?"--mc-question-font-size: 0.85em; --mc-question-margin-bottom: 20px; --mc-answers-gap: 10px; --mc-answer-padding: 4px 6px; --mc-answer-font-size: 0.75em; --mc-radio-margin-right: 14px; --mc-radio-size: 16px;":"--mc-question-font-size: 1em; --mc-question-margin-bottom: 24px; --mc-answers-gap: 12px; --mc-answer-padding: 6px 8px; --mc-answer-font-size: 0.85em; --mc-radio-margin-right: 16px; --mc-radio-size: 18px;";k=OC("#mosaic-container"+R(b)+" {"+n+"}#mosaic-container"+ R(b)+" .question {font-weight: 500; font-size: var(--mc-question-font-size); margin-bottom: var(--mc-question-margin-bottom); width: 100%; line-height: 1.4;}#mosaic-container"+R(b)+" .answers {display: flex; flex-direction: column; gap: var(--mc-answers-gap); width: 100%;}#mosaic-container"+R(b)+" .answer {display: flex; align-items: center; padding: var(--mc-answer-padding); border-radius: 18px; cursor: pointer; font-size: var(--mc-answer-font-size); width: 100%; box-sizing: border-box; transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;}#mosaic-container"+ R(b)+" .answer:hover {background-color: #f8f9fa;}#mosaic-container"+R(b)+' .answer input[type="radio"] {margin-right: var(--mc-radio-margin-right); accent-color: #1a73e8; width: var(--mc-radio-size); height: var(--mc-radio-size);}#mosaic-container'+R(b)+" .no-answers-message {font-size: 0.85em; color: #5f6368; text-align: center; padding: 20px;}");nD(l,k);nD(a,l);break;case "endcard":l=d==null?void 0:(n=d.Ki)==null?void 0:n.title;l=mD(oD(),'
'+ RC(l)+"
");k=(k=c!=null?c:{})&&k.Df;k=OC(".endcard {display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; height: 100%;}.endcard-title {font-weight: 500; font-size: 1.1em; color: #202124; margin-bottom: 16px;}");l=nD(l,k);nD(a,l);break;default:mD(a,"
Error: Content cannot be displayed.
")}e=mD(a,'
'+(e!==f?'': "")+'
');c=c&&c.Df;h=h<350?"--scaled-entity-content-padding-x: 12px; --scaled-entity-content-padding-y: 12px; --scaled-legal-font-size: 0.55em; --scaled-footer-padding-x: 10px; --scaled-footer-padding-bottom: 8px; --scaled-button-padding-y: 3px; --scaled-button-padding-x: 6px; --scaled-button-font-size: 0.7em; --scaled-button-gap: 8px; --scaled-button-margin-bottom: 12px;": h<450?"--scaled-entity-content-padding-x: 16px; --scaled-entity-content-padding-y: 16px; --scaled-legal-font-size: 0.75em; --scaled-footer-padding-x: 16px; --scaled-footer-padding-bottom: 10px; --scaled-button-padding-y: 8px; --scaled-button-padding-x: 16px; --scaled-button-font-size: 0.9em; --scaled-button-gap: 10px; --scaled-button-margin-bottom: 16px;":"--scaled-entity-content-padding-x: 24px; --scaled-entity-content-padding-y: 24px; --scaled-legal-font-size: 0.85em; --scaled-footer-padding-x: 16px; --scaled-footer-padding-bottom: 10px; --scaled-button-padding-y: 8px; --scaled-button-padding-x: 16px; --scaled-button-font-size: 0.9em; --scaled-button-gap: 10px; --scaled-button-margin-bottom: 16px;"; b=OC("#mosaic-container"+R(b)+" {"+h+"font-family: 'Arial', sans-serif; line-height: normal; width: 100%; height: 100%; background-color: white; overflow: hidden; display: flex; flex-direction: column; text-align: left; color: black; font-size: 1rem; box-sizing: border-box;}.hidden {display: none;}.visible {display: flex;}.entity-content {flex-grow: 1; position: relative; overflow-y: auto; padding: var(--scaled-entity-content-padding-y) var(--scaled-entity-content-padding-x); display: flex; flex-direction: column;}.footer {display: flex; flex-direction: column; align-items: center; padding: 0 var(--scaled-footer-padding-x) var(--scaled-footer-padding-bottom) var(--scaled-footer-padding-x); margin-top: auto;}.legal-text {font-size: var(--scaled-legal-font-size); text-align: center; color: #5f6368; line-height: 1.4;}.legal-text a {color: #5f6368; text-decoration: underline;}.legal-text a:hover {color: #1a73e8;}.footer-bar {width: 100%; height: 1px; background-color: #dadce0; margin-bottom: 8px;}.pagination-buttons {display: flex; position: sticky; bottom: 0; right: 0; height: 100%; justify-content: flex-end; align-items: flex-end; gap: var(--scaled-button-gap); width: 100%; padding: 0 var(--scaled-footer-padding-x); box-sizing: border-box;}.next-button-container {position: sticky;}.pagination-buttons button {padding: var(--scaled-button-padding-y) var(--scaled-button-padding-x); cursor: pointer; border: 1px solid #dadce0; background-color: white; color: #1a73e8; border-radius: 4px; font-size: var(--scaled-button-font-size); font-weight: 500; transition: background-color 0.2s ease-in-out;}.pagination-buttons button:hover:not(:disabled) {background-color: #f8f9fa;}.pagination-buttons button:disabled {cursor: default; color: #9aa0a6; background-color: #f8f9fa; border-color: #f1f3f4;}"); nD(e,b);return a};var AD=function(a,b,c,d){this.g=a;this.creativeIndexSuffix=b;this.o=c;this.Sd=d;this.j=0;this.g=a;this.creativeIndexSuffix=b;this.o=c;this.l=zD(this);this.Sd=d};AD.prototype.expand=function(){this.g&&qC(this.g,"hidden");this.g&&oC(this.g,"visible")};AD.prototype.collapse=function(){this.g&&oC(this.g,"hidden");this.g&&qC(this.g,"visible")}; var zD=function(a){if(!a.o)return[];var b=[];Kk(a.o,nw,2,kk()).forEach(function(c){if(hk(c,kw,1,ow)){c=J(c,kw,gk(c,ow,1));var d=[];if(hk(c,iw,2,lw)){var e;d=((e=J(c,iw,gk(c,lw,2)))==null?void 0:Kk(e,gw,1,kk()).map(function(f){return K(f,1)||""}))||[]}b.push({type:"question",kf:{title:K(c,1)||"",Sj:d}})}else hk(c,ew,2,ow)?(e=J(c,ew,gk(c,ow,2)),b.push({type:"endcard",Ki:{title:K(e,1)||""}})):b.push({type:"unknown"})});return b},BD=function(a){var b=a.g.querySelector(".next-button");b&&(b.onclick=function(){var c= a.l[a.j];if(c.type==="question"&&c.kf){var d=a.g.querySelector('input[name="answer-'+a.creativeIndexSuffix+'"]:checked');d?(d=Number(d.value),d>=0&&d
');h?n=mD(nD(mD(nD(mD(oD(),'
'),ca?"":mD(nD(mD(oD(), '")),'
'),k&&!l?mD(nD(oD(),D?ID(a):""),ha?"":''+RC(f)+""):""),(p?"":n?''+RC(t)+' ':''+RC(w)+' ')+"
"):(f=nD(mD(nD(oD(),ca?"":mD(nD(mD(oD(),'")),'
'+(E>40?'
':"")),D?mD(nD(oD(),ID(a)),''):""),!k||l||ha||hd?k="":(k=a.creativeIndexSuffix,l=a.Uk,k=OC(''+RC(l)+"")),k=nD(f,k),hd?(l=a.creativeIndexSuffix,l=OC('Send Feedback')): l="",k=nD(k,l),p?n="":n?(n=mD(oD(),''),p=a.creativeIndexSuffix,l=a.Il,ha=a.Hl,f=a.Wh,h=a.bj,p=mD(nD(mD(oD(),''),f&&!h?mD(nD(oD(),JD(a.creativeIndexSuffix,a.Nh)),RC(ha)):nD(mD(oD(),RC(ha)+" "),JD(a.creativeIndexSuffix,a.Nh))),""),n=nD(n,p)):(n=mD(oD(),''),p=a.creativeIndexSuffix,l=a.il,ha=a.hl,f=a.Nh,p=OC(''+RC(ha)+' '),n=nD(n,p)),n=mD(nD(k,n),"
"));g=mD(nD(e,n),'
'+RC(g)+'
');D?(D=mD(nD(mD(nD(mD(oD(),'
'),ca?"": mD(nD(mD(oD(),'
'),HD()),"
")),'
'),ca?mD(nD(mD(oD(),'
'),HD()),"
"):""),'
'+RC(G)+'
'), G=a.creativeIndexSuffix,ca=a.bj,e=a.Vm,n=a.Wm,G=mD(nD(mD(oD(),''),ca?mD(nD(oD(),KD()),RC(e)):nD(mD(oD(),RC(e)+" "),KD())),""),D=mD(nD(D,G),"
")):D="";d=mD(nD(g,D),(hd?'
':"")+"");c=nD(c,d);f=b!=null?b:{};b=a.creativeIndexSuffix; d=a.Ri;hd=a.Rm;D=a.Ym;G=a.Sd;ca=a.Gh;g=a.xn;e=a.Ok;n=a.Pk;p=a.Wh;k=a.yl;l=a.enableNativeJakeUi;ha=a.Cj;a=a.fh;f=f&&f.Df;a=OC((p?'":"")+"#panel_set"+R(b)+">.panel {position: absolute;"+(d?"top: -100%; left: -100%;":"top: -"+R(hd)+"px; left: -"+R(D)+"px;")+"z-index: 2147483646; display: block;"+(d?"width: 100%; height: 100%":"width: "+R(G)+"px; height: "+ R(ca)+"px;")+"}#panel_set"+R(b)+" img {border: 0;}#panel_set"+R(b)+">.panel.visible, #panel_set"+R(b)+" .visible .panel {position: absolute;"+(g?"top: 0; left: 0;":"left: "+R(e)+"px; top: "+R(n)+"px;")+"opacity: 1;}#panel_set"+R(b)+" .panel-container {display: table;"+(d?"width: 100%; height: 100%;":"width: "+R(G)+"px; height: "+R(ca)+"px;")+"margin: 0; padding: 0; background-color: #fafafa;}#panel_set"+R(b)+" .panel-row {display: block; padding: 0 0 0.3em 0;}#panel_set"+R(b)+" .panel-row:first-child {padding: 0.3em 17px;}#panel_set"+ R(b)+" .panel-content {"+(a?"vertical-align: middle;":"vertical-align: top;")+"padding-top: "+R(ha)+"px; display: table-cell; color: #999; color: rgba(0,0,0,0.4); transition: opacity 150ms linear; text-align: center;}.collapsed #panel_set"+R(b)+" .fade {opacity: 0.4;}#menu-dismiss"+R(b)+" {padding-top: "+R(ha)+"px;}.jake-middle.survey-horiz #panel_set .panel-content {vertical-align: middle;}#ad_closed_panel"+R(b)+" .btn, #ad_options_panel"+R(b)+" .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(b)+", #final_closed_text"+R(b)+" {display: inline-block; line-height: 1.28em; font-size: 1.2em;}#native_closed_text"+R(b)+" {display: flex; flex-direction: row; align-items: center;}#closed_text"+R(b)+" img, #native_closed_text"+R(b)+" img, #final_closed_text"+R(b)+' 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(b)+" img {margin: 0 0.3em -0.2em 0.3em; height: 1.4em;}.spacer"+ R(b)+" {display: inline-block; padding: 0; box-shadow: none; width: 3px;}"+(G<=360&&ca>=100?"#ad_closed_panel"+R(b)+" .responsive-btn, #ad_options_panel"+R(b)+" .responsive-btn {max-width: 288px; width: 75%; white-space: normal; margin-bottom: 0.4em;}.spacer"+R(b)+" {display: none;}":"")+(G<=220?"#ad_closed_panel"+R(b)+" .responsive-btn, #ad_options_panel"+R(b)+" .responsive-btn {max-width: 198px; width: 90%; white-space: normal; margin-bottom: 0.4em;}.spacer"+R(b)+" {display: none;}":"")+(ca>=220&& !a?"#panel_set"+R(b)+" .panel-content {vertical-align: top;}":"")+(ca<=36?"#closed_text"+R(b)+" {padding: 0 1em 0 0;}#panel_set"+R(b)+" .panel-row {padding: 0 !important;}":"")+".btn>span {display: inline-block; padding: 0.5em 0.6em; line-height: 1em;}#ad_closed_panel"+R(b)+" .settings-btn, #ad_options_panel"+R(b)+" .settings-btn {background-color: #fff; color: #9e9ea6;}#ad_closed_panel"+R(b)+" .settings-btn:hover, #ad_closed_panel"+R(b)+" .settings-btn:active, #ad_options_panel"+R(b)+" .settings-btn:hover, #ad_options_panel"+ R(b)+" .settings-btn:active{background-color: #f5f5f5;}.settings-text {white-space: nowrap;}#report_btn"+R(b)+".primary-btn, #ad_options_btn"+R(b)+".primary-btn, #mosaic_btn"+R(b)+".primary-btn {background-color: #4285f5; color: white;}#report_btn"+R(b)+".primary-btn:hover, #report_btn"+R(b)+".primary-btn:active, #ad_options_btn"+R(b)+".primary-btn:hover, #ad_options_btn"+R(b)+".primary-btn:active, #mosaic_btn"+R(b)+".primary-btn:hover, #mosaic_btn"+R(b)+'.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(b)+" {font-weight: bold; color: #333;}#confirmation_msg"+R(b)+", #final_closed_text"+R(b)+" {line-height: 1.1em; padding: 0.3em;}"+(ca>=100?"#confirmation_msg"+R(b)+", #final_closed_text"+R(b)+" {padding: 1em 0.3em;}":"")+"#post_survey_panel"+R(b)+" span {display: block; text-align: center; line-height: 1em;}#post_survey_panel"+R(b)+" a, #post_survey_panel"+R(b)+" a:active, #post_survey_panel"+R(b)+" a:hover {text-decoration: none; color: #4285f5;}#final_closed_panel"+R(b)+", #final_closed_panel"+ R(b)+" #final_closed_text {opacity: 0; transition: opacity 400ms linear;}#final_closed_panel"+R(b)+" span {white-space: normal;}#final_closed_panel"+R(b)+" #final_closed_text.visible {opacity: 1;}"+(k?"#personalize_toggle"+R(b)+" {pointer-events: none; margin-top: 6px; margin-bottom: 6px;}#ad_options_panel"+R(b)+" 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(b)+" {left: initial; right: 0; transform: scaleX(-1);}.native-arrow {"+(l?"opacity: 0.6;":"opacity: 0.8;")+"}.window-icon {opacity: 0.4;}"+(l?"#native-menu-bg"+R(b)+" {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(b)+" {position: absolute; top: 0; left: 0; cursor: pointer;}#menu-dismiss"+R(b)+" 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(b)+":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(b)+" 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(b)+" 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(b)+" {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(b)+":hover {background-color: rgba(20,91,183,1);}.native-button-container #settings_btn"+R(b)+", .native-button-container #why_this_ad_btn"+R(b)+", .native-button-container #learn_more_btn"+R(b)+" {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/ca<=.5?".native-panel-wrapper {padding-top: 1em; align-items: flex-start;}":"")+(G/ca>=2&&ca<=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/ca>=3&&ca<=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;}": "")+(ca<=130?".padded-text {white-space: normal; margin: 0.3em; text-align: initial;}":""):"")+(p?"#panel_set"+R(b)+" .panel-content {font-family: 'Google Sans', sans-serif;}#closed_text"+R(b)+" img, #native_closed_text"+R(b)+" img, #final_closed_text"+R(b)+' 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(b)+" .btn, #ad_options_panel"+ R(b)+" .btn {border-radius: 4px;}#ad_closed_panel"+R(b)+" .settings-btn, #ad_options_panel"+R(b)+" .settings-btn {box-shadow: inset 0 0 0 1px #dadce0;}#closed_text"+R(b)+", #final_closed_text"+R(b)+' {line-height: 1.28em; font-size: 1.15em;}.btn-icon {margin-right: 0.5em;}[dir="rtl"] .btn-icon {float: none;}'+(G/ca>=2?".spacer"+R(b)+" {width: 4px;}#closed_text"+R(b)+", #final_closed_text"+R(b)+" {line-height: 1em;}"+(ca>=90?".close {height: 24px; width: 24px; top: 8px; left: 8px;}#closed_text"+R(b)+ ", #final_closed_text"+R(b)+" {font-size: 1.3em;}.panel-lower {margin-top: 6px;}.panel-buttons {margin-top: 6px;}":"#closed_text"+R(b)+", #final_closed_text"+R(b)+" {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(b)+" .panel-row:first-child {padding: 0 17px;}#ad_closed_panel"+ R(b)+" .responsive-btn, #ad_options_panel"+R(b)+" .responsive-btn {margin-bottom: 8px; width: 51%;}"):"#panel_set"+R(b)+" .panel-content {font-family: 'Arial', sans-serif;}#ad_closed_panel"+R(b)+" .btn, #ad_options_panel"+R(b)+" .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;}")+(k?"#learn_more_btn"+R(b)+" .window-icon {height: 16px; width: 16px;}#personalize_toggle"+R(b)+" .track {pointer-events: all; position: relative; display: inline-block; width: 36px; height: 14px; top: 1px; margin-left: 6px;}#personalize_toggle"+ R(b)+" .track input {opacity: 0; width: 0; height: 0;}#personalize_toggle"+R(b)+" .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(b)+' .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(b)+" input:checked + .handle {background-color: rgba(66, 133, 244, .5);}#personalize_toggle"+R(b)+" input:focus + .handle {box-shadow: 0 0 1px #4285f4;}#personalize_toggle"+R(b)+" 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||ca<=200?"#personalize_toggle"+ R(b)+" .track {width: 24px; height: 9px; top: 2px;}#personalize_toggle"+R(b)+" .handle:before {height: 13px; width: 13px; left: -7px; bottom: -2px;}#learn_more_btn"+R(b)+" .window-icon {height: 14px; width: 14px;}":"")+(ca>=500?"#personalize_toggle"+R(b)+" {margin-top: 6;}":"")+(G<=100||ca<=100?"#personalize_toggle"+R(b)+" {margin-top: 0; margin-bottom: 3px;}#learn_more_btn"+R(b)+" .window-icon {height: 12px; width: 12px;}":"")+(G<=60||ca<=60?"#learn_more_btn"+R(b)+" .window-icon {height: 11px; width: 11px;}": "")+(G<=50||ca<=50?"#learn_more_btn"+R(b)+" .window-icon {height: 9px; width: 9px;}":""):"")+"");return nD(c,a)},ID=function(a){var b=a.creativeIndexSuffix;a=a.Um;return OC(''+RC(a)+"")},JD=function(a,b){return OC('')},HD=function(){return OC('')}, KD=function(){return OC('')};var MD=function(a,b){var c=a.creativeIndexSuffix,d=a.no,e=a.ap,f=a.yn,g=mD(oD()," "),h=SC({Dn:TC(d)?"left":"right",fn:TC(d)?"right":"left"},a),k=b!=null?b:{};b=h.Dn;d=h.fn;var l=h.creativeIndexSuffix,n=h.hn,p=h.kn,r=h.jn,t=h.op,u=h.No,A=h.Ri,w=h.Sd,E=h.Gh,D=h.Wh,G=h.Cj;h=h.fh;k=k&&k.Df;b=OC((D?'":"")+"#survey-container"+R(l)+" {position: absolute; top: 0; left: 0;"+ (TC(A)?"width: 100%; height: 100%;":"width: "+R(w)+"px; height: "+R(E)+"px;")+"overflow: hidden;"+(h?"display: table;":"")+"background-color: #fafafa; font-size: 0; white-space: nowrap;}.survey-native-scroll #survey-container"+R(l)+" {overflow-x: scroll;}.survey-horiz, .survey-vert {text-align: center;}#survey-container"+R(l)+" * {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(l)+".survey-horiz .survey-option {display: inline-block; margin-"+R(d)+": -1px; box-shadow: none;}#mute_panel"+R(l)+".survey-horiz .survey-option:first-child {margin-"+R(d)+": 0;}#mute_panel"+R(l)+".survey-horiz.survey-spaced .survey-option {margin-"+R(d)+": "+R(r)+"px;}#mute_panel"+R(l)+".survey-horiz.survey-spaced .survey-option:first-child {margin-"+R(d)+": 0;}#mute_panel"+R(l)+".survey-horiz.jake-middle .survey-block {margin-top: "+R(((E!=null?E:0)-n)/2)+"px;}#mute_panel"+R(l)+".survey-horiz.jake-top .survey-block {margin-top: "+ R(r)+"px;}#mute_panel"+R(l)+".survey-vert .survey-option, #mute_panel"+R(l)+".survey-horiz.survey-spaced .survey-option {border-radius: 2px;}#mute_panel"+R(l)+".survey-vert .survey-option {margin: "+R(r)+"px auto 0 auto; display: block;}#mute_panel"+R(l)+".survey-vert.jake-top .survey-option:first-child {margin-top: "+R(r)+"px;}#mute_panel"+R(l)+".survey-vert.jake-middle .survey-option:first-child {margin-top: "+R(((E!=null?E:0)-t)/2)+"px;}#mute_panel"+R(l)+".survey-grid #survey-container"+R(l)+" {width: initial; height: initial; white-space: normal; padding: 1px;}#mute_panel"+ R(l)+".survey-grid .survey-option {display: inline-block; width: "+R(((w!=null?w:0)-6)/2)+"px; height: "+R(((E!=null?E:0)-6)/2)+"px; margin: 1px;}#mute_panel"+R(l)+".survey-small-grid #survey-container"+R(l)+" {white-space: normal; padding: "+R((E!=null?E:0)/2-(n+2))+"px 0px;}#mute_panel"+R(l)+".survey-small-grid #option-container"+R(l)+" {padding: 0 "+R((w!=null?w:0)/2-(p+2))+"px;}#mute_panel"+R(l)+".survey-small-grid .survey-option {display: inline-block; margin: 1px;}.option-container {"+(h?"display: table-cell; vertical-align: middle;": "margin-top: "+R(G)+"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(b)+": 0;}.native-scroll.scroll-"+R(b)+" {-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(d)+"-radius: 4px; border-bottom-"+R(d)+'-radius: 4px;}.scroll-right div {background-image:url("'+kD(u)+"/images/icons/material/system/1x/keyboard_arrow_"+dD(b)+'_white_36dp.png");}.scroll-left {'+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-left {border-top-"+ R(b)+"-radius: 4px; border-bottom-"+R(b)+'-radius: 4px;}.scroll-left div {background-image:url("'+kD(u)+"/images/icons/material/system/1x/keyboard_arrow_"+dD(d)+'_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; z-index: 1;}[dir="rtl"] .close {right: 2px; transform: scaleX(-1);}'+ (D?".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=nD(mD(nD(g,b),'
'),f?mD(nD(mD(oD(),'
'),OC('')), "
"):"");e=SC({options:e},a);a=e.options;e=e.creativeIndexSuffix;g="";b=a.length;for(d=0;d
'+RC(a[d])+"
";g+='
';a=OC(g);return mD(nD(f,a),'
')};var OD=function(a,b,c,d,e,f,g,h,k,l,n,p,r,t,u){this.L=a;this.g=b;this.o=c;this.Va=d;this.sa=h;this.j=k;this.Eb=l;this.F=e;this.Wc=f;this.X=g;this.ub=p;this.tb=r;this.Fa=t;this.Z=void 0;this.ua=n;this.C=Math.min(50,this.o);this.N=!1;this.l=0;this.D=!0;this.P=this.G=this.J=this.A=this.B=this.ka=this.T=null;this.ha=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&&ND(this)<=4;this.Sb=this.g>=196&&this.o>=2*this.C+ 4&&ND(this)<=4;this.Qb=this.Eb==="enable_jake_ui_grid"&&b&&a;this.ba=!!this.ua;this.da=u;this.collapse()};OD.prototype.render=function(){uD(this.L,MD,{Sd:this.g,Gh:this.o,Ok:0,Pk:this.Va,Ri:this.sa,creativeIndexSuffix:this.j,no:this.F,No:this.Wc,kn:96,hn:this.C,jn:8,op:ND(this)*(this.C+8)-8,Jr:ND(this)*95+1,Kr:ND(this)*104-8,ap:db(Kk(this.X,Iw,2,kk()),function(a){return K(a,1)}),Wh:this.ub,Cj:this.tb,fh:this.Fa,yn:this.da});PD(this)};OD.prototype.expand=function(){this.L&&oC(this.L,"visible")}; OD.prototype.collapse=function(){this.L&&qC(this.L,"visible")};OD.prototype.display=function(a){this.Z=a;this.expand()}; var ND=function(a){return Kk(a.X,Iw,2,kk()).length},QD=function(a){var b=[],c=a.o,d=a.g,e=a.C,f=ND(a)*95+1,g=ND(a)*104-8;var h=ND(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},PD=function(a){a.T= document.getElementById("survey-container"+a.j);a.ka=document.getElementById("option-container"+a.j);a.B=document.getElementById("scroll-right"+a.j);a.A=document.getElementById("scroll-left"+a.j);a.J=document.getElementById("native-scroll-right"+a.j);a.G=document.getElementById("native-scroll-left"+a.j);a.ba?a.T&&a.J&&a.G&&(a.T.onscroll=function(){a.N=!0},window.setInterval(function(){if(a.N){var e=a.ka.getBoundingClientRect(),f=a.F?a.G:a.J;(a.F?a.J:a.G).style.visibility=e.left===0?"hidden":"visible"; f.style.visibility=e.right===a.g?"hidden":"visible";a.N=!1}},100)):(a.B&&Sf(a.B,"click",Ta(a.Vb,a)),a.A&&Sf(a.A,"click",Ta(a.Ub,a)));var b=(a.L||document).querySelectorAll(".survey-option");if(b&&b[0]){a.P=b[0];for(var c=0;c1?1:0])||FA("gdn::mta",{context:"mta_nomop"});this.Ub=a||new Mw;this.g=this.B.creativeIndexSuffix;this.gh=this.B.isMobileDevice;this.ub=!!this.B.creativeIndexSuffix;this.kc=this.B.autoExpandOnLoad;this.T=vC(K(this.j,5),K(this.j,6),K(this.j, 19));a=new wC(this.l);this.sa=!!this.B.enableNativeJakeUi;this.zh=xC(a,"jake_ui_extension","jake_default_ui");this.mh=yC(a,"disable_report_button");this.wh=yC(a,"disable_wta_button");this.Va=!!Qk(this.j,43);this.ba=Bw(Ow(this.j));this.N=Dw(Ow(this.j));this.Qb=this.Sb=this.Eb=!1;this.Zg=Cw(Ow(this.j));this.A=this.ha;this.o=this.D;this.Z=0;this.J=!1;this.ua=parseInt(xC(a,"post_click_menu_height_when_bottom_anchor_on_mobile","0"),10);this.Fa=yC(a,"show_ad_after_mute");SD(this);this.G=null;this.ka=EA(279, function(){c.F&&(FA("gdn::mta",{ev:"psx",efsb:1,elsb:0,ttd:Date.now()-c.F},1),c.F=null,Tf(C,"beforeunload",c.ka))});this.Wc=!1;this.X=this.F=null;this.tb=Ew(Ow(this.j));this.Mf=rw(Jk(this.l,qw,36));this.Vb=null};q(TD,O); TD.prototype.render=function(){var a=this,b=ED("mute_panel",this.g),c=Ow(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),l=K(this.j,39),n=K(this.j,40),p=Qk(this.j,41),r=Aw(Ow(this.j)),t=K(this.j,31);r&&(t=Lo(t,"eid",r));r=CD(this.j);c&&K(c,11)&&K(c,12)&&(e=K(c,12),f=K(c,11));Qk(this.l,35)&&this.ua>0&&this.D>this.ua&&(this.J=!1,this.o=this.ua,this.Z=this.D-this.o);c={isMutableImpression:this.B.isMutableImpression, po:!1,Rm:this.D,Ym:this.ha,Gh:this.o,Sd:this.A,Ok:0,Pk:this.Z,Ri:this.J,creativeIndexSuffix:this.g,xn:this.ub,Wr:this.j,bj:Qk(this.j,27),Uk:xw(Ow(this.j)),nn:yw(Ow(this.j)),hl:e,il:d,Nh:f,sp:r,tp:this.wh,Hl:g,Il:t,enableNativeJakeUi:this.sa,Wh:this.ba,yl:this.N!==0,Um:h,Ko:k,Vm:l,Wm:n,wn:this.mh,Cj:this.tb,fh:this.Va,mp:this.Mf};uD(b,LD,c);(c=this.sa?DD("native_closed_text",this.g):DD("closed_text",this.g))&&UD(this,c,ww(Ow(this.j)));(c=DD("final_closed_text",this.g))&&UD(this,c,vw(Ow(this.j)));(c= DD("report_btn",this.g))&&Sf(c,"click",EA(280,function(){VD(a)}));(c=DD("settings_btn",this.g))&&Sf(c,"click",function(){return a.collapse()});if(CD(this.j)){var u=DD("why_this_ad_btn",this.g);u&&Sf(u,"click",EA(281,function(D){var G;(G=a.T)==null||tC(G,"closebutton_whythisad_click","1",!1);G=u.getAttribute("href");var ha={};D=(ha.wtaUrl=G,ha.underlyingEvent=D,ha);GD(a,"wtaClicked",{detail:D})}))}(c=DD("menu-dismiss",this.g))&&Sf(c,"click",EA(354,function(){WD(a,"btn")}));if(this.N!==0){(c=DD("ad_options_btn", this.g))&&Sf(c,"click",function(){var D=DD("ad_options_panel",a.g);D&&oC(D,"visible")});(c=DD("ad_options_dismiss",this.g))&&Sf(c,"click",function(){return XD(a)});var A=DD("learn_more_btn",this.g);A&&Sf(A,"click",function(D){a.Qb||(a.Qb=!0,FA("gdn::mta",{context:"mta_paidLearnMore"},.01));var G=A.getAttribute("href"),ha={};D=(ha.learnMoreUrl=G,ha.underlyingEvent=D,ha);GD(a,"learnMoreClicked",{detail:D})});if(c=DD("personalize_toggle",this.g))if(Sf(c,"click",function(){var D=DD("personalize_checkbox", a.g);D.checked=!D.checked;var G=D.checked,ha=!a.Eb;a.Eb=!0;var ca={};G=(ca.gpidType=a.N,ca.gpidPersonalizationEnabled=G,ca.gpidShouldResetAdsData=ha,ca);GD(a,"updateGpid",{detail:G});ha&&a.N==1&&FA("gdn::mta",{context:"mta_paidClearAdsData"},.01);(ha=K(a.j,42))&&C.fetch&&C.fetch(ha);a.Sb||(a.Sb=!0,FA("gdn::mta",{context:"mta_paidPersonalizationToggle",state_toggled:D.checked},.01))}),c=DD("personalize_checkbox",this.g))c.checked=p}(p=DD("native-menu-bg",this.g))&&Sf(p,"click",EA(354,function(){WD(a, "bg")}));if(p=DD("mosaic_panel",this.g))this.Vb=new AD(p,this.g,J(this.l,qw,36),this.A),this.Vb.render();(p=DD("mosaic_btn",this.g))&&Sf(p,"click",function(){var D=DD("mosaic_panel",a.g);D&&oC(D,"visible")});p=DD("survey_panel",this.g);c=J(this.Ub,Kw,3);d=["jake-top"];p&&c&&!this.Mf&&(this.G=new OD(p,this.A,this.o,this.Z,Qk(this.j,27),zw(Ow(this.j)),c,this.J,this.g,this.zh,this.gh,this.ba,this.tb,this.Va,this.Zg),d=QD(this.G),this.G.render());pC(b,d);b=[];p=this.ba?15:16;if(this.sa)p=new CC("#mute_panel"+ this.g+" .native-panel",p,6),b.push(p.resize());else{var w=new CC("#mute_panel"+this.g+" .panel-row",p,9);EC(w,function(){var D=DD("ad_closed_panel",a.g);w.getSize()<=13?oC(D,"fallback-wrap"):qC(D,"fallback-wrap")});var E=new CC("#mute_panel"+this.g+" .btn-text",p,9);b.push(w.resize().then(function(){return E.resize()}))}p=new CC("#mute_panel"+this.g+" .conf-msg",17,12);b.push(p.resize());p=new CC("#mute_panel"+this.g+" #final_closed_text",17,12);b.push(p.resize());p=new CC("#mute_panel"+this.g+" .survey-option span", 12,8);b.push(p.resize());return Promise.all(b)}; var SD=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.ub=!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.D=b,a.ha=c,a.o=b,a.A=c,a.J=!0},WD=function(a,b){FA("gdn::mta",{context:"mta_dismiss",close_method:b,jake_mta_context:Aw(Ow(a.j)),height:a.o,width:a.A},.01);a.collapse()},UD=function(a,b,c){c=c.split("%1$s");var d=document.createElement("span");d.innerText=c[0];var e=document.createElement("img"),f=e.setAttribute;a=Ow(a.j);a=K(a,5);f.call(e,"src",a);f=document.createElement("span");f.innerText=c[1];b.appendChild(d);b.appendChild(e);b.appendChild(f)},VD=function(a){var b=J(a.Ub,Gw,2);if(!a.Wc)if(b){var c; (c=a.T)==null||uC(c,b);a.Wc=!0}else FA("gdn::mta",{context:"mta_nomoconv"},.01);b=0;a.G?(b=2,a.G.display(function(d,e){var f;(f=a.T)==null||uC(f,d);a.X=d;FA("gdn::mta",{type:"jake_survey_idx",idx:e,jake_mta_context:Aw(Ow(a.j))},.01);YD(a)}),a.F=Date.now(),(c=DD("survey_panel",a.g))&&oC(c,"visible")):YD(a);FA("gdn::mta",{type:"jake_telemetry",surv_rc:b,jake_mta_context:Aw(Ow(a.j))},.01);a.F&&Sf(C,"beforeunload",a.ka)},$D=function(a){var b=DD("survey_panel",a.g);b&&qC(b,"visible");(b=DD("post_survey_panel", a.g))&&oC(b,"visible");setTimeout(function(){return ZD(a)},1600)},aE=function(a){var b=DD("survey_panel",a.g);b&&qC(b,"visible");var c=DD("post_survey_panel",a.g);c&&oC(c,"visible");FA("rta",{sfcp:"false",istial:String(Qk(a.l,35)),sadam:String(a.Fa)},.01);setTimeout(function(){qC(c,"visible");a.collapse()},2E3)},YD=function(a){a.Fa&&Qk(a.l,35)?aE(a):$D(a)},ZD=function(a){var b=DD("final_closed_panel",a.g);b&&oC(b,"visible");setTimeout(function(){return bE(a)},300);FA("rta",{sfcp:"true",istial:String(Qk(a.l, 35)),sadam:String(a.Fa)},.01)},bE=function(a){var b=DD("final_closed_text",a.g);b&&oC(b,"visible");b=a.X&&K(a.X,1)==="mute_survey_option"&&K(a.X,2)==="3";(a.g===""||b)&&setTimeout(function(){return FD(a.j)},900)};TD.prototype.expand=function(){oC(ED("ad_closed_panel",this.g),"visible");oC(document.body,"goog_menu_opened");if(!this.kc){var a=J(this.j,Gw,7);if(a){var b;(b=this.T)==null||uC(b,a);this.kc=!0}else FA("gdn::mta",{context:"mta_noiconv"},.01)}this.dispatchEvent("p-control-panel-shown")}; TD.prototype.collapse=function(){qC(ED("ad_closed_panel",this.g),"visible");qC(document.body,"goog_menu_opened");XD(this);this.dispatchEvent("p-control-panel-hidden")};TD.prototype.O=function(){Tf(C,"beforeunload",this.ka);O.prototype.O.call(this)};var XD=function(a){(a=DD("ad_options_panel",a.g))&&qC(a,"visible")};var cE={};Ja("adsense.mobileads.afmanotify.receiveMessage",function(a,b){if(cE.hasOwnProperty(a))for(var c=cE[a],d=0;dc)return this.g;xo(b)||(b=new wo(b,{context:a,id:d}));B.google_js_errors=B.google_js_errors||[];B.google_js_errors.push(b);B.error_rep_loaded||(b=B.document,a=yg("SCRIPT",b),yd(a,this.o),(b=b.getElementsByTagName("script")[0])&&b.parentNode&&b.parentNode.insertBefore(a,b),B.error_rep_loaded=!0);return this.g};SE.prototype.ze=function(a,b){try{return b()}catch(c){if(!this.Lc(a,c,this.l,this.j))throw c;}}; SE.prototype.Kh=function(a,b,c){var d=this;return function(){var e=Fa.apply(0,arguments);return d.ze(a,function(){return b.apply(c,e)})}};function TE(a){a=a._google_rum_ns_=a._google_rum_ns_||{};return a.pq=a.pq||[]};function UE(a,b){b=b.google_js_reporting_queue=b.google_js_reporting_queue||[];b.length<2048&&b.push(a)} function VE(a,b,c){var d=d===void 0?!1:d;var e=window,f=typeof queueMicrotask!=="undefined";return function(){var g=Fa.apply(0,arguments);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 h=Bo(),k=3;try{var l=b.apply(this,g)}catch(n){k=13;if(!c)throw n;c(a,n)}finally{e.google_measure_js_timing&&h&&UE(Object.assign({},{label:a.toString(),value:h,duration:(Bo()||0)-h,type:k},d&&f&&{taskId:e.google_rum_task_id_counter=e.google_rum_task_id_counter|| 1}),e)}return l}};function WE(a,b,c){qg(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 $E=function(a,b,c,d,e,f,g,h){f=f===void 0?Infinity:f;g=g===void 0?!1:g;Go.call(this,a,h);var k=this;this.ba=b;this.domain=c;this.path=d;this.ha=e;this.P=0;this.B={};this.G={};this.T=[];this.report={};this.o=0;this.F=[];this.da=f;a=this.g.navigator;this.Z=!(this.domain!=="csi.gstatic.com"||!a||!a.sendBeacon);this.g.performance&&this.g.performance.now||XE(this,"dat",1);a&&a.deviceMemory&&XE(this,"dmc",a.deviceMemory);this.g===this.g.top&&XE(this,"top",1);this.J=!g;this.N=function(){k.g.setTimeout(function(){k.j()}, 1100)};this.X=function(){for(var n=v(k.T),p=n.next();!p.done;p=n.next()){p=p.value;try{p()}catch(t){}}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);k.j()};this.ka=sf(function(){k.j()});this.sa=function(){var n=k.g.document;(n.hidden!=null?n.hidden:n.mozHidden!=null?n.mozHidden:n.webkitHidden!=null&&n.webkitHidden)&&k.ka()}; this.D=this.g.setTimeout(function(){k.j()},5E3);this.A=b.length+c.length+d.length+e.length+3;ab(this.events,function(n){YE(k,n)});b=TE(this.g);var l=function(){var n=Fa.apply(0,arguments)[0],p=n[0];n=n[1];var r=p.length+n.length+2;k.A+k.o+r>8E3&&k.j();k.F.push([p,n]);k.o+=r;k.A+k.o>=6E3&&k.j();return 0};ab(b,function(n){return l(n)});b.length=0;b.push=l;XE(this,"puid",(this.P+1).toString(36)+"~"+Va().toString(36));ZE(this)};q($E,Go); var ZE=function(a){a.g.document.readyState==="complete"?a.g.setTimeout(function(){a.j()},0):Sf(a.g,"load",a.N);var b=Vf(a.g.document);typeof b!=="undefined"&&Sf(a.g,b,a.sa);Sf(a.g,"pagehide",a.X)},XE=function(a,b,c){c=String(c);a.A=a.B[b]!=null?a.A+(c.length-a.B[b].length):a.A+(b.length+c.length+2);a.B[b]=c},aF=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.A+a.o+f>8E3&&(a.j(),f=b.length+c.length+ 2);a.report[b]=d&&a.report[b]!=null?a.report[b]+(""+(e===void 0?"":e)+c):c;a.o+=f;a.A+a.o>=6E3&&a.j()};$E.prototype.j=function(){if(this.l&&this.J){try{this.o&&(this.sendBeacon(this.report),this.P===this.da&&this.C())}catch(a){(new SE).Lc(358,a)}this.report={};this.o=0;this.events.length=0;this.g.clearTimeout(this.D);this.D=0}}; var bF=function(a,b){var c=a.ba+"//"+a.domain+a.path+a.ha,d={};c=WE(c,a.B,d);c=WE(c,b,d);b=a.g;b.google_timing_params&&(c=WE(c,b.google_timing_params,d),b.google_timing_params=void 0);ab(a.F,function(e){var f=v(e);e=f.next().value;f=f.next().value;var g={};c=WE(c,(g[e]=f,g))});a.F.length=0;return c}; $E.prototype.sendBeacon=function(a){this.P++;a=bF(this,a);var b=!1;try{b=!!(this.Z&&this.g.navigator&&this.g.navigator.sendBeacon(a,null))}catch(c){this.Z=!1}b||Rg(this.g,a);XE(this,"puid",(this.P+1).toString(36)+"~"+Va().toString(36))}; var YE=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):"");aF(a,c,b,!0,"~")};$E.prototype.L=function(a){this.l&&this.P1)return rF("multiple-elements",a.g),null;b=b[0];return b?b.innerHTML:(rF("missing-element",a.g),null)},uF=function(){var a=tF,b=sF(a);if(b!==null)if(iF(b)){var c=JSON.parse(b);b=c.experimentIds;var d=c.binaryIdentifier;c=c.adEventId;var e=typeof d==="string";typeof c=="string"&&cF(T.getInstance(),"qqid", c);e&&(a.g=d);typeof b!=="string"?rF("missing-flags",a.g):(e||rF("missing-binary-id",a.g),a.l=b)}else rF("invalid-json",a.g)};qF.prototype.reset=function(){this.l=null;this.g="missing-id"};var vF=function(){qF.apply(this,arguments)};q(vF,qF);var rF=function(a,b){var c=T.getInstance();U(c,"eee",a);U(c,"bi",b)};vF.getInstance=function(){return Zg(vF)};function wF(a){return a.split(",").map(function(b){return parseInt(b,10)}).filter(function(b){return!isNaN(b)})};var HE=new BE,xF=new BE,yF=new BE,zF=new BE,AF=new BE,BF=new BE,CF=new BE;S({id:95342637,V:0});S({id:318475490,V:0});S({id:324123032,V:0});S({id:420706097,V:10});S({id:420706098,V:10});S({id:95342168,V:10});S({id:95342169,V:10});S({id:21062100,V:0});S({id:420706142,V:0});S({id:44745813,V:0});S({id:95355265,V:0});var DF=S({id:44746068,V:0});S({id:21064565,V:0});S({id:21064567,V:0});S({id:418572006,V:10});S({id:95338773,V:10,Ra:zF});S({id:95338774,V:10,Ra:zF});S({id:95334214,V:10}); var EF=S({id:95334215,V:10});S({id:44749839,V:0});var FF=S({id:44714743,V:0});S({id:44715336,V:10});S({id:44724516,V:0});S({id:44726389,V:10});S({id:44752711,V:50});S({id:44752052,V:50});S({id:44752657,V:50});S({id:44733246,V:10});var GF=S({id:95343833,V:10,Ra:xF}),HF=S({id:95343834,V:10,Ra:xF}),IF=S({id:95343835,V:10,Ra:xF}),JF=S({id:95343836,V:10,Ra:xF}),KF=S({id:95343837,V:10,Ra:xF});S({id:95343832,V:10,Ra:xF});S({id:44751889,V:10});S({id:44751890,V:10});S({id:44752995,V:10});S({id:44752996,V:10}); S({id:44762627,V:0});S({id:44762628,V:0});S({id:44801479,V:10,Ra:yF});S({id:44801480,V:10,Ra:yF});S({id:44752538,V:0});S({id:44754608,V:10});S({id:44754609,V:10});S({id:44776384,V:0});S({id:44789282,V:0});S({id:95344889,V:0});S({id:95355192,V:0});S({id:95334260,V:0});S({id:95345698,V:0});S({id:95356737,V:0});S({id:75259416,V:0});S({id:75259420,V:0});S({id:75259421,V:0});S({id:45401791,V:0});S({id:95326337,V:0,Ra:AF});S({id:44809192,V:10,Ra:CF});var LF=S({id:44809193,V:10,Ra:CF}); S({id:95320804,V:10,Ra:CF});S({id:95320805,V:10,Ra:CF});S({id:95322027,V:1E3,Ra:BF});S({id:46130031,V:0});S({id:95328713,V:10});S({id:95328714,V:10});S({id:95327848,V:0});S({id:31065644,V:1});S({id:31065645,V:1});var MF=new BE;S({id:95331588,V:0,Ra:MF});S({id:95331589,V:1E3,Ra:MF});S({id:95332182,V:0});S({id:95347814,V:10});var NF=S({id:95347815,V:10});S({id:95362047,V:0});S({id:95363795,V:0}); if(typeof window!=="undefined"&&typeof window.initializeVirtualDom==="undefined"){var tF=vF.getInstance(),OF;tF.j||(uF(),tF.j=!0);OF=tF.l;var PF;tF.j||(uF(),tF.j=!0);PF=tF.g;if(OF!=null){var QF=new hF(wF(OF),PF);GE(QF)}};var RF=function(a,b,c){this.j=a;this.l=b;this.g=c===void 0?null:c};RF.prototype.getName=function(){return this.j};var SF=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||SF();var TF=function(){this.adPosition=1;this.l=-1;this.j=this.g=0;this.totalAds=1};TF.prototype.getAdPosition=function(){return this.adPosition};TF.prototype.getPodIndex=function(){return this.g};TF.prototype.getTimeOffset=function(){return this.j};TF.prototype.getTotalAds=function(){return this.totalAds};var UF=function(a){return(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):""};function VF(a,b){b=b===void 0?!1:b;a=a<0?0:a;a=b?a:Math.round(a);if(b){var c=Math.floor(a/3600);if(Number.isFinite(c)){c=String(c);var d=c.indexOf(".");d===-1&&(d=c.length);var e=c[0]==="-"?"-":"";e&&(c=c.substring(1));c=e+Id("0",Math.max(0,2-d))+c}else c=String(c);c+=":";d=Math.floor(a/60)%60<10?"0":""}else c=a>=3600?Math.floor(a/3600)+":":"",d=Math.floor(a/60)%60<10&&a>=3600?"0":"";return""+c+d+Math.floor(a/60)%60+":"+(Math.floor(a%60)<10?"0":"")+Math.floor(a%60)+(b?(a%1).toFixed(3).slice(1):"")} function WF(a,b){return F(b)?!1:(new RegExp(a)).test(b)}function XF(a){if(!a)return!1;switch(a.toLowerCase()){case "true":case "1":return!0}return!1}function YF(a){var b=[""];if(!a)return null;a=a.toLowerCase().replace("-","_");if(b.includes(a))return a;a=UF(a);return b.includes(a)?a:null};var ZF={sr:2,ur:3,rr:4,tr:5,vr:6,wr:7,xr:8,yr:11,zr:12};var $F={LOADED:"loaded",Oj:"start",FIRST_QUARTILE:"firstQuartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdQuartile",COMPLETE:"complete",PAUSE:"pause",Nj:"resume",Ij:"bufferStart",Hj:"bufferFinish",SKIPPED:"skipped",Br:"volumeChange",Tq:"playerStateChange",Bp:"adUserInteraction"};function aG(a,b){return a&&(a[b]||(a[b]={}))}function bG(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(aG,c)[a[a.length-1]]=b};function cG(a){for(var b=v(dG.keys()),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=v(dG.get(c)),e=d.next();!e.done;e=d.next())if(e.value.test(a))return c}return 1} var dG=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\/.*$/]]]);bG("OmidSessionClient.verificationVendorIdForScriptUrl",cG); bG("OmidSessionClient.VerificationVendorId",{OTHER:1,MOAT:2,DOUBLEVERIFY:3,INTEGRAL_AD_SCIENCE:4,PIXELATE:5,NIELSEN:6,COMSCORE:7,MEETRICS:8,GOOGLE:9});var eG={qr:"ultrahigh",mq:"high",Mq:"medium"},fG=new Set("disable_frequency_capping adgroups adsafe adsid adtest adk ad_type js alternate_ad_url is_amp mv an u_ah u_aw bbt channel client u_cd ca_h ca_type ca_w cdm co tfcd correlator creatives ad_block debug_experiment_id disable_budget_throttling disable_fcap dnd dlt dt eo_id_str expflags jar gdpr cookie cookie_enabled addtl_consent gpic u_his h_ch host ht_id idt frm image_size sdkv ltd wta sz u_java eid hl is_lat max_ad_duration media_url min_ad_duration msid ms rdid u_so npa num_ads u_nmime u_nplug omid_p osd output pdopt plcmt pucrd pvtf video_product_type pubf ppt puo ppsj ptt trt idtype ref rdp retrieve_only u_h u_w sdk_apis sdki sdmax slotname sdr scd videoad_start_delay tfua t_pyv a3p cpm u_tz top unviewed_position_start 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 gG="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),hG=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]=gG[d==19?c&3|8:c]);return a.join("")};var iG=function(){var a=a===void 0?hG():a;this.adTagUrl=null;this.o="0";this.A=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.l=this.B=this.C=this.pageUrl=null;this.j=1},jG=function(a,b){a=a.clone();a.adTagUrl=b;a.adsResponse=null;a.C=!0;return a}; iG.prototype.clone=function(){var a=new iG;a.o=this.o;a.g=this.g;a.A=this.A;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.B=this.B;a.l=this.l;a.j=this.j;return a};var lG=function(a){P.call(this,a);this.L=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;kG(this,c)};q(lG,P);lG.prototype.toString=function(){return mG(this,P.prototype.toString.call(this))};lG.prototype.D=function(){return""}; var kG=function(a,b){F(H(b))||b.split(";").forEach(function(c){var d=c.indexOf("=");if(!(d<=0)){var e=Bd(c.substring(0,d));c=Bd(c.substring(d+1));d=a.L.get(e);d!=null?d.includes(c)||d.push(c):d=[H(c)];a.L.set(e,d)}},a)},nG=function(a,b){if(F(H(b)))return null;a=a.L.get(b);return a!=null?a:null},oG=function(a,b,c){F(H(b))||(c=c.map(H),a.L.set(b,c))},mG=function(a,b){b=[H(b)];b.push.apply(b,x(pG(a)));return b.join(";")},pG=function(a){var b=nG(a,"ord");b==null?b=[H(Date.now())]:F(H("ord"))||a.L.delete("ord"); var c=[];a.L.forEach(function(d,e){d.forEach(function(f){c.push(e+"="+f)})});c.push("ord="+b[0]);oG(a,"ord",b);return c};lG.prototype.clone=function(){return new lG(this.toString())};function qG(){try{var a=window.top.location.href}catch(b){return 2}return a==null?2:a==window.document.location.href?0:1}function rG(a,b){b.forEach(function(c,d){a.g.set(d,c)})}function sG(a,b){b=v(b.entries());for(var c=b.next();!c.done;c=b.next()){var d=v(c.value);c=d.next().value;d=d.next().value;F(d)&&a.g.remove(c)}}function tG(a){IB(a,"https")} function uG(a){var b;(b=vG(a)||wG(a)||xG(a)||yG(a)||zG(a))||(a=new P(a),b=a.l,b=a.j==="pubads.g.doubleclick.net"&&(WF("/ssai/",b)||WF("/ondemand/",b)));return b}function wG(a){var b=new lG(a);a=b.j;b=mG(b,b.l);return!tc(a,".g.doubleclick.net")&&(tc(a,"doubleclick.net")||tc(a,"pagead2.googlesyndication.com"))&&WF("/(ad|pfad)[x|i|j]?/",b)}function yG(a){return(new P(a)).j=="bid.g.doubleclick.net"} function vG(a){a=new P(a);var b=a.l;return tc(a.j,"googleads.g.doubleclick.net")&&WF("/pagead/(live/)?ads",b)}function xG(a){a=new P(a);var b=a.l;return tc(a.j,"doubleclick.net")&&WF("/gampad/(live/)?ads",b)}function zG(a){a=new P(a);var b=a.l;return a.j==="ad.doubleclick.net"&&WF("/dv3/adv",b)}function AG(a){var b=new Map;a.g!="unknown"&&b.set("vpa",a.g);a.A!="unknown"&&b.set("vpmute",a.A=="muted"?"1":"0");a.o!="0"&&b.set("vconp",a.o);return b} function BG(a){var b=EE(),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 CG(a,b,c){c=c===void 0?"":c;a=a.g;var d=c;aC(a,b)&&(d=a.get(b));return F(d)?c:d};var GG=function(a,b){a=a===void 0?{}:a;b=b===void 0?new Map:b;DG(b,"ADCOUNT",function(){var e=a.Kb;return(e=e===void 0?null:e)?e.getAdPosition().toString():"-1"});DG(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()});DG(b,"ADPLAYHEAD",function(){var e=a.H;e=e===void 0?null:e;return e==null?"-1":VF(e.getCurrentTime(),!0)});DG(b,"ADSERVINGID",function(){var e=a.ad;return(e=(e=e===void 0?null:e)&&e.de)?e:"-1"});DG(b,"ASSETURI", function(){var e=a.H;e=e===void 0?null:e;return e==null?"-1":e.tg});EG(b,"CLICKPOS","-1");DG(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.jp;c=c.kp;EG(b,"UNIVERSALADID",d&&c?d+" "+c:"-1");FG(a,b)},FG=function(a,b){a=a===void 0?{}:a;b=b===void 0?new Map:b;DG(b,"ADTYPE",function(){var d=a.ad;return(d=d===void 0?null:d)?d.xd:"-1"});EG(b,"APPBUNDLE",a.appName||"-1");DG(b,"BREAKMAXADS",function(){var d=a.Kb;return(d=d===void 0?null:d)?d.getTotalAds().toString(): "-1"});EG(b,"BREAKMAXADLENGTH","-1");DG(b,"BREAKMAXDURATION",function(){var d=a.Kb;return(d=d===void 0?null:d)?d.l.toString():"-1"});EG(b,"BREAKMINADLENGTH","-1");EG(b,"BREAKMINDURATION","-1");DG(b,"BREAKPOSITION",function(){var d=a.Kb;d=d===void 0?null:d;d==null?d="-1":(d=d.getPodIndex(),d=d==0?"1":d==-1?"3":"2");return d});DG(b,"CACHEBUSTING",HG);EG(b,"CLICKTYPE",a.fk||"-1");var c=a;EG(b,"CLIENTUA",IG({Af:c.Af,Bf:c.Bf,cg:c.cg,dg:c.dg}));EG(b,"CONTENTID","-1");EG(b,"CONTENTURI","-1");EG(b,"DEVICEIP", "-1");EG(b,"DEVICEUA","-1");EG(b,"DOMAIN",a.domain||JG());EG(b,"GDPRCONSENT",a.If?a.If:"-1");EG(b,"IFA","-2");EG(b,"IFATYPE","-2");EG(b,"INVENTORYSTATE","-1");EG(b,"LATLONG","-1");DG(b,"LIMITADTRACKING",function(){return"-1"});DG(b,"MEDIAPLAYHEAD",function(){var d=a.Kb;return(d=d===void 0?null:d)?d.getTimeOffset().toString():"-1"});DG(b,"OMIDPARTNER",function(){var d=a.Bh,e=a.Lk;d=d===void 0?null:d;e=e===void 0?null:e;return d==null||e==null?"-1":d+"/"+e});EG(b,"PAGEURL",a.pageUrl||KG());EG(b,"PLACEMENTTYPE", a.Qk||"-1");EG(b,"PLAYERSIZE","-1");EG(b,"PLAYERSTATE","-1");EG(b,"REGULATIONS","-1");EG(b,"SERVERSIDE","0");EG(b,"SERVERUA","-1");DG(b,"TIMESTAMP",LG);DG(b,"TRANSACTIONID",function(){var d=a.ta;return(d=d===void 0?null:d)?d.transactionId.toString():"-1"});EG(b,"US_PRIVACY",a.xl||"-1");a.ae&&EG(b,"UACH",a.ae);return b},EG=function(a,b,c){a.set(b,new RF(b,{toString:function(){return c}}))},DG=function(a,b,c){a.set(b,new RF(b,{toString:function(){return c()}}))},MG=function(a,b){b=b===void 0?new Map: b;b.set("ERRORCODE",new RF("ERRORCODE",a))},IG=function(a){var b=a.Af===void 0?null:a.Af;var c=a.Bf===void 0?null:a.Bf;var d=a.cg===void 0?null:a.cg;a=a.dg===void 0?null:a.dg;if(!b&&!d)return"-1";var e="unknown";b&&(e=b+(c?"/"+c:""));b="";d&&(b=" "+d+(a?"/"+a:""));return e+b},HG=function(){return Math.round(Math.random()*1E8+1E8).toString().slice(1)},JG=function(){var a=qG()==2?null:Qe().top.location.hostname;return a?a:"-1"},KG=function(){var a=qG()==2?null:Qe().top.location.href;return a?a:"-1"}, LG=function(){return(new Date).toISOString()};var NG=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g,OG=function(a,b){return a.replace(NG,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!=""&&F(H(e))?null:encodeURIComponent(e).replace(/%2C/g,",")}else e=null;return e!=null?e:c})};var PG=function(a){this.D=a;this.qa=null},QG=function(a,b){return a.map(function(c){c=typeof c==="string"?new qE(c):c;return new qE(OG(c.url,b),c.g==null?null:OG(c.g,b))})},SG=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 qE(e):e});c=c?QG(b,c):b;RG(a.D,c,d)};var UG=function(a,b,c){c=c===void 0?[]:c;PG.call(this,b);var d=this;this.L=a;this.P=c;this.g=new Map;this.j=new Map;this.l=new Map;this.B=[];this.C=[];this.o=this.A=-1;U(T.getInstance(),"ua_e",navigator&&navigator.userActivation?"1":"0");T.getInstance().g.T.push(function(){return TG(d)})};q(UG,PG);UG.prototype.report=function(a,b){b=b===void 0?VG(this,a):b;WG(this,a,b||[])}; var WG=function(a,b,c){var d;z(function(e){if(e.g==1)return d=c.map(function(f){return typeof f==="string"?new qE(f):f}),a.C.length>0?e=y(e,Promise.all(d.map(function(f){var g,h,k;return z(function(l){switch(l.g){case 1:g=v(a.C),h=g.next();case 2:if(h.done){l.g=4;break}k=h.value;return y(l,k(b,f),5);case 5:f=l.j;h=g.next();l.g=2;break;case 4:return l.return(f)}})})),3):(e.g=2,e=void 0),e;e.g!=2&&(d=e.j);a.B.forEach(function(f){try{f(b)}catch(g){}});XG(a,b,d);e.g=0})},XG=function(a,b,c){YG(a,b)?ZG(a, b,c):$G(a,b)&&(b=="skip"&&navigator&&navigator.userActivation&&(U(T.getInstance(),"uas_hba",navigator.userActivation.hasBeenActive?"1":"0"),U(T.getInstance(),"uas_ia",navigator.userActivation.isActive?"1":"0")),c.filter(function(d){return d.url.match(/\/aclk.*label=video_engaged_view/)}).length&&(b=="complete"&&eF(T.getInstance(),"evoace"),b=="progress"&&eF(T.getInstance(),"evoape"),b=="engagedView"&&eF(T.getInstance(),"evoaeve")),aH(a,b,c))},aH=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{Je:Po(d.url,"ad_signals"),Wj:Po(d.url,"auction_data"),Oo:Po(d.url,"report_type"),label:Po(d.url,"label"),Jo:Po(d.url,"event_type")}}).filter(function(d){var e=d.Je;d=d.Wj;return!!e||!!d}).forEach(function(d){var e=d.Je;var f=d.Wj;var g=d.Oo;var h=d.Jo||b,k=d.label||"";g=g?parseInt(g,10):1;d=B;d=d===void 0?B:d;g=g===void 0?1:g;if(e!==""||f!=="")if(h==="auctionwinner"){var l;(l=d.fence)==null||l.reportEvent({eventType:"auctionwinner",eventData:f,destination:["buyer"]})}else if(jC.has(h)){f= new Sw;e=dl(f,1,e);e=dl(e,6,k);e=dl(e,10,Date.now().toString());if(h==="impression"){gl(e,9,g);var n;(n=d.fence)==null||n.reportEvent({eventType:h,eventData:Am(e),destination:["buyer"]})}if(h==="click"){var p;(p=d.fence)==null||p.setReportEventDataForAutomaticBeacons({eventType:"reserved.top_navigation_start",eventData:Am(e),destination:["buyer"],once:!0})}}else iC({Je:e,label:k||h})}),c=c.filter(function(d){return!Po(d.url,"ad_signals")&&!Po(d.url,"auction_data")}),c.length&&SG(a,c,a.l,a.P.includes(b))); bH(a,b)},bH=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),aH(a,c,b))},cH=function(a,b,c){var d=a.L.get("progress");if(!(d==null||d.length<=0)){var e=[],f=a.A,g=a.o;d.forEach(function(h){var k=h.o,l=h.l;l&&l<=b*1E3*100/c&&l>a.o?(g=l>g?l:g,e.push(wE(h))):k&&k<=b&&k>a.A&&(f=k>f?k:f,e.push(wE(h)))});a.A=f;a.o=g;e.length>0&&a.report("progress",e)}}; UG.prototype.reportError=function(a){eF(T.getInstance(),"err");U(T.getInstance(),"aec",String(a));MG(a,this.l);this.report("error")}; var dH=function(a,b){a.l.set(b.getName(),b)},eH=function(a,b){b.forEach(function(c){return dH(a,c)})},fH=function(a,b){a.B.push(b)},ZG=function(a,b,c){var d=c;a.l!=null&&(d=QG(c,a.l));a.j.has(b)?d.forEach(function(e){return void a.j.get(b).push(e)}):a.j.set(b,d)},YG=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}},$G=function(a,b){switch(b){case "abandon":return!a.g.has(b)&& !a.g.has("skip")&&!a.g.has("instreamAdComplete")&&a.g.has("impression");case "instreamAdComplete":case "complete":return!a.g.has(b)&&!a.g.has("skip");case "mute":case "unmute":case "pause":case "resume":case "fullscreen":case "exitFullscreen":case "progress":case "vastProgress":case "error":case "click":case "expand":case "collapse":case "videoIconClicked":case "vastIconRendered":return!0;default:return!a.g.has(b)}},VG=function(a,b){return(a.L.get(b)||[]).map(function(c){return wE(c)})},TG=function(a){U(T.getInstance(), "rec",Array.from(a.g,function(b){var c=v(b);b=c.next().value;c=c.next().value;return b+"-"+c}).join("|"))};var gH={},hH=(gH.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(" "),gH),iH=new Map,jH=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;hq.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 kf;this.B=(a=a.ia.get(oE))? a.j:"";this.C=a?a.g:"";this.D=a?a.l:[];fH(this.j,function(h){g.J(h)});a=IE();oc(a);iH.set(this.l,this)};q(jH,hq);jH.prototype.reportEvent=function(a){this.j.report(a)};var lH=function(a,b){dH(a.j,new RF("VIEWABILITY",b.viewability));dH(a.j,new RF("GOOGLE_VIEWABILITY",b.googleViewability,function(c){return function(d){return kH(d,c)}}("GOOGLE_VIEWABILITY")))}; jH.prototype.J=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.se(),f.opt_adElement=void 0,f);a=="start"&&(c.opt_configurable_tracking_events=e);d&&(c.opt_bounds=Nf(d));a=tu(a,b,c);lH(this,a)}; var mH=function(a){if(a.G&&a.o.cj()){Hp().F=!0;Zg(gu);var b=a.o;nc().B=b}b=Zg(gu);var c=a.B;b.J=c;nc().Ih(c);Zg(gu);b=a.C;a=nc();try{var d=wh(b);a.Jh(d)}catch(e){vo(To,"lidarv",{processDecodedFlagsFailure:1},!0,1E-6),a.Jh(b)}d=so(a.flags,It)?1:0;jc(a.ga,"fmd",d)},kH=function(a,b){b=hH[b];return b==null?!0:b.some(function(c){return a.match(c)!=null})};jH.prototype.O=function(){iH.delete(this.l);this.g=this.j=null;this.o=new kf}; Ja("ima.common.triggerExternalActivityEvent",function(a,b,c){(a=iH.get(a))&&a.reportEvent(c)});Ja("ima.common.getVideoMetadata",function(a){return(a=iH.get(a))?{currentTime:a.g.getCurrentTime(),duration:a.g.getDuration(),Nr:a.F,volume:a.g.muted?0:a.g.getVolume()}:{}});var nH=function(a){this.K=I(a)};q(nH,L);nH.prototype.getValue=function(){return K(this,1)};var oH=function(a,b){return dl(a,1,b)},pH=function(a,b){return ck(a,2,b==null?b:jj(b))},qH=function(a,b){return dl(a,3,b)},rH=function(a,b){return dl(a,4,b)};nH.prototype.getVersion=function(){return Vk(this,5)};nH.prototype.R=M([0,Tn,Cn,Tn,-1,fo]);var sH=function(a){this.g=a};var tH=function(a){this.g=a===void 0?null:a};var uH=function(a,b){var c=b===void 0?{}:b;b=c.vendor===void 0?null:c.vendor;var d=c.ud===void 0?null:c.ud;var e=c.parameters===void 0?null:c.parameters;c=c.aa===void 0?[]:c.aa;this.g=a;this.vendor=b;this.parameters=e;this.ud=d;this.aa=c};var vH=function(a,b,c){this.id=a;this.title=b;this.g=c};var wH=function(a,b,c,d,e){this.id=a;this.fd=d===void 0?!1:d;this.title=b;this.j=c;this.g=!(e===void 0?0:e)};var xH=function(a,b,c){this.j=a;this.l=b;this.g=(c===void 0?null:c)||""};xH.prototype.fd=function(){return this.j.fd};var yH=function(a){var b=a.Pa;var c=a.ab;var d=a.height;var e=a.width;a=a.Ja===void 0?!1:a.Ja;this.Pa=b;this.ab=c;this.height=d;this.width=e;this.Ja=a};yH.prototype.getHeight=function(){return this.height};yH.prototype.getWidth=function(){return this.width};var zH=function(){this.g=this.j=0;this.altText=this.creativeType=this.l=null};zH.prototype.clone=function(){var a=new zH;a.j=this.j;a.g=this.g;a.l=this.l;a.creativeType=this.creativeType;a.altText=this.altText;return a};var AH=function(){this.altText=this.ea=this.program=null;this.g=this.j=0;this.P=1;this.xPosition="left";this.yPosition="top";this.Lb=this.Sa=-1;this.D=this.l=this.C=this.o=null;this.L=[];this.B=[];this.A=[]};AH.prototype.getApiFramework=function(){return this.ea}; var BH=function(a,b){return a.xPosition=="left"?"0px":a.xPosition=="right"?b-a.j+"px":a.xPosition+"px"},CH=function(a,b){return a.yPosition=="bottom"?"0px":a.yPosition=="top"?b-a.g+"px":b-a.g-Pd(a.yPosition)+"px"},DH=function(a,b){var c=new wf(0,0,b.width,b.height),d=Number.MIN_VALUE,e=null;a.A.forEach(function(f){var g=new wf(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 LH(a){if(!a||!a.nodeName=="VAST")return U(T.getInstance(),"vast_v","error"),null;a=a.getAttribute("version");if(!a)return U(T.getInstance(),"vast_v","not_specified"),null;U(T.getInstance(),"vast_v",a);a=parseInt(a,10);return a==null||isNaN(a)?null:a} function MH(){var a=document.featurePolicy;return a!==void 0&&typeof a.allowedFeatures=="function"&&typeof a.allowedFeatures()=="object"&&a.allowedFeatures().includes("attribution-reporting")}function NH(a){return(a==null?void 0:a.g)!=null&&MH()?(a=a.g)?"attributionsrc="+encodeURIComponent(a):a===""?"attributionsrc":"":""}function OH(a,b){(a==null?void 0:a.g)!=null&&MH()&&b.setAttribute("attributionsrc",H(a.g))};var PH=RegExp("(doubleclick\\.net|googleadservices\\.com|googlesyndication\\.com)"),QH=["ai","sigh"],RH=["xai","sig"];function SH(a){return a&&PH.test(a)?a.includes("/pagead/adview")||a.includes("/pagead/conversion")||a.includes("/gampad/live/conversion")||a.includes("/pagead/interaction")?QH.every(function(b){return Oo(a,b)}):a.includes("/pcs/view")?RH.every(function(b){return Oo(a,b)}):!1:!1}function TH(a,b){var c=a.indexOf("&adurl=");return c!=-1?a.substr(0,c)+b+a.substr(c,a.length):a+b} function UH(a,b){a&&b!=null&&(b=MH()?"6":"5",a=Ro(a,"nis"),a=TH(a,"&nis="+b));return a};var VH=function(a){var b=a.tg;var c=a.Zj;var d=a.Cl;var e=a.Xj;var f=a.Pa;var g=a.ab;var h=a.Dl;var k=a.Yj;yH.call(this,{Pa:f,ab:g,height:a.height,width:a.width,Ja:a.Ja===void 0?!1:a.Ja});this.j=b;this.C=c;this.o=d;this.l=e;this.g=h;this.A=k};q(VH,yH);var WH=function(a){var b=a.qo;var c=a.mimeType;yH.call(this,{Pa:a.Pa,ab:a.ab,height:a.height,width:a.width,Ja:a.Ja===void 0?!1:a.Ja});this.j=b;this.g=c};q(WH,yH);WH.prototype.getMediaUrl=function(){return this.j};var XH=function(a,b,c){this.g=a;this.resourceType=b;this.creativeType=c===void 0?null:c};var YH=function(a){var b=a===void 0?{}:a;a=b.id===void 0?null:b.id;var c=b.ee===void 0?null:b.ee;var d=b.ea===void 0?null:b.ea;var e=b.width===void 0?null:b.width;var f=b.height===void 0?null:b.height;var g=b.Ha===void 0?!1:b.Ha;var h=b.Ig===void 0?null:b.Ig;var k=b.Jg===void 0?[]:b.Jg;var l=b.resources===void 0?[]:b.resources;b=b.aa===void 0?[]:b.aa;this.id=a;this.ee=c;this.ea=d;this.width=e;this.height=f;this.Ha=g;this.Ig=h;this.Jg=k;this.resources=l;this.aa=b};var ZH=function(a,b){this.g=a;this.required=b===void 0?"none":b};var $H=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 aI=function(a,b,c,d){this.Ta=a;this.width=b===void 0?null:b;this.height=c===void 0?null:c;this.altText=d===void 0?null:d};var bI=function(a){var b=a===void 0?{}:a;a=b.Tb===void 0?null:b.Tb;var c=b.Tc===void 0?[]:b.Tc;b=b.Gg===void 0?[]:b.Gg;this.Tb=a;this.Tc=c;this.Gg=b};var cI=function(a){var b=a===void 0?{}:a;a=b.program===void 0?null:b.program;var c=b.ea===void 0?null:b.ea;var d=b.xPosition===void 0?null:b.xPosition;var e=b.yPosition===void 0?null:b.yPosition;var f=b.width===void 0?null:b.width;var g=b.height===void 0?null:b.height;var h=b.altText===void 0?null:b.altText;var k=b.Wi===void 0?null:b.Wi;var l=b.Sa===void 0?null:b.Sa;var n=b.Lb===void 0?null:b.Lb;var p=b.gg===void 0?null:b.gg;var r=b.Ue===void 0?null:b.Ue;var t=b.Pf===void 0?[]:b.Pf;b=b.resources=== void 0?[]:b.resources;this.program=a;this.ea=c;this.xPosition=d;this.yPosition=e;this.width=f;this.height=g;this.altText=h;this.Wi=k;this.Sa=l;this.gg=p;this.Lb=n;this.Ue=r;this.Pf=t;this.resources=b};var dI=function(a,b){var c=b===void 0?{}:b;b=c.mimeType===void 0?null:c.mimeType;var d=c.ea===void 0?null:c.ea;c=c.sf===void 0?null:c.sf;this.Ta=a;this.ea=d;this.mimeType=b;this.sf=c},eI=function(a){return a.Ta.resourceType==="Url"?a.Ta.g:null},fI=function(a){return a.Ta.resourceType==="Html"?a.Ta.g:null};var gI=function(a,b){var c=b===void 0?{}:b;b=c.Hb===void 0?null:c.Hb;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.Hb=b;this.mimeType=d;this.codec=e;this.width=f;this.height=c};var hI=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.Hb===void 0?null:c.Hb;var f=c.mimeType===void 0?null:c.mimeType;var g=c.ea===void 0?null:c.ea;var h=c.bitrate===void 0?null:c.bitrate;var k=c.qb===void 0?null:c.qb;var l=c.maxBitrate===void 0?null:c.maxBitrate;var n=c.Qa===void 0?null:c.Qa;gI.call(this,a,{Hb:e,mimeType:f,codec:c.codec===void 0?null:c.codec,width:d,height:b});this.ea=g;this.qb=k||l||h||0;this.maxBitrate=l||k||h|| 0;this.Qa=n};q(hI,gI);var iI=function(a){var b=a===void 0?{}:a;a=b.Tb===void 0?null:b.Tb;var c=b.Tc===void 0?[]:b.Tc;b=b.Ef===void 0?[]:b.Ef;this.Tb=a;this.Tc=c;this.Ef=b};var jI=function(a){var b=a===void 0?{}:a;a=b.duration===void 0?null:b.duration;var c=b.dc===void 0?null:b.dc;var d=b.aa===void 0?[]:b.aa;var e=b.ld===void 0?[]:b.ld;var f=b.pb===void 0?[]:b.pb;var g=b.ri===void 0?[]:b.ri;var h=b.be===void 0?null:b.be;var k=b.oa===void 0?null:b.oa;b=b.icons===void 0?[]:b.icons;this.duration=a;this.oa=k;this.dc=c;this.aa=d;this.ld=e;this.pb=f;this.ri=g;this.be=h;this.icons=b};var kI=function(a){var b=a===void 0?{}:a;a=b.id===void 0?null:b.id;var c=b.ea===void 0?null:b.ea;var d=b.height===void 0?null:b.height;var e=b.width===void 0?null:b.width;var f=b.nd===void 0?null:b.nd;var g=b.resources===void 0?[]:b.resources;var h=b.xh===void 0?null:b.xh;var k=b.yh===void 0?[]:b.yh;b=b.oa===void 0?null:b.oa;this.id=a;this.ea=c;this.height=d;this.width=e;this.nd=f;this.resources=g;this.xh=h;this.yh=k;this.oa=b};var lI=function(a,b){b=b===void 0?[]:b;this.g=a;this.aa=b};var mI=function(a){var b=a===void 0?{}:a;a=b.Rf===void 0?"unknown":b.Rf;b=b.Qf===void 0?"unknown":b.Qf;this.Rf=a||"unknown";this.Qf=b||"unknown"};var nI=function(a){var b=a===void 0?{}:a;a=b.Oa===void 0?null:b.Oa;var c=b.id===void 0?null:b.id;var d=b.adId===void 0?null:b.adId;var e=b.rc===void 0?null:b.rc;var f=b.ff===void 0?null:b.ff;var g=b.Me===void 0?null:b.Me;b=b.sb===void 0?[]:b.sb;this.Oa=a;this.id=c;this.adId=d;this.rc=e;this.ff=f;this.Me=g;this.sb=b};var oI=function(a,b){this.url=a;this.g=b===void 0?null:b};var pI=function(a){var b=a===void 0?{}:a;a=b.vendor===void 0?null:b.vendor;var c=b.nf===void 0?null:b.nf;var d=b.ud===void 0?null:b.ud;var e=b.parameters===void 0?null:b.parameters;b=b.aa===void 0?[]:b.aa;this.vendor=a;this.nf=c;this.ud=d;this.parameters=e;this.aa=b};var qI=function(a){var b=a===void 0?{}:a;a=b.Za===void 0?null:b.Za;var c=b.errors===void 0?[]:b.errors;var d=b.cd===void 0?[]:b.cd;var e=b.ya===void 0?[]:b.ya;var f=b.Cb===void 0?[]:b.Cb;b=b.ia===void 0?[]:b.ia;this.Za=a;this.g=c;this.j=d;this.ya=e;this.Cb=f;this.ia=b};var rI=function(a,b){var c=b===void 0?{}:b;b=c.id===void 0?null:c.id;var d=c.Oa===void 0?null:c.Oa;c=c.xd===void 0?null:c.xd;this.ib=a;this.id=b;this.Oa=d;this.xd=c=="audio"?"audio":c=="hybrid"?"hybrid":"video"};var sI=function(a){this.g=a=a===void 0?[]:a};sI.prototype.unshift=function(a){this.g.unshift(a)};var tI=function(a,b){var c=[];a.g.forEach(function(d){c=c.concat(d.ib.ia.filter(function(e){return e instanceof b}))});return c};var uI=function(a){this.aa=a=a===void 0?[]:a};var vI=function(a,b,c,d){b=b===void 0?[]:b;c=c===void 0?"":c;d=d===void 0?"":d;uI.call(this,a);this.g=b;this.l=c;this.j=d};q(vI,uI);var wI=function(){};wI.prototype.g=function(a,b){var c=[],d="",e="";tI(a,vI).forEach(function(f){c.push.apply(c,x(f.g));d=d||f.l;e=e||f.j});(c.length>0||d||e)&&b.ia.set(oE,new oE(c,d,e))};var xI=function(){var a={};var b=a.za===void 0?"":a.za;var c=a.Fb===void 0?"http://www.google.com/adsense/support":a.Fb;var d=a.ge===void 0?!1:a.ge;a=a.Qc===void 0?0:a.Qc;this.za=b;this.Fb=c;this.ge=d;this.Qc=a};var yI=function(a,b){var c=b===void 0?{}:b;b=c.za===void 0?null:c.za;var d=c.Fb===void 0?null:c.Fb;var e=c.Ne===void 0?null:c.Ne;var f=c.aj===void 0?!1:c.aj;var g=c.cf===void 0?[]:c.cf;var h=c.qf===void 0?!1:c.qf;var k=c.uiConfig===void 0?null:c.uiConfig;var l=c.zc===void 0?null:c.zc;c=c.Ac===void 0?null:c.Ac;uI.call(this,a);this.za=b;this.Fb=d;this.Ne=e;this.aj=f;this.cf=g;this.qf=h;this.uiConfig=k;this.zc=l;this.Ac=c};q(yI,uI);var zI=function(a){this.g=a};var AI="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(" "),BI=["c.googlesyndication.com"]; function CI(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:DI(a,BI)?c=!1:b.includes("https")&&DI(a,AI)&&(c=!0);return c?(a=new P(a),U(T.getInstance(),"htp","1"),IB(a,"https"),a.toString()):a}function DI(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)} function EI(a){var b=FI;try{var c=(new P(a)).j;c=c.replace(/^www./i,"");return b.some(function(d){return GI(d,c)})}catch(d){return!1}}function GI(a,b){if(F(H(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 HI(a){a=new P(a);var b=a.j;return a.o!="http"&&a.o!="https"?!1:b.indexOf(".")==-1||b.match(/^[\.0-9]*$/)?!1:II(a.toString())} function II(a){try{Bd(a)}catch(b){return!1}return!0};var JI=/OS (\S+) like/,KI=/Android ([\d\.]+)/;function LI(a,b){a=(a=a.exec(Gc()))?a[1]:"";a=a.replace(/_/g,".");return Ec(a,b)>=0} var MI=function(){var a=B.navigator||null;return UF((a==null?void 0:a.language)||(a==null?void 0:a.userLanguage)||(a==null?void 0:a.browserLanguage)||(a==null?void 0:a.systemLanguage)||"")},NI=function(){return lg()||kg()},OI=function(){return be||Yd&&"ontouchstart"in document.documentElement},PI=function(a,b){var c=window.screen.availHeight||window.screen.height;return(window.screen.availWidth||window.screen.width)-a<=0&&c-b<=42};var QI=ra(["about:blank"]),RI=ra(["javascript:undefined"]),SI=Fe(QI);bd(SI);var TI=Fe(RI);bd(TI);var UI={TYPE_EXTERNAL:0,TYPE_SITELINK:1,TYPE_WEBSITE_DEEP_LINK:2};var VI=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.Fh===void 0?null:b.Fh;b=b.Qg===void 0?null:b.Qg;this.type=a;this.target=c;this.title=d;this.Fh=e;this.Qg=b};var WI={TYPE_ADX_ENDCAP:0,TYPE_WEBSITE:1};var XI=function(a){var b=a===void 0?{}:a;a=b.Ph===void 0?!1:b.Ph;var c=b.Qh===void 0?!1:b.Qh;b=b.Hf===void 0?5E3:b.Hf;this.Ph=a;this.Qh=c;this.Hf=b};var YI=function(a){var b=a===void 0?{}:a;a=b.ej===void 0?null:b.ej;var c=b.Ci===void 0?null:b.Ci;b=b.Di===void 0?null:b.Di;this.ej=a;this.Ci=c;this.Di=b};var ZI=function(a){a=a===void 0?{}:a;this.Bj=a.Bj===void 0?[]:a.Bj};var $I=function(a){var b=a===void 0?{}:a;a=b.description===void 0?null:b.description;var c=b.oc===void 0?null:b.oc;var d=b.Wa===void 0?null:b.Wa;b=b.Oi===void 0?null:b.Oi;this.description=a;this.oc=c;this.Wa=d;this.Oi=b};var aJ=function(a){var b=a===void 0?{}:a;a=b.type;var c=b.priority===void 0?-1:b.priority;var d=b.aa===void 0?[]:b.aa;var e=b.actions===void 0?[]:b.actions;var f=b.Ud===void 0?null:b.Ud;b=b.wd===void 0?null:b.wd;this.type=a;this.priority=c;this.aa=d;this.actions=e;this.Ud=f;this.wd=b};var bJ=function(a){a=a===void 0?{}:a;this.he=a.he===void 0?[]:a.he};var cJ=function(a,b,c,d){this.value=a;this.g=b;this.path=c;this.domain=d};var dJ=function(a){this.g=a};var eJ=function(a){this.g=a};var fJ=function(){};fJ.prototype.g=function(a,b){a=v(a.g);for(var c=a.next();!c.done;c=a.next()){c=v(c.value.ib.ia);for(var d=c.next();!d.done;d=c.next())d=d.value,d instanceof eJ&&b.ia.set(sH,new sH(d.g))}};var gJ=function(a,b,c,d,e){this.value=a;this.g=b;this.path=c;this.domain=d;this.j=e};var hJ={},iJ=(hJ[18]=496,hJ[22]=2128,hJ[43]=488,hJ[44]=848,hJ[45]=2128,hJ[59]=848,hJ[133]=242,hJ[134]=400,hJ[135]=1E3,hJ[136]=2E3,hJ[139]=48,hJ[140]=128,hJ[141]=256,hJ[160]=108,hJ[242]=150,hJ[243]=276,hJ[244]=512,hJ[245]=1E3,hJ[247]=1E3,hJ[249]=48,hJ[250]=64,hJ[251]=128,hJ[278]=95,hJ[342]=464,hJ[343]=1064,hJ[344]=2128,hJ[345]=496,hJ[346]=816,hJ[347]=2096,hJ),jJ={Ul:"application/dash+xml",kq:"video/gma-demuxed",HLS:"application/vnd.apple.mpegurl",Cm:"application/x-mpegURL",MP3:"audio/mpeg",Fm:"video/mp4", Gm:"audio/mp4",Hm:"video/mpeg",Km:"video/ogg",Lm:"audio/ogg",Mm:"video/3gpp",Pm:"video/webm"};var kJ=function(){O.call(this);this.headers=new Map;this.j=!1;this.g=null;this.G="";this.o=0;this.l=this.F=this.A=this.D=!1;this.J=0;this.B=null;this.X="";this.N=!1};Xa(kJ,O); var lJ=/^https?$/i,mJ=["POST","PUT"],pJ=function(a,b,c,d){if(a.g)throw Error("[goog.net.XhrIo] Object is active with another request="+a.G+"; newUri="+b);c=c?c.toUpperCase():"GET";a.G=b;a.o=0;a.D=!1;a.j=!0;a.g=new XMLHttpRequest;a.g.onreadystatechange=av(Ta(a.T,a));try{a.F=!0,a.g.open(c,String(b),!0),a.F=!1}catch(g){nJ(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;!lb(mJ,c)||e||f||d.set("Content-Type", "application/x-www-form-urlencoded;charset=utf-8");c=v(d);for(d=c.next();!d.done;d=c.next())e=v(d.value),d=e.next().value,e=e.next().value,a.g.setRequestHeader(d,e);a.X&&(a.g.responseType=a.X);"withCredentials"in a.g&&a.g.withCredentials!==a.N&&(a.g.withCredentials=a.N);try{oJ(a),a.J>0&&(a.B=setTimeout(a.Z.bind(a),a.J)),a.A=!0,a.g.send(b),a.A=!1}catch(g){nJ(a)}};kJ.prototype.Z=function(){typeof Ia!="undefined"&&this.g&&(this.o=8,this.dispatchEvent("timeout"),this.abort(8))}; var nJ=function(a){a.j=!1;a.g&&(a.l=!0,a.g.abort(),a.l=!1);a.o=5;qJ(a);rJ(a)},qJ=function(a){a.D||(a.D=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};kJ.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"),rJ(this))};kJ.prototype.O=function(){this.g&&(this.j&&(this.j=!1,this.l=!0,this.g.abort(),this.l=!1),rJ(this,!0));kJ.wc.O.call(this)}; kJ.prototype.T=function(){this.Xa()||(this.F||this.A||this.l?sJ(this):this.ba())};kJ.prototype.ba=function(){sJ(this)}; var sJ=function(a){if(a.j&&typeof Ia!="undefined")if(a.A&&(a.g?a.g.readyState:0)==4)setTimeout(a.T.bind(a),0);else if(a.dispatchEvent("readystatechange"),(a.g?a.g.readyState:0)==4){a.j=!1;try{var b=tJ(a);a:switch(b){case 200:case 201:case 202:case 204:case 206:case 304:case 1223:var c=!0;break a;default:c=!1}var d;if(!(d=c)){var e;if(e=b===0){var f=String(a.G).match(Io)[1]||null;!f&&B.self&&B.self.location&&(f=B.self.location.protocol.slice(0,-1));e=!lJ.test(f?f.toLowerCase():"")}d=e}d?(a.dispatchEvent("complete"), a.dispatchEvent("success")):(a.o=6,qJ(a))}finally{rJ(a)}}},rJ=function(a,b){if(a.g){oJ(a);var c=a.g;a.g=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}},oJ=function(a){a.B&&(clearTimeout(a.B),a.B=null)};kJ.prototype.isActive=function(){return!!this.g};var tJ=function(a){try{return(a.g?a.g.readyState:0)>2?a.g.status:-1}catch(b){return-1}},uJ=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=jF(a)}return b}};var vJ=RegExp("/itag/(\\d+)/"),wJ=RegExp("/cpn/([\\w-]{16})(/|$)"),xJ=RegExp("^[\\w-]{16}$");function yJ(a){var b=Po(a,"cpn");return b&&b.match(xJ)?b:(a=a.match(wJ))&&a.length===3?a[1]:null};var zJ=function(a,b,c){var d=c===void 0?{}:c;c=d.Hb===void 0?null:d.Hb;var e=d.Qa===void 0?null:d.Qa;var f=d.mimeType===void 0?null:d.mimeType;var g=d.Pa===void 0?null:d.Pa;var h=d.ab===void 0?null:d.ab;var k=d.Fe===void 0?null:d.Fe;var l=d.fe===void 0?null:d.fe;var n=d.Ja===void 0?null:d.Ja;var p=d.width===void 0?null:d.width;var r=d.height===void 0?null:d.height;d=d.Dd===void 0?null:d.Dd;this.type=b;this.Qa=e;this.ab=h;this.Fe=k;this.fe=l;this.Ja=n;this.url=a;this.Hb=c;this.mimeType=f;this.Pa=g; this.width=p;this.height=r;this.Dd=d};var AJ=function(a,b,c,d,e){this.o=a;this.j=b;this.A=c;this.l=d;this.g=e};var BJ=function(a){this.j=a===void 0?null:a}; BJ.prototype.g=function(a,b){if(b instanceof IH&&this.j&&!(b.g.length>0)){a=v(a.g);for(var c=a.next();!c.done;c=a.next()){c=v(c.value.ib.ia);for(var d=c.next();!d.done;d=c.next()){var e=d.value;if(e instanceof AJ){d=this.j.select(e,b);var f=void 0;if(d.length>0)for(var g=v(d),h=g.next();!h.done;h=g.next()){h=h.value;var k=void 0;h instanceof WH&&(k=h.getMediaUrl());h instanceof VH&&(k=h.j);if(k&&(h=yJ(k))){f=h;break}}e=f?f:e.o;U(T.getInstance(),"cpn",e);b.C=e;d=v(d);for(e=d.next();!e.done;e=d.next())b.g.push(e.value)}}}}};var CJ=function(a){this.g=a};var DJ=function(a){var b=a===void 0?{}:a;a=b.de===void 0?null:b.de;var c=b.Za===void 0?null:b.Za;var d=b.adTitle===void 0?null:b.adTitle;var e=b.yg===void 0?null:b.yg;var f=b.description===void 0?null:b.description;var g=b.pg===void 0?null:b.pg;qI.call(this,{Za:c,errors:b.errors===void 0?[]:b.errors,cd:b.cd===void 0?[]:b.cd,ya:b.ya===void 0?[]:b.ya,Cb:b.Cb===void 0?[]:b.Cb,ia:b.ia===void 0?[]:b.ia});this.de=a;this.adTitle=d;this.yg=e;this.description=f;this.pg=g};q(DJ,qI);var EJ=function(a,b){this.Ka=a===void 0?null:a;this.g=b===void 0?null:b};var FJ=function(){};FJ.prototype.g=function(a,b){a=v(a.g);for(var c=a.next();!c.done;c=a.next()){a:{var d=b;c=v(c.value.ib.ia);for(var e=c.next();!e.done;e=c.next())if(e=e.value,e instanceof EJ){d.ia.set(tH,new tH(e.Ka,e.g));d=!0;break a}d=!1}if(d)break}};var GJ=function(a){this.Cb=a=a===void 0?[]:a};var HJ=function(a){this.dealId=a};var IJ=function(a,b,c,d){this.l=a;this.j=d===void 0?null:d;this.o=b;this.g=c};var JJ=function(a){this.g=a===void 0?!1:a};var KJ=function(a){this.g=a};var LJ=function(a){var b=a===void 0?{}:a;a=b.vd===void 0?null:b.vd;var c=b.fd===void 0?!1:b.fd;var d=b.uf===void 0?null:b.uf;var e=b.sg===void 0?null:b.sg;var f=b.ue===void 0?!1:b.ue;var g=b.zd===void 0?null:b.zd;var h=b.Le===void 0?null:b.Le;var k=b.Ke===void 0?null:b.Ke;var l=b.Fg===void 0?null:b.Fg;var n=b.format===void 0?null:b.format;var p=b.Eh===void 0?null:b.Eh;b=b.Yh===void 0?null:b.Yh;this.vd=a;this.fd=c;this.uf=d;this.sg=e;this.ue=f;this.zd=g;this.Le=h;this.Ke=k;this.Fg=l;this.format=n; this.Eh=p;this.Yh=b;U(T.getInstance(),"ytext_viu",this.ue?"1":"0");U(T.getInstance(),"ytext_hd",this.uf&&this.Ke&&this.Le?"1":"0");this.ue&&U(T.getInstance(),"ytext_vi",this.vd?this.vd:"Undefined")};var MJ=function(){};MJ.prototype.g=function(a,b){a=v(a.g);for(var c=a.next();!c.done;c=a.next()){c=v(c.value.ib.ia);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof LJ){b.ia.set(xH,new xH(new wH(d.vd,d.uf,d.sg,d.fd,d.ue),new vH(d.zd,d.Le,d.Ke),d.format,d.Yh,d.Eh));return}}};var NJ=function(){};NJ.prototype.l=function(){return!0};NJ.prototype.j=function(a){var b=new xE;this.g(a,b);return b};NJ.prototype.g=function(a,b){a.g.forEach(function(e){OJ(e,b);e.ib.Za&&b.j.push(e.ib.Za)});if(a.g.length>0){var c=a.g[0];c.id&&(b.id=c.id);c.xd&&(b.xd=c.xd);c.Oa&&(b.l=c.Oa);a=v([].concat(x(a.g)).reverse());for(var d=a.next();!d.done;d=a.next())d=d.value,d.Oa&&b.L.push(d.Oa);c=c.ib;c instanceof DJ&&(b.adTitle=c.adTitle,b.de=c.de,PJ(c,b))}}; var OJ=function(a,b){var c=a.ib.j;a.ib.g.forEach(function(d){yE(b,new sE("error",d))});c.forEach(function(d){yE(b,uE("impression",d.url,d.g))})},PJ=function(a,b){a=v(a.ya);for(var c=a.next();!c.done;c=a.next())if((c=c.value.rc)&&c.pb&&c.pb.length>0){a=v(c.pb);for(c=a.next();!c.done;c=a.next())c=c.value,b.pb.push(new pE(eI(c),fI(c),c.mimeType,c.ea,c.sf));break}};var QJ=function(a,b){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);this.Wb=b===void 0?900:b};q(QJ,Error);var RJ=function(a){this.j=a;this.g=Date.now()};RJ.prototype.reset=function(){this.g=Date.now()};var SJ=function(a){a=a.g+a.j-Date.now();return a>0?a:0};var TJ="://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(" "),UJ=/\bocr\b/;function VJ(a){if(F(H(a))||Ud&&a.length>2048)return!1;try{if((new P(a)).D().match(UJ))return!0}catch(b){}return TJ.find(function(b){return a.match(b)!=null})!=null};var WJ=function(a){var b=Error.call(this,a);this.message=b.message;"stack"in b&&(this.stack=b.stack);this.errorCode=a};q(WJ,Error);function XJ(a){return sd(a===null?"null":a===void 0?"undefined":a)};var YJ=function(a){if(typeof DOMParser!="undefined"){var b=new DOMParser;a=XJ(a);return b.parseFromString(td(a),"application/xml")}throw Error("Your browser does not support loading xml documents");};var ZJ=function(a){hq.call(this);this.j=a;this.g={}};Xa(ZJ,hq);var $J=[];ZJ.prototype.listen=function(a,b,c,d){return aK(this,a,b,c,d)};var aK=function(a,b,c,d,e,f){Array.isArray(c)||(c&&($J[0]=c.toString()),c=$J);for(var g=0;g0?a[a.length-1]:null} function V(a){if(a.childNodes.length==0)return null;var b="";a=v(a.childNodes);for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.nodeType){case 4:case 3:b+=c.nodeValue}return b.trim()}function DK(a){return(a=V(a))?parseInt(a,10):null} function EK(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 FK(a,b){return a.hasAttribute("type")&&a.getAttribute("type").toLowerCase()==b.toLowerCase()} function GK(a){var b=(a||"").split(":");if(b.length==3){a=parseInt(b[0],10);var c=parseInt(b[1],10),d=b[2].split("."),e=parseInt(d[0],10);b=0;d.length==2&&(b=parseInt(d[1],10));if(!(isNaN(a)||isNaN(c)||isNaN(e)||isNaN(b)))return a=a*60*60*1E3+c*60*1E3+e*1E3,a+=b}} function HK(a){var b=[];a=v(Ze(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d.nodeName=="Verification"){c={vendor:d.getAttribute("vendor"),aa:[]};d=v(Ze(d));for(var e=d.next();!e.done;e=d.next())switch(e=e.value,e.nodeName){case "JavaScriptResource":c.nf=V(e);c.ud=e.getAttribute("apiFramework");break;case "VerificationParameters":c.parameters=V(e);break;case "TrackingEvents":c.aa=IK(e)}c.nf!=null&&b.push(new pI(c))}}return b} function JK(a){var b=[];a=v(Ze(a));for(var c=a.next();!c.done;c=a.next())c=c.value,c.nodeName=="CustomTracking"&&b.push.apply(b,x(IK(c)));return b}function KK(a,b){var c=a.getAttribute("id");a=EK(a);b=new JH(b,c,a);b.url=UH(b.url,b.g);return b} function IK(a){var b=[];a=v(Ze(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&&!F(e)){var f=d.getAttribute("offset"),g=null,h=null;f&&f.endsWith("%")?h=parseInt(f,10):f&&f.includes(":")&&(g=GK(f));d=EK(d);e=UH(e,d);b.push(new rE(c,e,{Sa:g,we:h},d))}}}return b}function LK(a){return a==null||a==="about:blank"?null:a} function MK(a){var b={};b.program=a.getAttribute("program");b.ea=a.getAttribute("apiFramework");b.altText=a.getAttribute("altText");b.Wi=a.getAttribute("hoverText");b.width=zK(a,"width");b.height=zK(a,"height");b.xPosition=a.getAttribute("xPosition");b.yPosition=a.getAttribute("yPosition");b.Lb=GK(a.getAttribute("duration"));b.gg=GK(a.getAttribute("pxratio"));b.Sa=NK(a.getAttribute("offset"),b.Lb);b.resources=OK(a);b.Pf=[];a=v(Ze(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;switch(d.nodeName){case "IconViewTracking":b.Pf.push(V(d)); break;case "IconClicks":c=null;var e=[],f=[];d=v(Ze(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=KK(g,h));break;case "IconClickTracking":h!=null&&e.push(new JH(h,k));break;case "IconClickFallbackImages":f=PK(g)}}b.Ue=new bI({Tb:c,Tc:e,Gg:f})}}return new cI(b)}function NK(a,b){if(a!=null)return a.endsWith("%")&&b!=null?parseInt(a,10)*b/100:GK(a)} function OK(a){var b=[];a=v(Ze(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 XH(d,"Static",c.getAttribute("creativeType")));break;case "HTMLResource":b.push(new XH(d,"Html"));break;case "IFrameResource":b.push(new XH(d,"IFrame"))}}return b} function PK(a){var b=[];a=v(Ze(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=OK(d).filter(function(g){return g.resourceType=="Static"});if(c.length>0){var e=zK(d,"width"),f=zK(d,"height");d=QK(d);b.push(new aI(c[0],e,f,d))}}return b}function QK(a){a=v(Ze(a));for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.nodeName=="AltText")return V(b);return null};var RK=function(){this.g=[]},SK=function(a,b){a.g.includes(b)||a.g.push(b)},TK=function(a,b){var c=[];b=v(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.nodeName=="Extension")for(var e=v(a.g),f=e.next();!f.done;f=e.next())if(f=f.value.g(d),f!=null){c.push(f);break}return c},VK=function(a){var b={sb:[]};b.Oa=zK(a,"sequence");b.id=a.getAttribute("id");b.adId=a.getAttribute("adId");for(var c=v(Ze(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=[],l=[],n=[],p=[],r=[],t=v(Ze(e)),u=t.next();!u.done;u=t.next()){var A=u.value;switch(A.nodeName){case "TrackingEvents":k=IK(A);break;case "VideoClicks":for(var w=null,E=[],D=[],G=v(Ze(A)),ha=G.next();!ha.done;ha=G.next()){var ca=ha.value,hd=V(ca);if(hd!=null){var xd=ca.getAttribute("id");switch(ca.nodeName){case "ClickThrough":w=KK(ca,hd);break;case "ClickTracking":var Vg=EK(ca);E.push(new JH(hd,xd,Vg));break;case "CustomClick":D.push(new JH(hd,xd))}}}h=new iI({Tb:w,Tc:E,Ef:D}); break;case "MediaFiles":for(var uk=[],En=[],Yf=[],vk=v(Ze(A)),Wg=vk.next();!Wg.done;Wg=vk.next()){var Xb=Wg.value;switch(Xb.nodeName){case "MediaFile":var wk=void 0,Xg=V(Xb);if(Xg==null)var Yg=null;else{Xg.indexOf("www.youtube.com/get_video")!=-1?U(T.getInstance(),"hgvu","1"):Xg.indexOf("redirector.gvt1.com/get_video")!=-1&&U(T.getInstance(),"hgvuc","1");var vb={};vb.height=zK(Xb,"height");vb.width=zK(Xb,"width");vb.Hb=Xb.getAttribute("delivery");vb.bitrate=zK(Xb,"bitrate");vb.qb=zK(Xb,"minBitrate"); vb.maxBitrate=zK(Xb,"maxBitrate");vb.mimeType=(wk=Xb.getAttribute("type"))==null?void 0:wk.toLowerCase();vb.ea=Xb.getAttribute("apiFramework");vb.codec=Xb.getAttribute("codec");var oi=Xg,Fs=Number(Po(oi,"itag"));if(Fs)var Fn=Fs;else{var xk=oi.match(vJ);Fn=xk&&xk.length===2?Number(xk[1]):null}Fn!=null&&(vb.Qa=Fn);Yg=new hI(Xg,vb)}var pi=Yg;pi!==null&&uk.push(pi);break;case "ClosedCaptionFiles":for(var Gn=[],Hn=v(Ze(Xb)),In=Hn.next();!In.done;In=Hn.next()){var qi=In.value,yk=V(qi);if(yk!==null){var Yz= {url:yk},LM=void 0;Yz.mimeType=(LM=qi.getAttribute("type"))==null?void 0:LM.toLowerCase();Yz.language=qi.getAttribute("language");Gn.push(new $H(Yz))}}Yf=Gn;break;case "InteractiveCreativeFile":var MM=void 0,NM=CK(Xb,"HTMLResource");if(NM){var Zz="Html";var Gs=V(NM)}else Zz="Url",Gs=V(Xb);if(!Gs||F(Gs))var OM=null;else{var n5=new XH(Gs,Zz),Hs={};Hs.mimeType=(MM=Xb.getAttribute("type"))==null?void 0:MM.toLowerCase();Hs.ea=Xb.getAttribute("apiFramework");Hs.sf=AK(Xb.getAttribute("variableDuration")); var o5=new dI(n5,Hs);Zz==="Html"?fF("lima_p_ich"):fF("lima_p_icu");OM=o5}var PM=OM;PM!==null&&En.push(PM)}}U(T.getInstance(),"vmfc",""+uk.length);var p5=Yf.length===0?"0":"1";U(T.getInstance(),"vhc",p5);var q5=uk;var r5=Yf;var s5=En;l=q5;p=r5;n=s5;break;case "Duration":g=GK(V(A));break;case "AdParameters":f=H(V(A));break;case "Icons":for(var QM=[],RM=v(Ze(A)),$z=RM.next();!$z.done;$z=RM.next()){var SM=$z.value;SM.nodeName=="Icon"&&QM.push(MK(SM))}var aA=r=QM;U(T.getInstance(),"icc",aA.length.toString()); if(aA.length>0){for(var TM=0,UM=0,VM=0,WM=0,zk=null,XM="ns",YM="ns",ZM=v(aA),bA=ZM.next();!bA.done;bA=ZM.next()){for(var Ak=bA.value,$M=v(Ak.resources),cA=$M.next();!cA.done;cA=$M.next())switch(cA.value.resourceType){case "Html":TM++;break;case "IFrame":UM++;break;case "Static":VM++;break;default:WM++}zk=Ak.program;YM=Ak.width?Ak.width.toString():"ns";XM=Ak.height?Ak.height.toString():"ns"}U(T.getInstance(),"icrh",TM.toString());U(T.getInstance(),"icri",UM.toString());U(T.getInstance(),"icrs",VM.toString()); U(T.getInstance(),"icru",WM.toString());zk&&(zk.length>16&&(zk=zk.substring(0,15)+"*"),U(T.getInstance(),"icp",zk));U(T.getInstance(),"icdi",XM+"x"+YM)}}}var t5=NK(e.getAttribute("skipoffset"),g);b.rc=new jI({duration:g,dc:t5,aa:k,ld:l,pb:n,ri:p,be:h,oa:f,icons:r});break;case "NonLinearAds":for(var aN=[],bN=[],cN=v(Ze(e)),dA=cN.next();!dA.done;dA=cN.next()){var eA=dA.value;switch(eA.nodeName){case "NonLinear":for(var dN=aN,u5=dN.push,ri=eA,v5=OK(ri),w5=ri.getAttribute("id"),x5=zK(ri,"width"),y5=zK(ri, "height"),z5=ri.getAttribute("apiFramework"),A5=GK(ri.getAttribute("minSuggestedDuration")),eN=null,fN=null,gN=[],hN=v(Ze(ri)),fA=hN.next();!fA.done;fA=hN.next()){var Jn=fA.value,Is=V(Jn);if(Is!=null)switch(Jn.nodeName){case "NonLinearClickThrough":fN=KK(Jn,Is);break;case "NonLinearClickTracking":var B5=EK(Jn);gN.push(new JH(Is,Jn.getAttribute("id"),B5));break;case "AdParameters":eN=H(Is)}}u5.call(dN,new kI({id:w5,ea:z5,width:x5,height:y5,nd:A5,xh:fN,yh:gN,resources:v5,oa:eN}));break;case "TrackingEvents":bN= IK(eA)}}b.ff=new lI(aN,bN);var gA=b.ff.g;U(T.getInstance(),"nlc",gA.length.toString());if(gA.length>0){for(var iN=0,jN=0,kN=0,lN=0,hA=!1,mN=v(gA),iA=mN.next();!iA.done;iA=mN.next())for(var nN=v(iA.value.resources),jA=nN.next();!jA.done;jA=nN.next()){var oN=jA.value;switch(oN.resourceType){case "Html":iN++;hA=hA||Cc(oN.g,"<");break;case "IFrame":jN++;break;case "Static":kN++;break;default:lN++}}U(T.getInstance(),"nlrh",iN.toString());U(T.getInstance(),"nlri",jN.toString());U(T.getInstance(),"nlrs", kN.toString());U(T.getInstance(),"nlru",lN.toString());U(T.getInstance(),"nlrhc",hA.toString())}break;case "CompanionAds":b.Me=UK(e);var kA=b.Me.g;U(T.getInstance(),"ccc",kA.length.toString());if(kA.length>0){for(var qN=0,rN=0,sN=0,tN=0,lA=!1,uN=v(kA),mA=uN.next();!mA.done;mA=uN.next())for(var vN=v(mA.value.resources),nA=vN.next();!nA.done;nA=vN.next()){var wN=nA.value;switch(wN.resourceType){case "Html":qN++;lA=lA||Cc(wN.g,"<");break;case "IFrame":rN++;break;case "Static":sN++;break;default:tN++}}U(T.getInstance(), "ccrh",qN.toString());U(T.getInstance(),"ccri",rN.toString());U(T.getInstance(),"ccrs",sN.toString());U(T.getInstance(),"ccru",tN.toString());U(T.getInstance(),"ccrhc",lA.toString())}break;case "UniversalAdId":var xN=b.sb,C5=xN.push,oA=V(e);oA||(oA=e.getAttribute("idValue"));var D5=e.getAttribute("idRegistry");C5.call(xN,new mI({Qf:D5,Rf:oA}))}}return new nI(b)},UK=function(a){var b=[],c=a.getAttribute("required");c!="any"&&c!="all"&&(c="none");a=v(Ze(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=OK(e),h=e.getAttribute("id"),k=e.getAttribute("adSlotID"),l=e.getAttribute("apiFramework"),n=e.getAttribute("width")==="fluid"&&e.getAttribute("height")==="fluid",p=zK(e,"width"),r=zK(e,"height"),t=[],u=null,A=[],w;e=v(Ze(e));for(w=e.next();!w.done;w=e.next()){var E=w.value;switch(E.nodeName){case "TrackingEvents":t=IK(E);break;case "CompanionClickThrough":w=V(E);w==null||F(w)||(u=KK(E,w));break;case "CompanionClickTracking":if(w=V(E),w!=null&& !F(w)){var D=EK(E);A.push(new JH(w,E.getAttribute("id"),D))}}}f.call(d,new YH({id:h,ee:k,ea:l,width:p,height:r,Ha:n,Ig:u,Jg:A,resources:g,aa:t}))}}return new ZH(b,c)};var XK=function(){var a={Rj:[new WK,new NJ]};var b=a.Rj===void 0?[]:a.Rj;a=a.Tm===void 0?[]:a.Tm;this.j=b;this.g=a},YK=function(a,b){a:{var c=v(a.j);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.l(b)){c=d;break a}c=null}if(c!=null){c=c.j(b);a=v(a.g);for(d=a.next();!d.done;d=a.next())d.value.g(b,c);return c}throw new QJ("Ad Provider was not found for ad.",1014);},ZK=function(a,b){a.g.unshift(b)};var $K=function(a,b){this.j=a;this.g=b===void 0?null:b};var aL=function(a,b){uI.call(this,a);this.g=b};q(aL,uI);var WK=function(){};q(WK,NJ);WK.prototype.l=function(a){a=(a.g.length<1?null:a.g[0]).ib;return a instanceof DJ?a.ya.find(function(b){return b.rc!=null})!=null:!1};WK.prototype.j=function(a){var b=new IH;this.g(a,b);return b}; WK.prototype.g=function(a,b){NJ.prototype.g.call(this,a,b);for(var c=v(a.g),d=c.next();!d.done;d=c.next())d=d.value,bL(d,b),d=d.ib,d instanceof DJ&&(b.description=d.description);a:if(c=a.g.length<1?null:a.g[0])if(d=tI(a,$K),d.length>0)for(a=v(d),c=a.next();!c.done;c=a.next())c=c.value,c.j&&(b.dc=c.g?c.g:5E3);else{c=v(c.ib.ya);for(d=c.next();!d.done;d=c.next())if((d=d.value.rc)&&d.dc!=null){b.dc=d.dc;break a}c=tI(a,uI);c=v(c);for(d=c.next();!d.done;d=c.next()){d=v(d.value.aa);for(var e=d.next();!e.done;e= d.next())if(e.value.eventType=="skip"){b.dc=5E3;break a}}a=tI(a,aL);a=v(a);for(c=a.next();!c.done;c=a.next())if(c.value.g=="Generic"){b.dc=5E3;break}}}; var bL=function(a,b){for(var c=v(a.ib.ya),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.rc;if(e){b.creativeId=d.id;b.o=d.adId;b.sb=d.sb.map(function(k){return new HH(k.Rf,k.Qf)});for(var f=v(e.aa),g=f.next();!g.done;g=f.next())yE(b,tE(g.value));if(f=e.be){g=v(f.Tc);for(var h=g.next();!h.done;h=g.next())h=h.value,yE(b,uE("click",h.url,h.g,h.id));g=v(f.Ef);for(h=g.next();!h.done;h=g.next())h=h.value,h.id&&yE(b,new sE(h.id,h.url))}a.ib instanceof DJ&&(b.Lb=d.rc.duration,e.oa&&(b.oa=e.oa),f&&f.Tb&& (b.P=f.Tb.url,b.A=NH(f.Tb),b.B=f.Tb.g))}}};function cL(a){hq.call(this);this.C=1;this.l=[];this.o=0;this.g=[];this.j={};this.D=!!a}Xa(cL,hq);var dL=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};cL.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&&nb(c,a),delete this.g[a],delete this.g[a+1],delete this.g[a+2])}return!!b}; cL.prototype.B=function(a,b){var c=this.j[a];if(c){var d=Array(arguments.length-1),e=arguments.length,f;for(f=1;f0&&this.o==0)for(;c=this.l.pop();)this.A(c)}}return f!=0}return!1};var eL=function(a,b,c){kv(function(){a.apply(b,c)})}; cL.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={}};cL.prototype.O=function(){cL.wc.O.call(this);this.clear();this.l.length=0};function fL(a){hq.call(this);this.g=new cL(a);N(this,this.g)}Xa(fL,hq);var gL=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)},hL=function(a,b,c){return a.g.B(b.toString(),c)};fL.prototype.clear=function(a){this.g.clear(a!==void 0?a.toString():void 0)};function iL(a,b,c,d){gL(b,c,d);iq(a,function(){return void dL(b.g,c.toString(),d)})};function jL(a,b){return{"${seller_video_url}":"imasdk.googleapis.com/pavp/3.709.0/","${seller_video_query_params}":"&"+Object.keys(a).map(function(c){return c+"="+a[c]}).join("&")+"&adtag=","${AD_WIDTH}":b.width.toString(),"${AD_HEIGHT}":b.height.toString()}}function kL(a,b,c,d){var e;return z(function(f){return f.g==1?(e=jL(c,d),y(f,a.deprecatedReplaceInURN(b,e),2)):f.return(Promise.resolve(b))})} function lL(a,b){a.allow="autoplay *";/^(uuid-in-package|urn:uuid):[0-9a-fA-F-]*$/.test(b)?(b=ad(b),a.src=bd(b).toString(),a=!0):a=!1;if(!a)throw Error("Unable to write URN to iframe.");};function mL(a,b){b=b!=null?b:"";Ud&&(b="");if(!F(H(a))){var c=!ed(a)&&nE.test(a)?new cd(a):a;a=ed(c)?c:ld(a);c=window;a=qd(a);a!==void 0&&c.open(a,"_blank",b)}};var oL=rf(nL);function nL(){for(var a="",b=v(pL()),c=b.next();!c.done;c=b.next())c=c.value,c<=15&&(a+="0"),a+=c.toString(16);return a} function pL(){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;bb?1:ad?1:ce&&c>e?a-c:0};var yL=function(a){var b=this;var c=a===void 0?{}:a;a=c.Rb===void 0?0:c.Rb;var d=c.qg===void 0?0:c.qg;var e=c.rg===void 0?0:c.rg;var f=c.Xh===void 0?!1:c.Xh;var g=c.ij;var h=c.mimeTypes===void 0?[]:c.mimeTypes;c=c.bc===void 0?0:c.bc;this.Rb=a;this.qg=d;this.rg=e;this.Xh=f;this.ij=g;this.bc=c;this.g=(h==null?0:h.length)?h:Mb(jJ);this.ij&&(this.g=this.g.filter(function(k){return b.ij.canPlayType(k)}));AE(FF)&&this.g.push("application/javascript");this.g=this.g.map(function(k){return k.toLowerCase()})}; yL.prototype.select=function(a,b,c){c=c===void 0?!1:c;tL(a);if((this.Rb<=0||this.bc===0)&&(this.qg>0||this.rg>0)){a=zL(this,a);if(this.rg>=this.qg){b=this.rg;c=this.Xh;c=c===void 0?!1:c;for(var d=null,e=v(a),f=e.next();!f.done;f=e.next())f=f.value,d==null?d=f:d!=null&&f.width&&d.width&&Math.abs(f.width-b)=0&&f++;g=v(a.g);for(h=g.next();!h.done;h=g.next())h=h.value,d+=h.Qa+",",h.url.indexOf("gvt1.com")>=0&&f++;g=v(a.j);for(h=g.next();!h.done;h=g.next())h=h.value,e+=h.Qa+",",h.url.indexOf("gvt1.com")>=0&&f++;g=v(a.A);for(h=g.next();!h.done;h=g.next())h=h.value,h.mimeType==="application/dash+xml"?U(T.getInstance(), "ghmsh_hd","1"):h.mimeType==="application/vnd.apple.mpegurl"&&U(T.getInstance(),"ghmsh_hh","1");U(T.getInstance(),"ghmsh_mi",b);U(T.getInstance(),"ghmsh_vi",d);U(T.getInstance(),"ghmsh_ai",e);U(T.getInstance(),"ghmsh_gvt",f.toString());c=DL(this,a,c);c||(eF(T.getInstance(),"ghmsh_f"),a.l.length>0?c=EL(a.l[0]):a.j.length>0&&a.g.length>0?c=FL(a.g[0],a.j[0]):(eF(T.getInstance(),"ghmsh_ff"),c=null));return c?((b=c)?(U(T.getInstance(),"ams","1"),b.getWidth()&&b.getHeight()&&U(T.getInstance(),"vs",b.getWidth()+ "x"+b.getHeight()),b.Pa&&U(T.getInstance(),"vc",b.Pa),b instanceof WH?(b.g&&U(T.getInstance(),"mt",b.g),b.getMediaUrl().indexOf("gvt1.com")>=0&&U(T.getInstance(),"gvt1","1"),uL(b.getMediaUrl())):b instanceof VH&&(b.g&&U(T.getInstance(),"mt",b.g),b.o&&(U(T.getInstance(),"bit",String(b.o)),b.j.indexOf("gvt1.com")>=0&&U(T.getInstance(),"gvt1","1")),b.l&&U(T.getInstance(),"bait",String(b.l)),uL(b.j))):U(T.getInstance(),"ams","0"),GL(c),AE(DF)&&(a=(a=HL(this,a,18))?a:null)?[c,a]:[c]):[]}; var DL=function(a,b,c){c=c===void 0?!1:c;for(var d=null,e=null,f=v(a.j),g=f.next();!g.done;g=f.next()){var h=g.value;switch(h.type){case "dash":if(d=IL(a,b,"application/dash+xml",c))return d;break;case "hls":if(d=IL(a,b,"application/vnd.apple.mpegurl",c))return d;break;case "itag":if(h.ve)d=HL(a,b,h.ve,c);else if(h.Gj&&h.en){g=d=void 0;var k=a,l=b,n=h.Gj;h=h.en;var p=c;p=p===void 0?!1:p;var r=JL(k,l.g,k.Rb,p);r=v(r);for(var t=r.next();!t.done;t=r.next())t=t.value,t.Qa===n&&(g=t);if(h)for(l=JL(k,l.j, k.Rb,p),l=v(l),n=l.next();!n.done;n=l.next())n=n.value,n.Qa===h&&(d=n);d=g&&d?FL(g,d):g&&!k.g?EL(g):null;d instanceof WH&&e==null&&(e=d,d=null)}else if(h.Gj){d=void 0;k=a;g=h.Gj;k=JL(k,b.g,k.Rb,c===void 0?!1:c);k=v(k);for(h=k.next();!h.done;h=k.next())h=h.value,h.Qa===g&&(d=h);d=d?new VH({tg:d.url,Zj:"",Cl:d.Qa,Xj:null,Dl:d.mimeType,Yj:"",Pa:d.Pa,ab:"",height:d.height,width:d.width,Ja:d.Ja||!1,pp:d.Dd,cn:0}):null}if(d)return d}}return e},IL=function(a,b,c,d){a=JL(a,b.A,a.Rb,d===void 0?!1:d);a=v(a); for(b=a.next();!b.done;b=a.next())if(b=b.value,b.mimeType===c)return EL(b);return null},HL=function(a,b,c,d){a=JL(a,b.l,a.Rb,d===void 0?!1:d);a=v(a);for(b=a.next();!b.done;b=a.next())if(b=b.value,b.Qa===c)return EL(b);return null},JL=function(a,b,c,d){d=d===void 0?!1:d;return b.slice().sort(function(e,f){if(d){var g=wL(e.width,e.height,f.width,f.height,a.bc);if(g!==0)return g}return xL(e.Fe||e.fe||0,e.Fe||e.fe||0,f.Fe||f.fe||0,f.Fe||f.fe||0,c)})},EL=function(a){return new WH({qo:a.url,mimeType:a.mimeType, Qa:a.Qa,Pa:a.Pa,ab:a.ab,height:a.height,width:a.width,Ja:a.Ja||!1,Dd:a.Dd})},FL=function(a,b){return new VH({tg:a.url,Zj:b.url,Cl:a.Qa,Xj:b.Qa,Dl:a.mimeType,Yj:b.mimeType,Pa:a.Pa,ab:b.ab,height:a.height,width:a.width,Ja:a.Ja&&b.Ja||!1,pp:a.Dd,cn:b.Dd})},GL=function(a){a=vL(a);var b,c;a&&((b=navigator)==null?0:(c=b.mediaCapabilities)==null?0:c.decodingInfo)&&navigator.mediaCapabilities.decodingInfo(a).then(function(d){U(T.getInstance(),"mcsu",d.supported?"1":"0");U(T.getInstance(),"mcsm",d.smooth? "1":"0");U(T.getInstance(),"mcpe",d.powerEfficient?"1":"0")})};function KL(a){this.g=a}KL.prototype.toString=function(){return this.g};var LL=[];function ML(a){a=new KL(a);LL.push(a);return a}ML("imalib_instrumentation");ML("simid_video_addon_pause");ML("simid_video_addon_play");ML("simid_video_addon_stop");ML("request_resize");ML("video_creative_resize_result");ML("ui_ad_clicked");ML("ui_endcap_impression");ML("ui_replay_icon_clicked");ML("ui_skip_to_endcap_clicked");ML("ui_continue_button_clicked");ML("ui_play_pause_clicked");ML("ui_play_resume_clicked");ML("ui_play_pause_hidden");ML("ui_play_pause_shown");ML("ui_mute_button_clicked"); ML("ui_skip_shown");ML("ui_skip_clicked");ML("ui_learn_more_clicked");ML("ui_learn_more_clicked_force_player_handles");ML("ui_learn_more_with_url_clicked");ML("ui_author_icon_clicked");ML("ui_ad_author_clicked");ML("ui_ad_title_clicked");ML("ui_wta_clicked");ML("ui_cta_clicked");var NL=ML("ui_close_countdown_complete");ML("update_action_title");ML("video_time_update");ML("accumulated_video_time");ML("animate_time_update");ML("video_reward_granted");ML("video_show_endcard");var OL=ML("video_player_end"); ML("video_player_pause");ML("video_player_play_attempted");ML("video_player_play");ML("video_player_volume_change");ML("video_player_media_loaded");ML("video_player_start");ML("video_player_focus_ui_element");ML("video_error");ML("request_cta_url_for_qr");ML("receive_cta_for_qr");ML("och_click");ML("close_ad");ML("request_change_ad_duration");ML("ad_duration_change_result");ML("navigate_to_url");var PL=new KL("ad_author_icon_update"),QL=new KL("ad_author_update"),RL=new KL("ad_cta_text_update"),SL=new KL("ad_title_update"),TL=new KL("in_creative_widget_shown"),UL=new KL("in_creative_widget_hidden"),VL=new KL("in_creative_widget_navigation_dispatched"),WL=new KL("gpid_consent_data_changed"),XL=function(a,b,c){this.type=a;this.j=b;this.g=c},YL=new KL("publisher_invoked_skip"),ZL=new KL("ui_ad_attribution_clicked"),$L=new KL("ui_ad_author_clicked"),aM=new KL("ui_ad_clicked"),bM=new KL("ui_ad_mouse_enter"), cM=new KL("ui_ad_mouse_over"),dM=new KL("ui_ad_mouse_leave"),eM=new KL("ui_author_icon_clicked"),fM=new KL("ui_ad_title_clicked"),gM=new KL("ui_close_button_clicked"),hM=new KL("ui_close_button_shown"),iM=new KL("ui_close_countdown_shown"),jM=new KL("ui_close_countdown_timeout"),kM=new KL("ui_endcap_learn_more_clicked"),lM=new KL("ui_focus_element"),mM=new KL("ui_focus_skip_button"),nM=new KL("ui_icon_fallback_image_closed"),oM=new KL("ui_learn_more_clicked"),pM=new KL("ui_sandboxed_iframe_loaded"), qM=function(a,b){this.xPosition=a;this.yPosition=b},rM=new KL("ui_overlay_clicked"),sM=new KL("ui_overlay_faded"),tM=new KL("ui_overlay_rendered"),uM=new KL("ui_play_pause_clicked"),vM=new KL("ui_play_pause_hidden"),wM=new KL("ui_play_pause_shown"),xM=new KL("ui_recall_button_clicked"),yM=new KL("ui_skip_clicked"),zM=new KL("ui_skip_shown"),AM=new KL("ui_vast_icon_clicked"),BM=new KL("ui_vast_icon_rendered"),CM=new KL("ui_wta_clicked"),DM=new KL("video_clicked"),EM=new KL("video_pause"),FM=new KL("video_ad_shown"), GM=new KL("video_started"),HM=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},IM=new KL("video_time_update");var JM=function(){return OC('
')},KM=function(){return OC('
')},pN=function(a){a=a.yi;return OC('
'+RC(a)+"
")};var yN=function(a){a=a||{};a=a.dj;return OC('
'+RC(a)+"
")},zN=function(a){a=a.dj;return OC('
'+RC(a)+"
")};var AN=function(){O.call(this);this.element=null;this.g=new ZJ(this);N(this,this.g)};q(AN,O);AN.prototype.va=function(){return this.element};AN.prototype.O=function(){this.g=null};var DN=function(a,b){AN.call(this);this.l=this.j=null;this.element=xD(JM,{});a.appendChild(this.element);this.g.listen(this.element,"touchmove",function(c){c.preventDefault()});BN(this);CN(this,b);(parseInt(Cf(a,"width"),10)||parseInt(a.getAttribute("width"),10))<=400&&oC(this.element,"videoAdUi-mobile");this.fa()};q(DN,AN); var BN=function(a){a.j=xD(KM,{});a.element.appendChild(a.j);a.g.listen(a.j,"click",function(b){eF(T.getInstance(),"sic");b.stopPropagation()})},CN=function(a,b){a.l=xD(pN,{yi:b||"Learn More "});a.element.appendChild(a.l);a.g.listen(Le("callToActionButton",a.element),"click",function(c){eF(T.getInstance(),"ecbc");a.dispatchEvent("video_card_endcap_action");c.stopPropagation()})};DN.prototype.show=function(){Pf(this.element,!0)};DN.prototype.fa=function(){Pf(this.element,!1)}; DN.prototype.O=function(){Ye(this.element);this.element=null;AN.prototype.O.call(this)};var EN=function(){return OC('
')};var GN=function(a){AN.call(this);this.l=a;this.j=null;this.element=xD(EN,{});FN(this)};q(GN,AN);var FN=function(a){a.j=Le("advertiserChannelThumbnail",a.element);a.g.listen(a.j,"click",function(){a.l?eF(T.getInstance(),"ectc"):eF(T.getInstance(),"ctc")});a.g.listen(Le("advertiserHeadline",a.element),"click",function(){a.l?eF(T.getInstance(),"eadc"):eF(T.getInstance(),"adc")});a.g.listen(Le("advertiserDescription",a.element),"click",function(){a.l?eF(T.getInstance(),"eahc"):eF(T.getInstance(),"ahc")})}; GN.prototype.O=function(){Ye(this.element);this.element=null;AN.prototype.O.call(this)};var HN=function(){O.call(this);this.g=new ZJ(this);N(this,this.g)};q(HN,O);HN.prototype.O=function(){this.g=null};HN.prototype.Bg=function(){};var IN=function(){HN.apply(this,arguments)};q(IN,HN);IN.prototype.ug=function(){};var JN=function(a){a=a===void 0?!1:a;IN.call(this);this.j=new GN(a);this.A=Le("advertiserChannelThumbnail",this.j.va());this.l=Le("advertiserDescription",this.j.va());this.o=Le("advertiserHeadline",this.j.va())};q(JN,IN);JN.prototype.wf=function(a){if(a){var b=this.j;b.j.setAttribute("src",a);Af(b.j,"display","inline")}};JN.prototype.di=function(a){a&&this.o&&af(this.o,a)};JN.prototype.ug=function(a){a&&this.l&&af(this.l,a)};JN.prototype.Bg=function(a){Xe(a,this.j.va())}; var KN=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 NN=function(a,b){a=a.Ce;return mD(nD(nD(mD(oD(),'
'),LN(null,b)),MN(a)),"
")},LN=function(){var a='
')},ON=function(a){a=a||{};var b=a.Zh,c="";return c=a.Kc?c+("You can skip in "+ b):c+("You can skip this ad in "+b)},PN=function(a){return MN(a.Ce)},MN=function(a){var b='
'; return OC(b)};var QN=function(){O.call(this);this.j=0;this.endTime=this.startTime=null};Xa(QN,O);var RN=function(a,b){Array.isArray(b)||(b=[b]);b=b.map(function(c){return typeof c==="string"?c:c.rd+" "+c.duration+"s "+c.timing+" "+c.delay+"s"});Af(a,"transition",b.join(","))},SN=rf(function(){var a=Te(document,"DIV"),b=Wd?"-webkit":Vd?"-moz":null,c="transition:opacity 1s linear;";b&&(c+=b+"-transition:opacity 1s linear;");zd(a,pe({style:c}));a=a.firstChild;b=a.style[Md("transition")];return(typeof b!=="undefined"?b:a.style[zf(a,"transition")]||"")!=""});function TN(a,b,c,d,e){QN.call(this);this.g=a;this.A=b;this.B=c;this.l=d;this.D=Array.isArray(e)?e:[e]}Xa(TN,QN);m=TN.prototype;m.play=function(){if(this.j==1)return!1;this.dispatchEvent("begin");this.dispatchEvent("play");this.startTime=Va();this.j=1;if(SN())return Af(this.g,this.B),this.o=Ev(this.Mo,void 0,this),!0;this.ei(!1);return!1};m.Mo=function(){Kf(this.g);RN(this.g,this.D);Af(this.g,this.l);this.o=Ev(Ta(this.ei,this,!1),this.A*1E3)};m.stop=function(){this.j==1&&this.ei(!0)}; m.ei=function(a){Af(this.g,"transition","");Fv(this.o);Af(this.g,this.l);this.endTime=Va();this.j=0;a?this.dispatchEvent("stop"):this.dispatchEvent("finish");this.dispatchEvent("end")};m.O=function(){this.stop();TN.wc.O.call(this)};m.pause=function(){};var UN=function(a,b){return new TN(a,b,{opacity:0},{opacity:1},{rd:"opacity",duration:b,timing:"ease-out",delay:0})};var WN=function(a){AN.call(this);this.F=this.D=this.j=this.o=this.B=this.A=this.l=null;VN(this,a)};q(WN,AN); var VN=function(a,b){a.l=xD(LN);a.A=Le("videoAdUiPreSkipButton",a.l);a.B=Le("videoAdUiPreSkipText",a.A);a.j=xD(PN,{Ce:uc("Skip Ad ")});a.o=Le("videoAdUiSkipButton",a.j);Pf(a.l,!1);b.appendChild(a.l);b.appendChild(a.j);a.g.listen(a.o,"click",function(c){c.stopPropagation();a.dispatchEvent("click")})},XN=function(a){a.A.style.backgroundColor="black";a.o.style.backgroundColor="black"},YN=function(a){Pf(a.j,!1);Of(a.j,0)};WN.prototype.show=function(){Pf(this.A,!0);Pf(this.o,!0)}; WN.prototype.fa=function(){Pf(this.A,!1);Pf(this.o,!1)};WN.prototype.O=function(){gq(this.D);this.D=null;gq(this.F);this.F=null;this.l&&(Ye(this.l),this.l=null);this.o&&(this.o=null);this.j&&(Ye(this.j),this.j=null);AN.prototype.O.call(this)};var ZN=function(){if(Zd){var a=/Windows NT ([0-9.]+)/;return(a=a.exec(Gc()))?a[1]:"0"}return Yd?(a=/1[0|1][_.][0-9_.]+/,(a=a.exec(Gc()))?a[0].replace(/_/g,"."):"10"):$d?(a=/Android\s+([^\);]+)(\)|;)/,(a=a.exec(Gc()))?a[1]:""):ae||be||ce?(a=/(?:iPhone|CPU)\s+OS\s+(\S+)/,(a=a.exec(Gc()))?a[1].replace(/_/g,"."):""):""}();var aO=function(a,b){HN.call(this);this.l=b;this.j=new WN(a);this.o=b==0?3:1;N(this,this.j);$N(this)};q(aO,HN);var $N=function(a){bO(a);$d&&ZN==="4.4.4"&&XN(a.j);a.l==0?a.dispatchEvent("skipShown"):YN(a.j);a.g.listen(a.j,"click",function(){a.o==3&&a.dispatchEvent("videoSkipClicked")})},bO=function(a){if(!(a.l<0)){var b=Math.ceil(a.l-0),c=b.toString();b>=60&&(c=VF(b));af(a.j.B,ON({Zh:c}))}};aO.prototype.skip=function(){return this.l>=0&&this.o==3?(this.dispatchEvent("publisher_invoked_skip"),!0):!1}; aO.prototype.show=function(){this.j.show()};aO.prototype.fa=function(){this.j.fa()};var cO=function(a,b,c){HN.call(this);var d=this;this.o=new DN(a,c);this.B=0;this.D=b;this.j=null;this.l=new JN(!0);this.g.listen(this.o,"video_card_endcap_action",function(){d.dispatchEvent("video_card_endcap_action")});N(this,this.o);this.l.da=this;this.l.Bg(this.o.l);KN(this.l);N(this,this.l);this.A=new aO(this.o.va(),0);this.A.da=this;N(this,this.A);b>0&&(this.j=new Dv(100),N(this,this.j),this.g.listen(this.j,"tick",this.Bo))};q(cO,HN); var dO=function(a,b){var c=c===void 0?!1:c;if(b){var d=Le("advertiserVideoThumbnail",a.o.j);d.setAttribute("src",b);c&&(Af(d,{width:"100%",pointer:"cursor"}),a.g.listen(d,"click",function(){a.dispatchEvent("click")}))}};m=cO.prototype;m.skip=function(){return this.A!=null?(this.dispatchEvent("video_card_endcap_dismiss"),this.A.skip()):!1};m.show=function(){this.o.show();this.B=Date.now();this.j&&this.j.start();this.dispatchEvent("video_card_endcap_impression")}; m.fa=function(){this.o.fa();this.j&&this.j.stop();this.dispatchEvent("video_card_endcap_collapse")};m.Bo=function(){this.dispatchEvent("timeupdate");(this.B>0?Date.now()-this.B:0)>=this.D&&this.fa()};m.pause=function(){this.j&&this.j.stop()};var eO=function(a){a=a.yi;return OC('
'+RC(a)+"
")};var gO=function(a){AN.call(this);var b=this;this.element=xD(eO,{yi:a||"Learn More "});a=function(){return b.dispatchEvent("click")};this.j=Le("videoAdUiActionCtaInset",this.element);this.o=Le("videoAdUiActionCtaText",this.j);fO(this,this.o,"fctc",a);this.A=Le("videoAdUiActionCtaLink",this.j);fO(this,this.A,"fcvuc",a);this.l=Le("videoAdUiActionCtaIconContainer",this.j);fO(this,this.l,"fctnc",a);fO(this,Le("videoAdUiActionCtaButton",this.j),"fcabc",function(){return b.dispatchEvent("click")});fO(this, Le("videoAdUiActionCtaInset",this.j),"fcbgc",a);fO(this,Le("actionCtaCollapsibleContainer",this.j),"fcbgc",a)};q(gO,AN);var fO=function(a,b,c,d){d=d===void 0?null:d;b!=null&&a.g.listen(b,"click",function(e){e.stopPropagation();eF(T.getInstance(),c);d&&(T.getInstance().j(),d())})};gO.prototype.show=function(){Pf(this.element,!0)};gO.prototype.fa=function(){Pf(this.element,!1)};var hO=function(a){IN.call(this);this.j=new gO(a)};q(hO,IN);m=hO.prototype;m.Bg=function(a){var b=this;Xe(a,this.j.va());this.g.listen(this.j,"click",function(){b.dispatchEvent("ctaClicked")})};m.di=function(a){a&&af(this.j.o,a)};m.wf=function(a){var b=this.j,c=Te(document,"IMG");c.setAttribute("onerror",'this.style.display="none"');c.setAttribute("src",a);oC(c,"videoAdUiActionIcon");b.l.appendChild(c);Af(b.l,"display","inline")};m.ug=function(a){a&&af(this.j.A,a)};m.show=function(){this.j.show()}; m.fa=function(){this.j.fa()};var iO=function(a){hq.call(this);this.I=a};q(iO,hq);iO.prototype.build=function(){};var jO=function(a){a=a===void 0?null:a;hq.call(this);this.g=new ZJ(this);N(this,this.g);this.o=a};q(jO,hq);var kO=function(a,b,c,d){a.o&&(gL(a.o,b,c,d),iq(a,function(){dL(a.o.g,b.toString(),c,d)}))},lO=function(a,b,c){return hL(a.o,b,c)};var mO=function(a,b){jO.call(this);b&&a.l&&a.l.setAttribute("data-ck-navigates","true")};q(mO,jO);var nO=function(a,b,c){c=c===void 0?null:c;jO.call(this,b);var d=this;this.l=a;N(this,this.l);(this.j=c)&&this.g.listen(this.l,"click",function(){d.j&&lO(d,d.j,null)})};q(nO,jO);var oO=function(a,b,c,d){jO.call(this,b);var e=this;this.j=a;N(this,this.j);this.g.listen(this.j,"click",function(){lO(e,c,null)});kO(this,d,this.l,this)};q(oO,jO);oO.prototype.l=function(a){this.j.l(a);this.j.show()};var qO=function(a,b,c,d,e,f,g){d=d===void 0?0:d;e=e===void 0?0:e;f=f===void 0?!1:f;g=g===void 0?-1:g;jO.call(this,b);var h=this;this.j=a;N(this,this.j);this.X=c;this.A=d;this.da=e;this.N=null;this.B=this.D=this.l=this.J=!1;pO(this,this.A);this.T=f;this.F=g;kO(this,IM,this.C,this);kO(this,FM,this.G,this);kO(this,GM,this.ba,this);this.T&&kO(this,OL,this.Z,this);this.g.listen(this.j,"click",function(){h.l&&lO(h,h.X,null)})};q(qO,jO); qO.prototype.C=function(a){!a||a.currentTimeSeconds<0||a.durationSeconds<0||(this.l?this.o&&dL(this.o.g,IM.toString(),this.C,this):pO(this,this.A-a.currentTimeSeconds))};var pO=function(a,b){if(b<=0)a.T||rO(a);else{var c=a.j;Pf(c.l,!1);Pf(c.j,!0);af(c.j,Math.ceil(b).toString());a.D||(lO(a,iM,null),a.D=!0)}},rO=function(a){var b=a.j;Pf(b.l,!0);Pf(b.j,!1);a.l=!0;lO(a,hM,null);a.A>0&&!a.B&&(lO(a,NL,null),a.B=!0)}; qO.prototype.G=function(){var a=this;this.da>0&&!this.N&&(this.N=Ev(function(){if(!a.J){var b=a.j;Pf(b.l,!0);Pf(b.j,!1);a.l=!0;lO(a,hM,null);lO(a,jM,null);a.o&&dL(a.o.g,FM.toString(),a.G,a)}},this.da*1E3))};qO.prototype.ba=function(){this.J=!0};qO.prototype.Z=function(a){(this.F<0||a===this.F)&&rO(this)};var tO=function(a,b,c){jO.call(this,b);var d=this;this.j=a;this.C=c;kO(this,xM,function(){sO(d,500)},this);sO(this,2E3)};q(tO,jO);var sO=function(a,b){a.j.Ae(!1);a.g.xa(a.j,"click",a.A);a.l&&clearTimeout(a.l);a.l=setTimeout(function(){a.j.Ae(!0);a.g.listen(a.j,"click",a.A)},b)};tO.prototype.A=function(a){a instanceof Du&&a.g!=null&&a.l!=null?a=new qM(a.g,a.l):(a.nodeType==1?a=Hf(a):(a=a.changedTouches?a.changedTouches[0]:a,a=new ge(a.clientX,a.clientY)),a=new qM(a.x,a.y));lO(this,this.C,a)};var uO=function(a,b){jO.call(this,b);this.view=a};q(uO,jO);uO.prototype.show=function(){this.view.show()};uO.prototype.fa=function(){this.view.fa()};var vO=function(a,b,c){c=c===void 0?!1:c;jO.call(this,b);var d=this;this.g.listen(a,"click",function(){lO(d,aM,null)});c?this.g.listen(a,"mouseover",function(){lO(d,cM,null)}):this.g.listen(a,"mouseenter",function(){lO(d,bM,null)});this.g.listen(a,"mouseleave",function(){lO(d,dM,null)})};q(vO,jO);var wO=function(a,b,c,d){d=d===void 0?45E3:d;jO.call(this,b);this.j=a;N(this,this.j);this.F=c;this.G=d;this.D=this.C=!1;kO(this,gM,this.In,this);kO(this,xM,this.Ln,this);this.g.listen(this.j,"mouseover",this.Xn);this.g.listen(this.j,"mouseout",this.ip);this.j.el(400);this.play()};q(wO,jO);m=wO.prototype;m.play=function(){var a=this;this.l==null&&(this.l=Ev(function(){a.C||(a.fa(),a.D=!0);a.l=null},this.D?15E3:this.G,this))};m.stop=function(){this.l!=null&&(Fv(this.l),this.l=null)}; m.Xn=function(){var a=this;this.show();this.C=!0;this.B=Ev(function(){a.C&&a.stop();a.B=null},1E3,this)};m.ip=function(){this.B!=null&&(Fv(this.B),this.B=null);this.C&&this.play();this.C=!1};m.show=function(){this.j.Kj();this.A!=null&&(Fv(this.A),this.A=null)};m.fa=function(){var a=this;this.j.qk();this.A==null&&(this.A=Ev(function(){a.F&&a.j.fa();a.A=null;lO(a,sM,null)},400,this))};m.In=function(){this.j.fa();lO(this,sM,null)};m.Ln=function(){this.j.show()};function xO(a,b,c){hq.call(this);this.j=a;this.C=b||0;this.l=c;this.A=Ta(this.o,this)}Xa(xO,hq);xO.prototype.g=0;xO.prototype.O=function(){xO.wc.O.call(this);this.stop();delete this.j;delete this.l};xO.prototype.start=function(a){this.stop();this.g=Ev(this.A,a!==void 0?a:this.C)};var yO=function(a){a.isActive()||a.start(void 0)};xO.prototype.stop=function(){this.isActive()&&Fv(this.g);this.g=0};xO.prototype.isActive=function(){return this.g!=0};xO.prototype.o=function(){this.g=0;this.j&&this.j.call(this.l)};var CO=function(a,b,c){c=c===void 0?!1:c;jO.call(this,b);var d=this;this.A=!1;this.l=a;N(this,this.l);this.B=c;zO(this.l,c);this.C=!c;c?AO(this):BO(this);this.j=new xO(function(){return void BO(d)},2E3);this.g.listen(this.l,"click",function(){lO(d,uM,!d.B);d.j.stop();d.A&&yO(d.j)});kO(this,aM,function(){AO(d);yO(d.j)},this);Xd||(kO(this,bM,function(){AO(d);d.j.stop();d.A&&yO(d.j)},this),kO(this,cM,function(){AO(d);d.j.stop();d.A&&yO(d.j)},this),kO(this,dM,function(){if(!d.B||d.A){var e=d.j;e.stop(); e.o()}},this));kO(this,EM,function(e){zO(d.l,e);(d.B=e)?AO(d):d.A||BO(d);d.A&&yO(d.j)},this)};q(CO,jO);var AO=function(a){a.C||(a.C=!0,lO(a,wM,null),a.l.show())},BO=function(a){a.C&&(a.C=!1,lO(a,vM,null),a.l.fa())},DO=function(a){a.A=!0;oC(a.l.element,"fullScreen")};var EO=function(a,b){jO.call(this,b);this.j=a;N(this,this.j);kO(this,IM,this.l,this)};q(EO,jO);EO.prototype.l=function(a){a&&this.j.l(a.currentTimeSeconds,a.durationSeconds,a.adPosition,a.totalAds)};var FO=function(a,b,c){jO.call(this,b);var d=this;this.j=a;N(this,this.j);this.j.fa();this.g.listen(this.j,"click",function(){lO(d,xM,null);d.j.fa()});kO(this,c,function(){d.j.show()},this)};q(FO,jO);var IO=function(a,b,c,d){d=d===void 0?0:d;jO.call(this,b);var e=this;this.l=c;this.D=d;this.j=a;N(this,this.j);this.A=this.l==0?3:1;GO(this,0);this.l==0?lO(this,zM,null):HO(this.j);this.g.listen(this.j,"click",function(){e.A==3&&lO(e,yM,null)});kO(this,IM,this.C,this);kO(this,mM,this.B,this)};q(IO,jO); IO.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){GO(this,0);var b=this.j;UN(b.l,b.B).play();Pf(b.l,!0)}this.A=2}else{b=this.j;Pf(b.o,!0);var c=b.B;c=new TN(b.l,c,{opacity:1,visibility:"shown"},{opacity:.9,visibility:"hidden"},{rd:"opacity",duration:c,timing:"ease-out",delay:0});b=UN(b.o,b.B);c.play();b.play();this.A=3;lO(this,zM,null)}this.A==2&&GO(this,a.currentTimeSeconds)}}; var GO=function(a,b){if(!(a.l<0)){var c=Math.ceil(a.l-b);b=c.toString();c>=60&&(b=VF(c));a=a.j;b={Zh:b,Kc:a.F};a.G?af(a.D,""+(b||{}).Zh):af(a.D,ON(b))}};IO.prototype.B=function(){var a=this.j;a.j&&a.j.focus()};var MO=function(a,b,c,d){d=d===void 0?!1:d;jO.call(this,b);var e=this;this.l=a;N(this,this.l);this.j=c;this.B=d;this.A=!1;(a=this.j.l)?(this.l.l(a),this.g.listen(this.l,"click",function(){e.l.B&&(lO(e,AM,e.j),JO(e))}),this.j.Sa>=0?KO(this):LO(this),(this.j.Sa>=0||this.j.Lb>=0)&&kO(this,IM,this.C,this)):KO(this)};q(MO,jO); MO.prototype.C=function(a){if(a){var b=this.j.Sa>=0?this.j.Sa:0,c=this.j.Lb>=0?this.j.Lb+b:-1;c>=0&&a.currentTimeSeconds*1E3>=c?(KO(this),NO(this)):a.currentTimeSeconds*1E3>=b&&(LO(this),c<0&&NO(this))}}; var NO=function(a){a.o&&dL(a.o.g,IM.toString(),a.C,a)},KO=function(a){a.l.B&&a.l.fa()},LO=function(a){a.l.B||(a.l.show(),lO(a,BM,a.j))},JO=function(a){if(a.B&&!a.A){var b=Kf(a.l.element.parentElement),c=DH(a.j,b);if(!c){c=EH(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&&(OO(a.l,c),(c=a.l.A)&&a.g.listen(c,"click",function(e){lO(a,nM,a.j);e.stopPropagation();a.A&&(e=a.l,e.j&&(e.g.xa(e.j,"load",e.D,!0,e),e.g.xa(e.j,"error",e.D,!0,e),e.g.xa(e.j,"focusout"),Ye(e.j), e.element.focus(),e.j=null,e.A=null),a.A=!1)}));a.A=!0}};MO.prototype.O=function(){NO(this);jO.prototype.O.call(this)};var PO=function(){return OC('
')};var QO=function(a){a=a||{};a=a.za;return OC('
'+RC(a)+"
")},RO=function(a){var b=a.pl,c=a.adPosition;a=a.totalAds;return a>=2&&c>=1?"Ad "+c+" of "+a+" "+b:"Ad "+b};var SO=function(){return OC('
')};var TO=function(a){a=a||{};a=a.Dr;return OC('
'+RC(a)+"
")};var UO=function(a){a=a.eo;return OC('
'+(a?'
':"")+'
')};var VO=function(){var a=mD(oD(),'
');var b=OC(''); return mD(nD(a,b),"
")};var WO=function(a){return OC('
")};var XO=function(){return OC('
')},YO=function(a){var b=a.Ta,c=a.height,d=a.width;a=a.alt;return OC('
'+Q(a)+'
')};var ZO=function(a){var b=a.height,c=a.width;a=a.attribution;return OC('
'+RC(a)+"
")},$O=function(a){var b=a.height,c=a.width;a=a.attribution;return OC('
'+RC(a)+"
")},aP=function(a){var b=a.height;a=a.width;return OC('
')},bP=function(a){var b=a.height,c=a.width,d=a.Ta;a=a.attribution;return OC('
'+RC(a)+"
")},cP=function(a){var b=a.title,c=a.text,d=a.dir,e=a.attribution,f=a.image,g=a.duration;a=a.zc;return OC('
'+(TC(f)?'
'+(TC(g)?'
'+RC(g)+"
":"")+"
":"")+'
'+RC(a)+"
":"")+'
'+RC(e)+"
")};var dP=function(){var a=mD(oD(),'
');var b=OC('');a=mD(nD(a,b),'
');b=OC(''); return mD(nD(a,b),"
")};var eP=function(){var a=mD(oD(),'
');var b=OC('');return mD(nD(a,b),"
")};var fP=function(){var a='
'; return OC(a)};var gP=function(){O.call(this);this.element=null;this.g=new ZJ(this);N(this,this.g)};q(gP,O);var hP=function(a,b){a.element&&b.element&&a.element.appendChild(b.element)};gP.prototype.va=function(){return this.element};var iP=function(){gP.call(this)};q(iP,gP);var jP=function(a,b){a.element&&Xe(b,a.element)};var kP=function(){gP.call(this);var a=this;this.element=xD(PO);Pf(this.element,!1);this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};q(kP,gP);kP.prototype.l=function(a){af(this.element,a)};kP.prototype.show=function(){Pf(this.element,!0)};var lP=function(a){a=a===void 0?!1:a;gP.call(this);this.element=xD(QO,{za:RO({pl:"",adPosition:0,totalAds:0})});this.j=Le("videoAdUiAttribution",this.element);this.o=a;this.g.listen(this.element,"click",function(b){b.stopPropagation()});Pf(this.element,!1)};q(lP,gP);lP.prototype.show=function(){Pf(this.element,!0)};lP.prototype.l=function(a,b,c,d){this.j&&(a=VF(b-a),c=RO({pl:": ("+a+")",adPosition:c||0,totalAds:d||0}),this.o&&(c=a),af(this.j,c.toString()));this.show()};var mP=function(){gP.call(this);var a=this;this.element=xD(SO);Pf(this.element,!1);this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};q(mP,gP);mP.prototype.l=function(a){af(this.element,"by "+a)};mP.prototype.show=function(){Pf(this.element,!0)};var nP=function(){gP.call(this);this.element=xD(TO);this.j=Le("videoAdUiAutoClose",this.element);Pf(this.element,!1)};q(nP,gP);nP.prototype.l=function(a,b){this.j&&(a=a={So:VF(b-a)},a="Ad will close in "+RC(a.So),a=OC(a),af(this.j,a.toString()));Pf(this.element,!0)};var oP=function(a,b,c,d){d=d===void 0?!1:d;gP.call(this);var e=this;this.D=c;this.A=d;this.element=xD(UO,{eo: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=Le("videoAdUiTopBar",this.element);this.B=Le("videoAdUiTopBarTextContainer",this.element);this.l=Le("videoAdUiClickElement",this.element);b&&this.j.classList.add(b);this.o=Le("videoAdUiBottomBar",this.element);de||OI()||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")});Pf(this.j,!1)};q(oP,iP); var pP=function(a){var b=(parseInt(Cf(a.element,"width"),10)||a.element.width)<=400;a=a.element;b?oC(a,"videoAdUi-mobile"):qC(a,"videoAdUi-mobile")},qP=function(a){a.j&&Pf(a.j,!0)},rP=function(a,b){a.j&&b.element&&a.j.appendChild(b.element)},sP=function(a,b){a.o&&b.element&&a.o.appendChild(b.element)};oP.prototype.Ae=function(a){Af(this.element,{"pointer-events":a?"auto":"none",cursor:a&&this.D?"pointer":"auto"})}; var tP=function(a,b){b?a.g.listen(a.element,"mouseover",function(){oC(a.j,"videoAdUiTopBarTransitions")}):qC(a.j,"videoAdUiTopBarTransitions")},uP=function(a,b){a=a.j;b?oC(a,"videoAdUiTopBarCollapsed"):qC(a,"videoAdUiTopBarCollapsed")},vP=function(a,b){a=a.o;b?oC(a,"videoAdUiBottomBarCollapsed"):qC(a,"videoAdUiBottomBarCollapsed")},wP=function(a,b){a.B&&b.element&&a.B.appendChild(b.element)},xP=function(a,b){a.l&&b.element&&a.l.appendChild(b.element)}; oP.prototype.fa=function(){Pf(this.j,!1);Pf(this.o,!1);Pf(this.l,!1)};var yP=function(){gP.call(this);var a=this;this.element=xD(VO);this.j=Le("closeCountdownText",this.element);this.l=Le("closeButtonIcon",this.element);this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};q(yP,gP);var zP=function(a){gP.call(this);this.element=xD(WO,{backgroundImage:"data:image/png;base64,"+a.bg})};q(zP,gP);zP.prototype.show=function(){Pf(this.element,!0)};zP.prototype.fa=function(){Pf(this.element,!1)};var AP=function(a){gP.call(this);var b=this;this.A=this.j=null;this.B=!1;this.element=xD(XO);switch(a){case "author":oC(this.element,"authorIcon");break;case "vast":oC(this.element,"vastIcon");break;case "freeplayWta":oC(this.element,"vastIcon"),oC(this.element,"freeplayAtv")}this.fa();this.o=null;this.g.listen(this.element,"click",function(c){c.stopPropagation();b.dispatchEvent("click")})};q(AP,iP); AP.prototype.l=function(a){this.o||(this.o=Te(document,"IMG"));this.o.setAttribute("src",a);this.o.setAttribute("onerror",'this.style.display="none"');this.element.appendChild(this.o)};var BP=function(a,b,c){Af(a.element,{height:b+"px",width:c+"px"});a.o&&(a.o.setAttribute("width",c+"px"),a.o.setAttribute("height",b+"px"))},CP=function(a,b,c){Af(a.element,{position:"absolute",overflow:"hidden",left:b,bottom:c})};AP.prototype.show=function(){Pf(this.element,!0);this.B=!0}; AP.prototype.fa=function(){Pf(this.element,!1);this.B=!1};var OO=function(a,b){a.j||(a.j=xD(YO,{Ta:b.l,width:b.j,height:b.g,alt:b.altText}),Pf(a.j,!1),a.element.appendChild(a.j),a.A=(new yP).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()}))};AP.prototype.D=function(){Pf(this.j,!0);this.A.focus()};var DP=function(a){a=a===void 0?null:a;gP.call(this);var b=this;this.element=xD(zN,{dj:a||"Learn More "});this.j=Le("learnMoreButton",this.element);this.g.listen(this.j,"click",function(c){c.stopPropagation();b.dispatchEvent("click")})};q(DP,gP);DP.prototype.l=function(a){af(this.j,a)};DP.prototype.show=function(){Pf(this.element,!0)};var EP=function(){gP.call(this);var a=this;this.element=xD(yN,{dj:"Learn More "});this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")})};q(EP,gP);var GP=function(a,b,c){hq.call(this);this.j=a;this.A=b;this.B=c;this.o=0;this.g={};this.l=new ZJ(this);N(this,this.l);FP(this)};q(GP,hq);var FP=function(a){a.B.forEach(function(b){this.l.listen(b.element,"mousedown",this.D,!0);this.l.listen(b.element,"mouseup",Ua(this.G,b),!0)},a);a.l.listen(a.A,"mouseenter",a.F)},HP=function(a,b){Ib(a.g,function(c,d){b=Lo(Ro(b,d),d,c)});return b};GP.prototype.D=function(){this.C=Date.now()}; GP.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.Hg);(this.j&8)==8&&(a=Gf(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=hC())&&(this.g.mb=b);c.tagName.toUpperCase()=="A"&&(b=HP(this,c.href),b=qd(b),b!==void 0&&(c.href=b))};GP.prototype.F=function(){this.o++};var IP=function(a,b,c){c=c===void 0?[]:c;gP.call(this);var d=this;this.element=a;c.push({element:this.element,Hg:2});this.j=new GP(b,this.element,c);this.g.listen(this.element,"click",function(e){d.dispatchEvent(e)});this.g.listen(this.element,"mouseover",function(){d.dispatchEvent("mouseover")});this.g.listen(this.element,"mouseout",function(){d.dispatchEvent("mouseout")})};q(IP,gP);m=IP.prototype;m.Ae=function(a){var b=this.element;a?oC(b,"clickable"):qC(b,"clickable")}; m.el=function(a){RN(this.element,"opacity "+a/1E3+"s")};m.show=function(){Pf(this.element,!0)};m.fa=function(){Pf(this.element,!1)};m.Kj=function(){Of(this.element,1)};m.qk=function(){Of(this.element,.3)};m.va=function(){return this.element};var JP=function(a){return Le("overlayTextAttribution",a.element)};function KP(a,b){a=xD(bP,a);return new IP(a,b)}function LP(a,b){var c=[];a=xD(cP,a);var d=Le("textImageContainer",a);d!=null&&c.push({element:d,Hg:9});d=Le("overlayTextTitle",a);d!=null&&c.push({element:d,Hg:0});d=Le("overlayTextUrl",a);d!=null&&c.push({element:d,Hg:1});return new IP(a,b,c)};var MP=function(){gP.call(this);var a=this;this.element=xD(dP);this.l=Le("videoAdUiPlayIcon",this.element);this.j=Le("videoAdUiPauseIcon",this.element);this.g.listen(this.element,"click",function(b){b.stopPropagation();a.dispatchEvent("click")});zO(this,!1)};q(MP,gP);var zO=function(a,b){Pf(a.l,b);Pf(a.j,!b)};MP.prototype.show=function(){this.element&&oC(this.element,"fade-in")};MP.prototype.fa=function(){this.element&&qC(this.element,"fade-in")};var NP=function(){gP.call(this);var a=this;this.element=xD(eP);this.j=!0;this.g.listen(this.element,"click",function(b){a.j&&(b.stopPropagation(),a.dispatchEvent("click"))})};q(NP,gP);NP.prototype.show=function(){Pf(this.element,!0);this.j=!0};NP.prototype.fa=function(){Pf(this.element,!1);this.j=!1};var OP=function(a){var b=a.Zf===void 0?!1:a.Zf;var c=a.Lh===void 0?!1:a.Lh;var d=a.Sh===void 0?.5:a.Sh;a=a.Kc===void 0?!1:a.Kc;gP.call(this);var e=this;this.F=a;this.element=xD(NN,{Ce:uc(a?"Skip ":"Skip Ad ")});b&&oC(this.element,"noTextSkipButton");c&&oC(this.element,"raisedSkipButton");this.G=b;this.B=d;this.l=Le("videoAdUiPreSkipContainer",this.element);this.A=Le("videoAdUiPreSkipButton",this.element);this.D=Le("videoAdUiPreSkipText",this.element);this.o=Le("videoAdUiSkipContainer",this.element); this.j=Le("videoAdUiSkipButton",this.element);Pf(this.l,!1);this.g.listen(this.j,"click",function(f){f.stopPropagation();e.dispatchEvent("click")});this.g.listen(this.A,"click",function(f){f.stopPropagation()});$d&&ZN==="4.4.4"&&(this.A.style.backgroundColor="black",this.j.style.backgroundColor="black")};q(OP,gP);OP.prototype.fa=function(){Pf(this.A,!1);Pf(this.j,!1)};var HO=function(a){Pf(a.o,!1);Of(a.o,0)};var PP=function(a){a=a===void 0?!1:a;gP.call(this);var b=this;this.element=xD(fP);a&&this.element.classList.add("smallWtaIcon");this.g.listen(this.element,"click",function(c){c.stopPropagation();b.dispatchEvent("click")})};q(PP,gP);function QP(a,b){if(typeof ReportingObserver==="undefined")return null;var c=function(e){e=v(e);for(var f=e.next();!f.done;f=e.next())f=f.value,a(f)&&b(f)},d=new ReportingObserver(c,{buffered:!0});B.addEventListener("pagehide",function(){c(d.takeRecords(),d);d.disconnect()});d.observe();return d}function RP(a){return QP(function(b){return b.body&&b.body.id==="HeavyAdIntervention"},a)} function SP(a){return RP(function(b){b=b.body.message;b.includes("CPU")?a("heavy_ad_intervention_cpu"):b.includes("network")&&a("heavy_ad_intervention_network")})}function TP(a){a=a===void 0?null:a;QP(function(b){return b.body&&b.body.id==="HeavyAdIntervention"},function(b){var c=b.body.message,d=T.getInstance();U(d,"ham",c);c.includes("CPU")?U(d,"hacpu","true"):c.includes("network")&&U(d,"habytes","true");a&&a(b)})};var UP=[new he(200,200),new he(250,250),new he(300,250),new he(336,280),new he(450,50),new he(468,60),new he(480,70),new he(728,90)];function VP(a,b,c,d){a&&(c=Math.min(c,90));var e=[];UP.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 WP(a){var b=XF(VB(new P(a.adTagUrl),"overlay"));return VP(b,a.nonLinearAdSlotWidth||0,a.nonLinearAdSlotHeight||0,a.forceNonLinearFullSlot||!1)}function XP(a){return a==="flash"||a==="image"||a==="staticimage"}function YP(a){var b=[];a.forEach(function(c){c==="video"?b.push("standardvideo"):c!="skippablevideo"&&b.push(c)});return b}function ZP(a){a=CG(a,"ad_type");return F(a)?["video"]:a.split("_")};var $P=function(){};$P.prototype.g=function(){};var aQ=function(a,b){a=a===void 0?new Map:a;b=b===void 0?new $P:b;sK.call(this,a);this.j=b};q(aQ,sK); aQ.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new P(a.adTagUrl),c=new Map;c.set("sdkv","h.0.0.0");var d=new P(a.adTagUrl),e=c.set,f=CG(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",CG(d,"client"));c.set("min_ad_duration",Number(CG(d,"min_ad_duration",(0).toString())).toString());e=Number(CG(d,"max_ad_duration",(1E5).toString()));e>0&&c.set("max_ad_duration",Math.round(1.1*e).toString());e=Number(CG(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,l=a.nonLinearAdSlotHeight||0;f=new P(a.adTagUrl);g=Math.max(g,k)+"x"+Math.max(h,l);f=CG(f,"sz");e.call(c,"sz",F(f)||g!=="0x0"?g:f);e=c.set;f=CG(d,"channel");f=Array.from(new Set(f.split(/[+, ]/))).slice(0,30).join("+");e.call(c,"channel",f);c.set("h_ch",CG(d,"h_ch").split(/[+, ]/).join("+"));e=c.set;f=CG(d,"adsafe");e.call(c,"adsafe", Qb(eG,f)?f:"high");e=c.set;d=CG(d,"videoad_start_delay");e.call(c,"videoad_start_delay",F(d)?"1":d);c.set("hl",MI());c.set("vid_d",a.contentDuration||"");c.set("ca_type","image");c.set("unviewed_position_start","1");c.set("output","xml_vast4");tK(c);d=Map;e=[];f=e.concat;g={};g.u_tz=-(new Date).getTimezoneOffset();try{var n=C.history.length}catch(E){n=0}g.u_his=n;var p;g.u_h=(p=C.screen)==null?void 0:p.height;var r;g.u_w=(r=C.screen)==null?void 0:r.width;var t;g.u_ah=(t=C.screen)==null?void 0:t.availHeight; var u;g.u_aw=(u=C.screen)==null?void 0:u.availWidth;var A;g.u_cd=(A=C.screen)==null?void 0:A.colorDepth;n=new Map;for(var w in g)n.set(w,g[w]);a=new d(f.call(e,x(n),x(AG(a)),x(c)));uK(this,a);rG(b,a);bQ(b);tG(b);this.j.g(b);return b.toString()};var bQ=function(a){a.g.forEach(function(b,c){fG.has(c)&&!F(b)||a.g.remove(c)})};var cQ=function(a,b){a=a===void 0?new Map:a;b=b===void 0?new $P:b;sK.call(this,a);this.j=b};q(cQ,sK);cQ.prototype.g=function(a){if(a.adTagUrl==null)return null;var b=new P(a.adTagUrl),c=new Map;c.set("sdkv","h.0.0.0");tK(c);c.set("nel",MH()?"1":"0");a=new Map([].concat(x(AG(a)),x(c)));uK(this,a);rG(b,a);sG(b,a);tG(b);this.j.g(b);return b.toString()};var dQ=function(a,b){a=a===void 0?new Map:a;b=b===void 0?new $P:b;sK.call(this,a);this.j=b};q(dQ,sK); dQ.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new lG(a.adTagUrl),c=new Map;tK(c);c.set("dc_sdkv","h.0.0.0");c.set("dc_sdki",vK().toString(16));c.set("dc_eid",FE());c.set("dcmt","text/xml");c.set("nel",MH()?"1":"0");var d=nG(b,"dc_output")||[];(d.includes("vast")||d.includes("xml_vast2"))&&c.set("dc_output","xml_vast3");a=new Map([].concat(x(AG(a)),x(c)));uK(this,a);c=v(a);for(d=c.next();!d.done;d=c.next()){var e=v(d.value);d=e.next().value;e.next();e=eQ(d);d=a.get(d);e!=="dc_rfl"&&(d= encodeURIComponent(d));F(e)||F(d)||oG(b,e,[d])}tG(b);this.j.g(b);return b.toString()};var eQ=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 fQ=function(a,b){a=a===void 0?new Map:a;b=b===void 0?new $P:b;sK.call(this,a);this.j=b};q(fQ,sK);fQ.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new P(a.adTagUrl),c=new Map;tK(c);c.set("sdkv","h.0.0.0");c.set("sdki",vK().toString(16));c.set("output","xml_vast4");a=new Map([].concat(x(AG(a)),x(c)));uK(this,a);rG(b,a);tG(b);this.j.g(b);return b.toString()};var gQ=function(a,b){a=a===void 0?new Map:a;b=b===void 0?new $P:b;sK.call(this,a);this.j=b};q(gQ,sK); gQ.prototype.g=function(a){if(!a.adTagUrl)return null;var b=new P(a.adTagUrl),c=new Map;c.set("sdkv","h.0.0.0");tK(c);var d=MI();d&&c.set("hl",d);c.set("afvsz",WP(a));c.set("unviewed_position_start","1");var e=(new P(a.adTagUrl)).g;d=String(e.get("output")||"");e=String(e.get("ad_rule")||"");e=XF(e)&&d.includes("vast");d.includes("vmap")||e?c.set("output","xml_vmap1"):d.includes("vast")&&c.set("output","xml_vast4");a=new Map([].concat(x(AG(a)),x(c)));uK(this,a);rG(b,a);sG(b,a);b.g.remove("impl"); tG(b);this.j.g(b);return b.toString()};var hQ={Pp:"SIMID:Creative:clickThru",bq:"SIMID:Creative:fatalError",gq:"SIMID:Creative:getMediaState",LOG:"SIMID:Creative:log",Wq:"SIMID:Creative:reportTracking",Xq:"SIMID:Creative:requestChangeAdDuration",Yq:"SIMID:Creative:requestChangeVolume",Zq:"SIMID:Creative:requestExitFullscreen",br:"SIMID:Creative:requestFullscreen",REQUEST_PAUSE:"SIMID:Creative:requestPause",REQUEST_PLAY:"SIMID:Creative:requestPlay",dr:"SIMID:Creative:requestResize",gr:"SIMID:Creative:requestSkip",REQUEST_STOP:"SIMID:Creative:requestStop", cr:"SIMID:Creative:requestNavigation",lq:"SIMID:Creative:handleSkipShown"};function iQ(a){return typeof a!="object"?!1:$f(a.width)&&$f(a.height)&&$f(a.x)&&$f(a.y)};var jQ=function(a){a=a===void 0?{}:a;this.oa=a.oa;this.oi=a.oi;this.pi=a.pi;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.mj=a.mj;this.lf=a.lf;this.mf=a.mf;this.Uh=a.Uh;this.uri=a.uri;this.Fj=a.Fj;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 kQ(a){a=a.trackingUrls;if(!(a instanceof Array))return eF(T.getInstance(),"sp_s_vrt_ia"),!1;if(a.every(function(b){return typeof b=="string"}))return eF(T.getInstance(),"sp_s_vrt_s"),!0;eF(T.getInstance(),"sp_s_vrt_iu");return!1} function lQ(a){if(!iQ(a.videoDimensions))return eF(T.getInstance(),"sp_s_vr_ivd"),!1;if(!iQ(a.creativeDimensions))return eF(T.getInstance(),"sp_s_vr_icd"),!1;if(typeof a.fullscreen!="boolean")return eF(T.getInstance(),"sp_s_vr_ifs"),!1;eF(T.getInstance(),"sp_s_vr_s");return!0} var mQ=function(){},nQ=function(a,b){switch(a){case "SIMID:Creative:requestChangeAdDuration":return a=b.duration,isNaN(a)||typeof a!="number"?null:new jQ({duration:a});case "SIMID:Creative:reportTracking":return kQ(b)?new jQ({Uh:b.trackingUrls}):null;case "SIMID:Creative:requestResize":return lQ(b)?new jQ({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 jQ({volume:b.volume,muted:b.muted});case "SIMID:Creative:requestNavigation":return typeof b.uri!="string"?null:new jQ({uri:b.uri});case "SIMID:Creative:log":return typeof b.message!="string"?null:new jQ({message:b.message})}return new jQ};var oQ=function(a,b,c,d){this.type=a;this.args=d;this.messageId=b;this.g=c};var pQ=function(a,b,c){Cu.call(this,a.type);this.resolve=b;this.reject=c;this.args=a.args};q(pQ,Cu);function qQ(a){if(!a.data)return null;var b={};try{b=JSON.parse(a.data)}catch(c){return null}return typeof b!="object"?null:b}var rQ=function(a,b,c,d){d=d===void 0?{}:d;O.call(this);this.o=new bC;this.G=c;var e,f,g,h;this.g={Ng:(e=d.Ng)!=null?e:!1,Fi:(f=d.Fi)!=null?f:!1,Gi:(g=d.Gi)!=null?g:!0,Hi:(h=d.Hi)!=null?h:!1};this.l="";this.J=1;this.A=this.F=window;this.N=b;this.B=new ZJ(this);N(this,this.B);this.j=new Map;this.D=hG()};q(rQ,O); var vQ=function(a,b){var c=b.ii;b=b.target;a.A=c;a.F=b;a.B.listen(window,"message",function(d){a:{d=d.fc;var e=a.A===d.source;if(a.g.Gi){var f=(a.g.Ng?new Set([null,"*",d.origin]):new Set(["*",d.origin])).has(a.N);e=a.g.Ng?e&&f:e||f}e&&(e=qQ(d),e=!(e==null||e.sendingInstanceId==null?0:a.g.Hi&&e.sendingInstanceId===a.D));if(e){var g=qQ(d);if(g!=null&&(d=g.type,e=g.sessionId,e==a.l||d=="createSession")&&(!a.g.Fi||d!=="createSession"||a.l==null)&&(f=g.args,g=g.messageId,g!=null)){var h=null;try{if(d== "resolve"||d=="reject"){var k=f.messageId;h=k==null?null:new jQ({mf:k,lf:f.value})}else h=nQ(d,f)}catch(l){if(l.cause===1210){k=JSON.stringify({type:"TimingEvent",key:"smd_ss_nfo_init"});a.sendMessage("SIMID:Creative:log",new jQ({message:k}));k=JSON.stringify({type:"OneShotParameter",key:"smd_ss_nfo_init_r",value:l.message});a.sendMessage("SIMID:Creative:log",new jQ({message:k}));break a}throw l;}if(h)switch(d==="SIMID:Player:init"&&(k=JSON.stringify({type:"TimingEvent",key:"smd_ss_so_init"}),a.sendMessage("SIMID:Creative:log", new jQ({message:k}))),k=new oQ(d,g,e,h),k.type){case "resolve":case "reject":if(d=k.args.mf)e=k.args.lf||{},a.j.has(d)&&(f=a.j.get(d),k.type=="resolve"?f.resolve(e):k.type=="reject"&&f.reject(e),a.j.delete(d));break;case "createSession":a.l=k.g;sQ(a,k.messageId);a.o.resolve();break;default:tQ(a,k)}else uQ(a,g,{errorCode:1211,message:"Invalid message arguments."})}}}})}; rQ.prototype.sendMessage=function(a,b){b=b===void 0?new jQ:b;var c=this.J++,d={};d.type=a;d.sessionId=this.l;this.g.Hi&&(d.sendingInstanceId=this.D);d.messageId=c;d.timestamp=Date.now();if(a=="resolve"||a=="reject"){var e={};b=(e.messageId=b.mf,e.value=b.lf,e)}else{e={};switch(a){case "SIMID:Player:init":var f={};f=(f.adParameters=b.oa,f.clickThruUri=b.oi,f.clickThruUrl=b.pi,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.Fj,k.skippableState="adHandles",k.navigationSupport=b.mj,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 bC,this.j.set(c,a), a.promise):Promise.resolve({})};var tQ=function(a,b){a.dispatchEvent(new pQ(b,function(c){c=c===void 0?{}:c;sQ(a,b.messageId,c)},function(c){c=c===void 0?{}:c;uQ(a,b.messageId,c)}))},sQ=function(a,b,c){c=c===void 0?{}:c;a.sendMessage("resolve",new jQ({mf:b,lf:c}))},uQ=function(a,b,c){a.sendMessage("reject",new jQ({mf:b,lf:c}))};function wQ(a){return(a=a.pb.find(function(b){return H(b.ea)=="SIMID"&&b.mimeType=="text/html"&&!!b.url&&!F(b.url)}))?a.url:null}function xQ(a){return(a=a.pb.find(function(b){return H(b.ea)=="SIMID"&&b.mimeType=="text/html"&&!!b.g&&!F(b.g)}))?a.g:null};var yQ="SIMID:Player:adSkipped SIMID:Player:adStopped SIMID:Player:appBackgrounded SIMID:Player:fatalError SIMID:Player:init SIMID:Player:startCreative".split(" "),zQ=function(a,b,c){c=c===void 0?!1:c;O.call(this);var d=null;if(a){if(c)try{var e=(new URL(a,window.location.href)).origin}catch(f){e=null}else e=(a=new P(a),a.o+"://"+a.j);d=e}this.g=new rQ(new mQ,d,yQ,b);N(this,this.g);this.j=null;this.l=0;this.o=!1};q(zQ,O); var AQ=function(a,b){vQ(a.g,{ii:b.ii,target:b.target});Object.values(hQ).forEach(function(c){a.g.listen(c,function(d){a.o&&fF("lima_pmh_m_"+c);c==="SIMID:Creative:log"&&d.args.message==="cr"?a.l=0:a.dispatchEvent(d)})})};zQ.prototype.log=function(a){return this.g.sendMessage("SIMID:Player:log",new jQ({message:a}))}; var BQ=function(a){a.o=!1;var b=[];Object.values(hQ).forEach(function(c){b.push("lima_pmh_m_"+c)});gF(b)},CQ=function(a){a.j&&(a.l===2?(a.j.resolve(),a.j=null):(a.log("pp"),a.l++,setTimeout(function(){return CQ(a)},2E3)))};var DQ=function(a){eF(T.getInstance(),"lima_csiu");var b="border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:"+((Ap()?"99":"100")+"%; height:100%; position: absolute;display:none"),c=Jd();b=Se("IFRAME",{id:c,name:c,allow:"autoplay",allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:b});a=ld(a);b.removeAttribute("srcdoc");if(a instanceof $c)throw new wd("TrustedResourceUrl",2);vd(b,"allow-same-origin allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-storage-access-by-user-activation".split(" ")); a=qd(a);a!==void 0&&(b.src=a);return b},EQ=function(a){eF(T.getInstance(),"lima_csih");var b="border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:"+((Ap()?"99":"100")+"%; height:100%; position: absolute;display:none"),c=Jd();b=Se("IFRAME",{id:c,name:c,allow:"autoplay",allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:b});b.removeAttribute("src");if(a instanceof rd)throw new wd("SafeHtml",1);vd(b,["allow-scripts","allow-forms","allow-popups","allow-popups-to-escape-sandbox", "allow-storage-access-by-user-activation"]);a=sd(a);b.srcdoc=td(a);return b};var FQ={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 GQ(a){if(!a)return!1;if(a=HQ(a)){if(a.g=="TRUEVIEW"||a.g=="SKIPPABLE")return!0;if(a.g)return!1;eF(T.getInstance(),"ytu_nf");return a.fd()}return!1} function IQ(a){return a?(a=HQ(a))&&a.g=="BUMPER"?!0:!1:!1}function JQ(a){return a?(a=HQ(a))&&a.g=="NONSKIPPABLE"?!0:!1:!1}function KQ(a){return a?(a=HQ(a))?a.j.id:null:null}function LQ(a){return(a=HQ(a))?a.j:null}function MQ(a){return(a=HQ(a))?a.l:null}function NQ(a){return(a=(a=HQ(a))?a.g:null)?FQ[a]||null:null}function HQ(a){return a.ia.get(xH)};var OQ=function(a){this.duration=a};var PQ=function(a,b,c){this.bg=a;this.j=b;this.g=c};var QQ=function(a,b,c){this.g=a;this.j=b;this.l=c};var RQ=function(a){this.g=a};var SQ=function(a){this.Oa=a};var TQ=function(a,b,c,d,e,f,g,h,k){this.g=a;this.campaignId=b;this.nonce=c;this.networkId=d;this.l=e;this.j=f;this.o=g;this.A=h;this.timestamp=k};var UQ=function(a){var b=a.Ye===void 0?null:a.Ye;var c=a.Ze===void 0?null:a.Ze;var d=a.af===void 0?null:a.af;var e=a.Wa===void 0?null:a.Wa;var f=a.imageWidth===void 0?0:a.imageWidth;a=a.imageHeight===void 0?0:a.imageHeight;this.Ye=b;this.Ze=c;this.af=d;this.Wa=e;this.imageWidth=f;this.imageHeight=a};var VQ=function(a){this.g=a};var WQ=function(){};WQ.prototype.g=function(a){if(!FK(a,"vast2_about_this_ad"))return null;a=BK(a,"Icon");if(a.length<1)return null;a=MK(a[0]);return new KJ(a)};var XQ=function(){}; XQ.prototype.g=function(a){if(!FK(a,"activeview"))return null;var b=[],c=BK(a,"trackingConfiguration");c=v(c);for(var d=c.next();!d.done;d=c.next()){d=BK(d.value,"trackingEventConfiguration");d=v(d);for(var e=d.next();!e.done;e=d.next()){var f=e.value;e=f.getAttribute("event");var g=f.getAttribute("id");if(g==null||e==null)e=null;else{e=e.toLowerCase();g=g.toLowerCase();var h=[];f=BK(f,"trackingEventCriteria");f=v(f);for(var k=f.next();!k.done;k=f.next())k=k.value.getAttribute("value"),k!=null&&h.push(k.toLowerCase()); e=h.length?new xb(g,e,h):null}e&&b.push(e)}}c=JK(a);e=CK(a,"activeViewMetadata");d="";e&&(d=V(e)||"");a=CK(a,"activeViewFlags");e="";a&&(e=V(a)||"");return new vI(c,b,d,e)};var YQ=function(){};YQ.prototype.g=function(a){if(!FK(a,"wrapper_info"))return null;var b=0;(a=CK(a,"Duration"))&&(b=GK(V(a)));return b!=null&&b>0?new OQ(b):null};var ZQ=function(){}; ZQ.prototype.g=function(a){if(!FK(a,"adsense"))return null;for(var b=null,c=null,d=null,e,f=[],g,h=null,k=null,l=null,n=v(Ze(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=AK(p.getAttribute("bool"));break;case "checkedevents":f=$Q(p);break;case "showyoutubeannotations":g=AK(V(p));break;case "ui":h=null;p=CK(p,"config");if(p!=null){var r=CK(p,"context"); if(r!=null&&r.getAttribute("data").toLowerCase()=="default"&&(h=new xI,r=CK(p,"params"))){p=h;r=v(Ze(r));for(var t=r.next();!t.done;t=r.next())switch(t=t.value,t.nodeName.toLowerCase()){case "audio_muted_on_start":p.ge=AK(t.getAttribute("bool"))||!1;break;case "attribution_text":p.za=t.getAttribute("data");break;case "attribution_url":p.Fb=t.getAttribute("data");break;case "signals":p.Qc=zK(t,"int")||0}}}break;case "visibleurl":k=V(p);break;case "whythisad":a:{l=v(Ze(p));for(p=l.next();!p.done;p= l.next())if(p=p.value,p.nodeName.toLowerCase()=="wtaclickthroughurl"){l=V(p);break a}l=null}l&&U(T.getInstance(),"wta","1")}return new yI(JK(a),{za:b,Fb:c,Ne:d,aj:e,cf:f,qf:g,uiConfig:h,zc:k,Ac:l})};var $Q=function(a){var b=[];Array.from(Ze(a)).forEach(function(c){(c=c.getAttribute("id"))&&b.push(c.toLowerCase())});return b};var aR=function(){};aR.prototype.g=function(a){if(!FK(a,"AdVerifications"))return null;var b=[];a=BK(a,"AdVerifications");a=v(a);for(var c=a.next();!c.done;c=a.next())b.push.apply(b,x(HK(c.value)));return new GJ(b)};var bR=function(){};bR.prototype.g=function(a){if(!FK(a,"adx"))return null;var b;if(a=CK(a,"skippability")){var c=V(a);if(c=="skippable"){var d=!0;(a=a.getAttribute("offset"))&&!F(a)&&(b=GK(a))}else c=="nonskippable"&&(d=!1)}return d!=null?new $K(d,b):null};var cR=function(){};cR.prototype.g=function(a){if(!FK(a,"companion_about_this_ad"))return null;a=BK(a,"Icon");if(a.length<1)return null;a=MK(a[0]);return new zI(a)};var dR=function(){};dR.prototype.g=function(a){a=JK(a);return a.length>0?new uI(a):null};var eR=function(){};eR.prototype.g=function(a){if(!FK(a,"dart"))return null;a=JK(a);var b=a.find(function(c){return c.eventType=="skip"})?"Generic":"Unavailable";return new aL(a,b)};var fR=function(){};fR.prototype.g=function(a){if(!FK(a,"dfp"))return null;var b="Unavailable",c=CK(a,"skippableadtype");c&&V(c)=="Generic"&&(b="Generic");return new aL(JK(a),b)};var gR=function(){};gR.prototype.g=function(a){if(!FK(a,"watermark"))return null;var b=CK(a,"WatermarkData");if(!b)return null;a=zK(b,"max_width");var c=zK(b,"max_height");b=b?V(b):null;return!b||b===""||a==null||isNaN(a)||c==null||isNaN(c)?null:new PQ(b,a,c)};var hR=function(){};hR.prototype.g=function(a){if(!FK(a,"eoid_cookie"))return null;a=v(Ze(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=zK(c,"expires"),e=c.getAttribute("path"),f=void 0;c=(f=c.getAttribute("value"))!=null?f:"";if(b&&d!=null&&e)return new cJ(c,d,e,b)}}return null};var iR=function(){};iR.prototype.g=function(a){if(!FK(a,"esp"))return null;var b=[];a=v(Ze(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;d.nodeName=="EspLibrary"&&(c=CK(d,"LibraryName"))&&(c=V(c))&&(d=(d=CK(d,"LibraryUrl"))?V(d):null,b.push({mn:c,Or:d}))}return new dJ(b)};var jR=[0,Sn,eo,Sn];var kR=[0,3,eo,Vn,On];var lR=[0,3,Sn];var mR=[0,Tn,-1,Qn,Tn,-2,Mn,-1,bo,Tn,go,Tn,Mn,Nn];var nR=[0,Vn,-1];var oR=[0,Vn,On];var pR=[0,Vn,On];var qR=[0,ao,[0,On]];var rR=function(a){this.K=I(a)};q(rR,L);rR.prototype.getWidth=function(){return Rk(this,9)};rR.prototype.getHeight=function(){return Rk(this,10)};var sR=mo(rR);rR.prototype.R=M([0,Vn,-1,Un,Vn,xz,rz,Xn,nR,On,-2,Xn,pR,2,Sn,On,lR,eo,bo,Vn,1,On,gn,jo,qR,gn,[!0,Tn,kR],Vn,mR,Xn,[0],Vn,jR,Sn,Tn,Xn,oR,gn,jo,Vn,ao]);var tR=function(){};tR.prototype.g=function(a){if(!FK(a,"privacy_sandbox"))return null;a=CK(a,"TurtledoveConfig");if(!a)return null;a=V(a);if(!a)return null;a=sR(Fd(a).replaceAll("\\\\","\\"));return new eJ(a)};var uR=function(){};uR.prototype.g=function(a){var b=FK(a,"gfp_cookie"),c=FK(a,"gfp_cookie_v2");if(!b&&!c)return null;a=v(Ze(a));for(b=a.next();!b.done;b=a.next()){var d=b.value;if(d.nodeName=="Cookie"){b=d.getAttribute("domain");var e=zK(d,"expires"),f=d.getAttribute("path"),g=void 0;d=(g=d.getAttribute("value"))!=null?g:"";if(b&&e!=null&&f)return new gJ(d,e,f,b,c)}}return null};var vR=function(){}; vR.prototype.g=function(a){if(!FK(a,"GoogleHostedMedia"))return null;U(T.getInstance(),"hghme","1");var b=[],c=[],d=[],e=[],f,g=CK(a,"clientplaybacknonce");g&&(f=V(g));a=v(Ze(a));for(g=a.next();!g.done;g=a.next()){var h=g.value;g=null;switch(h.nodeName.toLowerCase()){case "audiourls":g="audio";break;case "manifestsurls":g="manifest";break;case "muxedmediaurls":g="muxed";break;case "videourls":g="video"}if(g){h=v(Ze(h));for(var k=h.next();!k.done;k=h.next()){k=k.value;var l=V(k),n=k.getAttribute("delivery"), p=zK(k,"itag"),r=void 0,t=(r=k.getAttribute("mimeType"))==null?void 0:r.toLowerCase();r=AK(k.getAttribute("mseCompatible"));var u=zK(k,"contentLength"),A=null,w=null,E=null,D=null,G=null,ha=null;if(g=="video"||g=="muxed")A=k.getAttribute("videoCodec"),w=zK(k,"videoBitrate"),G=zK(k,"width"),ha=zK(k,"height");if(g=="audio"||g=="muxed")E=k.getAttribute("audioCodec"),D=zK(k,"audioBitrate");if(l!=null&&g!=null)switch(k=new zJ(l,g,{Hb:n,Qa:p,mimeType:t,Pa:A,ab:E,Fe:w,fe:D,Ja:r,width:G,height:ha,Dd:u}), 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 AJ(f?f:"None",b,c,d,e)};var wR=function(){};wR.prototype.g=function(a){if(!FK(a,"gpid_wta"))return null;a=v(Ze(a));for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.nodeName=="AttributionData"&&(b=V(b)))return new CJ(b);return null};var xR=Object.keys(WI),yR={TYPE_ACTION_ENDCAP:0,TYPE_COLLAPSE_ENDCAP:1,TYPE_DISMISS_ENDCAP:2,TYPE_IMPRESSION_ENDCAP:3},zR=new Map([[0,"video_card_endcap_action"],[1,"video_card_endcap_collapse"],[2,"video_card_endcap_dismiss"],[3,"video_card_endcap_impression"]]),AR=function(){}; AR.prototype.g=function(a){if(!FK(a,"InfoCards"))return null;var b=[];a=BK(a,"card");a=v(a);for(var c=a.next(),d={};!c.done;d={Hh:void 0},c=a.next()){var e=c.value;c=e.getAttribute("type");if(xR.includes(c)){var f=zK(e,"priority"),g=BR(e),h=BK(e,"action").map(function(u){return new VI({target:u.getAttribute("target"),title:u.getAttribute("title"),type:UI[u.getAttribute("type")],Fh:u.getAttribute("package_id"),Qg:u.getAttribute("fallback_url")})});d.Hh=CK(e,"placement");var k=null;d.Hh&&(k=function(u){return function(A){return AK(u.Hh.getAttribute(A))|| !1}}(d),k=new XI({Ph:k("show_in_cta"),Qh:k("show_in_endcap"),Hf:zK(d.Hh,"endcap_duration_ms")}));d=CK(e,"website_card");e=null;if(d){e=null;var l=CK(d,"image");l&&(l=CK(l,"url"))&&(e=V(l));l=CK(d,"extension_data");var n=null;if(l){n=BK(l,"sitelink_extensions");l=[];n=v(n);for(var p=n.next();!p.done;p=n.next()){p=p.value;var r=CK(p,"link_action"),t=null;r&&((t=r.getAttribute("target"))||(t=r.getAttribute("link_url")),t=new VI({target:t,title:r.getAttribute("title"),type:1,Fh:null,Qg:null}));l.push(new YI({ej:t, Ci:p.getAttribute("description_line_1"),Di:p.getAttribute("description_line_2")}))}n=new ZI({Bj:l})}e=new $I({description:d.getAttribute("description"),oc:d.getAttribute("headline"),Wa:e,Oi:n})}b.push(new aJ({type:WI[c],priority:isNaN(f)||f==void 0?-1:f,aa:g,actions:h,Ud:k,wd:e}))}}return new bJ({he:b})}; var BR=function(a){var b=[];a=BK(a,"event");a=v(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=c.getAttribute("type");d=zR.get(yR[d]);c=c.getAttribute("base_url");d&&c&&b.push(new rE(d,c))}return b};var CR=function(){};CR.prototype.g=function(a){if(!FK(a,"inred_info"))return null;a=v(Ze(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 QQ(c,d,e):null};var DR=function(){};DR.prototype.g=function(a){if(!FK(a,"metrics"))return null;a=v(Ze(a));for(var b=a.next();!b.done;b=a.next())switch(b=b.value,b.nodeName){case "AdEventId":var c=ff(b);break;case "FeEventId":var d=ff(b)}return new EJ(c,d)};var ER=function(){};ER.prototype.g=function(a){if(!FK(a,"non_linear_about_this_ad"))return null;a=BK(a,"Icon");if(a.length<1)return null;a=MK(a[0]);return new RQ(a)};var FR=function(){};FR.prototype.g=function(a){if(!FK(a,"pod"))return null;a=zK(a,"sequence");a==null&&(a=-1);return new SQ(a)};var GR=function(){};GR.prototype.g=function(a){return FK(a,"programmatic")?(a=CK(a,"DealId"))&&(a=V(a))&&!F(a)?new HJ(a):null:null};var HR=function(){}; HR.prototype.g=function(a){if(!FK(a,"skadnetwork"))return null;var b=CK(a,"AdNetworkIdentifier");b=b?V(b):null;var c=CK(a,"AdNetworkCampaignIdentifier");c=c?DK(c):null;var d=CK(a,"AdNetworkTimestamp");d=d?DK(d):null;var e=CK(a,"AdNetworkAttributionSignature");e=e?V(e):null;var f=CK(a,"AdNetworkVersion");f=f?V(f):null;var g=CK(a,"ProductIdentifier");g=g?V(g):null;var h=CK(a,"AdNetworkNonce");h=h?V(h):null;var k=CK(a,"SourceAppStoreIdentifier");k=k?DK(k):null;a=(a=CK(a,"AdNetworkSourceIdentifier"))?DK(a): null;return b&&c&&d&&e&&g&&h?new TQ(a,c,h,b,f,g,e,k,d):null};var IR=function(){};IR.prototype.g=function(a){if(!FK(a,"sodar"))return null;var b=null;a=v(Ze(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 IJ(d,e,f,b):null};var JR=function(){};JR.prototype.g=function(a){if(!FK(a,"textad"))return null;var b={};a=v(Ze(a));for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.nodeName.toLowerCase()){case "line1":b.Ye=V(c);break;case "line2":b.Ze=V(c);break;case "line3":b.af=V(c);break;case "imageurl":b.Wa=V(c),b.imageWidth=zK(c,"width"),b.imageHeight=zK(c,"height")}return new UQ(b)};var KR=function(){};KR.prototype.g=function(a){if(!FK(a,"uisettings"))return null;var b;(a=CK(a,"uihideable"))&&(b=AK(V(a)));return new JJ(b)};var LR=function(){};LR.prototype.g=function(a){if(!FK(a,"waterfall"))return null;a=zK(a,"fallback_index");a==null&&(a=-1);return new VQ(a)};var MR=function(){}; MR.prototype.g=function(a){if(!FK(a,"youtubehostedad"))return null;var b=null,c=!1,d=null,e=null,f=!1,g=null,h=null,k=null,l=null,n=null,p=null,r=null,t=CK(a,"youtubevideoid");t&&(b=V(t));if(t=CK(a,"istrueview"))t=AK(V(t)),t!=void 0&&(c=t);(t=CK(a,"videotitle"))&&(d=V(t));(t=CK(a,"videothumbnailurl"))&&(e=V(t));if(t=CK(a,"isvideounlisted"))t=AK(V(t)),t!=void 0&&(f=t);(t=CK(a,"channelid"))&&(g=V(t));(t=CK(a,"channeltitle"))&&(h=V(t));(t=CK(a,"channelthumbnailurl"))&&(k=V(t));(t=CK(a,"channelcustomurl"))&& (l=V(t));(t=CK(a,"format"))&&(n=V(t));(t=CK(a,"youtubeownershipfingerprint"))&&(p=V(t));(a=CK(a,"youtubevisitordata"))&&(r=V(a));return new LJ({vd:b,fd:c,uf:d,sg:e,ue:f,zd:g,Le:h,Ke:k,Fg:l,format:n,Eh:p,Yh:r})};var NR=function(a){var b=a===void 0?{}:a;a=b.id===void 0?null:b.id;var c=b.jb===void 0?!1:b.jb;var d=b.Si===void 0?!0:b.Si;var e=b.xg===void 0?null:b.xg;b=b.Ee===void 0?null:b.Ee;this.id=a;this.jb=c;this.Si=d;this.xg=e;this.Ee=b};var OR=function(a,b){this.eventType=a;this.url=b};var PR=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.aa===void 0?[]:d.aa;d=d.ia===void 0?[]:d.ia;this.j=a;this.g=b;this.breakId=c;this.breakType=e;this.aa=f;this.ia=d};var QR=function(a){this.g=a=a===void 0?[]:a};var RR=function(){};var SR=function(){};var TR=function(){this.g=[]},UR=function(a){var b=new SR;a.g.includes(b)||a.g.push(b)},WR=function(a,b){if(!b)throw Error("VMAP string is empty.");if(!VR(b))throw Error("Response string is not a valid VMAP document.");var c=[];b=v(Ze(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"),l=e.getAttribute("timeOffset"),n=0,p=[];if(l=="start")n=0;else if(l=="end")n=-1;else if(l!= void 0){var r=GK(l);r!=void 0&&(n=r/1E3)}e=v(Ze(e));for(r=e.next();!r.done;r=e.next()){var t=r.value;switch(t.nodeName){case "vmap:AdSource":var u=g=r=void 0,A=t;t=A.getAttribute("id");var w=A.getAttribute("followRedirects")!="false",E=A.getAttribute("allowMultipleAds")=="true";A=v(Ze(A));for(var D=A.next();!D.done;D=A.next())switch(D=D.value,D.nodeName){case "vmap:AdTagURI":u=(u=V(D))?u:void 0;break;case "vmap:VASTAdData":D=v(Ze(D));for(var G=D.next();!G.done;G=D.next())G=G.value,G.nodeName=="VAST"&& (g=G)}if(!u&&!g)throw Error("VMAP ad source contains neither ad tag nor inline VAST data.");if(u&&g)throw Error("VMAP ad source contains both ad tag and inline VAST data");g=new NR({id:t,jb:E,Si:w,xg:u,Ee:(r=g)!=null?r:null});break;case "vmap:Extensions":f=d;r=[];u=v(Ze(t));for(t=u.next();!t.done;t=u.next())if(t=t.value,t.nodeName=="vmap:Extension")for(w=v(f.g),E=w.next();!E.done;E=w.next())E=t.getAttribute("type")!="bumper"?null:new RR,E!=null&&r.push(E);f=r;break;case "vmap:TrackingEvents":for(p= [],r=v(Ze(t)),u=r.next();!u.done;u=r.next())t=u.value,t.nodeName=="vmap:Tracking"&&(u=t.getAttribute("event"),t=V(t),t!=null&&p.push(new OR(u,t)))}}if(!g||l==null||isNaN(n))throw Error("VMAP ad source contains neither ad tag nor inline VAST data.");c.push(new PR(g,n,{breakId:h,breakType:k,aa:p,ia:f}))}}return new QR(c)},VR=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 YR=function(a,b){this.l=a;this.o=b;this.j=this.g=null};var ZR={"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"},$R={Iq:"IABUSPrivacy_String",rq:"IABTCF_gdprApplies",Hq:"IABTCF_TCString",qq:"IABTCF_AddtlConsent",oq:"IABGPP_HDR_GppString",nq:"IABGPP_GppSID"},aS={Ul:"application/dash+xml",Fm:"video/mp4",Hm:"video/mpeg",Cm:"application/x-mpegURL", Km:"video/ogg",Lm:"audio/ogg",Mm:"video/3gpp",Pm:"video/webm",AAC:"audio/aac",MP3:"audio/mpeg",Gm:"audio/mp4"};var bS=function(a,b,c){var d=Error.call(this);this.message=d.message;"stack"in d&&(this.stack=d.stack);this.type=a;this.errorMessage=b;this.errorCode=c;this.ad=this.g=null};q(bS,Error);var cS=function(a,b){a.ad||(a.ad=b)};m=bS.prototype;m.getAd=function(){return this.ad};m.getInnerError=function(){return this.g};m.getMessage=function(){return this.errorMessage};m.getErrorCode=function(){return this.errorCode};m.getVastErrorCode=function(){return this.errorCode<1E3?this.errorCode:900};m.getType=function(){return this.type}; m.toString=function(){return"AdError "+this.getErrorCode()+": "+this.getMessage()+(this.getInnerError()!=null?" Caused by: "+this.getInnerError():"")};var dS=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 bS){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 eS=function(){this.g=this.j=this.o=this.A=null;this.l=[]};var fS=function(){};var gS=function(a,b){this.message=a;this.errorCode=b};gS.prototype.getErrorCode=function(){return this.errorCode};gS.prototype.getMessage=function(){return this.message}; var hS=new gS("Unable to request ads from server. Cause: {0}.",1005),iS=new gS("Cannot parse the {0} value for the adslist response: {1}.",900),jS=new gS("Invalid usage of the API. Cause: {0}",900),kS=new gS("The browser prevented playback initiated without user interaction.",1205),lS=new gS("Unable to display one or more required companions.",602),mS=new gS("There was a problem requesting ads from the server.",1005),nS=new gS("Ad tag URI {0} is invalid. It must be properly encoded before being passed.", 1013),oS=new gS("The provided ad type: {0} is not supported.",200),pS=new gS("The provided {0} information: {1} is invalid.",1101),qS=new gS("The response does not contain any valid ads.",1009),rS=new gS("The overlay ad content could not be displayed since creative dimensions do not align with display area.",501),sS=new gS("A Protected Audience API error occurred.",1014),tS=new gS("The ad response was not understood and cannot be parsed.",1010),uS=new gS("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.", 900),vS=new gS("Unable to open URL. The URL appears to be invalid or is not supported by your current browser. URL requested: {0}",1022),wS=new gS("No assets were found in the VAST ad response.",200),xS=new gS("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403),yS=new gS("Ad request reached a timeout.",301),zS=new gS("VAST response was malformed and could not be parsed.",100),AS=new gS("VAST media file loading reached a timeout of {0} seconds.", 402),BS=new gS("Non linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",503),CS=new gS("The maximum number of VAST wrappers ({0}) has been reached.",302),DS=new gS("VAST media file duration differs from the VAST response duration by {0} seconds.",202),ES=new gS("No additional VAST wrappers allowed.",300),FS=new gS("No Ads VAST response after one or more Wrappers",303),GS=new gS("No Ads were found in the VAST response or after the Protected Audience auction.", 303),HS=new gS("There was an error playing the video ad.",400),IS=new gS("An unexpected error occurred within the VPAID creative. Refer to the inner error for more info.",901);var JS=ra(["https://imasdk.googleapis.com/js/sdkloader/car.js"]);Fe(JS);function KS(a,b){return a.Nd!==b.Nd?a.Nd-b.Nd:a.Pd!==b.Pd?a.Pd-b.Pd:a.Td!==b.Td?a.Td-b.Td:0}function LS(a){a=a.split(".");if(a.length!==3)return null;var b=v(a),c=b.next().value;a=b.next().value;b=b.next().value;if(!c||!a||!b)return null;c=Number(c);a=Number(a);b=Number(b);return Number.isNaN(c)||Number.isNaN(a)||Number.isNaN(b)?null:{Nd:c,Pd:a,Td:b}};function MS(a){if(a==null||a==="")return null;var b=new RegExp([/^/,/(ios|tvos|android|kepler|[A-Za-z]*)/,/(?:([^:]*))?/,/(?::([^:]*))?/,/(?::([^:]*))?/,/(?::([^:]*))?/,/(?::([^:]*))?/].map(function(k){return k.source}).join(""));a=a==null?void 0:a.match(b);if(a==null)return{platform:null,platformVersion:null,Ro:null,xj:null,Qd:NS(null,null),Uj:null,Ec:null,canonicalUrl:OS(null,null)};b=a[1];var c,d=(c=a[3])!=null?c:null;c=d?LS(d):null;var e,f=(e=a[4])!=null?e:null,g,h;return{platform:b,platformVersion:(g= a[2])!=null?g:null,Ro:d,xj:c,Qd:NS(b,d),Uj:f,Ec:(h=a[5])!=null?h:null,canonicalUrl:OS(b,f)}}function OS(a,b){return"//mbapp"+encodeURIComponent(String(PS(a)+"-"+(b!=null?b:"null")))+".com"}function NS(a,b){return(a!=null?a:"null")+"."+(b!=null?b:"null")}function PS(a){switch(a){case "ios":case "tvos":return 1;case "android":return 2;case "kepler":return 7;default:return 0}} function QS(){switch(RS[1].charAt(0)){case "a":return"android";case "i":return"ios";case "t":return"tvos";case "k":return"kepler";default:return null}};var SS=function(){this.g=null};SS.prototype.set=function(a){this.g=a};SS.prototype.reset=function(){this.g=null};function TS(a){return a?vG(a)?"adsense":yG(a)?"dbm":wG(a)?"dcm":zG(a)?"dv3":xG(a)?"xfp":"thirdparty":""}function US(a){if(!a)return null;a=(new P(a)).g;return a.get("ms")!=null?H(a.get("ms")):null};var VS=function(a){var b=a;b:{if(b&&typeof b==="object"){a=v(Object.values($R));for(var c=a.next();!c.done;c=a.next())if(b.hasOwnProperty(c.value)){a=!0;break b}}a=!1}if(a){var d,e,f,g,h,k;c={};a=(c.uspString=(d=b.IABUSPrivacy_String)!=null?d:null,c.gdprApplies=(e=b.IABTCF_gdprApplies)!=null?e:null,c.tcString=(f=b.IABTCF_TCString)!=null?f:null,c.addtlConsent=(g=b.IABTCF_AddtlConsent)!=null?g:null,c.gppString=(h=b.IABGPP_HDR_GppString)!=null?h:null,c.gppSid=(k=b.IABGPP_GppSID)!=null?k:null,c)}else a= b;b=a.uspString;this.uspString=typeof b==="string"?b:"";b=a.gdprApplies;this.j=typeof b==="boolean"?b?"1":"0":typeof b!=="number"||b!==1&&b!==0?typeof b!=="string"||b!=="1"&&b!=="0"?"":b==="1"?"1":"0":b===1?"1":"0";b=a.tcString;this.g=typeof b==="string"?b:"";/^[\.\w_-]*$/.test(this.g)||(this.g=encodeURIComponent(this.g));b=a.addtlConsent;this.l=typeof b==="string"?b:"";b=a.gppString;this.gppString=typeof b==="string"?b:"";a=a.gppSid;this.o=typeof a==="string"?a:""};var WS=function(a){this.g=a},XS=function(a,b){return Pb(a.g,b)&&(a=a.g[b],typeof a==="boolean")?a:!1},YS=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 ZS=function(){this.T="always";this.ba=4;this.da=null;this.g=1;this.N=0;this.j=!0;this.locale="en";this.P=!0;this.J=this.C=this.l=!1;this.ka=this.ha="";this.B=null;this.G=this.F=this.o="";this.Z=this.sa=!1;this.L=null;this.X=!0;this.D=hG();this.A={};try{this.L=Pg()[0]}catch(a){}},$S=function(a){a=H(a);F(a)||(a=a.substring(0,20));return a};m=ZS.prototype;m.setCompanionBackfill=function(a){this.T=a};m.getCompanionBackfill=function(){return this.T};m.setNumRedirects=function(a){this.ba=a}; m.getNumRedirects=function(){return this.ba};m.setPpid=function(a){this.da=a};m.getPpid=function(){return this.da};m.setVpaidAllowed=function(a){typeof a==="boolean"&&(this.g=a?1:0)};m.setVpaidMode=function(a){this.g=a};m.Gn=function(){return this.g};m.setAutoPlayAdBreaks=function(a){this.j=a};m.io=function(){return this.j};m.fl=function(a){this.l=a};m.Fn=function(){return this.l};m.setLocale=function(a){if(a=YF(a))this.locale=a};m.getLocale=function(){return this.locale}; m.setPlayerType=function(a){this.ha=$S(a)};m.getPlayerType=function(){return this.ha};m.setPlayerVersion=function(a){this.ka=$S(a)};m.getPlayerVersion=function(){return this.ka};var bT=function(){var a=aT;if(a.B==null){var b={},c=(new P(Qe().location.href)).g;if(aC(c,"tcnfp"))try{b=JSON.parse(c.get("tcnfp"))}catch(d){}a.B=new WS(b)}return a.B};m=ZS.prototype;m.mg=function(){};m.Be=function(){};m.setDisableCustomPlaybackForIOS10Plus=function(a){this.Z=a};m.getDisableCustomPlaybackForIOS10Plus=function(){return this.Z}; m.isCookiesEnabled=function(){return this.X};m.setCookiesEnabled=function(a){a!=null&&(this.X=a)};m.setSessionId=function(a){this.D=a};m.Vo=function(){};m.En=function(){return!0};m.setFeatureFlags=function(a){this.A=a};m.getFeatureFlags=function(){return this.A};var cT=function(a){var b=aT;return b.A.hasOwnProperty(a)&&!!b.A[a]};ZS.prototype.getFeatureFlags=ZS.prototype.getFeatureFlags;ZS.prototype.setFeatureFlags=ZS.prototype.setFeatureFlags;ZS.prototype.getDisableFlashAds=ZS.prototype.En; ZS.prototype.setDisableFlashAds=ZS.prototype.Vo;ZS.prototype.setSessionId=ZS.prototype.setSessionId;ZS.prototype.setCookiesEnabled=ZS.prototype.setCookiesEnabled;ZS.prototype.isCookiesEnabled=ZS.prototype.isCookiesEnabled;ZS.prototype.getDisableCustomPlaybackForIOS10Plus=ZS.prototype.getDisableCustomPlaybackForIOS10Plus;ZS.prototype.setDisableCustomPlaybackForIOS10Plus=ZS.prototype.setDisableCustomPlaybackForIOS10Plus;ZS.prototype.setStreamCorrelator=ZS.prototype.Be; ZS.prototype.setPageCorrelator=ZS.prototype.mg;ZS.prototype.getPlayerVersion=ZS.prototype.getPlayerVersion;ZS.prototype.setPlayerVersion=ZS.prototype.setPlayerVersion;ZS.prototype.getPlayerType=ZS.prototype.getPlayerType;ZS.prototype.setPlayerType=ZS.prototype.setPlayerType;ZS.prototype.getLocale=ZS.prototype.getLocale;ZS.prototype.setLocale=ZS.prototype.setLocale;ZS.prototype.getIsVpaidAdapter=ZS.prototype.Fn;ZS.prototype.setIsVpaidAdapter=ZS.prototype.fl;ZS.prototype.isAutoPlayAdBreaks=ZS.prototype.io; ZS.prototype.setAutoPlayAdBreaks=ZS.prototype.setAutoPlayAdBreaks;ZS.prototype.getVpaidMode=ZS.prototype.Gn;ZS.prototype.setVpaidMode=ZS.prototype.setVpaidMode;ZS.prototype.setVpaidAllowed=ZS.prototype.setVpaidAllowed;ZS.prototype.getPpid=ZS.prototype.getPpid;ZS.prototype.setPpid=ZS.prototype.setPpid;ZS.prototype.getNumRedirects=ZS.prototype.getNumRedirects;ZS.prototype.setNumRedirects=ZS.prototype.setNumRedirects;ZS.prototype.getCompanionBackfill=ZS.prototype.getCompanionBackfill; ZS.prototype.setCompanionBackfill=ZS.prototype.setCompanionBackfill;var aT=new ZS;var dT=["gdpr_consent","addtl_consent"];function eT(a){var b={};(new P(a)).g.forEach(function(c,d){b[d]=c});return b}function fT(a){return a==="1"||a==="true"}function gT(a){a.forEach(function(b,c,d){b===""&&d.delete(c)})} var hT=function(a,b,c,d){b=b===void 0?{}:b;c=c===void 0?{}:c;this.j=a===void 0?!1:a;this.eh=d===void 0?!1:d;a={};b=v(Object.entries(b));for(d=b.next();!d.done;d=b.next()){var e=v(d.value);d=e.next().value;e=e.next().value;e!=null&&(a[d]=String(e))}this.l=a;this.g=new VS(c)},iT=function(a,b,c){c=c===void 0?!1:c;return new hT(uG(a),eT(a),b,c)},jT=function(a,b,c){return new hT(!0,a||{},b,c===void 0?!1:c)},qT=function(a){var b=new Map,c=b.set;if(a.j){var d=kT(a,"rdp");d=fT(d)?"1":""}else d="";c.call(b, "rdp",d);b.set("us_privacy",lT(a));c=b.set;d=kT(a,"npa");d=fT(d);c.call(b,"npa",a.j&&d?"1":"");b.set("gdpr",mT(a));b.set("gdpr_consent",nT(a));b.set("addtl_consent",oT(a));b.set("gpp",a.g.gppString);b.set("gpp_sid",a.g.o);b.set("ltd",pT(a)?"1":"");gT(b);return b},kT=function(a,b){if(a.l.hasOwnProperty(b))return a.l[b]},lT=function(a){var b=kT(a,"us_privacy");return a.g.uspString||b||""},oT=function(a){var b=kT(a,"addtl_consent");return a.g.l||b||""},mT=function(a){var b=kT(a,"gdpr");a=a.g.j;return a=== "1"||a==="0"?a:b!==void 0?b:""},nT=function(a){var b=a.g.g;a=kT(a,"gdpr_consent");return b&&b!=="tcunavailable"?b:b==="tcunavailable"?a||b:a||""},sT=function(a){var b;if(!(b=pT(a))){if(rT(a)){b=nT(a);if(b==="tcunavailable")b=null;else{var c;a=rT(a);var d=CB(b);if(d&&b){var e=J(d,QA,1);d=J(d,JA,2)||new JA;var f=Rk(e,9),g=Rk(e,4),h=Rk(e,5),k=Qk(e,10),l=Qk(e,11),n=K(e,16),p=Qk(e,15),r={consents:DB(lk(e,13,ej,kk()),nB),legitimateInterests:DB(lk(e,14,ej,kk()),nB)},t={consents:DB(lk(e,17,gj,kk())),legitimateInterests:DB(lk(e, 18,gj,kk()))},u=DB(lk(e,12,ej,kk()),oB),A=Kk(e,HA,19,kk());e={};A=v(A);for(var w=A.next();!w.done;w=A.next()){w=w.value;var E=Vk(w,1);e[E]=e[E]||{};var D=lk(w,3,gj,kk());D=v(D);for(var G=D.next();!G.done;G=D.next())e[E][G.value]=Vk(w,2)}b={tcString:b,tcfPolicyVersion:f,gdprApplies:a,cmpId:g,cmpVersion:h,isServiceSpecific:k,useNonStandardStacks:l,publisherCC:n,purposeOneTreatment:p,purpose:r,vendor:t,specialFeatureOptins:u,publisher:{restrictions:e,consents:DB(lk(d,1,ej,kk()),nB),legitimateInterests:DB(lk(d, 2,ej,kk()),nB),customPurposes:{consents:DB(lk(d,3,gj,kk())),legitimateInterests:DB(lk(d,4,gj,kk()))}}}}else b=null;b=(c=b)!=null?c:null}c=b;if(b=!!c){var ha=ha===void 0?{}:ha;if(GB(c))if(c.gdprApplies===!1)var ca=!0;else if(c.tcString==="tcunavailable")ca=!ha.idpcApplies;else if((ha.idpcApplies||c.gdprApplies!==void 0||ha.Ir)&&(ha.idpcApplies||typeof c.tcString==="string"&&c.tcString.length)){ca=ca===void 0?"755":ca;c:{if(c.publisher&&c.publisher.restrictions&&(ha=c.publisher.restrictions["1"],ha!== void 0)){ha=ha[ca===void 0?"755":ca];break c}ha=void 0}ha===0?ca=!1:c.purpose&&c.vendor?(ha=c.vendor.consents,(ca=!(!ha||!ha[ca===void 0?"755":ca]))&&c.purposeOneTreatment&&c.publisherCC==="CH"?ca=!0:ca&&(ca=c.purpose.consents,ca=!(!ca||!ca["1"]))):ca=!0}else ca=!0;else ca=!1;b=ca}ca=b}else ca=!0;b=!ca}return b},pT=function(a){a=kT(a,"ltd");return fT(a)},rT=function(a){var b=mT(a).toLowerCase();return b==="true"||b==="1"||a.eh},tT=function(a){var b={"native":!1},c=rT(a);if(b.gdpr=c)c=a.g.j,b.gdprCmp= c==="1"||c==="0",c=kT(a,"gdpr")!==void 0,b.gdprUrl=c;c=!!nT(a);if(b.tcStrValid=c){c=a.g.g;var d=!!c;b.tcCmpPresent=d;b.tcCmpAvail=d&&c!=="tcunavailable";a=kT(a,"gdpr_consent");c=!!a;b.tcUrlPresent=c;b.tcUrlAvail=c&&a!=="tcunavailable"}return b};var uT=function(a){this.K=I(a)};q(uT,L);uT.prototype.getVersion=function(){return K(this,2)};var vT=[0,Tn,-1];uT.prototype.R=M(vT);var wT=function(a){this.K=I(a)};q(wT,L);var xT=function(a,b){return dl(a,2,b)},yT=function(a,b){return dl(a,3,b)},zT=function(a,b){return dl(a,4,b)},AT=function(a,b){return dl(a,5,b)},BT=function(a,b){return dl(a,9,b)},CT=function(a,b){return Ok(a,10,b)},DT=function(a,b){return Yk(a,11,b)},ET=function(a,b){return dl(a,1,b)},FT=function(a,b){return Yk(a,7,b)};wT.prototype.R=M([0,Tn,-4,Xn,vT,Rn,fo,Tn,Xn,vT,Rn]);var GT="platform platformVersion architecture model uaFullVersion bitness fullVersionList wow64".split(" ");function HT(a){var b;return(b=a.google_tag_data)!=null?b:a.google_tag_data={}}function IT(a){var b,c;return typeof((b=a.navigator)==null?void 0:(c=b.userAgentData)==null?void 0:c.getHighEntropyValues)==="function"} function JT(){var a=window;if(!IT(a))return null;var b=HT(a);if(b.uach_promise)return b.uach_promise;a=a.navigator.userAgentData.getHighEntropyValues(GT).then(function(c){b.uach!=null||(b.uach=c);return c});return b.uach_promise=a} function KT(a){var b;return DT(CT(AT(xT(ET(zT(FT(BT(yT(new wT,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 uT;d=dl(d,1,c.brand);return dl(d,2,c.version)}))||[]),a.wow64||!1)}function LT(){var a,b;return(b=(a=JT())==null?void 0:a.then(function(c){return KT(c)}))!=null?b:null};function MT(a){a=a===void 0?null:a;var b="h.3.709.0";a!=null&&(b+="/n."+a);return b} var OT=function(){this.j=1;this.ub=this.tb=this.Va=this.appName=null;this.Aa=new hT;this.da=null;this.Sb=!1;this.Vb=this.Ub=this.T=this.A=this.N=null;this.mh=!1;this.secureSignals=null;this.Eb=!1;hG();this.deviceId="";this.Tl=this.Qb=this.Ec=null;this.C="";this.Z=-1;this.ba=this.Wc="";this.ah=this.Zg=this.vp=this.Kd=this.Mf=!1;this.ni=0;this.ih=this.gh=this.Vf=!1;this.o=null;this.L=!1;this.Sk=this.Qd=this.sc=this.Yl=this.Vl=this.ha=this.Nk=this.zh=this.g=this.wh=null;this.dm=[];this.fm=!1;this.Xk= this.Tk=null;this.nl=!1;this.up=1;this.P=this.bc=0;this.kc=this.Ql=null;this.ul=new Map;this.referrer=this.G=null;this.td=!1;this.sa=this.gm=this.Bl=null;this.ua=this.D=this.Gl=this.Bm=this.Am=this.zm=this.Jl=this.hm=this.og=!1;this.ae=this.F=this.Jm=null;this.zl=this.Al=this.yc=!1;this.Fa=null;this.Pl="";this.l=new Ry;this.ka=this.X=this.J=null;this.B=new zy;NT(this)},PT=function(){return Math.floor(Math.random()*4503599627370496)},QT=function(a){var b=a.Qd,c=a.appName,d=aT,e="h.3.709.0";b!=null? (e+="/n."+b,c!=null&&(e+="/"+c)):d.l&&(e+="/vpaid_adapter");a.gh&&(e+="/ima_eap");a.ah&&(e+="/ima_cast");a.Vf&&(e+="/ima_tv_web");return e},ST=function(a,b){a=a===void 0?{}:a;b=b===void 0?!1:b;var c=OT.getInstance(),d=MS(a.env),e=a.videoEnvironment||{};a.quicksilverSignals&&(c.B=Ay(a.quicksilverSignals));a.daiIntegration&&$f(a.daiIntegration)&&(c.Ql=a.daiIntegration);var f=a.pvsid||0;f>0&&(c.P=f);f=a.settings||{};f.ppid!=null&&(c.G=f.ppid);f=e.contentMediaUrl;f!=null&&(c.da=f);f=e.customClickTrackingProvided; f!=null&&(c.Eb=f);c.Sb=a.eoidCookieEnabled||!1;c.N=a.eoidCookieValue||null;f=a.gfpCookieValue;f!=null&&f?c.A=f:c.A=null;c.T=a.gfpCookieV2Id||null;c.Ub=a.gfpCookieV2OptOut||null;c.mh=a.ivtDetectionOnlyStorageAllowed||!1;c.secureSignals=a.espSignals||null;c.J=a.clientBidsProto||null;c.X=a.globalPlacementId||null;c.ka=a.publisherInitiatedExperimentDataProto||null;f=a.topicsEnabled;f!==void 0&&(c.ua=f);f=e.iframeState;f!=null&&(c.Z=f);f=e.isAmp;f!=null&&(c.Mf=f);f=e.topAccessiblePageUrl;f!=null&&(c.g= f);f=e.referrer;f!=null&&(c.referrer=f);f=e.topOrigin;f!=null&&(c.Jm=f);f=e.domLoadTime;f!=null&&(c.Qb=f);f=e.downloadBandwidthKbps;f!=null&&(c.Tl=f);f=e.sdkImplLoadTime;f!=null&&(c.Bl=f);f=e.imaHostingDomain;f!=null&&(c.Wc=f);f=e.imaHostingPageUrl;f!=null&&(c.ba=f);f=e.usesCustomVideoPlayback;f!=null?c.yc=f:c.yc=a.usesCustomVideoPlayback||!1;f=e.usesProxyMediaElement;f!=null&&(c.Al=f);f=e.rendersUiNatively;f!=null&&(c.td=f);f=a.sdkOwnedRendering;f!=null&&(c.gm=f);f=e.supportsResizing;f!=null?c.D= f:c.D=a.supportsResizing||!1;c.Zg=a.isBrowserCookieEnabled||!1;c.og=a.supportsIconClickFallback||!1;c.Jl=RT(a,d);c.fm=a.omidAdSessionsOnStartedOnly||!1;c.Bm=a.supportsOmidJsManagedAppSessions||!1;f=e.usesInlinePlayback;f!=null&&(c.zl=f);e=e.videoAdKey;e!=null&&(c.Fa=e);if(e=a.companionSlots)c.Vl=e;if(e=a.network)c.Yl=e;c.hm=a.supportsNativeClickSignals||!1;c.zm=a.supportsNativeNetworking||!1;c.Am=a.supportsNativeViewSignals||!1;(e=a.identifierInfo||null)?(c.Va=e.appSetId||null,c.tb=e.appSetIdScope|| null,c.deviceId=e.deviceId,c.C=e.idType,c.o=e.isLimitedAdTracking,c.Tk=e.perAppIdentifier,c.Xk=e.perAppIdentifierV2,c.nl=e.perAppIdentifierV2UserEnabled||!1,c.kc=e.idfv,c.F=e.trackingAuthorizationStatus||null,c.Pl=e.adsIdentityToken):b&&(c.deviceId=a.rdid||"",c.C=a.idType||"",e=a.isLat)&&(c.o=String(e)==="1");c.ha=a.msParameter||"";if(e=a.marketAppInfo||null)c.Nk=e.appVersion||"",c.zh=e.packageName||"";d&&(c.appName=d.Uj,c.Ec=d.Ec,c.g=d.canonicalUrl,c.sc=d.platform,c.Qd=d.Qd,c.Sk=d.xj);a.gmaSignals&& (c.Vb=a.gmaSignals);a.platformSignals&&(c.ul=new Map(Object.entries(a.platformSignals)));c.L=b;c.Kd=a.isTv||!1;c.vp=a.wrappedCompanionsEnabled||!1;c.gh=a.isEapLoader||!1;c.ih=a.isFledgeEligible||!1;b=a.networkCodes;b!=null&&(c.dm=b);c.sa=a.sqid||null;c.l=new Ry;c.up=a.pixelDensity||1;c.bc=a.preferredLinearOrientation||0;c.Gl=a.supportsLinearDisplay||!1;return c},RT=function(a,b){if(a.supportsExternalNavigation!=null)return a.supportsExternalNavigation;a=b==null?void 0:b.xj;if(!a)return!1;switch(b== null?void 0:b.platform){case "android":return KS({Nd:3,Pd:16,Td:2},a)<=0;case "ios":return KS({Nd:3,Pd:11,Td:1},a)<=0;default:return!1}},NT=function(a){var b=LT();b&&b.then(function(c){c==null?c=null:(c=Am(c),c=uh(oh(c),3));a.ae=c})};OT.getInstance=function(){return Zg(OT)};var TT=PT(),UT=PT(),VT=new SS,WT=TT,XT=UT;function YT(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={},ZT=(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),$T="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 hideAdUi iconFallbackImageClosed impression interaction linearChanged loaded log measurable_impression mediaUrlPinged midpoint mute navigationRequested pause resetPaidData setPaidV2UserEnabled resume show_ad showAdUi skipShown skippableStateChanged skip start thirdQuartile trackingUrlPinged updateGfpCookie userClose videoClicked videoIconClicked viewable_impression volumeChange".split(" "), aU=["vpaidEvent"],bU="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(" "), cU="viewable_impression measurable_impression overlay_unmeasurable_impression overlay_unviewable_impression overlay_viewable_immediate_impression overlay_viewable_end_of_session_impression externalActivityEvent".split(" "),dU={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 eU(a){return a.startsWith("custom_metric_viewable")?!0:dU[a]!=null}var fU="acceptInvitation acceptInvitationLinear click collapse complete exitFullscreen expand firstQuartile fullscreen impression loaded midpoint pause resume skip start thirdQuartile videoClicked volumeChange".split(" ");var gU=new kK;function hU(a,b){a!=null&&b!=null&&(a=OG(a,b));return a}function iU(a,b){var c=c===void 0?gU:c;var d=d===void 0?null:d;a=hU(a,b);d=d?hU(d,b):d;return nK(c,new qE(a,d))}function jU(a,b){a==null||a.map(function(c){return iU(c,b)})};var kU=function(){this.g=Math.random()<.01;this.l=Math.floor(Math.random()*4503599627370496);this.j=null}; kU.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;QT(OT.getInstance())&&(b.sdkv=QT(OT.getInstance()));this.j&&(b.palv=this.j);a=FE();F(H(a))||(b.e=a);b=lU(this,b);var d=new P("https://pagead2.googlesyndication.com/pagead/gen_204");Ib(b,function(e,f){e!=null&&d.g.set(f,e==null?"":typeof e==="boolean"?e?"t":"f":""+e)},this);aT.C||(b=d.toString(),a=VB(d,"url"),a!=null&&Nc()&&b.length>2083&&(b=YT(d,a)),iU(b))}}; var lU=function(a,b){b.id="ima_html5";var c=Qe();var d=document;c=new P(c.parent===c?c.location.href:d.referrer);b.c=a.l;b.domain=c.j;return b};kU.getInstance=function(){return Zg(kU)};var mU=function(){this.aa=new Map},nU=function(a,b){b.forEach(function(c){var d=c.g,e=a.getEvents(d);e.push(c);a.aa.set(d,e)})},pU=function(a,b,c,d,e){var f=null,g=null;d&&(oU(d)!==-1?f=oU(d):g=d.g?d.value:-1);c=new sE(b,c,f,g,e===void 0?null:e);d=a.getEvents(b);d.push(c);a.aa.set(b,d)};mU.prototype.getEvents=function(a){return a!=null?this.aa.get(a)||[]:[]};mU.prototype.isEmpty=function(){return this.aa.size===0}; var qU=function(a,b){return a.getEvents(b).map(function(c){return vE(c)})},rU=function(a,b){b.aa.forEach(function(c){nU(a,c)})};var sU=function(a){this.ta=a;this.g=!1;this.aa=new mU};sU.prototype.getMaxDuration=function(){if(this.ta.adTagUrl==null)return null;var a=this.ta.adTagUrl.match(Io)[6]||null;if(!a)return null;var b=null;Ko(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 tU(a){var b=Te(document,"VIDEO"),c=Mb(aS).filter(function(d){var e=["video/3gpp","application/x-mpegURL"];return Rc()&&e.includes(d)||(Qc()||de||OI())&&d==="video/webm"?!1:b.canPlayType(d)});a=a.filter(function(d){return c.includes(d)});return a.length>0?a:c} var uU=function(a){return!(a||ae||ce||Cp()||$d&&(!$d||!LI(KI,4)))},vU=function(){var a=bT();return a&&XS(a,"disableOnScreenDetection")?!1:!(navigator&&Bp(navigator))&&!zp()},wU=function(a){a=a===void 0?[]:a;return tU(a)},yU=function(a){return a.Kd?!0:!xU(a)},zU=function(a){var b=a.Vf;a=a.Al;return b?!0:Cp()||Dc(Gc(),"CrKey")&&Dc(Gc(),"SmartSpeaker")||Dc(Gc(),"Edge/18.")||a?!1:!0},AU=function(a){var b=a.zl;var c=a.Kd;var d=a.yc;var e=a.td;var f=a.ni;var g=a.ah;var h=a.Vf;a=a.sc;return!(OI()||de&&LI(JI, 10))||!b&&d?c||Dc(Gc(),"Xbox")?!0:ae||ce?!1:!$d||$d&&LI(KI,4)?zp()?e:xU({ni:f,Kd:c,ah:g,Vf:h,sc:a})?!1:!0:!1:!0},BU=function(a){var b=a.Sk;switch(a.sc){case "android":return a.Kd?a.og:!!b&&KS({Nd:3,Pd:5,Td:2},b)<=0;case "ios":return!!b&&KS({Nd:3,Pd:4,Td:1},b)<=0;case "tvos":return a.td;case "kepler":return!1;default:return!xU(a)}},CU=function(a){var b=b===void 0?!0:b;var c=c===void 0?!1:c;var d=[];!a.L&&aT.g!==0&&d.push("2");zU(a)&&d.push("7");yU(a)&&b&&!c&&d.push("8");return d},xU=function(a){return DU(a)=== 1||DU(a)===2},DU=function(a){var b=a.ni;var c=a.Kd;var d=a.ah;var e=a.Vf;a=a.sc;switch(b){case 1:return 3;case 2:return 1}b=B.navigator||null;return c||d||e||b&&Bp(b)||a==="tvos"||a==="kepler"?1:Cp()?2:0};var EU="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");var FU=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}; FU.prototype.append=function(a){if(a){var b=a.autoAlign;b!=null&&(this.autoAlign=b);b=Pd(a.bitrate);typeof b==="number"&&!isNaN(b)&&b>0&&(this.bitrate=b);this.disableClickThrough=a.disableClickThrough||this.disableClickThrough;this.disableUi=a.disableUi||this.disableUi;this.enablePreloading=a.enablePreloading||this.enablePreloading;(b=a.mimeTypes)&&b.length!==0&&(this.mimeTypes=b);b=Pd(a.playAdsAfterTime);typeof b==="number"&&!isNaN(b)&&b>0&&(this.playAdsAfterTime=b);this.restoreCustomPlaybackStateOnAdBreakComplete= a.restoreCustomPlaybackStateOnAdBreakComplete||this.restoreCustomPlaybackStateOnAdBreakComplete;b=Pd(a.loadVideoTimeout);typeof b==="number"&&!isNaN(b)&&b>0&&(this.loadVideoTimeout=b);this.uiElements=a.uiElements||this.uiElements;this.useLearnMoreButton=a.useLearnMoreButton||this.useLearnMoreButton;this.useStyledLinearAds=a.useStyledLinearAds||this.useStyledLinearAds;this.useStyledNonLinearAds=a.useStyledNonLinearAds||this.useStyledNonLinearAds;this.useVideoAdUi=a.useVideoAdUi===!1?!1:this.useVideoAdUi; this.g=a.useYouTubeMetadata||this.g}};Ja("module$exports$google3$javascript$ads$interactivemedia$sdk$clientside$api$ads_rendering_settings.AdsRenderingSettings.AUTO_SCALE",-1);var GU=function(a,b){b=b===void 0?"videoDisplay1":b;O.call(this);this.j=a;this.g=b;this.F=this.duration=this.currentTime=-1;this.fullscreen=this.l=this.muted=this.o=this.A=!1;this.volume=-1;this.tg="";this.qa=this.error=null;this.G=8E3;this.B=0;this.D=new ZJ(this);N(this,this.D)};q(GU,O); var IU=function(a){a.D.listen(a.j,a.g,a.Jn);HU(a.j,a.g,"startTracking")},JU=function(a){cK(a.D);HU(a.j,a.g,"stopTracking")},MU=function(a,b,c,d,e){a.tg=b||"";KU(a);d&&(a.F=d.getMaxDuration());d=d?LU(d):null;e=(e==null?void 0:e.map(function(p){return p.g+":"+p.j}))||null;if(c){if(c instanceof WH){HU(a.j,a.g,"load",{videoUrl:b,adPodInfo:d,muxedMediaUrl:c.getMediaUrl(),muxedMimeType:c.g,muxedVideoCodec:c.Pa,muxedAudioCodec:c.ab,mseCompatible:c.Ja});return}if(c instanceof VH){var f=c.j,g=c.C,h=c.g,k= c.A,l=c.Pa,n=c.ab;if(f&&g&&h&&k&&l&&n){HU(a.j,a.g,"load",{videoUrl:b,adPodInfo:d,demuxedVideoUrl:f,demuxedAudioUrl:g,demuxedVideoMimeType:h,demuxedAudioMimeType:k,demuxedVideoCodec:l,demuxedAudioCodec:n,mseCompatible:c.Ja});return}}}HU(a.j,a.g,"load",{videoUrl:b,adPodInfo:d,universalAdIds:e})};GU.prototype.reset=function(a){this.o||this.l||this.pause();de&&!a&&(NU(this,.001),MU(this,"",null,null,null));(ae||ce)&&this.se()&&!a&&HU(this.j,this.g,"exitFullscreen")}; var KU=function(a){a.duration=-1;a.F=-1;a.currentTime=-1;a.l=!1;a.o=!1;a.A=!1;a.error=null;OU(a)},NU=function(a,b){HU(a.j,a.g,"setCurrentTime",{currentTime:b})};m=GU.prototype;m.setVolume=function(a){this.volume=a;HU(this.j,this.g,"setVolume",{volume:a})};m.canPlayType=function(a){return wU().includes(a)};m.play=function(){HU(this.j,this.g,"play");this.B||(this.B=Ev(this.J,this.G,this));return Promise.resolve()};m.pause=function(){HU(this.j,this.g,"pause");OU(this)}; m.unload=function(){KU(this);de||OI()||HU(this.j,this.g,"unload")};m.getCurrentTime=function(){return this.currentTime};m.getDuration=function(){return this.duration};m.getError=function(){return this.error};m.getVolume=function(){return this.muted?0:this.volume};m.se=function(){return this.fullscreen}; m.Jn=function(a){var b=a.g;a=a.messageType;switch(a){case "click":this.dispatchEvent("click");break;case "end":if(this.error)break;this.l=!0;b={ed:this.duration,ad:this.currentTime,md:this.F,app:OT.getInstance().appName};kU.getInstance().report(224,b);this.dispatchEvent("end");break;case "error":if(!this.l){OU(this);if(b.errorCode==null||b.errorMessage==null||b.type==null)a=null;else for(var c=a=new bS(b.type,b.errorMessage,b.errorCode),d=b.innerError,e=0;e<3;++e)if(d instanceof Object){var f=new bS(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||HS.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.o|| (this.o=!0,b.ended!=null&&(this.l=b.ended),this.dispatchEvent("pause"));break;case "play":this.o=!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||(OU(this),this.A=!0,PU(this,b),this.dispatchEvent("start"));break;case "timeupdate":this.A&&(c=b.timeUnit,a=QU(b.currentTime,c),b=QU(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":PU(this,b);this.dispatchEvent("volumeChange");break;case "loadedmetadata":this.duration=Ld(b.duration);this.dispatchEvent(a);break;case "abort":case "canplay":case "canplaythrough":case "durationchange":case "emptied":case "loadstart":case "loadeddata":case "progress":case "ratechange":case "seeked":case "seeking":case "stalled":case "suspend":case "waiting":this.dispatchEvent(a)}}; var PU=function(a,b){b=b.volume;typeof b!=="number"||isNaN(b)||b<0||b>1||(a.muted=b===0,a.volume=b)};GU.prototype.J=function(){this.A||this.dispatchEvent("mediaLoadTimeout")};var OU=function(a){a.B&&(Fv(a.B),a.B=0)},QU=function(a,b){if(a===void 0)return a;switch(b){case "ms":return Ld(a)/1E3;default:return Ld(a)}};var RU=function(a,b){O.call(this);this.l=a;this.contentDuration=b;this.j=0;this.g=new ZJ(this);N(this,this.g)};q(RU,O);RU.prototype.Fd=function(){return this.j};RU.prototype.start=function(){this.stop();this.g.listen(this.l,"contentTimeUpdate",this.o)};RU.prototype.stop=function(){cK(this.g)};RU.prototype.o=function(a){a=a.g;a=QU(a.currentTime,a.timeUnit);a!==void 0&&(this.j=a,this.dispatchEvent(new Cu("contentPlayheadChanged")))};var SU=function(a,b){Cu.call(this,"OffsetTrackerEvent");this.l=a;this.g=b};q(SU,Cu);var TU=function(a,b){O.call(this);this.j=a;this.g=b;this.qa=null;this.l=new ZJ(this);N(this,this.l)};q(TU,O);TU.prototype.remove=function(a){this.g.splice(this.g.indexOf(a),1)};TU.prototype.start=function(){this.stop();this.l.listen(this.j,"contentPlayheadChanged",this.o,!1);this.j.start()};TU.prototype.stop=function(){cK(this.l);this.j.stop()};TU.prototype.o=function(){UU(this)}; var UU=function(a){var b=a.j.Fd();if(!(isNaN(b)||b<0)){var c=VU(a,b);b=WU(a,b,a.j.contentDuration);c==null&&b==null||a.dispatchEvent(new SU(c,b))}},WU=function(a,b,c){var d=a.g.filter(function(f){return f!==-1&&b>=f-(aT.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-(aT.j?8:2):a.g.length===1||b>a.g[a.g.length-2]+1)?-1:null:null},VU=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},XU=function(a){var b=a.g.find(function(c){return c===-1?!0:a.j.Fd()<=c});return b==null?null:b};var YU=function(){this.g=new Map};YU.prototype.add=function(a,b){var c=this.g.get(a)||[];c.push.apply(c,x(b));this.g.set(a,c)};YU.prototype.remove=function(a){this.g.delete(a)};var $U=function(a){return ZU(Array.from(a.g.keys()))};YU.prototype.getPodIndex=function(a){var b=$U(this);switch(a){case 0:return 0;case -1:return-1;default:return a=b.indexOf(a),b[0]===0?a:a+1}};var ZU=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 aV=function(a,b,c){this.j=a;this.g=b;this.df=c};function bV(a,b){return cV("adPlayError",a,b===void 0?null:b,Fa.apply(2,arguments))}function cV(a,b,c,d){if(c instanceof bS)return c;var e=b.getErrorCode();b=b.getMessage();if(d.length>0)for(var f=0;f0&&this.settings.nearMatchPercent<=100?this.settings.nearMatchPercent:90},tV=function(a,b){var c=[];b.forEach(function(d){a.settings.allowCustom&&(d.Wg()&&(isNaN(d.Na())||isNaN(qV(d))||qV(d)===d.Na())&&rV(a,d)?c.push(d):(d=sV(a,d),d!=null&&d.Wg()&&c.push(d)))});return c};pV.prototype.xb=function(){return this.resourceType}; var rV=function(a,b){var c;if(c=b.getContentType()!=="Flash"){if(c=a.resourceType==="All"||a.resourceType===b.xb())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.Uf())||a.g.Ha)a=b&&a.g.Ha;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")a.Mh=== "ResizeSmaller"?(c.width<=a.g.size.width&&c.height<=a.g.size.height||(b=a.g.size,b=Math.min(b.width/c.width,b.height/c.height),c=new he(b*c.width,b*c.height)),b=c.width,c=c.height):(b=c.width,c=c.height),b=b>a.g.size.width||c>a.g.size.height||b0?k:-1;this.G=l?l.slice():[];this.J=n?n.slice():[];this.ya=p?p.slice():[];t!=null&&t.forEach(function(ca,hd){ha.ia.set(hd,ca)});this.jb=(this.l=A!=null)?w:!1;this.ke=this.l?E:!1;this.T=H(A);this.ya.forEach(function(ca){ca.ad=ha});this.o=new XK;ZK(this.o,new FJ);G&&ZK(this.o,new MJ);ZK(this.o,new wI);ZK(this.o,new fJ);U(T.getInstance(),"ghmsh_eids",FE());bW(this.o);this.j=YK(this.o,new sI([u]),new iG);cW(this,r)},bW=function(a){var b=[{type:"itag", ve:22},{type:"itag",ve:18}];(de||OI()||Yd&&ee)&&b.unshift({type:"hls"});ZK(a,new BJ(new CL(b)))},eW=function(a){var b=a.g;return a.Jc()?b.ld:[]};m=dW.prototype;m.Jc=function(){var a=this.g;return a!=null&&a instanceof UV};m.getAdSystem=function(){return this.Za!=null?this.Za:""};m.getAdvertiserName=function(){return this.N!=null?this.N:""};m.getApiFramework=function(){var a=this.g;return a!=null?a.getApiFramework():null};m.getTitle=function(){return H(this.title)};m.getDescription=function(){return H(this.description)}; var fW=function(a){for(var b=[];a!=null;)b=[].concat(x(a.G),x(b)),a=a.ca;return b},gW=function(a){return a.ca!=null?gW(a.ca).concat(a.J):a.J};dW.prototype.getSurveyUrl=function(){return this.ka};dW.prototype.getDealId=function(){var a=this.dealId!=null?this.dealId:"",b=this.ca;return b!=null?(b=b.getDealId(),F(b)?a:b):a}; dW.prototype.getContentType=function(){if(hW(this))return"application/javascript";if(iW(this))return"image/jpeg";var a=this.g,b="";if(a===null)return b;if(a instanceof UV)a=a.g,a!==null&&(b=H(a.mimeType));else if(a instanceof XV)switch(a.xb()){case "IFrame":case "Html":b="text/html";break;case "Static":b=H(a.creativeType)}return b};var jW=function(a){return a.ca!=null?a.A.concat(jW(a.ca)):a.A};dW.prototype.getTraffickingParametersString=function(){return this.g!=null?this.g.oa:""}; var kW=function(a,b){return a.ia.get(b)},lW=function(a){for(var b=new Map;a;)a.ia.forEach(function(c,d){var e=b.get(d);e?b.set(d,[].concat(x(e),[c])):b.set(d,[c])}),a=a.ca;return b},mW=function(a,b){var c=[];a.ia.forEach(function(d){c=c.concat(DV(d,b))});return c},nW=function(a,b,c){c=c===void 0?null:c;a.g=b;a.C=new he(0,0);a.g&&(c=a.g,a.g instanceof XV&&(a.C=a.g.getSize()));if(b=a.ca){var d=RV(c,b)||RV(c,b,!0);nW(b,d,c)}c=a.Kb;a=a.getDuration();c.g=a},pW=function(a){if(a.ta){var b=new sI(oW(a)); a.j=YK(a.o,b)}},oW=function(a){return a.ca?[a.Ee].concat(x(oW(a.ca))):[a.Ee]},qW=function(a){var b=0;for(a=a.ca;a!=null;)a=a.ca,b++;return b};m=dW.prototype;m.getAdId=function(){return this.adId!=null?this.adId:""};m.getWrapperAdIds=function(){var a=kW(this,"inred_info");a=a?a.j:[];var b=this.ca?this.ca.getAdId():[],c=this.ca?this.ca.getWrapperAdIds():[];return[].concat(a,b,c)};m.getCreativeAdId=function(){var a=this.g;return a!=null?H(a.getCreativeAdId()):""}; m.getCreativeId=function(){var a=this.g;return a!=null?(a=a.getCreativeId(),a!=null?a:""):""};m.getWrapperCreativeIds=function(){var a=kW(this,"inred_info");a=a?a.o:[];var b=this.ca?this.ca.getCreativeId():[],c=this.ca?this.ca.getWrapperCreativeIds():[];return[].concat(a,b,c)};m.getWrapperAdSystems=function(){var a=kW(this,"inred_info");a=a?a.l:[];var b=this.ca?this.ca.getAdSystem():[],c=this.ca?this.ca.getWrapperAdSystems():[];return[].concat(a,b,c)}; var rW=function(a){if(a.ca){var b=rW(a.ca);if(b)return b}return(a=kW(a,"metrics"))?a.j:null};dW.prototype.getUniversalAdIds=function(){var a=this.g;return a!=null?a.getUniversalAdIds():[]};dW.prototype.getUniversalAdIdValue=function(){var a=this.getUniversalAdIds();return a.length?a[0].getAdIdValue():"unknown"};dW.prototype.getUniversalAdIdRegistry=function(){var a=this.getUniversalAdIds();return a.length?a[0].getAdIdRegistry():"unknown"}; var sW=function(a){if(a.ca){var b=sW(a.ca);if(b)return b}return(a=kW(a,"metrics"))?a.l:null},tW=function(a){if(a.ca==null)return[a.D];var b=tW(a.ca);b.push(a.D);return b},uW=function(a){a=kW(a,"waterfall");return a==null?-1:a.j};dW.prototype.getPodIndex=function(){if(this.Oa!==-1)return this.Oa;var a=kW(this,"pod");return a==null?-1:a.Na()};dW.prototype.Wd=function(){if(!this.da){this.da=!0;var a;(a=this.B)==null||a.Wd(this.getDuration());a=this.ca;a!=null&&a.Wd()}}; var vW=function(a){var b;if((b=a.B)==null?0:b.Eg())return a.B;a=a.ca;return a!=null?vW(a):null};dW.prototype.getCompanionAds=function(a,b){b=b===void 0?new nV:b;return tV(new pV(a,b),jW(this))};dW.prototype.bh=function(){for(var a=this;a;){if(wW(a))return!1;a=a.ca}return!0}; var xW=function(a,b){return b||a.ca==null?a.L:a.L.concat(xW(a.ca))},cW=function(a,b){a.L=b?b.slice():[];a.L.forEach(function(c){a.A=a.A.concat(c.g.slice())});a.A.forEach(function(c){yW(c,a)})},zW=function(a,b){return a.ya.some(function(c){return c instanceof UV&&b==="linear"||c instanceof XV&&b==="nonlinear"?!0:!1})};dW.prototype.isLinear=function(){return this.X?this.Z:AW(this)?!0:zW(this,"linear")};dW.prototype.isSkippable=function(){return BW(this)!=null}; var AW=function(a){var b=a.g,c,d=!((c=a.ta)==null||!c.forceNonLinearFullSlot);return wW(a)&&b!=null&&b instanceof XV&&(a.C.height>90||d)},CW=function(a,b){if(b==null)return null;var c=kW(b,"adx");return c!=null?c:CW(a,b.ca)},BW=function(a){var b=CW(a,aW(eE)?a:a.ca);if(b!=null)return b.isSkippable()?b.offset:null;b=null;var c=new WV(5,!1);a:{var d=v(a.ia.values());for(var e=d.next();!e.done;e=d.next())if(DV(e.value,"skip").length!==0){d=!0;break a}d=a.ia.get("DFP");d=d instanceof EV&&d.j?!0:!1}e=a.g; b==null&&e!=null&&e instanceof UV&&(b=e.skipOffset);b==null&&d&&(b=c);return AW(a)?(kW(a,"AdSense"),new WV(5,!1)):b};dW.prototype.getSkipTimeOffset=function(){var a=BW(this);if(a!=null){var b=this.getDuration();a.g&&b>0&&(a.g=!1,a.value=a.value*b/100);return oU(a)}return-1};var DW=function(a){return a.g!==null?a.g.jc():null},EW=function(a){return a.g!=null?a.g.xf():null},FW=function(a){return a.g!=null?a.g.getDuration():-1},GW=function(a){return a.P!=null?a.P:0}; dW.prototype.getDuration=function(){if(AW(this))return kW(this,"AdSense"),15+GW(this);if(this.l){var a=kW(this,"wrapper_info");if(a)return a.getDuration()}return FW(this)+GW(this)};dW.prototype.getMediaUrl=function(){var a=null,b=this.g;b!=null&&(a=b.getMediaUrl(),F(H(a))&&(a=null));return a};var HW=function(a){return a.g!==null?a.g.fi():null},IW=function(a){return wW(a)},KW=function(a){a=kW(a,"InfoCards");return a!=null&&JW(a)!=null};m=dW.prototype; m.getVastMediaWidth=function(){var a=0,b=this.g;b&&(b instanceof UV?(b=b.g,b!==null&&(a=b.getWidth())):b instanceof XV&&(a=b.getSize().width));return a};m.getVastMediaHeight=function(){var a=0,b=this.g;b&&(b instanceof UV?(b=b.g,b!==null&&(a=b.getHeight())):b instanceof XV&&(a=b.getSize().height));return a};m.getWidth=function(){return this.isLinear()?0:this.C.width};m.getHeight=function(){return this.isLinear()?0:this.C.height};m.getUiElements=function(){return this.uiElements}; m.getMinSuggestedDuration=function(){return this.g==null?-2:this.g instanceof XV?this.g.getMinSuggestedDuration():this.g.getDuration()};m.getAdPodInfo=function(){return this.Kb}; var wW=function(a){return["ADSENSE","ADSENSE/ADX","ADSENSE-VIRAL"].includes(a.D)},hW=function(a){return HW(a)!=null},iW=function(a){return a.Jc()?a.g.pb.some(function(b){return H(b.ea)==="Safeframe"}):!1},LW=function(a){return a.Jc()?a.g.pb.some(function(b){return H(b.ea)==="SIMID"}):!1},MW=function(a,b,c){a.disableUi=c&&b;(c||b)&&kU.getInstance().report(60,{ui_disabled_available:c,ui_disable_requested:b},!0);return a.disableUi},NW=function(a){var b=[];a.g instanceof UV&&b.push.apply(b,x(a.g.icons)); a.ca&&b.push.apply(b,x(NW(a.ca)));a=kW(a,"vast2Ata");a instanceof KV&&b.push(a.j);var c=new Set,d=[];b.forEach(function(e){c.has(e.program)||(c.add(e.program),d.push(e))});return d},OW=function(a){var b=a.ha.slice();a=kW(a,"adVerifications");a!=null&&(b=b.concat(a.Yc()));return b};dW.prototype.Yc=function(){var a=OW(this),b=this.ca;b!=null&&(a=b.Yc().concat(a));return a}; var QW=function(a){for(var b=PW(a),c;((c=a)==null?void 0:c.ca)!=null;){a=a.ca;var d=void 0;b=((d=a)==null?void 0:PW(d))||b}return b},PW=function(a){a=a.ia.get("EoidCookieExtension");return a instanceof FV?a.j:null},SW=function(a,b){for(var c=RW(a,b),d;((d=a)==null?void 0:d.ca)!=null;){a=a.ca;var e=void 0;c=((e=a)==null?void 0:RW(e,b))||c}return c},RW=function(a,b){a=a.ia.get(b?"GfpCookieV2Extension":"GfpCookieV1Extension");return a instanceof IV?a.j:null}; dW.prototype.getVastMediaBitrate=function(){if(this.Jc()){var a=this.g.g;if(a!=null)return a.qb||0}return 0}; var UW=function(a,b){b=b.zk===void 0?!1:b.zk;var c={};c=(c.adId=a.getAdId(),c.adPodInfo=LU(a.getAdPodInfo()),c.adQueryId=a.Bc,c.adSystem=a.getAdSystem(),c.adWrapperCreativeIds=a.getWrapperCreativeIds(),c.adWrapperIds=a.getWrapperAdIds(),c.adWrapperSystems=a.getWrapperAdSystems(),c.advertiserName=a.getAdvertiserName(),c.apiFramework=a.getApiFramework(),c.contentType=a.getContentType(),c.creativeAdId=a.getCreativeAdId(),c.creativeId=a.getCreativeId(),c.dealId=a.getDealId(),c.description=a.getDescription(), c.disableUi=a.disableUi,c.duration=a.getDuration(),c.height=a.getHeight(),c.linear=a.isLinear(),c.mediaUrl=a.getMediaUrl(),c.minSuggestedDuration=a.getMinSuggestedDuration(),c.skippable=a.isSkippable(),c.skipTimeOffset=a.getSkipTimeOffset(),c.surveyUrl=a.getSurveyUrl(),c.title=a.getTitle(),c.traffickingParameters=a.getTraffickingParametersString(),c.uiElements=a.getUiElements(),c.universalAdIds=ZV(a.getUniversalAdIds()),c.universalAdIdRegistry=a.getUniversalAdIdRegistry(),c.universalAdIdValue=a.getUniversalAdIdValue(), c.vpaid=hW(a),c.width=a.getWidth(),c.vastMediaBitrate=a.getVastMediaBitrate(),c.vastMediaHeight=a.getVastMediaHeight(),c.vastMediaWidth=a.getVastMediaWidth(),c);b&&(c.companions=jW(a).map(function(d){return TW(d)}));a=a.g;a!=null&&(c.attributionParams=a.xf(),c.clickThroughUrl=a.jc()||"");return c},VW=function(a){var b=a.g,c=b!=null?QV(b):new mU;gW(a).forEach(function(d){pU(c,"impression",d.url,null,d.g)});fW(a).forEach(function(d){pU(c,"error",d)});lW(a).forEach(function(d){d.forEach(function(e){rU(c, e.g)})});return c.aa},WW=function(a){for(var b=[];a!=null;)a.ia.forEach(function(c){b=[].concat(x(b),x(c.cf))}),a=a.ca;return b};dW.prototype.isCustomClickTrackingUsed=function(a){return(this.bh()?NI():!1)&&a.Eb};var XW=ra(["https://pagead2.googlesyndication.com/omsdk/releases/live/omweb-v1.js"]),YW=ra(["https://pagead2.googlesyndication.com/omsdk/releases/control/omweb-v1.js"]),ZW=ra(["https://pagead2.googlesyndication.com/omsdk/releases/canary/omweb-v1.js"]),$W=ra(["https://pagead2.googlesyndication.com/omsdk/releases/experimental/omweb-v1.js"]);Fe(XW);Fe(YW);Fe(ZW);Fe($W);var aX=function(a,b,c){b=b===void 0?null:b;c=c===void 0?null:c;Cu.call(this,a);this.ad=b;this.g=c};q(aX,Cu);var bX=function(a){var b=a.type,c,d=(c=a.ad)!=null?c:null,e;a=(e=a.data)!=null?e:null;return new aX(b,d,a)},cX=function(a){return a.type==="videoIconClicked"?new aX(a.type,null,a.data):new aX(a.type)},dX=function(a){return new aX(a.type,null,a.data)};aX.prototype.getAd=function(){return this.ad};aX.prototype.getAdData=function(){return this.g};function X(a){return bX(a)};var eX=function(a,b){this.g=a[B.Symbol.iterator]();this.j=b};eX.prototype[Symbol.iterator]=function(){return this};eX.prototype.next=function(){var a=this.g.next();return{value:a.done?void 0:this.j.call(void 0,a.value),done:a.done}};var fX=function(a,b){return new eX(a,b)};var jX=function(a){if(a instanceof gX||a instanceof hX||a instanceof iX)return a;if(typeof a.next=="function")return new gX(function(){return a});if(typeof a[Symbol.iterator]=="function")return new gX(function(){return a[Symbol.iterator]()});if(typeof a.Ie=="function")return new gX(function(){return a.Ie()});throw Error("Not an iterator or iterable.");},gX=function(a){this.g=a};gX.prototype.Ie=function(){return new hX(this.g())};gX.prototype[Symbol.iterator]=function(){return new iX(this.g())}; gX.prototype.j=function(){return new iX(this.g())};var hX=function(a){this.g=a};q(hX,Xq);hX.prototype.next=function(){return this.g.next()};hX.prototype[Symbol.iterator]=function(){return new iX(this.g)};hX.prototype.j=function(){return new iX(this.g)};var iX=function(a){gX.call(this,function(){return a});this.l=a};q(iX,gX);iX.prototype.next=function(){return this.l.next()};var kX=function(a,b){this.j={};this.g=[];this.l=this.size=0;var c=arguments.length;if(c>1){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d2*this.size&&lX(this),!0):!1};var lX=function(a){if(a.size!=a.g.length){for(var b=0,c=0;b=d.g.length)return Yq;var f=d.g[b++];return{value:a?f:d.j[f],done:!1}};return e};var mX=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var oX=null,pX=function(){O.call(this);this.A=this.g=null;this.N="";this.G=this.H=this.T=null;this.J=-1;this.B=!1;this.j=new kX;this.l=new Map;this.o=new ZJ(this);N(this,this.o);this.F=new Map;nc().o=!0;vU()};q(pX,O); var qX=function(){oX==null&&(oX=new pX);return oX},sX=function(a,b){var c=a.Bc;vU()&&rX(qX(),c,b);var d=[];(lW(a).get("activeview")||[]).forEach(function(e){d.push.apply(d,x(e.j))});d.length&&qX().l.set(c,d)},tX=function(a){qX().F.delete(a.Bc);qX().l.delete(a.Bc)},rX=function(a,b,c){a.F.set(b,c)},uX=function(a,b){var c={};a=(c.queryId=a,c.viewabilityString=b,c);qX().dispatchEvent(dX({type:"measurable_impression",data:a}))},vX=function(a,b){var c={};a=(c.queryId=a,c.viewabilityString=b,c);qX().dispatchEvent(dX({type:"viewable_impression", data:a}))},wX=function(a,b,c){var d={};a=(d.queryId=a,d.viewabilityString=b,d.eventName=c,d);qX().dispatchEvent(dX({type:"externalActivityEvent",data:a}))},xX=function(a,b){a.g&&a.o.xa(a.g,"activityMonitor",a.D);a.g=b;a.o.listen(a.g,"activityMonitor",a.D);HU(a.g,"activityMonitor","getPageSignals")},yX=function(a){var b=qX();if(b.g)if(b.G)a(b.G+"_ct"+(Va()-b.J));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.se());e.osdId=b.N;e.eventId=d;kU.getInstance().g&&(b.A=Va(),e.loggingId=Math.random(),kU.getInstance().report(43,{step:"sendingMessage",logid:e.loggingId,time:b.A}));HU(b.g,"activityMonitor","fetchAdTagUrl",e)}else a("")};pX.prototype.destroy=function(){this.o.xa(this.g,"activityMonitor",this.D);this.g=null}; pX.prototype.D=function(a){var b=a.g,c;switch(a.messageType){case "appStateChanged":Zg(gu);b=b.appState;a=Hp();a.P!=b&&(a.P=b,(a=Zg(ts).g)&&Qp(a.g,!b));break;case "externalActivityEvent":wX(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":uX(b.queryId,b.viewabilityString);break;case "pageSignals":this.T=b.pageSignals;break;case "viewableImpression":vX(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;qX().G=b;qX().J=Va();break;case "viewability":(c= this.H)==null||c.getVolume();a=b.queryId;c=b.vastEvent;this.l.get(a)&&c==="start"&&this.l.get(a);a=b.eventId;clearTimeout(a);if(c=this.j.get(a))this.j.delete(a),c(b.viewabilityData);break;case "viewabilityMeasurement":a=Zg(gu);c=b.queryId;b=b.viewabilityData;if(nc().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 Zq),Zb(a.l,b.presenceData));a.ha==-1&&(a.ha=ip(),a.Vb=a.lb().g.g);a.ba+=e?1:0;a.Qb++;xq(a.Va,d,d,!1,1,!1);a.qc=e||a.qc; a=a.pa;c=b.position;a.g=new tf(c.top,c.right,c.bottom,c.left);a.B=b.exposure||0;a.o=b.screenShare;a=Hp();c=b.insideIframe;c!==void 0&&c==0&&(a.l=!1);b.documentSize&&(a.o=new he(b.documentSize.width,b.documentSize.height));b.viewportSize&&(a.g=new tf(0,b.viewportSize.width,b.viewportSize.height,0))}break;case "engagement":a=b.eventId,clearTimeout(a),c=this.j.get(a),kU.getInstance().g&&(d=-1,this.A&&(d=Va()-this.A),e=!1,c||(e=!0),Pb(b,"loggingId")&&kU.getInstance().report(43,{step:"receivedResponse", time:Va(),timeout:e,logid:b.loggingId,timediff:d})),c&&(this.j.delete(a),c(b.engagementString))}};Ja("ima.bridge.getNativeViewability",function(a,b){qX();b({})});Ja("ima.bridge.getVideoMetadata",function(a){return(a=qX().F.get(a))?a():{}});Ja("ima.bridge.triggerViewEvent",vX);Ja("ima.bridge.triggerMeasurableEvent",uX);Ja("ima.bridge.triggerExternalActivityEvent",wX);var zX=function(a){this.K=I(a)};q(zX,L);zX.prototype.getUniversalAdIdValue=function(){return Xk(this,7)};zX.prototype.getUniversalAdIdRegistry=function(){return Xk(this,8)};var AX=[0,bo,fo,-1,wn,Rn,-1,Tn,-1,bo,Rn,Tn,fo];zX.prototype.R=M(AX);var BX=function(a){this.K=I(a)};q(BX,L);BX.prototype.getType=function(){return ej(ak(this,1,void 0,Yj))};var CX=function(a,b){return gl(a,1,b)};BX.prototype.getAdSystem=function(){return Xk(this,3)};var DX=function(a,b){gl(a,4,b)};BX.prototype.getAdId=function(){return Xk(this,5)};BX.prototype.getCreativeId=function(){return Xk(this,6)};BX.prototype.getCreativeAdId=function(){return Xk(this,7)};var EX=[0,fo,Tn,-1,fo,Tn,-2,bo,Tn,AX,Un];BX.prototype.R=M(EX);var FX=function(a){this.K=I(a)};q(FX,L);var GX=[0,Xn,EX,Rn,-1];FX.prototype.R=M(GX);var HX=lo(GX);var IX=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]]),KX=function(a){var b=CX(new BX,a.l?2:1),c=a.ta;if(c&&c.adTagUrl){var d=null;try{d=(new P(c.adTagUrl)).j}catch(e){}d!= null&&d.length>0?d=d.slice(-40):d=null;dl(b,2,d)}c=a.getAdSystem();c=c.length===0?null:c;DX(dl(b,3,c),JX(a.F));c=a.getAdId();c=c.length===0?null:c;dl(b,5,c);c=a.getCreativeId();c=c.length===0?null:c;dl(b,6,c);c=a.getCreativeAdId();c=c.length===0?null:c;dl(b,7,c);a=a.Db;c=a.A;d=a.o;c!=null&&d!=null&&d>=c&&al(b,8,d-c);a=a.l.map(function(e){var f;return(f=e.vendor)!=null?f:""});tk(b,11,a,wj);return b},JX=function(a){return a>=1&&a<2?1:a>=2&&a<3?2:a>=3&&a<4?3:a>=4&&a<5?4:0},LX=function(a){a=a.trim().toLowerCase(); a=a.split(" ")[0];return IX.get(a)||0};var MX=[202,1009],NX=!1;function OX(a,b,c){c=c===void 0?null:c;var d=a?a.j:null;if(a){var e=a.getAdPodInfo();var f=new TF;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 PX(d,e,b,a?a.ta:null,c)} function QX(a,b,c,d){c=c===void 0?null:c;var e=new Map;a=OX(c,d===void 0?null:d,a);RX(e,a,b);MG(a.error.getVastErrorCode(),e);EG(e,"SDKV",QT(b));SX(e,a);TX(e);b=a.error.getErrorCode();EG(e,"ERROR_MSG",a.error.getMessage());EG(e,"IMA_ERROR",b.toString());EG(e,"INTERNAL_ID","0");b=MX.includes(b);EG(e,"BLOCKING_ERROR",b?"1":"0");UX(e,c);return e}function VX(a,b){var c=new Map,d=OX(null,null);RX(c,d,b);b=c;b=b===void 0?new Map:b;EG(b,"REASON",a);return c} function WX(a,b,c){var d=new Map;c=OX(a,c===void 0?null:c);RX(d,c,b);EG(d,"SDKV",QT(b));SX(d,c);TX(d);UX(d,a);return d}function XX(a){a=nT(a.Aa);/^[\.\w_-]*$/.test(a)||NX||(kU.getInstance().report(141,{tcstring:a}),NX=!0)} function YX(a,b,c){var d,e,f,g,h,k,l;return z(function(n){if(n.g==1)return e=d=null,zU(c)&&(d="Google1",e="3.709.0"),(g=a.adTagUrl)!=null&&g.includes("GOOGLE_INSTREAM_VIDEO_NONCE")?n=y(n,b(a),3):(n.g=2,n=void 0),n;n.g!=2&&(f=n.j||void 0);h=c.ae;k=nT(c.Aa);l=lT(c.Aa);XX(c);var p=n.return;var r={Qk:"1",ta:a,appName:c.appName,ml:wU(),fk:xU(c)?"0":NI()?"2":"1",Bh:d,Lk:e,domain:(new P(c.g)).j||"",pageUrl:ZX(a,c),Af:aT.getPlayerType(),Bf:aT.getPlayerVersion(),cg:"IMA",dg:"3.709.0",Tj:CU(c),If:k,ae:h,xl:l, Hn:f};r=r===void 0?{}:r;var t=t===void 0?new Map:t;EG(t,"ADCATEGORIES","-1");EG(t,"ADCOUNT","-1");EG(t,"APIFRAMEWORKS",r.Tj?r.Tj.join(","):"-1");EG(t,"BLOCKEDADCATEGORIES","-1");var u;EG(t,"GOOGLE_INSTREAM_VIDEO_NONCE",(u=r.Hn)!=null?u:"-1");EG(t,"EXTENSIONS","-2");EG(t,"MEDIAMIME",r.ml?r.ml.join(","):"-1");EG(t,"PLAYERCAPABILITIES","-1");EG(t,"VASTVERSIONS",Mb(ZF).join(","));EG(t,"VERIFICATIONVENDORS","-2");r=FG(r,t);return p.call(n,r)})} function RX(a,b,c){var d=b.ad,e=b.Kb,f=b.ta;b=b.display;var g=c.appName,h=xU(c)?"0":NI()?"2":"1",k=null,l=null;d instanceof IH&&d.sb.length>0&&(l=d.sb[0],k=l.getAdIdValue(),l=l.getAdIdRegistry());var n=null,p=null;zU(c)&&(n="Google1",p="3.709.0");var r=(new P(c.g)).j||"",t=ZX(f,c),u=aT.getPlayerType(),A=aT.getPlayerVersion(),w=nT(c.Aa),E=c.ae,D=lT(c.Aa);XX(c);GG({H:b,Qk:"1",Kb:e,ad:d,ta:f,appName:g,fk:h,kp:k,jp:l,Bh:n,Lk:p,Af:u,Bf:A,cg:"IMA",dg:"3.709.0",domain:r,pageUrl:t,If:w,ae:E,xl:D},a)} function UX(a,b){DG(a,"CREATIVE_PLAYBACK",function(){if(b){var c=new FX;for(var d=[],e=b;e!=null;)d.push(KX(e)),e=e.ca;e=d[0];var f=new zX,g=b.g;if(g instanceof UV){if(Yk(f,5,!0),g=g.g,g!=null){var h=g.mimeType||"";h=h.length===0?null:LX(h);gl(f,2,h);h=g.qb||0;h=al(f,1,h<=0?null:h);var k=g.url;k!=null&&EI(k)?(k=(new P(k)).l,k=k!=null&&k.startsWith("/videoplayback")):k=!1;dl(h,11,k?g.g:null)}}else g instanceof XV&&(Yk(f,5,!1),g=g.creativeType||"",g=g.length===0?null:LX(g),g=gl(f,2,g),al(g,1,null)); hW(b)&&(aT.g===2?gl(f,12,1):gl(f,12,2));g=b.getDuration();g=ck(f,4,Yi(g<0?null:g));h=b.getUniversalAdIdValue();g=dl(g,7,h);h=b.getUniversalAdIdRegistry();dl(g,8,h);h=b.Db;g=h.j;h=h.g;g!=null&&h!=null&&h>=g&&al(f,9,h-g);Yk(f,10,!1);Mk(e,10,f);d.reverse();d=Ok(c,1,d);Yk(d,3,(document.visibilityState||"")==="visible");c=HX(c);c=uh(c,3)}else c="";return c})} function TX(a){DG(a,"URL_SIGNALS",function(){var b=qX().T;!b&&window.Goog_AdSense_Lidar_getUrlSignalsArray&&(b=window.Goog_AdSense_Lidar_getUrlSignalsArray());return b?b[0]:""})}function SX(a,b){if(b.ad!=null){var c=b.ad.ia.get(tH);EG(a,"AQI",(c instanceof tH?c.g:"")||"");DG(a,"AD_V",function(){if(b.ad instanceof IH){var d=KQ(b.ad);if(d!=null)return d}return"0"});EG(a,"FINAL","1")}}function ZX(a,b){a=(a==null?void 0:a.pageUrl)||null;return HI(a)?a:b.g} var PX=function(a,b,c,d,e){this.ad=a;this.Kb=b;this.display=c;this.ta=d===void 0?null:d;this.error=e===void 0?null:e};function $X(a,b,c){var d=H(a);F(d)?b=a:SH(d)?(a=TH(d,"&sdkv="+QT(c)),c.L&&(a=TH(a,"&ssss=gima")),b!=="impression"&&b!=="click"&&(a=TH(a,"&vci=[CREATIVE_PLAYBACK]")),b=a):b=d;return b}function aY(a){a=H(a);if(F(a))return!1;try{Bd(a)}catch(b){return!1}return!0};var bY=function(a,b){this.g=a;this.j=b};function cY(a){a=[].concat(x(QV(a).getEvents("start")),x(QV(a).getEvents("creativeView")));if(a.length>0){var b=[];a.forEach(function(c){var d=vE(c);if(!F(H(d))){var e=Ie().j("IFRAME",{frameborder:0,style:"border:0;vertical-align:bottom;"});e.src=bd(SI).toString();c.j!=null&&e.setAttribute("attributionsrc",c.j||"");Af(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",MV(d));e.setAttribute("id", c);b.push(e)}});return b}return null}function dY(a){var b=a.kk;var c=a.adId;var d=a.Uc;a=a.contentType;var e=Se("DIV");Af(e,"cursor","default");Af(e,"position","relative");Af(e,"z-index","1001");Af(e,"height",d.height+"px");a!=="Text"&&Af(e,"width",d.width+"px");F(H(c))||(e.id=c);e.appendChild(b);return e}function eY(a){return a.replaceAll(RegExp("]+) attributionsrc([^>]+)>","g"),"")};var fY=function(a,b,c){this.g=a;this.ki=b;this.l=c;this.j=null};m=fY.prototype; m.getContent=function(){if(zp())return"";var a=this.g.Sg();this.j!==null&&(a='
\n \n \n \n '+a+"\n
");var b=this.g.kb().Da; 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};m.getContentType=function(){return this.g.kb().getContentType()};m.getWidth=function(){return this.getSize().width};m.getHeight=function(){return this.getSize().height};m.Uf=function(){return this.g.kb().Uf()};m.Wg=function(){return this.g.kb().Wg()};m.Na=function(){return this.g.kb().Na()}; var qV=function(a){var b;a=(b=a.g.kb().getAd())==null?void 0:b.g;return a!=null?a.Na():NaN};m=fY.prototype;m.getSize=function(){return this.g.getSize()};m.xb=function(){return this.g.kb().xb()};m.getAdSlotId=function(){return this.l};m.getApiFramework=function(){return this.g.kb().getApiFramework()||""};m.getAd=function(){return this.g.kb().getAd()}; var yW=function(a,b){a.g.kb().ad=b;a.ki.forEach(function(c){yW(c,b)});gY(a,b)},gY=function(a,b){var c,d;a.j=((d=((c=lW(b).get("companionAta"))!=null?c:[])[0])==null?void 0:d.j)||null},TW=function(a){var b={};return b.apiFramework=a.getApiFramework(),b.content=a.getContent(),b.size=a.getSize(),b.fluidSize=a.Uf(),b.resourceType=a.xb(),b.resourceValue=a.g.kb().Da,b.contentType=a.getContentType(),b.sequenceNumber=a.Na(),b.mainAdSequenceNumber=qV(a),b.adSlotId=a.getAdSlotId(),b.backupCompanions=a.ki.map(function(c){return TW(c)}), b.height=a.getSize().height,b.width=a.getSize().width,b};var hY=function(a){this.g=a;this.element=null}; hY.prototype.Sg=function(){if(this.element==null){var a=H(this.g.Da);if(!F(H(this.g.jc()))){a=new P(a);var b=encodeURIComponent(String(this.g.jc()));a.g.set("clickTAG",b);a=a.toString()}b=Se("IFRAME",{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no",title:"Advertisement"},null);var c=this.getSize();b.height=c.height;this.g.getContentType()!=="Text"&&(b.width=c.width);b.setAttribute("src",MV(a));this.element=dY({kk:b,adId:this.g.getAdId(),Uc:this.getSize(),contentType:this.g.getContentType()|| ""});Ve(this.element,cY(this.g))}return eY(bf(this.element))};hY.prototype.getSize=function(){return this.g.getSize()};hY.prototype.kb=function(){return this.g};var iY=function(a){this.g=a;this.element=null};iY.prototype.Sg=function(){if(this.element==null){var a=Se("DIV");aW(jE)?zd(a,Ce(this.g.Da)):zd(a,XJ(this.g.Da));this.element=dY({kk:a,adId:this.g.getAdId(),Uc:this.getSize(),contentType:this.g.getContentType()||""});Ve(this.element,cY(this.g))}return eY(bf(this.element))};iY.prototype.kb=function(){return this.g};iY.prototype.getSize=function(){return this.g.getSize()};var jY=function(a){this.g=a;this.element=null};jY.prototype.Sg=function(){if(this.element==null){var a=Se("a",{target:"_blank",id:this.g.getAdId()});a.setAttribute("href",MV(H(this.g.jc())));OH(this.g.g,a);var b=this.getSize();b=KP({height:b.height,width:b.width,Ta:"",attribution:""},0);a.appendChild(b.va());this.element=a;Ve(this.element,cY(this.g))}return eY(bf(this.element)).replace(' src=""',' src="'+MV(H(this.g.Da))+'"')};jY.prototype.kb=function(){return this.g};jY.prototype.getSize=function(){return this.g.getSize()};function kY(a,b){var c=a.getSize();switch(a.Mb){case "image":return KP({height:a.Tf?void 0:c.height,width:a.Tf?void 0:c.width,Ta:MV(H(a.Da)),attribution:b.za},b.Qc);case "html":return c={height:c.height,width:c.width,Ta:a.Da,attribution:b.za},b=b.Qc,a=xD($O,c),zd(Le("overlayInnerElement",a),Ce(c.Ta||"")),new IP(a,b);case "text,":return LP(lY(b.za,a.getAd()),b.Qc);default:var d=H(a.Da);F(H(a.jc()))||(d=new P(d),a=encodeURIComponent(String(a.jc())),d.g.set("clickTAG",a),d=d.toString());c={height:c.height, width:c.width,Ta:MV(d),attribution:b.za};b=b.Qc;a=xD(ZO,c);Le("embeddedOverlayIframe",a).setAttribute("src",c.Ta||"");return new IP(a,b)}} function lY(a,b){if(!b)return{title:void 0,text:void 0,dir:void 0,image:void 0,duration:void 0,zc:void 0,attribution:void 0};var c=kW(b,"AdSense"),d=kW(b,"TextAd"),e=d.Ye||"",f="rtl";e!=null&&(f=FC.test.call(FC,e)?"rtl":"ltr");e={title:e,text:(d.Ze||"")+" "+(d.af||""),dir:f,image:void 0,duration:void 0,zc:void 0,attribution:void 0};if(d=d.Wa)e.image=MV(d),b=b.ya.find(function(g){return g instanceof UV}),b!=null&&(e.duration=VF(b.getDuration()));c.zc&&(e.zc=c.zc||void 0);e.attribution=(c.za?c.za:a)|| void 0;return e};var mY=function(a){this.g=a;this.j=null};mY.prototype.Sg=function(){if(this.j==null){var a=LP(lY("",this.g.getAd()),0).va();a.id=this.g.getAdId();nY(this,Le("textImageContainer",a));nY(this,Le("overlayTextTitle",a));this.j=a;Ve(this.j,cY(this.g))}return eY(bf(this.j))};mY.prototype.kb=function(){return this.g};mY.prototype.getSize=function(){return new he(this.getWidth(),this.g.getSize().height)};mY.prototype.getWidth=function(){return this.j!=null?Nf(this.j).width:this.g.getSize().width}; var nY=function(a,b){if(b!=null){var c=Se("a");c.setAttribute("href",MV(H(a.g.jc())));OH(a.g.g,c);var d;(d=b.parentElement)==null||d.replaceChild(c,b);c.appendChild(b)}};function oY(a){var b=a.id;var c=a.size;var d=a.resources;a=a.ea;if(d.length===0)return new XV({id:b,size:c,resourceType:"",creativeType:null,Da:"",ea:a,Mb:"default"});var e=pY(d);d=e.xb();var f=e.creativeType;e=e.Da;switch(d){case "Html":return new XV({id:b,size:c,resourceType:"Html",creativeType:f,Da:e,ea:a,Mb:a==="Safeframe"?"safe_frame":"html"});case "Static":if(f!=null)switch(ZR[f]){case "Image":return new XV({id:b,size:c,resourceType:"Static",creativeType:f,Da:e,ea:a,Mb:"image"});case "Text":return new XV({id:b, size:new he(0,63),resourceType:"Static",creativeType:"text",Da:"",ea:a,Mb:"text,"})}}return new XV({id:b,size:c,resourceType:d,creativeType:f,Da:e,ea:a,Mb:"default"})}function qY(a){if(a.Tf)return new jY(a);switch(a.Mb){case "image":return new jY(a);case "html":return new iY(a);case "text,":return new mY(a);default:return new hY(a)}} function pY(a){var b=a.find(function(f){return f.xb()==="IFrame"}),c=a.find(function(f){return f.xb()==="Html"}),d=a.find(function(f){var g=f.creativeType;return f.xb()==="Static"&&g!=null&&ZR[g]==="Image"}),e=a.find(function(f){var g=f.creativeType;return f.xb()==="Static"&&g!=null&&ZR[g]==="Text"});return b!=null?b:c!=null?c:d!=null?d:e!=null?e:a[0]};function rY(a,b,c,d,e){var f=pY(e),g=oY({id:a.id,size:a.size,resources:[f],ea:a.ea}),h=function(l){l.o=!0;l.g=b;l.j=c;d&&(l.aa=d);l.Ha=!!a.Ha};h(g);g=qY(g);e.splice(e.indexOf(f),1);var k=[];e.forEach(function(l){l=oY({id:a.id,size:a.size,resources:[l],ea:a.ea});h(l);k.push(new fY(qY(l),[],a.ee))});return new fY(g,k,a.ee)};var sY=function(a,b,c){this.resourceType=a;this.creativeType=b;this.Da=c};sY.prototype.xb=function(){return this.resourceType};sY.prototype.getContentType=function(){return this.creativeType==null?null:ZR[this.creativeType]||"Other"};var tY=function(a,b){BV.call(this,b);this.j=a};q(tY,BV);var uY=function(a){BV.call(this);this.duration=a};q(uY,BV);uY.prototype.getDuration=function(){return this.duration};var vY=function(a){BV.call(this);this.Cb=a};q(vY,BV);vY.prototype.Yc=function(){return this.Cb};var wY=function(a,b,c,d,e,f,g,h,k){BV.call(this,h,k);this.za=a;this.Fb=b;this.Ne=c;this.zc=d;this.j=e;this.uiConfig=f;this.qf=g};q(wY,BV);var xY=function(a,b){BV.call(this);this.j=a;this.offset=b};q(xY,BV);xY.prototype.isSkippable=function(){return this.j};var yY=function(a){BV.call(this);this.j=a};q(yY,BV);var zY=function(a){BV.call(this);this.bg=a};q(zY,BV);var AY=function(a){BV.call(this);this.j=a};q(AY,BV);var BY=function(a){BV.call(this);this.j=a};q(BY,BV);var CY=function(a,b){BV.call(this,b);this.he=a};q(CY,BV);var JW=function(a){var b=[];a=v(a.he);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 DY=function(a,b,c){BV.call(this);this.j=a;this.l=b;this.o=c};q(DY,BV);var EY=function(a,b){BV.call(this);this.j=a;this.l=b};q(EY,BV);var FY=function(a){BV.call(this);this.j=a};q(FY,BV);var GY=function(a){BV.call(this);this.dealId=a};q(GY,BV);GY.prototype.getDealId=function(){return this.dealId};var HY=function(a,b,c,d,e,f,g,h,k){BV.call(this);this.campaignId=b;this.nonce=c;this.networkId=d;this.timestamp=k};q(HY,BV);var IY=function(a,b,c,d,e){e=e===void 0?null:e;BV.call(this);this.l=a;this.A=b;this.j=c;this.o=d;this.C=e};q(IY,BV); IY.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;var g=g===void 0?!1:g;var h;a?h=(g===void 0?0:g)?"//ep1.adtrafficquality.google/bg/"+Cd(a)+".js":"//pagead2.googlesyndication.com/bg/"+Cd(a)+".js":h="";a=g;a=a===void 0?!1:a;g=b.document;var k={};d&&(k._scs_=d);k._bgu_=h;k._bgp_=e;k._li_="v_h.3.709.0";f&&(k._upb_=f);(d=b.GoogleTyFxhY)&&typeof d.push=="function"||(d=b.GoogleTyFxhY=[]);d.push(k);d=Ie(g); d=Te(d.g,"SCRIPT");d.type="text/javascript";d.async=!0;c=(a===void 0?0:a)?Fe(zu,Cd(c)+".js"):Fe(Au,Cd(c)+".js");yd(d,c);(b=(b.GoogleTyFxhYEET||{})[d.src])?b():g.getElementsByTagName("head")[0].appendChild(d)}};var JY=function(a,b,c,d,e,f){BV.call(this);this.Ye=a;this.Ze=b;this.af=c;this.Wa=d;this.imageWidth=e;this.imageHeight=f};q(JY,BV);var KY=function(a){BV.call(this);this.j=a};q(KY,BV);var LY=function(a){BV.call(this);this.j=a};q(LY,BV);LY.prototype.Na=function(){return this.j};var MY=function(a){BV.call(this);this.j=isNaN(a)?-1:a};q(MY,BV);var NY=function(a,b,c,d,e,f,g,h,k,l){k=MV(H(k));hI.call(this,k,{height:h,width:g,Hb:a,mimeType:b,ea:l,bitrate:d,qb:e,maxBitrate:f,codec:c});this.g=yJ(k)};q(NY,hI);NY.prototype.getWidth=function(){return this.width||0};NY.prototype.getHeight=function(){return this.height||0};NY.prototype.getApiFramework=function(){return this.ea};var PY=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,l,n,p){if(l=="%")return"%";var r=c.shift();if(typeof r=="undefined")throw Error("[goog.string.format] Not enough arguments");arguments[0]=r;return OY[l].apply(null,arguments)})},OY={s:function(a,b,c){return isNaN(c)||c==""||a.length>=Number(c)?a:a=b.indexOf("-",0)>-1? a+Id(" ",Number(c)-a.length):Id(" ",Number(c)-a.length)+a},f:function(a,b,c,d,e){d=a.toString();isNaN(e)||e==""||(d=parseFloat(a).toFixed(e));var f=Number(a)<0?"-":b.indexOf("+")>=0?"+":b.indexOf(" ")>=0?" ":"";Number(a)>=0&&(d=f+d);if(isNaN(c)||d.length>=Number(c))return d;d=isNaN(e)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(e);a=Number(c)-d.length-f.length;return d=b.indexOf("-",0)>=0?f+d+Id(" ",a):f+Id(b.indexOf("0",0)>=0?"0":" ",a)+d},d:function(a,b,c,d,e,f,g,h){return OY.f(parseInt(a, 10),b,c,d,0,f,g,h)}};OY.i=OY.d;OY.u=OY.d;var QY=function(a,b){this.j=a;this.U=b};q(QY,fS);QY.prototype.g=function(){var a=this;try{var b=RY(this)}catch(d){throw eV(zS,d);}var c=b.g.map(function(d){d=a.getAd(d);var e=LH(a.j)||0;d.F=e;iV("vl");return d});return new aV(c,null,b.df)}; QY.prototype.getAd=function(a){var b=a.ib,c=null,d=null,e=!1,f=null,g=!1,h=null,k=null;b instanceof DJ?(c=b.yg,d=b.adTitle,f=b.description,h=b.pg):b instanceof yK&&(e=b.jb,g=b.ke,k=b.wg);var l=SY(b.ia,this.U),n=l==null;a:{var p=b.Za;if(F(H(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 dW(a.id||"",b.Za,p,c,d,f,h,this.getDealId(b.ia),a.Oa||0,TY(this,b.g),UY(this,b.j),VY(this,b.ya,l),WY(this,b.ya),XY(this,b.ia,n),a,k,e,g,this.Yc(b.Cb),!l)}; var SY=function(a,b){if(!yU(b))return AE(GF)||AE(HF)||AE(JF)||AE(KF)||AE(IF)?eF(T.getInstance(),"ima_lvp_nss_ycs"):eF(T.getInstance(),"ima_lvp_nss_ncs"),null;if(!(AE(GF)||AE(HF)||AE(JF)||AE(KF)||AE(IF)))return eF(T.getInstance(),"ima_lvp_ncs"),null;eF(T.getInstance(),"ima_lvp_ycs");b=a.find(function(e){return e instanceof LJ});var c=a.find(function(e){return e instanceof bJ});if(!(b instanceof LJ)||c)return eF(T.getInstance(),"ima_lvp_ycs_ns"),null;c=a.find(function(e){return e instanceof AJ});a= a.find(function(e){return e instanceof yI});var d={};return d.channelCustomUrl=b.Fg,d.channelId=b.zd,d.channelThumbnailUrl=b.Ke,d.channelTitle=b.Le,d.cpn=c instanceof AJ?c.o:null,d.format=b.format,d.isSkippable=b.format!=="BUMPER"&&b.format!=="NONSKIPPABLE",d.isTrueView=b.fd,d.isVideoUnlisted=b.ue,d.title=b.uf,d.videoThumbnailUrl=b.sg,d.wtaUrl=a instanceof yI?a.Ac:null,d.youtubeVideoId=b.vd,d.engagedViewUrls=[],d.infoCards=[],d},YY=function(a,b,c){return aY(b)?$X(b,c,a.U):null},TY=function(a,b){var c= [];b.forEach(function(d){(d=YY(a,d,"error"))&&c.push(d)});return c},UY=function(a,b){var c=[];b.forEach(function(d){var e=YY(a,d.url,"impression");e&&c.push(new qE(e,d.g))});return c},WY=function(a,b){var c=[];b.forEach(function(d){d.Me!=null&&(d=a.getCompanionAds(d.Me,d.Oa||0),c.push(d))});return c};QY.prototype.getCompanionAds=function(a,b){var c=this,d=[];a.g.forEach(function(e){(e=ZY(c,e,b))&&d.push(e)});return new bY(d,$Y(a.required))}; var ZY=function(a,b,c){var d={ea:b.ea,size:a.getSize(b.width,b.height),id:b.id,ee:b.ee,Ha:b.Ha},e=b.Ig||null,f=aZ(a,b.resources);if(f.length===0)return null;var g=bZ(a,b.aa);b.Jg.forEach(function(h){pU(g,"click",h.url,null,h.g)});return rY(d,e,c,g,f)},$Y=function(a){a=a!=null?a.toLowerCase():"";return a==="all"?"all":a==="any"?"any":"none"},VY=function(a,b,c){var d=[];b.forEach(function(e){e.rc!=null?d.push(cZ(a,e,c)):e.ff!=null&&(d=d.concat(dZ(a,e)))});return d},cZ=function(a,b,c){var d=b.rc,e=d.pb; e.length>0?eF(T.getInstance(),"ima_lvp_nvs"):eF(T.getInstance(),"ima_lvp_yvs");c&&(e=PY("https://imasdk.googleapis.com/js/simid/simid_trueview_%s.html",aT.getLocale()),e=[new dI(new XH(e,"Url"),{mimeType:"text/html",ea:"SIMID",sf:!1})]);e=new UV(d.duration?d.duration/1E3:0,eZ(d.be),fZ(d.ld),e,gZ(d.dc),hZ(a,d.icons),a.U.appName);var f=bZ(a,d.aa);iZ(d.be).forEach(function(g){pU(f,"click",g.url,null,g.g)});d.be&&d.be.Ef.forEach(function(g){c&&AE(HF)&&g.id==="engagedView"?c.engagedViewUrls.push(g.url): pU(f,g.id?g.id:"",g.url)});c?OV(e,JSON.stringify(c)):e.oa=d.oa||"";e.j=b.Oa||0;e.creativeId=b.id;e.l=b.adId;f&&(e.aa=f);PV(e,a.getUniversalAdIds(b.sb));return e},dZ=function(a,b){var c=b.ff,d=bZ(a,c.aa);c=c.g.map(function(f){return jZ(a,f,d)});if(c.length===0&&!d.isEmpty()){var e=oY({id:null,size:new he(-1,-1),resources:[new sY("",null,"")],ea:""});d&&(e.aa=d);c.push(e)}c.forEach(function(f){f.j=b.Oa||0;f.creativeId=b.id;f.l=b.adId;var g=a.getUniversalAdIds(b.sb);f.sb=g});return c},jZ=function(a, b,c){var d=-1;b.nd!=null&&(d=b.nd/1E3);a=oY({id:b.id,size:a.getSize(b.width,b.height),resources:aZ(a,b.resources),ea:b.ea});a.oa=b.oa||"";a.g=b.xh;var e=new mU;b.yh.forEach(function(f){pU(e,"click",f.url)});rU(e,c);e&&(a.aa=e);a.nd=d;return a},aZ=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.xb(e.resourceType);g==null||c&&g!=="Static"||f==="text/javascript"||d.push(new sY(g,f,e.g))});return d},hZ=function(a,b){var c=[]; b.forEach(function(d){(d=kZ(a,d))&&c.push(d)});return c},kZ=function(a,b){a=aZ(a,b.resources,!0);if(a.length===0)return null;a=pY(a);var c=new AH;c.program=b.program||"";c.ea=b.ea;c.altText=b.altText;c.j=b.width!=null?b.width:NaN;c.g=b.height!=null?b.height:NaN;c.P=b.gg?b.gg:1;c.xPosition=b.xPosition?b.xPosition.toLowerCase():"left";c.yPosition=b.yPosition?b.yPosition.toLowerCase():"top";c.Sa=b.Sa!=null?b.Sa:0;c.Lb=b.Lb!=null?b.Lb:-1;var d=eZ(b.Ue),e;c.o=(e=d==null?void 0:d.url)!=null?e:null;c.C= NH(d);c.B=iZ(b.Ue).map(function(f){return f.url});c.A=lZ(b.Ue);c.L=b.Pf;c.l=a.Da;c.D=a.creativeType;return c},fZ=function(a){var b=[];a.forEach(function(c){c=new NY(c.Hb?c.Hb.toLowerCase():null,c.mimeType?c.mimeType.toLowerCase():null,c.codec?c.codec.toLowerCase():null,c.qb||0,c.qb||0,c.maxBitrate||0,c.width!=null?c.width:NaN,c.height!=null?c.height:NaN,c.url,c.ea);b.push(c)});return b},eZ=function(a){var b;return(b=a==null?void 0:a.Tb)!=null?b:null},iZ=function(a){var b=[];return a==null?b:a.Tc}, lZ=function(a){return(a==null?[]:a.Gg).map(function(b){var c=new zH;c.j=b.width||0;c.g=b.height||0;c.l=b.Ta?b.Ta.g:"";c.altText=b.altText;return c})},bZ=function(a,b){var c=new mU;b.forEach(function(d){var e=YY(a,d.url,d.eventType);if(e){var f=gZ(d.Sa);f==null&&d.we!=null&&(f=new WV(d.we,!0));pU(c,d.eventType,e,f,d.g)}});return c};QY.prototype.xb=function(a){switch(a){case "Static":case "IFrame":case "Html":return a;default:return null}}; var XY=function(a,b,c){var d=new Map;b.forEach(function(e){var f=mZ(a,e);e=f.type;f=f.Bn;if(e!=null&&f!=null&&(c||e!=="InfoCards")){var g=d.get(e);g==null?d.set(e,f):e==="generic"&&CV(g,f.g)}});return d},mZ=function(a,b){var c=null,d=null;if(b instanceof vI)c="activeview",d=new tY(b.g,bZ(a,b.aa));else if(b instanceof OQ)c="wrapper_info",d=new uY(b.duration/1E3);else if(b instanceof GJ)c="adVerifications",b=a.Yc(b.Cb),b.length!==0&&(d=new vY(b));else if(b instanceof $K)c="adx",d=new xY(b.j,gZ(b.g)); else if(b instanceof yI)c="AdSense",d=bZ(a,b.aa),d=new wY(b.za,b.Fb,b.Ne,b.zc,b.Ac,nZ(b.uiConfig),b.qf,d,b.cf);else if(b instanceof aL)c="DFP",d=new EV(b.g==="Generic",bZ(a,b.aa));else if(b instanceof cJ)c="EoidCookieExtension",d=new FV(rH(qH(pH(oH(new nH,b.value),b.g),b.path),b.domain));else if(b instanceof gJ)c=b.j?"GfpCookieV2Extension":"GfpCookieV1Extension",d=new IV(rH(qH(pH(oH(new nH,b.value),b.g),b.path),b.domain));else if(b instanceof AJ)c="GoogleHostedMediaExtension",d=new AY(b);else if(b instanceof CJ)try{var e=Rw(Fd(b.g));d=new BY(e);c="GpidWtaExtension"}catch(g){}else if(b instanceof QQ)c="inred_info",d=new DY(b.g,b.j,b.l);else if(b instanceof EJ)c="metrics",d=new EY(b.g,b.Ka);else if(b instanceof SQ)c="pod",d=new LY(b.Oa);else if(b instanceof HJ)c="programmatic",d=new GY(b.dealId);else if(b instanceof TQ)c="skadnetwork",d=new HY(b.g,b.campaignId,b.nonce,b.networkId,b.l,b.j,b.o,b.A,b.timestamp);else if(b instanceof IJ)c="sodar",d=new IY(b.l,b.o,b.g,"",b.j);else if(b instanceof UQ)c="TextAd", d=new JY(b.Ye,b.Ze,b.af,b.Wa,b.imageWidth,b.imageHeight);else if(b instanceof JJ)c="uiSettings",d=new KY(b.g);else if(b instanceof VQ)c="waterfall",d=new MY(b.g);else if(b instanceof uI)c="generic",d=new BV(bZ(a,b.aa));else if(b instanceof bJ){c="InfoCards";var f=[];b.he.forEach(function(g){return f.push.apply(f,x(g.aa))});d=new CY(b.he,bZ(a,f))}else if(b instanceof dJ)c="esp",d=new GV(b.g);else if(b instanceof PQ)c="watermark",d=new zY(b.bg,b.j,b.g);else if(b instanceof RQ){if(b=kZ(a,b.g))c="nonlinearAta", d=new FY(b)}else if(b instanceof zI){if(b=kZ(a,b.g))c="companionAta",d=new yY(b)}else b instanceof KJ&&(b=kZ(a,b.g))&&(c="vast2Ata",d=new KV(b));return{type:c,Bn:d}};QY.prototype.getUniversalAdIds=function(a){return a.map(function(b){return new HH(b.Rf,b.Qf)})};QY.prototype.Yc=function(a){var b=this,c=[];a.forEach(function(d){if(d.nf!=null){var e=bZ(b,d.aa).getEvents("verificationNotExecuted");c.push(new uH(d.nf,{ud:d.ud||void 0,aa:e,vendor:d.vendor||void 0,parameters:d.parameters||void 0}))}});return c}; var nZ=function(a){var b=new JV;if(a==null)return b;a.za!=null&&(b.za=a.za);b.Fb=a.Fb;b.ge=a.ge;b.Qc=a.Qc;return b};QY.prototype.getDealId=function(a){var b="";a.forEach(function(c){c instanceof HJ&&(b=c.dealId||"")});return b};QY.prototype.getSize=function(a,b){return new he(a!=null?a:NaN,b!=null?b:NaN)}; var gZ=function(a){return a==null?null:new WV(a/1E3,!1)},RY=function(a){var b=new RK;SK(b,new XQ);SK(b,new bR);SK(b,new ZQ);SK(b,new fR);SK(b,new tR);SK(b,new AR);SK(b,new IR);SK(b,new vR);SK(b,new MR);SK(b,new iR);SK(b,new wR);SK(b,new gR);SK(b,new ER);SK(b,new cR);SK(b,new WQ);SK(b,new HR);SK(b,new uR);SK(b,new hR);SK(b,new YQ);SK(b,new aR);SK(b,new eR);SK(b,new CR);SK(b,new DR);SK(b,new FR);SK(b,new GR);SK(b,new JR);SK(b,new KR);SK(b,new LR);SK(b,new dR);var c=a.j;if(!c)throw Error("VAST string is empty."); if(!KH(c))throw Error("Response string is not a valid VAST document.");a=[];var d=[];c=v(Ze(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.Oa=zK(f,"sequence");e.xd=f.getAttribute("adType");f=v(Ze(f));for(var k=f.next();!k.done;k=f.next()){var l=k.value;if(l.nodeName=="InLine"){var n=k=f=g=void 0,p=void 0,r=void 0,t=void 0,u=[],A=[],w=[],E=[];l=v(Ze(l));for(var D=l.next();!D.done;D=l.next()){var G=D.value;switch(G.nodeName){case "AdServingId":t= V(G);break;case "AdSystem":r=V(G);break;case "AdTitle":p=V(G);break;case "AdVerifications":E=E.concat(HK(G));break;case "Advertiser":n=V(G);break;case "Creatives":D=v(Ze(G));for(G=D.next();!G.done;G=D.next())G=G.value,G.nodeName=="Creative"&&w.push(VK(G));break;case "Description":k=V(G);break;case "Error":V(G)!=null&&u.push(V(G));break;case "Extensions":g=TK(h,Ze(G));break;case "Impression":D=LK(V(G));G=EK(G);D!=null&&A.push(new oI(D,G));break;case "Survey":f=V(G)}}g=new DJ({de:t,Za:r,adTitle:p,yg:n, description:k,pg:f,errors:u,cd:A,ya:w,Cb:E,ia:g});break}else if(l.nodeName=="Wrapper"){f=k=g=void 0;n=h;E=l;p=[];r=[];t=[];h=[];u=E.getAttribute("followAdditionalWrappers")!="false";A=E.getAttribute("allowMultipleAds")=="true";w=E.getAttribute("fallbackOnNoAd")=="true";E=v(Ze(E));for(l=E.next();!l.done;l=E.next())switch(D=l.value,D.nodeName){case "AdSystem":f=V(D);break;case "VASTAdTagURI":k=(k=V(D))?k:void 0;break;case "Creatives":l=v(Ze(D));for(D=l.next();!D.done;D=l.next())D=D.value,D.nodeName== "Creative"&&t.push(VK(D));break;case "Error":l=V(D);l!=null&&p.push(l);break;case "AdVerifications":h=h.concat(HK(D));break;case "Extensions":g=TK(n,Ze(D));break;case "Impression":l=LK(V(D)),D=EK(D),l!=null&&r.push(new oI(l,D))}g=new yK({Za:f,ke:u,jb:A,Qi:w,wg:k,errors:p,cd:r,ya:t,Cb:h,ia:g});break}}if(!g)throw Error("Vast Ad contains neither inline nor wrapper data.");a.push(new rI(g,e));break;case "Error":(e=V(f))&&d.push(e)}}gF(["lima_p_ich","lima_p_icu"]);return new xK({ads:a,df:d})};var oZ=function(a,b,c){this.j=a;this.ta=b;this.U=c;this.adsResponse=null;kU.getInstance().report(115,{vmap:!0})};q(oZ,fS);oZ.prototype.g=function(){this.adsResponse||(this.adsResponse=new aV(null,pZ(this),[]));return this.adsResponse}; var pZ=function(a){var b=new YU,c=new TR;UR(c);try{var d=WR(c,a.j)}catch(e){throw eV(qS);}d.g.forEach(function(e){var f=e.j;var g=f.xg;f=f.Ee;g?g=jG(a.ta,g):f?(g=a.ta.clone(),g.adTagUrl=null,g.adsResponse=f,g.C=!0):g=null;g!=null&&(g=qZ(a,e,g),b.add(e.g,[g]))});if($U(b).length===0)throw eV(qS);return b},qZ=function(a,b,c){c=new sU(c);var d=new mU;b.ia.find(function(e){return e instanceof RR})&&(c.g=!0);b.aa.forEach(function(e){var f=e.eventType,g=$X(e.url,f,a.U);g&&aY(g)&&f!=null&&pU(d,e.eventType, g)});c.aa=d;return c};function rZ(a,b,c){if(a!=null){if(a&&a.nodeName==="Playlist")return new gV(a,b);if(VR(a))return new oZ(a,b,c);if(KH(a))return new QY(a,c)}return null};var sZ=function(){hq.apply(this,arguments);this.g=new Set};q(sZ,hq);var tZ=function(a,b){var c=Ev(function(){a.g.delete(c);b.call(a)});a.g.add(c)};sZ.prototype.O=function(){this.g.forEach(function(a){return Fv(a)});this.g.clear()};function uZ(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 TZ(){return/\d+\.\d+\.\d+(-.*)?/.test("1.5.2-google_20241009")}function UZ(){for(var a=["1","5","2"],b=["1","0","3"],c=0;c<3;c++){var d=parseInt(a[c],10),e=parseInt(b[c],10);if(d>e)break;else if(d=0&&(b=b.adEvents);p_.indexOf(a)>=0&&(b=b.mediaEvents);b=b[a];if(!b)throw Error("Unrecognized method name: "+a+".");b.apply(null,x(c))};var u_=function(a,b,c){QZ("AdSession.context",a);this.g=$Z();this.o=a;this.L=!1;var d=this.o.g||void 0;if(!b){b=h_();var e=e===void 0?c_:e;var f=[b,f_(b)?b.top:e_];d&&f.unshift(d);a:{d=v(f);for(var g=d.next();!g.done;g=d.next()){b:{f=b;g=g.value;var h=e;if(!g_(g))try{var k=k_(g);if(k){var l=new d_(k);break b}}catch(n){}l=h(g)?new i_(f,g):null}if(f=l){b=f;break a}}b=null}}this.A=b;this.D=c||new r_;this.P=this.G=this.F=!1;this.l=this.j=null;this.B=!1;this.C={};this.A&&(this.A.g=this.Kn.bind(this)); this.Ea("setClientInfo","1.5.2-google_20241009",this.o.j.name,this.o.j.version,this.g);s_(this,a.B);(a=a.A)&&this.Ea("setContentUrl",a,this.g);t_(this)},v_=function(a){return!!a.A||a.D.g!=null};m=u_.prototype;m.registerSessionObserver=function(a){this.sendMessage("registerSessionObserver",a,this.g)};m.start=function(){this.Ea("startSession",{customReferenceData:this.o.C,underEvaluation:this.o.o},this.g)};m.error=function(a,b){this.Ea("sessionError",a,b,this.g)}; m.Ea=function(a){this.sendMessage.apply(this,[a,null].concat(x(Fa.apply(1,arguments))))};m.sendMessage=function(a,b){var c=Fa.apply(2,arguments);if(this.A){var d=$Z();b&&(this.C[d]=b);c=new VZ(d,"SessionService."+a,"1.5.2-google_20241009",TZ()&&UZ()?c:JSON.stringify(c));this.A.sendMessage(c)}else if(this.D.g!=null)try{this.D.sendMessage(a,b,c)}catch(e){a_("Failed to communicate with SessionInterface with error:"),a_(e)}}; m.Kn=function(a){var b=a.method,c=a.g;a=a.args;if(b==="response"&&this.C[c]){var d=TZ()&&UZ()?a?a:[]:a&&typeof a==="string"?JSON.parse(a):[];this.C[c].apply(this,d)}b==="error"&&window.console&&a_(a)};var s_=function(a,b){b&&(b=b.map(function(c){return c.toJSON()}),a.Ea("injectVerificationScriptResources",b,a.g))},t_=function(a){a.registerSessionObserver(function(b){b.type==="sessionStart"&&(a.P=!0,a.j=b.data.creativeType,a.l=b.data.impressionType);b.type==="sessionFinish"&&(a.P=!1)})}; bG("OmidSessionClient.AdSession",u_);var w_=function(a){QZ("AdEvents.adSession",a);this.j=a.g;try{if(a.F)throw Error("AdEvents already registered.");a.F=!0;a.Ea("registerAdEvents",a.g);this.g=a}catch(b){throw Error("AdSession already has an ad events instance registered");}}; w_.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.Ea("loaded",a,this.j)};bG("OmidSessionClient.AdEvents",w_);var x_=function(a){QZ("MediaEvents.adSession",a);this.j=a.g;try{if(a.G)throw Error("MediaEvents already registered.");a.G=!0;a.Ea("registerMediaEvents",a.g);this.g=a}catch(b){throw Error("AdSession already has a media events instance registered");}};m=x_.prototype;m.start=function(a,b){RZ("MediaEvents.start.duration",a);SZ("MediaEvents.start.mediaPlayerVolume",b);this.g.Ea("start",a,b,this.j)};m.complete=function(){this.g.Ea("complete",this.j)};m.pause=function(){this.g.Ea("pause",this.j)}; m.resume=function(){this.g.Ea("resume",this.j)};m.skipped=function(){this.g.Ea("skipped",this.j)};var y_=function(a,b){QZ("MediaEvents.playerStateChange.playerState",b);a.g.Ea("playerStateChange",b,a.j)},z_=function(a,b){QZ("MediaEvents.adUserInteraction.interactionType",b);a.g.Ea("adUserInteraction",b,a.j)};bG("OmidSessionClient.MediaEvents",x_);var A_=function(a,b,c,d,e){O.call(this);this.ad=a;this.N=b;this.J=c;this.omidAccessModeRules=d;this.U=e;this.qa=this.l=null;this.B=[];this.G=this.X=this.D=this.Z=!1;this.A=this.g=this.F=this.j=null;this.o=new ZJ(this);this.o.listen(this.N,fU,this.ha);this.o.listen(this.N,["adError","streamError"],this.ba)};q(A_,O); var I_=function(a,b,c){var d=B_(a);C_(d);d.length===0?D_(a,"noVerifications"):(b=new n_(b,d,a.U.g),c&&(b.l(c),c=Object.keys(a.omidAccessModeRules).length>0,b.o=!c,kU.getInstance().report(159,{pcp:c})),a.j=new u_(b),iV("sc"),v_(a.j)?(a.F=new w_(a.j),a.g=new x_(a.j),a.j.registerSessionObserver(function(e){if(!E_(a))switch(e.type){case "sessionStart":iV("ss");e=e.data;a.D=!0;F_(a,e==null?void 0:e.creativeType);G_(a,e==null?void 0:e.impressionType);H_(a);break;case "sessionFinish":iV("sf");a.X=!0;a.dispatchEvent(new Cu("omidAdSessionCompleted")); break;case "sessionError":iV("se")}}),a.Z=!0,F_(a),G_(a),a.j.start(),iV("ssa")):(a.j=null,D_(a,"notSupported")))};A_.prototype.ha=function(a){this.G||E_(this)||(a.type!=="firstQuartile"||this.D||iV("bf"),a.type!=="complete"||this.D||iV("bc"),this.B.push(a),H_(this))};A_.prototype.ba=function(a){this.B.push(a);H_(this)};A_.prototype.T=function(){H_(this)}; var J_=function(a){if(!a.G){a.G=!0;var b;(b=a.j)!=null&&b.Ea("finishSession",b.g);Ev(function(){E_(a)||(iV("le"),D_(a,"sessionLingering"))},5E3)}},H_=function(a){if(a.D&&!E_(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 aX){var d=void 0;if(c.F&&c.g)switch(b.type){case "loaded":iV("oml");b=c.F;d=b.loaded;var e=c;c="preroll";e.ad.getAdPodInfo().getPodIndex()<0?c="postroll":e.ad.getAdPodInfo().getPodIndex()>0&&(c="midroll"); var f=e.ad.isSkippable(),g=e.ad.getSkipTimeOffset();e=e.ad;d.call(b,new OZ(f,g,e.ta?e.ta.g==="auto":!1,c));break;case "impression":iV("i");b=c.F;if(!b.g.P)throw Error("Session not started.");d=b.g;if(d.j==="definedByJavaScript")throw Error("Creative type has not been redefined");if(d.l==="definedByJavaScript")throw Error("Impression type has not been redefined");d.L=!0;b.g.Ea("impressionOccurred",b.j);break;case "start":iV("ps");c.g.start(c.ad.getDuration(),c.l==null?0:c.l.getVolume());((d=c.l)== null?0:d.se())&&y_(c.g,"fullscreen");break;case "firstQuartile":b=c.g;b.g.Ea("firstQuartile",b.j);break;case "midpoint":b=c.g;b.g.Ea("midpoint",b.j);break;case "thirdQuartile":b=c.g;b.g.Ea("thirdQuartile",b.j);break;case "complete":c.g.complete();J_(c);break;case "pause":c.g.pause();break;case "resume":c.g.resume();break;case "skip":c.g.skipped();J_(c);break;case "volumeChange":b=b.getAdData();d=c.g;b=b.volume;SZ("MediaEvents.volumeChange.mediaPlayerVolume",b);d.g.Ea("volumeChange",b,d.j);break;case "click":case "videoClicked":z_(c.g, "click");break;case "fullscreen":y_(c.g,"fullscreen");break;case "exitFullscreen":y_(c.g,"normal");break;case "expand":y_(c.g,"expanded");break;case "collapse":y_(c.g,"collapsed");break;case "acceptInvitation":case "acceptInvitationLinear":z_(c.g,"invitationAccept")}}else b instanceof dV&&(d=void 0,b=b.getError(),iV("e"),(d=c.j)==null||d.error("video",b.toString()),J_(c))}},D_=function(a,b){a.A=b;a.dispatchEvent(new Cu("omidAdSessionAbandoned"));iV("ab");a.A==="notSupported"&&K_(a,a.ad.Yc(),"3","notSupported")}, F_=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.L)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.Ea("setCreativeType",a,b.g);b.j=a}},G_=function(a,b){b=b===void 0?null:b;if(a.j&&(!b||b==="definedByJavaScript")){a=a.j;if(a.L)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.Ea("setImpressionType","beginToRender",a.g);a.l="beginToRender"}},E_=function(a){return a.X||a.A!=null}; A_.prototype.getAd=function(){return this.ad}; var B_=function(a){for(var b=[],c=a.ad;c!=null;){var d=OW(c),e=[];d=v(d);for(var f=d.next();!f.done;f=d.next())if(f=f.value,f.ud==="omid")if(f.g==null)K_(a,[f],"3","nullUrl");else{var g=new m_(f.g,f.vendor||void 0,f.parameters||void 0,KZ(a.omidAccessModeRules,f.g));b.push(g);e.push(f)}else K_(a,[f],"2");if(d=c.Db)d.l=e;c=c.ca}return b},K_=function(a,b,c,d){var e=[];b=v(b);for(var f=b.next();!f.done;f=b.next())f=f.value,e=[].concat(x(e),x(f.aa.map(function(g){return vE(g)})));d&&(e=e.map(function(g){g= new P(g);g.g.set("dbg",d);return g.toString()}));eH(a.J,VX(c,a.U));a.J.report("verificationNotExecuted",e)};A_.prototype.O=function(){cK(this.o);gq(this.o);O.prototype.O.call(this)};var C_=function(a){a=a.map(function(b){return[b.j||"",b.g]});kU.getInstance().report(129,{omData:JSON.stringify(a)});iV("oms")};var L_=null,M_=function(){O.call(this);this.A=!0;this.Bh=new l_("Google1","3.709.0");this.j=[];this.qa=this.B=this.g=null;this.o=new ZJ(this)};q(M_,O);var N_=function(){L_==null&&(L_=new M_);return L_};M_.prototype.D=function(){this.A=!1;this.dispatchEvent(new Cu("omidUnavailable"));kU.getInstance().report(128,{status:"disabled",reason:"iframeLoadFailed",description:"The OM SDK iframe failed to load. No measurements can be taken."})}; M_.prototype.tl=function(a,b,c,d,e){var f=this;e=e===void 0?{}:e;iV("omo");var g=new A_(a,b,c,e,d);if(!this.A)return K_(g,a.Yc(),"3","notEnabled"),null;this.o.Md(b,["show_ad","start","adError"],function(h){switch(h.type){case "show_ad":O_(f,g);break;case "start":O_(f,g);break;case "adError":g.D||K_(g,g.getAd().Yc(),"3","A fatal ad error occurred, so no OMID ad session was started.")}});this.o.listen(g,"omidAdSessionAbandoned",function(){P_(!0,g);g.dispose();f.g=null;Q_(f)});this.o.listen(g,"omidAdSessionCompleted", function(){P_(!1,g);g.dispose();f.g=null;Q_(f)});return g};var O_=function(a,b){b.Z||E_(b)||a.j.includes(b)||(a.j.push(b),a.g&&(iV("saa"),J_(a.g)),Q_(a))},Q_=function(a){a.A&&!a.g&&a.j.length!==0&&a.B&&(a.g=a.j.shift(),I_(a.g,a.Bh,a.B))};M_.prototype.l=function(a){this.B=a;Q_(this)};var P_=function(a,b){var c={es:a?"abandon":"complete",ai:b.getAd().getAdId(),qy:b.getAd().Bc};a&&b.A!=null&&(c.ar=b.A);kU.getInstance().report(87,c)};function R_(a,b,c){b=b===void 0?window:b;c=c===void 0?function(){}:c;try{return b.localStorage.getItem(a)}catch(d){return c(d),null}}function S_(a,b,c){var d=window;d=d===void 0?window:d;c=c===void 0?function(){}:c;return b.j()?R_(a,d,c):null}function T_(a,b,c,d){c=c===void 0?window:c;d=d===void 0?function(){}:d;try{return c.localStorage.setItem(a,b),!0}catch(e){d(e)}return!1}function U_(a,b,c,d){var e=window;e=e===void 0?window:e;d=d===void 0?function(){}:d;return c.j()?T_(a,b,e,d):!1} function V_(a,b,c){b=b===void 0?window:b;c=c===void 0?function(){}:c;try{b.localStorage.removeItem(a)}catch(d){c(d)}}function W_(a,b,c){var d=window;d=d===void 0?window:d;c=c===void 0?function(){}:c;b.j()&&V_(a,d,c)};var X_=function(){};X_.getInstance=function(){throw Error("Must be overridden");};var Y_=function(){this.g=0};q(Y_,X_);Y_.re=void 0;Y_.getInstance=function(){return Y_.re?Y_.re:Y_.re=new Y_};function Z_(a,b,c,d){c=c===void 0?null:c;d=d===void 0?{}:d;var e=Y_.getInstance();e.g===0&&(e.g=Math.random()<.001?2:1);e.g===2&&(e={},Tg(Object.assign({},(e.c=String(a),e.pc=String(xg()),e.em=c,e.lid=b,e.eids=Zg(zA).g().join(),e),d),"esp"))};var $_=function(){this.cache={}};$_.prototype.get=function(a,b,c){function d(k){Z_(6,a,k==null?void 0:k.message);e=!0}if(this.cache[a])return{Ua:this.cache[a],success:!0};var e=!1,f="_GESPSK-"+a;b=c?R_(f,window,d):S_(f,b,d);if(e)return{Ua:null,success:!1};if(!b)return{Ua:null,success:!0};try{var g=bw(b);this.cache[a]=g;return{Ua:g,success:!0}}catch(k){var h;Z_(5,a,(h=k)==null?void 0:h.message);return{Ua:null,success:!1}}}; $_.prototype.set=function(a,b,c){function d(g){Z_(7,e,g==null?void 0:g.message)}var e=Xk(a,1),f="_GESPSK-"+e;aw(a);if(c?!T_(f,Am(a),window,d):!U_(f,Am(a),b,d))return!1;this.cache[e]=a;return!0};$_.prototype.remove=function(a,b,c){function d(e){Z_(8,a,e==null?void 0:e.message)}c?V_("_GESPSK-"+a,window,d):W_("_GESPSK-"+a,b,d);delete this.cache[a]};var a0=null;function b0(a,b){a.id=b.id;a.ag=b.ag;a.Li=b.Li};b0(c0,{id:1041,ag:{}});function c0(a,b){if(!a.Ua)return{};a0||(a0=new $_);a0.set(a.Ua,a.Aa,b)&&yj(ak(a.Ua,2))!=null&&Z_(27,Xk(a.Ua,1));return{}};b0(d0,{id:1046,ag:{Zd:void 0}});function d0(a){return{Zd:a.Vr}};b0(e0,{id:1028,ag:{Zd:void 0}});function e0(a){var b=Xk(a.Ua,1);var c=ak(a.Ua,3);c!=null&&(typeof c==="bigint"?Ci(c)?c=Number(c):(c=Ti(64,c),c=Ci(c)?Number(c):String(c)):c=cj(c)?typeof c==="number"?oj(c):kj(c):void 0);c!=null||Z_(35,b);return{Zd:a.Ua}};b0(f0,{id:1050,ag:{Zd:void 0}});function f0(a,b){var c=Xk(a.Ua,1);if(a.signal==null)return Z_(41,c),a.Ua.j(Yv(111)),{Zd:a.Ua};if(typeof a.signal!=="string")return Z_(21,c),{Zd:a.Ua.j(Yv(113))};if(a.signal.length>b)return b={},Z_(12,c,null,(b.sl=String(a.signal.length),b)),c=a.Ua.j(Yv(108)),ck(c,2),{Zd:a.Ua};a.signal.length||Z_(20,c);ck(a.Ua,10);return{Zd:a.Ua}};function g0(a){var b="";a.forEach(function(c,d){F(c)||(b+=d+"="+c+"&")});return b.slice(0,-1)}function h0(a){var b=new P(a);if(b.o)return a;b.j?(IB(b,"https"),a=b.toString()):a="https://"+b;return a};function i0(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);j0===void 0&&(B.Int32Array?j0=new Int32Array(k0):j0=k0);this.reset()}Xa(i0,HB);var l0=[].concat(128,wb(0,63));i0.prototype.reset=function(){this.l=this.j=0;this.g=B.Int32Array?new Int32Array(this.A):rb(this.A)}; var m0=function(a){for(var b=a.o,c=a.B,d=0,e=0;e>>7|d<<25)^(d>>>18|d<<14)^d>>>3)|0)+((c[b-7]|0)+((e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10)|0)|0;b=a.g[0]|0;d=a.g[1]|0;e=a.g[2]|0;for(var f=a.g[3]|0,g=a.g[4]|0,h=a.g[5]|0,k=a.g[6]|0,l=a.g[7]|0,n=0;n<64;n++){var p=((b>>>2|b<<30)^(b>>>13|b<<19)^(b>>>22|b<<10))+(b&d^b&e^d&e)|0,r=(l+((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))|0)+(((g&h^ ~g&k)+(j0[n]|0)|0)+(c[n]|0)|0)|0;l=k;k=h;h=g;g=f+r|0;f=e;e=d;d=b;b=r+p|0}a.g[0]=a.g[0]+b|0;a.g[1]=a.g[1]+d|0;a.g[2]=a.g[2]+e|0;a.g[3]=a.g[3]+f|0;a.g[4]=a.g[4]+g|0;a.g[5]=a.g[5]+h|0;a.g[6]=a.g[6]+k|0;a.g[7]=a.g[7]+l|0},n0=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&&(m0(a),e=0)}else throw Error("message must be string or array");a.j=e;a.l+=c},o0=function(a){var b=[],c=a.l*8;a.j<56?n0(a,l0,56-a.j):n0(a,l0,a.blockSize-(a.j-56));for(var d=63;d>=56;d--)a.o[d]=c&255,c/=256;m0(a);for(d=c=0;d=0;e-=8)b[c++]=a.g[d]>>e&255;return b},k0=[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],j0;function p0(){i0.call(this,8,q0)}Xa(p0,i0);var q0=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];var r0=function(){this.g=(typeof document=="undefined"?null:document)||{cookie:""}},t0=function(){var a=s0;if(!B.navigator.cookieEnabled)return!1;if(!a.isEmpty())return!0;a.set("TESTCOOKIESENABLED","1",{Ek:60});if(a.get("TESTCOOKIESENABLED")!=="1")return!1;a.remove("TESTCOOKIESENABLED");return!0};m=r0.prototype; m.set=function(a,b,c){var d=!1;if(typeof c==="object"){var e=c.Sr;d=c.Ur||!1;var f=c.domain||void 0;var g=c.path||void 0;var h=c.Ek}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:"")}; m.get=function(a,b){for(var c=a+"=",d=(this.g.cookie||"").split(";"),e=0,f;e=0;b--)this.remove(a[b])}; var u0=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;f0&&b.push(c.map(function(d){return d.Ha?"fluid":d.size.width+"x"+d.size.height}).join("|"))});return b.join(",")}function x0(a,b){var c;a=(c=y0(a,b).get("url"))!=null?c:"";c=new Map;var d=b.N;d==null||/[;\r\n]/.test(d)?b.Sb&&(c.set("eoidce","1"),z0(c,a,b)):c.set("eo_id_str",d);return c} function A0(a,b){var c;a=(c=y0(a,b).get("url"))!=null?c:"";c=new Map;if(!aT.isCookiesEnabled())c.set("co","1");else if(b.Zg&&!sT(b.Aa)){var d=b.A,e=d!=null&&!/[;\r\n]/.test(d);e&&c.set("cookie",d);d=b.T;var f=d!=null&&!/[;\r\n]/.test(d);f&&c.set("gpic",d);e&&f||(c.set("cookie_enabled","1"),z0(c,a,b));b=b.Ub;b!=null&&!/[;\r\n]/.test(b)&&c.set("pdopt",b)}return c}function z0(a,b,c){c=c.Wc;var d=null;try{d=(new URL(decodeURIComponent(b))).hostname}catch(e){}d!==c&&a.set("cdm",c)} function B0(a,b){var c=new Map,d=b.P;d>0&&c.set("pvsid",d.toString());c.set("correlator",TT.toString());c.set("scor",UT.toString());if(d=VT.g===null?"":VT.g.toString())c.set("fbidx",d),VT.reset();b.G!=null&&c.set("ppid",b.G);b.Ec!=null&&c.set("submodel",b.Ec);b.J!=null&&c.set("cbidsp",b.J);b.X!=null&&c.set("gblpids",b.X);b.ka!=null&&c.set("pied",b.ka);var e=a.adTagUrl||"";d=new Map;var f=b.ub;f!=null?(e=w0(f),d.set("ciu_szs",e)):e=(new P(e)).g.get("ciu_szs","");cT("audioPosterImageEnabled")&&(f=v0.join(","), e=e===""?f:e+","+f);d.set("ciu_szs",e);e=A0(a,b);f=x0(a,b);!sT(b.Aa)&&aW(hE)&&a.l&&c.set("aos",a.l);return new Map([].concat(x(d),x(C0(a,b)),x(e),x(f),x(c)))} function D0(a,b,c){var d=new Map;d.set("correlator",TT.toString());var e=new P(a.adTagUrl),f=e.g;f.get("description_url","")!==""&&(f=f.get("ad_block",""),f=F(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(x(E0(e,a,c)),x(C0(a,c)),x(A0(a,c)),x(x0(a,c)),x(d)))} function C0(a,b){var c=new Map;c.set("sdkv",QT(b));var d=c.set,e=1;AU(b)&&!b.td&&(e+=4);xU(b)||(e+=1024);!xU(b)&&(e+=64);b.td&&(e+=2147483648);b.Gl&&(e+=4294967296);d.call(c,"sdki",e.toString(16));c.set("ptt",(20).toString());aW(mE)&&c.set("vo",b.bc.toString());b.sa!=null&&c.set("sq",b.sa);b.Fa!=null&&c.set("adk",b.Fa);d=CU(b);d.length>0&&c.set("sdk_apis",d.join(","));if(zU(b)){var f;d="Google1/"+((f=b.Qd)!=null?f:"h.3.709.0")}else d=null;f=d;f!=null&&c.set("omid_p",f);b.da&&c.set("media_url",b.da); aT.D&&c.set("sid",aT.D);b.secureSignals&&!sT(b.Aa)&&c.set("a3p",b.secureSignals);b.ua&&c.set("htps",(10).toString());c.set("nel",MH()?"1":"0");(f=b.Vb)&&c.set("scar",f);b.ih&&c.set("td",(1).toString());f=BG((new P(a.adTagUrl)).g.get("eid",""));F(H(f))||c.set("eid",f);c.set("afvsz",WP(a));f=(new P(a.adTagUrl)).g.get("ctv","");d={};kU.getInstance().report(197,(d.pctv=f,d));f=new Map;b.F?f.set("attmas",b.F):b.o!=null&&f.set("is_lat",b.o?"1":"0");if(!sT(b.Aa)){e=b.deviceId;d=b.Aa;if(d.j){var g=kT(d,"tfcd"); g=g==="0"||g==="false"?(0).toString():fT(g)?(1).toString():""}else g="";(g=g===(1).toString())||(d.j?(d=kT(d,"tfua"),d=d==="0"||d==="false"?(0).toString():fT(d)?(1).toString():""):d="",g=d===(1).toString());d=e&&e!=="00000000-0000-0000-0000-000000000000"&&!g;b.C&&f.set("idtype",b.C);e&&!g&&f.set("rdid",e);if((e=b.Tk)&&!d){f.set("paid",e);if(e=b.kc)g=new p0,n0(g,oh(e)),g=ph(o0(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.Xk;var h=!b.nl;g&&(f.set("paid2",g),f.set("paopt",h?"1":"0"),e&&(g=new p0,n0(g,oh(e)),e=ph(o0(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.Va;g=b.tb;e&&g&&!d&&(f.set("pvid",e),f.set("pvid_s",""+g))}d=new Map;e=b.Z;g=(document.visibilityState||"")==="visible";g!=null&&d.set("vis",g?"1":"2");e!==-1&&d.set("frm", e.toString());vU()&&(e=2,g=C&&rp(C).Zb?!1:Xf(ah().j),!xU(b)&&g&&(e|=2048),d.set("osd",e.toString()));e=b.ha;e!=null&&d.set("ms",e);d.set("sdr","1");d.set("unviewed_position_start","1");d.set("is_amp",b.Mf?"1":"0");(e=MI())&&d.set("hl",e);(e=b.ae)&&d.set("uach",e);e=new Map;g=b.Qd;g!=null&&e.set("js","ima-"+g);g=b.appName;g!=null&&(e.set("an",g),b.sc==="android"&&e.set("msid",g));g=b.Nk;g!=null&&e.set("mv",g+"."+(b.zh||""));g=a.linearAdSlotWidth;h=a.linearAdSlotHeight;e.set("u_so",g==null||h==null? "l":h>g?"p":"l");e.set("ctv",String(DU(b)));g=new Map;F(aT.getPlayerType())||(g.set("mpt",aT.getPlayerType()),F(aT.getPlayerVersion())||g.set("mpv",aT.getPlayerVersion()));h=new Map;BU(b)||h.set("wta","0");if(a instanceof iG&&a.C&&a.adTagUrl!==null){var k=a.adTagUrl;var l=qT(b.Aa);k=eT(k);for(var n=v(dT),p=n.next();!p.done;p=n.next())p=p.value,k[p]==="redundant"&&l.set(p,"redundant")}else l=qT(b.Aa);k=Map;n=[];p=n.concat;h=x(h);var r=new Map;sT(b.Aa)||(F(aT.o)||r.set("adsid",aT.o),F(aT.G)||r.set("pucrd", aT.G),F(aT.F)||r.set("jar",aT.F));h=new k(p.call(n,h,x(r),x(l)));l=new Map;k=b.Qb;(n=b.Bl)&&k&&k>0&&n>k&&(l.set("dlt",k.toString()),l.set("idt",(n-k).toString()));l.set("dt",Ao().toString());a=y0(a,b);b=b.ul||{};return new Map([].concat(x(f),x(d),x(e),x(g),x(b),x(h),x(c),x(a),x(l)))} function E0(a,b,c){var d=new Map,e=ZP(a);AU(c)||(e=YP(e));e.some(function(f){return XP(f)})&&b.nonLinearAdSlotWidth!=null&&b.nonLinearAdSlotHeight!=null&&(b=WP(b),d.set("image_size",b),F(b)&&(e=e.filter(function(f){return!XP(f)})));d.set("ad_type",e.join("_"));b=e.some(function(f){return f==="text"});d.set("num_ads",b?"3":"1");a=CG(a,"t_pyv");F(a)&&(a=b?"allow":"exclude");d.set("t_pyv",a);e.some(function(f){return f==="bumpervideo"||f==="skippablevideo"||f==="standardvideo"||f==="video"})&&(e=Uc("Chromium")>= 6||Uc("Firefox")>=4||$d&&LI(KI,2.3)?43:18,d.set("video_format",e.toString()));return d} function y0(a,b){var c,d=(c=a.adTagUrl)!=null?c:"";c=new P(d);var e;a=(e=a.pageUrl)!=null?e:"";var f;e=(f=VB(c,"url"))!=null?f:"";f=HI(a)?a:e;c=F0(c);c=HI(f)?f:c;c=new P(c);e=new P(b.ba);a=new P(b.g);d="unknown";WB(a,e)?d="flat":WB(c,e)?d="bottom":WB(c,a)&&(d="top");kU.getInstance().report(160,{contentLocation:d});c=new Map;e=b.referrer;F(H(e))||c.set("ref",e);if(HI(f)){c.set("url",f);var g;c.set("top",(g=b.g)!=null?g:"");c.set("loc",b.ba)}else g=c.set,b=b.g&&HI(b.g)?b.g:b.referrer&&HI(b.referrer)? b.referrer:"null",g.call(c,"url",b);return c}function F0(a){var b="";["video_url_to_fetch","description_url","durl"].find(function(c){c=VB(a,c)||"";return HI(c)?(b=c,!0):!1});return b}function G0(a){return a?uG(a)?(a=new P(a),a.g.remove("ctv"),a.toString()):a:null};function H0(){this.g=[];this.j=[]}var I0=function(a){a.g.length===0&&(a.g=a.j,a.g.reverse(),a.j=[])},J0=function(a,b){a.j.push(b)};m=H0.prototype;m.isEmpty=function(){return this.g.length===0&&this.j.length===0};m.clear=function(){this.g=[];this.j=[]};m.contains=function(a){return lb(this.g,a)||lb(this.j,a)}; m.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?(ob(b,c),b=!0):b=!1;return b||nb(this.j,a)};m.Lf=function(){for(var a=[],b=this.g.length-1;b>=0;--b)a.push(this.g[b]);b=this.j.length;for(var c=0;c=4294967296)throw new Z("Number has to be unsigned 32-bit integer.");for(var d=Array(4),e=0;e<4;e++)d[e]=255&a>>8*(4-e-1);b=c.call(b,d);return new Uint8Array(b)},T1=new Uint8Array(0);var U1=function(a,b,c){this.l=a;this.g=b;this.j=c};U1.prototype.Xb=function(){return this.l};var V1=function(a){this.l=a;this.j=null;this.g=new Map};V1.prototype.ob=function(){return this.l};var X1=function(a,b){return(a=W1(a,b))?a:[]},W1=function(a,b){b instanceof Uint8Array&&(b=[].concat(x(b)).toString());return a.g.get(b)};/* Copyright 2022 Google LLC SPDX-License-Identifier: Apache-2.0 */ function Y1(a){return a==null?void 0:new Uint8Array(Kh(a)||0)}function Z1(a){a==null?a=void 0:a=(a=Kh(a))?a.length:0;return a};function $1(){for(var a=0,b=0;bNumber.MAX_SAFE_INTEGER)throw new Z("cannot convert number larger than "+Number.MAX_SAFE_INTEGER);var b=a%4294967296;a/=4294967296;for(var c=new Uint8Array(8),d=7;d>=4;d--)c[d]=b&255,b>>>=8;for(b=3;b>=0;b--)c[b]=a&255,a>>>=8;return c}function b2(a){for(var b="",c=0;c1?d:"0"+d}return b} function c2(a){a=a.replace(/-/g,"+").replace(/_/g,"/");return d2(globalThis.atob(a))}function e2(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=c2(b);b=c2(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]=j2(BigInt("0x"+b2(b)),0)?3:2;return d;default:throw new Y("invalid format");}} function k2(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 l2(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=k2(g2(a));var e=d-BigInt(3);a:switch(g2(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(j2(d,0)&&j2(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 L2=function(a,b){this.key=a;this.Ld=b};L2.prototype.encrypt=function(a){var b=this,c,d,e,f;return z(function(g){if(g.g==1)return J2(a),c=D2(b.Ld),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($1(c,new Uint8Array(f)))})}; L2.prototype.decrypt=function(a){var b=this,c,d,e;return z(function(f){if(f.g==1){J2(a);if(a.length16)throw new Y("invalid IV length, must be at least 12 and at most 16");J2(a);I2(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 L2(c,b))})};var N2=function(){};var O2=function(a,b,c){this.hash=a;this.key=b;this.Yd=c};q(O2,N2);var P2=function(a,b){var c;return z(function(d){if(d.g==1)return J2(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.Yd)))})},Q2=function(a,b,c){var d;return z(function(e){if(e.g==1)return J2(b),J2(c),y(e,P2(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 O2(a,d,c))})};var S2=function(a,b,c,d){this.g=a;this.Ld=b;this.j=c;this.Yd=d};q(S2,G2);S2.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 J2(a),y(g,c.g.encrypt(a),2);if(g.g!=3)return d=g.j,J2(b),e=a2(b.length*8),y(g,P2(c.j,$1(b,d,e)),3);f=g.j;if(c.Yd!=f.length)throw new Y("invalid tag size, expected "+c.Yd+" but got "+f.length);return g.return($1(d,f))})}; S2.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){J2(a);if(a.length16)throw new Y("Invalid AES CTR HMAC key format: IV size is out of range: "+c);return{Zm:a,zg:b,Ld:c}},W2=function(a){if(!a)throw new Y("Invalid AES CTR HMAC key format: key format undefined");var b=Sk(a,2);if(b<16)throw new Y("Invalid AES CTR HMAC key format: HMAC key is too small: "+ Sk(a,2));a=J(a,M0,1);if(!a)throw new Y("Invalid AES CTR HMAC key format: params undefined");var c=Sk(a,2);if(c<10)throw new Y("Invalid HMAC params: tag size "+c+" is too small.");if(!X2.has(Vk(a,1)))throw new Y("Unknown hash type.");if(c>X2.get(Vk(a,1)))throw new Y("Invalid HMAC params: tag size "+c+" is out of range.");switch(Vk(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{Zn:a,Yn:b,Wn:d,Yd:c}},X2=new Map([[1,20],[3,32],[4,64]]), Y2=function(){this.g=new U2};m=Y2.prototype; m.Xb=function(a,b){var c,d,e,f,g,h=this,k,l,n,p,r,t;return z(function(u){if(u.g==1){if(a!=h.ob())throw new Y("Requested primitive type which is not supported by this key manager.");if(b instanceof J1){if(!h.Qe(K(b,1)))throw new Y("Key type "+K(b,1)+" is not supported. This key manager supports "+h.wb()+".");try{k=U0(b.getValue())}catch(D){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 O0)k=b;else throw new Y("Given key type is not supported. This key manager supports "+h.wb()+".");var A=J(k,L0,2);if(!A)throw new Y("Invalid AES CTR HMAC key format: key undefined");K2(A.getVersion(),h.getVersion());var w=new V0;var E=J(A,K0,2);w=Mk(w,1,E);E=Z1(sk(A,3));w=bl(w,2,E);w=V2(w).Ld;f=Y1(sk(A,3));g=w;l=f;n=g;A=J(k,N0,3);if(!A)throw new Y("Invalid AES CTR HMAC key format: key undefined");K2(A.getVersion(),h.getVersion());w=new W0;E=J(A,M0,2);w=Mk(w,1,E);E=Z1(sk(A,3)); w=bl(w,2,E);E=W2(w);w=E.Wn;E=E.Yd;c=Y1(sk(A,3));d=w;e=E;p=c;r=d;t=e;return y(u,T2(l,n,r,p,t),2)}return u.return(u.j)})};m.Qe=function(a){return a===this.wb()};m.wb=function(){return"type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"};m.ob=function(){return G2};m.getVersion=function(){return 0};m.Se=function(){return this.g};var Z2=function(a){var b=a.key;a=a.pd;this.key=b;this.pd=a};Z2.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.pd?$1(a,new Uint8Array(f)):new Uint8Array(f))})}; Z2.prototype.decrypt=function(a,b,c){var d=this,e,f,g,h,k;return z(function(l){if(l.g==1){e=d.pd?28:16;if(b.length5)){k.g=2;break}d=a.subarray(0,5);return y(k,X1(c.g,d),3);case 3:return e=k.j,f=a.subarray(5,a.length),k.l=4,y(k,g3(e,f,b),6);case 6:g=k.j;xa(k,5);break;case 4:ya(k);case 5:if(g)return k.return(g);case 2:return y(k,X1(c.g,T1),7);case 7:return h=k.j,k.return(g3(h,a,b))}})}; var g3=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");}J2(c);J2(d);g=e;if(e==null||g===void 0||g.length==0)g=new Uint8Array(f); J2(g);return y(u,R2(b,g,f),2);case 2:return h=u.j,y(u,P2(h,c),3);case 3:return k=u.j,y(u,R2(b,k,f),4);case 4:h=u.j,l=1,n=0,p=new Uint8Array(0),r=new Uint8Array(a);case 5:return t=new Uint8Array(p.length+d.length+1),t.set(p,0),t.set(d,p.length),t[t.length-1]=l,y(u,P2(h,t),8);case 8:p=u.j;if(n+p.length>8*(a-d-1)&255;return c}function L3(a){var b=a.Jd;var c=a.Id;return $1(K3,a.Jb,d2(b),c)}function M3(a){var b=a.qe;var c=a.info;var d=a.Jb;return $1(C3(2,a.length),K3,d,d2(b),c)}function N3(a){switch(a){case 2:return 1;case 4:return 3;default:throw new Z("Unrecognized NIST HPKE KEM identifier");}} function O3(a,b){var c;return z(function(d){return d.g==1?(c=m2(a,1,b),y(d,q2(c),2)):d.return(d.j)})}function caa(a){var b=a.zi;var c=a.publicKey;var d=a.privateKey;var e;return z(function(f){return f.g==1?(e=m2(b,1,c),e.d=e2(d),y(f,r2(e),2)):f.return(f.j)})}function P3(a){var b,c;return z(function(d){if(d.g==1)return b=a.algorithm,y(d,p2(a),2);c=d.j;if(!c.crv)throw new Y("Curve has to be defined.");return d.return(h2(b.namedCurve,1,c))})};var Q3=function(a,b,c,d){this.Ji=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 S3(a,b,c,d,e,f){var g,h,k,l,n,p,r,t,u;return z(function(A){switch(A.g){case 1:a:{switch(e.hh){case 16:var w=I3;break a;case 32:w=J3;break a}w=void 0}a:{switch(d.Xg){case "SHA-256":var E=G3;break a;case "SHA-512":E=H3;break a}E=void 0}g=$1(baa,T3(c),E,w);h=U3(d,{Id:new Uint8Array(0),Jd:"psk_id_hash",Jb:g});return y(A,U3(d,{Id:f,Jd:"info_hash",Jb:g}),2);case 2:return k=A.j,y(A,h,3);case 3:return l=A.j,n=$1(D3,l,k),y(A,U3(d,{Id:new Uint8Array(0),Jd:"secret",Jb:g,salt:b}),4);case 4:return p= A.j,r=V3(d,{Rk:p,info:n,qe:"key",Jb:g,length:e.hh}),y(A,V3(d,{Rk:p,info:n,qe:"base_nonce",Jb:g,length:12}),5);case 5:return t=A.j,y(A,r,6);case 6:return u=A.j,A.return(new Q3(a,u,t,e))}})}function daa(a,b,c,d,e){var f,g,h;return z(function(k){return k.g==1?y(k,b.Ii(a),2):k.g!=3?(f=k.j,g=f.Ji,h=f.Wo,y(k,S3(g,h,b,c,d,e),3)):k.return(k.j)})}function eaa(a,b,c,d,e,f){var g;return z(function(h){return h.g==1?y(h,c.Ai(a,b),2):h.g!=3?(g=h.j,y(h,S3(a,g,c,d,e,f),3)):h.return(h.j)})};var W3=function(a,b){this.privateKey=a;this.publicKey=b},X3=function(a){return z(function(b){return b.g==1?y(b,P3(a.publicKey),2):b.return(b.j)})}; function faa(a){var b=a.privateKey;var c=a.publicKey;var d=a.zi;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,O3(f2(d),c),2)}if(g.g!=3)return e=g.j,y(g,caa({zi:f2(d),publicKey:c,privateKey:b}),3);f=g.j;return g.return(new W3(f,e))})}function gaa(a){return z(function(b){Y3(a.privateKey,"private");Y3(a.publicKey,"public");return b.return(new W3(a.privateKey,a.publicKey))})} function Y3(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 Z3=function(a){this.hh=a};Z3.prototype.seal=function(a){var b=a.key;var c=a.nonce;var d=a.Lo;var e=a.ji;var f=this,g;return z(function(h){if(h.g==1){if(b.length!==f.hh)throw new Y("Unexpected key length: "+b.length.toString());return y(h,$2({key:b,pd:!1}),2)}return h.g!=3?(g=h.j,y(h,g.encrypt(c,d,e),3)):h.return(h.j)})}; Z3.prototype.open=function(a){var b=a.key;var c=a.nonce;var d=a.ln;var e=a.ji;var f=this,g;return z(function(h){if(h.g==1){if(b.length!==f.hh)throw new Y("Unexpected key length: "+b.length.toString());return y(h,$2({key:b,pd:!1}),2)}g=h.j;return h.return(g.decrypt(c,d,e))})};var $3=function(a){this.Xg=a},U3=function(a,b){var c=b.Id;var d=b.Jd;var e=b.Jb;var f=b.salt;return z(function(g){return g.g==1?y(g,a4(a,L3({Jd:d,Id:c,Jb:e}),f),2):g.return(g.j)})},V3=function(a,b){var c=b.Rk;var d=b.info;var e=b.qe;var f=b.Jb;var g=b.length;return z(function(h){return h.g==1?y(h,a.expand(c,M3({qe:e,info:d,Jb:f,length:g}),g),2):h.return(h.j)})},haa=function(a,b){var c=b.Id;var d=b.Jd;var e=b.info;var f=b.qe;var g=b.Jb;var h=b.length;var k=b.salt;var l;return z(function(n){return n.g== 1?y(n,a4(a,L3({Jd:d,Id:c,Jb:g}),k),2):n.g!=3?(l=n.j,y(n,a.expand(l,M3({qe:f,info:e,Jb:g,length:h}),h),3)):n.return(n.j)})}; $3.prototype.expand=function(a,b,c){var d=this,e,f,g,h,k,l,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=b4(d);if(c>255*e)throw new Y("length too large");J2(b);return y(p,R2(d.Xg,a,e),2);case 2:f=p.j,g=1,h=0,k=new Uint8Array(0),l=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,P2(f,n),6);case 6:k=p.j;if(h+k.length25)a.A=!0},touchend:function(b){return void raa(a,b)}},Ib(a.G,function(b,c){a.g.addEventListener(c,b,!1)})):a.J.listen(a.g,"click",a.Z)},B4=function(a){a.J.xa(a.g,"click",a.Z);Ib(a.G,function(b,c){this.g.removeEventListener(c,b,!1)},a);a.G={}},raa=function(a,b){!a.D||a.j!==1||a.A||a.N||a.B||!C4(a,b.changedTouches)||(a.l=window.setTimeout(function(){return void D4(a)},300));a.j=b.touches.length;a.j===0&&(a.D=!1,a.A=!1,a.o=[]);a.N=!1};A4.prototype.Z=function(){D4(this)}; var C4=function(a,b){for(var c=0;cc||a.getDuration()===0;a.j&&(d.F=NQ(a.j)||"");c=bT();XS(c,"disableSkipFadeTransition")&& (d.Sh=0);c=NW(a);if(I4(c)){var l;c=((l=lW(a).get("GpidWtaExtension"))!=null?l:[])[0];d.L=c==null?void 0:c.j}if(a=(lW(a).get("watermark")||[]).pop())d.D={bg:a.bg};return d}function I4(a){return a.some(function(b){return b.program==="GoogleWhyThisAd"})}function xaa(a){a.forEach(function(b){if(b.program==="GoogleWhyThisAd"||b.program==="AdChoices")b.xPosition="left",b.yPosition="top",b.j=20,b.g=20})} function yaa(a,b){var c=46;b&&(c=Math.ceil(Math.sqrt(b.width*b.height*.001)));a.forEach(function(d){d.program==="GoogleWhyThisAd"&&(d.j=0};var J4=function(a){O.call(this);this.H=a;this.qa=this.j=this.g=null};q(J4,O);J4.prototype.l=function(){this.j=window.performance?window.performance.now():null};J4.prototype.o=function(){if(this.j!==null){var a=performance.now()-this.j;kU.getInstance().report(175,{latency:a});this.j=null}};var K4=function(a,b){Cu.call(this,"vpaidEvent");this.l=a;this.g=b};q(K4,Cu);function L4(a){var b=a instanceof dW?a.j:a;if(a instanceof dW){if(KW(a)||hW(a))return!1;for(var c=!1;a!=null;){var d=kW(a,"uiSettings");if(d!=null)if(d.j)a.ca==null&&(c=!0);else return!1;a=a.ca}if(!c)return!1}return!(xQ(b)!=null||wQ(b)!=null)&&!(b instanceof IH&&GQ(b))};var M4=function(){iO.apply(this,arguments)};q(M4,iO);var zaa=function(a){var b=a.Jk;a=a.margin;var c='
';b=Math.max(0,Math.ceil(b-0));for(var d=0;d
';return OC(c+"
")},Aaa=function(){return OC('
')};var N4=function(){gP.call(this);this.element=xD(Aaa);this.j=Le("fullSlotContentContainer",this.element);this.l=Le("fullSlotBottomBar",this.element)};q(N4,iP);var O4=function(a,b){a.l&&b.element&&a.l.appendChild(b.element)},Baa=function(a,b){a.j&&b.element&&a.j.appendChild(b.element)};var P4=function(a,b,c,d,e,f,g){M4.call(this,b);this.l=a;this.na=c;this.uiConfig=d;this.za=e;this.A=f;this.C=g;this.o=[];this.g=0;this.view=new N4;this.j=new ZJ(this)};q(P4,M4);m=P4.prototype; m.build=function(){var a=this;jP(this.view,this.na);this.l.forEach(function(d,e){d=kY(d,a.uiConfig);a.o.push(d);var f=JP(d);f!=null&&a.j.listen(f,"click",function(g){g.stopPropagation();hL(a.I,ZL,null)});new tO(d,a.I,rM);a.j.listen(d,"click",function(){a.g=e});Baa(a.view,d)});if(this.A){var b=new OP({Zf:!0,Lh:!0,Kc:cT("promoskip")});O4(this.view,b);b=new IO(b,this.I,5);N(this,b);b=new nP;O4(this.view,b);new EO(b,this.I);b=new kP;new nO(b,this.I,ZL);b.l(this.za);O4(this.view,b);b.show();if(this.C){var c= new PP(!0);new nO(c,this.I,CM);hP(b,c)}}UN(this.view.element,.3).play();hL(this.I,tM,null)};m.O=function(){Ye(this.view.va());M4.prototype.O.call(this)};m.ce=function(){return this.view.j};m.show=function(){};m.fa=function(){};m.ne=function(){return this.l[this.g]};m.Jf=function(){return this.o[this.g]};var Q4=function(a,b){gP.call(this);var c=this;this.D=b;this.l=this.o=null;this.B=!1;this.element=xD(zaa,{Jk:a,margin:(57-10*a)/a});this.j=Le("innerContainer",this.element);this.A=Array.from((this.element||document).querySelectorAll(".overlaySelector"));this.A.forEach(function(d,e){c.g.listen(d,"click",function(f){c.select(e);f.stopPropagation()})});this.select(0);this.g.listen(this.element,"mouseover",function(){c.dispatchEvent("mouseover")});this.g.listen(this.element,"mouseout",function(){c.dispatchEvent("mouseout")})}; q(Q4,iP);Q4.prototype.Ae=function(a){this.B=a;this.l&&this.l.Ae(a)};Q4.prototype.select=function(a){this.o!=null&&qC(this.A[this.o],"active");oC(this.A[a],"active");this.o=a;this.D(a)};var Caa=function(a,b){if(a.l){var c;(c=a.j)==null||c.removeChild(a.l.va());a.g.xa(b,"click")}a.l=b;a.l.Ae(a.B);var d;(d=a.j)==null||d.appendChild(b.element);a.g.listen(b,"click",function(e){a.dispatchEvent(e);e.stopPropagation()})};m=Q4.prototype;m.el=function(a){RN(this.j,"opacity "+a/1E3+"s")}; m.show=function(){Pf(this.j,!0)};m.fa=function(){Pf(this.j,!1)};m.Kj=function(){Of(this.j,1)};m.qk=function(){Of(this.j,.3)};var R4=function(a,b,c,d){M4.call(this,b);var e=this;this.C=a;this.na=c;this.uiConfig=d;this.l=[];this.g=null;this.j=-1;this.A=new ZJ(this);this.o=new Dv(15E3);this.view=new Q4(a.length,function(f){e.select(f)})};q(R4,M4);m=R4.prototype; m.build=function(){var a=this;jP(this.view,this.na);new wO(this.view,this.I,!1);new tO(this.view,this.I,rM);this.l=this.C.map(function(b){var c=kY(b,a.uiConfig),d=JP(c);d!=null&&a.A.listen(d,"click",function(e){e.stopPropagation();hL(a.I,ZL,null)});d=new yP;new qO(d,a.I,gM);hP(c,d);b.Ac&&(b=new PP(!0),new nO(b,a.I,CM),hP(c,b));return c});this.select(0);this.g=new NP;new FO(this.g,this.I,gM);hP(this.view,this.g);gL(this.I,gM,function(){return void a.stop()});gL(this.I,xM,function(){return void a.play()}); this.A.listen(this.o,"tick",this.im);this.play()};m.O=function(){Ye(this.view.va());M4.prototype.O.call(this)};m.play=function(){this.o.start()};m.stop=function(){this.o.stop()};m.im=function(){this.view.select((this.j+1)%this.l.length)};m.select=function(a){a!==this.j&&this.l[a]&&(Caa(this.view,this.l[a]),this.j=a,hL(this.I,tM,null))};m.ce=function(){var a=this.Jf();return a?a.va():null};m.Jf=function(){return this.l[this.j]};m.show=function(){this.view&&this.view.show();this.g&&this.g.fa()}; m.fa=function(){this.view&&this.view.fa();this.g&&this.g.show()};m.ne=function(){return this.C[this.j]};var Daa=function(a){this.I=a},Eaa=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})},Faa=function(a,b){var c=Qe().screen;if(c){var d=c.availWidth||c.width,e=c.availHeight||c.height,f=new ge(0,e),g=Number.MAX_VALUE,h=null;b.forEach(function(k,l){l=a[l];if(l.B){var n=new ge(Pd(BH(k,d)),Pd(CH(k,e)));k=f.x-n.x;n=f.y-n.y;k=Math.sqrt(k*k+n*n);g>k&&(h=l,g=k)}});h!=null&&(b=h.va(),b!=null&&b.focus())}};var S4=function(a,b,c,d){jO.call(this,b);var e=this;this.A=d;this.j=new fL;new MO(a,this.j,c,!1);gL(this.j,AM,function(){e.A.show()});kO(this,IM,this.l,this)};q(S4,jO);S4.prototype.l=function(a){hL(this.j,IM,a)};var T4=function(a,b){jO.call(this,b);var c=this;this.view=a;N(this,this.view);this.g.listen(this.view.j,"wtaClicked",function(d){d=d.detail;d.underlyingEvent.preventDefault();lO(c,VL,d.wtaUrl)});this.g.listen(this.view.j,"learnMoreClicked",function(d){d=d.detail;d.underlyingEvent.preventDefault();lO(c,VL,d.learnMoreUrl)});this.g.listen(this.view.j,"updateGpid",function(d){d=d.detail;lO(c,WL,new XL(d.gpidType,d.gpidPersonalizationEnabled,d.gpidShouldResetAdsData))});this.g.listen(this.view.j,"p-control-panel-hidden", function(){return void lO(c,UL,null)});kO(this,EM,function(d){d||c.fa()},this)};q(T4,jO);T4.prototype.show=function(){this.view.show();lO(this,TL,null)};T4.prototype.fa=function(){this.view.fa()};var U4=function(a){gP.call(this);this.element=Te(document,"div");this.element!==null&&(this.element.id="ima_"+a)};q(U4,gP);var Gaa=function(){return OC('')};var V4=function(a){gP.call(this);var b=this;this.o=this.l=!1;this.element=xD(Gaa);var c;(c=J(a,ek,1))!=null&&dl(c,40,"https://support.google.com/ads/answer/10923348");if(!a)throw Error("bad attrdata");c=new rC(a);this.j=new TD(a,c);this.g.listen(this.j,"p-control-panel-hidden",function(){b.l=!1})};q(V4,iP);V4.prototype.show=function(){this.l||(this.o||(this.j.render(),this.o=!0),this.j.expand(),this.l=!0)};V4.prototype.fa=function(){this.l&&(this.j.collapse(),this.l=!1)};var W4=function(a,b,c,d,e,f,g){f=f===void 0?!1:f;iO.call(this,b);var h=this;this.g=a;this.na=c;this.o=d;this.G=e;this.j=f;this.da=g;this.D=this.B=!1;this.A=[];this.C=!1;this.l=null;this.view=new oP([this.g.F],this.g.A?"videoAdUiTopBar-gvn":"videoAdUiTopBarWithGradients",!this.g.g,this.j);tP(this.view,!this.j&&(!NI()||!1));this.F=new ZJ(this);N(this,this.F);document.addEventListener("click",function(k){var l=h.view.va().getBoundingClientRect();l.bottomk.clientY|| l.left>k.clientX||(U(T.getInstance(),"ctie",k.target instanceof Element?"1":"0"),T.getInstance().recordClick("clk",k.clientX-l.left,k.clientY-l.top,k.target instanceof Element?k.target:void 0),T.getInstance().j())},!0);this.J=new Daa(b)};q(W4,iO);m=W4.prototype; m.build=function(){var a=this;jP(this.view,this.na);pP(this.view);iq(this,function(){return Ye(a.view.va())});this.g.Ka&&hP(this.view,new U4(this.g.Ka));if(this.g.isSkippable()){gL(this.I,zM,function(){a.B=!0});var b=new OP({Zf:!0,Lh:!0,Sh:this.g.Sh,Kc:cT("promoskip")});sP(this.view,b);var c=new IO(b,this.I,this.g.C);N(this,c);this.o&&b.fa()}if(this.g.j&&!this.o){var d=new lP(this.j);this.j?sP(this.view,d):this.g.A?(rP(this.view,d),qP(this.view)):sP(this.view,d);d.j&&d.j.parentElement&&(d.j.parentElement.tabIndex= -1);this.g.l?new EO(d,this.I):d.show()}this.g.B&&(b=new PP(!0),new nO(b,this.I,CM),this.j?sP(this.view,b):d?hP(d,b):this.g.A?rP(this.view,b):sP(this.view,b));this.j&&(d=new MP,DO(new CO(d,this.I)),xP(this.view,d),gL(this.I,EM,function(e){a.C&&(uP(a.view,!e),vP(a.view,!e))}));if(this.j||this.g.o&&!this.o)d=new AP("author"),new oO(d,this.I,eM,PL),rP(this.view,d),d=new kP,new oO(d,this.I,fM,SL),this.j?wP(this.view,d):rP(this.view,d),d=new mP,new oO(d,this.I,$L,QL),this.j?wP(this.view,d):rP(this.view, d),gL(this.I,PL,function(){return void qP(a.view)}),gL(this.I,SL,function(){return void qP(a.view)}),gL(this.I,QL,function(){return void qP(a.view)});this.j?new vO(this.view,this.I,!0):this.o||(d=aM,this.g.g||!this.g.G?d=DM:new mO(this.view,!0),this.G?new tO(this.view,this.I,d):(new nO(this.view,this.I,d),this.view.Ae(!0)));this.g.icons.forEach(function(e){var f=null;if(a.g.L&&e.program==="GoogleWhyThisAd"){f=new AP("vast");var g=new V4(a.g.L);jP(g,a.na);iq(a,function(){return Ye(g.va())});var h= new T4(g,a.I);new S4(f,a.I,e,h)}else f=cT("force_wta_top_left")?new AP("freeplayWta"):new AP("vast"),new MO(f,a.I,e,a.da.og);BP(f,e.g,e.j);hP(a.view,f);a.A.push(f)});this.j?(this.l=new DP,new oO(this.l,this.I,oM,RL)):(this.l=new EP,new nO(this.l,this.I,oM));this.g.D!=null&&(d=new zP(this.g.D),new uO(d,this.I),xP(this.view,d));gL(this.I,IM,function(e){!a.j&&e&&e.durationSeconds>0&&e.durationSeconds-e.currentTimeSeconds<5&&tP(a.view,!1);a.j&&!a.C&&e&&e.currentTimeSeconds>5&&(a.C=!0,uP(a.view,!0),vP(a.view, !0))});gL(this.I,lM,function(){var e=a.J,f=a.A,g=a.g.icons,h=a.g.isSkippable();Eaa(f)||(h?hL(e.I,mM,null):Faa(f,g))});this.gf()};m.hf=function(){this.B&&hL(this.I,YL,null)};m.Ch=function(){!this.D&&this.g.o&&!this.o&&this.g.g&&this.l&&(this.D=!0,rP(this.view,this.l),qP(this.view))};m.gf=function(){var a=this,b=Lf(this.view.va()),c=b.height;cT("force_wta_top_left")&&(c=c-16-20-2);this.g.icons.forEach(function(d,e){a.g.icons.length===a.A.length&&CP(a.A[e],BH(d,b.width),CH(d,c))})};m.getConfig=function(){return this.g};var X4=function(a,b,c,d,e,f,g,h){g=g===void 0?!1:g;iO.call(this,c);this.g=new W4(b,c,d,e,f,g,h);this.j=new P4([a],c,d,new JV,"",!1,!1)};q(X4,iO);m=X4.prototype;m.build=function(){this.g.build();this.j.build()};m.hf=function(){this.g.hf()};m.Ch=function(){this.g.Ch()};m.gf=function(){this.g.gf()};m.getConfig=function(){return this.g.getConfig()};m.O=function(){this.g.dispose();this.j.dispose()};var Y4=function(a,b,c,d){iO.call(this,a);this.na=b;this.g=c;this.l=d;this.j=null;this.view=new oP(["videoAdUiInstreamUxRefresh","endcap"],"",!0,!0)};q(Y4,iO); Y4.prototype.build=function(){jP(this.view,this.na);pP(this.view);this.j=new OP({Zf:!0,Lh:!0,Kc:cT("promoskip")});sP(this.view,this.j);new IO(this.j,this.I,0);var a=new DP(this.g.actions[0].title);new nO(a,this.I,kM);rP(this.view,a);a=new kP;var b;if((b=this.g.wd)==null?0:b.oc)a.l(this.g.wd.oc),a.show();new nO(a,this.I,kM);xP(this.view,a);b=new mP;var c;if((c=this.g.wd)==null?0:c.description)b.l(this.g.wd.description),b.show();xP(this.view,b);new nO(b,this.I,kM);c=new AP("author");var d;if(b=((d= this.g.wd)==null?void 0:d.Wa)||this.l)c.l(b),c.show();new nO(c,this.I,kM);rP(this.view,c);qP(this.view)};var Haa=function(a){var b;(b=a.j)!=null&&b.j&&b.j.focus()};Y4.prototype.O=function(){Ye(this.view.va());this.view.dispose();iO.prototype.O.call(this)};var Z4=function(a){gP.call(this);this.element=Se("DIV","nonLinearContainer");a&&oC(this.element,"autoalign")};q(Z4,iP);var $4=function(a,b,c,d,e,f){M4.call(this,b);this.l=a;this.na=c;this.j=this.g=null;this.o=new ZJ(this);N(this,this.o);this.view=new Z4(d);this.A=e;this.uiConfig=f};q($4,M4);m=$4.prototype; m.build=function(){var a=this;jP(this.view,this.na);iq(this,function(){return Ye(a.view.va())});this.g=kY(this.l,this.uiConfig);var b=JP(this.g);b!=null&&this.o.listen(b,"click",function(c){c.stopPropagation();hL(a.I,ZL,null)});b=this.l.getMinSuggestedDuration()*1E3;new wO(this.g,this.I,!0,b);new tO(this.g,this.I,rM);hP(this.view,this.g);this.A&&(b=new yP,new qO(b,this.I,gM),hP(this.g,b),this.j=new NP,new FO(this.j,this.I,sM),hP(this.view,this.j));this.l.Ac&&(b=new PP(!0),new nO(b,this.I,CM),hP(this.g, b));hL(this.I,tM,null)};m.ce=function(){return this.g?this.g.va():null};m.show=function(){this.j&&this.j.fa();this.g&&this.g.show()};m.fa=function(){this.j&&this.j.show();this.g&&this.g.fa()};m.ne=function(){return this.l};m.Jf=function(){return this.g};function a5(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);Ne(a,c)};var b5=function(a,b,c,d,e,f){hq.call(this);this.o=a;this.status=1;this.l=b;this.j=c;this.G=d;this.Xe=!!e;this.A=Math.random();this.C={};this.g=null;this.B=Ta(this.F,this);this.uc=f};q(b5,hq); b5.prototype.F=function(a){if(!(this.j!=="*"&&a.origin!==this.j||!this.Xe&&a.source!=this.l)){var b=null;try{b=JSON.parse(a.data)}catch(c){}if(Oa(b)&&(a=b.i,b.c===this.o&&a!=this.A)){if(this.status!==2)try{this.status=2,c5(this),this.g&&(this.g(),this.g=null)}catch(c){}a=b.s;b=b.p;if(typeof a==="string"&&(typeof b==="string"||Oa(b))&&this.C.hasOwnProperty(a))this.C[a](b)}}};var c5=function(a){var b={};b.c=a.o;b.i=a.A;a.uc&&(b.e=a.uc);a.l.postMessage(JSON.stringify(b),a.j)}; b5.prototype.D=function(){if(this.status===1){try{this.l.postMessage&&c5(this)}catch(a){}window.setTimeout(Ta(this.D,this),50)}};b5.prototype.connect=function(a){a&&(this.g=a);Sf(window,"message",this.B);this.G&&this.D()};var d5=function(a,b,c){a.C[b]=c},e5=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){}};b5.prototype.O=function(){this.status=3;Tf(window,"message",this.B);hq.prototype.O.call(this)};var f5=function(a){this.uid=a;this.l=null;this.A=this.status=0;this.g=null;this.G="sfchannel"+a};f5.prototype.Ia=function(){return this.status===1};var Iaa=function(a){var b={};ab(a,function(c){b[c.g()]=c.j()});return b};var Jaa=function(a,b,c,d,e,f){this.o=c;this.A=e;this.C=f;this.l=a.clone();this.j=b.clone();this.g=d.clone()},g5=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})},h5=function(a){var b= b||window;var c=b.screenX||b.screenLeft||0,d=b.screenY||b.screenTop||0;b=new tf(d,c+(b.outerWidth||document.documentElement.clientWidth||0),d+(b.outerHeight||document.documentElement.clientHeight||0),c);c=Gf(a);d=Kf(a);var e=new wf(c.x,c.y,d.width,d.height);c=xf(e);d=String(Df(a,"zIndex"));var f=new tf(0,Infinity,Infinity,0);for(var g=Ie(a),h=g.g.body,k=g.g.documentElement,l=Pe(g.g);a=Ff(a);)if((!Wd||a.clientHeight!=0||a!=h)&&a!=h&&a!=k&&Df(a,"overflow")!="visible"){var n=Gf(a),p=new ge(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=l.scrollLeft;l=l.scrollTop;f.left=Math.max(f.left,a);f.top=Math.max(f.top,l);g=Oe(g.g.defaultView||window);f.right=Math.min(f.right,a+g.width);f.bottom=Math.min(f.bottom,l+g.height);l=(f=(f=f.top>=0&&f.left>=0&&f.bottom>f.top&&f.right>f.left?f:null)?new wf(f.left,f.top,f.right-f.left,f.bottom-f.top):null)?yf(e,f):null;g=a= 0;l&&!l.getSize().isEmpty()&&(a=l.width/e.width,g=l.height/e.height);l=new tf(0,0,0,0);if(h=f)(e=yf(e,f))?(k=xf(f),n=xf(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&&(l=new tf(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 Jaa(b,c,d,l,a,g)};var i5=function(a){this.g=a};i5.prototype.getValue=function(a,b){a=this.g[a];if(a==null)return null;b=a[b];return b===null||b===void 0?null:b};var Kaa=function(a,b){this.Og=a;this.Pg=b;this.j=this.g=!1};var Laa=function(a,b,c,d,e,f,g,h){h=h===void 0?[]:h;this.uid=a;this.D=b;this.B=c;this.permissions=d;this.metadata=e;this.g=f;this.Xe=g;this.hostpageLibraryTokens=h;this.uc=""};function j5(a){return typeof a==="number"||typeof a==="string"}var k5=function(a,b){this.uid=a;this.uc=b};k5.prototype.g=function(a){this.uc&&a&&(a.sentinel=this.uc);return JSON.stringify(a)};var l5=function(a,b,c){k5.call(this,a,c===void 0?"":c);this.version=b};q(l5,k5);l5.prototype.g=function(){return k5.prototype.g.call(this,{uid:this.uid,version:this.version})};var m5=function(a,b,c,d){k5.call(this,a,d===void 0?"":d);this.l=b;this.j=c};q(m5,k5); m5.prototype.g=function(){return k5.prototype.g.call(this,{uid:this.uid,initialWidth:this.l,initialHeight:this.j})};var E5=function(a,b,c){k5.call(this,a,c===void 0?"":c);this.description=b};q(E5,k5);E5.prototype.g=function(){return k5.prototype.g.call(this,{uid:this.uid,description:this.description})};var F5=function(a,b,c,d){k5.call(this,a,d===void 0?"":d);this.expand=b;this.push=c};q(F5,k5); F5.prototype.g=function(){return k5.prototype.g.call(this,{uid:this.uid,expand_t:this.expand.top,expand_r:this.expand.right,expand_b:this.expand.bottom,expand_l:this.expand.left,push:this.push})};var G5=function(a,b){k5.call(this,a,b===void 0?"":b)};q(G5,k5);G5.prototype.g=function(){return k5.prototype.g.call(this,{uid:this.uid})};var H5=function(a,b,c){k5.call(this,a,c===void 0?"":c);this.j=b};q(H5,k5); H5.prototype.g=function(){var a={uid:this.uid,newGeometry:g5(this.j)};return k5.prototype.g.call(this,a)};var I5=function(a,b,c,d,e,f){H5.call(this,a,c,f===void 0?"":f);this.success=b;this.expand=d;this.push=e};q(I5,H5);I5.prototype.g=function(){var a={uid:this.uid,success:this.success,newGeometry:g5(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};this.uc&&(a.sentinel=this.uc);return JSON.stringify(a)}; var J5=function(a,b,c,d){k5.call(this,a,d===void 0?"":d);this.width=b;this.height=c};q(J5,k5);J5.prototype.g=function(){return k5.prototype.g.call(this,{uid:this.uid,width:this.width,height:this.height})};function Maa(a){var b;if((b=a.location)==null?0:b.ancestorOrigins)return a.location.ancestorOrigins.length;var c=0;og(function(){c++;return!1},a);return c};var Naa=function(){this.g=[]},K5=function(a,b,c,d,e){a.g.push(new Oaa(b,c,d,e))},L5=function(a){for(var b=a.g.length-1;b>=0;b--){var c=a.g[b];c.j?(c.element.style.removeProperty(c.g),c.element.style.setProperty(c.g,String(c.l),c.o)):c.element.style[c.g]=c.l}a.g.length=0},Oaa=function(a,b,c,d){this.element=a;this.g=b;this.g=(this.j=!(d===void 0||!a.style||!a.style.getPropertyPriority))?String(b).replace(/([A-Z])/g,"-$1").toLowerCase():b;this.l=this.j?a.style.getPropertyValue(this.g):a.style[this.g]; this.o=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 M5=["allow-modals","allow-orientation-lock","allow-presentation","allow-pointer-lock"],N5=["allow-top-navigation"],O5=["allow-same-origin"],Paa=vg([].concat(x(M5),x(N5)));vg([].concat(x(M5),x(O5)));vg([].concat(x(M5),x(N5),x(O5))); var Q5=function(a){f5.call(this,a.uniqueId);var b=this;this.P=-1;this.qa=a.qa;this.Ha=a.size===1;this.permissions=new Kaa(a.permissions.Og&&!this.Ha,a.permissions.Pg&&!this.Ha);this.Ib=a.Ib;var c;this.hostpageLibraryTokens=(c=a.hostpageLibraryTokens)!=null?c:[];var d=window.location;c=d.protocol;d=d.host;this.D=c==="file:"?"*":c+"//"+d;this.Xe=!!a.Xe;this.F=a.Pb?"//"+a.Pb+".safeframe.googlesyndication.com":"//tpc.googlesyndication.com";this.J=a.la?"*":"https:"+this.F;this.sandbox=Qaa(a);this.j=new Naa; Raa(a);this.l=this.B=h5(a.Ib);this.gb=a.gb||"1-0-45";var e;this.ck=(e=a.ck)!=null?e:"";this.la=null;Saa(this,a);this.C=VE(412,function(){P5(b)},a.Vc);this.o=0;var f=VE(415,function(){b.la&&(b.la.name="",a.Mk&&a.Mk(),Tf(b.la,"load",f))},a.Vc);Sf(this.la,"load",f);this.Yi=VE(413,this.Yi,a.Vc);this.rj=VE(417,this.rj,a.Vc);this.reportError=VE(419,this.reportError,a.Vc);this.Mi=VE(411,this.Mi,a.Vc);this.si=VE(409,this.si,a.Vc);this.L=VE(410,this.L,a.Vc);this.nj=VE(416,this.nj,a.Vc);Taa(this)};q(Q5,f5); var Raa=function(a){var b=a.Ib;var c=a.size;a=a.oo;c===1?(b.style.width=Jf("100%"),b.style.height=Jf("auto")):a||(b.style.width=Jf(c.width),b.style.height=Jf(c.height))},Saa=function(a,b){var c=b.la;var d=b.content;var e=b.ao;var f=b.size;var g=b.bo===void 0?"3rd party ad content":b.bo;var h=b.Gr;var k=b.Cr;var l=(b=b.oo)||!c;d=b||!c?d!=null?d:"":"";var n={shared:{sf_ver:a.gb,ck_on:t0()?1:0,flash_ver:"0"}};d=a.gb+";"+d.length+";"+d;n=new Laa(a.uid,a.D,a.B,a.permissions,new i5(n),a.Ha,a.Xe,a.hostpageLibraryTokens); var p={};p.uid=n.uid;p.hostPeerName=n.D;p.initialGeometry=g5(n.B);var r=n.permissions;r=JSON.stringify({expandByOverlay:r.Og,expandByPush:r.Pg,readCookie:r.g,writeCookie:r.j});p=(p.permissions=r,p.metadata=JSON.stringify(n.metadata.g),p.reportCreativeGeometry=n.g,p.isDifferentSourceWindow=n.Xe,p.goog_safeframe_hlt=Iaa(n.hostpageLibraryTokens),p);n.uc&&(p.uc=n.uc);n=JSON.stringify(p);r=p=0;f!==1&&(p=f.width,r=f.height);e={id:e,title:g,name:d+n,scrolling:"no",marginWidth:"0",marginHeight:"0",width:String(p), height:String(r),"data-is-safeframe":"true"};l&&(f=a.ck,g=a.F,l=a.gb,(d=f)&&(d="?"+d),g=(g===void 0?"//tpc.googlesyndication.com":g)+("/safeframe/"+l+"/html/container.html"+d),(l=Maa(Qe(He(a.Ib))))&&(g+=(f?"&":"?")+"n="+l),e.src="https:"+g);a.sandbox!==null&&(e.sandbox=a.sandbox);h&&(e.allow=h);k&&(e.credentialless=!0);e["aria-label"]="Advertisement";e.tabIndex=0;b?(a.Ib.removeChild(c),a5(c,e),a.la=c):c?(a.la=c,Ne(a.la,e)):(c=yg("IFRAME"),a5(c,e),a.la=c);a.Ha&&(a.la.style.minWidth="100%");a.Ib.appendChild(a.la)}, Taa=function(a){a.g=new b5(a.G,a.la.contentWindow,a.J,!1);d5(a.g,"init_done",function(b){a.Yi(b)});d5(a.g,"register_done",function(b){a.rj(b)});d5(a.g,"report_error",function(b){a.reportError(b)});d5(a.g,"expand_request",function(b){a.Mi(b)});d5(a.g,"collapse_request",function(b){a.si(b)});d5(a.g,"creative_geometry_update",function(b){a.L(b)});a.g.connect(function(){a.nj()})};m=Q5.prototype;m.nj=function(){Sf(window,"resize",this.C);Sf(window,"scroll",this.C)}; m.Yi=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(!Oa(b)||!j5(b.uid)||typeof b.version!=="string")throw Error("Cannot parse JSON message");var c=new l5(b.uid,b.version,b.sentinel||"");if(this.uid!==c.uid||this.gb!==c.version)throw Error("Wrong source container");this.status=1}catch(e){var d;(d=this.qa)==null||d.error("Invalid INITIALIZE_DONE message. Reason: "+e.message)}}; m.rj=function(a){try{if(!this.Ia())throw Error("Container not initialized");if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Oa(b)||!j5(b.uid)||typeof b.initialWidth!=="number"||typeof b.initialHeight!=="number")throw Error("Cannot parse JSON message");if(this.uid!==(new m5(b.uid,b.initialWidth,b.initialHeight,b.sentinel||"")).uid)throw Error("Wrong source container");this.status=2}catch(d){var c;(c=this.qa)==null||c.error("Invalid REGISTER_DONE message. Reason: "+ d.message)}}; m.reportError=function(a){try{if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Oa(b)||!j5(b.uid)||typeof b.description!=="string")throw Error("Cannot parse JSON message");var c=new E5(b.uid,b.description,b.sentinel||"");if(this.uid!==c.uid)throw Error("Wrong source container");var d;(d=this.qa)==null||d.info("Ext reported an error. Description: "+c.description)}catch(f){var e;(e=this.qa)==null||e.error("Invalid REPORT_ERROR message. Reason: "+f.message)}}; m.Mi=function(a){try{if(this.status!==2)throw Error("Container is not registered");if(this.A!==0)throw Error("Container is not collapsed");if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Oa(b)||!j5(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 F5(b.uid,new tf(b.expand_t,b.expand_r,b.expand_b, b.expand_l),b.push,b.sentinel||"");if(this.uid!==c.uid)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=(c.push&&this.permissions.Pg||!c.push&&this.permissions.Og)&&this.expand(c.expand,c.push);e5(this.g,"expand_response",(new I5(this.uid,d,this.l,c.expand,c.push)).g());if(!d)throw Error("Viewport or document body not large enough to expand into.");}catch(f){var e;(e=this.qa)==null|| e.error("Invalid EXPAND_REQUEST message. Reason: "+f.message)}}; m.expand=function(a,b){var c=this.l=h5(this.la);if(!(a.top<=c.g.top&&a.right<=c.g.right&&a.bottom<=c.g.bottom&&a.left<=c.g.left))return!1;if(!b)for(c=this.la.parentNode;c&&c.style;c=c.parentNode)K5(this.j,c,"overflowX","visible","important"),K5(this.j,c,"overflowY","visible","important");a=xf(new wf(0,0,this.l.j.getWidth(),this.l.j.getHeight())).expand(a);K5(this.j,this.Ib,"position","relative");K5(this.j,this.la,"position","absolute");if(b){b=this.j;c=this.Ib;var d=a.getWidth();K5(b,c,"width",d+ "px");b=this.j;c=this.Ib;d=a.getHeight();K5(b,c,"height",d+"px")}else K5(this.j,this.la,"zIndex","10000");b=this.j;c=this.la;d=a.getWidth();K5(b,c,"width",d+"px");b=this.j;c=this.la;d=a.getHeight();K5(b,c,"height",d+"px");K5(this.j,this.la,"left",a.left+"px");K5(this.j,this.la,"top",a.top+"px");this.A=2;this.l=h5(this.la);return!0}; m.si=function(a){try{if(this.status!==2)throw Error("Container is not registered");if(this.A!==2)throw Error("Container is not expanded");if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Oa(b)||!j5(b.uid))throw Error("Cannot parse JSON message");if(this.uid!==(new G5(b.uid,b.sentinel||"")).uid)throw Error("Wrong source container");this.collapse();e5(this.g,"collapse_response",(new H5(this.uid,this.l)).g())}catch(d){var c;(c=this.qa)==null||c.error("Invalid COLLAPSE_REQUEST message. Reason: "+ d.message)}};m.collapse=function(){L5(this.j);this.A=0;this.la&&(this.l=h5(this.la))};var P5=function(a){if(a.status===1||a.status===2)switch(a.o){case 0:R5(a);S5(a);a.o=1;break;case 1:a.o=2;break;case 2:a.o=2}}; Q5.prototype.L=function(a){try{if(typeof a!=="string")throw Error("Could not parse serialized message");var b=JSON.parse(a);if(!Oa(b)||!j5(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 J5(b.uid,b.width,b.height,b.sentinel||"");if(this.uid!==c.uid)throw Error("Wrong source container");var d=String(c.height);if(this.Ha)d!==this.la.height&&(this.la.height=d,P5(this));else{var e;(e=this.qa)==null|| e.error("Got CreativeGeometryUpdate message in non-fluidcontainer. The container is not resized.")}}catch(g){var f;(f=this.qa)==null||f.error("Invalid CREATIVE_GEOMETRY_UPDATE message. Reason: "+g.message)}};var S5=function(a){a.P=window.setTimeout(function(){if(a.status===1||a.status===2)switch(a.o){case 0:case 1:a.o=0;break;case 2:R5(a),S5(a),a.o=1}},1E3)},R5=function(a){a.l=h5(a.la);e5(a.g,"geometry_update",(new H5(a.uid,a.l)).g())}; Q5.prototype.destroy=function(){this.status!==100&&(this.A===2&&(L5(this.j),this.A=0),window.clearTimeout(this.P),this.P=-1,this.o=3,this.g&&(this.g.dispose(),this.g=null),Tf(window,"resize",this.C),Tf(window,"scroll",this.C),this.Ib&&this.la&&this.Ib===(this.la.parentElement||null)&&this.Ib.removeChild(this.la),this.Ib=this.la=null,this.status=100)};var Qaa=function(a){var b=null;a.Yk&&(b=a.Yk);return b==null?null:b.join(" ")};var T5=function(a){var b=a.ig;var c=a.Pe;var d=a.Uc;var e=a.Pb;var f=a.gb;var g=a.I;jO.call(this,g);var h=new Q5({content:c,Vc:function(n,p){var r=null,t=null,u=null;try{var A;r=(A=p==null?void 0:p.name)!=null?A:"Unknown error"}catch(D){r="exception"}try{var w;t=(w=p==null?void 0:p.message)!=null?w:"Caught "+p}catch(D){t="exception"}try{var E;u=(E=p==null?void 0:p.stack)!=null?E:Error().stack}catch(D){u="exception"}p={};kU.getInstance().report(185,(p.m=n,p.name=r,p.message=t,p.stack=u,p))},ao:"safe-frame-container", qa:{info:function(){},Xr:function(){},error:function(){}},Mk:function(){return void hL(g,pM,null)},Ib:b,permissions:{Og:!1,Pg:!1},Pb:e,gb:f,Yk:Paa,size:d,uniqueId:Jd()});iq(this,function(){return void h.destroy()});var k=h.la,l=function(n){(k==null?void 0:k.contentWindow)===n.source&&(n=JSON.parse(n.data),n.googMsgType==="gpi-uoo"&&hL(g,WL,new XL(2,!n.userOptOut,n.clearAdsData||!1)))};window.addEventListener("message",l);iq(this,function(){window.removeEventListener("message",l)})};q(T5,jO);var Uaa=function(){return OC('
')};var U5=function(){gP.call(this);this.element=xD(Uaa);this.ig=Le("safeFrameParent",this.element);this.j=Le("safeFrameBottomBar",this.element)};q(U5,iP);var V5=function(a){var b=a.container;var c=a.Pe;var d=a.Uc;var e=a.Ka;var f=a.Pb;var g=a.gb;var h=a.skipOffset;iO.call(this,a.I);this.container=b;this.Pe=c;this.Uc=d;this.Ka=e;this.Pb=f;this.gb=g;this.skipOffset=h;(this.g=h!=null?new OP({Zf:!0}):null)&&N(this,this.g);this.view=new U5};q(V5,iO); V5.prototype.build=function(){jP(this.view,this.container);if(this.g&&this.skipOffset!=null){var a=new IO(this.g,this.I,this.skipOffset,7),b=this.view,c=this.g;c.element&&b.j.appendChild(c.element);N(this,a)}this.Ka&&(a=this.view,b=new U4(this.Ka),b.element&&a.j.appendChild(b.element));a=new T5({ig:this.view.ig,Pe:this.Pe,Uc:this.Uc,Pb:this.Pb,gb:this.gb,I:this.I});N(this,a)};V5.prototype.O=function(){Ye(this.view.va());this.view.dispose();iO.prototype.O.call(this)};var W5=function(a){var b=a.Oe;var c=a.I;var d=a.na;var e=a.Pb;var f=a.gb;a=a.Ka;M4.call(this,c);this.j=this.g=null;this.Oe=b;this.na=d;this.Pb=e;this.gb=f;this.Ka=a;this.view=new Z4(!0)};q(W5,M4);m=W5.prototype; m.build=function(){jP(this.view,this.na);var a=this.Oe.getSize();var b=xD(aP,{height:a.height,width:a.width});a=Le("safeFrameParent",b);this.g=b=new IP(b,0);hP(this.view,b);this.Ka&&hP(this.view,new U4(this.Ka));this.j=new T5({ig:a,Pe:this.Oe.Da,Uc:this.Oe.getSize(),Pb:this.Pb,gb:this.gb,I:this.I});N(this,this.j)};m.ce=function(){var a;return(a=this.g)==null?void 0:a.va()};m.show=function(){var a;(a=this.g)==null||a.show()};m.fa=function(){var a;(a=this.g)==null||a.fa()};m.ne=function(){return this.Oe}; m.Jf=function(){return this.g};m.O=function(){Ye(this.view.va());this.view.dispose();M4.prototype.O.call(this)};var X5=function(){gP.call(this);this.element=Se("div");Af(this.element,{position:"absolute",width:"100%",height:"100%"})};q(X5,iP);var Y5=function(a,b,c,d){iO.call(this,c);this.icons=a;this.Ka=b;this.na=d;this.view=new X5};q(Y5,iO);Y5.prototype.build=function(){var a=this;window.frameElement&&Af(window.frameElement,{"z-index":100});jP(this.view,this.na);this.Ka&&hP(this.view,new U4(this.Ka));this.icons.forEach(function(b){var c=new AP("vast");new MO(c,a.I,b);hP(a.view,c);var d=Lf(a.view.va());CP(c,BH(b,d.width),CH(b,d.height));BP(c,b.g,b.j)})};Y5.prototype.O=function(){Ye(this.view.va());iO.prototype.O.call(this)};var Z5=function(){};Z5.prototype.g=function(a){JB(a,"pagead2.googlesyndication.com")};var $5=function(){};$5.prototype.g=function(a){var b=a.j;b==="googleads.g.doubleclick.net"||b==="www.googleads.g.doubleclick.net"?JB(a,"googleads-att.g.doubleclick.net"):(b==="pubads.g.doubleclick.net"||b==="www.pubads.g.doubleclick.net")&&JB(a,"pubads-att.g.doubleclick.net")};var Vaa=["adsense","dbm","dcm","dv3","xfp"],Waa=["adsense","xfp"];function Xaa(a,b,c){c=c===void 0?null:c;var d=rK(a.adTagUrl||"");if(sT(b.Aa)&&Vaa.includes(d))var e=new Z5;else{e=b.sc==="tvos";var f=b.F==="authorized";e=aW(kE)&&e&&f&&Waa.includes(d)?new $5:new $P}switch(d){case "dcm":var g=new Map;b.Ec!=null&&g.set("dc_submodel",b.Ec);c=aT.L;c!=null&&g.set("dc_rfl",Hg(c));c=new lG(a.adTagUrl||"");d=nG(c,"dc_output")||[];(d.includes("vast")||d.includes("xml_vast2")||d.includes("xml_vast3"))&&g.set("dc_output","xml_vast4");c=nG(c,"dc_eid")||[];c=BG(c[0]||"");F(H(c))|| g.set("dc_eid",c);a=new Map([].concat(x(C0(a,b)),x(g)));return new dQ(a,e);case "dv3":g=new Map;b.Ec!=null&&g.set("submodel",b.Ec);c=BG((new P(a.adTagUrl)).g.get("eid",""));F(H(c))||g.set("eid",c);if(c=aT.L)c=Hg(c),c=encodeURIComponent(H(c)),g.set("rfl",c);a=new Map([].concat(x(C0(a,b)),x(g)));return new fQ(a,e);case "adsense":return c=((g=c)==null?void 0:g.l)||[],new aQ(D0(a,c,b),e);case "xfp":return new gQ(B0(a,b),e);case "dbm":return new cQ(C0(a,b),e);default:return new wK}};var Yaa="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(" "),a6=[].concat(x($T),x(aU)).filter(function(a){return!Yaa.includes(a)}),b6=function(a){O.call(this);this.Y=a};q(b6,O);m=b6.prototype;m.getAd=function(){return this.Y.getAd()};m.dd=function(){return this.Y.dd()};m.expand=function(){this.Y.expand()}; m.collapse=function(){this.Y.collapse()};m.jg=function(){this.Y.jg()};m.destroy=function(){return this.Y.destroy()};m.init=function(){this.Y.init()};m.start=function(){this.Y.start()};m.pause=function(){this.Y.pause()};m.resume=function(){this.Y.resume()};m.skip=function(){this.Y.skip()};m.getRemainingTime=function(){return this.Y.getRemainingTime()};m.getVolume=function(){return this.Y.getVolume()};m.setVolume=function(a){this.Y.setVolume(a)};m.ac=function(){this.Y.ac()}; m.resize=function(a,b){this.Y.resize(a,b)};m.getDuration=function(){return this.Y.getDuration()};m.getCurrentTime=function(){return this.Y.getCurrentTime()};m.Bd=function(){this.Y.Bd()};m.reportEvent=function(a){this.Y.reportEvent(a)};m.Ob=function(a,b){this.Y.Ob(a,b)};m.rb=function(a,b,c){this.Y.rb(a,b,c)};m.od=function(){this.Y.od()};m.Mc=function(){this.Y.Mc()};m.toString=function(){return this.Y.toString()};var c6=function(a,b,c,d){d=d===void 0?!1:d;b6.call(this,a);this.ma=b;this.M=c;this.G=d;this.J=this.g=this.D=this.A=this.F=this.l=this.j=null;this.T=!1;this.N=this.B=null;this.X=Wb(this.ma);this.o=new ZJ(a);N(this,this.o)};q(c6,b6);c6.prototype.init=function(){this.T||(Zaa(this),this.T=!0);b6.prototype.init.call(this)}; c6.prototype.start=function(){this.G||(this.ma.g=!1);b6.prototype.start.call(this);var a,b;(a=Le("videoAdUi"))==null||(b=a.classList)==null||b.add("ima-action-ad");if(a=this.getAd())if(b=kW(a,"InfoCards"))if(this.A=JW(b))this.D=this.A.actions[0].title,this.g=this.A.wd,this.J=this.A.actions[0].target||DW(a);var c,d;if((c=this.A)==null?0:(d=c.Ud)==null?0:d.Ph)if(this.G){var e=this.M.W.lc();this.D&&hL(e,RL,this.D);var f;((f=this.g)==null?0:f.oc)&&hL(e,SL,this.g.oc);var g;((g=this.g)==null?0:g.description)&& hL(e,QL,this.g.description);var h;((h=this.g)==null?0:h.Wa)&&hL(e,PL,this.g.Wa)}else{f=document.body;this.j=new hO(this.D);this.j.fa();this.F=Se("DIV");oC(this.F,"videoAdUiFloatingLayer");f.appendChild(this.F);this.j.Bg(this.F);((e=this.g)==null?0:e.oc)&&this.j.di(this.g.oc);var k;((k=this.g)==null?0:k.description)&&this.j.ug(this.g.description);var l;((l=this.g)==null?0:l.Wa)&&this.j.wf(this.g.Wa);(f=(f=this.getAd())&&f.j?NQ(f.j):null)&&this.j.j.element.classList.add(f)}var n,p;if((n=this.A)==null? 0:(p=n.Ud)==null?0:p.Qh)if(n=this.M.W.Ma(),p=this.getAd(),n&&p&&this.A&&this.A.Ud)if(f=this.A.Ud.Hf,p.P=f/1E3,this.G){var r=MQ(p.j);this.B=new Y4(this.M.W.lc(),n,this.A,(r==null?void 0:r.g)||null);this.B.build()}else{this.l=new cO(n,f,this.D);((r=this.g)==null?0:r.oc)&&this.l.l.di(this.g.oc);var t;((t=this.g)==null?0:t.description)&&this.l.l.ug(this.g.description);var u;((u=this.g)==null?0:u.Wa)&&this.l.l.wf(this.g.Wa)}var A;if(r=(A=this.getAd())==null?void 0:A.j){if((A=LQ(r))&&A.j){var w;(w=this.l)== null||dO(w,A.j)}w=MQ(r);var E;if(((E=this.g)==null||!E.Wa)&&(w==null?0:w.g)){var D;(D=this.j)==null||D.wf(w.g||"");var G;(G=this.l)!=null&&G.l.wf(w.g||"")}}$aa(this);d6(this,"start")};c6.prototype.destroy=function(){Object.assign(this.ma,this.X);return b6.prototype.destroy.call(this)}; var $aa=function(a){a.j&&a.o.listen(a.j,"ctaClicked",function(){a.pause();d6(a,"ctaclick");a.Bd()});a.l&&(a.o.listen(a.l,"video_card_endcap_action",function(){return void e6(a)}),a.o.listen(a.l,"video_card_endcap_collapse",function(){return void f6(a,"video_card_endcap_collapse")}),a.o.listen(a.l,"videoSkipClicked",function(){return void f6(a,"video_card_endcap_dismiss")}))},Zaa=function(a){var b=a.Y;a.o.listen(b,a6,function(c){return a.dispatchEvent(c)});a.o.listen(b,"start",function(){d6(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){d6(a,"error");c=c.getError()||bV(HS);fV(a,HS,c.getInnerError());a.destroy()});a.o.listen(b,"allAdsCompleted",function(){return void aba(a)});a.o.listen(b,"skip",function(){d6(a,"skip");a.l=null;var c;(c=a.B)==null||c.dispose();a.B=null;a.j&&a.j.fa();a.destroy()})},aba=function(a){d6(a,"complete");a.j&& a.j.fa();if(a.l)a.M.W.Pc(),a.l.show();else if(a.B){a.M.W.Pc();var b=a.M.W.lc();gL(b,yM,function(){f6(a,"video_card_endcap_collapse")});gL(b,kM,function(){e6(a)});a.M.U.Kd&&Haa(a.B);var c,d,e;a.N=setTimeout(function(){f6(a,"video_card_endcap_collapse")},(e=(c=a.A)==null?void 0:(d=c.Ud)==null?void 0:d.Hf)!=null?e:0)}else a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()})),a.dispatchEvent(X({type:"allAdsCompleted",ad:a.getAd()}));Object.assign(a.ma,a.X)},e6=function(a){d6(a,"endcapclick"); var b;(b=a.l)==null||b.pause();a.N&&clearTimeout(a.N);b={};b=(b.url=a.J,b);a.dispatchEvent(X({type:"navigationRequested",ad:a.getAd(),data:b}))};c6.prototype.Bd=function(){d6(this,"outerclick");this.rb(this.J,null,null)}; var f6=function(a,b){var c=a.getAd();a.dispatchEvent(bX({type:b,ad:c}));a.dispatchEvent(bX({type:"contentResumeRequested",ad:c}));a.dispatchEvent(bX({type:"allAdsCompleted",ad:c}));var d;(d=a.B)==null||d.dispose();a.M.W.bd();a.destroy()},d6=function(a,b){var c={};a=(c.evt=b,c.format=bba(a),c);kU.getInstance().report(143,a,!0)},bba=function(a){a=a.getAd();if(!a)return"noad";a=a.j;if(!a)return"noimalibad";a=HQ(a);if(!a)return"noextension";a=a.g;return a!=null?a:"noformat"}; c6.prototype.O=function(){var a;(a=this.B)==null||a.dispose();b6.prototype.O.call(this)};var h6=function(a,b,c,d){hq.call(this);this.l=a;this.M=b;this.o=c;this.ma=d;this.j=null;N(this,this.l);a.o=[].concat(x(a.B));a=g6(a);this.A=this.g=this.o.create([a],this.M,this.ma)};q(h6,hq);m=h6.prototype;m.oe=function(){return this.g};m.Vg=function(){var a=this,b,c;return z(function(d){if(d.g==1)return b=i6(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)})}; m.xe=function(){var a=this;return z(function(b){return b.g==1?y(b,i6(a),2):b.return(b.j)})};m.Zi=function(){return this.oe()===this.A};m.O=function(){this.g.destroy();hq.prototype.O.call(this)};var i6=function(a){if(a.Xa())return Promise.resolve(null);if(a.j)return a.j;a.j=new Promise(function(b){a.l.Gc().then(function(c){a.Xa()?b(null):c?b(a.o.create([c],a.M,a.ma)):b(null)}).catch(function(){b(null)})});return a.j};var j6=function(){O.call(this)};q(j6,O);m=j6.prototype;m.getAd=function(){return null};m.dd=function(){return!0};m.expand=function(){};m.collapse=function(){};m.jg=function(){};m.destroy=function(){return Promise.resolve()};m.init=function(){};m.start=function(){};m.pause=function(){};m.resume=function(){};m.skip=function(){};m.reportEvent=function(){};m.Ob=function(){};m.getRemainingTime=function(){return 0};m.getVolume=function(){return 0};m.setVolume=function(){};m.ac=function(){};m.resize=function(){}; m.getDuration=function(){return 0};m.getCurrentTime=function(){return 0};m.Bd=function(){};m.rb=function(){};m.od=function(){};m.Mc=function(){};var k6=function(a){var b=a.W;var c=a.wa;var d=a.Xd;var e=a.Ba;var f=a.yb;var g=a.U;var h=a.Cd;var k=a.De;var l=a.Nc;a=a.La;this.W=b;this.wa=c;this.Xd=d;this.Ba=e;this.yb=f;this.U=g;this.Cd=h;this.De=k;this.Nc=l;this.La=a};var l6=function(a){hq.call(this);this.g=a.slice();this.l=this.j=this.g.shift()};q(l6,hq);m=l6.prototype;m.oe=function(){return this.j};m.Vg=function(){var a=this;return z(function(b){a.j=a.g.shift();return b.return(a.oe())})};m.xe=function(){var a=this;return z(function(b){return a.Xa()?b.return(Promise.resolve(null)):a.g.length>0?b.return(a.g[0]):b.return(null)})};m.Zi=function(){return this.oe()===this.l};m.O=function(){this.g.forEach(function(a){return void a.destroy()});hq.prototype.O.call(this)};var m6=function(a,b,c){O.call(this);this.ad=a;this.M=b;this.ma=c;this.qa=null;this.o=!1;this.volume=0;this.Fa=this.G=null;this.X=new ZJ(this);N(this,this.X);this.g=new ZJ(this);N(this,this.g);this.sa=new sZ;this.j=new UG(VW(this.getAd()),new w4,WW(this.getAd()));if(this.getAd().g==null)throw eV(wS);this.Qb=zU(this.M.U)?N_():new IZ;cba(this)};q(m6,O);m6.prototype.ac=function(){};m6.prototype.expand=function(){};m6.prototype.collapse=function(){}; var cba=function(a){var b=a.getAd(),c=b.ta;a.G=a.Qb.tl(b,a,a.j,a.M.U,c==null?void 0:c.omidAccessModeRules);a.Fa=SP(function(d){return void a.reportEvent(d)})};m6.prototype.getAd=function(){return this.ad};m6.prototype.dd=function(){return this.ad.isLinear()};m6.prototype.O=function(){this.sa.dispose();this.dispatchEvent(X({type:"contentResumeRequested",ad:this.getAd()}));this.dispatchEvent(X({type:"allAdsCompleted",ad:this.getAd()}));gq(this.g);var a;(a=this.Fa)==null||a.disconnect();O.prototype.O.call(this)}; m6.prototype.rb=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 n6=function(a){cK(a.X);a.X.Md(a.M.Ba,"companion_display_error",function(){});var b=a.M.Ba.B(a.getAd());b!=null&&a.X.listen(b,"companion_click",a.Sb);if(!a.M.Ba.Vj())throw bV(lS);};m6.prototype.Sb=function(){};var o6=function(a){var b=a.getAd();for(a=kW(b,"sodar");!a&&(b=b.ca);)a=kW(b,"sodar");a!=null&&a.init()}; m6.prototype.init=function(){};m6.prototype.reportEvent=function(a){this.j.report(a)};m6.prototype.Ob=function(a,b){eH(this.j,b);this.j.reportError(a.getErrorCode())};var p6=function(a,b){a.reportEvent(b);var c=a.dispatchEvent,d=a.getAd();d=d===void 0?null:d;c.call(a,new aX(b,d===void 0?null:d,null))};m=m6.prototype;m.getCurrentTime=function(){return-1};m.getDuration=function(){return-1};m.getRemainingTime=function(){return-1};m.pause=function(){};m.resume=function(){};m.skip=function(){}; m.start=function(){if(!this.o)throw eV(jS,null,"Must call init before start.");this.gj()};m.uk=function(){var a=this.M.U.B.clone();return hl(a,5,1)};m.gj=function(){this.M.Nc.gj(this.uk())};m.getVolume=function(){var a;return(a=this.volume)!=null?a:0};m.setVolume=function(a){isNaN(a)||a<0||a>1?fV(this,pS,null,"volume",String(a)):this.volume=a};m.jg=function(){this.reportEvent("abandon")}; m.Dh=function(a){var b=a.type;if(cU.indexOf(b)!==-1){if(b==="externalActivityEvent"&&(b=a.getAdData().eventName,!eU(b)))return;p6(this,b)}};m.resize=function(){};m.destroy=function(){var a=this,b=new bC;tZ(this.sa,function(){a.dispose();b.resolve()});return b.promise};m.Bd=function(){};m.od=function(){};m.Mc=function(){};var q6=function(a,b,c){m6.call(this,a,b,c);this.na=null;this.height=this.width=-1;this.A=!1;this.F=[];this.layout=null;this.I=b.W.lc()};q(q6,m6);m=q6.prototype; m.start=function(){m6.prototype.start.call(this);dba(this);this.M.W.Pc();this.na=this.M.W.Ma();if(this.na!=null){this.reportEvent("show_ad");this.dispatchEvent(X({type:"show_ad",ad:this.getAd()}));We(this.na);this.bk();if(vU()&&this.layout){var a=this.layout.ce(),b=new jH(this.getAd().j,this.j,this.M.W.pe(),vU(),this.getAd().Bc);b.A=a;mH(b);N(this,b)}this.zf();this.F.forEach(function(c){return void c()});this.F=[];this.A=!0}}; m.init=function(){if(!this.o){this.o=!0;this.dispatchEvent(X({type:"loaded",ad:this.getAd()}));var a=qX();this.g.listen(a,cU,this.Dh)}};m.expand=function(){this.layout!=null&&this.layout.show();this.reportEvent("expand")};m.collapse=function(){this.layout!=null&&this.layout.fa();this.reportEvent("collapse")};m.ac=function(){m6.prototype.ac.call(this);this.zf();this.A&&this.reportEvent("overlay_resize")}; m.resize=function(a,b){m6.prototype.resize.call(this,a,b);this.width=a;this.height=b;a=new he(-1,-1);this.M.W.Ma()!=null&&(a=Kf(this.M.W.Ma()));kU.getInstance().report(218,{difWidth:Math.abs(this.width-a.width),difHeight:Math.abs(this.height-a.height)});this.zf();this.A&&this.reportEvent("overlay_resize")};m.O=function(){var a;(a=this.layout)==null||a.dispose();this.layout=null;this.I.clear();this.A=!1;this.na!=null&&(We(this.na),this.na=null);this.M.W.bd();m6.prototype.O.call(this)}; m.bk=function(){var a=this;if(!this.layout){var b=this.getAd().g;if(b==null){var c=bV(wS);r6(this,c);throw c;}try{n6(this)}catch(d){throw r6(this,d),d;}eH(this.j,WX(this.getAd(),this.M.U));c=IW(this.getAd())||this.ma.useStyledNonLinearAds;this.na&&(this.layout=new $4(b,this.I,this.na,this.ma.autoAlign,c,new JV),gL(this.I,gM,function(){return void a.Nf()}),gL(this.I,rM,function(){var d=b.jc(),e=b.xf();p6(a,"click");a.rb(d,e,null)}),gL(this.I,xM,function(){return void s6(a)}),gL(this.I,tM,function(){return void a.Z()}), gL(this.I,CM,function(){return void a.N()}),this.layout.build())}};m.zf=function(a,b){a=a===void 0?0:a;b=b===void 0?0:b;if(this.layout!=null){var c=Kf(this.M.W.Ma()),d=this.width,e=this.height;if(d===-1||e===-1)d=c.width,e=c.height;c=Lf(this.layout.ce());if(c.width+a>d||c.height+b>e)throw a=bV(rS),r6(this,a),this.destroy(),a;}};var r6=function(a,b){var c=QX(b,a.M.U,a.getAd());a.Ob(b,c)};q6.prototype.Nf=function(){this.reportEvent("close");this.dispatchEvent(X({type:"userClose",ad:this.getAd()}))}; q6.prototype.Z=function(){var a=this;if(this.layout){var b=this.layout.ne().getAd();this.A?this.B(b):this.F.push(function(){return void a.B(b)})}};q6.prototype.B=function(a){a&&(eH(this.j,WX(a,this.M.U)),p6(this,"impression"),this.reportEvent("creativeView"),p6(this,"start"))};var s6=function(a){a.dispatchEvent(X({type:"userRecall",ad:a.getAd()}))};q6.prototype.Dh=function(a){var b=a.getAdData();this.getAd().Bc===b.queryId&&m6.prototype.Dh.call(this,a)}; q6.prototype.N=function(){this.layout&&this.rb(this.layout.ne().Ac,null,null)};var dba=function(a){var b=a.getAd().g,c,d;if(a=(d=((c=lW(a.getAd()).get("nonlinearAta"))!=null?c:[])[0])==null?void 0:d.j.o)b.Ac=a};q6.prototype.toString=function(){return"nonlinearman"};var v6=function(a,b,c){q6.call(this,a[0],b,c);var d=this;this.T=!1;this.uiConfig=null;this.l=[];this.J=!1;this.elapsedTime=0;this.ka=[];this.ha=!1;this.D=new Dv(200);N(this,this.D);this.ba=new w4;a.forEach(function(e){var f=e.g;if(f==null)f=eV(wS),e=QX(f,d.M.U,e),d.Ob(f,e);else{if(d.uiConfig==null){var g=kW(e,"AdSense");g&&(d.uiConfig=g.uiConfig)}f.getContentType()==="Text"&&(d.T=!0);!(e=t6(e))||u6(d)&&!d.T||(f.Ac=e);d.l.push(f)}});jW(this.getAd()).length!==0&&n6(this)};q(v6,q6);m=v6.prototype; m.bk=function(){var a=this;if(!this.layout&&this.na){if(this.l.length===0)throw bV(wS);this.uiConfig==null&&(this.uiConfig=new JV);if(u6(this)){var b=this.getAd(),c=L4(b,NW(b));b=MW(b,this.ma.disableUi,c);c=eba(this);this.layout=new P4(this.l,this.I,this.na,this.uiConfig,c.text,!b,c.shouldRenderWta);this.g.listen(this.D,"tick",this.lp)}else this.l.length===1?this.layout=new $4(this.l[0],this.I,this.na,!0,!0,this.uiConfig):this.layout=new R4(this.l,this.I,this.na,this.uiConfig);gL(this.I,rM,function(d){var e= d.xPosition,f=d.yPosition;if(a.layout){d=a.layout.ne();var g=d.getAd();if(g){var h=kW(g,"AdSense");h=new P(h.Ne);var k=Lf(a.layout.ce()),l=Kf(a.M.W.Ma());e=["0","aw="+k.width,"ah="+k.height,"nx="+e,"ny="+f,"viewMode="+(PI(l.width,l.height)?"fullscreen":"normal"),"sdkv=h.3.709.0","eids="+FE(),"bw="+l.width,"bh="+l.height];h.g.set("label","elementclick");h.g.set("value",e.join(";"));a.ba.g(h.toString());w6(a,g);a.reportEvent("click");x6(a);a.dispatchEvent(X({type:"click",ad:a.getAd()}));if(e=d.jc())(g= a.layout.Jf())&&(e=HP(g.j,e)),a.rb(e,d.xf(),d.gi())}}});gL(this.I,tM,function(){return void a.Z()});gL(this.I,gM,function(){return void a.Nf()});gL(this.I,xM,function(){return void s6(a)});gL(this.I,zM,function(){a.dispatchEvent(X({type:"skippableStateChanged",ad:a.getAd()}))});gL(this.I,yM,function(){return void y6(a)});gL(this.I,CM,function(){return void a.N()});gL(this.I,ZL,function(){var d,e=kW(a.getAd(),"AdSense");e&&(d=e.Fb);d==null&&a.uiConfig&&(d=a.uiConfig.Fb);d&&a.rb(d,null,null)});this.layout.build()}}; m.lp=function(){this.elapsedTime+=.2;var a=new HM(this.elapsedTime,this.getDuration());hL(this.I,IM,a);this.elapsedTime>=this.getDuration()&&(this.dispatchEvent(X({type:"complete",ad:this.getAd()})),z6(this))};m.init=function(){q6.prototype.init.call(this)};m.start=function(){q6.prototype.start.call(this);!this.J&&u6(this)&&(this.J=!0,this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()})),this.D.start())}; m.Nf=function(){var a=this;q6.prototype.Nf.call(this);this.l.forEach(function(b){if(b=b.getAd())w6(a,b),a.reportEvent("close"),x6(a)})};var t6=function(a){return(a=kW(a,"AdSense"))?a.j:null},eba=function(a){var b=kW(a.getAd(),"AdSense").za,c;b=b!=null?b:(c=a.uiConfig)==null?void 0:c.za;if(c=!!t6(a.getAd()))c=u6(a)&&!a.T;a={text:b,shouldRenderWta:c};a.text==null&&(a.text=OC("Ads by Google"));return a}; v6.prototype.Z=function(){var a=this;if(this.layout){var b=this.layout.ne().getAd();if(b!=null){this.ad=b;var c=b.getAdId();this.ka.includes(c)||(this.ka.push(c),this.A?this.B(b):this.F.push(function(){return void a.B(b)}))}}}; v6.prototype.B=function(a){a&&(this.ad=a,this.ha||(this.dispatchEvent(X({type:"impression",ad:this.getAd()})),this.ha=!0),w6(this,a),this.reportEvent("impression"),this.reportEvent("creativeView"),this.reportEvent("start"),this.dispatchEvent(X({type:"start",ad:this.getAd()})),x6(this))};v6.prototype.N=function(){if(u6(this)){var a=t6(this.getAd());this.rb(a,null,null)}else q6.prototype.N.call(this)};v6.prototype.zf=function(){var a=u6(this)?15:0,b=u6(this)?65:0;q6.prototype.zf.call(this,a,b)}; var u6=function(a){return AW(a.getAd())},y6=function(a){a.dispatchEvent(X({type:"skip",ad:a.getAd()}));a.Nf();z6(a)},z6=function(a){a.D.stop();a.layout&&(a.layout.dispose(),a.layout=null);a.J&&(a.J=!1,a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()})))};v6.prototype.skip=function(){var a;var b=(a=this.getAd())==null?void 0:BW(a);b?(a=oU(b),a=a!==-1&&this.getCurrentTime()>=a):a=!1;a&&y6(this)};v6.prototype.getCurrentTime=function(){return u6(this)?this.elapsedTime:q6.prototype.getCurrentTime.call(this)}; v6.prototype.getDuration=function(){return u6(this)&&this.uiConfig!=null?15:q6.prototype.getDuration.call(this)};v6.prototype.getRemainingTime=function(){var a=this.getDuration(),b=this.getCurrentTime();return u6(this)&&0<=b&&b<=a?a-b:q6.prototype.getRemainingTime.call(this)};var w6=function(a,b){a.j=new UG(VW(b),a.ba,WW(b));eH(a.j,WX(b,a.M.U))},x6=function(a){a.j=new UG(new Map,a.ba)};v6.prototype.toString=function(){return"adsensenonlinearman"};var B6=function(a,b,c,d,e){hq.call(this);this.B=a;this.D=b;this.M=c;this.C=d;this.ma=e;this.A=!1;this.l=new ZJ;this.j=null;this.g=a;A6(this,a);N(this,this.l);this.o=[b]};q(B6,hq);m=B6.prototype;m.oe=function(){return this.g};m.Vg=function(){var a=this,b,c;return z(function(d){if(d.g==1)return b=C6(a),a.j=null,y(d,b,2);c=d.j;if(!c)throw Error("Called getNextManager when there are no more managers.");A6(a,c);a.g=c;return d.return(a.g)})}; m.xe=function(){var a=this;return z(function(b){return b.g==1?a.A?b.return(null):y(b,C6(a),2):b.return(b.j)})};m.Zi=function(){return this.oe()===this.B};m.O=function(){this.g.destroy();hq.prototype.O.call(this)}; var fba=function(a){if(!AE(EF)){var b;return(b=a.g.getAd())==null?void 0:vW(b)}var c;return(c=a.o.find(function(d){var e;return(e=vW(d))==null?void 0:e.Eg()}))==null?void 0:vW(c)},C6=function(a){if(a.j)return a.j;var b=fba(a);if(b==null)return Promise.resolve(null);a.j=new Promise(function(c){b.je(function(d){if(a.Xa())c(null);else{a.o.push.apply(a.o,x(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.M,a.ma);c(d)}else c(null)}},function(){return void c(null)})});return a.j},A6=function(a,b){a.l.listen(b,["adStarted","start","impression"],function(){a.A=!0;a.l.dispose()})};var gba=[{type:"itag",ve:18},{type:"itag",ve:22}],hba=[{type:"itag",ve:22},{type:"itag",ve:18}];var D6=function(a,b,c){this.currentTime=b;this.duration=c;this.adBreakDuration=a.getMaxDuration();this.adPosition=a.getAdPosition();this.totalAds=a.getTotalAds()};function E6(a,b,c){var d=null,e=c+b;a.ya.forEach(function(f){var g;if(g=f instanceof XV)c===0&&b===0||f instanceof mY?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=aT.getFeatureFlags().audioPosterImageDefaultUrl;return!b&&c?new XV({id:null,size:new he(0,0),resourceType:"Static",creativeType:"Image",Da:c,ea:"",Mb:"image",Tf:!0}): b};var G6="start creativeView engagedView impression measurable_impression viewable_impression firstQuartile midpoint thirdQuartile complete".split(" "),jba=G6.concat(),kba=G6.concat(["skipShown","skip"]),H6=function(a){O.call(this);this.G=a;this.o=this.I=this.B=this.H=null;this.D=-1;this.J=!1;this.j=null;this.l=!1;this.A="";this.qa=null;this.g=new ZJ(this);N(this,this.g);this.F=new Set};q(H6,O);H6.prototype.O=function(){I6(this);O.prototype.O.call(this)}; var I6=function(a){cK(a.g);a.H!=null&&JU(a.H);a.o!=null&&a.o.dispose();a.o=null;a.F.clear();a.D=-1;a.A="";a.J=!1;a.l=!1},mba=function(a,b,c,d,e){I6(a);a.H=c;IU(a.H);a.B=d;a.I=e;a.j=new J6(a.H);a.A=b.Bc;vU()&&(b=qX(),a.g.listen(b,"externalActivityEvent",a.yo),a.g.listen(b,"measurable_impression",a.Ao),a.g.listen(b,"viewable_impression",a.Go));a.g.listen(a.H,"timeUpdate",a.rm);a.g.listen(a.H,"loadedmetadata",function(){a.notify((new Cu("loadedMetadata")).type)});a.g.listen(a.H,"durationChange",function(){a.notify((new Cu("durationChange")).type)}); a.g.listen(a.H,"canplay",function(){a.notify((new Cu("adCanPlay")).type)});a.g.listen(a.H,"volumeChange",a.Ho);a.g.listen(a.H,"pause",a.om);a.g.listen(a.H,"play",a.qm);a.g.listen(a.H,"end",a.xo);a.g.listen(a.H,"beginFullscreen",a.X);a.g.listen(a.H,"endFullscreen",a.T);a.g.listen(a.H,"skip",a.N);a.g.listen(a.H,"skipShown",a.Lj);a.g.listen(a.H,"start",a.Do);a.g.listen(a.H,"error",a.km);a.g.listen(a.H,"mediaLoadTimeout",a.lm);a.g.listen(a.H,"autoplayDisallowed",a.jm);a.g.listen(a.H,"loaded",function(){return void a.report("loaded")}); lba(a,a.B,a.I)},lba=function(a,b,c){b!=null&&c!=null&&(gL(c,DM,function(){a.notify(cX({type:"videoClicked"}).type)}),gL(c,yM,function(){return void a.N()}),gL(c,zM,function(){return void a.Lj()}),gL(c,YL,function(){return void a.hf()}),gL(c,eM,function(){a.notify(cX({type:"authorIconClicked"}).type)}),gL(c,fM,function(){a.notify(cX({type:"titleClicked"}).type)}),gL(c,$L,function(){a.notify(cX({type:"authorNameClicked"}).type)}),gL(c,oM,function(){a.notify(cX({type:"learnMoreClicked"}).type)}),gL(c, BM,function(d){return void nba(d)}),gL(c,AM,function(d){return void K6(a,d.o,d.C,d.B)}),gL(c,nM,function(){a.notify(cX({type:"iconFallbackImageClosed"}).type)}),gL(c,CM,function(){return void K6(a,b?b.B:null,null)}))};m=H6.prototype;m.notify=function(a){if(this.l||!jba.includes(a))this.F.has(a)&&kba.includes(a)||(this.F.add(a),this.report(a),this.dispatchEvent(a))};m.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)}; m.Ao=function(a){(a=a.getAdData())&&a.queryId===this.A&&this.notify("measurable_impression")};m.Go=function(a){(a=a.getAdData())&&a.queryId===this.A&&this.notify("viewable_impression")};m.yo=function(a){if(a=a.getAdData()){var b=a.eventName;a=eU(b)&&a.queryId===this.A?b:null;a!=null&&this.l&&!this.F.has(a)&&this.notify(a)}}; m.rm=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"),cH(this.G,this.H.getCurrentTime(),a*1E3));L6(this)}};var L6=function(a){a.H&&!(a.D<0||a.J)&&(a.H.currentTime>=a.D||a.H.l)&&a.l&&(a.J=!0,a.notify("engagedView"))};m=H6.prototype; m.Do=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"))};m.Ho=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}}; m.om=function(){this.H&&this.j&&(this.H.l?(L6(this),this.notify("complete")):this.H.o&&(this.j.j=!0,this.notify("pause")))};m.qm=function(){this.j&&this.j.j&&(this.j.j=!1,this.notify("resume"))};m.xo=function(){L6(this);this.notify("complete")};m.hi=function(){this.notify("click")};m.km=function(){this.notify("error")};m.lm=function(){this.notify("mediaLoadTimeout")};m.jm=function(){this.notify("autoplayDisallowed")};m.Lj=function(){this.notify("skipShown")}; var nba=function(a){a.L.forEach(function(b){iU(b)})},K6=function(a,b,c,d){d=d===void 0?[]:d;var e={};b=(e.clickThroughUrl=b,e.attributionParams=c,e);a.dispatchEvent(cX({type:"videoIconClicked",data:b}));d.forEach(function(f){iU(f)})};H6.prototype.N=function(){this.notify("skip")};H6.prototype.hf=function(){this.notify("skip")};H6.prototype.X=function(){this.notify("fullscreen")};H6.prototype.T=function(){this.notify("exitFullscreen")};var J6=function(a){this.j=!1;this.g=a.muted;this.volume=a.getVolume()}; J6.prototype.muted=function(a,b){return!this.g&&a||this.volume!==0&&b===0};var M6=function(a,b){b=b===void 0?null:b;Cu.call(this,a);this.data=b};q(M6,Cu);var O6=function(a){O.call(this);this.l=a;this.j=!1;this.o=new ZJ(this);N(this,this.o);this.g=new N6;this.o.listen(this.l,"nativeUi",this.A)};q(O6,O);var oba=function(a){a.j||(a.j=!0,P6(a))},pba=function(a,b){a.g.j=b;P6(a)};O6.prototype.O=function(){this.g=new N6;P6(this);this.j=!1;O.prototype.O.call(this)};var P6=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.Ce,c),d);HU(a.l,"nativeUi","updateUiState",b)}}; O6.prototype.A=function(a){switch(a.messageType){case "iconClicked":this.dispatchEvent(new M6("iconClicked",a.g));break;case "iconRendered":this.dispatchEvent(new M6("iconRendered",a.g));break;case "skipButtonClicked":this.dispatchEvent(new M6("skipButtonClicked"))}};var N6=function(){this.Ce="";this.j={};this.g="skipStateHidden"};var qba=["image/jpeg","image/jpg","image/png"],Q6=function(a,b,c){hq.call(this);this.g=a;this.I=b;this.icons=c.filter(function(d){var e=d.D;return e!=null&&qba.includes(e.toLowerCase())&&d.l!=null});this.j=new ZJ(this);N(this,this.j);this.j.listen(this.g,"iconClicked",this.l);this.j.listen(this.g,"iconRendered",this.o);a={};pba(this.g,(a.icons=this.icons.map(function(d,e){return paa(d,e)}),a.iconsFallbackImageCloseText="OK",a.iconsFallbackImageErrorText="The requested information could not be loaded.", a))};q(Q6,hq);Q6.prototype.l=function(a){(a=R6(this,a.data))&&hL(this.I,AM,a)};Q6.prototype.o=function(a){(a=R6(this,a.data))&&hL(this.I,BM,a)};var R6=function(a,b){if(!b||b.id==null)return null;b=b.id;return b<0||b>=a.icons.length?null:a.icons[b]};var T6=function(a,b,c,d){d=d===void 0?!1:d;hq.call(this);this.j=a;this.I=b;this.g=c;this.Kc=d;this.currentTimeSeconds=0;a=this.g;this.state=a<0?1:a===0?3:2;this.l=new ZJ(this);N(this,this.l);rba(this);S6(this);this.state===3&&hL(this.I,zM,null)};q(T6,hq);var rba=function(a){a.l.listen(a.j,"skipButtonClicked",function(){a.state===3&&hL(a.I,yM,null)});gL(a.I,IM,a.o,a);iq(a,function(){dL(a.I.g,IM.toString(),a.o,a)})}; T6.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,hL(this.I,zM,null)):this.state=2,S6(this))}; var S6=function(a){var b="skipStateHidden",c="";if(a.state===3)b="skipStateSkippable",c=uc(a.Kc?"Skip ":"Skip Ad ");else if(a.state===2){b="skipStatePreSkip";c=a.Kc;var d=Math.ceil(a.g-a.currentTimeSeconds),e=d.toString();d>=60&&(e=VF(d));c=ON({Zh:e,Kc:c})}a=a.j;if(a.g.g!==b||a.g.Ce!==c)a.g.g=b,a.g.Ce=c,P6(a)};var U6=function(a,b,c){hq.call(this);this.g=a;this.I=b;this.config=c;this.j=!1};q(U6,hq);m=U6.prototype;m.build=function(){var a=this;gL(this.I,zM,this.Mj,this);iq(this,function(){dL(a.I.g,zM.toString(),a.Mj,a)});var b=cT("promoskip");b=new T6(this.g,this.I,this.config.C,b);N(this,b);b=new Q6(this.g,this.I,this.config.icons);N(this,b);oba(this.g)};m.hf=function(){this.j&&hL(this.I,YL,null)};m.gf=function(){};m.getConfig=function(){return this.config};m.Ch=function(){};m.Mj=function(){this.j=!0};var V6=function(a,b,c,d){d=d===void 0?!1:d;m6.call(this,a,b,c);var e=this;this.N=d;this.qa=this.ha=this.l=this.H=null;this.Z=this.D=!1;this.tb=this.ua=this.F=1;this.B=null;this.T=!1;this.ba=this.ub=null;this.Va=!1;this.wa=b.wa;this.I=b.W.lc();this.A=new H6(this.j);this.ka=new YR(this.I,this.getAd().isSkippable());this.Eb=function(){var f={};return f.currentTime=e.getCurrentTime(),f.duration=e.getDuration(),f.isPlaying=!0,f.isVpaid=hW(e.getAd()),f.isYouTube=!1,f.volume=e.getVolume(),f}};q(V6,m6); V6.prototype.O=function(){tX(this.getAd());var a;(a=this.l)==null||a.dispose();this.l=null;this.I.clear();gq(this.A);gq(this.ha);gq(this.j);this.Z=!1;if(this.D){a=this.D=!1;this.M.W!=null&&(a=this.M.U.yc);var b;(b=this.H)==null||b.reset(a)}var c;(c=this.H)==null||c.unload();W6(this.wa,this.H);m6.prototype.O.call(this)}; var X6=function(a,b,c){if(!a.D){a.D=!0;sX(a.getAd(),a.Eb);qX().H=b;if(a.G!=null){var d=a.G;d.l=b;d.o.listen(d.l,"start",d.T)}a.ha=new J4(b);d=a.ha;var e;(e=d.g)==null||cK(e);d.g=new ZJ(d);N(d,d.g);d.g.listen(d.H,"play",d.l);d.g.listen(d.H,"start",d.o);U(T.getInstance(),"mts",String(a.ma.loadVideoTimeout));e=a.ma.loadVideoTimeout;e>0&&(b.G=e);e=a.getAd().j;e=e instanceof IH?e.g.length>0?e.g[0]:null:null;d=a.getAd().Db;d.j=Date.now();d.g=null;MU(b,c.url||"",e,a.getAd().getAdPodInfo(),a.getAd().getUniversalAdIds()); aT.C&&aT.J&&(b={},c=(b.mediaUrl=c.url,b),a.dispatchEvent(X({type:"mediaUrlPinged",ad:a.getAd(),data:c})))}},sba=function(a,b){if(a.M.U.td){var c=new O6(a.M.Xd);b=new U6(c,a.I,b);N(b,c);return b}c=document.body;var d=a.getAd(),e=a.M.W.Ma();e=(e=e?Kf(e):null)?iba(d,e):null;var f=L4(d,NW(d));d=MW(d,a.ma.disableUi,f);b=e?new X4(e,b,a.I,c,d,!0,a.N,a.M.U):new W4(b,a.I,c,d,!0,a.N,a.M.U);gL(a.I,uM,function(){Y6(a)});gL(a.I,TL,function(){a.pause()});gL(a.I,UL,function(){a.resume()});gL(a.I,VL,function(g){a.rb(g, null,null)});gL(a.I,WL,function(g){var h={};a.dispatchEvent(X({type:"updateGfpCookie",ad:a.getAd(),data:(h.gfpCookieUserEnabled=g.j,h.gfpCookieClearData=g.g,h)}))});return b},Z6=function(a,b){a.g.listen(b,"loaded",a.Eo);a.g.listen(b,"timeUpdate",a.Fo);a.g.listen(b,"waiting",a.Io);a.g.listen(b,"volumeChange",function(){var c=b.getVolume();c!==a.F&&(a.F=c,a.dispatchEvent(X({type:"volumeChange",ad:a.getAd(),data:{volume:c}})),c===0&&a.dispatchEvent(X({type:"mute",ad:a.getAd()})))});a.g.listen(b,"focusSkipButton", a.zo);a.g.listen(b,"seeked",function(){return void a.dispatchEvent("seeked")});a.g.listen(b,"seeking",function(){return void a.dispatchEvent("seeking")})};m=V6.prototype; m.init=function(){if(this.o)$6(this);else{this.o=!0;var a=this.getAd().isSkippable()&&!AU(this.M.U)?bV(oS,null,"skippablevideo"):null;if(a)a7(this,this.H,oS,a);else{a:{a=this.getAd();var b=this.ma.bitrate,c=this.ma.mimeTypes,d=this.M.U,e=a.j,f=kW(a,"GoogleHostedMediaExtension");if(f){var g=gba,h=DU(d);lg()&&h!==1&&h!==2||(g=hba);f=(new CL(g,!1,b,d.bc)).select(f.j,e,aW(mE));if(f.length>0)for(f=v(f),g=f.next();!g.done;g=f.next())if(g=g.value,g instanceof WH){a=new NY(null,g.g,g.Pa,0,0,0,g.getWidth()|| 0,g.getHeight()||0,g.getMediaUrl(),null);break a}}c=wU(c||[]);a=(new yL({Rb:b,mimeTypes:c,bc:d.bc})).select(eW(a),e,aW(mE));a=a.length>0?a[0]:null}this.B=a;this.B===null?b7(this,bV(xS)):(this.getAd().g.g=this.B,$6(this),tba(this,this.B))}}};m.skip=function(){var a;if(a=this.H)if(a=this.getAd().isSkippable())a=bT(),a=XS(a,"enableSkipApi")||this.getAd().disableUi;a&&(this.l!=null?this.l.hf():(this.reportEvent("skip"),c7(this)))}; m.start=function(){if(this.ub){var a=this.H;a7(this,a,HS,bV(HS,a.getError()))}else if(m6.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=d7(this.wa),this.H||(e7(this.wa,this.M.U.yc),this.H=d7(this.wa))),this.H){var b=this.getAd().j;if(b instanceof IH){var c=KQ(b);c&&(this.getAd().ba=c)}if(this.ma.useVideoAdUi||this.M.U.td){var d=this.getAd(),e=this.ma,f=this.M.U,g=d.bh(),h=e.useStyledLinearAds;if(xU(f))var k= !1;else{var l;if(!(l=NI()&&!d.isCustomClickTrackingUsed(f))){var n,p;(p=d.j instanceof IH&&GQ(d.j)||KW(d))||(p=d.j instanceof IH&&HQ(d.j)?JQ(d.j):!1);(n=p)||(n=d.j instanceof IH&&HQ(d.j)?IQ(d.j):!1);l=n||h}k=l?!0:!1}var r=k;var t=(lW(d).get("AdSense")||[]).pop(),u=t!=null&&t.qf,A=t?t.j:null,w=r||u||e.useStyledLinearAds;if(LW(d)){var E=NW(d);if(I4(E)){var D,G;var ha=(G=((D=lW(d).get("GpidWtaExtension"))!=null?D:[])[0])==null?void 0:G.j}var ca=NW(d);e=ha;var hd=sW(d),xd=new H4;xd.Ka=hd;xd.icons=ca; xd.j=!1;xd.l=!1;xd.g=!1;xd.o=!1;xd.A=!1;xd.C=-1;e&&(xd.L=e);var Vg=xd}else if(w){var uk=H(DW(d)),En=r||u||e.useLearnMoreButton;if(F(uk)||!II(uk))En=!1;ca=En;var Yf=G4(d,f.sc,0);Yf.g=ca;Yf.P=e.g;!g||F4(Yf,e.uiElements);I4(NW(d))||F(H(A))||f.Kd||(Yf.B=A);Vg=Yf}else{c:{g=["ADSENSE","ADSENSE/ADX","402"];for(var vk=tW(d),Wg=vk.length-1;Wg>=0;Wg--)if(vk[Wg]!=="UNKNOWN"){var Xb=g.includes(vk[Wg]);break c}Xb=!1}if(Xb){var wk=G4(d,f.sc);wk.A=!0;I4(NW(d))||F(H(A))||(wk.B=A);var Xg=wk}else{var Yg=G4(d,f.sc); Yg.o=!1;Yg.j=!1;Yg.l=!1;F4(Yg,e.uiElements);Xg=Yg}Vg=Xg}this.ba=Vg;this.l=sba(this,Vg);this.l.build();if(this.getAd().ba!=null&&Vg.P){var vb=this.ka,oi=this.getAd().j;vb.g=oi instanceof IH?LQ(oi):null;vb.j=oi instanceof IH?MQ(oi):null;vb.g&&vb.g.g&&(vb.g.title&&hL(vb.l,SL,vb.g.title),vb.j&&vb.j.title&&hL(vb.l,QL,vb.j.title),vb.j&&vb.j.g&&hL(vb.l,PL,vb.j.g))}var Fs=this.getAd(),Fn=Vg.getUiElements();Fs.uiElements=Fn}var xk=this.H;HU(xk.j,xk.g,"activate");var pi=this.H,Gn;mba(this.A,this.getAd(),pi, ((Gn=this.l)==null?void 0:Gn.getConfig())||null,this.I);this.g.listen(this.A,"adCanPlay durationChange engagedView authorIconClicked authorNameClicked videoClicked videoIconClicked iconFallbackImageClosed learnMoreClicked muteClicked titleClicked unmuteClicked start skipShown loadedMetadata".split(" "),this.J);var Hn=new jH(this.getAd().j,this.j,pi,vU(),this.getAd().Bc);mH(Hn);N(this,Hn);Z6(this,pi);aK(this.g,this.A,"impression",this.J,!1,this);uba(this,pi);X6(this,this.H,a);var In=this.setVolume, qi=kW(this.getAd(),"AdSense");In.call(this,qi!=null&&qi.uiConfig!=null&&qi.uiConfig.ge?0:this.tb);this.reportEvent("show_ad");this.dispatchEvent(X({type:"show_ad",ad:this.getAd()}));this.M.W.Rh();try{n6(this)}catch(yk){a7(this,this.H,lS,yk);break a}this.H.play()}else a7(this,this.H,uS,Error("Could not claim video display."))}catch(yk){b7(this,yk)}};m.getVolume=function(){return this.D&&this.H?this.H.muted?0:this.H.getVolume():this.F}; m.setVolume=function(a){this.D&&this.H?this.H.setVolume(a):this.F=a;this.tb=a};m.pause=function(){this.H&&this.H.pause()};m.resume=function(){this.H&&this.H.play()};m.getCurrentTime=function(){return this.H?this.H.getCurrentTime():-1};m.getDuration=function(){return this.H?this.H.getDuration():-2};m.getRemainingTime=function(){var a=this.getDuration(),b=this.getCurrentTime();return a>=0&&b>=0?Math.max(0,a-b):-1}; var a7=function(a,b,c,d){a.getAd().Wd();f7(a,b,d);fV(a,c,d);a.destroy()},f7=function(a,b,c){c=bV(HS,c);b=QX(c,a.M.U,a.getAd(),b);a.Xa()||a.Va||(a.Va=!0,a.Ob(c,b))},uba=function(a,b){eH(a.j,WX(a.getAd(),a.M.U,b));a.M.De.forEach(function(d){var e=a.j;d=d.create();e.C.push(d)});var c=a.getAd().g;c!=null&&c instanceof UV&&(bU.forEach(function(d){aK(a.g,a.A,d,a.J,!1,a)}),c=a.g,c.listen(a.A,"error",function(){a7(a,b,HS,bV(HS,b.getError()))}),c.listen(a.A,"mediaLoadTimeout",function(){a.getAd().Db.g=Date.now(); a7(a,b,AS,bV(AS,null,(a.ma.loadVideoTimeout/1E3).toString()))}),c.listen(a.A,"autoplayDisallowed",function(){var d=bV(HS),e=bV(kS);d.g=e;a7(a,b,HS,d)}));a.getAd().isSkippable()&&(a.A.D=30)},g7=function(a){if(a.T){a.dispatchEvent(X({type:"click",ad:a.getAd()}));var b=a.getAd(),c=DW(b);!a.ma.disableClickThrough&&c&&((new P(c)).o||(c=h0(c)),mL(c,EW(b)))}}; V6.prototype.J=function(a){switch(a.type){case "start":o6(this);this.T=!0;this.l&&this.l.Ch();h7(this,"start");eF(T.getInstance(),"ff");a=this.A;var b=this.M.W.Ti();b||a.B||!a.H||a.g.listen(a.H,"click",a.hi);if(b){a.o=new A4;a.g.listen(a.o,"click",a.hi,!1);var c=a.o;b==null||c.F||(c.g=b,saa(c),c.F=!0)}a.I&&gL(a.I,aM,a.hi,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":hL(this.I,EM,!0);this.dispatchEvent(X({type:"pause",ad:this.getAd()}));break;case "resume":hL(this.I,EM,!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":h7(this,"click");g7(this);this.pause();break;case "engagedView":this.dispatchEvent(X({type:"engagedView",ad:this.getAd()})); break;case "videoClicked":Y6(this);this.dispatchEvent(bX({type:"videoClicked"}));break;case "videoIconClicked":this.dispatchEvent(a);(a=a.getAdData())&&!this.M.U.og&&this.rb(a.clickThroughUrl,a.attributionParams,null);this.pause();break;case "iconFallbackImageClosed":this.dispatchEvent(X({type:"iconFallbackImageClosed",ad:this.getAd()}));break;case "authorIconClicked":i7(this);break;case "authorNameClicked":i7(this);break;case "learnMoreClicked":h7(this,"learn_more_click");g7(this);this.pause();break; case "titleClicked":b=this.ka;if(b.g&&b.g.g)if(a=b.g.id,b=b.o,b=b===void 0?!1:b,a==null)a=null;else{c=new P("//www.youtube.com/watch");var d=c.g;d.set("v",a);d.set("feature",b?"trueview-instream":"instream");LB(c,d);a=c.toString()}else a=null;a!==null&&(this.pause(),this.rb(a,null,null));break;case "muteClicked":this.ua=this.F;this.setVolume(0);break;case "unmuteClicked":this.setVolume(this.ua);break;case "skipShown":this.dispatchEvent(X({type:"skippableStateChanged",ad:this.getAd()}));break;case "skip":c7(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 Y6=function(a){a.H&&(a.H.o?a.resume():a.pause())},c7=function(a){a.dispatchEvent(X({type:"skip",ad:a.getAd()}));a.destroy()};m=V6.prototype; m.Bd=function(){h7(this,"external_click");if(this.getAd().disableUi&&this.T){var a={};a=(a.url=DW(this.getAd()),a.attributionParams=EW(this.getAd()),a);this.reportEvent("click");this.dispatchEvent(X({type:"click",ad:this.getAd(),data:a}))}this.getAd();this.pause()};m.Eo=function(){this.getAd().Db.g=Date.now()};m.jl=function(a,b){return b>=0&&a>=0}; m.Fo=function(){var a=this.getCurrentTime(),b=this.getDuration();if(this.jl(a,b)){var c=new D6(this.getAd().getAdPodInfo(),a,b);this.dispatchEvent(X({type:"adProgress",ad:this.getAd(),data:c}))}if(this.l!=null&&b>=0&&a>=0){if(!(this.Z||this.getAd().F<3)&&this.H){c=this.H.getDuration();var d=FW(this.getAd());c=Math.abs(c-d);c>2&&(c=bV(DS,null,Number(c).toFixed(2)),d=QX(c,this.M.U,this.getAd(),this.H),this.Ob(c,d));this.Z=!0}c=this.getAd().getAdPodInfo();a=new HM(a,b,this.H?this.H.duration:-1,c.getAdPosition(), c.getTotalAds());hL(this.I,IM,a)}};m.zo=function(){this.l&&hL(this.I,mM,null)};m.Io=function(){this.dispatchEvent(X({type:"adBuffering",ad:this.getAd()}))};var i7=function(a){var b,c=a.ka;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=H(c.j.id),b=F(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.rb(b,null,null))}; V6.prototype.ac=function(){m6.prototype.ac.call(this);var a;(a=this.l)==null||a.gf()};V6.prototype.resize=function(a,b){m6.prototype.resize.call(this,a,b);var c;(c=this.l)==null||c.gf()}; var tba=function(a,b){a.ma.enablePreloading&&uU(a.M.U.yc)&&(a.H=d7(a.wa),a.H&&(Z6(a,a.H),a.g.listen(a.H,"error",function(c){a.ub=c}),IU(a.H),X6(a,a.H,b)))},b7=function(a,b){f7(a,a.H,b);b instanceof bS?a.dispatchEvent(new dV(b)):fV(a,HS,b);a.destroy()},$6=function(a){a.dispatchEvent(X({type:"loaded",ad:a.getAd()}));a.dispatchEvent(X({type:"adMetadata",ad:a.getAd()}))},h7=function(a,b){var c,d=(c=a.getAd())==null?void 0:c.j;if(d&&(HQ(d)||a.N)){c=a.ba?a.ba.g:"null";var e={},f=kU.getInstance(),g=f.report; e.evt=b;b=(b=HQ(d))?(b=b.g)?b:"noformat":"noextension";g.call(f,170,(e.format=b,e.clicks_allowed=a.T,e.ux_refresh=a.N,e.learn_more_enabled=c,e))}};V6.prototype.toString=function(){return"videoman"};var j7=function(){V6.apply(this,arguments)};q(j7,V6);j7.prototype.J=function(a){switch(a.type){case "complete":this.dispatchEvent(X({type:"complete",ad:this.getAd()}));break;default:V6.prototype.J.call(this,a)}};j7.prototype.jl=function(a,b){return(b>=0||b===-2)&&a>=0};j7.prototype.getDuration=function(){return V6.prototype.getDuration.call(this)+GW(this.getAd())};var k7=function(a,b){hq.call(this);this.sk=a;this.g=b;this.la=Te(document,"IFRAME");Af(this.la,"width","100%");Af(this.la,"height","100%")};q(k7,hq);var vba=function(a,b){b.appendChild(a.la);iq(a,function(){return Ye(a.la)})},wba=function(a,b,c){var d,e,f,g;return z(function(h){if(h.g==1)return d={},e=(d.gdpr=c.gdprApplies,d.gdpr_consent=c.If,d.addtl_consent=c.addtlConsent,d),f=lL,g=a.la,y(h,kL(a.sk,b,e,a.g),2);f(g,h.j);h.g=0})};k7.prototype.show=function(){Pf(this.la,!0)}; k7.prototype.fa=function(){Pf(this.la,!1)};var l7=function(a,b){hq.call(this);var c=this;this.la=a;this.C=b;this.o=this.A=!1;this.j=[];this.g=[];this.l=function(d){d.source===c.la.contentWindow&&(c.o||d.data.type==="fledge_player_loaded"?c.C(d.data):c.g.push(d.data))};window.addEventListener("message",this.l,!0);iq(this,function(){window.removeEventListener("message",c.l,!0)})};q(l7,hq);l7.prototype.postMessage=function(a){if(this.A){var b;(b=this.la.contentWindow)==null||b.postMessage(a,"*")}else this.j.push(a)}; var xba=function(a){for(a.o=!0;a.g.length>0;){var b=a.g.shift();b&&a.C(b)}};var m7=function(a,b,c,d){d=d===void 0?navigator:d;O.call(this);var e=this;this.ad=a;this.M=b;this.ma=c;this.sk=d;this.Ia=!1;this.El=this.Lg=this.currentTime=this.Dk=0;this.wo=function(f){switch(f.type){case "fledge_player_ready":f=e.Hd;for(f.A=!0;f.j.length>0;){var g=f.j.shift();g&&f.postMessage(g)}break;case "fledge_player_loaded":clearTimeout(e.El);e.getAd().Db.g=Date.now();break;case "fledge_player_progress":g=f.data;f=g.currentTime;g=g.duration;e.Lg!==g&&e.dispatchEvent(X({type:"durationChange", ad:e.getAd()}));e.currentTime=f;e.Lg=g;f=new D6(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){fV(e,sS,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.vl=this.M.W.Ma();a=this.vl.getBoundingClientRect();this.Ve=new k7(d,new he(a.width,a.height));N(this,this.Ve);this.Hd=new l7(this.Ve.la,this.wo);N(this,this.Hd);this.mk=new dW(null,null,"UNKNOWN",null,null,null,null,null,0,[],[],[],[],new Map,new rI(new DJ({ya:[new nI({rc:new jI})]})));this.mk.Kb=this.ad.getAdPodInfo()};q(m7,O);m=m7.prototype;m.getAd=function(){return this.mk};m.dd=function(){return!0}; m.init=function(){var a=this,b;return z(function(c){switch(c.g){case 1:if(a.Ia)return c.return();var d=a.getAd().Db;d.j=Date.now();d.g=null;a.Ve.fa();c.l=2;return y(c,wba(a.Ve,a.ad.g,{gdprApplies:mT(a.M.U.Aa),If:nT(a.M.U.Aa),addtlConsent:oT(a.M.U.Aa)}),4);case 4:xa(c,3);break;case 2:return b=ya(c),fV(a,sS,b),a.destroy(),c.return();case 3:vba(a.Ve,a.vl),a.Ia=!0,c.g=0}})}; m.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.M.W.Pc();a.Ve.show();a.Hd.postMessage({type:"fledge_player_set_playback",data:{enable:!0}});xba(a.Hd);a.El=setTimeout(function(){a.getAd().Db.g=Date.now();fV(a,AS,void 0);a.destroy()},a.ma.loadVideoTimeout);b.g=0})};m.pause=function(){this.Hd.postMessage({type:"fledge_player_set_playback",data:{enable:!1}})}; m.resume=function(){this.Hd.postMessage({type:"fledge_player_set_playback",data:{enable:!0}})};m.destroy=function(){this.dispatchEvent(X({type:"contentResumeRequested",ad:this.getAd()}));this.dispatchEvent(X({type:"allAdsCompleted",ad:this.getAd()}));this.dispose();return Promise.resolve()};m.skip=function(){};m.setVolume=function(a){this.Dk=a;this.Hd.postMessage({type:"fledge_player_set_volume",data:{volume:a}})};m.getVolume=function(){return this.Dk};m.jg=function(){this.Hd.postMessage({type:"fledge_player_abandon"})}; m.getCurrentTime=function(){return this.currentTime};m.getDuration=function(){return this.Lg};m.getRemainingTime=function(){return this.Lg-this.currentTime};m.ac=function(){};m.resize=function(){};m.Bd=function(){};m.collapse=function(){};m.expand=function(){};m.reportEvent=function(){};m.Ob=function(){};m.rb=function(){};m.od=function(){};m.Mc=function(){};m.toString=function(){return"fledgeman"};var n7=function(a){hq.call(this);this.W=a};q(n7,hq);m=n7.prototype;m.Ti=function(){return this.W.Ti()};m.Ma=function(){return this.W.Ma()};m.pe=function(){return this.W.pe()};m.fa=function(){};m.Rh=function(){this.W.Rh()};m.Yg=function(){this.W.fa()};m.Pc=function(){this.W.Pc()};m.bd=function(){this.W.bd()};m.lc=function(){return this.W.lc()};m.uj=function(a){this.W.uj(a)};m.vj=function(){this.W.vj()};var p7=function(a,b,c){b6.call(this,a.oe());this.g=a;this.M=b;this.ma=c;this.l=this.j=this.D=this.G=this.o=!1;this.F=o7(this,this.Y);this.volume=1;var d;this.B=((d=this.M.La.j)==null?void 0:d.width)||-1;var e;this.A=((e=this.M.La.j)==null?void 0:e.height)||-1};q(p7,b6);p7.prototype.resize=function(a,b){this.B=a;this.A=b;b6.prototype.resize.call(this,a,b)};p7.prototype.start=function(){this.D=!0;q7(this)};var q7=function(a){a.j||a.l||(a.j=!0,a.Y.dd()||r7(a),b6.prototype.start.call(a))}; p7.prototype.setVolume=function(a){this.volume=a;b6.prototype.setVolume.call(this,a)};p7.prototype.destroy=function(){this.g.dispose();return b6.prototype.destroy.call(this)};p7.prototype.O=function(){b6.prototype.O.call(this);this.Y.dispose()}; var yba=function(a,b){var c,d,e;return z(function(f){if(f.g==1)return a.l=!0,c=b.getError()||bV(HS),y(f,a.g.xe(),2);(d=f.j)?(e=bX({type:"log",data:c}),a.dispatchEvent(e)):a.dispatchEvent(b);a.Y.destroy();f.g=0})},zba=function(a,b){var c,d;return z(function(e){switch(e.g){case 1:return y(e,a.g.xe(),2);case 2:c=e.j;case 3:return c&&c.Xa()?y(e,a.g.Vg(),6):c?y(e,a.g.Vg(),8):(s7(a,c),a.dispatchEvent(b),a.dispose(),e.return());case 6:return y(e,a.g.xe(),7);case 7:c=e.j;e.g=3;break;case 8:d=e.j,s7(a,d), a.Y.Xa()||a.Y.dispose(),a.Y=d,a.l=!1,a.j=!1,a.D?(t7(a),q7(a)):t7(a),e.g=0}})},Aba=function(a){var b;return z(function(c){if(c.g==1)return y(c,a.g.xe(),2);(b=c.j)?b.dd()||r7(a):r7(a);c.g=0})},r7=function(a){!a.G&&a.o&&(a.G=!0,a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()})))},t7=function(a){if(a.g.Zi())throw Error("1st manager initialization is done by publisher calling ad pod manager api.");var b;(b=a.F)==null||b.dispose();a.F=o7(a,a.Y);a.setVolume(a.volume);a.resize(a.B,a.A);a.init()}, Cba=function(a,b,c){c.listen(b,a6,function(d){return a.dispatchEvent(d)});c.listen(b,"contentResumeRequested",function(){return void Aba(a)});c.listen(b,"adError",function(d){return void yba(a,d)});c.listen(b,"allAdsCompleted",function(d){return void zba(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 Bba(a)})},Bba=function(a){var b;return z(function(c){if(c.g==1)return y(c, a.g.xe(),2);(b=c.j)&&a.ma.enablePreloading&&uU(a.M.U.yc)&&(Dba(a,b),b.setVolume(a.getVolume()),b.init());c.g=0})},o7=function(a,b){var c=new ZJ(b);N(a,c);Cba(a,b,c);return c},s7=function(a,b){b?b.dd()||a.M.W.Yg():(a.M.W.Yg(),a.M.W.bd())},Dba=function(a,b){aT.C&&aT.J&&(new ZJ(b)).Md(b,"mediaUrlPinged",function(c){return a.dispatchEvent(c)})};p7.prototype.od=function(){this.Y.od()};p7.prototype.Mc=function(){this.Y.Mc()};function Eba(a){if(!a)return null;try{var b=JSON.parse(a.oa)}catch(c){return null}return Fba(b)?b:null}var Fba=dg({_width_:$f,_height_:$f,_should_resize_:eg(bg),_resizing_threshold_:eg($f)});var u7=function(a){var b=a.ad;var c=a.M;a=a.ma;m6.call(this,b,c,a);var d=this;this.T=null;this.Z=!1;this.J=.4;this.currentTime=-1;this.A=null;this.B=this.D=this.F=!1;this.layout=null;this.N=Gba(b);if(this.oa=Eba(b.g)){this.T=new he(this.oa._width_,this.oa._height_);var e;this.Z=(e=this.oa._should_resize_)!=null?e:!1;this.J=this.oa._resizing_threshold_!=null&&this.oa._resizing_threshold_>0?this.oa._resizing_threshold_:.4}this.ba=a.loadVideoTimeout!==-1?a.loadVideoTimeout:8E3;this.l=new Dv(200);N(this, this.l);this.g.listen(this.l,"tick",function(){var f=d.getDuration();d.currentTime+=.2;var g=d.currentTime>=f;d.currentTime=Math.min(f,d.currentTime);f=new D6(d.getAd().getAdPodInfo(),d.currentTime,f);d.dispatchEvent(X({type:"adProgress",ad:d.getAd(),data:f}));f=new HM(d.currentTime,d.getDuration());hL(d.I,IM,f);g&&(d.l.stop(),p6(d,"complete"),d.destroy())});this.I=c.W.lc();iq(this,function(){return void d.I.clear()})};q(u7,m6);m=u7.prototype; m.O=function(){this.A!=null&&(Fv(this.A),this.A=null);this.M.W.bd();var a=this.M.W.Ma();a&&We(a);m6.prototype.O.call(this)};m.init=function(){if(!this.o){this.o=!0;var a=this.M.W.Ma(),b=this.oa;this.N&&a&&b?p6(this,"loaded"):(a=bV(oS,null,"SafeFrame"),v7(this,a),this.destroy())}}; m.start=function(){var a=this;this.F||(this.F=!0,Hba(this),m6.prototype.start.call(this),this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()})),this.currentTime=0,this.D?w7(this):this.A=Ev(function(){a.A=null;if(!a.D){var b=bV(AS,null,(a.ba/1E3).toString());v7(a,b);a.destroy()}},this.ba))}; m.uk=function(){var a=this.M.U.B.clone(),b=this.getAd(),c=this.M.W,d=this.oa,e=this.getDuration(),f=new ty,g=b.getAdPodInfo().getPodIndex();g=zZ(g);g=Vk(g,1);hl(f,1,g);if(c=c.Ma()){g=c.getBoundingClientRect();c=g.y;g=g.x;var h=new py;c=$k(h,1,c);c=$k(c,2,g);Mk(f,2,c)}d!==null&&(c=d._width_,d=d._height_,g=new ry,c=$k(g,1,c),d=$k(c,2,d),Mk(f,3,d));b=b.getAdPodInfo().getMaxDuration();d=new ny;b=Zk(d,2,b);e=Zk(b,3,e);Mk(f,4,e);a=Mk(a,3,f);return hl(a,5,2)}; m.pause=function(){this.B&&(this.l.stop(),p6(this,"pause"))};m.resume=function(){this.B&&(this.l.start(),p6(this,"resume"))};m.resize=function(a,b){m6.prototype.resize.call(this,a,b);a=x7(this);a===0?(a=bV(rS,null),v7(this,a),this.destroy()):y7(this,a)};m.getDuration=function(){return this.getAd().getDuration()};m.getCurrentTime=function(){return this.currentTime};m.getRemainingTime=function(){return this.getCurrentTime()<0?-1:this.getDuration()-this.getCurrentTime()}; m.skip=function(){var a;(a=BW(this.getAd()))?(a=oU(a),a=a!==-1&&this.currentTime!==-1&&this.currentTime>=a):a=!1;a&&(this.l.stop(),p6(this,"skip"),this.destroy())}; var x7=function(a){var b=a.M.W.Ma(),c=a.T;if(!b||!c)return 0;var d=b.clientWidth;b=b.clientHeight;if(!a.Z)return d>=c.width&&b>=c.height?1:0;var e=Math.min(a.J,Math.min((d-c.width)/c.width,(b-c.height)/c.height))+1;return e<1-a.J?(a={},kU.getInstance().report(193,(a.m="resize_failed",a.resize_rate=e,a.player_width=d,a.player_height=b,a.creative_width=c.width,a.creative_height=c.height,a)),0):e},w7=function(a){var b=x7(a);b===0?(b=bV(rS,null),v7(a,b),a.destroy()):a.B||(a.B=!0,a.l.start(),y7(a,b),a.M.W.Pc(), p6(a,"show_ad"),p6(a,"impression"),p6(a,"creativeView"),p6(a,"start"))},v7=function(a,b){a.getAd().Wd();a.Ob(b,QX(b,a.M.U,a.getAd()));a.dispatchEvent(new dV(b))},y7=function(a,b){var c=a.M.W.Ma();if(a.layout&&a.layout.view&&c){var d=a.layout.view.ig;d&&(d.style.transform="scale("+b+")",a=a.oa)&&(d={},kU.getInstance().report(193,(d.m="resize_safe_frame",d.resize_rate=b,d.player_width=c.clientWidth,d.player_height=c.clientHeight,d.creative_width=a._width_,d.creative_height=a._height_,d)))}},Hba=function(a){var b= a.M.W.Ma(),c=a.oa,d=fI(a.N);iL(a,a.I,pM,function(){a.D=!0;a.F&&w7(a)});iL(a,a.I,zM,function(){a.dispatchEvent(X({type:"skippableStateChanged",ad:a.getAd()}));p6(a,"skipShown")});iL(a,a.I,yM,function(){a.skip()});iL(a,a.I,WL,function(g){var h={};a.dispatchEvent(X({type:"updateGfpCookie",ad:a.getAd(),data:(h.gfpCookieUserEnabled=g.j,h.gfpCookieClearData=g.g,h)}))});We(b);var e,f;a.layout=new V5({container:b,Pe:d,Uc:new he(c._width_,c._height_),Ka:sW(a.getAd()),Pb:oL(),gb:"1-0-45",skipOffset:(f=(e=BW(a.getAd()))== null?void 0:oU(e))!=null?f:null,I:a.I});iq(a,function(){var g;return void((g=a.layout)==null?void 0:g.dispose())});a.layout.build()};function Gba(a){var b;return(b=a.g.pb.find(function(c){return c.ea==="Safeframe"&&c.mimeType==="text/html"&&c.Ta.resourceType==="Html"&&!F(c.Ta.g)}))!=null?b:null};var z7=function(a,b,c){m6.call(this,a,b,c);this.na=null;this.l=!1;this.layout=null;this.A=a.g;this.I=b.W.lc()};q(z7,m6);m=z7.prototype;m.init=function(){if(!this.o)if(this.o=!0,this.na=this.M.W.Ma())this.dispatchEvent(X({type:"loaded",ad:this.getAd()}));else{var a=bV(oS,null,"SafeFrameNonLinear");A7(this,a);this.destroy()}};m.start=function(){m6.prototype.start.call(this);We(this.na);Iba(this);B7(this)||C7(this)};m.expand=function(){m6.prototype.expand.call(this)};m.collapse=function(){m6.prototype.collapse.call(this)}; m.ac=function(){m6.prototype.ac.call(this);B7(this)?this.l&&this.reportEvent("overlay_resize"):C7(this)};m.resize=function(){B7(this)||C7(this)};m.O=function(){var a;(a=this.layout)==null||a.dispose();this.layout=null;this.l=!1;this.na!=null&&(We(this.na),this.na=null);this.M.W.bd();m6.prototype.O.call(this)}; var Iba=function(a){a.layout||(iL(a,a.I,pM,function(){a.l||(a.l=!0,a.M.W.Pc(),p6(a,"show_ad"),p6(a,"impression"),p6(a,"creativeView"),p6(a,"start"))}),iL(a,a.I,WL,function(b){var c={};a.dispatchEvent(X({type:"updateGfpCookie",ad:a.getAd(),data:(c.gfpCookieUserEnabled=b.j,c.gfpCookieClearData=b.g,c)}))}),a.na&&(a.layout=new W5({Oe:a.A,I:a.I,na:a.na,Pb:oL(),gb:"1-0-45",Ka:sW(a.getAd())}),a.layout.build()))},B7=function(a){if(a.layout===null||a.na===null)return!0;var b=Kf(a.na);a=Lf(a.layout.ce());return a.width<= b.width&&a.height<=b.height},C7=function(a){var b=bV(rS);A7(a,b);a.destroy()},A7=function(a,b){a.getAd().Wd();a.Ob(b,QX(b,a.M.U,a.getAd()));a.dispatchEvent(new dV(b))};z7.prototype.toString=function(){return"safeframenonlinearman"};var D7=function(a,b){this.Y=a;this.M=b},E7=function(a){var b;return((b=a.Y.getAd())==null?void 0:DW(b))||""};D7.prototype.se=function(){return!1};D7.prototype.getVolume=function(){return this.Y.getVolume()};var F7=function(a){a=Kf(a.M.W.Ma());return a.width===0&&a.height===0?new he(-1,-1):a};D7.prototype.getMediaUrl=function(){var a,b;return(b=(a=this.Y.getAd())==null?void 0:a.getMediaUrl())!=null?b:null};D7.prototype.getCurrentTime=function(){return this.Y.getCurrentTime()}; D7.prototype.getDuration=function(){return this.Y.getDuration()};function Jba(a){return a.ea==="SIMID"&&a.mimeType==="text/html"&&!F(a.Ta.g)};var G7={},Kba=(G7[400]=1206,G7[402]=1207,G7[403]=1209,G7),H7=function(a){var b=a.Y;var c=a.M;var d=a.ad;a=a.Ca;b6.call(this,b);this.l=null;this.F=0;this.D=!1;this.N=this.G=this.o=null;this.J=!1;this.qa=null;this.g=new D7(b,c);b=(this.A=d.g.pb.find(Jba)||null)?eI(this.A):null;d=AE(KF);this.Ca=a||new zQ(b,{Ng:AE(IF),Fi:AE(JF),Gi:!AE(NF)},d);this.Ca.o=!0;this.T=new ZJ(this);this.j=new ZJ(this);N(this,this.j);this.M=c;this.B=new bC;this.X=new sZ;var e;this.Z=(e=b==null?void 0:b.includes("imasdk.googleapis.com"))!= null?e:!1;Lba(this)};q(H7,b6); H7.prototype.init=function(){var a=this;b6.prototype.init.call(this);if(!this.J){this.J=!0;if(this.A==null||!yU(this.M.U)){var b=bV(oS,null,"SIMID"),c=QX(b,this.M.U,this.getAd());b6.prototype.Ob.call(this,b,c);I7(this);throw b;}b=eI(this.A);(c=fI(this.A))?this.l=EQ(c):b&&(this.l=DQ(b));if(this.l){var d;(d=this.M.W.Ma())==null||d.appendChild(this.l);b=this.l.contentWindow;kU.getInstance().report(223,{present:!!b});AQ(this.Ca,{ii:b,target:b})}Mba(this);this.Ca.g.o.promise.then(function(){eF(T.getInstance(),"ima_srr"); var e=F7(a.g);var f=a.g;var g=f.Y.getAd();if(g){var h,k,l={};b:{var n=g.getTraffickingParametersString(),p=(l.gwsid=(h=rW(g))!=null?h:"",l.qemid=(k=sW(g))!=null?k:"",l.sdkv=QT(f.M.U),l.eid=FE(),l.ssss="unknown",l);try{var r=JSON.parse(n)}catch(t){f=n;break b}f=typeof r==="object"&&r.hasOwnProperty("youtubeVideoId")?JSON.stringify(Object.assign({},r,p)):n}}else f="";f={oa:f,oi:E7(a.g),pi:E7(a.g),fullscreen:a.g.se(),muted:a.g.getVolume()===0,mj:xU(a.M.U)?"notSupported":"adHandles",Fj:!0,videoWidth:e.width, videoHeight:e.height,volume:a.g.getVolume()};a.Ca.g.sendMessage("SIMID:Player:init",new jQ(f)).then(a.B.resolve).catch(a.B.reject);eF(T.getInstance(),"ima_si");Number.isInteger(e.width)&&Number.isInteger(e.height)||eF(T.getInstance(),"ima_vsni")})}}; var Lba=function(a){a.j.listen(a.Y,[].concat(x(a6)),function(d){return void a.dispatchEvent(d)});a.j.listen(a.Y,"contentPauseRequested",function(d){return void a.dispatchEvent(d)});a.j.listen(a.Y,"adProgress",function(d){d=d.getAdData();J7(a,d.currentTime)});a.j.listen(a.Y,"volumeChange",function(d){var e=d.getAdData();d=a.Ca;e=e.volume;var f=a.g.getVolume()===0;d.g.sendMessage("SIMID:Media:volumechange",new jQ({volume:e,muted:f}))});a.j.listen(a.Y,"complete",function(){return void Nba(a)});a.j.listen(a.Y, "skip",function(){var d=a.Ca.g.sendMessage("SIMID:Player:adSkipped");I7(a,d)});a.j.listen(a.Y,"loadedMetadata",function(){return void K7(a)});a.j.listen(a.Y,"durationChange",function(){return void K7(a)});a.j.listen(a.Y,"adError",function(d){var e,f=(d==null?void 0:(e=d.getError())==null?void 0:e.getErrorCode())||-1;e=a.Ca.g.sendMessage("SIMID:Player:fatalError",new jQ({errorCode:Kba[f]||1200}));a.dispatchEvent(d);I7(a,e)});var b={},c=(b.adBuffering="SIMID:Media:stalled",b.pause="SIMID:Media:pause", b.impression="SIMID:Media:play",b.resume="SIMID:Media:play",b.seeked="SIMID:Media:seeked",b.seeking="SIMID:Media:seeking",b);a.j.listen(a.Y,Object.keys(c),function(d){return void a.Ca.g.sendMessage(c[d.type])})},J7=function(a,b){a.Ca.g.sendMessage("SIMID:Media:timeupdate",new jQ({currentTime:b}));var c=a.getDuration();a.D&&c!==-2&&b>=c&&L7(a,2)};H7.prototype.pause=function(){this.o?this.o.stop():b6.prototype.pause.call(this)};H7.prototype.resume=function(){this.o?this.o.start():b6.prototype.resume.call(this)}; var Nba=function(a){a.Ca.g.sendMessage("SIMID:Media:ended");a.D?(a.o=new Dv,N(a,a.o),a.j.listen(a.o,"tick",function(){a.F+=.25;var b=a.getAd();b&&(b=new D6(b.getAdPodInfo(),a.getCurrentTime(),a.getDuration()),a.dispatchEvent(X({type:"adProgress",ad:a.getAd(),data:b})));J7(a,a.getCurrentTime())}),a.o.setInterval(250),a.o.start()):L7(a,2)};H7.prototype.getCurrentTime=function(){return b6.prototype.getCurrentTime.call(this)+this.F}; var Mba=function(a){a.T.listen(a.Ca,Object.values(hQ),function(b){switch(b.type){case "SIMID:Creative:clickThru":a.reportEvent("click");a.dispatchEvent(X({type:"click",ad:a.getAd()}));a.Z&&kU.getInstance().report(148,{time:a.getCurrentTime(),dur:a.getDuration()},!0);b.resolve();break;case "SIMID:Creative:fatalError":case "SIMID:Creative:requestStop":b.resolve();L7(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.Uh))for(var c=v(b.args.Uh),d=c.next();!d.done;d=c.next())iU(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.se(), c));break;case "SIMID:Creative:requestPause":a.pause();b.resolve();break;case "SIMID:Creative:requestPlay":a.resume();b.resolve();break;case "SIMID:Creative:requestResize":Oba(a,b);break;case "SIMID:Creative:requestChangeAdDuration":d=b.args.duration;if(d<0&&d!==-2)b.reject();else if(c=a.getAd())d-=FW(c),c.P=d,a.D=!0,a.dispatchEvent(X({type:"durationChange",ad:a.getAd()})),b.resolve();break;case "SIMID:Creative:requestNavigation":var e,f;a.rb(b.args.uri,((e=a.getAd())==null?void 0:EW(e))||null,((f= a.getAd())==null?void 0:f.g!=null?f.g.gi():null)||null);a.pause();b.resolve();break;case "SIMID:Creative:log":if(e=b.args.message){c=c===void 0?T.getInstance():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":eF(c,d.key);break;case "Parameter":d.value&&cF(c,d.key,d.value);break;case "OneShotParameter":d.value&&U(c,d.key,d.value)}}b.resolve();break;default:b.reject()}})},L7=function(a,b){b=a.Ca.g.sendMessage("SIMID:Player:adStopped",new jQ({code:b}));I7(a,b)},Pba=function(a,b){var c;return z(function(d){if(!a.M.U.D)throw Error("Resize is not supported.");c=F7(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,l=b.creativeHeight,n=b.creativeX,p=b.creativeY;if(n===void 0||p===void 0||k===void 0||l===void 0)throw Error("Invalid creative dimensions.");if(k!==c.width||l!==c.height||n!==0||p!==0)throw Error("Creative resizing is not supported.");e=new wf(g,h,e,f);if(!(new wf(0,0,c.width,c.height)).contains(e))throw Error("Video cannot be moved out of slot bounds.");a.G=e;a.M.W.uj(a.G);d.g=0})},Oba=function(a,b){Pba(a,b.args).then(function(c){return b.resolve(c)}).catch(function(c){return b.reject(c)})}; H7.prototype.start=function(){var a=this;b6.prototype.start.call(this);this.B.promise.then(function(){return void Qba(a)}).catch(function(){M7(a)})}; var Qba=function(a){if(!a.Xa()){Rba(a);eF(T.getInstance(),"ima_lsc");var b,c;(b=a.Ca)!=null&&(b.j?b=void 0:(b.l=0,b.j=new bC,CQ(b),b=b.j.promise),(c=b)==null||c.then(function(){eF(T.getInstance(),"ima_csr")},function(){eF(T.getInstance(),"ima_cmc")}));a.Ca.g.sendMessage("SIMID:Player:startCreative").catch(function(){return void M7(a)})}},Rba=function(a){a.M.W.Pc();a.l&&(a.l.style.display="block")},M7=function(a){var b=bV(uS),c=QX(b,a.M.U,a.getAd());b6.prototype.Ob.call(a,b,c);a.dispatchEvent(new dV(b)); I7(a)};H7.prototype.skip=function(){var a=this.Ca.g.sendMessage("SIMID:Player:adSkipped");this.reportEvent("skip");this.dispatchEvent(X({type:"skip",ad:this.getAd()}));I7(this,a)};H7.prototype.od=function(){b6.prototype.od.call(this);this.Ca.g.sendMessage("SIMID:Player:appBackgrounded")};H7.prototype.Mc=function(){b6.prototype.Mc.call(this);this.Ca.g.sendMessage("SIMID:Player:appForegrounded")}; H7.prototype.ac=function(){var a=F7(this.g),b=new wf(0,0,a.width,a.height),c=this.G||b;this.Ca.g.sendMessage("SIMID:Player:resize",new jQ({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:PI(a.width,a.height)}))};var K7=function(a){a.Ca.g.o.promise.then(function(){var b=a.Ca,c=a.getDuration();b.g.sendMessage("SIMID:Media:durationchange",new jQ({duration:c}))})}; H7.prototype.O=function(){this.X.dispose();this.M.U.D&&this.M.W.vj();this.M.W.bd();this.l&&(this.l.style.visibility="hidden");this.dispatchEvent(X({type:"contentResumeRequested",ad:this.getAd()}));this.dispatchEvent(X({type:"allAdsCompleted",ad:this.getAd()}));I7(this);b6.prototype.O.call(this)};H7.prototype.destroy=function(){var a=this;return b6.prototype.destroy.call(this).then(function(){a.dispose()})}; var I7=function(a,b){b=b===void 0?Promise.resolve({}):b;var c;(c=a.Ca)!=null&&c.j&&(c.j.reject(),c.j=null);var d;(d=a.Ca)==null||BQ(d);a.N||(c=Gv(),a.N=Promise.race([b,c]).then(function(){Ye(a.l);a.Ca.dispose();a.T.dispose()}),a.destroy())};var N7=function(a){Cu.call(this,"vpaid-message");this.data=a};q(N7,Cu);var O7=function(a,b,c,d){O.call(this);this.j=a;this.yb=b;this.wa=c;this.U=d;this.H=this.g=null;this.l=new ZJ(this);N(this,this.l)};q(O7,O);O7.prototype.init=function(){this.l.listen(Qe(),"message",this.sm);P7(this)}; var P7=function(a){if(!a.H||!a.g){a.H||(a.H=d7(a.wa));if(!a.g){a:{var b=a.yb;for(var c=v(b.g.keys()),d=c.next();!d.done;d=c.next())if(d=d.value,!b.g.get(d)){b.g.set(d,!0);b=d;break a}b=null}a.g=b}a.H&&a.g&&(b=a.g,c=a.j,a=a.H.g,d={},a=(d.vpaidEventType="createFriendlyIframe",d.session=c,d.videoDisplayName=a,d),HU(b.g,"adsManager","vpaidEvent",a))}};m=O7.prototype; m.start=function(){P7(this);if(!this.H)throw e7(this.wa,this.U.yc),P7(this),Error("Play ad was called before prior video display was released.");if(!this.g)throw kU.getInstance().report(122,{man:"vpaid",when:"start"},!0),Error("Play ad was called before insecure iframe channel was available.");};m.resume=function(){};m.getName=function(){return"friendly"};m.Qj=function(){};m.jf=function(a,b){b.session=this.j;b.type=a;Qe().parent.postMessage(JSON.stringify(b),"*")}; m.sm=function(a){(a=Sba(a))&&a.session===this.j&&(a.type==="friendlyReady"?(a={},this.dispatchEvent(new N7((a.type="vpaidChannelLoaded",a)))):this.dispatchEvent(new N7(a)))};var Sba=function(a){a=a.fc||null;if(!a)return null;a=a.data;if(typeof a!=="string")return null;a=s4(a);if(a!=null)try{return JSON.parse(a.data)}catch(b){}return null}; O7.prototype.O=function(){var a;if((a=this.g)!=null){var b=this.j,c={};b=(c.vpaidEventType="destroyFriendlyIframe",c.session=b,c);HU(a.g,"adsManager","vpaidEvent",b)}W6(this.wa,this.H);a=this.yb;(b=this.g)&&a.g.set(b,!1)};O7.prototype.pe=function(){return this.H};var Q7=function(a,b,c,d,e,f){O.call(this);this.ad=a;this.l=b;this.W=c;this.wa=d;this.B=e;this.U=f;this.H=null;this.A="";this.frameElement=null;this.o=this.j=!1;this.g=new ZJ(this);N(this,this.g)};q(Q7,O);m=Q7.prototype; m.init=function(){if(!this.j&&(this.H||(this.H=d7(this.wa)),this.H)){var a;if((a=HW(this.ad))&&/\.html(\?.*)?$/.test(a))this.B&&(a=a.replace(".html","_"+"en".replace("-","_")+".html")),a=H(a);else{var b=new P(a),c=new P("http://tpc.googlesyndication.com/pagead/js/loader21.html");b.o==="https"&&IB(c,"https");a=LB(c,a||"").toString()}this.frameElement=Se("IFRAME",{src:MV(a),allow:"autoplay",allowFullscreen:!0,allowtransparency:!0,background:"transparent",style:"border:0; opacity:1; margin:0; overflow:hidden;padding:0; width:100%; height:100%;position: absolute;display:none;", title:"Advertisement"});this.g.listen(this.frameElement,"load",this.To);var d;(d=this.W.Ma())==null||d.appendChild(this.frameElement);this.g.listen(Qe(),"message",this.vm);this.g.listen(this.H,"beginFullscreen click end endFullscreen error loaded mediaLoadTimeout pause play timeUpdate volumeChange".split(" "),this.tk);this.g.listen(this.H,EU,this.tk);this.j=!0}}; m.start=function(){this.init();this.o=!0;if(!this.H)throw e7(this.wa,this.U.yc),this.init(),Error("Play ad was called before prior video display was released.");this.frameElement!=null&&(this.frameElement.style.display="block")};m.resume=function(){R7(this,"play")};m.getName=function(){return"secure"};m.Qj=function(a){var b={};R7(this,"supportedMimeTypes",(b.supportedMimeTypes=a,b))}; m.jf=function(a,b){var c;if(((c=this.frameElement)==null?void 0:c.contentWindow)!=null){b.session=this.l;b.type=a;var d;(d=this.frameElement)==null||d.contentWindow.postMessage(JSON.stringify(b),"*")}}; m.vm=function(a){a=a.fc||null;a:{if(a)try{var b=JSON.parse(a.data);break a}catch(h){}b=null}var c;if((a==null?void 0:a.source)==((c=this.frameElement)==null?void 0:c.contentWindow)&&b!=null&&b.session===this.l)if(b.type==="videoCall")switch(b.func){case "load":case "play":if(!this.o){this.dispatchEvent(new N7({type:"AdError",message:"VPAID ad called play on video element before start was called on VPAID manager"}));break}this.W.Rh();var d=b.src;if(this.A!==d){this.A=d;var e;(e=this.H)==null||MU(e, d,null,this.ad.getAdPodInfo(),this.ad.getUniversalAdIds())}var f;(f=this.H)==null||f.play();break;case "pause":var g;(g=this.H)==null||g.pause();break;case "currentTime":e=b.currentTime,(d=this.H)==null||NU(d,e)}else this.dispatchEvent(new N7(b))};m.To=function(){var a={};this.dispatchEvent(new N7((a.type="vpaidChannelLoaded",a)))};m.O=function(){Ye(this.frameElement);W6(this.wa,this.H)}; m.tk=function(a){switch(a.type){case "loadedmetadata":var b,c={};R7(this,"loadedmetadata",(c.duration=(b=this.H)==null?void 0:b.getDuration(),c));break;case "timeUpdate":var d;b={};R7(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":R7(this,"ended");break;case "beginFullscreen":R7(this,"fullscreenchange");break;case "endFullscreen":R7(this,"fullscreenchange");break;case "loaded":R7(this,"loadstart"); break;case "mediaLoadTimeout":R7(this,"stalled");break;case "play":R7(this,"playing");break;default:R7(this,a.type)}};var R7=function(a,b,c){c=c===void 0?{}:c;c.messageType=b;a.jf("wrapperCall",c)};Q7.prototype.pe=function(){return this.H};function S7(a){a=HW(a);return!(!a||!a.match("//s0.2mdn.net/instream/html5/survey/survey.html"))};var T7=function(a,b,c){m6.call(this,a,b,c);var d=this;this.H=null;this.ha=this.T=this.loaded=!1;this.J=[];this.qa=this.A=null;this.Z=this.duration=this.ka=-1;this.ba=this.D=!1;this.l=this.layout=null;this.wa=b.wa;this.yb=b.yb;this.ub=function(){var e={};return e.currentTime=d.getCurrentTime(),e.duration=d.getDuration(),e.isPlaying=!0,e.isVpaid=hW(d.getAd()),e.isYouTube=!1,e.volume=d.A,e};this.ua="goog_"+Kd++;this.N=new Dv(500);this.kc=(new P(HW(this.getAd()))).j;this.B=this.getAd().Jc();this.I=b.W.lc(); this.F="normal"};q(T7,m6);m=T7.prototype;m.init=function(){if(aT.g===0){var a=bV(oS,null,"vpaid");U7(this,a);throw a;}if(!this.o){a=this.getAd();var b=this.ua,c=this.M.W,d=this.wa,e=this.yb,f=this.M.U;this.l=S7(a)||aT.g!==2?new Q7(a,b,c,d,S7(a),f):new O7(b,e,d,f);N(this,this.l);a=this.getAd().Db;a.j=Va();a.g=null;this.g.listen(this.N,"tick",this.Vb);this.g.listen(qX(),cU,this.Dh);this.g.listen(this.l,"vpaid-message",this.Ub);this.l.init();this.H=this.l.pe();V7(this,this.H);this.o=!0;p6(this,"loaded")}}; m.start=function(){this.init();m6.prototype.start.call(this);if(this.l){try{this.l.start()}catch(d){var a=bV(HS,d,"internal");U7(this,a);return}if(this.H=this.l.pe()){V7(this,this.H);Tba(this);eH(this.j,WX(this.getAd(),this.M.U,this.H));IU(this.H);this.reportEvent("show_ad");this.dispatchEvent(X({type:"show_ad",ad:this.getAd()}));this.M.W.Pc();a=this.getAd();if(a.g instanceof UV){var b=NW(a);if(b!=null&&b.length!==0){var c=document.body;c&&(this.layout=new Y5(b,sW(a),this.I,c),this.layout.build(), gL(this.I,AM,this.Eb,this),gL(this.I,BM,this.Va,this))}}this.A!=null&&this.H.setVolume(this.A);vU()&&(a=new jH(this.getAd().j,this.j,this.H,vU(),this.getAd().Bc,!0),mH(a),N(this,a));this.ha=!0;this.B?this.dispatchEvent(X({type:"contentPauseRequested",ad:this.getAd()})):this.dispatchEvent(new K4("vpaidNonLinear",this.ua));W7(this);this.T||(this.Z=Ev(this.tb,this.ma.loadVideoTimeout,this))}}}; m.resize=function(a,b){this.F=PI(a,b)?"fullscreen":"normal";var c={};a=(c.width=a,c.height=b,c.viewMode=this.F,c);this.sendMessage("resizeAd",a)};m.expand=function(){this.sendMessage("expandAd");this.F="fullscreen"};m.collapse=function(){this.sendMessage("collapseAd");this.F="normal"};m.pause=function(){this.D||this.sendMessage("pauseAd")};m.resume=function(){if(this.D){this.sendMessage("resumeAd");var a;(a=this.l)==null||a.resume()}}; m.setVolume=function(a){m6.prototype.setVolume.call(this,a);this.A==null&&(this.A=a);this.ha&&this.sendMessage("setAdVolume",{value:a})};var V7=function(a,b){b&&(sX(a.getAd(),a.ub),qX().H=b,a.G!=null&&(a=a.G,a.l=b,a.o.listen(a.l,"start",a.T)))}; T7.prototype.O=function(){tX(this.getAd());this.N.stop();var a;(a=this.layout)==null||a.dispose();this.I.clear();this.H&&(JU(this.H),this.M.U.yc||this.H.unload(),this.B&&(!this.T||this.H.o||this.H.l||this.H.pause()));this.loaded=!1;this.J=[];Fv(this.Z);this.N.dispose();m6.prototype.O.call(this)}; var Uba=function(a){var b=a.getAd().getTraffickingParametersString(),c=H(DW(a.getAd())),d=a.getAd();if(a.B){var e=d.g,f=VV(e);f!=null&&(e.g=f)}e=a.A!=null?a.A:1;f={};b=(f.desiredBitrate=a.ma.bitrate,f.creativeData=b,f.viewMode=a.F,f.clickThroughUrl=c,f.attributionParams=EW(a.getAd()),f.adUrl=HW(d),f.volume=e,f);a.loaded=!0;a.sendMessage("initAd",b);a.J.forEach(function(h){a.sendMessage(h.type,h.params)});a.J=[];var g;(g=a.l)==null||g.Qj(a.ma.mimeTypes||[])}; T7.prototype.sendMessage=function(a,b){b=b===void 0?{}:b;if(this.loaded){var c;(c=this.l)==null||c.jf(a,b)}else this.J.push({type:a,params:b})};T7.prototype.tb=function(){this.getAd().Db.g=Va();U7(this,bV(AS,null,(this.ma.loadVideoTimeout/1E3).toString()))};var U7=function(a,b){a.getAd().Wd();var c=a.getAd().Db;c.g==null&&(b.getErrorCode(),AS.getErrorCode(),c.g=Va());c=QX(b,a.M.U,a.getAd());a.Ob(b,c);a.dispatchEvent(new dV(b));a.destroy()}; T7.prototype.Ub=function(a){a=a.data;if(typeof a.type==="string")switch(a.type){case "forwardVpaidManagerEvent":this.dispatchEvent(a.data);break;case "vpaidChannelLoaded":Uba(this);break;case "heavyAdIntervention":this.reportEvent(a.heavyAdInterventionEventType);break;case "returnDuration":this.duration=a.duration;break;case "returnRemainingTime":X7(this,a.remainingTime);break;case "AdClickThru":this.reportEvent("click");this.dispatchEvent(X({type:"click",ad:this.getAd()}));break;case "AdDurationChange":this.duration= a.duration;X7(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;U7(this,bV(IS,Error(a.message)));break;case "AdExpandedChange":this.dispatchEvent(X({type:"expandedChanged",ad:this.getAd()}));break;case "AdImpression":n6(this);p6(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.X=!0;e.Z=d;this.dispatchEvent(X({type:"linearChanged",ad:this.getAd()}));break;case "AdLoaded":Fv(this.Z);this.T=!0;this.getAd().Db.g=Va();a=a.companions;var f=this.getAd(); if(jW(f).length===0&&(b=f.g)){a:{b=b.Na();c=this.M.U;try{e=YJ(H(a));if(e==null||!e.documentElement){d=[];break a}var g=UK(e.documentElement);d=g.g.length===0?[]:[(new QY(e.documentElement,c)).getCompanionAds(g,b)];break a}catch(h){d=[];break a}d=void 0}d.length!==0&&cW(f,d)}W7(this);this.dispatchEvent(X({type:"adCanPlay",ad:this.getAd()}));break;case "AdPaused":this.D=!0;p6(this,"pause");break;case "AdPlaying":this.D=!1;p6(this,"resume");break;case "AdRemainingTimeChange":X7(this,a.remainingTime); break;case "AdSkipped":p6(this,"skip");this.destroy();break;case "AdSkippableStateChange":p6(this,"skippableStateChanged");break;case "AdStarted":this.reportEvent("creativeView");o6(this);this.dispatchEvent(X({type:"adStarted",ad:this.getAd()}));break;case "AdStopped":this.reportEvent("stop");this.ba||U7(this,bV(IS));this.destroy();break;case "AdUserAcceptInvitation":this.B?this.reportEvent("acceptInvitationLinear"):this.reportEvent("acceptInvitation");break;case "AdUserMinimize":this.reportEvent("collapse"); break;case "AdUserClose":p6(this,"userClose");break;case "AdVideoComplete":p6(this,"complete");break;case "AdVideoFirstQuartile":p6(this,"firstQuartile");break;case "AdVideoMidpoint":p6(this,"midpoint");break;case "AdVideoStart":this.reportEvent("start");break;case "AdVideoThirdQuartile":p6(this,"thirdQuartile");break;case "AdVolumeChange":d=a.volume;d!==this.A&&(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.A===0&&d!==0&&this.reportEvent("unmute"),(f=this.H)==null||f.setVolume(d),this.A=d);break;case "AdInteraction":d={};d=(d.id=a.id,d);this.dispatchEvent(X({type:"interaction",ad:this.getAd(),data:d}));break;case "Ping":iU(a.url)}};var W7=function(a){if(a.T&&a.ha){var b;(b=a.H)!=null&&HU(b.j,b.g,"activate");a.sendMessage("startAd");a.N.start();a.B||(a.sendMessage("becameNonlinear"),a.sendMessage("getAdRemainingTime"));a.sendMessage("getAdDuration")}}; T7.prototype.getCurrentTime=function(){return this.getDuration()<0||this.getRemainingTime()<0?-1:this.getDuration()-this.getRemainingTime()};T7.prototype.getDuration=function(){return this.duration};T7.prototype.getRemainingTime=function(){return this.ka}; var X7=function(a,b){a.ka=b;if(!a.D){b=a.getAd().getDuration();var c=b-a.ka;if(b>=0&&c>=0){var d=new D6(a.getAd().getAdPodInfo(),c,b);a.dispatchEvent(X({type:"adProgress",ad:a.getAd(),data:d}));cH(a.j,c,b*1E3)}}b=a.getAd().getDuration();c=b-a.getRemainingTime();c<=b&&hL(a.I,IM,new HM(c,b))};T7.prototype.Vb=function(){this.sendMessage("getAdRemainingTime")}; var Tba=function(a){var b={};T.getInstance();b.pid="0";b.dn=a.kc;var c;b["if"]=(c=a.l)==null?void 0:c.getName();b.asys=a.getAd().getAdSystem();c=new P(HW(a.getAd()));b.vad=c.l.indexOf("vpaid_adapter.js")!==-1;b.atag=aC(c.g,"adTagUrl");var d=[];eW(a.getAd()).forEach(function(e){d.push(H(e.mimeType).toLowerCase())});b.mtypes=d.join(",");kU.getInstance().report(29,b)};T7.prototype.Va=function(a){a.L.forEach(function(b){iU(b)})}; T7.prototype.Eb=function(a){var b=a.o;b!=null&&(this.rb(b,a.C,null),this.pause());a.B.forEach(function(c){iU(c)})};T7.prototype.skip=function(){this.sendMessage("skipAd")};T7.prototype.toString=function(){return"vpaidman"};var Y7=function(a,b){this.g=a;this.duration=b;this.Kb=new AV};m=Y7.prototype;m.bh=function(){return!1};m.isLinear=function(){return!0};m.Jc=function(){return!0};m.getAdPodInfo=function(){return this.Kb};m.getDuration=function(){return this.duration};function Z7(a){var b;if(b=aW(iE)&&a instanceof dW)b=a.g,b=b!=null&&b instanceof XV?a.g.Mb==="safe_frame":!1;return b}function $7(a){return zW(a,"nonlinear")&&!hW(a)}function a8(a){kU.getInstance().report(100,{type:a})}function Vba(a){var b=0;a.forEach(function(c){c&&c.Jc()&&(b+=c.getDuration())});a.forEach(function(c,d){var e=c.getAdPodInfo();e.totalAds=a.length;c&&c.Jc()&&(e.adPosition=d+1,e.g=b)})}var b8=function(){}; b8.prototype.create=function(a,b,c){if(a.length===0)throw Error("Ads manager creation failure, no ads.");var d=new n7(b.W);b=new k6({W:d,wa:b.wa,Xd:b.Xd,Ba:b.Ba,yb:b.yb,U:b.U,Cd:b.Cd,De:b.De,Nc:b.Nc,La:b.La});d=a[0];if(d instanceof dW&&wW(d)&&$7(d)&&!Z7(a[0]))a8("adsense"),a=[new v6(a,b,c)];else{d=[];for(var e=0;e0)return this.g=null,Promise.resolve(g6(this));if(!(this.l.length>0||this.j))return Promise.resolve(null);this.g=new bC;return this.g.promise}; var f8=function(a){return a.l.length>0&&a.o.length<1&&!a.j},h8=function(a){a.D.xa(a.A,"adBreakFetched",a.J,!1,a);a.D.xa(a.A,"adBreakFetchError",a.T,!1,a)},g8=function(a){aK(a.D,a.A,"adBreakFetched",a.J,!1,a);aK(a.D,a.A,"adBreakFetchError",a.T,!1,a);var b;a.j=(b=a.l.shift())!=null?b:null;b=new d8(a.X);b.offset=a.offset;b.l=a.j;aT.setCompanionBackfill("on_master_ad");Wba(a.A,a.j.ta,b)}; e8.prototype.J=function(a){var b=a.La;if(b.offset===this.offset){aT.setCompanionBackfill(this.F);h8(this);this.j=null;var c=a.l;this.B=[].concat(x(this.B),x(c));i8(this.B,this.offset,this.da,this.l.length,this.N);this.o=[].concat(x(this.o),x(c));this.o.length>0&&(this.g&&(c=this.g.resolve,this.g=null,c(g6(this))),this.C.dispatchEvent(a));f8(this)&&g8(this);this.l.length>0||this.j||j8(this,b)}}; e8.prototype.T=function(a){a=a.La;a.offset===this.offset&&(aT.setCompanionBackfill(this.F),h8(this),this.j=null,i8(this.B,this.offset,this.da,this.l.length,this.N),f8(this)&&g8(this),this.l.length>0||this.j||j8(this,a))};var j8=function(a,b){if(a.g){var c=a.g.resolve;a.g=null;c(null)}a.B.length===0&&(aT.getCompanionBackfill()==="always"&&a.A.Ba.B(FZ()),b=new c8("adBreakFetchError",b),eV(qS),a.C.dispatchEvent(b))};e8.prototype.O=function(){aT.setCompanionBackfill(this.F);h8(this);hq.prototype.O.call(this)}; function i8(a,b,c,d,e){var f=Xba(e,a),g=a.length+d;a.forEach(function(h,k){var l=h.getAdPodInfo();l.totalAds=g;l.l=b;l.j=c;h&&h.Jc()&&(l.adPosition=k+1,l.g=f)})}function Xba(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.Jc()&&(d+=e.getDuration())});return d>0?d:-1};var k8=function(a,b,c){this.j=a;this.g=b;this.l=c};k8.prototype.create=function(a){return new e8(this.j,[].concat(x(this.g.g.get(a)||[])),a,this.g.getPodIndex(a),this.l)};var l8=function(a,b,c,d){d=d===void 0?null:d;Cu.call(this,a);this.offset=b;this.g=c;this.l=d};q(l8,Cu);var m8=function(a,b,c){O.call(this);this.o=a;this.F=b;this.A=c;this.l=null;this.g=new Map;this.j=new ZJ(this);N(this,this.j);Yba(this);this.B=$U(this.A).reduce(function(d,e){d.set(e,b.create(e));return d},new Map);this.D=new Set};q(m8,O); var n8=function(a,b){return[].concat(x(a.A.g.get(b)||[]))},o8=function(a,b,c){a.g.set(b,c);a.l===b&&(a.l=null)},p8=function(a){return[].concat(x($U(a.A))).length===a.g.size};m8.prototype.start=function(){this.o.start();UU(this.o)};m8.prototype.O=function(){cK(this.j);this.o.stop();O.prototype.O.call(this)}; var Yba=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||q8(a,b):(a.l=c,q8(a,c))})},q8=function(a,b){var c=a.B.get(b);a.D.has(b)?r8(a,b):c.G||(b=c.C,a.j.listen(b,"adBreakFetched",a.J),a.j.listen(b,"adBreakFetchError",a.G),c.G||(c.G=!0,g8(c)))},s8=function(a,b){a.j.xa(b,"adBreakFetched");a.j.xa(b,"adBreakFetchError")};m8.prototype.J=function(a){r8(this,a.La.offset)}; var r8=function(a,b){a.D.add(b);var c=a.B.get(b);s8(a,c.C);a.g.get(b)==null&&(a.l===b?(a.l=null,a.dispatchEvent(new l8("play",b,c))):a.l==null&&a.dispatchEvent(new l8("load",b,c)))};m8.prototype.G=function(a){a=a.La.offset;var b=this.B.get(a);s8(this,b.C);this.B.set(a,this.F.create(a));var c=eV(qS);this.dispatchEvent(new l8("error",a,b,c))};var u8=function(a,b,c,d,e,f){b6.call(this,new j6);this.sa=a;this.D=c;this.ma=e;this.M=f;this.A=null;this.T=this.o=this.Z=!1;this.l=null;this.F=this.B=this.G=!1;this.J=this.N=-1;this.X=new bC;a=e.playAdsAfterTime;e=$U(b);e=v(e);for(var g=e.next();!g.done;g=e.next())g=g.value,g!==-1&&g<=a&&b.remove(g);d=new TU(d,$U(b));N(this,d);this.g=new m8(d,new k8(c,b,f.Xd.j),b);N(this,this.g);this.j=new ZJ(this);N(this,this.j);t8(this);this.j.listen(c,"contentComplete",this.ua);this.volume=1};q(u8,b6);m=u8.prototype; m.resize=function(a,b){this.N=a;this.J=b;b6.prototype.resize.call(this,a,b)};m.discardAdBreak=function(){var a=this.Y;v8(this)&&a instanceof p7&&a.j?w8(this):(a=XU(this.g.o),a!=null&&this.g.g.get(a)==null&&(o8(this.g,a,1),a===0&&x8(this),(p8(this.g)||this.o)&&y8(this)))};m.getCuePoints=function(){return[].concat(x($U(this.g.A)))}; m.init=function(){var a=this;this.D.ye=!1;this.j.listen(this,"allAdsCompleted",function(){a.D.ye=!0});var b={};b=(b.cuepoints=this.getCuePoints(),b);b=X({type:"adMetadata",ad:this.getAd(),data:b});this.dispatchEvent(b);n8(this.g,0).length===0&&x8(this);this.g.start()};m.start=function(){aT.j||v8(this)&&this.B||(v8(this)?(this.B=!0,z8(this)):this.G=!0)}; var x8=function(a){a.Z=!0;a.dispatchEvent(X({type:"contentResumeRequested",ad:a.getAd()}))},y8=function(a){a.T||(a.T=!0,a.dispatchEvent(X({type:"allAdsCompleted",ad:a.getAd()})))},z8=function(a){A8(a,"breakStart");a.l&&(Fv(a.l),a.l=null);b6.prototype.start.call(a)};u8.prototype.setVolume=function(a){this.volume=a;b6.prototype.setVolume.call(this,a)}; var B8=function(a,b){a.A=b.offset;var c=a.sa;b=b.g;var d=a.M,e=a.ma,f=new n7(d.W);d=new k6({W:f,wa:d.wa,Xd:d.Xd,Ba:d.Ba,yb:d.yb,U:d.U,Cd:d.Cd,De:d.De,Nc:d.Nc,La:d.La});c=new p7(new h6(b,d,c,e),d,e);a.Y.Xa()||a.Y.dispose();a.Y=c;Zba(a);a.Y.setVolume(a.volume);a.Y.resize(a.N,a.J);a.Y.init()},Zba=function(a){var b=[].concat(x(a6));a.j.listen(a.Y,b,function(c){return void a.dispatchEvent(c)});a.j.listen(a.Y,"contentResumeRequested",function(){t8(a);x8(a)});a.j.listen(a.Y,"contentPauseRequested",function(c){a.j.xa(a.g, "load",a.ha);a.j.xa(a.g,"play",a.ka);a.j.xa(a.g,"error",a.ba);a.dispatchEvent(c)});a.j.listen(a.Y,"adError",function(c){c=c.getError()||bV(HS);a.dispatchEvent(bX({type:"log",data:c}))});a.j.listen(a.Y,"allAdsCompleted",function(){a.B=!1;if(a.g.g.get(-1)!=null&&(UT=PT(),a.M.Ba!=null)){var c=a.M.Ba.F();c!=null&&C8(c)}a.Z||x8(a);A8(a,"breakEnd");(p8(a.g)||a.o)&&y8(a);a.F&&(y8(a),a.dispose())})};u8.prototype.ha=function(a){var b=a.offset;this.A!==b&&(b!==-1||this.dd())&&B8(this,a)}; u8.prototype.ka=function(a){this.A!==a.offset&&B8(this,a);o8(this.g,a.offset,0);var b=n8(this.g,0).length===1;a.offset===0&&b&&(this.dd()||x8(this));aT.j?z8(this):$ba(this,a.offset)}; u8.prototype.ua=function(a){this.o||this.Xa()||this.F||(this.o=!0,this.g.g.get(-1)!=null&&this.g.g.get(-1)===1)||(p8(this.g)&&this.Y instanceof j6?(this.dispatchEvent(bX({type:"contentResumeRequested",ad:null})),y8(this)):p8(this.g)||this.g.g.get(-1)!==2?n8(this.g,-1).length>0?(a.g=!1,a=this.g.o,a.g.includes(-1)&&a.dispatchEvent(new SU(-1,null)),a.stop()):y8(this):(a.g=!0,y8(this)))}; u8.prototype.ba=function(a){o8(this.g,a.offset,2);var b=a.l||eV(qS);this.dispatchEvent(bX({type:"log",data:b}));b={};this.dispatchEvent(X({type:"adBreakFetchError",ad:null,data:(b.adBreakTime=a.offset,b)}));((b=p8(this.g)||this.o)||a.offset===0)&&x8(this);b&&y8(this)};var t8=function(a){a.j.listen(a.g,"load",a.ha);a.j.listen(a.g,"play",a.ka);a.j.listen(a.g,"error",a.ba)}; u8.prototype.destroy=function(){this.l&&(Fv(this.l),this.l=null);var a=this.Y;v8(this)&&a instanceof p7&&a.j?(this.F=!0,w8(this)):(y8(this),this.dispose());return this.X.promise};var w8=function(a){b6.prototype.destroy.call(a)},v8=function(a){return!(a.Y instanceof j6)&&!a.Y.Xa()},$ba=function(a,b){b===0&&(a.l=Ev(function(){x8(a)},100));b===-1&&(a.l=Ev(function(){w8(a)},500));a.G&&(a.G=!1,a.B=!0,z8(a));var c={};b=(c.adBreakTime=b,c);b=X({type:"adBreakReady",ad:a.getAd(),data:b});a.dispatchEvent(b)}; u8.prototype.O=function(){this.D.ye=!0;this.X.resolve();b6.prototype.O.call(this)};u8.prototype.toString=function(){return"vmapman"};var A8=function(a,b){a.A!==null&&n8(a.g,a.A).forEach(function(c){jU(qU(c.aa,b))})};function D8(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 E8=function(a,b,c,d){this.j=a;this.g=b;this.M=c;this.l=d};E8.prototype.build=function(a,b){a.enablePreloading&&uU(this.M.U.yc)?F8(this.M.wa,2):F8(this.M.wa,1);if(this.g instanceof YU){var c=this.g,d=this.j,e=this.M,f=new b8;kU.getInstance().report(100,{type:"vmap"});a=new u8(f,c,d,b,a,e)}else b=this.g,c=this.M,d=new b8,Vba(b),a=d.create(b,c,a);this.l(a);return a};var G8=function(a,b){hq.call(this);this.g=new ZJ(this);N(this,this.g);this.g.listen(b,"userInteraction",this.j);this.I=a};q(G8,hq);G8.prototype.j=function(a){switch(a.messageType){case "focusSkipButton":hL(this.I,mM,null);break;case "focusUiElement":hL(this.I,lM,null)}};var H8=function(a,b,c,d,e,f){hq.call(this);var g=this;this.J=a;this.container=b;this.ma=c;this.o=d;this.B=e;this.U=f;this.l=this.g=null;this.D=-1;this.C=[];this.A=null;this.B.start();this.j=new ZJ(this);this.ba=new G8(this.container.lc(),this.o);this.qa=null;this.j.listen(this.o,"adsManager",this.X);this.j.listen(this.o,"userInteraction",this.Z);this.A=Qu(window,"beforeunload",function(){g.g&&g.g.jg()})};q(H8,hq); H8.prototype.O=function(){var a=this;this.g&&this.g.destroy();this.A&&(Yu(this.A),this.A=null);gq(this.l);gq(this.ba);Ev(function(){HU(a.o,"adsManager","isDestroyed");gq(a.j)},0);hq.prototype.O.call(this)};H8.prototype.T=function(a){var b=a.type,c={};a=(c.vpaidEventType=a.l,c.session=a.g,c);this.sendMessage({type:b,data:a})};H8.prototype.X=function(a){try{I8(this,{type:a.messageType,data:a.g})}catch(b){J8(this,b)}};H8.prototype.Z=function(){var a;(a=this.g)==null||a.Mc()}; var J8=function(a,b){b instanceof bS?(b.getErrorCode(),K8(a,b)):K8(a,bV(uS,b));a.dispose()},I8=function(a,b){if(b.type!=="start"||a.g)if(a.g||b.type==="init")var c=!1;else a.C.push(b),c=!0;else K8(a,bV(jS,null,"Should call init before calling start.")),c=!0;if(!c)switch(b.type){case "init":if(a.g)break;a.ma.append(b.data.adsRenderingSettings);try{var d=a.J.build(a.ma,a.B);a.j.listen(d,$T,a.N);a.j.listen(d,"adError",a.da);a.j.listen(d,aU,a.T);a.g=d}catch(D){J8(a,D);break}for(;a.C.length!==0;){var e= a.C.shift();I8(a,e)}a.l==null&&(a.l=new Dv(200));a.j.listen(a.l,"tick",a.F);a.l.start();a.g.init();zp()||a.j.listen(Qe(),"resize",a.G);break;case "skip":var f;(f=a.g)==null||f.skip();break;case "start":var g;(g=a.g)==null||g.start();break;case "stop":if(a.g&&a.g instanceof u8)w8(a.g);else{var h;(h=a.g)==null||h.destroy()}break;case "navigationRequestedFailed":var k;(k=a.g)==null||k.resume();b=bV(vS,null,(e=b.data.url)!=null?e:"unknown");e={};a.sendMessage({type:"log",data:(e.logData=dS(b),e)});break; case "pause":var l;(l=a.g)==null||l.pause();break;case "resume":var n;(n=a.g)==null||n.resume();break;case "destroy":a.dispose();break;case "expand":var p;(p=a.g)==null||p.expand();break;case "collapse":var r;(r=a.g)==null||r.collapse();break;case "volume":var t;(t=a.g)==null||t.setVolume(b.data.volume);break;case "resize":var u;(u=a.g)==null||u.resize(b.data.width,b.data.height);break;case "discardAdBreak":a.g&&a.g instanceof u8&&a.g.discardAdBreak();break;case "updateAdsRenderingSettings":if(b.data== null)break;a.ma.append(b.data.adsRenderingSettings);break;case "click":var A;(A=a.g)==null||A.Bd();break;case "appForegrounding":var w;(w=a.g)==null||w.Mc();break;case "appBackgrounding":var E;(E=a.g)==null||E.od()}}; H8.prototype.N=function(a){var b=a.type;var c=a.getAd();c=c==null?null:UW(c,{zk:b==="start"});b=a.type;var d=a.getAdData();a.getAd();switch(b){case "adBreakReady":this.sendMessage({type:b,data:d});break;case "adBreakFetchError":this.sendMessage({type:b,data:d});break;case "mediaUrlPinged":this.sendMessage({type:b,data:d});break;case "adProgress":d instanceof D6&&(c={},c=(c.adBreakDuration=d.adBreakDuration,c.adPosition=d.adPosition,c.currentTime=d.currentTime,c.duration=d.duration,c.totalAds=d.totalAds, c),this.sendMessage({type:b,data:c}));break;case "interaction":var e={};this.sendMessage({type:b,data:(e.adData=c,e.interactionData=d,e)});break;case "adMetadata":c=d==null?void 0:d.cuepoints;if(!c)break;d=D8(c);e={};this.sendMessage({type:b,data:(e.adCuePoints=c,e.internalCuePoints=d,e)});break;case "complete":d={};this.sendMessage({type:"remainingTime",data:(d.currentTime=-1,d.duration=-1,d.remainingTime=-1,d)});d={};this.sendMessage({type:b,data:(d.adData=c,d)});break;case "allAdsCompleted":L8(this); d={};this.sendMessage({type:b,data:(d.adData=c,d)});break;case "loaded":b=a.getAd();if(!b){K8(this,bV(uS));break}b.getContentType()!=null&&c&&(c.contentType=b.getContentType());b={};b=(b.adData=c,b);this.sendMessage({type:"loaded",data:b});break;case "videoIconClicked":b=d.clickThroughUrl;(this.U.og||b)&&this.sendMessage({type:"videoIconClicked",data:d});break;case "iconFallbackImageClosed":this.sendMessage({type:"iconFallbackImageClosed"});break;case "click":b={};this.sendMessage({type:"click",data:(b.adData= c,b)});break;case "log":d=a.getAdData();if(!d)break;if(!(d instanceof bS))break;d=dS(d);e={};this.sendMessage({type:b,data:(e.adData=c,e.logData=d,e)});break;case "companionBackfill":this.sendMessage({type:"companionBackfill"});break;case "volumeChange":c={};this.sendMessage({type:b,data:(c.adData=d,c)});break;case "navigationRequested":b=d.url;if(!b)break;(new P(b)).o||(b=h0(b),d.url=b);this.U.Jl?(c=b,b=(e=d.attributionSrc)!=null?e:null,e=aW(hE),b&&e&&(c=new P(c),VB(c,"ase")==="3"&&VB(c,"asrd")=== "1"&&(b=new P(b),JB(b,"googleadservices.com"),b=b.toString())),d.attributionSrc=b,this.sendMessage({type:"navigationRequested",data:d})):this.ma.disableClickThrough||mL(b,d.attributionParams);break;case "setPaidV2UserEnabled":this.sendMessage({type:b,data:d});break;case "updateGfpCookie":this.sendMessage({type:b,data:d});break;default:d={},this.sendMessage({type:b,data:(d.adData=c,d)})}};H8.prototype.da=function(a){var b=this;L8(this);this.j.xa(Qe(),"resize",this.G);K8(this,a.getError());Ev(function(){return b.dispose()})}; var L8=function(a){a.j.xa(a.l,"tick",a.F);gq(a.l);a.l=null;var b={};a.sendMessage({type:"remainingTime",data:(b.currentTime=-1,b.duration=-1,b.remainingTime=-1,b)})};H8.prototype.F=function(){var a,b=(a=this.g)==null?void 0:a.getRemainingTime();if(this.D!==b&&b!==void 0){this.D=b;var c,d;a={};var e=(a.currentTime=(c=this.g)==null?void 0:c.getCurrentTime(),a.duration=(d=this.g)==null?void 0:d.getDuration(),a.remainingTime=b,a);this.sendMessage({type:"remainingTime",data:e})}}; H8.prototype.G=function(){try{var a;(a=this.g)==null||a.ac()}catch(b){J8(this,b)}};H8.prototype.sendMessage=function(a){HU(this.o,"adsManager",a.type,a.data||{})};var K8=function(a,b){b=dS(b);a.sendMessage({type:"error",data:b})};var aca=function(a){this.g=a};var bca=function(){this.g=new Map},cca=function(a,b){a.g.clear();for(var c=0;c<1;c++)a.g.set(new aca(b),!1)};var dca=["videoDisplay1","videoDisplay2"],eca=function(a){this.l=a;this.j=new Set;this.g=[]},F8=function(a,b){a.j.clear();a.g=dca.slice(0,b).map(function(c){return new GU(a.l,c)})},d7=function(a){if(a.g.length>0){var b=a.g.shift();a.j.add(b);return b}return null},W6=function(a,b){b&&(a.j.delete(b),a.g.push(b))},e7=function(a,b){for(var c=v(a.j),d=c.next();!d.done;d=c.next())d=d.value,d.reset(b),d.unload(),a.g.unshift(d)};var M8=function(a,b){Cu.call(this,"adsLoaded");this.g=a;this.La=b};q(M8,Cu);var fca=function(){this.U=null};var N8=function(a,b){this.j=a;this.U=b;this.qa=null};N8.prototype.encrypt=function(a){var b=this;return z(function(c){if(c.g==1)return c.l=2,y(c,b.j.encrypt(a),4);if(c.g!=2)return c.return(c.j);ya(c);return c.return("")})};var O8=function(a){this.ads=a},P8=function(a,b){(b=gca(a,b))&&a.ads.splice(a.ads.indexOf(b),1);return b},gca=function(a,b){b<=0&&(b=120);return a.ads.find(function(c){return c.getDuration()>0&&c.getDuration()<=b})||null};var Q8=function(a,b){this.j=a;a=hca(a,b);b=a.Pi;this.g=a.fo;this.Pi=b},R8=function(a){return a.j.reduce(function(b,c){var d;return[].concat(x(b),x((d=a.g.get(c))!=null?d:[]))},[])},S8=function(a,b){a.Pi.forEach(function(c){var d=P8(b,c.getDuration());d&&a.g.set(c,[d])})},hca=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.ca;h;){if(h===e){h=!0;break a}h=h.ca}h=!1}h&&f.push(g)});f.length===0&&d.push(e);c.set(e,f)}else c.set(e,[e])});return{fo:c, Pi:d}};var T8=function(a,b,c){this.P=a;this.L=b;this.A=c;this.j=this.o=null;this.B=!1;this.C=0;this.g=new Q8(this.A,[]);this.l=new O8([])},U8=function(a,b){a=a.length===0;var c=b.length>=2,d=b.length>0,e;if(e=a)b=b[0],e=wW(b)&&zW(b,"nonlinear")&&!hW(b);return e?!1:a&&c||!a&&d};m=T8.prototype; m.je=function(a,b){var c=this;if(this.B){var d=P8(this.l,this.C);d?a([d]):b(eV(qS))}else{var e=!1,f=!1;this.P.je(function(g){c.g=new Q8(c.A,g);f&&V8(c,a,b);e=!0},function(g){c.o=g;f&&V8(c,a,b);e=!0});this.L.je(function(g){c.l=new O8(g);e&&V8(c,a,b);f=!0},function(g){c.j=g;e&&V8(c,a,b);f=!0})}};m.Eg=function(){return U8(this.A,this.l.ads)};m.Ic=function(){throw Error("Do not use hasMoreAds in ad buffet ad source.");};m.Gc=function(){throw Error("Do not use getNextAd in ad buffet ad source.");}; m.Kk=function(){throw Error("Do not use numInlineAdsProduced in ad buffet ad source.");};m.Wd=function(a){this.C=a;this.B=!0};var V8=function(a,b,c){a.o&&a.j?a.A.length>0&&a.o?c(a.o):a.j?c(a.j):(a=eV(qS),c(a)):a.j?b(R8(a.g)):a.o?(S8(a.g,a.l),R8(a.g).length>0?b(R8(a.g)):(a=eV(qS),c(a))):(S8(a.g,a.l),b(R8(a.g)))};var W8=function(a,b){this.C=a;this.A=b;this.g=this.j=0;this.l=-1;this.o="none"},X8=function(a,b){a.j+=1;a.o=b instanceof YU?"map":"src";kU.getInstance().report(176,{sic:a.j,eic:a.g,lst:a.o,lec:a.l});a.j>1||a.g>1||a.C(b)},Y8=function(a,b){a.g+=1;a.l=b.getErrorCode();kU.getInstance().report(176,{sic:a.j,eic:a.g,lst:a.o,lec:a.l});a.j>1||a.g>1||a.A(b)};var Z8=function(a,b,c,d,e){this.C=a;this.L=b;this.ta=c;this.P=d;this.U=e;this.jb=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.L;this.qa=null};Z8.prototype.je=function(a,b){ica(this,a,b)}; var jca=function(a,b,c){var d=[],e=function(f){a.Ic()?a.Gc(function(g){d.push(g);e(null)},function(g){e(g)}):d.length>0?b(d):(f==null&&(f=eV(qS)),c(f))};e(null)},ica=function(a,b,c){var d=[],e=[];kca(a,d,e);Promise.all(e).then(function(){return lca(a,d,b,c)},function(){return c(eV(yS))})},kca=function(a,b,c){a.ads.forEach(function(d){var e=[];b.push(e);d.l?mca(a,d)||(d=nca(a,d,e,function(f){return a.o=f}),c.push(d)):e.push(d)})},mca=function(a,b){if(qW(b)>=aT.getNumRedirects()){var c=a.j(b,CS,null, String(aT.getNumRedirects()));$8(a,b,c);return!0}return a.B?!1:(a.o=a.j(b,ES),!0)},lca=function(a,b,c,d){var e=[];b.forEach(function(f){f.forEach(function(g){return a.eg(g,function(h){return e.push(h)},function(h){return a.o=h})})});e.length>0?c(e):(a.o===null&&(a.o=eV(qS)),d(a.o))},nca=function(a,b,c,d){return new Promise(function(e,f){var g=jG(a.ta,b.T);a.P.fetch(g,new W8(function(h){h instanceof Z8?oca(a,h,b,c,d,e,f):(h=new bS("adLoadError","Ad source cannot contain playlist response.",2),cS(h, b),d(h),e())},function(h){h=a9(a,h,b);$8(a,b,h);d(h);e()}))})},oca=function(a,b,c,d,e,f,g){b9(b,c,a.jb&&c.jb,c.ke);b.ads.length===0?($8(a,c,a.j(c,FS)),f()):b.je(function(h){d.push.apply(d,x(h));f()},function(h){$8(a,c,h);e(h);h.getErrorCode()===301&&g();f()})};m=Z8.prototype;m.Ic=function(){return this.g!=null&&this.g.Ic()?!0:this.ads.length>0&&this.l0?a:b:a.length===1?a:b.slice(0,1)}; Z8.prototype.eg=function(a,b,c){var d;if(!(d=a.g!=null)){var e=this.ta;d=e.nonLinearAdSlotWidth||0;e=e.nonLinearAdSlotHeight||0;wW(a)&&!a.l?zW(a,"nonlinear")?E6(a,d,e):F6(a):zW(a,"linear")?F6(a):zW(a,"nonlinear")&&E6(a,d,e);d=a.g!=null}d||a.getAdId()==="privacy_sandbox"?(this.A++,b(a)):(b=a.ya.length===0?this.j(a,zS):a.isLinear()?this.j(a,wS):this.j(a,BS),cS(b,a),c9(this,b,a),c(b))};Z8.prototype.qj=function(a,b,c){var d=jG(this.ta,a.T);sca(this,a,d,b,c)}; var sca=function(a,b,c,d,e){a.P.fetch(c,new W8(function(f){f instanceof Z8?(b9(f,b,a.jb&&b.jb,b.ke),d(f)):f instanceof YU?(f=new bS("adLoadError","Ad source cannot contain playlist response.",2),cS(f,b),e(f)):(f=new bS("adLoadError","Unknown ad source.",2),cS(f,b),e(f))},e))},pca=function(a,b,c){var d;if((d=a.g)!=null&&d.Ic()){var e;(e=a.g)==null||e.Gc(function(g){a.eg(g,b,function(h){a.Ic()?a.Gc(b,c):c(h)})},function(g){$8(a,a.ads[a.l],g);a.g=null;g.getErrorCode()===301?c(g):a.Ic()?a.Gc(b,c):c(g)})}else{var f; ((f=a.g)==null?void 0:f.Kk())===0&&(d=a.ads[a.l],$8(a,d,a.j(d,FS)));a.g=null;a.Gc(b,c)}},$8=function(a,b,c){a.o=c;c9(a,c,b)},qca=function(a,b,c){a.l++;var d=a.ads[a.l];if(d.l)if(qW(d)>=aT.getNumRedirects()){var e=a.j(d,CS,null,String(aT.getNumRedirects()));$8(a,d,e);c(e)}else a.B?a.qj(d,function(f){a.g=f;a.Gc(b,c)},function(f){f=a9(a,f,null);$8(a,d,f);c(f)}):(e=a.j(d,ES),c(e));else a.eg(d,b,c)},a9=function(a,b,c){switch(b.getErrorCode()){case 300:case 301:case 302:case 303:case 200:case 1005:cS(b, c);break;default:b.getAd()&&(c=b.getAd()),b=a.j(c,FS)}return b},b9=function(a,b,c,d){a.ads.forEach(function(e){e.ca=b;pW(e)});rca(a,c);a.B=d};Z8.prototype.j=function(a,b,c){var d=eV.apply(null,[b,c].concat(x(Fa.apply(3,arguments))));cS(d,a);return d};var c9=function(a,b,c){var d=c.G,e=b.getAd();e&&(c=e);a=QX(b,a.U,c);jU(d,a)};var d9=function(a,b,c,d){Z8.call(this,[],a,b,c,d)};q(d9,Z8);d9.prototype.Eg=function(){return e9(this)>0};var e9=function(a){var b=a.ads.length-(a.l<0?1:a.l+1);return a.g!=null&&a.g instanceof d9?b+e9(a.g):b};m=d9.prototype;m.je=function(a,b){jca(this,a,b)};m.Ic=function(){if(this.g!=null&&this.g.Ic())return!0;var a=this.A===0||this.A===this.D;return this.ads.length>0&&a&&this.l0&&uW(a.g[0])>=0?new d9(a.g,c,b,a.U):U8(a.j,a.g)?new T8(new Z8(a.j,[],c,b,a.U),new Z8([],a.g,c,b,a.U),a.j):new Z8(a.j,a.g,c,b,a.U)},tca=function(a){a=a.filter(function(b){return b.getPodIndex()>0});a.sort(function(b,c){return b.getPodIndex()-c.getPodIndex()});return a},uca=function(a){return a.filter(function(b){return b.getPodIndex()===-1})};var f9=function(a,b,c,d){this.Ba=a;this.g=b;this.j=c;this.U=d;this.qa=null}; f9.prototype.fetch=function(a,b){if(a.adsResponse!=null&&(typeof a.adsResponse==="string"&&!F(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=YJ(a.adsResponse).documentElement}catch(e){Y8(b,eV(tS,e));break a}if(c){var d=Va();g9(this,c,a,d,d,b)}else Y8(b,eV(tS))}else xG(a.adTagUrl||"")?xca(this,a,b):h9(this,a,b)}; var h9=function(a,b,c){var d;if(!(d=b.adTagUrl==null))a:{try{Bd(b.adTagUrl)}catch(e){d=!1;break a}d=!0}d?aT.P?yX(function(e){return void i9(a,b,c,e)}):i9(a,b,c):Y8(c,eV(nS,null,b.adTagUrl))},xca=function(a,b,c){a.Ba?a.Ba.J().then(function(){return void h9(a,b,c)}).catch(function(){}):h9(a,b,c)},i9=function(a,b,c,d){d=d===void 0?"":d;var e,f,g,h,k;return z(function(l){if(l.g==1)return yca(b.adTagUrl||""),y(l,zca(a,b,d),2);e=l.j;f=sT(a.U.Aa);g=a.U.ua;h=new RJ(b.vastLoadTimeout);k=Date.now();return l.return(a.j.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){g9(a,n,b,k,Date.now(),c)},function(n){var p="",r=eV(mS);n instanceof Error&&(r=eV(mS,n),p=n.message,p==="8"||n instanceof DOMException&&n.name==="AbortError")&&(r=eV(yS,n));Y8(c,r);n=p;n={rt:TS(b.adTagUrl||""),ec:n};kU.getInstance().report(18,n)}))})},zca=function(a,b,c){var d,e,f,g,h;return z(function(k){if(k.g==1)return b.adTagUrl=G0(b.adTagUrl),d=Xaa(b, a.U,a.Ba),e=new P(d.g(b)),a.U.sc==="tvos"&&AE(LF)&&(f=e.j,f==="googleads.g.doubleclick.net"||f==="www.googleads.g.doubleclick.net"?JB(e,"googleads-att.g.doubleclick.net"):(f==="pubads.g.doubleclick.net"||f==="www.pubads.g.doubleclick.net")&&JB(e,"pubads-att.g.doubleclick.net")),(g=F(c)?null:c)&&LV(e.j)&&e.g.set("ged",g),y(k,YX(b,function(l){var n=a.g;if(!n.g){l=B0(l,n.U);var p=encodeURIComponent(Gc());l.set("useragent",p);g&&l.set("ged",g);p=aT.o;p==null||l.set("adsid",p);l=g0(l);n.g=n.encrypt(l)}n= n.g;return n},a.U),2);h=k.j;return k.return(hU(e.toString(),h))})},yca=function(a){a={rt:TS(a)};kU.getInstance().report(17,a)},g9=function(a,b,c,d,e,f){var g=null,h=null;try{var k=rZ(b,c,a.U);if(!k)throw eV(tS);var l=k.g();Aca(a,l,c,d,e,new W8(function(n){g=n},function(n){h=n}))}catch(n){h=n instanceof bS?n:eV(uS,n)}h!=null?Y8(f,h):g&&X8(f,g)},Aca=function(a,b,c,d,e,f){var g=b.g,h=b.j;if(g!=null)X8(f,g);else if(h&&h.length>0){h.forEach(function(l){l.ta=c;pW(l);l=l.Db;l.A=d;l.o=e});var k=wca(new vca(h, a.U),a,c);h.forEach(function(l){l.B=k});X8(f,k)}else throw f=eV(FS),b=b.df,a=QX(f,a.U),jU(b,a),f;};var j9=function(a,b,c,d){this.Ba=a;this.U=d;this.j=new H0;this.g=!1;this.qa=null;this.l=new f9(this.Ba,b,c,d)};j9.prototype.requestAds=function(a,b,c){var d=this,e=function(g){b(g);g=d.j;I0(g);g.g.pop();d.g=!1;k9(d)},f=function(g){c(g);g=d.j;I0(g);g.g.pop();d.g=!1;k9(d)};J0(this.j,function(){return void Bca(d,a,e,f)});k9(this)}; var k9=function(a){if(!a.g){var b=a.j;I0(b);b=b.g;b=b[b.length-1];b!=null&&(a.g=!0,b())}},Bca=function(a,b,c,d){var e=US(b.adTagUrl);e!=null&&uG(b.adTagUrl||"")&&(a.U.ha=e);a.l.fetch(b,new W8(function(f){f instanceof YU?c(f):f.je(c,d)},d))};var l9=function(a,b,c,d){O.call(this);this.Ba=a;this.ye=!0;this.qa=this.g=null;this.j=new N8(b,d);this.l=new j9(a,this.j,c,d)};q(l9,O);l9.prototype.requestAds=function(a,b){var c=this;this.ye&&(a.adTagUrl&&!II(a.adTagUrl)?m9(this,new bS("adLoadError","URI malformed",1005),b):(this.j.g=void 0,this.l.requestAds(a,function(d){return void n9(c,d,b)},function(d){return void m9(c,d,b)})))};var Wba=function(a,b,c){a.ye||a.l.requestAds(b,function(d){return void n9(a,d,c)},function(d){return void m9(a,d,c)})}; l9.prototype.contentComplete=function(){var a=new c8("contentComplete",new d8(""));this.dispatchEvent(a);a.g&&(UT=PT(),a=this.Ba.F(),a!=null&&C8(a))}; var n9=function(a,b,c){a.ye?b instanceof YU?Cca(a,b,c):Dca(a,b,c):Eca(a,b,c)},Cca=function(a,b,c){z(function(d){if(d.g==1)return a.g?d=y(d,a.g.Gk(b),3):(d.g=2,d=void 0),d;d.g!=2&&(b=d.j);a.dispatchEvent(new M8(b,c));d.g=0})},Dca=function(a,b,c){var d;z(function(e){if(e.g==1)return o9(b),d=b,a.g?e=y(e,a.g.jj(b),3):(e.g=2,e=void 0),e;e.g!=2&&(d=e.j);d instanceof bS?m9(a,d,c):a.dispatchEvent(new M8(d,c));e.g=0})},Eca=function(a,b,c){var d;z(function(e){if(e.g==1){if(b instanceof YU)return m9(a,eV(hS, null,"Unsupported ad format."),c),e.return();o9(b);d=b;a.g?e=y(e,a.g.Hk(b),3):(e.g=2,e=void 0);return e}e.g!=2&&(d=e.j);if(d instanceof bS)m9(a,d,c);else{var f=new c8("adBreakFetched",c);f.l=d;a.dispatchEvent(f)}e.g=0})},m9=function(a,b,c){a.ye?(aT.getCompanionBackfill()==="always"&&a.Ba.B(FZ()),b=new dV(b),b.La=c,a.dispatchEvent(b)):a.dispatchEvent(new c8("adBreakFetchError",c))},o9=function(a){for(var b={},c=v(a),d=c.next();!d.done;d=c.next()){d=lW(d.value);d=v(d.entries());for(var e=d.next();!e.done;e= d.next()){var f=v(e.value);e=f.next().value;f=f.next().value;var g=void 0;b[e]=((g=b[e])!=null?g:0)+f.length}}kU.getInstance().report(199,{adCount:a.length,extensionCounts:JSON.stringify(b)})};function Fca(a){return z(function(b){return b.return(new Promise(function(c){setTimeout(function(){c(void 0)},a)}))})};var p9=function(){this.g=[];this.j=!1};p9.prototype.push=function(a){this.g.push(a);this.j||q9(this)};var q9=function(a){var b=a.g.shift();b!=null&&(a.j=!0,b(),Ev(function(){a.j=!1;a.g.length!==0&&q9(a)},4))};var r9=function(){xZ.apply(this,arguments)};q(r9,xZ); r9.prototype.sendMessage=function(a){var b=Gca(a,this.j);Hca.push(function(){var c=a.name,d=b;d=d===void 0?null:d;switch(Ica){case 0:c=["gmsg://","afma.google.com/",c];var e="?";for(f in d)c.push(e,f,"=",encodeURIComponent(d[f].toString())),e="&";c.push(e,"dt","=",(new Date).getTime());var f=document.getElementById("afmanotify");!f&&document.body&&(f=document.createElement("iframe"),f.setAttribute("id","afmanotify"),f.setAttribute("style","display: none;"),document.body.appendChild(f));f.setAttribute("src", c.join(""));break;case 2:c={name:c,data:d};try{var g,h,k;(e=Qe())==null||(g=e.webkit)==null||(h=g.messageHandlers)==null||(k=h.bridge)==null||k.postMessage(c)}catch(l){}break;case 3:f=B.browserlessSender;f!=null&&f(c,d);break;case 4:f=B.androidWebViewCompatSender;d=Wb(d);d.name=c;c=JSON.stringify(d);f!=null&&f.postMessage&&f.postMessage(c);break;case 5:c=JSON.stringify({name:c,data:d});try{Qe().ReactNativeWebView.postMessage(c)}catch(l){}}})}; var t9=function(a){a=(a===void 0?null:a)||"*";var b=s9.get(a);b==null&&(b=new r9(a),s9.set(a,b));return b},Gca=function(a,b){var c=a.type,d=ZT[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},Ica=0,s9=new Map,Hca=new p9;new DOMParser;LS("3.25.1");function u9(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 M9=[12,13,20],Oca=function(a,b,c,d){d=d===void 0?{}:d;var e=d.Ni===void 0?!1:d.Ni;d=d.Uo===void 0?[]:d.Uo;this.Wf=a;this.Rd=c;this.o={};this.Ni=e;a={};this.g=(a[b]=[],a[4]=[],a);this.j={};this.l={};if(b=zo())for(b=v(b.split(",")||[]),a=b.next();!a.done;a=b.next())(a=Number(a.value))&&(this.j[a]=!0);d=v(d);for(b=d.next();!b.done;b=d.next())this.j[b.value]=!0},Pca=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 Hz(a.Rd,b,c,e,[],4),e;f=M9.includes(b);for(var g=[], h=[],k=v([0,1,2]),l=k.next();!l.done;l=k.next()){l=l.value;for(var n=v(a.Wf[l].entries()),p=n.next();!p.done;p=n.next()){var r=v(p.value);p=r.next().value;r=r.next().value;var t=p,u=r;p=new Sx;r=u.filter(function(G){return G.Mg===b&&a.j[G.Fc.getId()]&&N9(a,G)});if(r.length)for(p=v(r),r=p.next();!r.done;r=p.next())h.push(r.value.Fc);else if(!a.Ni){r=void 0;l===2?(r=d[1],il(p,2,Tx,t)):r=d[0];var A=void 0,w=void 0;r=(w=(A=r)==null?void 0:A(String(t)))!=null?w:l===2&&Vk(u[0].Th,11)===1?void 0:d[0](String(t)); if(r!==void 0){t=v(u);for(u=t.next();!u.done;u=t.next())if(u=u.value,u.Mg===b){A=r-u.ll;var E=u;w=E.Fk;var D=E.Ik;E=E.ro;A<0||A>=w*D||A%D!==E||!N9(a,u)||(A=Vk(u.Th,13),A!==0&&A!==void 0&&(w=a.l[String(A)],w!==void 0&&w!==u.Fc.getId()?Iz(a.Rd,a.l[String(A)],u.Fc.getId(),A):a.l[String(A)]=u.Fc.getId()),h.push(u.Fc))}Hk(p,Tx)!==0&&($k(p,3,r),g.push(p))}}}}d=v(h);for(h=d.next();!h.done;h=d.next())h=h.value,k=h.getId(),e.push(k),O9(a,k,f?4:c),qA(Kk(h,px,2,kk()),f?sA():[c],a.Rd,k);Hz(a.Rd,b,c,e,g,1);return e}, O9=function(a,b,c){a.g[c]||(a.g[c]=[]);a=a.g[c];a.includes(b)||a.push(b)},N9=function(a,b){var c=Zg(Kz).tc,d=jx(J(b.Th,ax,3),c);if(!d.success)return Jz(a.Rd,J(b.Th,ax,3),b.Mg,b.Fc.getId(),d),!1;if(!d.value)return!1;c=jx(J(b.Fc,ax,3),c);return c.success?c.value?!0:!1:(Jz(a.Rd,J(b.Fc,ax,3),b.Mg,b.Fc.getId(),c),!1)},Qca=function(a,b){b=b.map(function(c){return new F9(c)}).filter(function(c){return!M9.includes(Vk(c,1))});a.Wf=K9(a.Wf,b)},Rca=function(a,b){uA(1,function(c){a.j[c]=!0},b);uA(2,function(c, d,e){return Pca(a,c,d,e)},b);uA(3,function(c){return(a.g[c]||[]).concat(a.g[4])},b);uA(12,function(c){return void Qca(a,c)},b);uA(16,function(c,d){return void O9(a,c,d)},b)};var P9=function(){this.g=function(){}},Sca=function(a,b){a.g=vA(14,b,function(){})};function Q9(a){Zg(P9).g(a)};var R9,S9,T9,U9,V9,W9; function Tca(a){var b=a.An;var c=a.tc;var d=a.config;var e=a.bn===void 0?z9():a.bn;var f=a.ak===void 0?0:a.ak;var g=a.Rd===void 0?new Fz((U9=xB((R9=J(b,H9,5))==null?void 0:Tk(R9,2)))!=null?U9:0,(V9=xB((S9=J(b,H9,5))==null?void 0:Tk(S9,4)))!=null?V9:0,(W9=(T9=J(b,H9,5))==null?void 0:Qk(T9,3))!=null?W9:!1):a.Rd;a=a.Wf===void 0?Mca(Kk(b,F9,2,kk(mi))):a.Wf;e.hasOwnProperty("init-done")?(vA(12,e,function(){})(Kk(b,F9,2,kk()).map(function(h){return Jj(h)})),vA(13,e,function(){})(Kk(b,px,1,kk()).map(function(h){return Jj(h)}), f),c&&vA(14,e,function(){})(c),X9(f,e)):(Rca(new Oca(a,f,g,d),e),wA(e),xA(e),yA(e),X9(f,e),qA(Kk(b,px,1,kk(mi)),[f],g,void 0,!0),Lz=Lz||!(!d||!d.Lr),Q9(Jca),c&&Q9(c))}function X9(a,b){var c=b=b===void 0?z9():b;AA(Zg(zA),c,a);Uca(b,a);a=b;Sca(Zg(P9),a);Zg($V).j()} function Uca(a,b){var c=Zg($V);c.g=function(d,e){return vA(5,a,function(){return!1})(d,e,b)};c.o=function(d,e){return vA(6,a,function(){return 0})(d,e,b)};c.A=function(d,e){return vA(7,a,function(){return""})(d,e,b)};c.C=function(d,e){return vA(8,a,function(){return[]})(d,e,b)};c.l=function(d,e){return vA(17,a,function(){return[]})(d,e,b)};c.j=function(){vA(15,a,function(){})(b)}};var Y9=function(){var a;this.g=a=a===void 0?{so:ig()+(ig()&2097151)*4294967296,vn:Number.MAX_SAFE_INTEGER}:a},y4=function(a){a=a.g;return a.so*100<=a.vn};function Z9(){var a=Ka("google.ima.NativeLoader.getIsGdprLoader");return a?a():!1}var $9="",a$=Ka("google.ima.NativeLoader.getNativeSdkVersion");if(a$)$9=a$()||"";else{var b$,c$;try{c$=VB(new P(Qe().location.href),"sdk_version")}catch(a){}b$=c$;$9=b$!=null?b$:""}var d$=$9,RS=d$.match(/^([a-zA-Z]+?\.?)(\d+\.\d+\.\d+)(?:-\d+)?$/),e$;e$=new Ez(16,MT(RS?NS(QS(),RS[2]):d$));var Vca=new Y9,Wca=new x4(e$,Vca); Ja("google.ima.NativeBridge.receiveMessage",function(a,b,c){c=c===void 0?Wca:c;try{var d=JSON.parse(b);if(d!=null){var e=d.sid;if(e!=null){var f=new yZ(a,d.type,d.data||{},d.sid,"",d.id,d.replyToMessageId);t9().dispatchEvent(f);e!=="*"&&t9(e).dispatchEvent(f)}}}catch(g){c.jd({yd:g})}});Ja("google.ima.NativeBridge.calculateIdlessState",function(a,b){b=b===void 0?{}:b;return sT(b.adTagUrl?iT(b.adTagUrl,a,Z9()):b.adTagParameters?jT(b.adTagParameters,a,Z9()):new hT(!1,{},a,Z9()))});var f$=function(a,b){O.call(this);var c=this;this.j=this.o=this.W=null;this.g=a;this.l=b;N(this,this.l);this.wa=new eca(this.g.Rc);this.yb=new bca;xX(qX(),this.g.Rc);this.l.listen(this.g.Rc,"adsLoader",function(d){var e;return z(function(f){if(f.g==1)return f.l=2,y(f,Xca(c,d),4);if(f.g!=2)return xa(f,0);e=ya(f);c.g.vg.jd({yd:e});throw e;})});this.l.listen(this.g.Rc,"bridgeInitialize",function(d){var e;return z(function(f){if(f.g==1)return f.l=2,y(f,Yca(c,d),4);if(f.g!=2)return xa(f,0);e=ya(f);c.g.vg.jd({yd:e}); throw e;})});TP(function(){U(T.getInstance(),"haib","1")});aW(lE)&&(this.o=new fca)};q(f$,O);f$.prototype.O=function(){gq(this.j);O.prototype.O.call(this)}; var $ca=function(a,b,c,d){a.l.listen(b,"adsLoaded",function(e){Zca(a,e,b,c,d)});a.l.listen(b,"adError",function(e){var f=e.La.g,g=e.getError();if(g){e=g.getInnerError();var h={};g=(h.type=g.getType(),h.errorMessage=g.getMessage(),h.errorCode=g.getErrorCode(),h);e!=null&&(g.innerError=e.message);HU(a.g.Xc(f),"adsLoader","error",g)}})},Xca=function(a,b){var c,d,e,f;return z(function(g){switch(g.g){case 1:c=new d8(b.o);switch(b.messageType){case "requestAds":g.g=2;return;case "requestStream":g.g=3;return; case "contentComplete":(d=a.j)==null||d.contentComplete();a.g.contentComplete();break;case "signalsRefresh":e=b.g,OT.getInstance().secureSignals=(f=e.espSignals)!=null?f:null}g.g=0;break;case 2:return a.g.Xc(c.g),y(g,a.requestAds(b.g,c),5);case 5:g.g=0;break;case 3:return a.g.Xc(c.g),y(g,ada(a,b.g,c),6);case 6:g.g=0}})},Yca=function(a,b){var c,d,e;return z(function(f){switch(b.messageType){case "connect":c=b.g;if(c==null)return f.return();d=ST(c);(e=a.o)!=null&&(e.U=d)}f.g=0})},Zca=function(a,b,c, d,e){var f=b.g,g=b.La,h=g.adTagUrl||"";b=a.g.Xc(g.g);var k=g.W;new H8(new E8(c,f,new k6({W:k,wa:a.wa,Xd:b,Ba:c.Ba,yb:a.yb,U:d,Cd:a.g.Cd,De:[],Nc:e,La:g}),function(l){var n=a.g;if(n.g){n=n.g;var p;(p=n.l)!=null&&aK(p,l,$T,n.da,!1,n);var r;(r=n.l)!=null&&aK(r,l,"adError",n.B,!1,n)}}),k,bda(),b,new RU(b,g.contentDuration),d);cca(a.yb,b);c=cda(h,f);Sy(d.l,Hy(J(d.l,Fy,13)||new Fy));HU(b,"adsLoader","adsLoaded",c)},cda=function(a,b){if(b instanceof YU){var c=$U(b);b=NI()}else c=[],b=b[0].bh()&&NI();var d= D8(c),e={};c=(e.adCuePoints=c,e.internalCuePoints=d,e);bT();c.isCustomClickTrackingAllowed=b;c.adTagUrl=a;return c},g$=function(a){if(a!=null){var b=aT;if(a!=null){var c=a.activityMonitorMode;c!=null&&(b.N=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.P=c);c=a.isFunctionalTest;c!=null&&(b.C=c);c=a.isVpaidAdapter; c!=null&&b.fl(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.J=c);c=a.sessionId;c!=null&&b.setSessionId(c);c=a.supportsMultipleVideoDisplayChannels;c!=null&&(b.sa=c);c=a.testingConfig;c!=null&&(b.B=new WS(c));c=a.urlSignals;c!=null&&(b.L=c);c=a.vpaidMode;c!=null&&b.setVpaidMode(c);c=a.featureFlags;c!=null&&b.setFeatureFlags(c);b.o=a.adsToken|| "";b.setCookiesEnabled(a.cookiesEnabled);b.F=a["1pJar"]||"";b.G=a.privacyControls||""}a.persistentStateCorrelator!=null&&(b=T.getInstance(),cF(b,"c",a.persistentStateCorrelator),dF(T.getInstance()));a.activeViewPushUpdates!=null&&(qX().B=a.activeViewPushUpdates);kU.getInstance().report(41,{mode:aT.g});a.backgroundPlayback!=null&&kU.getInstance().report(32);a.pipState!=null&&kU.getInstance().report(42,{state:a.pipState});Array.isArray(a.swiftLibraries)&&zp()&&kU.getInstance().report(135,{count:a.swiftLibraries.length, libs:a.swiftLibraries.join("~")});b=a.pageCorrelator||0;a=a.streamCorrelator||0;b>0&&(TT=b);a>0&&(UT=a)}},h$=function(a){a!=null&&a.osdId!=null&&(qX().N=a.osdId)}; f$.prototype.requestAds=function(a,b){var c=this,d,e,f,g,h,k,l,n,p,r,t,u;return z(function(A){if(A.g==1){d=ST(a);Sy(d.l,Gy(new Fy,Date.now()));e=a.adTagUrl;g$(a.settings);h$(a.videoEnvironment);i$(a);qX().B&&Ss();d.Aa=iT(e,a.consentSettings||{},c.g.eh());e!=null&&(b.adTagUrl=e);kU.getInstance().report(165,tT(d.Aa));var w=new iG;w.adTagUrl=a.adTagUrl;w.adsResponse=a.adsResponse;w.linearAdSlotWidth=a.linearAdSlotWidth||0;w.linearAdSlotHeight=a.linearAdSlotHeight||0;w.nonLinearAdSlotWidth=a.nonLinearAdSlotWidth|| 0;w.nonLinearAdSlotHeight=a.nonLinearAdSlotHeight||0;w.forceNonLinearFullSlot=a.forceNonLinearFullSlot||!1;w.contentDuration=a.contentDuration||null;w.contentKeywords=a.contentKeywords||null;w.contentTitle=a.contentTitle||null;a.vastLoadTimeout!=null&&a.vastLoadTimeout>0&&(w.vastLoadTimeout=a.vastLoadTimeout);w.o=a.videoContinuousPlay||"0";w.g=a.videoPlayActivation||"unknown";w.A=a.videoPlayMuted||"unknown";w.omidAccessModeRules=a.omidAccessModeRules||{};w.pageUrl=a.pageUrl||null;var E;w.l=((E=a.rubidiumApiVersion)== null?void 0:E.toString())||null;w.j=a.pixelDensity||1;f=w;w=f.adTagUrl||"";vG(w)&&(w=(new P(w)).g.get("description_url",""),d.wh===w?d.j=d.j%99===0?1:d.j+1:(d.j=1,d.wh=w));b.contentDuration=f.contentDuration;if(e)if(e==="")var D=null;else w=new P(e),(E=VB(w,"slotname")||VB(w,"iu"))?E=E?(E=/\/(\d+)(?:,\d+){0,2}\//.exec(E))&&E.length===2?E[1]:null:null:E=null,E||(E=(w=(D=VB(w,"client"))!=null?D:"")?w:null),D=E;else D=null;g=D;D=new wy;w=new P(f.adTagUrl);E=Number(CG(w,"plcmt"));E=Object.values(GZ).includes(E)? E:-1;hl(D,1,E);w=CG(w,"sz");w===""?w=null:(w=w.split("|")[0].split("x"),w=w.length!==2?null:w);if(w){E=v(w);w=E.next().value;E=E.next().value;var G=new ry;w=$k(G,1,Number(w));$k(w,2,Number(E));Mk(D,2,G)}h=D;Mk(d.B,1,h);c.g.Xc(b.g);k=j$(c);b.W=k;b.j=new he(((l=f.linearAdSlotWidth)!=null?l:-1)/f.j,((n=f.linearAdSlotHeight)!=null?n:-1)/f.j);D=c.g.xm;w=c.g.ym;E=new ly;G=el(E,1,MT());G=el(G,2,g);G=hl(G,4,d.L?2:1);var ha=Jx();G=Mk(G,5,ha);G=cl(G,6,100).Be(XT).mg(WT);G=hl(G,9,2);ha=EE();G=tk(G,10,ha,fj); el(G,11,d.g);p=new z4(D,w,E);c.j||(D=c.g,w=d,E=c.o,G=zp()?new vZ:new q4,G=new l9(D.Ba,G,Rc()&&of(window.fetch)&&of(window.AbortController)?new k$:new dK,w),ha=new l$(D.Rc),G.g=new m$(ha,p),E&&aW(lE)&&(G.g=new n$(p)),dda(D,G,w),c.j=G,$ca(c,c.j,d,p));D=c.j;r=D;t=a.liveStreamPrefetchSeconds||0;if(!(t>0)){A.g=2;return}u=Math.floor(t*1E3*Math.random());return y(A,Fca(u),2)}if(A.g!=4)return y(A,eda(),4);c.sj(f,r,d,t);r.requestAds(f,b);A.g=0})}; var i$=function(a){var b=(a.imalibExperiments||{}).limaExperimentIds||null;b!=null&&(DE.reset(),b=wF(b),GE(new JE(b)));b=a.pvsid;var c=(a.genotypeExperimentData||{}).experimentStateProto;c=c?JSON.parse(c):[];if(b&&c){c=Cm(J9,c);Tca({An:c,ak:7});c={};b=(c[0]=Nca(b),c);Zg(zA).l(16,b);if(a.eventfeExperimentIds.length)for(b=v(a.eventfeExperimentIds),c=b.next();!c.done;c=b.next())c=c.value,Zg(zA).j(c);a.managedJsExperimentId&&(a=a.managedJsExperimentId,Zg(zA).j(a))}a=bT();XS(a,"disableExperiments")&&DE.reset(); a=bT();(a=YS(a))&&a.length>0&&(DE.reset(),GE(new JE(a)));vU()&&oc(IE())},ada=function(a,b,c){var d,e,f,g,h;return z(function(k){if(k.g==1){d=ST(b,!0);Sy(d.l,Gy(new Fy,Date.now()));g$(b.settings);h$(b.videoEnvironment);var l=new HZ,n=b.networkCode||"";l.X=b.videoStitcherSessionOptions||{};var p=b.customUiOptions,r,t;if(!(t=waa.includes(n)))a:{t=(r=window.document.domain)!=null?r:"";r=v(vaa);for(var u=r.next();!u.done;u=r.next())if(t.endsWith(u.value)){t=!0;break a}t=!1}t&&p&&(kU.getInstance().report(220, {skippableSupport:p.skippableSupport,aboutThisAdSupport:p.aboutThisAdSupport,networkCode:n,appName:d.appName}),l.ui.un=p);l.o=b.assetKey||"";l.A=b.authToken||"";l.C=b.contentSourceId||"";l.L=b.customAssetKey||"";l.networkCode=n;l.G=b.liveStreamEventId||"";l.region=b.region||"";l.da=b.projectNumber||"";l.J=b.oAuthToken||"";l.vd=b.videoId||"";l.l=b.apiKey||"";l.g=b.adTagParameters||{};l.N=b.streamActivityMonitorId||"";l.format="hls";l.T=b.useQAStreamBaseUrl||!1;l.B=b.contentSourceUrl||"";l.adTagUrl= b.adTagUrl||"";b.format==="dash"&&(l.format=b.format);n=bT();XS(n,"useTestStreamManager")&&(l.F=!0);l.P=b.enableNonce||!1;l.Z=b.vodConfigId||"";l.j=b.rubidiumApiVersion||"";e=l;f=jT(e.g,b.consentSettings||{},a.g.eh());kU.getInstance().report(165,tT(f));d.Aa=f;e.D=sT(f);qX().B&&Ss();i$(b);g=a.g.Xc(c.g);h=j$(a);c.W=h}else a.g.g(e,h,g,d);k.g=0})},j$=function(a){a.W||(a.W=new o$(document.body,a.g.Xc()));return a.W}; f$.prototype.sj=function(a,b,c,d){d=d===void 0?0:d;this.g.sj(a,b,c);b=c.appName;var e=c.Qd,f={};F(H(b))||(f.app_name=b);F(H(e))||(f.external_version=e);f.delay=d;f.vpaidadapter=aT.l;f.request_type=TS(a.adTagUrl);f.ctv=DU(c).toString();kU.getInstance().report(6,f)};Ja("ima.Bridge.create",function(a,b){b=b===void 0?new ZJ:b;try{return new f$(a,b)}catch(c){throw a.vg.jd({yd:c}),c;}},window);var p$=function(a,b,c,d){Az.call(this,a,b);this.o=c;this.l=d};q(p$,Az);p$.prototype.g=function(){var a=Fa.apply(0,arguments);try{var b=encodeURIComponent(uh(zx(a,this.j),3));this.l(this.o+"?e=4&d="+b)}catch(c){yx(c,this.j)}};var q$=function(a,b,c){b=b===void 0?null:b;c=c===void 0?null:c;Cu.call(this,a);this.error=b;this.g=c};q(q$,Cu);q$.prototype.getError=function(){return this.error};var r$=function(a,b){return a.indexOf(b)==0?a.substr(b.length):null};var s$=function(){O.call(this);this.B=!1;this.ba=void 0;this.G=!1;this.ha=void 0;this.D=!1;this.J=void 0;this.F=!1;this.o=null;this.ka=0;this.j=null;this.T=new bC;this.l=null;this.g={cslots:0,dispcorr:0,streamcorr:0};this.qa=null;this.A=new ZJ(this)};q(s$,O);var fda=function(a,b){a.j!=null&&a.A.xa(a.j,"gpt",a.N);a.j=b;a.A.listen(a.j,"gpt",a.N)};s$.prototype.O=function(){gq(this.o);gq(this.l);gq(this.A);O.prototype.O.call(this)};s$.prototype.Ia=function(){return this.B}; var t$=function(a){if(a.G&&a.ba!=null)return a.ba.map(function(b){return b.clone()})},gda=function(a){a=t$(a);if(a!=null)return a.map(function(b){return b.getSizes()})};s$.prototype.getDisplayAdsCorrelator=function(){if(this.D)return this.ha}; s$.prototype.N=function(a){var b=a.g.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 Dv(100),this.A.listen(this.l,"tick",this.Z),this.l.start());this.Z()}else this.g.isgptpresent="0",this.X();break;case "getDisplayAdsCorrelator":isNaN(c)||(this.g.dispcorr="1",this.ha=c,this.D=!0);u$(this);break;case "getVideoStreamCorrelator":isNaN(c)||(this.g.streamcorr="1", this.J=c,this.F=!0);u$(this);break;case "googleGetCompanionAdSlots":b!=null&&(a=b.map(this.ua,this),this.g.cslots="1",this.ba=a,this.G=!0),u$(this)}};s$.prototype.sendMessage=function(a,b,c){this.j!=null&&(a={scope:a},c!=null&&(a.args=c),HU(this.j,"gpt",b,a))};s$.prototype.setVideoSession=function(a){var b=0,c=0;a!=null&&(a=new P(a.adTagUrl),b=Number(VB(a,"pod")||0),c=Number(VB(a,"ppos")||0));this.sendMessage("companionAds","setVideoSession",[UT,b,c])}; var C8=function(a){a.J=UT;a.sendMessage("pubads","setImaContent",["",""]);a.setVideoSession(null)},v$=function(a){a.o&&(a.o.stop(),a.A.xa(a.o,"tick",a.X),a.o.dispose(),a.o=null);a.l!=null&&(a.l.stop(),a.A.xa(a.l,"tick",a.Z),a.l.dispose(),a.l=null)};s$.prototype.X=function(){this.B||(this.B=!0,this.T.resolve(),v$(this),w$(this,!1),x$(this),this.dispatchEvent(new q$("companion_initialization_failed",Error("GPT companion ads service not available."))),this.j!=null&&this.A.xa(this.j,"gpt",this.N))}; s$.prototype.Z=function(){this.D||this.sendMessage("companionAds","getDisplayAdsCorrelator",[QT(OT.getInstance())]);this.F||this.sendMessage("companionAds","getVideoStreamCorrelator");this.G||this.sendMessage(null,"googleGetCompanionAdSlots")}; var u$=function(a){a.B||(a.G&&a.D&&a.F?(a.B=!0,a.T.resolve(),v$(a),w$(a,!0),x$(a),a.dispatchEvent(new q$("companions_success"))):a.o||(a.o=new Dv(5E3),a.A.Md(a.o,"tick",a.X),a.o.start()))},w$=function(a,b){a={initSuccess:b,latency:Date.now()-a.ka,slotLoadingDone:a.G,gptCorrelatorRetrieved:a.D,gptStreamCorrelatorRetrieved:a.F};kU.getInstance().report(184,a)}; s$.prototype.ua=function(a){var b=a.adSizes.map(function(c){return{size:new he(c.adWidth,c.adHeight),Ha:!!c.fluidSize}});return new CZ(a.slotId,b)};s$.prototype.sa=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 x$=function(a){if(!a.g.loggingDone){var b=a.g;if(zp())var c=window.location.href;else{var d=Eg();c=d.j;var e=d.g;d=d.l;var f=null;if(d)b:{try{var g=XB(d.url),h=g.l,k=r$(h,"/v/");k||(k=r$(h,"/a/"));if(!k)throw Error("Can not extract standalone amp url.");var l=r$("/"+k,"/s/"),n=g.g.clone();n.remove("amp_js_v");n.remove("amp_lite");var p=l?XB("https://"+l):XB("http://"+k);LB(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=aT.l;a.g.ifstate=OT.getInstance().Z;kU.getInstance().report(70,a.g);a.g={loggingDone:!0}}};var y$=function(a){EZ.call(this);this.g=a;this.j=null;this.o=!1;this.qa=null;this.G=!1;this.A=null;this.D=new ZJ;aK(this.D,this.g,["companions_success","companion_initialization_failed"],this.Co,!1,this);aK(this.D,this.g,"companion_display_error",this.vo,!1,this);aK(this.D,this.g,["companion_slot_init","companion_click"],this.uo,!1,this);this.g.Ia()?this.G=!0:(a=this.g,a.B||(a.ka=Date.now(),a.sendMessage("proxy","isGptPresent"),u$(a)))};q(y$,EZ);y$.prototype.O=function(){this.destroy();EZ.prototype.O.call(this)}; y$.prototype.destroy=function(){this.D.dispose();this.A=null;this.l.forEach(function(a){DZ(a)});this.j=null};y$.prototype.B=function(a){gq(this.j);this.j=new O;this.A=a;this.o=!0;this.Ia()?z$(this):(this.o=A$(B$(a),[]),this.o||(this.j=this.A=null));return this.j}; y$.prototype.J=function(){var a=this,b,c,d;return z(function(e){if(e.g==1)return cT("force_ad_request_wait_gpt_sync")?e=y(e,a.g.T.promise,2):a.g.Ia()?(e.g=2,e=void 0):e=e.return(),e;(b=a.g.getDisplayAdsCorrelator())&&(TT=b);var f=a.g;f=f.F&&f.J!==0?f.J:void 0;(c=f)&&(UT=c);if(d=gda(a.g))OT.getInstance().ub=d;e.g=0})}; var z$=function(a){var b=a.A;a.A=null;if(a.l.length===0)a.o=A$(B$(b),[]),C$(a,Error("Companion slots not available."));else if(b==null)C$(a,Error("Invalid main ad."));else{var c=hda(a,b),d=a.g,e=a.l.map(d.sa,d);d.sendMessage(null,"googleSetCompanionAdContents",[e,null,QT(OT.getInstance())]);if(c.length>0&&(a=a.g,c.length!==0&&tW(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 l=d[f++],n=d[f++];h=((h&7)<<18|(k&63)<<12|(l&63)<<6|n&63)-65536;e[g++]=String.fromCharCode(55296+(h>>10));e[g++]=String.fromCharCode(56320+(h&1023))}else k=d[f++],l=d[f++],e[g++]=String.fromCharCode((h&15)<<12| (k&63)<<6|l&63)}return new RegExp(e.join(""))})};E$.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.709.0"||c.length>=2&&c[2]==="3.709.0"?!0:!1}):!1}; var F$=[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],G$=[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],H$=[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],I$=[[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]],J$=[[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]];new E$(F$,I$,!1);var lda=new E$(F$,J$,!0);new E$(G$,I$,!1);var mda=new E$(G$,J$,!0); new E$([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],I$,!1); new E$([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 E$(F$,[[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],[100,97,105,95,99,116,118,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,99,116,118,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,99,116,118,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 E$(H$,[[112,97,108,46,106,115]],!1);new E$(H$,[[99,97,115,116,95,112,97,108,46,106,115]],!1);new E$(H$,[[99,116,118,95,112,97,108,46,106,115]],!1); function nda(){var a=[lda,mda];if(a.some(function(c){return c.match(Qe().location.href)}))return!0;var b=K$(a,Ke(document,"script"));b==null&&document.querySelectorAll&&(b=K$(a,document.querySelectorAll("script")));return b!=null}function K$(a,b){for(var c={},d=0;d0&&Va()>this.C?(this.j="failed",S$(this)):R$(this);break;case "loaded":T$(this);break;case "failed":this.C>0&&Va()>this.C?S$(this):(this.j="loading",R$(this))}}; var T$=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)},S$=function(a){T$(a);if(a.g!=null){var b;(b=a.l)==null||b.xa(a.g,"gpt",a.D);a.g=null}a.A=[]};P$.prototype.D=function(a){this.g&&a.messageType==="isConsolePresent"&&(a=a.g.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 sda=function(){};var tda=ra(["https://securepubads.g.doubleclick.net/pagead/js/car.js"]),uda=ra(["https://securepubads.g.doubleclick.net/pagead/js/cocar.js"]),vda=ra(["https://ep3.adtrafficquality.google/ivt/worklet/caw.js"]);Fe(tda);var wda=Fe(uda),xda=Fe(vda);function yda(a,b){for(var c=[],d=0;d<8;++d){var e=new p$(7,"","https://pagead2.googlesyndication.com/pagead/ping",function(g){c.push({url:g})}),f=Fx(Ex(Dx(new Cx,a),d),b);e.Zk(f)}return c}function zda(a,b,c,d,e){e=e===void 0?function(){}:e;var f=Qe();f.sharedStorage&&!f.clientAgeRequested&&(f.clientAgeRequested=!0,f.sharedStorage.createWorklet(b.toString(),{dataOrigin:"script-origin"}).then(function(g){Ada(g,f,a,c,d,e)}).catch(e))} function Ada(a,b,c,d,e,f){f=f===void 0?function(){}:f;a.selectURL("ps_caus",yda(c,d),e?{resolveToConfig:!0,savedQuery:"ps_cac"}:{resolveToConfig:!0}).then(function(g){if(g){var h=b.document.body,k=document.createElement("fencedframe");k.id="ps_caff";k.name="ps_caff";k.mode="opaque-ads";k.config=g;Af(k,"display","none");h.appendChild(k)}}).catch(f)};function U$(a){(new i_(h_())).g=function(b,c){b.method==="identifyServiceWindow"&&a(c)}}bG("OmidSessionClient.listenForServiceWindow",U$);function Bda(a){N_().l(a)} var V$=function(a,b,c){O.call(this);this.xm=a;this.ym=b;this.vg=c;this.g=null;this.o=this.A=!1;if(!nda())throw Error("IMA SDK is either not loaded from a google domain or is not a supported version.");this.j=new ZJ(this);N(this,this.j);this.Rc=Cda(c);this.l=new Map;this.l.set("*",this.Rc);this.B=Dda();a=new s$;fda(a,this.B);this.Ba=new y$(a);this.Cd=new sda;this.j.listen(Qe().document.body,"click dblclick mouseup mouseover mouseout mousemove selectstart mousedown".split(" "),this.D);"ontouchstart"in document&&this.j.listen(Qe().document.body,["touchstart","touchend","touchmove","touchcancel"],this.F);this.j.listen(this.Rc,"omid",function(d){d.messageType==="iframeFailed"&&N_().D()});U$(Bda)};q(V$,O);V$.prototype.eh=function(){try{return VB(new P(Qe().location.href),"gdpr")==="1"}catch(a){return!1}};var bda=function(){var a=new FU;a.mimeTypes=wU();return a}; V$.prototype.Xc=function(a){a=(a===void 0?null:a)||"*";var b=this.l.get(a);if(b==null){b=new r4(W$(),a,this.vg);b.B=!0;var c=Eda(this);c&&(b.l(c),b.connect());this.l.set(a,b)}return b};var eda=function(){return z(function(a){return a.return()})}; V$.prototype.sj=function(a,b,c){c=H(c.g);if(Oo(c,"google_console")||Oo(c,"google_force_console")||Oo(c,"googfc")){if(!this.g){c=this.g=new P$(this.B);var d;(d=c.l)!=null&&aK(d,b,"adError",c.B,!1,c)}b=this.g;b.J||(Q$(b,"version",{type:"HTML5",version:"3.709.0"}),b.J=!0);Q$(this.g,"ad_request",{adTagUrl:a.adTagUrl,adType:"Deprecated"})}};var Cda=function(a){a=new r4(W$(),"*",a);a.B=!0;return a};V$.prototype.contentComplete=function(){}; var Eda=function(a){var b=null;a.l.forEach(function(c){c=c.g;c!=null&&(b=c)});return b},dda=function(a,b,c){a.j.listen(b,"adsLoaded",function(d){var e=d.g;e instanceof YU||(X$(a,e,d.La.g,c),Y$(a,aW(gE)),aW(fE)&&Y$(a,!0,!0,4))});a.j.listen(b,"adBreakFetched",function(d){X$(a,d.l,d.La.g,c)})},X$=function(a,b,c,d){var e=sT(d.Aa);a=a.Xc(c);c={};b=b.filter(function(l){return l instanceof dW});var f=Fda(b);if(f){var g;d.N=(g=f.getValue())!=null?g:null;c.eoidCookie=Am(f)}if(!e){if(d=Z$(b,!1)){var h;OT.getInstance().A= (h=d.getValue())!=null?h:null;c.gfpCookie=Am(d)}if(h=Z$(b,!0)){var k;OT.getInstance().T=(k=h.getValue())!=null?k:null;c.gfpCookieV2=Am(h)}c.encryptedSignalBidderIds=Gda(b)}HU(a,"adsLoader","cookieUpdate",c)},Fda=function(a){return(a=a.find(function(b){return QW(b)!=null}))?QW(a):null},Z$=function(a,b){var c=sT(OT.getInstance().Aa);return!aT.isCookiesEnabled()||c?null:(a=a.find(function(d){return SW(d,b)!=null}))?SW(a,b):null},Gda=function(a){return a.map(function(b){for(var c=[];b;){var d=kW(b,"esp"); d instanceof GV&&(c=[].concat(x(c),x(HV(d))));b=b.ca}return c}).flat()},Dda=function(){var a=Qe();a=new D$([a.top,a.parent],W$(),"*");a.connect();return a},W$=function(){var a;a:{var b=v(Qe().location.hash.slice(1).split("&"));for(var c=b.next();!c.done;c=b.next()){var d=v(c.value.split("="));c=d.next().value;d=d.next().value;if(c==="fid"){b=d;break a}}b=null}return(a=b)!=null?a:""}; V$.prototype.D=function(a){HU(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 $$=function(a){var b=[];if(a==null)return b;var c=!!("TouchEvent"in window&&TouchEvent.length>0),d=0;for(;d0;g=c?h:!sT(g);var k=Qe();h=iK(k.isSecureContext,k,k.document);var l;k=!((l=k.sharedStorage)==null||!l.createWorklet);l=!g||!h||!e||!k;kU.getInstance().report(204,{enabled:!l,storageAllowed:g,isSharedStorageEnabled:h,isCreateWorkletApiEnabled:k,isValidPVSID:e});l||(zda(f,c?xda:wda,d,b,function(n){kU.getInstance().report(205,{message:n==null?void 0:n.message}, !0)}),c?a.o=!0:a.A=!0)}};Ja("ima.IframeBridge.create",function(){var a=new Ez(16,MT()),b=new Y9,c=new x4(a,b);try{return new V$(a,b,c)}catch(d){throw c.jd({yd:d}),d;}},window);})();