(function(){var m,aa=typeof Object.create=="function"?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ba=typeof Object.defineProperties=="function"?Object.defineProperty:function(a,b,c){if(a==Array.prototype||a==Object.prototype)return a;a[b]=c.value;return a},ea=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var b=0;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}); ia("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");ba(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return Ja(qa(this))}});return a});var Ja=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a}; ia("Promise",function(a){function b(){this.g=null}function c(g){return g instanceof e?g:new e(function(h){h(g)})}if(a)return a;b.prototype.j=function(g){if(this.g==null){this.g=[];var h=this;this.l(function(){h.A()})}this.g.push(g)};var d=ha.setTimeout;b.prototype.l=function(g){d(g,0)};b.prototype.A=function(){for(;this.g&&this.g.length;){var g=this.g;this.g=[];for(var h=0;h=f}}); ia("String.prototype.endsWith",function(a){return a?a:function(b,c){var d=Ka(this,b,"endsWith");b+="";c===void 0&&(c=d.length);c=Math.max(0,Math.min(c|0,d.length));for(var e=b.length;e>0&&c>0;)if(d[--c]!=b[--e])return!1;return e<=0}});var La=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&c1342177279)throw new RangeError("Invalid count value");b|=0;for(var d="";b;)if(b&1&&(d+=c),b>>>=1)c+=c;return d}});ia("String.prototype.padStart",function(a){return a?a:function(b,c){var d=Ka(this,null,"padStart");b-=d.length;c=c!==void 0?String(c):" ";return(b>0&&c?c.repeat(Math.ceil(b/c.length)).substring(0,b):"")+d}}); ia("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)}});ia("Math.imul",function(a){return a?a:function(b,c){b=Number(b);c=Number(c);var d=b&65535,e=c&65535;return d*e+((b>>>16&65535)*e+d*(c>>>16&65535)<<16>>>0)|0}});ia("Math.sign",function(a){return a?a:function(b){b=Number(b);return b===0||isNaN(b)?b:b>0?1:-1}}); ia("Array.prototype.flatMap",function(a){return a?a:function(b,c){var d=[];Array.prototype.forEach.call(this,function(e,f){e=b.call(c,e,f,this);Array.isArray(e)?d.push.apply(d,e):d.push(e)});return d}});/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var Ma=Ma||{},B=this||self,Oa=function(a,b){var c=Na("CLOSURE_FLAGS");a=c&&c[a];return a!=null?a:b},Na=function(a,b){a=a.split(".");b=b||B;for(var c=0;c>>0),Ta=0,Wa=function(a,b,c){return a.call.apply(a.bind,arguments)},Xa=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)}}, Ya=function(a,b,c){Ya=Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?Wa:Xa;return Ya.apply(null,arguments)},$a=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)}},ab=function(){return Date.now()},C=function(a,b){a=a.split(".");for(var c=B,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},bb=function(a){return a}, cb=function(a,b){function c(){}c.prototype=b.prototype;a.yb=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.In=function(d,e,f){for(var g=Array(arguments.length-2),h=2;h255&&(b[c++]=e&255,e>>=8);b[c++]=e}return b}function rb(a){return Array.prototype.map.call(a,function(b){b=b.toString(16);return b.length>1?b:"0"+b}).join("")};function D(a){return/^[\s\xa0]*$/.test(a)}var sb=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},tb=/&/g,ub=//g,wb=/"/g,xb=/'/g,yb=/\x00/g,zb=/[\x00&<>"']/;function Ab(a,b){return a.indexOf(b)!=-1}function Fb(a,b){return Ab(a.toLowerCase(),b.toLowerCase())} function Gb(a,b){var c=0;a=sb(String(a)).split(".");b=sb(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;c==0&&eb?1:0};var Ib=Oa(610401301,!1),Jb=Oa(1331761403,!1),Kb=Oa(748402147,!0),Lb=Oa(824648567,!0),Mb=Oa(824656860,Oa(1,!0));function Nb(){var a=B.navigator;return a&&(a=a.userAgent)?a:""}var Ob,Pb=B.navigator;Ob=Pb?Pb.userAgentData||null:null;function Qb(a){if(!Ib||!Ob)return!1;for(var b=0;b0:!1}function Sb(){return Rb()?!1:E("Trident")||E("MSIE")}function Tb(){return E("Firefox")||E("FxiOS")}function Ub(){return E("Safari")&&!(Vb()||(Rb()?0:E("Coast"))||(Rb()?0:E("Opera"))||(Rb()?0:E("Edge"))||(Rb()?Qb("Microsoft Edge"):E("Edg/"))||(Rb()?Qb("Opera"):E("OPR"))||Tb()||E("Silk")||E("Android"))}function Vb(){return Rb()?Qb("Chromium"):(E("Chrome")||E("CriOS"))&&!(Rb()?0:E("Edge"))||E("Silk")};function Wb(){return Ib&&Ob&&Ob.platform?Ob.platform==="Android":E("Android")}function Xb(){return E("iPhone")&&!E("iPod")&&!E("iPad")}function Yb(){return Xb()||E("iPad")||E("iPod")};var Zb=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(typeof a==="string")return typeof b!=="string"||b.length!=1?-1:a.indexOf(b,0);for(var c=0;c=0;c--)if(c in a&&a[c]===b)return c;return-1},ac=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=typeof a==="string"?a.split(""):a,e=0;e=0;--d)d in c&&b.call(void 0,c[d],d,a)} var cc=Array.prototype.filter?function(a,b){return Array.prototype.filter.call(a,b,void 0)}: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 pc(a,b){return Zb(a,b)>=0}function qc(a,b){b=Zb(a,b);var c;(c=b>=0)&&rc(a,b);return c} function rc(a,b){return Array.prototype.splice.call(a,b,1).length==1}function sc(a,b){var c=0;bc(a,function(d,e){b.call(void 0,d,e,a)&&rc(a,e)&&c++})}function wc(a){return Array.prototype.concat.apply([],arguments)}function xc(a){var b=a.length;if(b>0){for(var c=Array(b),d=0;db?1:a>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("")} function Wc(a){if(Tc)return B.atob(a);var b="";Xc(a,function(c){b+=String.fromCharCode(c)});return b}function Yc(a){var b=[];Xc(a,function(c){b.push(c)});return b}function Zc(a){var b=a.length,c=b*3/4;c%3?c=Math.floor(c):Ab("=.",a[b-1])&&(c=Ab("=.",a[b-2])?c-2:c-1);var d=new Uint8Array(c),e=0;Xc(a,function(f){d[e++]=f});return e!==c?d.subarray(0,e):d} function Xc(a,b){function c(k){for(;d>4);g!=64&&(b(f<<4&240|g>>2),h!=64&&b(g<<6&192|h))}} function Vc(){if(!Sc){Sc={};for(var a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),b=["+/=","+/","-_=","-_.","-_"],c=0;c<5;c++){var d=a.concat(b[c].split(""));Rc[c]=d;for(var e=0;e=b||(d[a]=c+1,a=Error(),pd(a,"incident"),pb(a))}};function td(){return typeof BigInt==="function"};var ud=typeof Symbol==="function"&&typeof Symbol()==="symbol";function vd(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 wd=vd("jas",void 0,!0),xd=vd(void 0,"0di"),yd=vd(void 0,"1oa"),zd=vd(void 0,Symbol()),Ad=vd(void 0,"0ubs"),Bd=vd(void 0,"0ubsb"),Cd=vd(void 0,"0actk"),Dd=vd("m_m","Vn",!0);var Ed={Ck:{value:0,configurable:!0,writable:!0,enumerable:!1}},Fd=Object.defineProperties,F=ud?wd:"Ck",Gd,Hd=[];Pd(Hd,7);Gd=Object.freeze(Hd);function Qd(a,b){ud||F in a||Fd(a,Ed);a[F]|=b}function Pd(a,b){ud||F in a||Fd(a,Ed);a[F]=b}function Rd(a){if(4&a)return 512&a?512:1024&a?1024:0}function Sd(a){Qd(a,34);return a}function Td(a){Qd(a,8192);return a}function Ud(a){Qd(a,32);return a};var Vd={};function Wd(a,b){return b===void 0?a.g!==Xd&&!!(2&(a.I[F]|0)):!!(2&b)&&a.g!==Xd}var Xd={};function Yd(a,b){if(a!=null)if(typeof a==="string")a=a?new ld(a,jd):nd();else if(a.constructor!==ld)if($c&&a!=null&&a instanceof Uint8Array)a=a.length?new ld(new Uint8Array(a),jd):nd();else{if(!b)throw Error();a=void 0}return a}var Zd=function(a,b,c){this.g=a;this.j=b;this.l=c};Zd.prototype.next=function(){var a=this.g.next();a.done||(a.value=this.j.call(this.l,a.value));return a}; Zd.prototype[Symbol.iterator]=function(){return this};var $d=Object.freeze({}),ae=Object.freeze({});function be(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=me&&a<=ne:a[0]==="-"?oe(a,pe):oe(a,qe)}),pe=Number.MIN_SAFE_INTEGER.toString(),me=ke?BigInt(Number.MIN_SAFE_INTEGER):void 0,qe=Number.MAX_SAFE_INTEGER.toString(),ne=ke?BigInt(Number.MAX_SAFE_INTEGER):void 0; function oe(a,b){if(a.length>b.length)return!1;if(a.lengthe)return!1;if(d>>0;te=b;ue=(a-b)/4294967296>>>0}function Oe(a){if(a<0){Ne(0-a);var b=u(Pe(te,ue));a=b.next().value;b=b.next().value;te=a>>>0;ue=b>>>0}else Ne(a)}function Qe(a,b){var c=b*4294967296+(a>>>0);return Number.isSafeInteger(c)?c:Re(a,b)}function Se(a,b){return le(td()?BigInt.asUintN(64,(BigInt(b>>>0)<>>0)):Re(a,b))} function Te(a,b){var c=b&2147483648;c&&(a=~a+1>>>0,b=~b>>>0,a==0&&(b=b+1>>>0));a=Qe(a,b);return typeof a==="number"?c?-a:a:c?"-"+a:a}function Ue(a,b){return td()?le(BigInt.asIntN(64,(BigInt.asUintN(32,BigInt(b))<>>=0;a>>>=0;if(b<=2097151)var c=""+(4294967296*b+a);else td()?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+We(c)+We(a));return c}function We(a){a=String(a);return"0000000".slice(a.length)+a} function Ve(a,b){b&2147483648?td()?a=""+(BigInt(b|0)<>>0)):(b=u(Pe(a,b)),a=b.next().value,b=b.next().value,a="-"+Re(a,b)):a=Re(a,b);return a} function Xe(a){if(a.length<16)Oe(Number(a));else if(td())a=BigInt(a),te=Number(a&BigInt(4294967295))>>>0,ue=Number(a>>BigInt(32)&BigInt(4294967295));else{var b=+(a[0]==="-");ue=te=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)),ue*=1E6,te=te*1E6+d,te>=4294967296&&(ue+=Math.trunc(te/4294967296),ue>>>=0,te>>>=0);b&&(b=u(Pe(te,ue)),a=b.next().value,b=b.next().value,te=a,ue=b)}}function Pe(a,b){b=~b;a?a=~a+1:b+=1;return[a,b]};function Ye(a){return Array.prototype.slice.call(a)};var Ze=typeof BigInt==="function"?BigInt.asIntN:void 0,$e=typeof BigInt==="function"?BigInt.asUintN:void 0,af=Number.isSafeInteger,bf=Number.isFinite,cf=Math.trunc;function df(a){if(a==null||typeof a==="number")return a;if(a==="NaN"||a==="Infinity"||a==="-Infinity")return Number(a)}function ef(a){if(typeof a!=="boolean")throw Error("Expected boolean but got "+Pa(a)+": "+a);return a}function ff(a){if(a==null||typeof a==="boolean")return a;if(typeof a==="number")return!!a}var gf=/^-?([1-9][0-9]*|0)(\.[0-9]+)?$/; function hf(a){switch(typeof a){case "bigint":return!0;case "number":return bf(a);case "string":return gf.test(a);default:return!1}}function jf(a){if(!bf(a))throw rd("enum");return a|0}function kf(a){return a==null?a:bf(a)?a|0:void 0}function lf(a){if(typeof a!=="number")throw rd("int32");if(!bf(a))throw rd("int32");return a|0}function mf(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return bf(a)?a|0:void 0} function nf(a){if(a==null)return a;if(typeof a==="string"&&a)a=+a;else if(typeof a!=="number")return;return bf(a)?a>>>0:void 0} function of(a){var b=void 0;b!=null||(b=Mb?1024:0);if(!hf(a))throw rd("int64");var c=typeof a;switch(b){case 512:switch(c){case "string":return pf(a);case "bigint":return String(Ze(64,a));default:return qf(a)}case 1024:switch(c){case "string":return rf(a);case "bigint":return le(Ze(64,a));default:return sf(a)}case 0:switch(c){case "string":return pf(a);case "bigint":return le(Ze(64,a));default:return tf(a)}default:throw Error("Unknown format requested type for int64");}} function uf(a){var b=a.length;if(a[0]==="-"?b<20||b===20&&a<="-9223372036854775808":b<19||b===19&&a<="9223372036854775807")return a;Xe(a);return Ve(te,ue)}function tf(a){a=cf(a);af(a)||(Oe(a),a=Te(te,ue));return a}function qf(a){a=cf(a);af(a)?a=String(a):(Oe(a),a=Ve(te,ue));return a}function pf(a){var b=cf(Number(a));if(af(b))return String(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return uf(a)} function rf(a){var b=cf(Number(a));if(af(b))return le(b);b=a.indexOf(".");b!==-1&&(a=a.substring(0,b));return td()?le(Ze(64,BigInt(a))):le(uf(a))}function sf(a){return af(a)?le(tf(a)):le(qf(a))}function vf(a){if(a==null)return a;if(typeof a==="bigint")return re(a)?a=Number(a):(a=Ze(64,a),a=re(a)?Number(a):String(a)),a;if(hf(a))return typeof a==="number"?tf(a):pf(a)}function wf(a){var b=typeof a;if(a==null)return a;if(b==="bigint")return le(Ze(64,a));if(hf(a))return b==="string"?rf(a):sf(a)} function xf(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String(Ze(64,a));if(hf(a)){if(b==="string")return pf(a);if(b==="number")return tf(a)}} function yf(a){if(a==null)return a;var b=typeof a;if(b==="bigint")return String($e(64,a));if(hf(a)){if(b==="string")return b=cf(Number(a)),af(b)&&b>=0?a=String(b):(b=a.indexOf("."),b!==-1&&(a=a.substring(0,b)),a[0]==="-"?b=!1:(b=a.length,b=b<20?!0:b===20&&a<="18446744073709551615"),b||(Xe(a),a=Re(te,ue))),a;if(b==="number")return a=cf(a),a>=0&&af(a)||(Oe(a),a=Qe(te,ue)),a}}function zf(a){if(typeof a!=="string")throw Error();return a} function Ff(a){if(a!=null&&typeof a!=="string")throw Error();return a}function Gf(a){return a==null||typeof a==="string"?a:void 0}function Hf(a,b,c,d){if(a!=null&&a[Dd]===Vd)return a;if(!Array.isArray(a))return c?d&2?b[xd]||(b[xd]=If(b)):new b:void 0;c=a[F]|0;d=c|d&32|d&2;d!==c&&Pd(a,d);return new b(a)}function If(a){a=new a;Sd(a.I);return a}function Jf(a,b,c){if(b)return ef(a);var d;return(d=ff(a))!=null?d:c?!1:void 0} function Kf(a,b,c){if(b)return zf(a);var d;return(d=Gf(a))!=null?d:c?"":void 0};function Lf(a){return a};var Mf={},Nf=function(){try{var a=function(){return ka(Map,[],this.constructor)};r(a,Map);Cc(new a);return!1}catch(b){return!0}}(),Of=function(){this.g=new Map};m=Of.prototype;m.get=function(a){return this.g.get(a)};m.set=function(a,b){this.g.set(a,b);this.size=this.g.size;return this};m.delete=function(a){a=this.g.delete(a);this.size=this.g.size;return a};m.clear=function(){this.g.clear();this.size=this.g.size};m.has=function(a){return this.g.has(a)};m.entries=function(){return this.g.entries()}; m.keys=function(){return this.g.keys()};m.values=function(){return this.g.values()};m.forEach=function(a,b){return this.g.forEach(a,b)};Of.prototype[Symbol.iterator]=function(){return this.entries()};var Pf=function(){if(Nf)return Object.setPrototypeOf(Of.prototype,Map.prototype),Object.defineProperties(Of.prototype,{size:{value:0,configurable:!0,enumerable:!0,writable:!0}}),Of;var a=function(){return ka(Map,[],this.constructor)};r(a,Map);return a}();function Qf(a){return a} var Sf=function(a,b,c,d){c=c===void 0?Qf:c;d=d===void 0?Qf:d;var e=Pf.call(this)||this;e.Yc=a[F]|0;e.Uc=b;e.Qe=c;e.Fi=e.Uc?Rf:d;for(var f=0;f=g){var t=q-n,x=void 0;((x=b)!=null?x:b={})[t]=v}else f[q]=v}if(p)for(var A in p)h=p[A],h!= null&&(h=c(h,d))!=null&&(q=+A,v=void 0,l&&!Number.isNaN(q)&&(v=q+n)0?void 0:a===0?jg||(jg=[0,void 0]):[-a,void 0];case "string":return[0,a];case "object":return a}}function lg(a,b){return mg(a,b[0],b[1])}function G(a,b,c){return mg(a,b,c,2048)} function mg(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&-16760833|(b&1023)<<14)}else{if(!Array.isArray(a))throw Error("narr");e=a[F]|0;if(Kb&&1&e)throw Error("rfarr");2048&e&&!(2&e)&&ng();if(e&256)throw Error("farr");if(e&64)return(e|d)!==e&&Pd(a,e|d),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&-16760833|(k&1023)<<14}}}Pd(a,e|64|d);return a}function ng(){if(Kb)throw Error("carr");sd(Cd,5)};function og(a,b){if(typeof a!=="object")return a;if(Array.isArray(a)){var c=a[F]|0;return a.length===0&&c&1?void 0:pg(a,c,b)}if(a!=null&&a[Dd]===Vd)return qg(a);if(a instanceof Sf){b=a.Yc;if(b&2)return a;if(!a.size)return;c=Sd(Uf(a));if(a.Uc)for(a=0;a=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}},Cg=function(a,b,c){vg(a);var d=a.I;Bg(d,d[F]|0,b,c);return a}; function Bg(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[F]|0)>>14&1023||536870912;c>=g?d!=null&&(f={},a[g+(e?0:-1)]=(f[c]=d,f)):a[f]=d}return b}var Dg=function(a){return a===$d?2:4}; function Eg(a,b,c,d,e,f){var g=a.I,h=g[F]|0;d=Wd(a,h)?1:d;e=!!e||d===3;d===2&&ug(a)&&(g=a.I,h=g[F]|0);a=Fg(g,b,f);var k=a===Gd?7:a[F]|0,l=Gg(k,h);var n=4&l?!1:!0;if(n){4&l&&(a=Ye(a),k=0,l=Hg(l,h),h=Bg(g,h,b,a,f));for(var p=0,q=0;p>>=0}return Vg(a,b,c,0)},yh=function(a,b,c){return Cg(a,b,c==null?c:of(c))},zh=function(a,b,c){return Vg(a,b,c==null?c:of(c),"0")}, Ah=function(a,b,c){return Cg(a,b,Ff(c))},Bh=function(a,b,c){return Vg(a,b,Yd(c,!1),nd())},Ch=function(a,b,c){return Cg(a,b,c==null?c:jf(c))},Dh=function(a,b,c){return Vg(a,b,c==null?c:jf(c),0)},Eh=function(a,b,c,d){return Zg(a,b,c,d==null?d:jf(d))};var Fh=function(a,b,c){this.buffer=a;if(c&&!b)throw Error();this.g=b}; function Gh(a,b){if(typeof a==="string")return new Fh(id(a),b);if(Array.isArray(a))return new Fh(new Uint8Array(a),b);if(a.constructor===Uint8Array)return new Fh(a,!1);if(a.constructor===ArrayBuffer)return a=new Uint8Array(a),new Fh(a,!1);if(a.constructor===ld)return b=od(a)||new Uint8Array(0),new Fh(b,!0,a);if(a instanceof Uint8Array)return a=a.constructor===Uint8Array?a:new Uint8Array(a.buffer,a.byteOffset,a.byteLength),new Fh(a,!1);throw Error();};var Hh=function(a,b,c,d){this.j=null;this.A=!1;this.g=this.l=this.o=0;this.init(a,b,c,d)};Hh.prototype.init=function(a,b,c,d){var e=d===void 0?{}:d;d=e.me===void 0?!1:e.me;e=e.Cf===void 0?!1:e.Cf;this.me=d;this.Cf=e;a&&(a=Gh(a,this.Cf),this.j=a.buffer,this.A=a.g,this.o=b||0,this.l=c!==void 0?this.o+c:this.j.length,this.g=this.o)};Hh.prototype.clear=function(){this.j=null;this.A=!1;this.g=this.l=this.o=0;this.me=!1};Hh.prototype.reset=function(){this.g=this.o}; var Jh=function(a,b){var c=0,d=0,e=0,f=a.j,g=a.g;do{var h=f[g++];c|=(h&127)<32)for(d|=(h&127)>>4,e=3;e<32&&h&128;e+=7)h=f[g++],d|=(h&127)<>>0,d>>>0);throw Error();},Ih=function(a,b){a.g=b;if(b>a.l)throw Error();},Kh=function(a){var b=a.j,c=a.g,d=b[c++],e=d&127;if(d&128&&(d=b[c++],e|=(d&127)<<7,d&128&&(d=b[c++],e|=(d&127)<<14,d&128&&(d=b[c++],e|=(d&127)<<21,d&128&&(d=b[c++],e|=d<<28,d&128&&b[c++]&128&&b[c++]&128&&b[c++]&128&&b[c++]& 128&&b[c++]&128)))))throw Error();Ih(a,c);return e},Lh=function(a){var b=a.j,c=a.g,d=b[c+0],e=b[c+1],f=b[c+2];b=b[c+3];Ih(a,a.g+4);return(d<<0|e<<8|f<<16|b<<24)>>>0},Mh=function(a){for(var b=0,c=a.g,d=c+10,e=a.j;ca.l)throw Error();a.g=b;return c},Oh=function(a,b){if(b==0)return nd();var c=Nh(a,b);a.me&&a.A?c=a.j.subarray(c,c+b):(a=a.j,b=c+b,c=c===b?new Uint8Array(0): se?a.slice(c,b):new Uint8Array(a.subarray(c,b)));return c.length==0?nd():new ld(c,jd)},Ph=[];var Rh=function(a,b,c,d){if(Ph.length){var e=Ph.pop();e.init(a,b,c,d);a=e}else a=new Hh(a,b,c,d);this.g=a;this.o=this.g.g;this.j=this.l=-1;Qh(this,d)},Qh=function(a,b){b=b===void 0?{}:b;a.hg=b.hg===void 0?!1:b.hg},Th=function(a,b,c,d){if(Sh.length){var e=Sh.pop();Qh(e,d);e.g.init(a,b,c,d);return e}return new Rh(a,b,c,d)},Uh=function(a){a.g.clear();a.l=-1;a.j=-1;Sh.length<100&&Sh.push(a)};Rh.prototype.reset=function(){this.g.reset();this.o=this.g.g;this.j=this.l=-1}; var Vh=function(a){var b=a.g;if(b.g==b.l)return!1;a.o=a.g.g;var c=Kh(a.g)>>>0;b=c>>>3;c&=7;if(!(c>=0&&c<=5))throw Error();if(b<1)throw Error();a.l=b;a.j=c;return!0},Wh=function(a){switch(a.j){case 0:a.j!=0?Wh(a):Mh(a.g);break;case 1:a=a.g;Ih(a,a.g+8);break;case 2:if(a.j!=2)Wh(a);else{var b=Kh(a.g)>>>0;a=a.g;Ih(a,a.g+b)}break;case 5:a=a.g;Ih(a,a.g+4);break;case 3:b=a.l;do{if(!Vh(a))throw Error();if(a.j==4){if(a.l!=b)throw Error();break}Wh(a)}while(1);break;default:throw Error();}},Xh=function(a,b, c){var d=a.g.l,e=Kh(a.g)>>>0;e=a.g.g+e;var f=e-d;f<=0&&(a.g.l=e,c(b,a,void 0,void 0,void 0),f=e-a.g.g);if(f)throw Error();a.g.g=e;a.g.l=d},Yh=function(a){var b=Kh(a.g)>>>0;a=a.g;var c=Nh(a,b);a=a.j;if(kb){var d=a,e;(e=jb)||(e=jb=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(ib===void 0){try{e.decode(new Uint8Array([128]))}catch(n){}try{e.decode(new Uint8Array([97])),ib=!0}catch(n){ib=!1}}!ib&&(jb=void 0);throw l;}}else{f=c;b=f+ b;c=[];for(var g=null,h,k;f=b?fb():(k=a[f++],h<194||(k&192)!==128?(f--,fb()):c.push((h&31)<<6|k&63)):h<240?f>=b-1?fb():(k=a[f++],(k&192)!==128||h===224&&k<160||h===237&&k>=160||((e=a[f++])&192)!==128?(f--,fb()):c.push((h&15)<<12|(k&63)<<6|e&63)):h<=244?f>=b-2?fb():(k=a[f++],(k&192)!==128||(h<<28)+(k-144)>>30!==0||((e=a[f++])&192)!==128||((d=a[f++])&192)!==128?(f--,fb()):(h=(h&7)<<18|(k&63)<<12|(e&63)<<6|d&63,h-=65536,c.push((h>>10&1023)+55296,(h&1023)+56320))): fb(),c.length>=8192&&(g=gb(g,c),c.length=0);f=gb(g,c)}return f},Sh=[];var Zh=function(a,b){this.j=a>>>0;this.g=b>>>0},ai=function(a){if(!a)return $h||($h=new Zh(0,0));if(!/^\d+$/.test(a))return null;Xe(a);return new Zh(te,ue)},$h,bi=function(a,b){this.j=a>>>0;this.g=b>>>0},di=function(a){if(!a)return ci||(ci=new bi(0,0));if(!/^-?\d+$/.test(a))return null;Xe(a);return new bi(te,ue)},ci;var ei=function(){this.g=[]};ei.prototype.length=function(){return this.g.length};ei.prototype.end=function(){var a=this.g;this.g=[];return a}; var fi=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)},gi=function(a,b){for(;b>127;)a.g.push(b&127|128),b>>>=7;a.g.push(b)},hi=function(a,b){if(b>=0)gi(a,b);else{for(var c=0;c<9;c++)a.g.push(b&127|128),b>>=7;a.g.push(1)}},ii=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 ji=function(){this.l=[];this.j=0;this.g=new ei},ki=function(a,b){b.length!==0&&(a.l.push(b),a.j+=b.length)},mi=function(a,b){li(a,b,2);b=a.g.end();ki(a,b);b.push(a.j);return b},ni=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++},li=function(a,b,c){gi(a.g,b*8+c)},oi=function(a,b,c){li(a,b,2);gi(a.g,c.length);ki(a,a.g.end());ki(a,c)};function pi(){var a=function(){throw Error();};Object.setPrototypeOf(a,a.prototype);return a}var qi=pi(),ri=pi(),si=pi(),ti=pi(),ui=pi(),vi=pi(),wi=pi(),xi=pi(),yi=pi(),Si=pi(),Ti=pi();var J=function(a,b,c){this.I=G(a,b,c)};J.prototype.toJSON=function(){return hg(this)};J.prototype.clone=function(){var a=this.I,b=a[F]|0;return tg(this,a,b)?sg(this,a,!0):new this.constructor(rg(a,b,!1))};J.prototype[Dd]=Vd;J.prototype.toString=function(){return this.I.toString()};var Ui=function(a,b,c){this.g=a;this.j=b;a=bb(qi);this.l=!!a&&c===a||!1};function Vi(a){var b=Wi;var c=c===void 0?qi:c;return new Ui(a,b,c)}function Wi(a,b,c,d,e){b=Xi(b,d);b!=null&&(c=mi(a,c),e(b,a),ni(a,c))}var Yi=Vi(function(a,b,c,d,e){if(a.j!==2)return!1;Xh(a,bh(b,d,c),e);return!0}),Zi=Vi(function(a,b,c,d,e){if(a.j!==2)return!1;Xh(a,bh(b,d,c),e);return!0}),$i=Symbol(),aj=Symbol(),bj=Symbol(),cj=Symbol(),dj=Symbol(),ej,fj; function gj(a,b,c,d){var e=d[a];if(e)return e;e={};e.Pj=d;e.Td=kg(d[0]);var f=d[1],g=1;f&&f.constructor===Object&&(e.L=f,f=d[++g],typeof f==="function"&&(e.Xh=!0,ej!=null||(ej=f),fj!=null||(fj=d[g+1]),f=d[g+=2]));for(var h={};f&&Array.isArray(f)&&f.length&&typeof f[0]==="number"&&f[0]>0;){for(var k=0;k>BigInt(32)));fi(a.g,c.j,c.g);break;default:c=di(b),fi(a.g,c.j,c.g)}}}function wj(a,b,c){b=mf(b);b!=null&&b!=null&&(li(a,c,0),hi(a.g,b))} function xj(a,b,c){b=Gf(b);if(b!=null){var d=!1;d=d===void 0?!1:d;if(ob){if(d&&(nb?!b.isWellFormed():/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(b)))throw Error("Found an unpaired surrogate");b=(lb||(lb=new TextEncoder)).encode(b)}else{for(var e=0,f=new Uint8Array(3*b.length),g=0;g>6|192;else{if(h>=55296&&h<=57343){if(h<=56319&&g=56320&&k<=57343){h= (h-55296)*1024+k-56320+65536;f[e++]=h>>18|240;f[e++]=h>>12&63|128;f[e++]=h>>6&63|128;f[e++]=h&63|128;continue}else g--}if(d)throw Error("Found an unpaired surrogate");h=65533}f[e++]=h>>12|224;f[e++]=h>>6&63|128}f[e++]=h&63|128}}b=e===f.length?f:f.subarray(0,e)}oi(a,c,b)}}function yj(a,b,c){b=nf(b);b!=null&&b!=null&&(li(a,c,0),gi(a.g,b))}function zj(a,b,c){b=mf(b);b!=null&&(b=parseInt(b,10),li(a,c,0),hi(a.g,b))} var Aj=tj(function(a,b,c){if(a.j!==1)return!1;var d=a.g;a=Lh(d);var e=Lh(d);d=(e>>31)*2+1;var f=e>>>20&2047;a=4294967296*(e&1048575)+a;a=f==2047?a?NaN:d*Infinity:f==0?d*4.9E-324*a:d*Math.pow(2,f-1075)*(a+4503599627370496);uj(b,c,a===0?void 0:a);return!0},function(a,b,c){b=df(b);b!=null&&(li(a,c,1),a=a.g,c=Me||(Me=new DataView(new ArrayBuffer(8))),c.setFloat64(0,+b,!0),te=c.getUint32(0,!0),ue=c.getUint32(4,!0),ii(a,te),ii(a,ue))},yi),Bj=tj(function(a,b,c){if(a.j!==5)return!1;var d=Lh(a.g);a=(d>>31)* 2+1;var e=d>>>23&255;d&=8388607;uj(b,c,e==255?d?NaN:a*Infinity:e==0?a*1.401298464324817E-45*d:a*Math.pow(2,e-150)*(d+8388608));return!0},function(a,b,c){b=df(b);b!=null&&(li(a,c,5),a=a.g,c=Me||(Me=new DataView(new ArrayBuffer(8))),c.setFloat32(0,+b,!0),ue=0,te=c.getUint32(0,!0),ii(a,te))},xi),Cj=tj(function(a,b,c){if(Lb)return a.j!==0?a=!1:(uj(b,c,Jh(a.g,Ue)),a=!0),a;if(a.j!==0)return!1;uj(b,c,Jh(a.g,Te));return!0},vj,vi),Dj=tj(function(a,b,c){if(Lb)return a.j!==0?b=!1:(a=Jh(a.g,Ue),uj(b,c,a===sj? void 0:a),b=!0),b;if(a.j!==0)return!1;a=Jh(a.g,Te);uj(b,c,a===0?void 0:a);return!0},vj,vi),Ej=tj(function(a,b,c){if(Lb)return a.j!==0?a=!1:(uj(b,c,Jh(a.g,Se)),a=!0),a;if(a.j!==0)return!1;uj(b,c,Jh(a.g,Qe));return!0},function(a,b,c){b=yf(b);if(b!=null){switch(typeof b){case "string":ai(b)}if(b!=null)switch(li(a,c,0),typeof b){case "number":a=a.g;Oe(b);fi(a,te,ue);break;case "bigint":c=BigInt.asUintN(64,b);c=new Zh(Number(c&BigInt(4294967295)),Number(c>>BigInt(32)));fi(a.g,c.j,c.g);break;default:c= ai(b),fi(a.g,c.j,c.g)}}},wi),Fj=tj(function(a,b,c){if(a.j!==0)return!1;uj(b,c,Kh(a.g));return!0},wj,ti),Gj=tj(function(a,b,c){if(a.j!==0)return!1;a=Kh(a.g);uj(b,c,a===0?void 0:a);return!0},wj,ti),Hj=tj(function(a,b,c){if(a.j!==0)return!1;uj(b,c,Mh(a.g));return!0},function(a,b,c){b=ff(b);b!=null&&(li(a,c,0),a.g.g.push(b?1:0))},ri),Ij=tj(function(a,b,c){if(a.j!==2)return!1;a=Yh(a);uj(b,c,a===""?void 0:a);return!0},xj,si),Jj=tj(function(a,b,c){if(a.j!==2)return!1;uj(b,c,Yh(a));return!0},xj,si),Kj,Lj= void 0;Lj=Lj===void 0?qi:Lj;Kj=new Ui(function(a,b,c,d,e){if(a.j!==2)return!1;d=lg(void 0,d);Wg(b,b[F]|0,c).push(d);Xh(a,d,e);return!0},function(a,b,c,d,e){if(Array.isArray(b)){for(var f=0;f>>0;a=Oh(a.g,d);uj(b,c,a===nd()?void 0:a);return!0},function(a,b,c){b=b==null||typeof b=="string"||b instanceof ld?b:void 0;b!=null&&oi(a,c,Gh(b,!0).buffer)},Si),Nj=tj(function(a,b,c){if(a.j!==0)return!1;uj(b,c,Kh(a.g)>>>0);return!0},yj,ui),Oj=tj(function(a,b,c){if(a.j!==0)return!1;a=Kh(a.g)>>>0;uj(b,c,a===0?void 0:a);return!0},yj,ui),Pj=tj(function(a,b,c){if(a.j!==0)return!1;uj(b,c,Kh(a.g));return!0},zj,Ti),Qj; Qj=new Ui(function(a,b,c){if(a.j!==0&&a.j!==2)return!1;b=Wg(b,b[F]|0,c);if(a.j==2)for(c=Kh(a.g)>>>0,c=a.g.g+c;a.g.g")!=-1&&(a=a.replace(vb,">")),a.indexOf('"')!=-1&&(a=a.replace(wb,""")),a.indexOf("'")!=-1&&(a=a.replace(xb,"'")),a.indexOf("\x00")!=-1&&(a=a.replace(yb,"�")));return a},Sk=function(a){var b={"&":"&","<":"<",">":">",""":'"'};var c=B.document.createElement("div");return a.replace(Rk, 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||(f=Jk(d+" "),c.nodeType===1&&Nk(c),c.innerHTML=Kk(f),f=c.firstChild.nodeValue.slice(0,-1));return b[d]=f})},ol=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)}})},Rk=/&([^;\s<&]+);?/g, pl=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a},ql=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},rl=function(a){return a==null?"":String(a)},sl=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})},tl=function(){return"googleAvInapp".replace(/([A-Z])/g,"-$1").toLowerCase()},ul=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])","g"),function(b,c,d){return c+d.toUpperCase()})};function vl(a){var b,c;return(c=(b=/https?:\/\/[^\/]+/.exec(a))==null?void 0:b[0])!=null?c:""}function wl(){try{for(var a=B,b=null;b!=a;b=a,a=a.parent)switch(a.location.protocol){case "https:":return!0;case "file:":return!0;case "http:":return!1}}catch(c){}return!0}var xl=ik(function(){return lk()?2:mk()?1:0});function yl(){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()}};var zl,Al=64;function Bl(){try{return zl!=null||(zl=new Uint32Array(64)),Al>=64&&(crypto.getRandomValues(zl),Al=0),zl[Al++]}catch(a){return Math.floor(Math.random()*4294967296)}};function Cl(a){var b=window;if(!ee(b.goog_pvsid))try{var c=Bl()+(Bl()&2097151)*4294967296;Object.defineProperty(b,"goog_pvsid",{value:c,configurable:!1})}catch(d){a.Lb({methodName:784,Zc:d})}b=Number(b.goog_pvsid);(!b||b<=0)&&a.Lb({methodName:784,Zc:Error("Invalid correlator, "+b)});return b||-1};function Dl(a,b){var c=b.createRange();c.selectNode(b.body);a=Jk(a);return c.createContextualFragment(Kk(a))};function El(a){a=a.nodeName;return typeof a==="string"?a:"FORM"}function Fl(a){a=a.nodeType;return a===1||typeof a!=="number"};var Gl="ARTICLE SECTION NAV ASIDE H1 H2 H3 H4 H5 H6 HEADER FOOTER ADDRESS P HR PRE BLOCKQUOTE OL UL LH LI DL DT DD FIGURE FIGCAPTION MAIN DIV EM STRONG SMALL S CITE Q DFN ABBR RUBY RB RT RTC RP DATA TIME CODE VAR SAMP KBD SUB SUP I B U MARK BDI BDO SPAN BR WBR NOBR INS DEL PICTURE PARAM TRACK MAP TABLE CAPTION COLGROUP COL TBODY THEAD TFOOT TR TD TH SELECT DATALIST OPTGROUP OPTION OUTPUT PROGRESS METER FIELDSET LEGEND DETAILS SUMMARY MENU DIALOG SLOT CANVAS FONT CENTER ACRONYM BASEFONT BIG DIR HGROUP STRIKE TT".split(" "), Hl=[["A",new Map([["href",{Ia:7}]])],["AREA",new Map([["href",{Ia:7}]])],["LINK",new Map([["href",{Ia:5,conditions:new Map([["rel",new Set("alternate author bookmark canonical cite help icon license next prefetch dns-prefetch prerender preconnect preload prev search subresource".split(" "))]])}]])],["SOURCE",new Map([["src",{Ia:5}],["srcset",{Ia:6}]])],["IMG",new Map([["src",{Ia:5}],["srcset",{Ia:6}]])],["VIDEO",new Map([["src",{Ia:5}]])],["AUDIO",new Map([["src",{Ia:5}]])]],Il="title aria-atomic aria-autocomplete aria-busy aria-checked aria-current aria-disabled aria-dropeffect aria-expanded aria-haspopup aria-hidden aria-invalid aria-label aria-level aria-live aria-multiline aria-multiselectable aria-orientation aria-posinset aria-pressed aria-readonly aria-relevant aria-required aria-selected aria-setsize aria-sort aria-valuemax aria-valuemin aria-valuenow aria-valuetext alt align autocapitalize autocomplete autocorrect autofocus autoplay bgcolor border cellpadding cellspacing checked cite color cols colspan controls controlslist coords crossorigin datetime disabled download draggable enctype face formenctype frameborder height hreflang hidden inert ismap label lang loop max maxlength media minlength min multiple muted nonce open playsinline placeholder poster preload rel required reversed role rows rowspan selected shape size sizes slot span spellcheck start step summary translate type usemap valign value width wrap itemscope itemtype itemid itemprop itemref".split(" "), Jl=[["dir",{Ia:3,conditions:nk(function(){return new Map([["dir",new Set(["auto","ltr","rtl"])]])})}],["async",{Ia:3,conditions:nk(function(){return new Map([["async",new Set(["async"])]])})}],["loading",{Ia:3,conditions:nk(function(){return new Map([["loading",new Set(["eager","lazy"])]])})}],["target",{Ia:3,conditions:nk(function(){return new Map([["target",new Set(["_self","_blank"])]])})}]],Kl=new function(){var a=new Set(Il),b=new Map(Jl),c=new Map(Hl);this.j=new Set(Gl);this.g=c;this.l=a;this.o= b};var Ll=function(){this.g=Kl},Ol=function(a,b){var c=Ml;a=Dl(a,b);a=document.createTreeWalker(a,5,function(h){if(h.nodeType===3)h=1;else if(Fl(h))if(h=El(h),h===null)h=2;else{var k=c.g;h=h!=="FORM"&&(k.j.has(h)||k.g.has(h))?1:2}else h=2;return h});for(var d=a.nextNode(),e=b.createDocumentFragment(),f=e;d!==null;){var g=void 0;if(d.nodeType===3)g=document.createTextNode(d.data);else if(Fl(d))g=Nl(c,d,b);else throw Error("");f.appendChild(g);if(d=a.firstChild())f=g;else for(;!(d=a.nextSibling())&&(d= a.parentNode());)f=f.parentNode}return e},Nl=function(a,b,c){var d=El(b);c=c.createElement(d);b=b.attributes;for(var e=u(b),f=e.next();!f.done;f=e.next()){var g=f.value;f=g.name;g=g.value;var h=a.g;var k=h.g.get(d);h=(k==null?0:k.has(f))?k.get(f):h.l.has(f)?{Ia:1}:(h=h.o.get(f))?h:{Ia:0};a:{if(k=h.conditions){k=u(k);for(var l=k.next();!l.done;l=k.next()){var n=u(l.value);l=n.next().value;n=n.next().value;var p=void 0;if((l=(p=b.getNamedItem(l))==null?void 0:p.value)&&!n.has(l)){k=!1;break a}}}k=!0}if(k)switch(h.Ia){case 1:Pl(c, f,g);break;case 2:throw Error();case 3:Pl(c,f,g.toLowerCase());break;case 4:Pl(c,f,g);break;case 5:Pl(c,f,g);break;case 6:Pl(c,f,g);break;case 7:a:if(k=void 0,h=g,Ek){try{k=new URL(h)}catch(q){h="https:";break a}h=k.protocol}else b:{k=document.createElement("a");try{k.href=h}catch(q){h=void 0;break b}h=k.protocol;h=h===":"||h===""?"https:":h}g=h!==void 0&&Fk.indexOf(h.toLowerCase())!==-1?g:"about:invalid#zClosurez";Pl(c,f,g)}}return c};function Pl(a,b,c){a.setAttribute(b,c)}var Ml=nk(function(){return new Ll});function Ql(a){var b=Ia.apply(1,arguments);if(b.length===0)return tk(a[0]);for(var c=a[0],d=0;d2&&xm(a,d,b,2);return d},xm=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(Ra(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}ac(g?xc(f):f,e)}}},wm=function(a,b){b=String(b);a.contentType==="application/xhtml+xml"&&(b=b.toLowerCase());return a.createElement(b)},ym=function(a,b){xm(om(a),a,arguments,1)},K=function(a){return a.children!=void 0?a.children:Array.prototype.filter.call(a.childNodes, function(b){return b.nodeType==1})},zm=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},om=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},Am=function(a){try{return a.contentWindow||(a.contentDocument?tm(a.contentDocument):null)}catch(b){}return null},Bm={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},Cm={IMG:" ", BR:"\n"},Em=function(a){var b=[];Dm(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},Dm=function(a,b,c){if(!(a.nodeName in Bm))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 Cm)b.push(Cm[a.nodeName]);else for(a=a.firstChild;a;)Dm(a,b,c),a=a.nextSibling},Fm=function(a,b){a&&(a=a.parentNode);for(var c=0;a;){if(b(a))return a; a=a.parentNode;c++}return null},nm=function(a){this.g=a||B.document||document};nm.prototype.getElementsByTagName=function(a,b){return(b||this.g).getElementsByTagName(String(a))};nm.prototype.j=function(a,b,c){return um(this.g,arguments)};var Gm=function(a){var b=a.g;a=b.scrollingElement?b.scrollingElement:Gc||b.compatMode!="CSS1Compat"?b.body||b.documentElement:b.documentElement;b=b.defaultView;return new Wl((b==null?void 0:b.pageXOffset)||a.scrollLeft,(b==null?void 0:b.pageYOffset)||a.scrollTop)}; nm.prototype.appendChild=function(a,b){a.appendChild(b)};nm.prototype.append=ym;nm.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}; nm.prototype.contains=zm;function Hm(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}m=Hm.prototype;m.getWidth=function(){return this.right-this.left};m.getHeight=function(){return this.bottom-this.top};m.clone=function(){return new Hm(this.top,this.right,this.bottom,this.left)};m.contains=function(a){return this&&a?a instanceof Hm?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){Ra(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 Im=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};Hm.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}; Hm.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};Hm.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 Jm=function(a,b,c){b instanceof Wl?(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};Hm.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};function Km(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}Km.prototype.clone=function(){return new Km(this.left,this.top,this.width,this.height)}; var Lm=function(a){return new Hm(a.top,a.left+a.width,a.top+a.height,a.left)},Mm=function(a,b){return a==b?!0:a&&b?a.left==b.left&&a.width==b.width&&a.top==b.top&&a.height==b.height:!1},Nm=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 Km(c,e,d-c,a-e)}return null};m=Km.prototype; m.contains=function(a){return a instanceof Wl?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.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 Pm=function(a,b){if(typeof b==="string")(b=Om(a,b))&&(a.style[b]=void 0);else for(var c in b){var d=a,e=b[c],f=Om(d,c);f&&(d.style[f]=e)}},Qm={},Om=function(a,b){var c=Qm[b];if(!c){var d=sl(b);c=d;a.style[d]===void 0&&(d=(Gc?"Webkit":Fc?"Moz":null)+ul(d),a.style[d]!==void 0&&(c=d));Qm[b]=c}return c},Rm=function(a){try{return a.getBoundingClientRect()}catch(b){return{left:0,top:0,right:0,bottom:0}}},Sm=function(a,b){var c=new Wl(0,0),d=tm(om(a));if(!Dc(d,"parent"))return c;do{if(d==b){var e=om(a); var f=new Wl(0,0);if(a!=(e?om(e):document).documentElement){var g=Rm(a);e=Gm(pm(e));f.x=g.left+e.x;f.y=g.top+e.y}}else f=Rm(a),f=new Wl(f.left,f.top);c.x+=f.x;c.y+=f.y}while(d&&d!=b&&d!=d.parent&&(a=d.frameElement)&&(d=d.parent));return c},Tm=function(){var a="100%";typeof a=="number"&&(a=Math.round(a)+"px");return a},Vm=function(a){var b=Um;a:{var c=om(a);if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))){c=c.display||c.getPropertyValue("display")||"";break a}c= ""}c||(c=a.currentStyle?a.currentStyle.display:null);if((c||a.style&&a.style.display)!="none")return b(a);c=a.style;var 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},Um=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=Gc&&!b&&!c;return(b===void 0||d)&&a.getBoundingClientRect?(a=Rm(a),new Xl(a.right-a.left,a.bottom-a.top)):new Xl(b,c)};var Wm=ik(function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});B.addEventListener("test",null,b)}catch(c){}return a});function Xm(a){return a?a.passive&&Wm()?a:a.capture||!1:!1}function Ym(a,b,c,d){return typeof a.addEventListener==="function"?(a.addEventListener(b,c,Xm(d)),!0):!1}function Zm(a,b,c){typeof a.removeEventListener==="function"&&a.removeEventListener(b,c,Xm())};function $m(a,b,c,d,e){an(a,b,c===void 0?null:c,d===void 0?!1:d,e===void 0?!1:e)}function an(a,b,c,d,e){e=e===void 0?!1:e;a.google_image_requests||(a.google_image_requests=[]);var f=Ul("IMG",a.document);if(c||d){var g=function(h){c&&c(h);d&&qc(a.google_image_requests,f);Zm(f,"load",g);Zm(f,"error",g)};Ym(f,"load",g);Ym(f,"error",g)}e&&(f.attributionSrc="");f.src=b;a.google_image_requests.push(f)} function bn(a,b){var c=c===void 0?!1:c;var d="https://pagead2.googlesyndication.com/pagead/gen_204?id="+b;ek(a,function(e,f){if(e||e===0)d+="&"+f+"="+encodeURIComponent(String(e))});cn(d,c)} function cn(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)):$m(c,a,void 0,b,d)};function dn(a,b){try{var c=function(d){var e={};return[(e[d.Cl]=d.Lk,e)]};return JSON.stringify([a.filter(function(d){return d.Yh}).map(c),hg(b),a.filter(function(d){return!d.Yh}).map(c)])}catch(d){return en(d,b),""}}function en(a,b){try{bn({m:dk(a instanceof Error?a:Error(String(a))),b:I(b,1)||null,v:sh(b,2)||null},"rcs_internal")}catch(c){}} var fn=function(a,b,c){this.A=c;c=new ak;a=Dh(c,1,a);this.l=Vg(a,2,Ff(b),"")},gn=function(a){if(a.A){var b=a.l,c=[],d=c.concat,e=Set,f=[],g=f.concat;var h=th(a.l,3);c=d.call(c,w(new e(g.call(f,w(h),w(a.A())))));Ug(b,3,c,lf)}a=a.l;b=a.I;c=b[F]|0;return Wd(a,c)?a:tg(a,b,c)?sg(a,b):new a.constructor(rg(b,c,!0))};var hn=function(a){this.I=G(a)};r(hn,J);var jn=function(a){this.I=G(a)};r(jn,J);var kn=function(a,b){return Dh(a,1,b)},ln=function(a,b){return Dh(a,2,b)};var mn=function(a){this.I=G(a)};r(mn,J);var nn=[1,2];var on=function(a){this.I=G(a)};r(on,J);var pn=function(a,b){return ih(a,1,b)},qn=function(a,b){return kh(a,2,b)},rn=function(a,b){return Ug(a,4,b,lf)},sn=function(a,b){return kh(a,5,b)},tn=function(a,b){return Dh(a,6,b)};var un=function(a){this.I=G(a)};r(un,J);var vn=[1,2,3,4,6];var wn=function(a){this.I=G(a)};r(wn,J);var xn=function(a){this.I=G(a)};r(xn,J);var yn=[2,3,4];var zn=function(a){this.I=G(a)};r(zn,J);var An=[3,4,5],Bn=[6,7];var Cn=function(a){this.I=G(a)};r(Cn,J);var Dn=[4,5];var En=function(a){this.I=G(a)};r(En,J);En.prototype.getTagSessionCorrelator=function(){return qh(this,2)};var Gn=function(a){var b=new En;return jh(b,4,Fn,a)},Fn=[4,5,7,8,9];var Hn=function(a){this.I=G(a)};r(Hn,J);var In=Vj(Hn);var Jn=function(a){this.I=G(a)};r(Jn,J);var Kn=function(a){this.I=G(a)};r(Kn,J);var Ln=function(){fn.apply(this,arguments)};r(Ln,fn);var Mn=function(){Ln.apply(this,arguments)};r(Mn,Ln);Mn.prototype.wf=function(){this.J.apply(this,w(Ia.apply(0,arguments).map(function(a){return{Yh:!0,Cl:4,Lk:hg(a)}})))};function Nn(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 On=function(a,b,c,d,e,f,g,h,k){Mn.call(this,a,b,k);this.D=c;this.C=d;this.H=e;this.F=f;this.G=g;this.o=h;this.g=[];this.j=null;this.B=!1};r(On,Mn);var Pn=function(a){a.j!==null&&(clearTimeout(a.j),a.j=null);if(a.g.length){var b=dn(a.g,gn(a));a.C(a.D+"?e=1",b);a.g=[]}}; On.prototype.J=function(){var a=Ia.apply(0,arguments),b=this;try{this.G&&dn(this.g.concat(a),gn(this)).length>=65536&&Pn(this),this.o&&!this.B&&(this.B=!0,this.o.g(function(){Pn(b)})),this.g.push.apply(this.g,w(a)),this.g.length>=this.F&&Pn(this),this.g.length&&this.j===null&&(this.j=setTimeout(function(){Pn(b)},this.H))}catch(c){en(c,gn(this))}}; var Qn=function(a,b,c,d,e,f,g){On.call(this,a,b,"https://pagead2.googlesyndication.com/pagead/ping",Nn,c===void 0?1E3:c,d===void 0?100:d,(e===void 0?!1:e)&&!!globalThis.fetch,f,g)};r(Qn,On);function Rn(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};var Sn=function(){this.S={}},Tn=function(){var a=Rn(window);if(a){if(a){var b=a.pageViewId;a=a.clientId;typeof a==="string"&&(b+=a.replace(/\D/g,"").substring(0,6))}else b=null;return+b}b=gk(window);a=b.google_global_correlator;a||(b.google_global_correlator=a=1+Math.floor(Math.random()*8796093022208));return a},Vn=function(a,b){var c=Un[7]||"google_ps_7";a=a.S;var d=a[c];return d===void 0?(a[c]=b(),a[c]):d},Wn=function(a){var b=Tn();return Vn(a,function(){return b})},Yn=function(){if(Xn)var a=Xn; else{a=((a=a===void 0?Rn():a)?fk(a.master)?a.master:null:null)||window;var b=a.google_persistent_state_async;a=b!=null&&typeof b=="object"&&b.S!=null&&typeof b.S=="object"?Xn=b:a.google_persistent_state_async=Xn=new Sn}return Wn(a)},Xn=null,Zn={},Un=(Zn[8]="google_prev_ad_formats_by_region",Zn[9]="google_prev_ad_slotnames_by_region",Zn);function $n(a){if(a!=null)return ao(a)}function bo(a){return a==null?null:ao(a)}function ao(a){return re(a)?Number(a):String(a)};var co=sa(["https://pagead2.googlesyndication.com/pagead/js/err_rep.js"]),eo=function(){var a=a===void 0?"jserror":a;var b=b===void 0?.01:b;var c=c===void 0?Ql(co):c;this.j=a;this.l=b;this.o=c;this.g=!1};eo.prototype.Xg=function(a){this.g=a}; eo.prototype.Mb=function(a,b,c,d){c=c===void 0?this.l:c;d=d===void 0?this.j:d;if(Math.random()>c)return this.g;ck(b)||(b=new bk(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=Ul("SCRIPT",b),Mk(a,this.o),(b=b.getElementsByTagName("script")[0])&&b.parentNode&&b.parentNode.insertBefore(a,b),B.error_rep_loaded=!0);return this.g};eo.prototype.Pc=function(a,b){try{return b()}catch(c){if(!this.Mb(a,c,this.l,this.j))throw c;}}; eo.prototype.Qg=function(a,b,c){var d=this;return function(){var e=Ia.apply(0,arguments);return d.Pc(a,function(){return b.apply(c,e)})}};function fo(){var a=go;if(a.prerendering)return 3;var b;return(b={visible:1,hidden:2,prerender:3,preview:4,unloaded:5,"":0}[a.visibilityState||a.webkitVisibilityState||a.mozVisibilityState||""])!=null?b:0}function ho(a){var b;a.visibilityState?b="visibilitychange":a.mozVisibilityState?b="mozvisibilitychange":a.webkitVisibilityState&&(b="webkitvisibilitychange");return b};var io=null,jo=function(){var a=a===void 0?window:a;if(io===null){io="";try{var b="";try{b=a.top.location.hash}catch(d){b=a.location.hash}if(b){var c=b.match(/\bdeid=([\d,]+)/);io=c?c[1]:""}}catch(d){}}return io};function ko(){var a=a===void 0?B:a;return(a=a.performance)&&a.now&&a.timing?Math.floor(a.now()+a.timing.navigationStart):ab()}function lo(){var a=a===void 0?B:a;return(a=a.performance)&&a.now?a.now():null};var mo=function(a,b,c,d){this.label=a;this.type=b;this.value=c;this.duration=d===void 0?0:d;this.taskId=this.slotId=void 0;this.uniqueId=Math.random()};var no=B.performance,oo=!!(no&&no.mark&&no.measure&&no.clearMarks),po=ik(function(){var a;if(a=oo)a=jo(),a=!!a.indexOf&&a.indexOf("1337")>=0;return a}),qo=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=po()||(c!=null?c:Math.random()2048||this.events.push(a)};var ro=function(a){a&&no&&po()&&(no.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),no.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))}; qo.prototype.start=function(a,b){if(!this.l)return null;a=new mo(a,b,lo()||ko());b="goog_"+a.label+"_"+a.uniqueId+"_start";no&&po()&&no.mark(b);return a};qo.prototype.end=function(a){if(this.l&&typeof a.value==="number"){a.duration=(lo()||ko())-a.value;var b="goog_"+a.label+"_"+a.uniqueId+"_end";no&&po()&&no.mark(b);this.G(a)}};function so(a){a=a._google_rum_ns_=a._google_rum_ns_||{};return a.pq=a.pq||[]};function to(a,b,c){ek(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 yo=function(a,b,c,d,e,f,g,h){f=f===void 0?Infinity:f;g=g===void 0?!1:g;qo.call(this,a,h);var k=this;this.da=b;this.domain=c;this.path=d;this.ha=e;this.C=0;this.F={};this.J={};this.R=[];this.report={};this.j=0;this.H=[];this.M=f;a=this.g.navigator;this.ga=!(this.domain!=="csi.gstatic.com"||!a||!a.sendBeacon);this.g.performance&&this.g.performance.now||uo(this,"dat",1);a&&a.deviceMemory&&uo(this,"dmc",a.deviceMemory);this.g===this.g.top&&uo(this,"top",1);this.Y=!g;this.N=function(){k.g.setTimeout(function(){k.o()}, 1100)};this.W=function(){for(var n=u(k.R),p=n.next();!p.done;p=n.next()){p=p.value;try{p()}catch(v){}}n=k.g;var q=q===void 0?{}:q;typeof window.CustomEvent==="function"?p=new CustomEvent("rum_blp",q):(p=document.createEvent("CustomEvent"),p.initCustomEvent("rum_blp",!!q.bubbles,!!q.cancelable,q.detail));n.dispatchEvent(p);k.o()};this.oa=kk(function(){k.o()});this.za=function(){var n=k.g.document;(n.hidden!=null?n.hidden:n.mozHidden!=null?n.mozHidden:n.webkitHidden!=null&&n.webkitHidden)&&k.oa()}; this.D=this.g.setTimeout(function(){k.o()},5E3);this.A=b.length+c.length+d.length+e.length+3;ac(this.events,function(n){vo(k,n)});b=so(this.g);var l=function(){var n=Ia.apply(0,arguments)[0],p=n[0];n=n[1];var q=p.length+n.length+2;k.A+k.j+q>8E3&&k.o();k.H.push([p,n]);k.j+=q;wo(k);return 0};ac(b,function(n){return l(n)});b.length=0;b.push=l;uo(this,"puid",(this.C+1).toString(36)+"~"+ab().toString(36));xo(this)};r(yo,qo); var xo=function(a){a.g.document.readyState==="complete"?a.g.setTimeout(function(){a.o()},0):Ym(a.g,"load",a.N);var b=ho(a.g.document);typeof b!=="undefined"&&Ym(a.g,b,a.za);Ym(a.g,"pagehide",a.W)},uo=function(a,b,c){c=String(c);a.A=a.F[b]!=null?a.A+(c.length-a.F[b].length):a.A+(b.length+c.length+2);a.F[b]=c},Bo=function(a,b,c,d,e){e=e===void 0?"":e;var f=zo(a,b,c,d,e);a.A+a.j+f>8E3&&(a.o(),f=b.length+c.length+2);Ao(a,b,c,d,e);a.j+=f;wo(a)},zo=function(a,b,c,d,e){return a.report[b]==null?b.length+ c.length+2:d?c.length+(e===void 0?"":e).length:c.length-a.report[b].length},Ao=function(a,b,c,d,e){a.report[b]=d&&a.report[b]!=null?a.report[b]+(""+(e===void 0?"":e)+c):c},wo=function(a){a.A+a.j>=6E3&&a.o()};yo.prototype.o=function(){if(this.l&&this.Y){try{this.j&&(this.sendBeacon(this.report),this.C===this.M&&this.B())}catch(a){(new eo).Mb(358,a)}this.report={};this.j=0;this.events.length=0;this.g.clearTimeout(this.D);this.D=0}}; var Co=function(a,b){var c=a.da+"//"+a.domain+a.path+a.ha,d={};c=to(c,a.F,d);c=to(c,b,d);b=a.g;b.google_timing_params&&(c=to(c,b.google_timing_params,d),b.google_timing_params=void 0);ac(a.H,function(e){var f=u(e);e=f.next().value;f=f.next().value;var g={};c=to(c,(g[e]=f,g))});a.H.length=0;return c}; yo.prototype.sendBeacon=function(a){this.C++;a=Co(this,a);var b=!1;try{b=!!(this.ga&&this.g.navigator&&this.g.navigator.sendBeacon(a,null))}catch(c){this.ga=!1}b||$m(this.g,a);uo(this,"puid",(this.C+1).toString(36)+"~"+ab().toString(36))}; var vo=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):"");Bo(a,c,b,!0,"~")};yo.prototype.G=function(a){this.l&&this.C8E3||d)&&a.o();d=u(Object.keys(b));for(e=d.next();!e.done;e=d.next())e=e.value,Ao(a,e,b[e],!1);a.j+=c;wo(a)},Eo=function(a, b){a=a.g;a.l&&a.G(new mo(b,4,ko()-0,0))}; M.prototype.recordClick=function(a,b,c,d){for(var e=!1,f="notag";d!=null&&d!==document.documentElement;){var g=void 0,h=void 0;if(((g=d)==null?0:g.getAttribute("data-ck-navigates"))||((h=d)==null?0:h.getAttribute("data-ck-tag"))){g=f=void 0;e=(g=(f=d)==null?void 0:f.getAttribute("data-ck-navigates"))!=null?g:!1;h=g=void 0;f=(h=(g=d)==null?void 0:g.getAttribute("data-ck-tag"))!=null?h:"notag";break}g=void 0;d=(g=d.parentElement)!=null?g:void 0}d=this.g;d.l&&d.G(new mo(a+"_"+b+"x"+c+"|"+e+"|"+f,4,ko(), 0))};M.getInstance=function(){return L(M)};var Fo=function(a){var b=M.getInstance();b.j.has(a)?b.j.set(a,b.j.get(a)+1):b.j.set(a,1)};function Go(a){return/^\s*$/.test(a)?!1:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,""))}var Ho=function(a){try{return B.JSON.parse(a)}catch(b){}a=String(a);if(Go(a))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);};var Io=function(){this.l=null;this.g="missing-id";this.j=!1},Ko=function(a){var b=null;try{b=document.getElementsByClassName("lima-exp-data")}catch(c){return Jo("missing-element",a.g),null}if(b.length>1)return Jo("multiple-elements",a.g),null;b=b[0];return b?b.innerHTML:(Jo("missing-element",a.g),null)},Mo=function(){var a=Lo,b=Ko(a);if(b!==null)if(Go(b)){var c=JSON.parse(b);b=c.experimentIds;var d=c.binaryIdentifier;c=c.adEventId;var e=typeof d==="string";if(typeof c=="string"){var f=M.getInstance(); c!=null&&uo(f.g,"qqid",c)}e&&(a.g=d);typeof b!=="string"?Jo("missing-flags",a.g):(e||Jo("missing-binary-id",a.g),a.l=b)}else Jo("invalid-json",a.g)};Io.prototype.reset=function(){this.l=null;this.g="missing-id"};function No(a,b){var c=gh(a,zn,2,Dg());if(!c.length)return Oo(a,b);a=I(a,1);if(a===1){var d=No(c[0],b);return d.success?{success:!0,value:!d.value}:d}c=dc(c,function(h){return No(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, Wa:3}}} function Oo(a,b){var c=$g(a,An);a:{switch(c){case 3:var d=uh(a,3,An);break a;case 4:d=uh(a,4,An);break a;case 5:d=uh(a,5,An);break a}d=void 0}if(!d)return{success:!1,Wa:2};b=(b=b[c])&&b[d];if(!b)return{success:!1,nd:d,Zd:c,Wa:1};try{var e=b.apply;var f=Eg(a,8,Gf,Dg());var g=e.call(b,null,w(f))}catch(h){return{success:!1,nd:d,Zd:c,Wa:2}}e=I(a,1);if(e===4)return{success:!0,value:!!g};if(e===5)return{success:!0,value:g!=null};if(e===12)a=sh(a,ah(a,Bn,7));else a:{switch(c){case 4:a=rh(a,ah(a,Bn,6));break a; case 5:a=sh(a,ah(a,Bn,7));break a}a=void 0}if(a==null)return{success:!1,nd:d,Zd:c,Wa:3};if(e===6)return{success:!0,value:g===a};if(e===9)return{success:!0,value:g!=null&&Gb(String(g),a)===0};if(g==null)return{success:!1,nd:d,Zd:c,Wa:4};switch(e){case 7:c=ga;break;case 12:c=fe(a)&&fe(g)&&(new RegExp(a)).test(g);break;case 10:c=g!=null&&Gb(String(g),a)===-1;break;case 11:c=g!=null&&Gb(String(g),a)===1;break;default:return{success:!1,Wa:3}}return{success:!0,value:c}} function Po(a,b){return a?b?No(a,b):{success:!1,Wa:1}:{success:!0,value:!0}};var dh=function(a){this.I=G(a)};r(dh,J);var Qo=function(a){return Eg(a,4,Gf,Dg())};var Ro=function(a){this.I=G(a)};r(Ro,J);Ro.prototype.getValue=function(){return H(this,dh,2)};var So=function(a){this.I=G(a)};r(So,J);var To=function(a){var b=dh;vg(a);a=a.I;var c=a[F]|0,d=zg(a,4),e=void 0===ae;b=Hf(d,b,!e,c);!e||b?(b=Wf(b),d!==b&&(c=Bg(a,c,4,b),wg(a,c))):b=void 0;return b},Uo=Vj(So),Vo=[1,2,3,6,7,8];var Wo=function(a,b,c){var d=d===void 0?new Qn(6,"unknown",b):d;this.A=a;this.o=c;this.j=d;this.g=[];this.l=a>0&&yl()<1/a},Yo=function(a,b,c,d,e,f){if(a.l){var g=ln(kn(new jn,b),c);b=tn(qn(pn(sn(rn(new on,d),e),g),a.g.slice()),f);b=Gn(b);a.j.wf(Xo(a,b));if(f===1||f===3||f===4&&!a.g.some(function(h){return I(h,1)===I(g,1)&&I(h,2)===c}))a.g.push(g),a.g.length>100&&a.g.shift()}},Zo=function(a,b,c,d){if(a.l){var e=new hn;b=Cg(e,1,b==null?b:lf(b));c=Cg(b,2,c==null?c:lf(c));d=Ch(c,3,d);c=new En;d=jh(c, 8,Fn,d);a.j.wf(Xo(a,d))}},$o=function(a,b,c,d,e){if(a.l){var f=new Cn;b=ih(f,1,b);c=Ch(b,2,c);d=Cg(c,3,d==null?d:lf(d));if(e.Zd===void 0)Eh(d,4,Dn,e.Wa);else switch(e.Zd){case 3:c=new xn;c=Eh(c,2,yn,e.nd);e=Ch(c,1,e.Wa);jh(d,5,Dn,e);break;case 4:c=new xn;c=Eh(c,3,yn,e.nd);e=Ch(c,1,e.Wa);jh(d,5,Dn,e);break;case 5:c=new xn,c=Eh(c,4,yn,e.nd),e=Ch(c,1,e.Wa),jh(d,5,Dn,e)}e=new En;e=jh(e,9,Fn,d);a.j.wf(Xo(a,e))}},Xo=function(a,b){var c=Date.now();c=Number.isFinite(c)?Math.round(c):0;b=zh(b,1,c);c=Tl(); b=zh(b,2,c);return zh(b,6,a.A)};var ap=function(){var a={};this.ib=(a[3]={},a[4]={},a[5]={},a)};var bp=/^true$/.test("false");function cp(a,b){switch(b){case 1:return uh(a,1,Vo);case 2:return uh(a,2,Vo);case 3:return uh(a,3,Vo);case 6:return uh(a,6,Vo);case 8:return uh(a,8,Vo);default:return null}}function dp(a,b){if(!a)return null;switch(b){case 1:return nh(a,1);case 7:return sh(a,3);case 2:return rh(a,2);case 3:return sh(a,3);case 6:return Qo(a);case 8:return Qo(a);default:return null}} var ep=ik(function(){if(!bp)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 fp(a,b,c,d){var e=d=d===void 0?0:d,f,g;L(gp).l[e]=(g=(f=L(gp).l[e])==null?void 0:f.add(b))!=null?g:(new Set).add(b);e=ep();if(e[b]!=null)return e[b];b=hp(d)[b];if(!b)return c;b=Uo(JSON.stringify(b));b=ip(b);a=dp(b,a);return a!=null?a:c} function ip(a){var b=L(ap).ib;if(b&&$g(a,Vo)!==8){var c=nc(gh(a,Ro,5,Dg()),function(f){f=Po(H(f,zn,1),b);return f.success&&f.value});if(c){var d;return(d=c.getValue())!=null?d:null}}var e;return(e=H(a,dh,4))!=null?e:null}var gp=function(){this.j={};this.o=[];this.l={};this.g=new Map};function jp(a,b,c){return!!fp(1,a,b===void 0?!1:b,c)}function kp(a,b,c){b=b===void 0?0:b;a=Number(fp(2,a,b,c));return isNaN(a)?b:a}function lp(a,b,c){b=b===void 0?"":b;a=fp(3,a,b,c);return typeof a==="string"?a:b} function mp(a,b,c){b=b===void 0?[]:b;a=fp(6,a,b,c);return Array.isArray(a)?a:b}function np(a,b,c){b=b===void 0?[]:b;a=fp(8,a,b,c);return Array.isArray(a)?a:b}function hp(a){return L(gp).j[a]||(L(gp).j[a]={})}function op(a,b){var c=hp(b);ek(a,function(d,e){if(c[e]){d=Uo(JSON.stringify(d));var f=ah(d,Vo,8);if(kf(Ag(d,f))!=null){var g=Uo(JSON.stringify(c[e]));f=To(d);g=Qo(eh(g));lh(f,4,zf,g,Gf,void 0,void 0,!0)}c[e]=hg(d)}else c[e]=d})} function Jp(a,b,c,d,e){e=e===void 0?!1:e;var f=[],g=[];b=u(b);for(var h=b.next();!h.done;h=b.next()){h=h.value;for(var k=hp(h),l=u(a),n=l.next();!n.done;n=l.next()){n=n.value;var p=$g(n,Vo),q=cp(n,p);if(q){var v=void 0,t=void 0,x=void 0;var A=(v=(x=L(gp).g.get(h))==null?void 0:(t=x.get(q))==null?void 0:t.slice(0))!=null?v:[];a:{v=q;t=p;x=new un;switch(t){case 1:Eh(x,1,vn,v);break;case 2:Eh(x,2,vn,v);break;case 3:Eh(x,3,vn,v);break;case 6:Eh(x,4,vn,v);break;case 8:Eh(x,6,vn,v);break;default:A=void 0; break a}Ug(x,5,A,lf);A=x}if(v=A)t=void 0,v=!((t=L(gp).l[h])==null||!t.has(q));v&&f.push(A);if(p===8&&k[q])A=Uo(JSON.stringify(k[q])),p=To(n),A=Qo(eh(A)),lh(p,4,zf,A,Gf,void 0,void 0,!0);else{if(p=A)v=void 0,p=!((v=L(gp).g.get(h))==null||!v.has(q));p&&g.push(A)}e||(p=q,A=h,v=d,t=L(gp),t.g.has(A)||t.g.set(A,new Map),t.g.get(A).has(p)||t.g.get(A).set(p,[]),v&&t.g.get(A).get(p).push(v));k[q]=hg(n)}}}if(f.length||g.length)a=d!=null?d:void 0,c.l&&c.o&&(d=new wn,f=kh(d,2,f),g=kh(f,3,g),a&&wh(g,1,a),f=new En, g=jh(f,7,Fn,g),c.j.wf(Xo(c,g)))}function Kp(a,b){b=hp(b);a=u(a);for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=Uo(JSON.stringify(c)),e=$g(d,Vo);(d=cp(d,e))&&(b[d]||(b[d]=c))}}function Lp(){return Object.keys(L(gp).j).map(function(a){return Number(a)})}function Mp(a){L(gp).o.includes(a)||op(hp(4),a)};function Np(a,b,c){c.hasOwnProperty(a)||Object.defineProperty(c,String(a),{value:b})}function Op(a,b,c){return b[a]||c}function Pp(a){Np(5,jp,a);Np(6,kp,a);Np(7,lp,a);Np(8,mp,a);Np(17,np,a);Np(13,Kp,a);Np(15,Mp,a)} function Qp(a){Np(4,function(b){L(ap).ib=b},a);Np(9,function(b,c){var d=L(ap);d.ib[3][b]==null&&(d.ib[3][b]=c)},a);Np(10,function(b,c){var d=L(ap);d.ib[4][b]==null&&(d.ib[4][b]=c)},a);Np(11,function(b,c){var d=L(ap);d.ib[5][b]==null&&(d.ib[5][b]=c)},a);Np(14,function(b){for(var c=L(ap),d=u([3,4,5]),e=d.next();!e.done;e=d.next())e=e.value,Object.assign(c.ib[e],b[e])},a)}function Rp(a){a.hasOwnProperty("init-done")||Object.defineProperty(a,"init-done",{value:!0})};var Sp=function(){};Sp.prototype.j=function(){};Sp.prototype.l=function(){};Sp.prototype.g=function(){return[]};var Tp=function(a,b,c){a.l=function(d,e){Op(2,b,function(){return[]})(d,c,e)};a.g=function(d){return Op(3,b,function(){return[]})(d!=null?d:c)};a.j=function(d){Op(16,b,function(){})(d,c)}};var Up=function(a,b,c){this.id=a;this.K=b;this.j=c;this.g=!1};Up.prototype.select=function(){this.g=!0}; var Vp=function(a){return a.g||a.j},Wp=function(){this.g=[]},Xp=function(){this.g=new Map;this.j=!1;this.o=new Wp;this.A=new Up(0,0,!1);this.l=[this.o]},O=function(a){var b=Yp;if(b.j||b.g.has(a.id)||a.K==null&&a.control==null||a.Ln==0)return b.A;var c=b.o;if(a.control!=null)for(var d=u(b.l),e=d.next();!e.done;e=d.next()){if(e=e.value,e.g.includes(a.control)){c=e;break}}else a.Sa!=null&&(c=a.Sa);d=0;a.control!=null?d=a.control.K:a.K!=null&&(d=a.K);a=new Up(a.id,d,!!a.Nn);c.g.push(a);b.l.includes(c)|| b.l.push(c);b.g.set(a.id,a);return a},Zp=function(){var a=Yp;a=[].concat(w(a.g.keys())).filter(function(c){return Vp(this.g.get(c))},a);var b=L(Sp).g();return[].concat(w(a),w(b))},$p=function(a){var b=Yp;b.j||(a.g(b.l,b.g),b.j=!0)};Xp.prototype.reset=function(){for(var a=u(this.g),b=a.next();!b.done;b=a.next())b=u(b.value),b.next(),b.next().value.g=!1;this.j=!1};var Yp=new Xp,bq=function(){return aq.g.filter(function(a){return Vp(a)}).map(function(a){return a.id})};var cq=function(){};cq.prototype.g=function(a){a=u(a);for(var b=a.next();!b.done;b=a.next()){var c=0,d=Math.floor(Math.random()*1E3);b=u(b.value.g);for(var e=b.next();!e.done;e=b.next())if(e=e.value,c+=e.K,d=0){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?Pk(e):"")}}} function cr(a,b,c,d){for(var e=c.length;(b=a.indexOf(c,b))>=0&&bc)e=c;d+=b.length+1;return Pk(a.slice(d,e!==-1?e:0))}var fr=/[?&]($|#)/;function gr(a){var b=a.length;if(b===0)return 0;for(var c=305419896,d=0;d>2)+a.charCodeAt(d)&4294967295;return c>0?c:4294967296+c};var hr=[12,13,20],ir=function(a,b,c,d){d=d===void 0?{}:d;var e=d.lg===void 0?!1:d.lg;d=d.rl===void 0?[]:d.rl;this.Pd=a;this.kc=c;this.o={};this.lg=e;a={};this.g=(a[b]=[],a[4]=[],a);this.j={};this.l={};if(b=jo())for(b=u(b.split(",")||[]),a=b.next();!a.done;a=b.next())(a=Number(a.value))&&(this.j[a]=!0);d=u(d);for(b=d.next();!b.done;b=d.next())this.j[b.value]=!0},lr=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 Yo(a.kc,b,c,e,[],4),e;f=hr.includes(b);for(var g=[],h= [],k=u([0,1,2]),l=k.next();!l.done;l=k.next()){l=l.value;for(var n=u(a.Pd[l].entries()),p=n.next();!p.done;p=n.next()){var q=u(p.value);p=q.next().value;q=q.next().value;var v=p,t=q;p=new mn;q=t.filter(function(da){return da.Be===b&&a.j[da.rb.getId()]&&jr(a,da)});if(q.length)for(p=u(q),q=p.next();!q.done;q=p.next())h.push(q.value.rb);else if(!a.lg){q=void 0;l===2?(q=d[1],Eh(p,2,nn,v)):q=d[0];var x=void 0,A=void 0;q=(A=(x=q)==null?void 0:x(String(v)))!=null?A:l===2&&I(t[0].Bf,11)===1?void 0:d[0](String(v)); if(q!==void 0){v=u(t);for(t=v.next();!t.done;t=v.next())if(t=t.value,t.Be===b){x=q-t.xi;var P=t;A=P.bi;var X=P.ci;P=P.Mk;x<0||x>=A*X||x%X!==P||!jr(a,t)||(x=I(t.Bf,13),x!==0&&x!==void 0&&(A=a.l[String(x)],A!==void 0&&A!==t.rb.getId()?Zo(a.kc,a.l[String(x)],t.rb.getId(),x):a.l[String(x)]=t.rb.getId()),h.push(t.rb))}$g(p,nn)!==0&&(wh(p,3,q),g.push(p))}}}}d=u(h);for(h=d.next();!h.done;h=d.next())h=h.value,k=h.getId(),e.push(k),kr(a,k,f?4:c),Jp(gh(h,So,2,Dg()),f?Lp():[c],a.kc,k);Yo(a.kc,b,c,e,g,1);return e}, kr=function(a,b,c){a.g[c]||(a.g[c]=[]);a=a.g[c];a.includes(b)||a.push(b)},jr=function(a,b){var c=L(ap).ib,d=Po(H(b.Bf,zn,3),c);if(!d.success)return $o(a.kc,H(b.Bf,zn,3),b.Be,b.rb.getId(),d),!1;if(!d.value)return!1;c=Po(H(b.rb,zn,3),c);return c.success?c.value?!0:!1:($o(a.kc,H(b.rb,zn,3),b.Be,b.rb.getId(),c),!1)},mr=function(a,b){b=b.map(function(c){return new Iq(c)}).filter(function(c){return!hr.includes(I(c,1))});a.Pd=Yq(a.Pd,b)},nr=function(a,b){Np(1,function(c){a.j[c]=!0},b);Np(2,function(c,d, e){return lr(a,c,d,e)},b);Np(3,function(c){return(a.g[c]||[]).concat(a.g[4])},b);Np(12,function(c){return void mr(a,c)},b);Np(16,function(c,d){return void kr(a,c,d)},b)};var or=function(){var a={};this.j=function(b,c){return a[b]!=null?a[b]:c};this.g=function(b,c){return a[b]!=null?a[b]:c};this.A=function(b,c){return a[b]!=null?a[b]:c};this.B=function(b,c){return a[b]!=null?a[b]:c};this.o=function(b,c){return a[b]!=null?c.concat(a[b]):c};this.l=function(){}};function pr(a){return L(or).j(a.g,a.defaultValue)};var qr=function(){this.g=function(){}},rr=function(a,b){a.g=Op(14,b,function(){})};function sr(a){L(qr).g(a)};var tr,ur,vr,wr,xr,yr;function zr(a,b){var c=b=b===void 0?Wq():b;Tp(L(Sp),c,a);Ar(b,a);a=b;rr(L(qr),a);L(or).l()}function Ar(a,b){var c=L(or);c.j=function(d,e){return Op(5,a,function(){return!1})(d,e,b)};c.g=function(d,e){return Op(6,a,function(){return 0})(d,e,b)};c.A=function(d,e){return Op(7,a,function(){return""})(d,e,b)};c.B=function(d,e){return Op(8,a,function(){return[]})(d,e,b)};c.o=function(d,e){return Op(17,a,function(){return[]})(d,e,b)};c.l=function(){Op(15,a,function(){})(b)}};Yp.reset();$p(new cq);var Br=Oq(),Cr,Dr; (function(a){var b=a.ek;var c=a.ib;var d=a.config;var e=a.Lj===void 0?Wq():a.Lj;var f=a.Ah===void 0?0:a.Ah;var g=a.kc===void 0?new Wo((wr=$n((tr=H(b,Jq,5))==null?void 0:qh(tr,2)))!=null?wr:0,(xr=$n((ur=H(b,Jq,5))==null?void 0:qh(ur,4)))!=null?xr:0,(yr=(vr=H(b,Jq,5))==null?void 0:nh(vr,3))!=null?yr:!1):a.kc;a=a.Pd===void 0?Xq(gh(b,Iq,2,Dg($d))):a.Pd;e.hasOwnProperty("init-done")?(Op(12,e,function(){})(gh(b,Iq,2,Dg()).map(function(h){return hg(h)})),Op(13,e,function(){})(gh(b,So,1,Dg()).map(function(h){return hg(h)}), f),c&&Op(14,e,function(){})(c),zr(f,e)):(nr(new ir(a,f,g,d),e),Pp(e),Qp(e),Rp(e),zr(f,e),Jp(gh(b,So,1,Dg($d)),[f],g,void 0,!0),bp=bp||!(!d||!d.Pn),sr(Vq),c&&sr(c))})({ek:(Dr=(Cr=H(Br,Kq,1))==null?void 0:Wf(Cr))!=null?Dr:new Kq,Ah:7});var Er=Tl(),Fr={},Gr=(Fr[0]=function(a){a=a===void 0?yl():a;return function(b){return gr(b+" + "+a)%1E3}}(Er),Fr);L(Sp).l(16,Gr);for(var Hr=u(th(Br,2)),Ir=Hr.next();!Ir.done;Ir=Hr.next()){var Jr=Ir.value;L(Sp).j(Jr)}var Kr=oh(Br,5);Kr&&L(Sp).j(Kr);var Lr=function(a,b,c){this.id=a;a=xc(c);zc(a);this.g=a;this.event=b};Lr.prototype.equals=function(a){var b;if(b=this.event==a.event&&this.id==a.id)a:if(b=this.g,a=a.g,Qa(b)&&Qa(a)&&b.length==a.length){for(var c=b.length,d=0;db)throw Error("ID "+c+" is past MaxVendorId "+b+"!");}),a):Is(a,b)},Ks=function(a){for(var b=[],c=Es(a,12);c--;){var d=Es(a,6),e= Es(a,2),f=Hs(a),g=b,h=g.push,k=new Zr;d=Dh(k,1,d);e=Dh(d,2,e);f=Ug(e,3,f,lf);h.call(g,f)}return b},Hs=function(a){for(var b=Es(a,12),c=[];b--;){var d=!!Es(a,1)===!0,e=Es(a,16);if(d)for(d=Es(a,16);e<=d;e++)c.push(e);else c.push(e)}c.sort(function(f,g){return f-g});return c},Is=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)};Ds.prototype.skip=function(a){this.g+=a};var Ls=function(a){try{var b=Yc(a).map(function(d){return d.toString(2).padStart(8,"0")}).join(""),c=new Ds(b);return Es(c,3)!==1?null:Yr(new Xr,Js(c))}catch(d){return null}};var Ms=function(a){try{var b=Yc(a).map(function(f){return f.toString(2).padStart(8,"0")}).join(""),c=new Ds(b);if(Es(c,3)!==3)return null;var d=bs(as(new $r,Is(c,24,Bs)),Is(c,24,Bs)),e=Es(c,6);e!==0&&ds(cs(d,Is(c,e)),Is(c,e));return d}catch(f){return null}};var Ns=function(a){try{var b=Yc(a).map(function(d){return d.toString(2).padStart(8,"0")}).join(""),c=new Ds(b);return ys(xs(ws(vs(us(ts(rs(qs(ps(os(ns(ms(ls(ks(js(is(hs(gs(fs(new es,Es(c,6)),Fs(c)),Fs(c)),Es(c,12)),Es(c,12)),Es(c,6)),Gs(c)),Es(c,12)),Es(c,6)),!!Es(c,1)),!!Es(c,1)),Is(c,12,Cs)),Is(c,24,Bs)),Is(c,24,Bs)),!!Es(c,1)),Gs(c)),Js(c)),Js(c)),Ks(c))}catch(d){return null}};var Ps=function(a){if(!a)return null;var b=a.split(".");if(b.length>4)return null;a=Ns(b[0]);if(!a)return null;var c=new zs;a=ih(c,1,a);b.shift();b=u(b);for(c=b.next();!c.done;c=b.next())switch(c=c.value,Os(c)){case 1:c=Ls(c);if(!c)return null;ih(a,3,c);break;case 2:break;case 3:c=Ms(c);if(!c)return null;ih(a,2,c);break;default:return null}return a},Os=function(a){try{var b=Yc(a).map(function(c){return c.toString(2).padStart(8,"0")}).join("");return Es(new Ds(b),3)}catch(c){return-1}};var Qs=function(a,b){var c={};if(Array.isArray(b)&&b.length!==0){b=u(b);for(var d=b.next();!d.done;d=b.next())d=d.value,c[d]=a.indexOf(d)!==-1}else for(a=u(a),b=a.next();!b.done;b=a.next())c[b.value]=!0;delete c[0];return c};function Rs(){var a=Nb();return a?kc("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;Version/8.0 Safari/601.1 WPE;WebOS".split(";"),function(b){return Fb(a,b)})||Fb(a,"OMI/")&&!Fb(a,"XiaoMi/")?!0:Fb(a,"Presto")&&Fb(a,"Linux")&&!Fb(a,"X11")&&!Fb(a,"Android")&&!Fb(a,"Mobi"):!1} function Ss(){var a=Nb();return Fb(a,"AppleTV")||Fb(a,"Apple TV")||Fb(a,"CFNetwork")||Fb(a,"tvOS")}function Ts(a){a=a.userAgentData;return Array.isArray(a==null?void 0:a.brands)?a.brands.some(function(b){return b.brand.includes("kepler_webview")}):Fb(Nb(),"Kepler")}function Us(){var a;(a=Fb(Nb(),"CrKey")&&!(Fb(Nb(),"CrKey")&&Fb(Nb(),"SmartSpeaker"))||Fb(Nb(),"PlayStation")||Fb(Nb(),"Roku")||Rs()||Fb(Nb(),"Xbox")||Ss())||(a=Nb(),a=Fb(a,"sdk_google_atv_x86")||Fb(a,"Android TV"));return a};var Vs=function(a){this.j=this.G=this.o="";this.A=null;this.B=this.l="";this.F=!1;var b;a instanceof Vs?(this.F=a.F,Ws(this,a.o),this.G=a.G,Xs(this,a.j),Ys(this,a.A),this.l=a.l,Zs(this,a.g.clone()),this.B=a.B):a&&(b=String(a).match($q))?(this.F=!1,Ws(this,b[1]||"",!0),this.G=$s(b[2]||""),Xs(this,b[3]||"",!0),Ys(this,b[4]),this.l=$s(b[5]||"",!0),Zs(this,b[6]||"",!0),this.B=$s(b[7]||"")):(this.F=!1,this.g=new at(null,this.F))}; Vs.prototype.toString=function(){var a=[],b=this.o;b&&a.push(bt(b,ct,!0),":");var c=this.j;if(c||b=="file")a.push("//"),(b=this.G)&&a.push(bt(b,ct,!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(bt(c,c.charAt(0)=="/"?dt:et,!0));(c=this.g.toString())&&a.push("?",c);(c=this.B)&&a.push("#",bt(c,ft));return a.join("")}; Vs.prototype.resolve=function(a){var b=this.clone(),c=!!a.o;c?Ws(b,a.o):c=!!a.G;c?b.G=a.G:c=!!a.j;c?Xs(b,a.j):c=a.A!=null;var d=a.l;if(c)Ys(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(Ab(e,"./")||Ab(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?Zs(b,a.g.clone()):c=!!a.B;c&&(b.B=a.B);return b};Vs.prototype.clone=function(){return new Vs(this)}; var Ws=function(a,b,c){a.o=c?$s(b,!0):b;a.o&&(a.o=a.o.replace(/:$/,""))},Xs=function(a,b,c){a.j=c?$s(b,!0):b},Ys=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},Zs=function(a,b,c){b instanceof at?(a.g=b,gt(a.g,a.F)):(c||(b=bt(b,ht)),a.g=new at(b,a.F))},it=function(a,b,c){a.g.set(b,c)},jt=function(a,b){return(!a.j&&!b.j||a.j==b.j)&&(a.A==null&&b.A==null||a.A==b.A)},kt=function(a){return a instanceof Vs?a.clone():new Vs(a)},$s=function(a,b){return a? b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},bt=function(a,b,c){return typeof a==="string"?(a=encodeURI(a).replace(b,lt),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},lt=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},ct=/[#\/\?@]/g,et=/[#\?:]/g,dt=/[#\?]/g,ht=/[#\?@]/g,ft=/#/g,at=function(a,b){this.j=this.g=null;this.l=a||null;this.o=!!b},mt=function(a){a.g||(a.g=new Map,a.j=0,a.l&&br(a.l,function(b,c){a.add(Pk(b),c)}))}; at.prototype.add=function(a,b){mt(this);this.l=null;a=nt(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.j+=1;return this};at.prototype.remove=function(a){mt(this);a=nt(this,a);return this.g.has(a)?(this.l=null,this.j-=this.g.get(a).length,this.g.delete(a)):!1};at.prototype.clear=function(){this.g=this.l=null;this.j=0};at.prototype.isEmpty=function(){mt(this);return this.j==0};var ot=function(a,b){mt(a);b=nt(a,b);return a.g.has(b)};m=at.prototype; m.forEach=function(a,b){mt(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)};m.Ge=function(){mt(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(nt(this,e),xc(c)),this.j+=c.length))},a));a.o=b};var pt="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(" "),qt=["c.googlesyndication.com"]; function rt(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:tt(a,qt)?c=!1:b.includes("https")&&tt(a,pt)&&(c=!0);return c?(a=new Vs(a),N(M.getInstance(),"htp","1"),Ws(a,"https"),a.toString()):a}function ut(a){if(!a)return!1;try{return(typeof a==="string"?new Vs(a):a).o==="gcache"}catch(b){return!1}}function vt(a){var b;if(b=ut(a))b=!!(new Vs(a)).g.get("url");return b} function wt(a){try{var b=typeof a==="string"?new Vs(a):a;if(ut(b)){var c,d;return(d=(c=b.g.get("url"))!=null?c:b.g.get("tag.check_url"))!=null?d:null}}catch(e){}return null}function tt(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)} function xt(a){a=new Vs(a);var b=a.j;if(a.o!="http"&&a.o!="https")a=!1;else if(b.indexOf(".")==-1||b.match(/^[\.0-9]*$/))a=!1;else a:{try{Pk(a.toString())}catch(c){a=!1;break a}a=!0}return a};var yt={LOADED:"loaded",sh:"start",FIRST_QUARTILE:"firstQuartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdQuartile",COMPLETE:"complete",PAUSE:"pause",rh:"resume",mh:"bufferStart",kh:"bufferFinish",SKIPPED:"skipped",Ij:"volumeChange",jn:"playerStateChange",Xl:"adUserInteraction"};function zt(a,b){return a&&(a[b]||(a[b]={}))}function At(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(zt,c)[a[a.length-1]]=b};function Bt(a){for(var b=u(Ct.keys()),c=b.next();!c.done;c=b.next()){c=c.value;for(var d=u(Ct.get(c)),e=d.next();!e.done;e=d.next())if(e.value.test(a))return c}return 1} var Ct=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\/.*$/]]]);At("OmidSessionClient.verificationVendorIdForScriptUrl",Bt); At("OmidSessionClient.VerificationVendorId",{OTHER:1,MOAT:2,DOUBLEVERIFY:3,INTEGRAL_AD_SCIENCE:4,PIXELATE:5,NIELSEN:6,COMSCORE:7,MEETRICS:8,GOOGLE:9});var Dt=function(a,b,c){this.url=a;this.id=b===void 0?null:b;this.g=c===void 0?null:c};var Et=["image/jpeg","image/jpg","image/png","image/gif"];function Ft(a){a&&!a.nodeName!="VAST"?(a=a.getAttribute("version"))?(N(M.getInstance(),"vast_v",a),a=parseInt(a,10),a=a==null||isNaN(a)?null:a):(N(M.getInstance(),"vast_v","not_specified"),a=null):(N(M.getInstance(),"vast_v","error"),a=null);return a==null||a<2||a>4?!1:!0} function Gt(){var a=document.featurePolicy;return a!==void 0&&typeof a.allowedFeatures=="function"&&typeof a.allowedFeatures()=="object"&&a.allowedFeatures().includes("attribution-reporting")}function Ht(a){return(a==null?void 0:a.g)!=null&&Gt()?(a=a.g)?"attributionsrc="+encodeURIComponent(a):a===""?"attributionsrc":"":""};var It=function(a,b){var c=window.screen.availHeight||window.screen.height;return(window.screen.availWidth||window.screen.width)-a<=0&&c-b<=42};var Jt="://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(" "),Kt=/\bocr\b/;function Lt(a){if(D(rl(a))||Ec&&a.length>2048)return!1;try{if((new Vs(a)).B.match(Kt))return!0}catch(b){}return Jt.find(function(b){return a.match(b)!=null})!=null};function Mt(a){var b="af am ar_eg ar_sa ar_xb ar be bg bn ca cs da de_at de_cn de el en_au en_ca en_gb en_ie en_in en_sg en_xa en_xc en_za en es_419 es_ar es_bo es_cl es_co es_cr es_do es_ec es_gt es_hn es_mx es_ni es_pa es_pe es_pr es_py es_sv es_us es_uy es_ve es et eu fa fi fil fr_ca fr_ch fr gl gsw gu he hi hr hu id in is it iw ja kn ko ln lo lt lv ml mo mr ms nb ne nl no pl pt_br pt_pt pt ro ru sk sl sr_latn sr sv sw ta te th tl tr uk ur vi zh_cn zh_hk zh_tw zh zu".split(" ");if(!a)return null; a=a.toLowerCase().replace("-","_");if(b.includes(a))return a;a=(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):"";return b.includes(a)?a:null};var Nt=function(a){this.j=a;this.g=Date.now()};Nt.prototype.reset=function(){this.g=Date.now()};var Ot=function(a){a=a.g+a.j-Date.now();return a>0?a:0};var Pt=function(a,b){this.url=a;this.g=b===void 0?null:b};var Qt=function(a){switch(a){case 0:return"No Error";case 1:return"Access denied to content document";case 2:return"File not found";case 3:return"Firefox silently errored";case 4:return"Application custom error";case 5:return"An exception occurred";case 6:return"Http response at 400 or 500 level";case 7:return"Request was aborted";case 8:return"Request timed out";case 9:return"The resource is not available offline";default:return"Unrecognized error code"}};var Rt=function(a,b){var c=Error.call(this,a);this.message=c.message;"stack"in c&&(this.stack=c.stack);this.errorCode=a;this.Ak=b};r(Rt,Error);function St(a){if(typeof DOMParser!="undefined"){var b=new DOMParser;a=Jk(a===null?"null":a===void 0?"undefined":a);return b.parseFromString(Kk(a),"application/xml")}throw Error("Your browser does not support loading xml documents");};function Tt(a){a&&typeof a.dispose=="function"&&a.dispose()};var Q=function(){this.G=this.G;this.F=this.F};Q.prototype.G=!1;Q.prototype.Hb=function(){return this.G};Q.prototype.dispose=function(){this.G||(this.G=!0,this.O())};Q.prototype[Symbol.dispose]=function(){this.dispose()};var Vt=function(a,b){Ut(a,$a(Tt,b))},Ut=function(a,b){a.G?b():(a.F||(a.F=[]),a.F.push(b))};Q.prototype.O=function(){if(this.F)for(;this.F.length;)this.F.shift()()};var Wt=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=!1};Wt.prototype.preventDefault=function(){this.defaultPrevented=!0};var Xt=function(a,b){Wt.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.button=this.screenY=this.screenX=this.clientY=this.clientX=0;this.key="";this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.state=null;this.pointerId=0;this.pointerType="";this.If=null;a&&this.init(a,b)};cb(Xt,Wt); Xt.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.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.If=a;a.defaultPrevented&&Xt.yb.preventDefault.call(this)};Xt.prototype.preventDefault=function(){Xt.yb.preventDefault.call(this);var a=this.If;a.preventDefault?a.preventDefault():a.returnValue=!1};var Yt="closure_listenable_"+(Math.random()*1E6|0),Zt=function(a){return!(!a||!a[Yt])};var $t=0;function au(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=++$t;this.be=this.pe=!1}var bu=function(a){a.be=!0;a.listener=null;a.proxy=null;a.src=null;a.handler=null};function cu(a){this.src=a;this.g={};this.j=0}cu.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=du(a,b,d,e);g>-1?(b=a[g],c||(b.pe=!1)):(b=new au(b,this.src,f,!!d,e),b.pe=c,a.push(b));return b};cu.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.g))return!1;var e=this.g[a];b=du(e,b,c,d);return b>-1?(bu(e[b]),rc(e,b),e.length==0&&(delete this.g[a],this.j--),!0):!1}; var eu=function(a,b){var c=b.type;c in a.g&&qc(a.g[c],b)&&(bu(b),a.g[c].length==0&&(delete a.g[c],a.j--))};cu.prototype.Jd=function(a,b,c,d){a=this.g[a.toString()];var e=-1;a&&(e=du(a,b,c,d));return e>-1?a[e]:null};var du=function(a,b,c,d){for(var e=0;e>>0),ku=function(a){if(typeof a==="function")return a;a[tu]||(a[tu]=function(b){return a.handleEvent(b)});return a[tu]};function uu(a){Q.call(this);this.j=a;this.g={}}cb(uu,Q);var vu=[];uu.prototype.listen=function(a,b,c,d){Array.isArray(b)||(b&&(vu[0]=b.toString()),b=vu);for(var e=0;e=0;f--){var g=a.currentTarget=b[f];e=zu(g,d,!0,a)&&e}g=a.currentTarget=c;e=zu(g,d,!0,a)&&e;e=zu(g,d,!1,a)&&e;if(b)for(f=0;f0&&(a.C=setTimeout(a.da.bind(a),a.M)),a.A=!0,a.g.send(b),a.A=!1}catch(g){Du(a)}};Au.prototype.da=function(){typeof Ma!="undefined"&&this.g&&(this.o=8,this.dispatchEvent("timeout"),this.abort(8))}; var Du=function(a){a.j=!1;a.g&&(a.l=!0,a.g.abort(),a.l=!1);a.o=5;Gu(a);Hu(a)},Gu=function(a){a.D||(a.D=!0,a.dispatchEvent("complete"),a.dispatchEvent("error"))};Au.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"),Hu(this))};Au.prototype.O=function(){this.g&&(this.j&&(this.j=!1,this.l=!0,this.g.abort(),this.l=!1),Hu(this,!0));Au.yb.O.call(this)}; Au.prototype.R=function(){this.Hb()||(this.H||this.A||this.l?Iu(this):this.Y())};Au.prototype.Y=function(){Iu(this)}; var Iu=function(a){if(a.j&&typeof Ma!="undefined")if(a.A&&(a.g?a.g.readyState:0)==4)setTimeout(a.R.bind(a),0);else if(a.dispatchEvent("readystatechange"),(a.g?a.g.readyState:0)==4){a.j=!1;try{var b=Ju(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.J).match($q)[1]||null;!f&&B.self&&B.self.location&&(f=B.self.location.protocol.slice(0,-1));e=!Bu.test(f?f.toLowerCase():"")}d=e}d?(a.dispatchEvent("complete"), a.dispatchEvent("success")):(a.o=6,Gu(a))}finally{Hu(a)}}},Hu=function(a,b){if(a.g){Eu(a);var c=a.g;a.g=null;b||a.dispatchEvent("ready");try{c.onreadystatechange=null}catch(d){}}},Eu=function(a){a.C&&(clearTimeout(a.C),a.C=null)};Au.prototype.isActive=function(){return!!this.g};var Ju=function(a){try{return(a.g?a.g.readyState:0)>2?a.g.status:-1}catch(b){return-1}},Ku=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=Ho(a)}return b}};var Lu=function(){};Lu.prototype.get=function(a){return Mu({url:a.url,timeout:a.timeout,withCredentials:a.withCredentials===void 0?!0:a.withCredentials,method:"GET",headers:a.headers===void 0?{}:a.headers})}; var Nu=function(a){var b=a.url;var c=a.timeout;var d=a.withCredentials===void 0?!0:a.withCredentials;var e=a.headers===void 0?{}:a.headers;a=a.content===void 0?void 0:a.content;b=new Vs(b);a||(a=b.g.toString(),Zs(b,""));return Mu({url:b.toString(),timeout:c,withCredentials:d,method:"POST",content:a,headers:e})},Mu=function(a){var b=a.url;var c=a.timeout;var d=a.withCredentials;var e=a.method;var f=a.content===void 0?void 0:a.content;var g=a.headers===void 0?{}:a.headers;return Ou({url:b,timeout:c, withCredentials:d,method:e,content:f,headers:g}).then(function(h){return Promise.resolve(h)},function(h){return h instanceof Error&&h.message==6&&d?Ou({url:b,timeout:c,withCredentials:!d,method:e,content:f,headers:g}):Promise.reject(h)})},Ou=function(a){var b=a.url;var c=a.timeout;var d=a.withCredentials;var e=a.method;var f=a.content===void 0?void 0:a.content;a=a.headers===void 0?{}:a.headers;var g=new Au;g.N=d;g.M=Math.max(0,Ot(c));for(var h in a)g.headers.set(h,a[h]);var k=new uu;return new Promise(function(l, n){k.Qd(g,"success",function(){a:{if(Ss())try{Ku(g);var p="application/json";break a}catch(t){p="application/xml";break a}g.g&&(g.g?g.g.readyState:0)==4?(p=g.g.getResponseHeader("Content-Type"),p=p===null?void 0:p):p=void 0;p=p||""}if(p.indexOf("application/json")!=-1)try{l(Ku(g)||{})}catch(t){n(new Rt(5,Ju(g)))}else{try{var q=g.g?g.g.responseXML:null}catch(t){q=null}if(q==null){try{var v=g.g?g.g.responseText:""}catch(t){v=""}q=St(v)}l(q)}k.dispose();g.dispose()});k.Qd(g,["error","timeout"],function(){n(new Rt(g.o, Ju(g)));k.dispose();g.dispose()});Fu(g,rt(b),e,f)})};C("google.javascript.ads.imalib.common.UrlLoader",Lu);var Pu=function(){var a=this;this.promise=new Promise(function(b,c){a.resolve=b;a.reject=c})};var Qu=RegExp("^(https?:)?\\/\\/ad\\.doubleclick\\.net/ddm/track(imp|clk)"),Ru=function(a){this.l=0;this.g=new Map;this.j=(a===void 0?!0:a)&&typeof window!=="undefined"&&window.fetch!=null},Uu=function(a,b,c,d,e){c=c===void 0?!1:c;d=d===void 0?!1:d;e=e===void 0?null:e;var f,g;return z(function(h){if(h.g==1){h.l=2;b=d?rt(b,"https"):rt(b);if(f=Qu.test(b))b=b.replace("?",";tpsrc=ima?"),e=e||"";c=c||Lt(b);g=e!=null&&window.fetch!=null;return a.j||g?y(h,Su(a,b,c,e),5):y(h,Tu(a,b,c,e),5)}if(h.g!=2)return ya(h, 0);za(h);h.g=0})},Vu=function(a,b,c){c=c===void 0?!1:c;var d=d===void 0?!1:d;return b.g!=null||d?Uu(a,b.url,c,d,b.g):Uu(a,b.url,c)},Tu=function(a,b,c,d){d=Pq("attribution-reporting")?d:null;return Ss()?Wu(b):Xu(a,b,c,d)},Yu=function(a,b){var c={keepalive:!0,method:"get",redirect:"follow",credentials:"include"};a&&(c.referrerPolicy="no-referrer");b?"setAttributionReporting"in XMLHttpRequest.prototype?(c.attributionReporting={eventSourceEligible:!0,triggerEligible:!1},c.mode="no-cors"):c.headers={"Attribution-Reporting-Eligible":"event-source"}: c.mode="no-cors";return c},Su=function(a,b,c,d){d=d===void 0?null:d;var e,f,g,h,k,l,n,p,q;return z(function(v){if(v.g==1)return N(M.getInstance(),"faa","1"),N(M.getInstance(),"alp",d===null?"0":"1"),e=Pq("attribution-reporting"),N(M.getInstance(),"arpa",e?"1":"0"),f=d===""&&e,g=Yu(c,f),h=fetch(b,g).then(function(t){N(M.getInstance(),"fas","1");if(Vp(zq)&&b.includes("/pagead/adview")){var x=window,A={};if(t=t.headers.get("X-Ad-Event-Value"))try{var P=JSON.parse(t);A.revenueCurrency=P.currency;A.revenueMicros= P.value;var X=x.parent;A.googMsgType="aevi";X.postMessage(JSON.stringify(A),"*")}catch(da){}}},function(){var t=d;N(M.getInstance(),"faf","1");a.j=!1;return Tu(a,b,c,t)}),k=e&&d?fetch(d,Yu(c,!0)):Promise.resolve(),l=u,y(v,Promise.allSettled([h,k]),2);n=l(v.j);q=p=n.next().value;if(q.status==="rejected")throw q.reason;v.g=0})},Xu=function(a,b,c,d){var e=new Pu,f=Ul("IMG",window.document),g=(a.l++).toString();a.g.set(g,f);f.addEventListener("load",function(){a.g.delete(g);e.resolve()});f.addEventListener("error", function(h){a.g.delete(g);e.reject(h)});c&&(f.referrerPolicy="no-referrer");d!=null&&(f.attributionSrc=d);f.src=b;return e.promise},Wu=function(a){var b;return z(function(c){b=new Lu;return y(c,b.get({url:a,timeout:new Nt(5E3)}),0)})},Zu=function(a){var b=new Ru(!1);var c=c===void 0?!1:c;a.map(function(d){return Uu(b,d,c)})},$u=function(a,b,c){c=c===void 0?!1:c;b.map(function(d){return Vu(a,d,c)})};var av=function(a,b,c){this.j=a;this.l=b;this.g=c===void 0?null:c};av.prototype.getName=function(){return this.j};var bv=/(?:\[|%5B)([a-zA-Z0-9_]+)(?:\]|%5D)/g,cv=function(a,b){return a.replace(bv,function(c,d){d=b.get(d);if(d==null)return c;if(d.g==null)var e=!0;else try{e=d.g(a)||!1}catch(g){e=!1}if(e){b:{try{var f=d.l.toString();break b}catch(g){}f=null}e=f;e=e==null||e!=""&&D(rl(e))?null:encodeURIComponent(e).replace(/%2C/g,",")}else e=null;return e!=null?e:c})};/* 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 dv="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split("");function ev(){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]=dv[d==19?c&3|8:c]);return a.join("")};var fv=function(){var a=a===void 0?ev():a;this.adTagUrl=null;this.o="0";this.B=this.A="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.g=this.pageUrl=null;this.j=1}; fv.prototype.clone=function(){var a=new fv;a.o=this.o;a.A=this.A;a.B=this.B;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.g=this.g;a.l=this.l;a.j=this.j;return a};function gv(){try{var a=window.top.location.href}catch(b){return 2}return a==null?2:a==window.document.location.href?0:1}function hv(a){var b=Zp(),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(",")};var iv={gm:"SIMID:Creative:clickThru",sm:"SIMID:Creative:fatalError",xm:"SIMID:Creative:getMediaState",LOG:"SIMID:Creative:log",mn:"SIMID:Creative:reportTracking",nn:"SIMID:Creative:requestChangeAdDuration",on:"SIMID:Creative:requestChangeVolume",qn:"SIMID:Creative:requestExitFullscreen",tn:"SIMID:Creative:requestFullscreen",REQUEST_PAUSE:"SIMID:Creative:requestPause",REQUEST_PLAY:"SIMID:Creative:requestPlay",vn:"SIMID:Creative:requestResize",wn:"SIMID:Creative:requestSkip",REQUEST_STOP:"SIMID:Creative:requestStop", un:"SIMID:Creative:requestNavigation",Bm:"SIMID:Creative:handleSkipShown",rn:"SIMID:Creative:requestFocus"};var jv={Wm:"IABUSPrivacy_String",Fm:"IABTCF_gdprApplies",Vm:"IABTCF_TCString",Em:"IABTCF_AddtlConsent",Dm:"IABGPP_HDR_GppString",Cm:"IABGPP_GppSID"};function kv(a){var b={};a=u(Object.entries(a));for(var c=a.next();!c.done;c=a.next()){var d=u(c.value);c=d.next().value;d=d.next().value;d!=null&&(b[c]=String(d))}return b};var uv={Mi:"api-key",Ri:"auth-token",km:"cld",gj:"givn",Cj:"dai-sam-id",Dj:"sas",Bn:"targeting_parameters",Fn:"dai-hls-itstl"};var vv="acceptInvitation acceptInvitationLinear click collapse complete exitFullscreen expand firstQuartile fullscreen impression loaded midpoint pause resume skip start thirdQuartile videoClicked volumeChange".split(" ");var wv=sa(["https://imasdk.googleapis.com/js/sdkloader/car.js"]);Ql(wv);var xv=function(a){this.g=a},yv=function(a,b){return em(a.g,b)&&(a=a.g[b],typeof a==="boolean")?a:!1},zv=function(a){if(em(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 Av=RegExp("^https?://(\\w|-)+\\.cdn\\.ampproject\\.(net|org)(\\?|/|$)"),Ev=function(a){a=a||Bv();for(var b=new Cv(B.location.href,!1),c=null,d=a.length-1,e=d;e>=0;--e){var f=a[e];!c&&Av.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 Dv(b,e,c)},Bv=function(){var a=B,b=[],c=null;do{var d=a;if(fk(d)){var e=d.location.href;c=d.document&&d.document.referrer||null}else e=c,c=null;b.push(new Cv(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},Lv=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 Nv=function(a,b){this.g=a;this.depth=b},Pv=function(){var a=Bv(),b=Math.max(a.length-1,0),c=Ev(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 Nv([e.url,e.g?2:0],c(e.depth,1)));d&&d!=e&&f.push(new Nv([d.url,2],0));a.url&&a!=e&&f.push(new Nv([a.url,0],c(a.depth,b)));var g=dc(f,function(h,k){return f.slice(0,f.length-k)});!a.url||(e||d)&&a!=e||(d=vl(a.url))&&g.push([new Nv([d,1],c(a.depth,b))]);g.push([]);return dc(g,function(h){return Ov(b,h)})}; function Ov(a,b){var c=jc(b,function(e,f){return Math.max(e,f.depth)},-1),d=Bc("",c+2);d[0]=a;ac(b,function(e){return d[e.depth+1]=e.g});return d}function Qv(){var a=a===void 0?Pv():a;return a.map(function(b){return Hv(b)})};var Rv=function(){this.G="always";this.D=4;this.A=null;this.l=1;this.F=!0;this.locale="en";this.J=this.H="";this.o=null;this.g="";this.C=!1;this.M=null;this.B=ev();this.j={};try{this.M=Pv()[0]}catch(a){}},Sv=function(a){a=rl(a);D(a)||(a=a.substring(0,20));return a};m=Rv.prototype;m.setCompanionBackfill=function(a){this.G=a};m.getCompanionBackfill=function(){return this.G};m.setNumRedirects=function(a){this.D=a};m.getNumRedirects=function(){return this.D};m.setPpid=function(a){this.A=a}; m.getPpid=function(){return this.A};m.setVpaidAllowed=function(a){typeof a==="boolean"&&(this.l=a?1:0)};m.setVpaidMode=function(a){this.l=a};m.setAutoPlayAdBreaks=function(a){this.F=a};m.setLocale=function(a){if(a=Mt(a))this.locale=a};m.getLocale=function(){return this.locale};m.setPlayerType=function(a){this.H=Sv(a)};m.getPlayerType=function(){return this.H};m.setPlayerVersion=function(a){this.J=Sv(a)};m.getPlayerVersion=function(){return this.J}; var Tv=function(a){if(a.o==null){var b={},c=(new Vs(tm().location.href)).g;if(ot(c,"tcnfp"))try{b=JSON.parse(c.get("tcnfp"))}catch(d){}a.o=new xv(b)}return a.o};m=Rv.prototype;m.setDisableCustomPlaybackForIOS10Plus=function(a){this.C=a};m.getDisableCustomPlaybackForIOS10Plus=function(){return this.C};m.setSessionId=function(a){this.B=a};m.setFeatureFlags=function(a){this.j=a};m.getFeatureFlags=function(){return this.j};var Vv=function(a){var b=Uv;return b.j.hasOwnProperty(a)&&!!b.j[a]},Uv=new Rv;function Wv(a,b){return a.fc!==b.fc?a.fc-b.fc:a.jc!==b.jc?a.jc-b.jc:a.lc!==b.lc?a.lc-b.lc:0}function Xv(a){a=a.split(".");if(a.length!==3)return null;var b=u(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:{fc:c,jc:a,lc:b}};function Yv(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,vf:null,Ug:null,Lc:"null.null",wh:null,cd:null,canonicalUrl:Zv(null,null)};b=a[1];var c,d=(c=a[3])!=null?c:null;c=d?Xv(d):null;var e,f=(e=a[4])!=null?e:null,g,h;return{platform:b,platformVersion:(g= a[2])!=null?g:null,vf:d,Ug:c,Lc:(b!=null?b:"null")+"."+(d!=null?d:"null"),wh:f,cd:(h=a[5])!=null?h:null,canonicalUrl:Zv(b,f)}}function Zv(a,b){return"//mbapp"+encodeURIComponent(String($v(a)+"-"+(b!=null?b:"null")))+".com"}function $v(a){switch(a){case "ios":case "tvos":return 1;case "android":return 2;case "kepler":return 7;default:return 0}};var aw=function(a){var b=a;b:{if(b&&typeof b==="object"){a=u(Object.values(jv));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.l=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.j=typeof b==="string"?b:"";b=a.gppString;this.gppString=typeof b==="string"?b:"";a=a.gppSid;this.o=typeof a==="string"?a:""};var bw=function(a,b,c,d){Q.call(this);this.H=b;this.D=c;this.C=d;this.A=new Map;this.J=0;this.o=new Map;this.B=new Map;this.l=void 0;this.j=a};r(bw,Q);bw.prototype.O=function(){delete this.g;this.A.clear();this.o.clear();this.B.clear();this.l&&(Zm(this.j,"message",this.l),delete this.l);delete this.j;delete this.C;Q.prototype.O.call(this)}; var cw=function(a){if(a.g)return a.g;a.D&&a.D(a.j)?a.g=a.j:a.g=Sl(a.j,a.H);var b;return(b=a.g)!=null?b:null},ew=function(a,b,c){if(cw(a))if(a.g===a.j)(b=a.A.get(b))&&b(a.g,c);else{var d=a.o.get(b);if(d&&d.Ve){dw(a);var e=++a.J;a.B.set(e,{Vd:d.Vd,bk:d.Ag(c),hl:b==="addEventListener"});a.g.postMessage(d.Ve(c,e),"*")}}},dw=function(a){a.l||(a.l=function(b){try{var c=a.C?a.C(b):void 0;if(c){var d=c.fi,e=a.B.get(d);if(e){e.hl||a.B.delete(d);var f;(f=e.Vd)==null||f.call(e,e.bk,c.payload)}}}catch(g){}}, Ym(a.j,"message",a.l))};var fw=function(a,b){(0,a.__uspapi)("getUSPData",1,function(c,d){b.callback({Hh:c!=null?c:void 0,Lh:d?void 0:2})})},gw={Ag:function(a){return a.callback},Ve:function(a,b){a={};return a.__uspapiCall={callId:b,command:"getUSPData",version:1},a},Vd:function(a,b){b=b.__uspapiReturn;var c;a({Hh:(c=b.returnValue)!=null?c:void 0,Lh:b.success?void 0:2})}};function hw(a){var b={};typeof a.data==="string"?b=JSON.parse(a.data):b=a.data;return{payload:b,fi:b.__uspapiReturn.callId}} var iw=function(a,b){b=b===void 0?{}:b;Q.call(this);var c;this.timeoutMs=(c=b.timeoutMs)!=null?c:500;this.caller=new bw(a,"__uspapiLocator",function(d){return typeof d.__uspapi==="function"},hw);this.caller.A.set("getDataWithCallback",fw);this.caller.o.set("getDataWithCallback",gw)};r(iw,Q);iw.prototype.O=function(){this.caller.dispose();Q.prototype.O.call(this)}; var jw=function(a,b){var c={};if(cw(a.caller)){var d=jk(function(){b(c)});ew(a.caller,"getDataWithCallback",{callback:function(e){e.Lh||(c=e.Hh);d()}});setTimeout(d,a.timeoutMs)}else b(c)};function kw(a){a.addtlConsent!==void 0&&typeof a.addtlConsent!=="string"&&(a.addtlConsent=void 0);a.gdprApplies!==void 0&&typeof a.gdprApplies!=="boolean"&&(a.gdprApplies=void 0);return a.tcString!==void 0&&typeof a.tcString!=="string"||a.listenerId!==void 0&&typeof a.listenerId!=="number"?2:a.cmpStatus&&a.cmpStatus!=="error"?0:3} var lw=function(a,b){b=b===void 0?{}:b;Q.call(this);this.g=null;this.B={};this.C=0;this.l=null;this.j=a;var c;this.o=(c=b.timeoutMs)!=null?c:500;var d;this.A=(d=b.Jn)!=null?d:!1};r(lw,Q);lw.prototype.O=function(){this.B={};this.l&&(Zm(this.j,"message",this.l),delete this.l);delete this.B;delete this.j;delete this.g;Q.prototype.O.call(this)}; var nw=function(a){return typeof a.j.__tcfapi==="function"||mw(a)!=null},qw=function(a,b){var c={internalErrorState:0,internalBlockOnErrors:a.A},d=jk(function(){return b(c)}),e=0;a.o!==-1&&(e=setTimeout(function(){e=0;c.tcString="tcunavailable";c.internalErrorState=1;d()},a.o));ow(a,"addEventListener",function(f){f&&(c=f,c.internalErrorState=kw(c),c.internalBlockOnErrors=a.A,pw(c)?(c.internalErrorState!==0&&(c.tcString="tcunavailable"),ow(a,"removeEventListener",null,c.listenerId),(f=e)&&clearTimeout(f), d()):(c.cmpStatus==="error"||c.internalErrorState!==0)&&(f=e)&&clearTimeout(f))})}; lw.prototype.addEventListener=function(a){var b=this,c={internalBlockOnErrors:this.A},d=jk(function(){return a(c)}),e=0;this.o!==-1&&(e=setTimeout(function(){c.tcString="tcunavailable";c.internalErrorState=1;d()},this.o));var f=function(g,h){clearTimeout(e);g?(c=g,c.internalErrorState=kw(c),c.internalBlockOnErrors=b.A,h&&c.internalErrorState===0||(c.tcString="tcunavailable",h||(c.internalErrorState=3))):(c.tcString="tcunavailable",c.internalErrorState=3);a(c)};try{ow(this,"addEventListener",f)}catch(g){c.tcString= "tcunavailable",c.internalErrorState=3,e&&(clearTimeout(e),e=0),d()}};lw.prototype.removeEventListener=function(a){a&&a.listenerId&&ow(this,"removeEventListener",null,a.listenerId)}; var ow=function(a,b,c,d){c||(c=function(){});var e=a.j;typeof e.__tcfapi==="function"?(a=e.__tcfapi,a(b,2,c,d)):mw(a)?(rw(a),e=++a.C,a.B[e]=c,a.g&&(c={},a.g.postMessage((c.__tcfapiCall={command:b,version:2,callId:e,parameter:d},c),"*"))):c({},!1)},mw=function(a){if(a.g)return a.g;a.g=Sl(a.j,"__tcfapiLocator");return a.g},rw=function(a){if(!a.l){var b=function(c){try{var d=(typeof c.data==="string"?JSON.parse(c.data):c.data).__tcfapiReturn;a.B[d.callId](d.returnValue,d.success)}catch(e){}};a.l=b;Ym(a.j, "message",b)}},pw=function(a){if(a.gdprApplies===!1)return!0;a.internalErrorState===void 0&&(a.internalErrorState=kw(a));return a.cmpStatus==="error"||a.internalErrorState!==0?a.internalBlockOnErrors?(bn({e:String(a.internalErrorState)},"tcfe"),!1):!0:a.cmpStatus!=="loaded"||a.eventStatus!=="tcloaded"&&a.eventStatus!=="useractioncomplete"?!1:!0};var tw=function(a,b){b=b.listener;(a=(0,a.__gpp)("addEventListener",b))&&b(a,!0)},uw=function(a,b){(0,a.__gpp)("removeEventListener",b.listener,b.listenerId)},vw={Ag:function(a){return a.listener},Ve:function(a,b){a={};return a.__gppCall={callId:b,command:"addEventListener",version:"1.1"},a},Vd:function(a,b){b=b.__gppReturn;a(b.returnValue,b.success)}},ww={Ag:function(a){return a.listener},Ve:function(a,b){var c={};return c.__gppCall={callId:b,command:"removeEventListener",version:"1.1",parameter:a.listenerId}, c},Vd:function(a,b){b=b.__gppReturn;var c=b.returnValue.data;a==null||a(c,b.success)}};function xw(a){var b={};typeof a.data==="string"?b=JSON.parse(a.data):b=a.data;return{payload:b,fi:b.__gppReturn.callId}} var yw=function(a,b){b=(b===void 0?{}:b).timeoutMs;Q.call(this);this.caller=new bw(a,"__gppLocator",function(c){return typeof c.__gpp==="function"},xw);this.caller.A.set("addEventListener",tw);this.caller.o.set("addEventListener",vw);this.caller.A.set("removeEventListener",uw);this.caller.o.set("removeEventListener",ww);this.timeoutMs=b!=null?b:500};r(yw,Q);yw.prototype.O=function(){this.caller.dispose();Q.prototype.O.call(this)}; yw.prototype.addEventListener=function(a){var b=this,c=jk(function(){a(zw,!0)}),d=this.timeoutMs===-1?void 0:setTimeout(function(){c()},this.timeoutMs);ew(this.caller,"addEventListener",{listener:function(e,f){clearTimeout(d);try{var g;if(((g=e.pingData)==null?void 0:g.gppVersion)===void 0||e.pingData.gppVersion==="1"||e.pingData.gppVersion==="1.0"){b.removeEventListener(e.listenerId);var h={eventName:"signalStatus",data:"ready",pingData:{internalErrorState:1,gppString:"GPP_ERROR_STRING_IS_DEPRECATED_SPEC", applicableSections:[-1]}}}else Array.isArray(e.pingData.applicableSections)?h=e:(b.removeEventListener(e.listenerId),h={eventName:"signalStatus",data:"ready",pingData:{internalErrorState:2,gppString:"GPP_ERROR_STRING_EXPECTED_APPLICATION_SECTION_ARRAY",applicableSections:[-1]}});a(h,f)}catch(k){if(e==null?0:e.listenerId)try{b.removeEventListener(e.listenerId)}catch(l){a(Aw,!0);return}a(Bw,!0)}}})}; yw.prototype.removeEventListener=function(a){ew(this.caller,"removeEventListener",{listener:function(){},listenerId:a})}; var Bw={eventName:"signalStatus",data:"ready",pingData:{internalErrorState:2,gppString:"GPP_ERROR_STRING_UNAVAILABLE",applicableSections:[-1]},listenerId:-1},zw={eventName:"signalStatus",data:"ready",pingData:{gppString:"GPP_ERROR_STRING_LISTENER_REGISTRATION_TIMEOUT",internalErrorState:2,applicableSections:[-1]},listenerId:-1},Aw={eventName:"signalStatus",data:"ready",pingData:{gppString:"GPP_ERROR_STRING_REMOVE_EVENT_LISTENER_ERROR",internalErrorState:2,applicableSections:[-1]},listenerId:-1};var Cw=function(a){this.I=G(a)};r(Cw,J);function Dw(a){return a==="1"||a==="true"}function Ew(a){a.forEach(function(b,c,d){b===""&&d.delete(c)})}var Fw=function(a,b,c,d){b=b===void 0?{}:b;c=c===void 0?{}:c;this.j=a===void 0?!1:a;this.l=d===void 0?!1:d;this.adTagParameters=kv(b);this.g=new aw(c)};Fw.prototype.od=function(a){this.adTagParameters=kv(a)}; var Gw=function(a,b){if(a.adTagParameters.hasOwnProperty(b))return a.adTagParameters[b]},Hw=function(a){var b=Gw(a,"us_privacy");return a.g.uspString||b||""},Iw=function(a){var b=Gw(a,"gdpr");a=a.g.l;return a==="1"||a==="0"?a:b!==void 0?b:""},Jw=function(a){var b=a.g.g;a=Gw(a,"gdpr_consent");return b&&b!=="tcunavailable"?b:b==="tcunavailable"?a||b:a||""},Mw=function(a){var b;if(!(b=Kw(a))){if(Lw(a)){b=Jw(a);if(b==="tcunavailable")b=null;else{var c;a=Lw(a);var d=Ps(b);if(d&&b){var e=H(d,es,1);d=H(d, $r,2)||new $r;var f=oh(e,9),g=oh(e,4),h=oh(e,5),k=nh(e,10),l=nh(e,11),n=sh(e,16),p=nh(e,15),q={consents:Qs(Eg(e,13,kf,Dg()),Bs),legitimateInterests:Qs(Eg(e,14,kf,Dg()),Bs)},v={consents:Qs(th(e,17)),legitimateInterests:Qs(th(e,18))},t=Qs(Eg(e,12,kf,Dg()),Cs),x=gh(e,Zr,19,Dg());e={};x=u(x);for(var A=x.next();!A.done;A=x.next()){A=A.value;var P=I(A,1);e[P]=e[P]||{};var X=th(A,3);X=u(X);for(var da=X.next();!da.done;da=X.next())e[P][da.value]=I(A,2)}b={tcString:b,tcfPolicyVersion:f,gdprApplies:a,cmpId:g, cmpVersion:h,isServiceSpecific:k,useNonStandardStacks:l,publisherCC:n,purposeOneTreatment:p,purpose:q,vendor:v,specialFeatureOptins:t,publisher:{restrictions:e,consents:Qs(Eg(d,1,kf,Dg()),Bs),legitimateInterests:Qs(Eg(d,2,kf,Dg()),Bs),customPurposes:{consents:Qs(th(d,3)),legitimateInterests:Qs(th(d,4))}}}}else b=null;b=(c=b)!=null?c:null}c=b;if(b=!!c){var fa=fa===void 0?{}:fa;if(pw(c))if(c.gdprApplies===!1)var ca=!0;else if(c.tcString==="tcunavailable")ca=!fa.idpcApplies;else if((fa.idpcApplies|| c.gdprApplies!==void 0||fa.On)&&(fa.idpcApplies||typeof c.tcString==="string"&&c.tcString.length)){ca=ca===void 0?"755":ca;c:{if(c.publisher&&c.publisher.restrictions&&(fa=c.publisher.restrictions["1"],fa!==void 0)){fa=fa[ca===void 0?"755":ca];break c}fa=void 0}fa===0?ca=!1:c.purpose&&c.vendor?(fa=c.vendor.consents,(ca=!(!fa||!fa[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},Kw=function(a){a=Gw(a,"ltd");return Dw(a)},Lw=function(a){var b=Iw(a).toLowerCase();return b==="true"||b==="1"||a.l},Nw=function(a){var b=new Cw;a=!Mw(a);Cg(b,5,a==null?a:ef(a));return b};var Ow=function(a){this.I=G(a)};r(Ow,J);Ow.prototype.getVersion=function(){return sh(this,2)};var Pw=function(a){this.I=G(a)};r(Pw,J);var Qw=function(a,b){return Ah(a,2,b)},Rw=function(a,b){return Ah(a,3,b)},Sw=function(a,b){return Ah(a,4,b)},Tw=function(a,b){return Ah(a,5,b)},Uw=function(a,b){return Ah(a,9,b)},Ww=function(a,b){return kh(a,10,b)},Xw=function(a,b){return Cg(a,11,b==null?b:ef(b))},Yw=function(a,b){return Ah(a,1,b)},Zw=function(a,b){return Cg(a,7,b==null?b:ef(b))};var $w="platform platformVersion architecture model uaFullVersion bitness fullVersionList wow64".split(" ");function ax(a){var b;return(b=a.google_tag_data)!=null?b:a.google_tag_data={}}function bx(a){var b,c;return typeof((b=a.navigator)==null?void 0:(c=b.userAgentData)==null?void 0:c.getHighEntropyValues)==="function"} function cx(){var a=window;if(!bx(a))return null;var b=ax(a);if(b.uach_promise)return b.uach_promise;a=a.navigator.userAgentData.getHighEntropyValues($w).then(function(c){b.uach!=null||(b.uach=c);return c});return b.uach_promise=a} function dx(a){var b;return Xw(Ww(Tw(Qw(Yw(Sw(Zw(Uw(Rw(new Pw,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 Ow;d=Ah(d,1,c.brand);return Ah(d,2,c.version)}))||[]),a.wow64||!1)}function ex(){var a,b;return(b=(a=cx())==null?void 0:a.then(function(c){return dx(c)}))!=null?b:null};var gx=function(){this.ga=this.Y=this.appName=null;this.fa=new Fw;this.Kk=null;this.G=!1;this.yl=this.C=this.B=this.j=this.A=null;this.Tl=!1;this.secureSignals=null;this.Ok=!1;this.gl=ev();this.deviceId="";this.ll=this.kl=this.cd=null;this.l="";this.D=-1;this.F=this.H="";this.wg=this.J=this.Bj=this.Od=this.Ml=!1;this.Rj=0;this.Rl=this.M=this.Jc=!1;this.o=null;this.ha=!1;this.lb=this.Lc=this.Kc=this.Vl=this.Ul=this.Ra=this.N=this.za=this.g=null;this.Si=[];this.Ti=!1;this.wd=this.Tb=this.Xi=null;this.xd= !1;this.kk=1;this.Hk=0;this.cj=Tl();this.da=this.Qk=null;this.ie=new Map;this.referrer=this.Bk=null;this.oe=!1;this.ij=this.hj=this.fj=null;this.wj=this.Nh=this.Jh=this.uj=this.qj=this.pj=this.oj=this.jj=this.Dh=!1;this.Tc=this.R=this.vj=null;this.xj=this.Ei=this.Ph=!1;this.zj=null;this.W="";this.oa=new Kn;this.Zi=this.ol=this.Ik=null;this.Fl=new Hn;fx(this)},hx=function(a){var b=a.Lc,c=a.appName,d="h.3.735.0";b!=null&&(d+="/n."+b,c!=null&&(d+="/"+c));a.M&&(d+="/ima_eap");a.wg&&(d+="/ima_cast");a.Jc&& (d+="/ima_tv_web");return d},ix=function(a,b){if(a.supportsExternalNavigation!=null)return a.supportsExternalNavigation;a=b==null?void 0:b.Ug;if(!a)return!1;switch(b==null?void 0:b.platform){case "android":return Wv({fc:3,jc:16,lc:2},a)<=0;case "ios":return Wv({fc:3,jc:11,lc:1},a)<=0;default:return!1}},fx=function(a){var b=ex();b&&b.then(function(c){c==null?c=null:(c=JSON.stringify(hg(c)),c=Uc(qb(c),3));a.Tc=c})};gx.getInstance=function(){return L(gx)};var jx=Math.floor(Math.random()*4503599627370496);var kx=function(){var a=Tv(Uv);return a&&yv(a,"disableOnScreenDetection")?!1:!(navigator&&Ts(navigator))&&!Ss()},lx=function(a){var b=a.Jc;a=a.Ei;return b?!0:Us()||Fb(Nb(),"CrKey")&&Fb(Nb(),"SmartSpeaker")||Fb(Nb(),"Edge/18.")||a?!1:!0},nx=function(a,b){if(mx(a)||!D(a.assetKey))return!1;if(b.wg){var c,d;if(d=!((c=cast.framework.CastReceiverContext.getInstance().getDeviceCapabilities())==null||!c[cast.framework.system.DeviceCapabilities.DISPLAY_SUPPORTED])){var e;d=!((e=cast.framework.CastReceiverContext.getInstance().getDeviceCapabilities())== null||!e[cast.framework.system.DeviceCapabilities.TOUCH_INPUT_SUPPORTED])}return d}c=a.j;a=!((d=a.ui.custom)==null||!d.skippableSupport);return c||a},px=function(a,b){var c=b.lb;switch(b.Kc){case "android":return b.Od?b.Dh:!!c&&Wv({fc:3,jc:5,lc:2},c)<=0;case "ios":return!!c&&Wv({fc:3,jc:4,lc:1},c)<=0;case "tvos":return b.oe;case "kepler":return!1;default:return a&&!ox(b)}},ox=function(a){return qx(a)===1||qx(a)===2},qx=function(a){var b=a.Rj;var c=a.Od;var d=a.wg;var e=a.Jc;a=a.Kc;switch(b){case 1:return 3; case 2:return 1}b=B.navigator||null;return c||d||e||b&&Ts(b)||a==="tvos"||a==="kepler"?1:Us()?2:0};function rx(){this.blockSize=-1};function sx(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.B=a;this.A=b;this.F=B.Int32Array?new Int32Array(64):Array(64);tx===void 0&&(B.Int32Array?tx=new Int32Array(ux):tx=ux);this.reset()}cb(sx,rx);var vx=[].concat(128,Bc(0,63));sx.prototype.reset=function(){this.l=this.j=0;this.g=B.Int32Array?new Int32Array(this.A):xc(this.A)}; var wx=function(a){for(var b=a.o,c=a.F,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,q=(l+((g>>>6|g<<26)^(g>>>11|g<<21)^(g>>>25|g<<7))|0)+(((g&h^ ~g&k)+(tx[n]|0)|0)+(c[n]|0)|0)|0;l=k;k=h;h=g;g=f+q|0;f=e;e=d;d=b;b=q+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},xx=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&&(wx(a),e=0)}else throw Error("message must be string or array");a.j=e;a.l+=c},yx=function(a){var b=[],c=a.l*8;a.j<56?xx(a,vx,56-a.j):xx(a,vx,a.blockSize-(a.j-56));for(var d=63;d>=56;d--)a.o[d]=c&255,c/=256;wx(a);for(d=c=0;d=0;e-=8)b[c++]=a.g[d]>>e&255;return b},ux=[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],tx;function zx(){sx.call(this,8,Ax)}cb(zx,sx);var Ax=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225];var Bx=function(a,b){return a.indexOf(b)==0?a.substr(b.length):null};function Cx(){if(Ss())return window.location.href;var a=Ev(),b=a.j,c=a.g;a=a.l;var d=null;if(a)try{var e=kt(a.url),f=e.l,g=Bx(f,"/v/");g||(g=Bx(f,"/a/"));if(!g)throw Error("Can not extract standalone amp url.");var h=Bx("/"+g,"/s/"),k=e.g.clone();k.remove("amp_js_v");k.remove("amp_lite");var l=h?kt("https://"+h):kt("http://"+g);Zs(l,k);d=l.toString()}catch(n){d=null}return d?d:b&&b.url?b.url:c&&c.url?c.url:""} function Dx(){var a=tm().location.ancestorOrigins;return a?a.length>0?[].concat(w(a)).join(","):"":""};var Ex=function(a){return z(function(b){return b.g==1?y(b,a.g.promise,2):b.return({serializedConfig:a.serializedConfig,errorMessage:a.j,latencyMs:a.l})})},Ix=function(){var a=Fx,b=Gx,c=Date.now(),d=a.o();d.timeout=6E4;d.open("GET",b,!0);d.onload=function(){a.l=Date.now()-c;d.status<200||d.status>=300?Hx(a,Error("status: "+d.status)):(a.j=null,a.serializedConfig=d.responseText,a.g.resolve())};d.onerror=function(){a.l=Date.now()-c;Hx(a,Error("status: "+d.status))};d.send()},Hx=function(a,b){a.serializedConfig= null;a.j=b.message;a.g.resolve()},Jx=new function(){this.o=function(){return new XMLHttpRequest};this.g=new Pu;this.j=this.serializedConfig=null;this.l=0}; function Kx(){var a=Lx;var b=a.appName;var c=a.Kc;a=a.pageUrl;var d=new URL("https://securepubads.g.doubleclick.net/pagead/ima_ppub_config");if(b&&c){switch(c){case "android":d.searchParams.set("msid",b);break;case "ios":case "tvos":case "kepler":d.searchParams.set("an",b)}return d.toString()}return a?(d.searchParams.set("ippd",a),d.toString()):null};function Mx(a,b){it(a,"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);it(a,"url",d)}catch(g){}return a.toString()};var Nx=new Ru;function Ox(a){var b=b===void 0?Nx:b;var c=c===void 0?null:c;Vu(b,new Pt(a,c?c:c))};var Px=function(){this.g=Math.random()<.01;this.l=Math.floor(Math.random()*4503599627370496);this.j=null}; Px.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;hx(gx.getInstance())&&(b.sdkv=hx(gx.getInstance()));this.j&&(b.palv=this.j);a=Zp().sort().join(",");D(rl(a))||(b.e=a);b=Qx(this,b);var d=new Vs("https://pagead2.googlesyndication.com/pagead/gen_204");Yl(b,function(e,f){e!=null&&it(d,f,e==null?"":typeof e==="boolean"?e?"t":"f":""+e)},this);b=d.toString();a=d.g.get("url");a!=null&&Sb()&&b.length>2083&&(b=Mx(d,a));Ox(b)}}; var Qx=function(a,b){b.id="ima_html5";var c=tm();var d=document;c=new Vs(c.parent===c?c.location.href:d.referrer);b.c=a.l;b.domain=c.j;return b};Px.getInstance=function(){return L(Px)};function Rx(a,b,c,d){var e,f,g;a=((g=(e=H(a,Yj,2))==null?void 0:(f=gh(e,Xj,1,Dg()))==null?void 0:f.map(function(h){return sh(h,1)}))!=null?g:[]).some(function(h){return h===b});Px.getInstance().report(190,{fm:a,fl:c,nc:b,t:d,b:"daiWeb"})};var Sx=function(a,b){this.l=a;this.o=b;this.j=0;this.g=null};Sx.prototype.get=function(){if(this.j>0){this.j--;var a=this.g;this.g=a.next;a.next=null}else a=this.l();return a};var Tx=function(a,b){a.o(b);a.j<100&&(a.j++,b.next=a.g,a.g=b)};var Ux=function(){this.j=this.g=null};Ux.prototype.add=function(a,b){var c=Vx.get();c.set(a,b);this.j?this.j.next=c:this.g=c;this.j=c};Ux.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 Vx=new Sx(function(){return new Wx},function(a){return a.reset()}),Wx=function(){this.next=this.g=this.j=null};Wx.prototype.set=function(a,b){this.j=a;this.g=b;this.next=null};Wx.prototype.reset=function(){this.next=this.g=this.j=null};var Xx,Yx=!1,Zx=new Ux,ay=function(a,b){Xx||$x();Yx||(Xx(),Yx=!0);Zx.add(a,b)},$x=function(){var a=Promise.resolve(void 0);Xx=function(){a.then(by)}};function by(){for(var a;a=Zx.remove();){try{a.j.call(a.g)}catch(b){pb(b)}Tx(Vx,a)}Yx=!1};var cy=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var ey=function(a){this.g=0;this.F=void 0;this.o=this.j=this.l=null;this.A=this.B=!1;if(a!=hk)try{var b=this;a.call(void 0,function(c){dy(b,2,c)},function(c){dy(b,3,c)})}catch(c){dy(this,3,c)}},fy=function(){this.next=this.context=this.j=this.l=this.g=null;this.o=!1};fy.prototype.reset=function(){this.context=this.j=this.l=this.g=null;this.o=!1}; var gy=new Sx(function(){return new fy},function(a){a.reset()}),hy=function(a,b,c){var d=gy.get();d.l=a;d.j=b;d.context=c;return d},jy=function(a,b,c){iy(a,b,c,null)||ay($a(b,a))},ky=function(a){return new ey(function(b){var c=a.length,d=[];if(c)for(var e=function(h,k,l){c--;d[h]=k?{fk:!0,value:l}:{fk:!1,reason:l};c==0&&b(d)},f,g=0;g1)));g=g.next)e||(f=g);e&&(c.g==0&&d==1?ny(c,b):(f?(d=f,d.next==c.o&&(c.o=d),d.next=d.next.next):oy(c),py(c,e,3,b)))}a.l=null}else dy(a,3,b)},ry=function(a,b){a.j||a.g!=2&&a.g!=3||qy(a);a.o?a.o.next=b:a.j=b;a.o=b},ly=function(a,b,c,d){var e=hy(null,null,null);e.g=new ey(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 my?g(h):f(k)}catch(l){g(l)}}:g});e.g.l=a;ry(a,e);return e.g};ey.prototype.D=function(a){this.g=0;dy(this,2,a)};ey.prototype.H=function(a){this.g=0;dy(this,3,a)}; var dy=function(a,b,c){a.g==0&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.g=1,iy(c,a.D,a.H,a)||(a.F=c,a.g=b,a.l=null,qy(a),b!=3||c instanceof my||sy(a,c)))},iy=function(a,b,c,d){if(a instanceof ey)return ry(a,hy(b||hk,c||null,d)),!0;if(cy(a))return a.then(b,c,d),!0;if(Ra(a))try{var e=a.then;if(typeof e==="function")return ty(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},ty=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)}},qy=function(a){a.B||(a.B=!0,ay(a.C,a))},oy=function(a){var b=null;a.j&&(b=a.j,a.j=b.next,b.next=null);a.j||(a.o=null);return b};ey.prototype.C=function(){for(var a;a=oy(this);)py(this,a,this.g,this.F);this.B=!1}; var py=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,uy(b,c,d);else try{b.o?b.l.call(b.context):uy(b,c,d)}catch(e){vy.call(null,e)}Tx(gy,b)},uy=function(a,b,c){b==2?a.l.call(a.context,c):a.j&&a.j.call(a.context,c)},sy=function(a,b){a.A=!0;ay(function(){a.A&&vy.call(null,b)})},vy=pb,my=function(a){db.call(this,a)};cb(my,db);my.prototype.name="cancel";var wy=function(a,b){R.call(this);this.j=a||1;this.g=b||B;this.l=Ya(this.zl,this);this.o=ab()};cb(wy,R);m=wy.prototype;m.enabled=!1;m.fb=null;m.setInterval=function(a){this.j=a;this.fb&&this.enabled?(this.stop(),this.start()):this.fb&&this.stop()};m.zl=function(){if(this.enabled){var a=ab()-this.o;a>0&&a2147483647?-1:B.setTimeout(a,b||0)},zy=function(a,b){var c=null;return(new ey(function(d,e){c=yy(function(){d(b)},a);c==-1&&e(Error("Failed to schedule timer."))})).G(function(d){B.clearTimeout(c);throw d;})};var By=function(a){var b=Ay;if(b.g)return Rx(b.g,a,0,!0),Promise.resolve(b.g);b=Ex(b.j).then(function(c){var d=c.serializedConfig;var e=c.errorMessage;if(d)d=Vr(d);else throw Error(e!=null?e:"Unknown PPC error");Rx(d,a,c.latencyMs,!1);return d}).catch(function(c){Px.getInstance().report(189,{message:c.message});return null});return Promise.race([b,zy(500,null)])},Ay=new function(){var a;this.j=a=a===void 0?Jx:a};var Cy,Dy=Oq();Cy=H(Dy,Eq,3);var Ey=Ay,Fy=Cy!=null?Cy:null,Gy=Cx(),Hy;if(Fy){var Iy=sh(Fy,1);if(Iy&&(new URL(Gy)).hostname.includes(Iy)){var Jy=H(Fy,Zj,2);Hy=Jy?Jy:null}else Hy=null}else Hy=null;var Ky=Hy;if(Ky)Ey.g=Ky;else{var Fx=Ey.j,Lx={pageUrl:Gy};try{var Gx=Kx();if(!Gx)throw Error("Could not generate config URL");Ix()}catch(a){Hx(Fx,a)}};var Ly=function(){this.ba=0;this.g=!1;this.j=-1;this.Hc=!1;this.Ja=0};Ly.prototype.isVisible=function(){return this.Hc?this.ba>=.3:this.ba>=.5};var My={jm:0,qm:1},Ny={668123728:0,668123729:1},Oy={44731964:0,44731965:1},Py={NONE:0,Xm:1,vm:2},Qy={480596784:0,480596785:1,21063355:2};var Ry=function(){this.g=null;this.o=!1;this.l=null},Sy=function(a){a.o=!0;return a},Ty=function(a,b){a.l&&ac(b,function(c){c=a.l[c];c!==void 0&&a.j(c)})};Ry.prototype.getValue=function(){return this.g};var Uy=function(a){Ry.call(this);this.A=a};r(Uy,Ry);Uy.prototype.j=function(a){var b;if(!(b=this.g!==null)){a:{b=this.A;for(c in b)if(b[c]==a){var c=!0;break a}c=!1}b=!c}b||(this.g=a)};var Vy=function(){Ry.call(this)};r(Vy,Ry); Vy.prototype.j=function(a){this.g===null&&typeof a==="number"&&(this.g=a)};var Wy=function(){Ry.call(this)};r(Wy,Ry);Wy.prototype.j=function(a){this.g===null&&typeof a==="string"&&(this.g=a)};var Xy=function(){this.g={};this.l=!0;this.j={}};Xy.prototype.reset=function(){this.g={};this.l=!0;this.j={}}; var Yy=function(a,b,c){a.g[b]||(a.g[b]=new Uy(c));return a.g[b]},Zy=function(a){a.g.queryid||(a.g.queryid=new Wy)},$y=function(a,b,c){(a=a.g[b])&&a.j(c)},az=function(a,b){if(em(a.j,b))return a.j[b];if(a=a.g[b])return a.getValue()},bz=function(a){var b={},c=Zl(a.g,function(d){return d.o});Yl(c,function(d,e){d=a.j[e]!==void 0?String(a.j[e]):d.o&&d.g!==null?String(d.g):"";d.length>0&&(b[e]=d)},a);return b},cz=function(a){a=bz(a);var b=[];Yl(a,function(c,d){d in Object.prototype||typeof c!="undefined"&& b.push([d,":",c].join(""))});return b},dz=function(a){var b=S().P;b.l&&ac(bm(b.g),function(c){return Ty(c,a)})};var ez=function(a){Yy(a,"od",Nr);Sy(Yy(a,"opac",My));Sy(Yy(a,"sbeos",My));Sy(Yy(a,"prf",My));Sy(Yy(a,"mwt",My));Yy(a,"iogeo",My)};var go=document,T=window;var fz=!Ec&&!Ub();var gz=function(){this.g=this.hc=null};var hz=function(a,b){this.j=(a===void 0?0:a)||0;this.g=(b===void 0?"":b)||""};hz.prototype.kd=function(){return!!this.j||!!this.g};hz.prototype.toString=function(){return this.j+(this.g?"-":"")+this.g};hz.prototype.matches=function(a){return this.g||a.g?this.g==a.g:this.j||a.j?this.j==a.j:!1};var iz=function(){};iz.prototype.now=function(){return 0};iz.prototype.j=function(){return 0};iz.prototype.l=function(){return 0};iz.prototype.g=function(){return 0};var kz=function(){if(!jz())throw Error();};r(kz,iz);var jz=function(){return!(!T||!T.performance)};kz.prototype.now=function(){return jz()&&T.performance.now?T.performance.now():iz.prototype.now.call(this)};kz.prototype.j=function(){return jz()&&T.performance.memory?T.performance.memory.totalJSHeapSize||0:iz.prototype.j.call(this)};kz.prototype.l=function(){return jz()&&T.performance.memory?T.performance.memory.usedJSHeapSize||0:iz.prototype.l.call(this)}; kz.prototype.g=function(){return jz()&&T.performance.memory?T.performance.memory.jsHeapSizeLimit||0:iz.prototype.g.call(this)};var lz=function(){};lz.prototype.isVisible=function(){return fo()===1};var mz=function(){return fo()===0};var nz=function(){this.j=new lz;this.g=jz()?new kz:new iz},pz=function(){oz();var a=T.document;return!!(a&&a.body&&a.body.getBoundingClientRect&&typeof T.setInterval==="function"&&typeof T.clearInterval==="function"&&typeof T.setTimeout==="function"&&typeof T.clearTimeout==="function")};nz.prototype.setInterval=function(a,b){return T.setInterval(a,b)};nz.prototype.clearInterval=function(a){T.clearInterval(a)};nz.prototype.setTimeout=function(a,b){return T.setTimeout(a,b)}; nz.prototype.clearTimeout=function(a){T.clearTimeout(a)};var qz=function(){oz();return Qv()};var rz=function(){},oz=function(){var a=L(rz);if(!a.g){if(!T)throw Error("Context has not been set and window is undefined.");a.g=L(nz)}return a.g};var sz=function(a){this.I=G(a)};r(sz,J);sz.prototype.j=Tj([0,Aj,Dj,-2,Gj]);var tz=function(a){this.l=a;this.g=-1;this.j=this.o=0},uz=function(a,b){return function(){var c=Ia.apply(0,arguments);if(a.g>-1)return b.apply(null,w(c));try{return a.g=a.l.g.now(),b.apply(null,w(c))}finally{a.o+=a.l.g.now()-a.g,a.g=-1,a.j+=1}}};var vz=function(a,b){this.j=a;this.l=b;this.g=new tz(a)};var wz=function(){this.g={}},xz=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 yz={kn:1,Hn:2,Zm:3,1:"POSITION",2:"VISIBILITY",3:"MONITOR_VISIBILITY"};var zz=function(){this.o=void 0;this.G=0;this.B=new hz(0,"");this.j=0;this.F=-1;this.P=new Xy;Sy(Yy(this.P,"mv",Py)).l=Qy===void 0?null:Qy;Yy(this.P,"omid",My);Sy(Yy(this.P,"epoh",My));Sy(Yy(this.P,"epph",My));Sy(Yy(this.P,"umt",My)).l=Ny===void 0?null:Ny;Sy(Yy(this.P,"phel",My));Sy(Yy(this.P,"phell",My));Sy(Yy(this.P,"oseid",yz));var a=this.P;a.g.sloi||(a.g.sloi=new Vy);Sy(a.g.sloi);Yy(this.P,"mm",Pr);Sy(Yy(this.P,"ovms",Or));Sy(Yy(this.P,"xdi",My));Sy(Yy(this.P,"amp",My));Sy(Yy(this.P,"prf",My)); Sy(Yy(this.P,"gtx",My));Sy(Yy(this.P,"mvp_lv",My));Sy(Yy(this.P,"ssmol",My)).l=Oy===void 0?null:Oy;Sy(Yy(this.P,"fmd",My));Yy(this.P,"gen204simple",My);this.g=new vz(oz(),this.P);this.A=this.l=!1;this.flags=new wz};zz.prototype.sf=function(a){if(typeof a==="string"&&a.length!=0){var b=this.P;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)}}}}; zz.prototype.tf=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?Sz()-Oz:-1,c=Rz?Sz()-Nz:-1,d=Qz>=0?Sz()-Qz:-1;if(a==947190542)return 100;if(a==79463069)return 200;a=[2E3,4E3];var e=[250,500,1E3];Lz(637,Error(),.001);var f=b;c!=-1&&c1500&&d<4E3?500:g};var Uz=function(a,b,c){var d=new Hm(0,0,0,0);this.time=a;this.volume=null;this.l=b;this.g=d;this.j=c};Uz.prototype.equals=function(a,b){return!!a&&(!(b===void 0?0:b)||this.volume==a.volume)&&this.l==a.l&&Im(this.g,a.g)&&!0};var Vz=function(a,b,c,d,e,f,g,h){this.l=a;this.G=b;this.j=c;this.A=d;this.g=e;this.o=f;this.F=g;this.B=h};Vz.prototype.getTimestamp=function(){return this.F};Vz.prototype.equals=function(a,b){return this.l.equals(a.l,b===void 0?!1:b)&&this.G==a.G&&Im(this.j,a.j)&&Im(this.A,a.A)&&this.g==a.g&&this.o==a.o&&this.F==a.F&&this.B==a.B};var am={Wl:"addEventListener",wm:"getMaxSize",ym:"getScreenSize",zm:"getState",Am:"getVersion",ln:"removeEventListener",Ym:"isViewable"},Wz=function(a){var b=a!==a.top,c=a.top===gk(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),$l(function(g){return typeof f[g]==="function"})||(e=1));return{ab:f,ye:e,vl:d}};var Xz=function(){var a=window.document;return a&&typeof a.elementFromPoint==="function"};function Yz(a,b,c){try{if(a){if(!b.top)return new Hm(-12245933,-12245933,-12245933,-12245933);b=b.top}a:{var d=b;if(a&&d!==null&&d!=d.top){if(!d.top){var e=new Xl(-12245933,-12245933);break a}d=d.top}try{e=(c===void 0?0:c)?(new Xl(d.innerWidth,d.innerHeight)).round():sm(d||window).round()}catch(n){e=new Xl(-12245933,-12245933)}}a=e;var f=a.height,g=a.width;if(g===-12245933)return new Hm(g,g,g,g);var h=Gm(pm(b.document)),k=h.x,l=h.y;return new Hm(l,k+g,l+f,k)}catch(n){return new Hm(-12245933,-12245933, -12245933,-12245933)}};var Zz=function(a,b){b=Math.pow(10,b);return Math.floor(a*b)/b},$z=function(a){return new Hm(a.top,a.right,a.bottom,a.left)},aA=function(a){var b=a.top||0,c=a.left||0;return new Hm(b,c+(a.width||0),b+(a.height||0),c)},bA=function(a){return a!=null&&a>=0&&a<=1};var dA=function(){this.C=!1;this.l=!fk(T.top);this.B=mk()||lk();var a=Bv();a=a.length>0&&a[a.length-1]!=null&&a[a.length-1].url!=null?((a=a[a.length-1].url.match($q)[3]||null)?decodeURI(a):a)||"":"";this.domain=a;this.g=new Hm(0,0,0,0);this.A=new Xl(0,0);this.o=new Xl(0,0);this.G=new Hm(0,0,0,0);this.frameOffset=new Wl(0,0);this.H=!1;this.F=0;this.D=!1;this.j=!(!T||!Wz(T).ab);cA(this)},eA=function(a,b){b&&b.screen&&(a.A=new Xl(b.screen.width,b.screen.height))},fA=function(a,b){a:{var c=a.g?new Xl(a.g.getWidth(), a.g.getHeight()):new Xl(0,0);b=b===void 0?T: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=oz().j.isVisible();var b=mz();return a||b},gA=function(){return L(dA)};var iA=function(a){this.l=a;this.j=0;this.g=null};iA.prototype.cancel=function(){oz().clearTimeout(this.g);this.g=null};var jA=function(a){var b=oz(),c=S().g.g;a.g=b.setTimeout(uz(c,Kz(143,function(){a.j++;a.l.sample()})),Tz())};var kA=function(a,b,c){this.l=a;this.lb=c===void 0?"na":c;this.F=[];this.A=!1;this.o=new Uz(-1,!0,this);this.g=this;this.D=b;this.M=this.H=!1;this.da="uk";this.W=!1;this.B=!0};kA.prototype.J=function(){return!1};kA.prototype.initialize=function(){return this.A=!0};kA.prototype.ed=function(){return this.g.da};kA.prototype.Ld=function(){return this.g.M};var mA=function(a,b,c){if(!a.M||(c===void 0?0:c))a.M=!0,a.da=b,a.D=0,a.g!=a||lA(a)};kA.prototype.getName=function(){return this.g.lb}; kA.prototype.Yb=function(){return this.g.ha()};kA.prototype.ha=function(){return{}};kA.prototype.Db=function(){return this.g.D};var nA=function(a,b){pc(a.F,b)||(a.F.push(b),b.hd(a.g),b.Zb(a.o),b.xb()&&(a.H=!0))};kA.prototype.Y=function(){var a=gA();a.g=Yz(!0,this.l,a.B)};kA.prototype.ga=function(){eA(gA(),this.l)};kA.prototype.oa=function(){return this.o.g};var oA=function(a){a=a.g;a.ga();a.Y();var b=gA();b.G=Yz(!1,a.l,b.B);fA(gA(),a.l);a.o.g=a.oa()};kA.prototype.sample=function(){}; var pA=function(a,b){a.g!=a?pA(a.g,b):a.B!==b&&(a.B=b,lA(a))};kA.prototype.isActive=function(){return this.g.B};var qA=function(a){a.H=a.F.length?kc(a.F,function(b){return b.xb()}):!1},rA=function(a){var b=xc(a.F);ac(b,function(c){c.Zb(a.o)})},lA=function(a){var b=xc(a.F);ac(b,function(c){c.hd(a.g)});a.g!=a||rA(a)};m=kA.prototype;m.hd=function(a){var b=this.g;this.g=a.Db()>=this.D?a:this;b!==this.g?(this.B=this.g.B,lA(this)):this.B!==this.g.B&&(this.B=this.g.B,lA(this))}; m.Zb=function(a){if(a.j===this.g){var b=!this.o.equals(a,this.H);this.o=a;b&&rA(this)}};m.xb=function(){return this.H};m.dispose=function(){this.W=!0};m.Hb=function(){return this.W};var sA=function(a,b,c,d){this.j=a;this.g=new Hm(0,0,0,0);this.o=null;this.F=new Hm(0,0,0,0);this.l=b;this.P=c;this.R=d;this.N=!1;this.timestamp=-1;this.H=new Vz(b.o,this.j,this.g,new Hm(0,0,0,0),0,0,Sz(),0);this.B=void 0};sA.prototype.Jf=function(){return!0};sA.prototype.D=function(){};sA.prototype.dispose=function(){if(!this.Hb()){var a=this.l;qc(a.F,this);a.H&&this.xb()&&qA(a);this.D();this.N=!0}};sA.prototype.Hb=function(){return this.N}; var tA=function(a,b){return a.B?new Hm(Math.max(b.top+a.B.top,b.top),Math.min(b.left+a.B.right,b.right),Math.min(b.top+a.B.bottom,b.bottom),Math.max(b.left+a.B.left,b.left)):b.clone()};m=sA.prototype;m.Yb=function(){return this.l.Yb()};m.Db=function(){return this.l.Db()};m.ed=function(){return this.l.ed()};m.Ld=function(){return this.l.Ld()};m.hd=function(){};m.Zb=function(){this.Wb()};m.xb=function(){return this.R};var uA=function(a){this.A=!1;this.g=a;this.o=function(){}};m=uA.prototype;m.Db=function(){return this.g.Db()};m.ed=function(){return this.g.ed()};m.Ld=function(){return this.g.Ld()};m.create=function(a,b,c){var d=null;this.g&&(d=this.ge(a,b,c),nA(this.g,d));return d};m.nh=function(){return this.vd()};m.vd=function(){return!1};m.init=function(a){return this.g.initialize()?(nA(this.g,this),this.o=a,!0):!1};m.hd=function(a){a.Db()==0&&this.o(a.ed(),this)};m.Zb=function(){};m.xb=function(){return!1}; m.dispose=function(){this.A=!0};m.Hb=function(){return this.A};m.Yb=function(){return{}};var vA=function(a,b,c){this.l=c===void 0?0:c;this.j=a;this.g=b==null?"":b},wA=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}};vA.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 DA=function(a){var b=[],c=[];Yl(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)},EA=function(a){a=a.toString();oz();$m(T,a)};var FA=function(){this.g=0};var GA=function(a,b,c){ac(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 xA;g.add("id","av-js");g.add("type","verif");g.add("vtype",d.A);d=L(FA);g.add("i",d.g++);g.add("adk",e);zA(g,f);e=new CA(g);EA(e)}})};var HA=function(){this.j=this.l=this.o=this.g=0},IA=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 JA=[1,.75,.5,.3,0],KA=function(a){this.j=a=a===void 0?JA:a;this.g=dc(this.j,function(){return new HA})},MA=function(a,b){return LA(a,function(c){return c.g},b===void 0?!0:b)},OA=function(a,b){return NA(a,b,function(c){return c.g})},PA=function(a,b){return LA(a,function(c){return c.l},b===void 0?!0:b)},QA=function(a,b){return NA(a,b,function(c){return c.l})},RA=function(a,b){return NA(a,b,function(c){return c.j})},SA=function(a){ac(a.g,function(b){b.j=0})},TA=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;IA(a.g[f],g&&k,e,!g||h)}},LA=function(a,b,c){a=dc(a.g,function(d){return b(d)});return c?a:UA(a)},NA=function(a,b,c){var d=oc(a.j,function(e){return b<=e});return d==-1?0:c(a.g[d])},UA=function(a){return dc(a,function(b,c,d){return c>0?d[c]-d[c-1]:d[c]})};var VA=function(){this.j=new KA;this.ga=this.Y=0;this.ha=new HA;this.J=this.F=-1;this.Ra=1E3;this.lb=new KA([1,.9,.8,.7,.6,.5,.4,.3,.2,.1,0]);this.R=this.M=-1},WA=function(a,b){return PA(a.j,b===void 0?!0:b)}; VA.prototype.C=function(a,b,c,d){this.F=this.F!=-1?Math.min(this.F,b.ba):b.ba;this.J=Math.max(this.J,b.ba);this.M=this.M!=-1?Math.min(this.M,b.Ja):b.Ja;this.R=Math.max(this.R,b.Ja);TA(this.lb,b.Ja,c.Ja,b.g,a,d);this.Y+=a;b.ba===0&&(this.ga+=a);TA(this.j,b.ba,c.ba,b.g,a,d);c=d||c.Hc!=b.Hc?c.isVisible()&&b.isVisible():c.isVisible();b=!b.isVisible()||b.g;IA(this.ha,c,a,b)};VA.prototype.Kb=function(){return this.ha.l>=this.Ra};if(go&&go.URL){var XA=go.URL,YA;a:{if(XA){var ZA=RegExp(".*[&#?]google_debug(=[^&]*)?(&.*)?$");try{var $A=ZA.exec(decodeURIComponent(XA));if($A){YA=$A[1]&&$A[1].length>1?$A[1].substring(1):"true";break a}}catch(a){}}YA=""}Gz.Xg(!(YA.length>0))}var aB=function(a,b,c,d){var e=e===void 0?!1:e;c=Kz(d,c);Ym(a,b,c,{capture:e})};var bB=new Hm(0,0,0,0);function cB(a,b){b=dB(b);return b===0?0:dB(a)/b}function dB(a){return Math.max(a.bottom-a.top,0)*Math.max(a.right-a.left,0)}function eB(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=om(a),e=d&&tm(d),f=e&&e.frameElement;f&&(a=f)}}catch(g){break}}return!1} function fB(a,b,c){if(!a||!b)return!1;b=Jm(a.clone(),-b.left,-b.top);a=(b.left+b.right)/2;b=(b.top+b.bottom)/2;fk(window.top)&&window.top&&window.top.document&&(window=window.top);if(!Xz())return!1;a=window.document.elementFromPoint(a,b);if(!a)return!1;b=(b=(b=om(c))&&b.defaultView&&b.defaultView.frameElement)&&eB(b,a);var d=a===c;a=!d&&a&&Fm(a,function(e){return e===c});return!(b||d||a)} function gB(a,b,c,d){return gA().l?!1:a.getWidth()<=0||a.getHeight()<=0?!0:c&&d?Jz(208,function(){return fB(a,b,c)}):!1};var hB=new Hm(0,0,0,0),jB=function(a,b,c){Q.call(this);this.position=hB.clone();this.af=this.He();this.zg=-2;this.Al=Date.now();this.zi=-1;this.Se=b;this.Re=null;this.Hd=!1;this.jf=null;this.opacity=-1;this.ml=c;this.El=!1;this.Bg=function(){};this.Di=function(){};this.Ma=new gz;this.Ma.hc=a;this.Ma.g=a;this.Ib=!1;this.Cc={Gg:null,Fg:null};this.si=!0;this.de=null;this.jd=this.Gk=!1;S().G++;this.Ha=this.qg();this.yi=-1;this.aa=null;this.Vh=this.Dk=!1;this.P=new Xy;ez(this.P);iB(this);this.ml==1?$y(this.P, "od",1):$y(this.P,"od",0)};r(jB,Q);jB.prototype.O=function(){this.Ma.g&&(this.Cc.Gg&&(Zm(this.Ma.g,"mouseover",this.Cc.Gg),this.Cc.Gg=null),this.Cc.Fg&&(Zm(this.Ma.g,"mouseout",this.Cc.Fg),this.Cc.Fg=null));this.de&&this.de.dispose();this.aa&&this.aa.dispose();delete this.af;delete this.Bg;delete this.Di;delete this.Ma.hc;delete this.Ma.g;delete this.Cc;delete this.de;delete this.aa;delete this.P;Q.prototype.O.call(this)};var kB=function(a){return a.aa?a.aa.g:a.position};jB.prototype.sf=function(a){S().sf(a)}; jB.prototype.tf=function(a){S().tf(a)};var iB=function(a){a=a.Ma.hc;var b;if(b=a&&a.getAttribute)b=/-[a-z]/.test("googleAvInapp")?!1:fz&&a.dataset?"googleAvInapp"in a.dataset:a.hasAttribute?a.hasAttribute("data-"+tl()):!!a.getAttribute("data-"+tl());b&&(gA().j=!0)};jB.prototype.xb=function(){return!1};jB.prototype.He=function(){return new VA};jB.prototype.Ga=function(){return this.af}; var lB=function(a,b){b!=a.jd&&(a.jd=b,a=gA(),b?a.F++:a.F>0&&a.F--)},mB=function(a,b){if(a.aa){if(b.getName()===a.aa.getName())return;a.aa.dispose();a.aa=null}b=b.create(a.Ma.g,a.P,a.xb());if(b=b!=null&&b.Jf()?b:null)a.aa=b},nB=function(a,b,c){if(!a.Re||a.Se==-1||b.getTimestamp()===-1||a.Re.getTimestamp()===-1)return 0;a=b.getTimestamp()-a.Re.getTimestamp();return a>c?0:a};jB.prototype.Sh=function(a){return nB(this,a,1E4)}; var oB=function(a,b,c){if(a.aa){a.aa.Wb();var d=a.aa.H,e=d.l,f=e.g;if(d.A!=null){var g=d.j;a.jf=new Wl(g.left-f.left,g.top-f.top)}f=a.zf()?Math.max(d.g,d.o):d.g;g={};e.volume!==null&&(g.volume=e.volume);e=a.Sh(d);a.Re=d;a.fh(f,b,c,!1,g,e,d.B)}},pB=function(a){if(a.Hd&&a.de){var b=az(a.P,"od")==1,c=gA().g,d=a.de,e=a.aa?a.aa.getName():"ns",f=a.jf,g=new Xl(c.getWidth(),c.getHeight());c=a.zf();a={xl:e,jf:f,Ql:g,zf:c,ba:a.Ha.ba,Ll:b};if(b=d.j){b.Wb();e=b.H;f=e.l.g;var h=g=null;e.A!=null&&f&&(g=e.j,g=new Wl(g.left- f.left,g.top-f.top),h=new Xl(f.right-f.left,f.bottom-f.top));e=c?Math.max(e.g,e.o):e.g;c={xl:b.getName(),jf:g,Ql:h,zf:c,Ll:!1,ba:e}}else c=null;c&&GA(d,a,c)}};m=jB.prototype;m.fh=function(a,b,c,d,e,f,g){this.Ib||(this.Hd&&(a=this.Sf(a,c,e,g),d=d&&this.Ha.ba>=(this.Hc()?.3:.5),this.gh(f,a,d),this.Se=b,a.ba>0&&-1===this.yi&&(this.yi=b),this.zi==-1&&this.Kb()&&(this.zi=b),this.zg==-2&&(this.zg=dB(kB(this))?a.ba:-1),this.Ha=a),this.Bg(this))};m.gh=function(a,b,c){this.Ga().C(a,b,this.Ha,c)};m.qg=function(){return new Ly}; m.Sf=function(a,b,c,d){c=this.qg();c.g=b;b=oz().j;b=mz()?-1:b.isVisible()?0:1;c.j=b;c.ba=this.Zf(a);c.Hc=this.Hc();c.Ja=d;return c};m.Zf=function(a){return this.opacity===0&&az(this.P,"opac")===1?0:a};m.Hc=function(){return!1};m.zf=function(){return this.Dk||this.Gk};m.Za=function(){return 0};m.Kb=function(){return this.af.Kb()};m.Th=function(){var a=this.Hd;a=(this.Vh||this.Hb())&&!a;var b=S().j!==2||this.El;return this.Ib||b&&a?2:this.Kb()?4:3};m.Fe=function(){return 0}; var qB=function(a,b,c){b&&(a.Bg=b);c&&(a.Di=c)};function rB(){}rB.prototype.next=function(){return sB};var sB={done:!0,value:void 0};rB.prototype.Xc=function(){return this};var tB=function(){this.o=this.g=this.l=this.j=this.A=0},uB=function(a){var b={};b=(b.ptlt=ab()-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 vB=function(){Ly.call(this);this.fullscreen=!1;this.volume=void 0;this.paused=!1;this.mediaTime=-1};r(vB,Ly);var wB=function(a){return bA(a.volume)&&a.volume>0};var yB=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 xB(f,b,c)}},zB=function(a,b){return function(c){return b(c)?c[a]:void 0}},AB=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 BB=AB([void 0,1,2,3,4,8,16]),CB=AB([void 0,4,8,16]),DB={sv:"sv",v:"v",cb:"cb",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",p0:zB("p0",CB),p1:zB("p1",CB),p2:zB("p2",CB),p3:zB("p3",CB),cp:"cp",tos:"tos",mtos:"mtos",amtos:"amtos",mtos1:yB("mtos1",[0,2,4],!1,CB),mtos2:yB("mtos2",[0,2,4],!1,CB),mtos3:yB("mtos3",[0,2,4],!1,CB),mcvt:"mcvt",ps:"ps",scs:"scs",bs:"bs",vht:"vht",mut:"mut",a:"a",a0:zB("a0",CB),a1:zB("a1",CB),a2:zB("a2",CB),a3:zB("a3",CB),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:zB("c0",CB),c1:zB("c1",CB),c2:zB("c2",CB),c3:zB("c3",CB),mc:"mc",nc:"nc",mv:"mv",nv:"nv",qmt:zB("qmtos",BB),qnc:zB("qnc",BB),qmv:zB("qmv",BB),qnv:zB("qnv",BB), 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:zB("ss0",CB),ss1:zB("ss1",CB),ss2:zB("ss2",CB),ss3:zB("ss3",CB),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"},EB=Object.assign({},DB,{avid:function(a){return function(){return a}}("audio"),avas:"avas",vs:"vs"}),FB={atos:"atos",avt:yB("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 GB=function(){this.j=this.g=""};var HB=function(){},IB=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 mm(c,a);return BA(zA(new xA,c))};var JB=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},KB=function(a,b){var c=a.j[b],d=c[1];a.l+=c[0];d>0&&a.g[b]==0&&(a.g[b]=1)}, LB=function(a){var b=cm(a.j),c=0,d;for(d in a.g)pc(b,d)&&a.g[d]==1&&(c+=a.j[d][1],a.g[d]=2);return c},MB=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 NB=function(){this.g=this.j=0};NB.prototype.getValue=function(){return this.j};var OB=function(a,b,c){b>=32||(a.g&1<=.5;bA(b.volume)&&(this.o=this.o!=-1?Math.min(this.o,b.volume):b.volume,this.B=Math.max(this.B,b.volume));f&&(this.N+=a,this.D+=e?a:0);TA(this.g,b.ba,c.ba,b.g,a,d,e);IA(this.l,!0,a);IA(this.A,e,a);IA(this.H,c.fullscreen,a);IA(this.Tb,e&&!f,a);a=Math.floor(b.mediaTime/1E3);OB(this.W,a,b.isVisible());OB(this.za,a,b.ba>=1);OB(this.oa,a,wB(b))}};var RB=function(){this.l=!1};RB.prototype.j=function(a){this.l||(this.g(a)?(a=this.C.report(this.o,a),this.A|=a,a=a==0):a=!1,this.l=a)};var SB=function(a,b){this.l=!1;this.o=a;this.C=b;this.A=0};r(SB,RB);SB.prototype.g=function(){return!0};SB.prototype.B=function(){return!1};SB.prototype.getId=function(){var a=this,b=fm(function(c){return c==a.o});return Ur[b].toString()};SB.prototype.toString=function(){var a="";this.B()&&(a+="c");this.l&&(a+="s");this.A>0&&(a+=":"+this.A);return this.getId()+a};var TB=function(a,b){SB.call(this,a,b);this.F=[]};r(TB,SB);TB.prototype.j=function(a,b){b=b===void 0?null:b;b!=null&&this.F.push(b);SB.prototype.j.call(this,a)};var UB=function(){};var VB=function(){};r(VB,UB);VB.prototype.j=function(){return null};VB.prototype.l=function(){return[]};var WB=function(a,b,c,d){sA.call(this,a,b,c,d)};r(WB,sA);m=WB.prototype;m.Tf=function(){if(this.j){var a=this.j,b=this.l.g.l;try{try{var c=$z(a.getBoundingClientRect())}catch(l){c=new Hm(0,0,0,0)}var d=c.right-c.left,e=c.bottom-c.top,f=Sm(a,b),g=f.x,h=f.y;var k=new Hm(Math.round(h),Math.round(g+d),Math.round(h+e),Math.round(g))}catch(l){k=bB.clone()}this.o=k;this.g=tA(this,this.o)}};m.Eh=function(){this.F=this.l.o.g};m.Wh=function(a){var b=az(this.P,"od")==1;return gB(a,this.F,this.j,b)}; m.Fh=function(){this.timestamp=Sz()}; m.Wb=function(){this.Fh();this.Tf();if(this.j&&typeof this.j.videoWidth==="number"&&typeof this.j.videoHeight==="number"){var a=this.j;var b=new Xl(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.Eh();a=this.g;c=this.F; a=a.left<=c.right&&c.left<=a.right&&a.top<=c.bottom&&c.top<=a.bottom?new Hm(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 Hm(0,0,0,0);c=a.top>=a.bottom||a.left>=a.right?new Hm(0,0,0,0):a;a=this.l.o;b=e=d=0;if((this.g.bottom-this.g.top)*(this.g.right-this.g.left)>0)if(this.Wh(c))c=new Hm(0,0,0,0);else{d=gA().A;b=new Hm(0,d.height,d.width,0);var f;d=cB(c,(f=this.B)!=null?f:this.g);e=cB(c,gA().g);b=cB(c,b)}f=c.top>=c.bottom||c.left>=c.right? new Hm(0,0,0,0):Jm(c,-this.g.left,-this.g.top);hA()||(e=d=0);this.H=new Vz(a,this.j,this.g,f,d,e,this.timestamp,b)};m.getName=function(){return this.l.getName()};var XB=new Hm(0,0,0,0),YB=function(a,b,c){sA.call(this,null,a,b,c);this.C=a.isActive();this.G=0};r(YB,WB);m=YB.prototype;m.Jf=function(){this.A();return!0};m.Zb=function(){WB.prototype.Wb.call(this)};m.Fh=function(){};m.Tf=function(){};m.Wb=function(){this.A();WB.prototype.Wb.call(this)};m.hd=function(a){a=a.isActive();a!==this.C&&(a?this.A():(gA().g=new Hm(0,0,0,0),this.g=new Hm(0,0,0,0),this.F=new Hm(0,0,0,0),this.timestamp=-1));this.C=a};function ZB(a){return[a.top,a.left,a.bottom,a.right]} var $B={},aC=($B.firstquartile=0,$B.midpoint=1,$B.thirdquartile=2,$B.complete=3,$B),bC=function(a,b,c,d,e,f){f=f===void 0?new VB:f;jB.call(this,b,c,d);this.Og=e;this.fg=0;this.sa={};this.ma=new JB;this.Ki={};this.ya="";this.oc=null;this.xd=!1;this.g=[];this.Nb=f.j();this.B=f.l();this.A=null;this.l=-1;this.da=this.H=void 0;this.M=this.J=0;this.W=-1;this.Ra=this.za=!1;this.R=this.D=this.j=this.ud=this.wd=0;new KA;this.Y=this.ha=0;this.oa=-1;this.xa=0;this.C=hk;this.N=[this.He()];this.oe=2;this.Wc={}; this.Wc.pause="p";this.Wc.resume="r";this.Wc.skip="s";this.Wc.mute="m";this.Wc.unmute="um";this.Wc.exitfullscreen="ef";this.o=null;this.lb=this.Tb=!1;this.ie=Math.floor(Date.now()/1E3-1704067200);this.ga=0};r(bC,jB);bC.prototype.xb=function(){return!0};var cC=function(a){a.Vh=!0;a.xa!=0&&(a.xa=3)},dC=function(a){return a===void 0?a:Number(a)?Zz(a,3):0};m=bC.prototype;m.Sh=function(a){return nB(this,a,Math.max(1E4,this.l/3))}; m.fh=function(a,b,c,d,e,f,g){var h=this,k=this.C(this)||{};mm(k,e);this.l=k.duration||this.l;this.H=k.isVpaid||this.H;this.da=k.isYouTube||this.da;oz();this.lb=!1;e=eC(this,b);fC(this)===1&&(f=e);jB.prototype.fh.call(this,a,b,c,d,k,f,g);this.Nb&&this.Nb.l&&ac(this.B,function(l){l.j(h)})}; m.gh=function(a,b,c){jB.prototype.gh.call(this,a,b,c);gC(this).C(a,b,this.Ha,c);this.Ra=wB(this.Ha)&&wB(b);this.W==-1&&this.za&&(this.W=this.Ga().l.g);this.ma.l=0;a=this.Kb();b.isVisible()&&KB(this.ma,"vs");a&&KB(this.ma,"vw");bA(b.volume)&&KB(this.ma,"am");wB(b)?KB(this.ma,"a"):KB(this.ma,"mut");this.jd&&KB(this.ma,"f");b.j!=-1&&(KB(this.ma,"bm"),b.j==1&&(KB(this.ma,"b"),wB(b)&&KB(this.ma,"umutb")));wB(b)&&b.isVisible()&&KB(this.ma,"avs");this.Ra&&a&&KB(this.ma,"avw");b.ba>0&&KB(this.ma,"pv");hC(this, this.Ga().l.g,!0)&&KB(this.ma,"gdr");QA(this.Ga().j,1)>=2E3&&KB(this.ma,"pmx");this.lb&&KB(this.ma,"tvoff")};m.He=function(){return new PB};m.Ga=function(){return this.af};var gC=function(a,b){return a.N[b!=null&&b=0?c:-1;return a}; var fC=function(a){var b=!!az(S().P,"umt");return a.H||!b&&!a.da?0:1},eC=function(a,b){a.xa==2?b=0:a.Se==-1?b=0:(b-=a.Se,b=b>Math.max(1E4,a.l/3)?0:b);var c=a.C(a)||{};c=c.currentTime!==void 0?c.currentTime:a.J;var d=c-a.J,e=0;d>=0?(a.M+=b,a.Y+=Math.max(b-d,0),e=Math.min(d,a.M)):a.ha+=Math.abs(d);d!=0&&(a.M=0);a.oa==-1&&d>0&&(a.oa=Qz>=0?Sz()-Qz:-1);a.J=c;return e};bC.prototype.Zf=function(a){return gA().C?0:this.jd?1:jB.prototype.Zf.call(this,a)};bC.prototype.Za=function(){return 1}; bC.prototype.getDuration=function(){return this.l}; var iC=function(a,b){kc(a.B,function(c){return c.o==b.o})||a.B.push(b)},jC=function(a){var b=OA(a.Ga().g,1);return hC(a,b)},hC=function(a,b,c){return b>=15E3?!0:a.za?(c===void 0?0:c)?!0:a.l>0?b>=a.l/2:a.W>0?b>=a.W:!1:!1},kC=function(a){var b={},c=gA();b.insideIframe=c.l;b.unmeasurable=a.Ib;var d=kB(a),e=a.aa?a.aa.o:null;b.position=d;e&&!Im(d,e)&&(b.containerPosition=e);b.exposure=a.Ha.ba;b.documentSize=c.o;b.viewportSize=new Xl(c.g.getWidth(),c.g.getHeight());a.o!=null&&(b.presenceData=a.o);b.screenShare= a.Ha.Ja;return b},lC=function(a){var b=Zz(a.Ha.ba,2),c=a.ma.l,d=a.Ha,e=gC(a),f=dC(e.o),g=dC(e.B),h=dC(d.volume),k=Zz(e.F,2),l=Zz(e.J,2),n=Zz(d.ba,2),p=Zz(e.M,2),q=Zz(e.R,2);d=Zz(d.Ja,2);var v=kB(a).clone().round();a=a.aa&&a.aa.o?(a.aa?a.aa.o:null).clone().round():null;e=WA(e,!1);return{Pl:b,Nd:c,bf:f,Xe:g,Bd:h,cf:k,Ye:l,ba:n,df:p,Ze:q,Ja:d,position:v,Ed:a,ff:e}},nC=function(a,b){mC(a.g,b,function(){return{Pl:0,Nd:void 0,bf:-1,Xe:-1,Bd:-1,cf:-1,Ye:-1,ba:-1,df:-1,Ze:-1,Ja:-1,position:void 0,Ed:void 0, ff:[]}});a.g[b]=lC(a)},mC=function(a,b,c){for(var d=a.length;d0?1:0;p.atos=MA(l.g);p.ssb=MA(l.lb,!1);p.amtos=PA(l.g,!1);p.uac=a.wd;p.vpt=l.l.g;n=="nio"&&(p.nio=1,p.avms="nio");p.gmm="4";p.gdr=hC(a,l.l.g,!0)?1:0;p.efpf=a.oe;if(n== "gsv"||n=="nis")n=a.aa,n.G>0&&(p.nnut=n.G);p.tcm=fC(a);p.nmt=a.ha;p.bt=a.Y;p.pst=a.oa;p.vpaid=a.H;p.dur=a.l;p.vmtime=a.J;p.is=a.ma.l;a.g.length>=1&&(p.i0=a.g[0].Nd,p.a0=[a.g[0].Bd],p.c0=[a.g[0].ba],p.ss0=[a.g[0].Ja],n=a.g[0].position,f=a.g[0].Ed,p.p0=n?ZB(n):void 0,n&&f&&!Im(f,n)&&(p.cp0=ZB(f)));a.g.length>=2&&(p.i1=a.g[1].Nd,p.a1=rC(a.g[1].bf,a.g[1].Bd,a.g[1].Xe),p.c1=rC(a.g[1].cf,a.g[1].ba,a.g[1].Ye),p.ss1=rC(a.g[1].df,a.g[1].Ja,a.g[1].Ze),n=a.g[1].position,f=a.g[1].Ed,p.p1=n?ZB(n):void 0,n&&f&& !Im(f,n)&&(p.cp1=ZB(f)),p.mtos1=a.g[1].ff);a.g.length>=3&&(p.i2=a.g[2].Nd,p.a2=rC(a.g[2].bf,a.g[2].Bd,a.g[2].Xe),p.c2=rC(a.g[2].cf,a.g[2].ba,a.g[2].Ye),p.ss2=rC(a.g[2].df,a.g[2].Ja,a.g[2].Ze),n=a.g[2].position,f=a.g[2].Ed,p.p2=n?ZB(n):void 0,n&&f&&!Im(f,n)&&(p.cp2=ZB(f)),p.mtos2=a.g[2].ff);a.g.length>=4&&(p.i3=a.g[3].Nd,p.a3=rC(a.g[3].bf,a.g[3].Bd,a.g[3].Xe),p.c3=rC(a.g[3].cf,a.g[3].ba,a.g[3].Ye),p.ss3=rC(a.g[3].df,a.g[3].Ja,a.g[3].Ze),n=a.g[3].position,f=a.g[3].Ed,p.p3=n?ZB(n):void 0,n&&f&&!Im(f, n)&&(p.cp3=ZB(f)),p.mtos3=a.g[3].ff);p.cs=MB(a.ma);b&&(p.ic=LB(a.ma),p.dvpt=l.l.j,p.dvs=RA(l.j,.5),p.dfvs=RA(l.j,1),p.davs=RA(l.g,.5),p.dafvs=RA(l.g,1),c&&(l.l.j=0,SA(l.j),SA(l.g)),a.Kb()&&(p.dtos=l.N,p.dav=l.D,p.dtoss=a.fg+1,c&&(l.N=0,l.D=0,a.fg++)),p.dat=l.A.j,p.dft=l.H.j,c&&(l.A.j=0,l.H.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.ud&&(p.vds=a.ud);if(a.B.length>0||a.Nb)b=xc(a.B),a.Nb&&b.push(a.Nb),p.pings=dc(b,function(q){return q.toString()}); b=dc(cc(a.B,function(q){return q.B()}),function(q){return q.getId()});yc(b);p.ces=b;a.j&&(p.vmer=a.j);a.D&&(p.vmmk=a.D);a.R&&(p.vmiec=a.R);p.avms=a.aa?a.aa.getName():"ns";a.aa&&mm(p,a.aa.Yb());d?(p.c=Zz(a.Ha.ba,2),p.ss=Zz(a.Ha.Ja,2)):p.tth=Sz()-Pz;p.mc=Zz(l.J,2);p.nc=Zz(l.F,2);p.mv=dC(l.B);p.nv=dC(l.o);p.lte=Zz(a.zg,2);d=gC(a,e);WA(l);p.qmtos=WA(d);p.qnc=Zz(d.F,2);p.qmv=dC(d.B);p.qnv=dC(d.o);p.qas=d.o>0?1:0;p.qi=a.ya;p.avms||(p.avms="geo");p.psm=l.W.g;p.psv=l.W.getValue();p.psfv=l.za.getValue();p.psa= l.oa.getValue();k=cz(k.P);k.length&&(p.veid=k);a.o&&mm(p,uB(a.o));p.avas=a.Fe();p.vs=a.Th();p.co=sC(a);p.tm=l.Y;p.tu=l.ga;return p},oC=function(a,b){if(pc(Tr,b))return!0;var c=a.sa[b];return c!==void 0?(a.sa[b]=!0,!c):!1};bC.prototype.Th=function(){return this.Ib?2:jC(this)?5:this.Kb()?4:3};bC.prototype.Fe=function(){return this.Tb?this.Ga().A.l>=2E3?4:3:2};var sC=function(a){var b=a.ga.toString(10).padStart(2,"0");b=""+a.ie+b;a.ga<99&&a.ga++;return b};var tC=ab(),wC=function(){this.g={};var a=tm();uC(this,a,document);var b=vC();try{if("1"==b){for(var c=a.parent;c!=a.top;c=c.parent)uC(this,c,c.document);uC(this,a.top,a.top.document)}}catch(d){}},vC=function(){var a=document.documentElement;try{if(!fk(tm().top))return"2";var b=[],c=tm(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"}},uC=function(a,b,c){aB(c,"mousedown",function(){return xC(a)},301); aB(b,"scroll",function(){return yC(a)},302);aB(c,"touchmove",function(){return zC(a)},303);aB(c,"mousemove",function(){return AC(a)},304);aB(c,"keydown",function(){return BC(a)},305)},xC=function(a){Yl(a.g,function(b){b.l>1E5||++b.l})},yC=function(a){Yl(a.g,function(b){b.g>1E5||++b.g})},zC=function(a){Yl(a.g,function(b){b.g>1E5||++b.g})},BC=function(a){Yl(a.g,function(b){b.j>1E5||++b.j})},AC=function(a){Yl(a.g,function(b){b.o>1E5||++b.o})};var CC=function(){this.g=[];this.j=[]},DC=function(a,b){return lc(a.g,function(c){return c.ya==b})},EC=function(a,b){return b?lc(a.g,function(c){return c.Ma.hc==b}):null},FC=function(a,b){return lc(a.j,function(c){return c.Za()==2&&c.ya==b})},HC=function(){var a=GC;return a.g.length==0?a.j:a.j.length==0?a.g:wc(a.j,a.g)};CC.prototype.reset=function(){this.g=[];this.j=[]}; var IC=function(a,b){a=b.Za()==1?a.g:a.j;var c=mc(a,function(d){return d==b});return c!=-1?(a.splice(c,1),b.aa&&b.aa.D(),b.dispose(),!0):!1},JC=function(a){var b=GC;if(IC(b,a)){switch(a.Za()){case 0:var c=function(){return null};case 2:c=function(){return FC(b,a.ya)};break;case 1:c=function(){return DC(b,a.ya)}}for(var d=c();d;d=c())IC(b,d)}},KC=function(a){var b=GC;a=cc(a,function(c){return!EC(b,c.Ma.hc)});b.g.push.apply(b.g,w(a))},LC=function(a){var b=[];ac(a,function(c){kc(GC.g,function(d){return d.Ma.hc=== c.Ma.hc&&d.ya===c.ya})||(GC.g.push(c),b.push(c))})},GC=L(CC);var MC=function(){this.g=this.j=null},NC=function(a,b){if(a.j==null)return!1;var c=function(d,e){b(d,e)};a.g=lc(a.j,function(d){return d!=null&&d.nh()});a.g&&(a.g.init(c)?oA(a.g.g):b(a.g.g.ed(),a.g));return a.g!=null};var PC=function(a){a=OC(a);uA.call(this,a.length?a[a.length-1]:new kA(T,0));this.l=a;this.j=null};r(PC,uA);m=PC.prototype;m.getName=function(){return(this.j?this.j:this.g).getName()};m.Yb=function(){return(this.j?this.j:this.g).Yb()};m.Db=function(){return(this.j?this.j:this.g).Db()};m.init=function(a){var b=!1;ac(this.l,function(c){c.initialize()&&(b=!0)});b&&(this.o=a,nA(this.g,this));return b};m.dispose=function(){ac(this.l,function(a){a.dispose()});uA.prototype.dispose.call(this)}; m.nh=function(){return kc(this.l,function(a){return a.J()})};m.vd=function(){return kc(this.l,function(a){return a.J()})};m.ge=function(a,b,c){return new WB(a,this.g,b,c)};m.Zb=function(a){this.j=a.j};var OC=function(a){if(!a.length)return[];a=cc(a,function(c){return c!=null&&c.J()});for(var b=1;bc.time?b:c},a[0])};m=RC.prototype;m.Wb=function(){var a=TC(this);a.length>0&&UC(this,a);WB.prototype.Wb.call(this)};m.Tf=function(){}; m.Wh=function(){return!1};m.Eh=function(){};m.Yb=function(){var a={};return Object.assign(this.l.Yb(),(a.niot_obs=this.M,a.niot_cbk=this.J,a))};m.getName=function(){return"nio"};var WC=function(a){a=a===void 0?T:a;uA.call(this,new kA(a,2))};r(WC,uA);WC.prototype.getName=function(){return"nio"};WC.prototype.vd=function(){return!gA().j&&this.g.g.l.IntersectionObserver!=null};WC.prototype.ge=function(a,b,c){return new RC(a,this.g,b,c)};var YC=function(){var a=XC();kA.call(this,T.top,a,"geo")};r(YC,kA);YC.prototype.oa=function(){return gA().g};YC.prototype.J=function(){var a=XC();this.D!==a&&(this.g!=this&&a>this.g.D&&(this.g=this,lA(this)),this.D=a);return a==2};var XC=function(){S();var a=gA();return a.l||a.j?0:2};var ZC=function(){};var $C=function(){this.done=!1;this.g={Jj:0,th:0,bo:0,Kh:0,vg:-1,Yj:0,Xj:0,Zj:0,wl:0};this.A=null;this.B=!1;this.l=null;this.F=0;this.j=new iA(this)},cD=function(){var a=aD;a.B||(a.B=!0,bD(a,function(){return a.o.apply(a,w(Ia.apply(0,arguments)))}),a.o())};$C.prototype.sample=function(){dD(this,HC(),!1)}; var eD=function(){L(ZC);var a=L(MC);a.g!=null&&a.g.g?oA(a.g.g):cA(gA())},dD=function(a,b,c){if(!a.done&&(a.j.cancel(),b.length!=0)){a.l=null;try{eD();var d=Sz();S().F=d;if(L(MC).g!=null)for(var e=0;e=0?Sz()-Oz:-1,h=Sz();e.g.vg==-1&&(g=h);var k=gA(),l=S(),n=bz(l.P),p=HC();try{if(p.length>0){var q=k.g;q&&(n.bs=[q.getWidth(),q.getHeight()]);var v=k.o;v&&(n.ps=[v.width,v.height]); T.screen&&(n.scs=[T.screen.width,T.screen.height])}else n.url=encodeURIComponent(T.location.href.substring(0,512)),f.referrer&&(n.referrer=encodeURIComponent(f.referrer.substring(0,512)));n.tt=g;n.pt=Oz;n.bin=l.j;T.google_osd_load_pub_page_exp!==void 0&&(n.olpp=T.google_osd_load_pub_page_exp);n.deb=[1,e.g.Jj,e.g.th,e.g.Kh,e.g.vg,0,e.j.j,e.g.Yj,e.g.Xj,e.g.Zj,e.g.wl,-1].join(";");n.tvt=fD(e,h);k.j&&(n.inapp=1);if(T!==null&&T!=T.top){p.length>0&&(n.iframe_loc=encodeURIComponent(T.location.href.substring(0, 512)));var t=k.G;n.is=[t.getWidth(),t.getHeight()]}}catch(x){n.error=1}aD.l=n}q=km(aD.l);v=S().g;if(az(v.l,"prf")==1){t=new sz;e=v.g;f=0;e.g>-1&&(f=e.l.g.now()-e.g);e=e.o+f;if(e!=null&&typeof e!=="number")throw Error("Value of float/double field must be a number, found "+typeof e+": "+e);t=Vg(t,1,e,0);e=v.g;t=wh(t,5,e.g>-1?e.j+1:e.j);t=zh(t,2,v.j.g.l());t=zh(t,3,v.j.g.j());v=zh(t,4,v.j.g.g());t={};v=(t.pf=Uc(v.j()),t)}else v={};mm(q,v);mm(b,d,c,q,a())}])},aD=L($C);var iD=null,jD="",kD=!1,lD=function(){var a=iD||T;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 mD(){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 nD=function(){return"ima_html5_sdk".includes("ima_html5_sdk")?{ob:"ima",pb:null}:"ima_html5_sdk".includes("ima_native_sdk")?{ob:"nima",pb:null}:"ima_html5_sdk".includes("admob-native-video-javascript")?{ob:"an",pb:null}:"av.default_js_unreleased_RCxx".includes("cast_js_sdk")?{ob:"cast",pb:mD()}:"av.default_js_unreleased_RCxx".includes("youtube.player.web")?{ob:"yw",pb:mD()}:"av.default_js_unreleased_RCxx".includes("outstream_web_client")?{ob:"out",pb:mD()}:"av.default_js_unreleased_RCxx".includes("drx_rewarded_web")? {ob:"r",pb:mD()}:"av.default_js_unreleased_RCxx".includes("gam_native_web_video")?{ob:"n",pb:mD()}:"av.default_js_unreleased_RCxx".includes("admob_interstitial_video")?{ob:"int",pb:mD()}:{ob:"j",pb:null}},oD=nD().ob,pD=nD().pb;var rD=function(a,b){var c={sv:"968"};pD!==null&&(c.v=pD);c.cb=oD;c.nas=GC.g.length;c.msg=a;b!==void 0&&(a=qD(b))&&(c.e=Ur[a]);return c},sD=function(a){return a.lastIndexOf("custom_metric_viewable",0)==0},qD=function(a){var b=sD(a)?"custom_metric_viewable":a.toLowerCase();return fm(function(c){return c==b})};var tD={rm:"visible",dm:"audible",Cn:"time",Dn:"timetype"},uD={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)}},vD=function(){this.g=void 0;this.j=!1;this.l=0;this.o=-1;this.A="tos"},wD=function(a){try{var b=a.split(",");return b.length>cm(tD).length?null:jc(b,function(c,d){d=d.toLowerCase().split("=");if(d.length!=2||uD[d[0]]=== void 0||!uD[d[0]](d[1]))throw Error("Entry ("+d[0]+", "+d[1]+") is invalid.");c[d[0]]=d[1];return c},{})}catch(c){return null}},xD=function(a,b){if(a.g==void 0)return 0;switch(a.A){case "mtos":return a.j?QA(b.g,a.g):QA(b.j,a.g);case "tos":return a.j?OA(b.g,a.g):OA(b.j,a.g)}return 0};var yD=function(a,b,c,d){SB.call(this,b,d);this.F=a;this.G=c};r(yD,SB);yD.prototype.getId=function(){return this.F};yD.prototype.B=function(){return!0};yD.prototype.g=function(a){var b=a.Ga(),c=a.getDuration();return kc(this.G,function(d){if(d.g!=void 0)var e=xD(d,b);else b:{switch(d.A){case "mtos":e=d.j?b.A.l:b.l.g;break b;case "tos":e=d.j?b.A.g:b.l.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 zD=function(){};r(zD,HB);zD.prototype.g=function(a){var b=new GB;b.g=IB(a,DB);b.j=IB(a,FB);return b};var AD=function(a){SB.call(this,"fully_viewable_audible_half_duration_impression",a)};r(AD,SB);AD.prototype.g=function(a){return jC(a)};var BD=function(a){this.g=a};r(BD,UB);var CD=function(a,b){SB.call(this,a,b)};r(CD,SB);CD.prototype.g=function(a){return a.Ga().Kb()};var DD=function(a){TB.call(this,"measurable_impression",a)};r(DD,TB);DD.prototype.g=function(a){var b=pc(this.F,az(S().P,"ovms"));return!a.Ib&&(a.xa!=0||b)};var ED=function(){BD.apply(this,arguments)};r(ED,BD);ED.prototype.j=function(){return new DD(this.g)};ED.prototype.l=function(){return[new CD("viewable_impression",this.g),new AD(this.g)]};var FD=function(a,b,c){YB.call(this,a,b,c)};r(FD,YB);FD.prototype.A=function(){var a=Na("ima.admob.getViewability"),b=az(this.P,"queryid");typeof a==="function"&&b&&a(b)};FD.prototype.getName=function(){return"gsv"};var GD=function(a){a=a===void 0?T:a;uA.call(this,new kA(a,2))};r(GD,uA);GD.prototype.getName=function(){return"gsv"};GD.prototype.vd=function(){var a=gA();S();return a.j&&!1};GD.prototype.ge=function(a,b,c){return new FD(this.g,b,c)};var HD=function(a,b,c){YB.call(this,a,b,c)};r(HD,YB);HD.prototype.A=function(){var a=this,b=Na("ima.bridge.getNativeViewability"),c=az(this.P,"queryid");typeof b==="function"&&c&&b(c,function(d){hm(d)&&a.G++;var e=d.opt_nativeViewVisibleBounds||{},f=d.opt_nativeViewHidden;a.g=aA(d.opt_nativeViewBounds||{});var g=a.l.o;g.g=f?XB.clone():aA(e);a.timestamp=d.opt_nativeTime||-1;gA().g=g.g;d=d.opt_nativeVolume;d!==void 0&&(g.volume=d)})};HD.prototype.getName=function(){return"nis"};var ID=function(a){a=a===void 0?T:a;uA.call(this,new kA(a,2))};r(ID,uA);ID.prototype.getName=function(){return"nis"};ID.prototype.vd=function(){var a=gA();S();return a.j&&!1};ID.prototype.ge=function(a,b,c){return new HD(this.g,b,c)};var JD=function(){kA.call(this,T,2,"mraid");this.za=0;this.N=this.R=!1;this.C=null;this.j=Wz(this.l);this.o.g=new Hm(0,0,0,0);this.Ra=!1};r(JD,kA);JD.prototype.J=function(){return this.j.ab!=null};JD.prototype.ha=function(){var a={};this.za&&(a.mraid=this.za);this.R&&(a.mlc=1);a.mtop=this.j.vl;this.C&&(a.mse=this.C);this.Ra&&(a.msc=1);a.mcp=this.j.ye;return a}; JD.prototype.G=function(a){var b=Ia.apply(1,arguments);try{return this.j.ab[a].apply(this.j.ab,b)}catch(c){Lz(538,c,.01,function(d){d.method=a})}};var KD=function(a,b,c){a.G("addEventListener",b,c)}; JD.prototype.initialize=function(){var a=this;if(this.A)return!this.Ld();this.A=!0;if(this.j.ye===2)return this.C="ng",mA(this,"w"),!1;if(this.j.ye===1)return this.C="mm",mA(this,"w"),!1;gA().D=!0;this.l.document.readyState&&this.l.document.readyState=="complete"?LD(this):aB(this.l,"load",function(){oz().setTimeout(Kz(292,function(){return LD(a)}),100)},292);return!0}; var LD=function(a){S().A=!!a.G("isViewable");KD(a,"viewableChange",MD);a.G("getState")==="loading"?KD(a,"ready",ND):OD(a)},OD=function(a){typeof a.j.ab.AFMA_LIDAR==="string"?(a.R=!0,PD(a)):(a.j.ye=3,a.C="nc",mA(a,"w"))},PD=function(a){a.N=!1;var b=az(S().P,"rmmt")==1,c=!!a.G("isViewable");(b?!c:1)&&oz().setTimeout(Kz(524,function(){a.N||(QD(a),Lz(540,Error()),a.C="mt",mA(a,"w"))}),500);RD(a);KD(a,a.j.ab.AFMA_LIDAR,SD)},RD=function(a){var b=az(S().P,"sneio")==1,c=a.j.ab.AFMA_LIDAR_EXP_1!==void 0,d= a.j.ab.AFMA_LIDAR_EXP_2!==void 0;(b=b&&d)&&(a.j.ab.AFMA_LIDAR_EXP_2=!0);c&&(a.j.ab.AFMA_LIDAR_EXP_1=!b)},QD=function(a){a.G("removeEventListener",a.j.ab.AFMA_LIDAR,SD);a.R=!1};JD.prototype.Y=function(){var a=gA(),b=TD(this,"getMaxSize");a.g=new Hm(0,b.width,b.height,0)};JD.prototype.ga=function(){gA().A=TD(this,"getScreenSize")}; var TD=function(a,b){if(a.G("getState")==="loading")return new Xl(-1,-1);b=a.G(b);if(!b)return new Xl(-1,-1);a=parseInt(b.width,10);b=parseInt(b.height,10);return isNaN(a)||isNaN(b)?new Xl(-1,-1):new Xl(a,b)};JD.prototype.dispose=function(){QD(this);kA.prototype.dispose.call(this)}; var ND=function(){try{var a=L(JD);a.G("removeEventListener","ready",ND);OD(a)}catch(b){Lz(541,b)}},SD=function(a,b){try{var c=L(JD);c.N=!0;var d=a?new Hm(a.y,a.x+a.width,a.y+a.height,a.x):new Hm(0,0,0,0);var e=Sz(),f=hA();var g=new Uz(e,f,c);g.g=d;g.volume=b;c.Zb(g)}catch(h){Lz(542,h)}},MD=function(a){var b=S(),c=L(JD);a&&!b.A&&(b.A=!0,c.Ra=!0,c.C&&mA(c,"w",!0))};var UD=function(a){this.key=a;this.defaultValue=!1;this.valueType="boolean"};var VD=new UD("45381479"),WD=new UD("45378663");var YD=function(){this.A=!1;this.N="";this.l=!1;this.g=this.j=null;var a={};this.Y=(a.start=this.vk,a.firstquartile=this.qk,a.midpoint=this.sk,a.thirdquartile=this.wk,a.complete=this.mk,a.error=this.nk,a.pause=this.Ng,a.resume=this.ni,a.skip=this.uk,a.viewable_impression=this.sb,a.mute=this.td,a.unmute=this.td,a.fullscreen=this.rk,a.exitfullscreen=this.pk,a.fully_viewable_audible_half_duration_impression=this.sb,a.measurable_impression=this.sb,a.abandon=this.Ng,a.engagedview=this.sb,a.impression= this.sb,a.creativeview=this.sb,a.progress=this.td,a.custom_metric_viewable=this.sb,a.bufferstart=this.Ng,a.bufferfinish=this.ni,a.audio_measurable=this.sb,a.audio_audible=this.sb,a);a={};this.da=(a.overlay_resize=this.tk,a.abandon=this.tg,a.close=this.tg,a.collapse=this.tg,a.overlay_unmeasurable_impression=function(b){return qC(b,"overlay_unmeasurable_impression",hA())},a.overlay_viewable_immediate_impression=function(b){return qC(b,"overlay_viewable_immediate_impression",hA())},a.overlay_unviewable_impression= function(b){return qC(b,"overlay_unviewable_impression",hA())},a.overlay_viewable_end_of_session_impression=function(b){return qC(b,"overlay_viewable_end_of_session_impression",hA())},a);S().j=3;XD(this);this.C=null};YD.prototype.o=function(a){lB(a,!1);JC(a)};YD.prototype.D=function(){};var ZD=function(a,b,c,d){a=a.B(null,d,!0,b);a.A=c;KC([a]);return a}; YD.prototype.B=function(a,b,c,d){var e=this;a=new bC(T,a,c?b:-1,7,this.bg(),this.Ih());a.ya=d;Zy(a.P);$y(a.P,"queryid",a.ya);a.sf(this.N);qB(a,function(){return e.W.apply(e,w(Ia.apply(0,arguments)))},function(){return e.ga.apply(e,w(Ia.apply(0,arguments)))});(d=L(MC).g)&&mB(a,d);this.C&&(a.aa&&(a.aa.B=this.C),this.C=null);a.Ma.hc&&L(ZC);return a}; var $D=function(a,b,c){Mr(b);var d=a.g;ac(b,function(e){var f=dc(e.g,function(g){var h=wD(g);if(h==null)g=null;else if(g=new vD,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=h.time,n=l.length-1;l=n>=0&&l.indexOf("%",n)==n?"%":"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});kc(f,function(g){return g==null})||iC(c,new yD(e.id,e.event,f,d))})},aE=function(){var a= [],b=S();a.push(L(YC));az(b.P,"mvp_lv")&&a.push(L(JD));b=[new GD,new ID];b.push(new PC(a));b.push(new WC(T));return b},cE=function(a){if(!a.A){a.A=!0;try{var b=Sz(),c=S(),d=gA();Oz=b;c.o=79463069;a.j!=="o"&&(iD=gk(T));if(pz()){aD.g.th=0;aD.g.vg=Sz()-b;var e=aE(),f=L(MC);f.j=e;NC(f,function(){bE()})?aD.done||(gD(),nA(f.g.g,a),cD()):d.l?bE():cD()}else kD=!0}catch(g){throw GC.reset(),g;}}},dE=function(a){aD.j.cancel();jD=a;aD.done=!0},eE=function(a){if(a.j)return a.j;var b=L(MC).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},fE=function(a,b,c){if(a.g==null)return b.ud|=4,!1;a=a.g.report(c,b);b.ud|=a;return a==0};YD.prototype.hd=function(a){switch(a.Db()){case 0:if(a=L(MC).g)a=a.g,qc(a.F,this),a.H&&this.xb()&&qA(a);bE();break;case 2:cD()}};YD.prototype.Zb=function(){};YD.prototype.xb=function(){return!1};var bE=function(){var a=[new WC(T)],b=L(MC);b.j=a;NC(b,function(){dE("i")})?aD.done||(gD(),cD()):dE("i")}; YD.prototype.ga=function(a,b){a.Ib=!0;switch(a.Za()){case 1:gE(a,b);break;case 2:this.Tg(a)}this.Vg(a)};var gE=function(a,b){if(!a.xd){var c=qC(a,"start",hA());c=a.Og.g(c).g;var d={id:"lidarv"};d.r=b;d.sv="968";pD!==null&&(d.v=pD);br(c,function(e,f){return d[e]=e=="mtos"||e=="tos"?f:encodeURIComponent(f)});b=lD();br(b,function(e,f){return d[e]=encodeURIComponent(f)});b="//pagead2.googlesyndication.com/pagead/gen_204?"+BA(zA(new xA,d));EA(b);a.xd=!0}};m=YD.prototype; m.vk=function(a){var b=a.C(a);b&&(b=b.volume,a.Tb=bA(b)&&b>0);nC(a,0);return qC(a,"start",hA())};m.td=function(a,b,c){dD(aD,[a],!hA());return this.sb(a,b,c)};m.sb=function(a,b,c){return qC(a,c,hA())};m.qk=function(a){return hE(a,"firstquartile",1)};m.sk=function(a){a.za=!0;return hE(a,"midpoint",2)};m.wk=function(a){return hE(a,"thirdquartile",3)};m.mk=function(a){var b=hE(a,"complete",4);cC(a);return b};m.nk=function(a){a.xa=3;return qC(a,"error",hA())}; var hE=function(a,b,c){dD(aD,[a],!hA());nC(a,c);c!=4&&mC(a.N,c,a.He);return qC(a,b,hA())};m=YD.prototype;m.ni=function(a,b,c){b=hA();a.xa!=2||b||(a.Ga().G=Sz());dD(aD,[a],!b);a.xa==2&&(a.xa=1);return qC(a,c,b)};m.uk=function(a,b){b=this.td(a,b||{},"skip");cC(a);return b};m.rk=function(a,b){lB(a,!0);return this.td(a,b||{},"fullscreen")};m.pk=function(a,b){lB(a,!1);return this.td(a,b||{},"exitfullscreen")}; m.Ng=function(a,b,c){b=a.Ga();b.da=QB(b,Sz(),a.xa!=1);dD(aD,[a],!hA());a.xa==1&&(a.xa=2);return qC(a,c,hA())};m.tk=function(a){dD(aD,[a],!hA());return a.j()};m.tg=function(a){dD(aD,[a],!hA());this.ji(a);cC(a);return a.j()}; var XD=function(a){hD(function(){var b=iE();a.j!=null&&(b.sdk=a.j);var c=L(MC);c.g!=null&&(b.avms=c.g.getName());return b})},jE=function(a,b,c,d){var e=EC(GC,c);e!==null&&e.ya!==b&&(a.o(e),e=null);e||(b=a.B(c,Sz(),!1,b),GC.j.length==0&&(S().o=79463069),LC([b]),e=b,e.A=eE(a),d&&(e.oc=d));return e};YD.prototype.W=function(){};var lE=function(a,b){b.D=0;for(var c in Qr)a[c]==null&&(b.D|=Qr[c]);kE(a,"currentTime");kE(a,"duration")};m=YD.prototype;m.Tg=function(){};m.ji=function(){};m.oh=function(){}; m.Vg=function(){};m.cg=function(){};m.Ih=function(){this.g||(this.g=this.cg());return this.g==null||this.l?new VB:new ED(this.g)};m.bg=function(){return new zD};var kE=function(a,b){var c=a[b];c!==void 0&&c>0&&(a[b]=Math.floor(c*1E3))},iE=function(){var a=gA(),b={},c={},d={};return Object.assign({},(b.sv="968",b),pD!==null&&(c.v=pD,c),(d["if"]=a.l?"1":"0",d.nas=String(GC.g.length),d))};var mE=function(a){SB.call(this,"audio_audible",a)};r(mE,SB);mE.prototype.g=function(a){return a.Fe()==4};var nE=function(a){TB.call(this,"audio_measurable",a)};r(nE,TB);nE.prototype.g=function(a){a=a.Fe();return a==3||a==4};var oE=function(){BD.apply(this,arguments)};r(oE,BD);oE.prototype.j=function(){return new nE(this.g)};oE.prototype.l=function(){return[new mE(this.g)]};var pE=function(){};r(pE,HB);pE.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 GB;b.g=IB(a,EB);b.j=IB(a,FB);return b};var qE=function(a){this.j=a};qE.prototype.report=function(a,b){var c=this.g(b);if(typeof c==="function"){var d={};var e={};d=Object.assign({},pD!==null&&(d.v=pD,d),(e.sv="968",e.cb=oD,e.e=rE(a),e));e=qC(b,a,hA());mm(d,e);b.Ki[a]=e;d=b.Za()==2?DA(d).join("&"):b.Og.g(d).g;try{return c(b.ya,d,a),0}catch(f){return 2}}else return 1};var rE=function(a){var b=sD(a)?"custom_metric_viewable":a;a=fm(function(c){return c==b});return Ur[a]};qE.prototype.g=function(){return Na(this.j)};var sE=function(a,b){this.j=a;this.l=b};r(sE,qE);sE.prototype.g=function(a){if(!a.oc)return qE.prototype.g.call(this,a);if(this.l[a.oc])return function(){};Lz(393,Error());return null};var tE=function(){YD.call(this);this.J=void 0;this.M=null;this.H=!1;this.G={};this.R=0;this.F="ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED"};r(tE,YD);var uE=function(){var a=L(tE),b=eE(a)=="h"||eE(a)=="b",c=!(S(),!1);b&&c&&(a.H=!0,a.M=new wC)}; tE.prototype.D=function(a,b){var c=this,d=L(MC);if(d.g!=null)switch(d.g.getName()){case "nis":var e=vE(this,a,b);break;case "gsv":e=wE(this,a,b);break;case "exc":e=xE(this,a)}e||(b.opt_overlayAdElement?e=void 0:b.opt_adElement&&(e=jE(this,a,b.opt_adElement,b.opt_osdId)));e&&e.Za()==1&&(e.C==hk&&(e.C=function(f){return c.oh(f)}),yE(this,e,b));return e};var yE=function(a,b,c){c=c.opt_configurable_tracking_events;a.g!=null&&Array.isArray(c)&&$D(a,c,b)}; tE.prototype.oh=function(a){a.j=0;a.R=0;if(a.A=="h"||a.A=="n"){if(S().l)var b=Na("ima.bridge.getVideoMetadata");else if(a.oc&&zE(this)){var c=this.G[a.oc];c?b=function(e){return AE(c,e)}:c!==null&&Lz(379,Error())}else b=Na("ima.common.getVideoMetadata");if(typeof b==="function")try{var d=b(a.ya)}catch(e){a.j|=4}else a.j|=2}else if(a.A=="b")if(b=Na("ytads.bulleit.getVideoMetadata"),typeof b==="function")try{d=b(a.ya)}catch(e){a.j|=4}else a.j|=2;else if(a.A=="ml")if(b=Na("ima.common.getVideoMetadata"), typeof b==="function")try{d=b(a.ya)}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:hm(d)?a.j|=32:d.errorCode!=null&&(a.R=d.errorCode,a.j|=64));d==null&&(d={});lE(d,a);bA(d.volume)&&bA(this.J)&&(d.volume*=this.J);return d}; var wE=function(a,b,c){var d=DC(GC,b);d||(d=c.opt_nativeTime||-1,d=ZD(a,b,eE(a),d),c.opt_osdId&&(d.oc=c.opt_osdId));return d},vE=function(a,b,c){var d=DC(GC,b);d||(d=ZD(a,b,"n",c.opt_nativeTime||-1));return d},xE=function(a,b){var c=DC(GC,b);c||(c=ZD(a,b,"h",-1));return c};tE.prototype.cg=function(){if(zE(this))return new sE("ima.common.triggerExternalActivityEvent",this.G);var a=BE(this);return a!=null?new qE(a):null}; var BE=function(a){var b=S();switch(eE(a)){case "b":return"ytads.bulleit.triggerExternalActivityEvent";case "n":return"ima.bridge.triggerExternalActivityEvent";case "h":if(b.l)return"ima.bridge.triggerExternalActivityEvent";case "m":case "ml":return"ima.common.triggerExternalActivityEvent"}return null};tE.prototype.Tg=function(a){!a.g&&a.Ib&&fE(this,a,"overlay_unmeasurable_impression")&&(a.g=!0)}; tE.prototype.ji=function(a){a.si&&(a.Kb()?fE(this,a,"overlay_viewable_end_of_session_impression"):fE(this,a,"overlay_unviewable_impression"),a.si=!1)}; var CE=function(a,b,c,d){c=c===void 0?{}:c;var e={};mm(e,{opt_adElement:void 0,opt_fullscreen:void 0},c);var f=a.D(b,c);c=f?f.Og:a.bg();if(e.opt_bounds)return c.g(rD("ol",d));if(d!==void 0)if(qD(d)!==void 0)if(kD)a=rD("ue",d);else if(cE(a),jD=="i")a=rD("i",d),a["if"]=0;else if(b=a.D(b,e)){b:{jD=="i"&&(b.Ib=!0,a.Vg(b));f=e.opt_fullscreen;f!==void 0&&lB(b,!!f);var g;if(g=!gA().j&&!Us()&&mz(oz().j)){switch(b.Za()){case 1:gE(b,"pv");break;case 2:a.Tg(b)}dE("pv")}f=d.toLowerCase();if(g=!g)c:{if(az(S().P, "ssmol")&&(g=a.l,f==="loaded"))break c;g=pc(Rr,f)}if(g&&b.xa==0){jD!="i"&&(aD.done=!1);g=e!==void 0?e.opt_nativeTime:void 0;Qz=g=typeof g==="number"?g:Sz();b.Hd=!0;var h=hA();b.xa=1;b.sa={};b.sa.start=!1;b.sa.firstquartile=!1;b.sa.midpoint=!1;b.sa.thirdquartile=!1;b.sa.complete=!1;b.sa.resume=!1;b.sa.pause=!1;b.sa.skip=!1;b.sa.mute=!1;b.sa.unmute=!1;b.sa.viewable_impression=!1;b.sa.measurable_impression=!1;b.sa.fully_viewable_audible_half_duration_impression=!1;b.sa.fullscreen=!1;b.sa.exitfullscreen= !1;b.fg=0;h||(b.Ga().G=g);dD(aD,[b],!h)}(g=b.Wc[f])&&KB(b.ma,g);az(S().P,"fmd")||pc(Sr,f)&&b.Nb&&b.Nb.j(b,null);switch(b.Za()){case 1:var k=sD(f)?a.Y.custom_metric_viewable:a.Y[f];break;case 2:k=a.da[f]}if(k&&(d=k.call(a,b,e,d),az(S().P,"fmd")&&pc(Sr,f)&&b.Nb&&b.Nb.j(b,null),d!==void 0)){e=rD(void 0,f);mm(e,d);d=e;break b}d=void 0}b.xa==3&&a.o(b);a=d}else a=rD("nf",d);else a=void 0;else kD?a=rD("ue"):f?(a=rD(),mm(a,pC(f,!0,!1,!1))):a=rD("nf");return typeof a==="string"?c.g():c.g(a)}; tE.prototype.W=function(a){this.l&&a.Za()==1&&DE(this,a)};tE.prototype.Vg=function(a){this.l&&a.Za()==1&&DE(this,a)};var DE=function(a,b){var c;if(b.oc&&zE(a)){var d=a.G[b.oc];d?c=function(f,g){EE(d,f,g)}:d!==null&&Lz(379,Error())}else c=Na("ima.common.triggerViewabilityMeasurementUpdate");if(typeof c==="function"){var e=kC(b);e.nativeVolume=a.J;c(b.ya,e)}},zE=function(a){return S().l||eE(a)!="h"&&eE(a)!="m"?!1:a.R!=0}; tE.prototype.B=function(a,b,c,d){if(xz(S().flags,WD)){var e=az(S().P,"mm"),f={};(e=(f[Pr.Ni]="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO",f[Pr.VIDEO]="ACTIVE_VIEW_TRAFFIC_TYPE_VIDEO",f)[e])&&e&&(this.F=e);this.F==="ACTIVE_VIEW_TRAFFIC_TYPE_UNSPECIFIED"&&Lz(1044,Error())}a=YD.prototype.B.call(this,a,b,c,d);this.H&&(b=this.M,a.o==null&&(a.o=new tB),b.g[a.ya]=a.o,a.o.A=tC);return a};tE.prototype.o=function(a){a&&a.Za()==1&&this.H&&delete this.M.g[a.ya];return YD.prototype.o.call(this,a)}; tE.prototype.Ih=function(){this.g||(this.g=this.cg());return this.g==null||this.l?new VB:this.F==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new oE(this.g):new ED(this.g)};tE.prototype.bg=function(){return this.F==="ACTIVE_VIEW_TRAFFIC_TYPE_AUDIO"?new pE:new zD};var FE=function(a){var b={};return b.viewability=a.g,b.googleViewability=a.j,b},GE=function(a,b,c){c=c===void 0?{}:c;a=CE(L(tE),b,c,a);return FE(a)};C("Goog_AdSense_Lidar_sendVastEvent",Kz(193,GE,void 0,iE)); C("Goog_AdSense_Lidar_getViewability",Kz(194,function(a,b){b=b===void 0?{}:b;a=CE(L(tE),a,b);return FE(a)}));C("Goog_AdSense_Lidar_getUrlSignalsArray",Kz(195,function(){return qz()}));C("Goog_AdSense_Lidar_getUrlSignalsList",Kz(196,function(){return JSON.stringify(qz())}));var HE=sa(["//ep2.adtrafficquality.google/sodar/",""]),IE=sa(["//tpc.googlesyndication.com/sodar/",""]);B.console&&typeof B.console.log==="function"&&Ya(B.console.log,B.console);var JE=function(a){for(var b=[],c=a=tm(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};var KE=function(){return Math.round(Date.now()/1E3)};var LE=function(){this.g={};return this};LE.prototype.remove=function(a){var b=this.g;a in b&&delete b[a]};LE.prototype.set=function(a,b){this.g[a]=b};var ME=function(a,b){a.g.eb=jm(a.g,"eb",0)|b};LE.prototype.get=function(a){return jm(this.g,a,null)};var NE=null,OE=function(){this.g={};this.j=0},PE=function(){NE||(NE=new OE);return NE},QE=function(a,b){a.g[b.getName()]=b},RE=function(a,b){this.o=a;this.l=!0;this.g=b};RE.prototype.getName=function(){return this.o};RE.prototype.getValue=function(){return this.g};RE.prototype.j=function(){return String(this.g)};var SE=function(a,b){RE.call(this,String(a),b);this.A=a;this.g=!!b};r(SE,RE);SE.prototype.j=function(){return this.g?"1":"0"};var TE=function(a,b){RE.call(this,a,b)};r(TE,RE); TE.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 UE=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 TE("",new Km(c,b,Number(a[3])-c,Number(a[2])-b))}return new TE("",new Km(0,0,0,0))};var VE=function(a){var b=new Km(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new Km(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d0?(e=Lm(b),f=Lm(c),e=e.top>=f.top&&e.top0?(e=Lm(b),f=Lm(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;QE(a,new SE(1024,e));d&&d>0?(e=Lm(b),f=Lm(c),e=e.left>=f.left&&e.left0?(b=Lm(b),c=Lm(c),c=b.right<=c.right&&b.right>c.left):c=!1;QE(a,new SE(4096,c))}};var YE=function(a,b){var c=0;dm(tm(),"ima","video","client","tagged")&&(c=1);var d=null;a&&(d=a());if(d){a=PE();a.g={};var e=new SE(32,!0);e.l=!1;QE(a,e);e=tm().document;e=e.visibilityState||e.webkitVisibilityState||e.mozVisibilityState||e.msVisibilityState||"";QE(a,new SE(64,e.toLowerCase().substring(e.length-6)!="hidden"?!0:!1));a:{try{var f=tm().top;try{var g=!!f.location.href||f.location.href===""}catch(n){g=!1}if(g){var h=JE(d);var k=h&&h.length!=0?"1":"0";break a}k="2";break a}catch(n){k="2"; break a}k=void 0}QE(a,new SE(256,k=="2"));QE(a,new SE(128,k=="1"));h=g=tm().top;k=="2"&&(h=tm());f=WE(d,h);QE(a,new TE("er",f));try{var l=h.document&&!h.document.body?null:sm(h||window)}catch(n){l=null}l?(h=Gm(pm(h.document)),QE(a,new SE(16384,!!h)),l=h?new Km(h.x,h.y,l.width,l.height):null):l=null;QE(a,new TE("vi",l));if(l&&"1"==k){k=JE(d);d=[];for(h=0;h0?Math.round(window.performance.timing.domLoading/1E3):null;c.set.call(c,"td",KE()-(a!=null?a:b!=null?b:KE()))};new wy(200); var ZE=function(a,b){try{var c=new YE(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 SE)p.getValue()&&(e|=p.A);else{var q=l.g[n],v=q.l?q.j():"";v&&f.push(n+v)}}f.push("eb"+String(e));(k=f.join("_"))&&a.push(k);c.g.set("eb",d);return a.join("_")}catch(t){return"tle;"+pl(t.name,12)+";"+pl(t.message, 40)}};var $E=function(a){this.I=G(a)};r($E,J);var aF=function(a){var b=new $E;return Ch(b,1,a)};var bF=[0,Pj];var cF=function(a){this.I=G(a)};r(cF,J);var dF=function(a){var b=new cF;return Ah(b,1,a)},eF=function(a){var b=window.Date.now();b=Number.isFinite(b)?Math.round(b):0;return yh(a,3,b)};cF.prototype.getError=function(){return H(this,$E,10)};cF.prototype.Ka=function(a){return ih(this,10,a)};var fF=Vj(cF);var gF=[0,Jj,-1,Cj,Fj,-2,Cj,Bj,Hj,bF,Hj];var hF=[0,1,[0,Ej,-2],-1,Jj,-1,Hj,[0,3,Pj,Jj],Cj,Qj,Nj];var iF=function(a){this.I=G(a)};r(iF,J);iF.prototype.j=Tj([0,Kj,hF,Kj,gF]);var jF=function(a){this.I=G(a)};r(jF,J);var kF=Vj(jF);var nF=function(){var a=lF;this.A=mF;this.B="jserror";this.j=!0;this.g=a===void 0?null:a;this.l=null;this.o=!1;this.Ea=this.Mb};m=nF.prototype;m.Wg=function(a){this.l=a};m.oi=function(a){this.B=a};m.Xg=function(a){this.j=a};m.ri=function(a){this.o=a}; m.Pc=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{ro(d),b=this.Ea(a,new bk(h,{message:dk(h)}),void 0,c)}catch(k){this.Mb(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.Qg=function(a,b,c,d){var e=this;return function(){var f=Ia.apply(0,arguments);return e.Pc(a,function(){return b.apply(c,f)},d)}}; m.Mb=function(a,b,c,d,e){e=e||this.B;var f=void 0;try{var g=new Fv;Kv(g,1,"context",a);ck(b)||(b=new bk(b,{message:dk(b)}));b.msg&&Kv(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){}Jv(g,3,[h]);f=Ev();f.j&&Kv(g,4,"top",f.j.url||"");Jv(g,5,[{url:f.g.url||""},{url:f.g.url?ar(f.g.url):""}]);oF(this.A,e,g,this.o,c)}catch(n){try{var k,l;oF(this.A,e,{context:"ecmserr",rctx:a,msg:dk(n),url:(l=(k=f)==null?void 0:k.g.url)!=null?l:""},this.o,c)}catch(p){}}return this.j};var pF=function(){this.domain="pagead2.googlesyndication.com";this.path="/pagead/gen_204?id=";this.g=Math.random()},qF=function(){var a=mF,b=window.google_srt;b>=0&&b<=1&&(a.g=b)},oF=function(a,b,c,d,e){if(((d===void 0?0:d)?a.g:Math.random())<(e||.01))try{if(c instanceof Fv)var f=c;else f=new Fv,ek(c,function(h,k){var l=f,n=l.o++;Jv(l,n,Gv(k,h))});var g=Mv(f,"https:",a.domain,a.path+b+"&");g&&$m(B,g)}catch(h){}};var mF,rF,lF=new qo(1,window);(function(a){mF=a!=null?a:new pF;typeof window.google_srt!=="number"&&(window.google_srt=Math.random());qF();rF=new nF;rF.Wg(function(){});rF.ri(!0);window.document.readyState==="complete"?window.google_measure_js_timing||lF.B():lF.l&&Ym(window,"load",function(){window.google_measure_js_timing||lF.B()})})();var sF=function(a){this.g=a;this.defaultValue=!1},tF=function(a,b){this.g=a;this.defaultValue=b===void 0?0:b};var uF=new sF(45722344),vF=new sF(45706017),wF=new tF(45645574),xF=new sF(45685601),yF=new tF(45685602,500);var zF=function(a){this.I=G(a)};r(zF,J);var AF=function(a){var b=new zF;return lh(b,1,jf,a,kf,void 0,void 0,!0)};var BF=/^((market|itms|intent|itms-appss):\/\/)/i;var CF=function(a,b,c){this.l=a;this.j=b;this.g=c};var DF=function(a,b,c,d,e){this.url=a;this.g=b;this.Z=d===void 0?null:d;this.mimeType=c===void 0?null:c;this.ee=!(e===void 0||!e)};var EF=function(a,b,c,d){var e=c===void 0?{}:c;c=e.Na===void 0?null:e.Na;e=e.Ud===void 0?null:e.Ud;this.eventType=a;this.url=b;this.g=typeof d==="string"?d:null;this.Na=c;this.Ud=e;this.id=null};var FF=function(a,b,c,d,e,f){this.g=a;this.url=b;this.o=c===void 0?null:c;this.l=d===void 0?null:d;this.j=e===void 0?null:e;this.id=f===void 0?null:f},GF=function(a){var b=null,c=null;a.Na?b=parseInt(a.Na/1E3,10):a.Ud&&(c=a.Ud);return new FF(a.eventType,a.url,b,c,a.g,a.id)},HF=function(a,b,c,d){return new FF(a,b,null,null,c,d===void 0?null:d)},IF=function(a){return a.url instanceof Pt?a.url.url:a.url},JF=function(a){return a.url instanceof Pt?a.url:new Pt(a.url,a.j)};FF.prototype.getId=function(){return this.id};var KF=function(){this.ca=new Map;this.L=new Map;this.A=[];this.adTitle=this.id=null;this.Vb="video";this.G=null;this.W=[];this.sc=null;this.ub=[]};KF.prototype.getId=function(){return this.id};KF.prototype.nb=function(a){this.ca.has(a.g)?this.ca.get(a.g).push(a):this.ca.set(a.g,[a])};var LF=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||LF();var MF=function(){this.adPosition=1;this.l=-1;this.tc=[];this.j=this.g=0;this.totalAds=1};MF.prototype.getAdPosition=function(){return this.adPosition};MF.prototype.getPodIndex=function(){return this.g};MF.prototype.getTimeOffset=function(){return this.j};MF.prototype.getTotalAds=function(){return this.totalAds};var QF=function(a,b){a=a===void 0?{}:a;b=b===void 0?new Map:b;NF(b,"ADCOUNT",function(){var e=a.la;return(e=e===void 0?null:e)?e.getAdPosition().toString():"-1"});NF(b,"AD_MT",function(){var e=a.U;e=e===void 0?null:e;return e==null?"-1":Math.round(Math.max(0,e.getCurrentTime()*1E3)).toString()});NF(b,"ADPLAYHEAD",function(){var e=a.U;e=e===void 0?null:e;if(e==null)e="-1";else{e=e.getCurrentTime();var f=!0;f=f===void 0?!1:f;e=e<0?0:e;e=f?e:Math.round(e);if(f){var g=Math.floor(e/3600);if(Number.isFinite(g)){g= String(g);var h=g.indexOf(".");h===-1&&(h=g.length);var k=g[0]==="-"?"-":"";k&&(g=g.substring(1));g=k+ql("0",Math.max(0,2-h))+g}else g=String(g);g+=":";h=Math.floor(e/60)%60<10?"0":""}else g=e>=3600?Math.floor(e/3600)+":":"",h=Math.floor(e/60)%60<10&&e>=3600?"0":"";e=""+g+h+Math.floor(e/60)%60+":"+(Math.floor(e%60)<10?"0":"")+Math.floor(e%60)+(f?(e%1).toFixed(3).slice(1):"")}return e});NF(b,"ADSERVINGID",function(){var e=a.ad;return(e=(e=e===void 0?null:e)&&e.sc)?e:"-1"});NF(b,"ASSETURI",function(){var e= a.U;e=e===void 0?null:e;return e==null?"-1":e.Kf()});OF(b,"CLICKPOS","-1");NF(b,"PODSEQUENCE",function(){var e=a.ad;return(e=e===void 0?null:e)&&e.G?e.G.toString():"-1"});var c=a,d=c.Hl;c=c.Il;OF(b,"UNIVERSALADID",d&&c?d+" "+c:"-1");return PF(a,b)},PF=function(a,b){a=a===void 0?{}:a;b=b===void 0?new Map:b;NF(b,"ADTYPE",function(){var d=a.ad;return(d=d===void 0?null:d)?d.Vb:"-1"});OF(b,"APPBUNDLE",a.appName||"-1");NF(b,"BREAKMAXADS",function(){var d=a.la;return(d=d===void 0?null:d)?d.getTotalAds().toString(): "-1"});OF(b,"BREAKMAXADLENGTH","-1");NF(b,"BREAKMAXDURATION",function(){var d=a.la;return(d=d===void 0?null:d)?d.l.toString():"-1"});OF(b,"BREAKMINADLENGTH","-1");OF(b,"BREAKMINDURATION","-1");NF(b,"BREAKPOSITION",function(){var d=a.la;d=d===void 0?null:d;d==null?d="-1":(d=d.getPodIndex(),d=d==0?"1":d==-1?"3":"2");return d});NF(b,"CACHEBUSTING",RF);OF(b,"CLICKTYPE",a.Uj||"-1");var c=a;OF(b,"CLIENTUA",SF({we:c.we,xe:c.xe,nf:c.nf,qf:c.qf}));OF(b,"CONTENTID","-1");OF(b,"CONTENTURI","-1");OF(b,"DEVICEIP", "-1");OF(b,"DEVICEUA","-1");OF(b,"DOMAIN",a.domain||TF());OF(b,"GDPRCONSENT",a.Qh?a.Qh:"-1");OF(b,"IFA","-2");OF(b,"IFATYPE","-2");OF(b,"INVENTORYSTATE","-1");OF(b,"LATLONG","-1");NF(b,"LIMITADTRACKING",function(){return"-1"});NF(b,"MEDIAPLAYHEAD",function(){var d=a.la;return(d=d===void 0?null:d)?d.getTimeOffset().toString():"-1"});NF(b,"OMIDPARTNER",function(){var d=a.Lg,e=a.Rk;d=d===void 0?null:d;e=e===void 0?null:e;return d==null||e==null?"-1":d+"/"+e});OF(b,"PAGEURL",a.pageUrl||UF());OF(b,"PLACEMENTTYPE", a.ei||"-1");OF(b,"PLAYERSIZE","-1");OF(b,"PLAYERSTATE","-1");OF(b,"REGULATIONS","-1");OF(b,"SERVERSIDE","0");OF(b,"SERVERUA","-1");NF(b,"TIMESTAMP",VF);NF(b,"TRANSACTIONID",function(){var d=a.Of;return(d=d===void 0?null:d)?d.transactionId.toString():"-1"});OF(b,"US_PRIVACY",a.Kl||"-1");a.Tc&&OF(b,"UACH",a.Tc);return b},OF=function(a,b,c){a.set(b,new av(b,{toString:function(){return c}}))},NF=function(a,b,c){a.set(b,new av(b,{toString:function(){return c()}}))},SF=function(a){var b=a.we===void 0?null: a.we;var c=a.xe===void 0?null:a.xe;var d=a.nf===void 0?null:a.nf;a=a.qf===void 0?null:a.qf;if(!b&&!d)return"-1";var e="unknown";b&&(e=b+(c?"/"+c:""));b="";d&&(b=" "+d+(a?"/"+a:""));return e+b},RF=function(){return Math.round(Math.random()*1E8+1E8).toString().slice(1)},TF=function(){var a=gv()==2?null:tm().top.location.hostname;return a?a:"-1"},UF=function(){var a=gv()==2?null:tm().top.location.href;return a?a:"-1"},VF=function(){return(new Date).toISOString()};var WF=function(a){this.C=a},XF=function(a,b){return a.map(function(c){c=typeof c==="string"?new Pt(c):c;return new Pt(cv(c.url,b),c.g==null?null:cv(c.g,b))})},YF=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 Pt(e):e});c=c?XF(b,c):b;$u(a.C,c,d)};var $F=function(a,b,c){c=c===void 0?[]:c;this.C=b;var d=this;this.G=a;this.D=c;this.g=new Map;this.j=new Map;this.l=new Map;this.F=[];this.B=[];this.o=this.A=-1;N(M.getInstance(),"ua_e",navigator&&navigator.userActivation?"1":"0");M.getInstance().g.R.push(function(){return ZF(d)})};r($F,WF);$F.prototype.report=function(a,b){b=b===void 0?aG(this,a):b;bG(this,a,b||[])}; var bG=function(a,b,c){var d;z(function(e){if(e.g==1)return d=c.map(function(f){return typeof f==="string"?new Pt(f):f}),a.B.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=u(a.B),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.F.forEach(function(f){try{f(b)}catch(g){}});cG(a,b,d);e.g=0})},cG=function(a,b,c){dG(a,b)?eG(a, b,c):fG(a,b)&&(b=="skip"&&navigator&&navigator.userActivation&&(N(M.getInstance(),"uas_hba",navigator.userActivation.hasBeenActive?"1":"0"),N(M.getInstance(),"uas_ia",navigator.userActivation.isActive?"1":"0")),c.filter(function(d){return d.url.match(/\/aclk.*label=video_engaged_view/)}).length&&(b=="complete"&&Eo(M.getInstance(),"evoace"),b=="progress"&&Eo(M.getInstance(),"evoape"),b=="engagedView"&&Eo(M.getInstance(),"evoaeve")),gG(a,b,c))},gG=function(a,b,c){a.g.has(b)?a.g.set(b,a.g.get(b)+1): a.g.set(b,1);c.length&&YF(a,c,a.l,a.D.includes(b));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),gG(a,c,b))},hG=function(a,b,c){var d=a.G.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(JF(h))):k&&k<=b&&k>a.A&&(f=k>f?k:f,e.push(JF(h)))});a.A=f;a.o=g;e.length>0&&a.report("progress",e)}}; $F.prototype.reportError=function(a){Eo(M.getInstance(),"err");N(M.getInstance(),"aec",String(a));var b=this.l;b=b===void 0?new Map:b;b.set("ERRORCODE",new av("ERRORCODE",a));this.report("error")}; var iG=function(a,b){a.l.set(b.getName(),b)},jG=function(a,b){b.forEach(function(c){return iG(a,c)})},kG=function(a,b){a.F.push(b)},eG=function(a,b,c){var d=c;a.l!=null&&(d=XF(c,a.l));a.j.has(b)?d.forEach(function(e){return void a.j.get(b).push(e)}):a.j.set(b,d)},dG=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}},fG=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)}},aG=function(a,b){return(a.G.get(b)||[]).map(function(c){return JF(c)})},ZF=function(a){N(M.getInstance(), "rec",Array.from(a.g,function(b){var c=u(b);b=c.next().value;c=c.next().value;return b+"-"+c}).join("|"))};var lG={},mG=(lG.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(" "),lG),nG=new Map,oG=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;Q.call(this);var g=this;this.l=e?e:String(Math.floor(Math.random()*1E9));this.j=b;this.g=c;this.H=d;this.D=f;this.o=new hz;this.B=(a=a.L.get(CF))?a.j:"";this.A= a?a.g:"";this.C=a?a.l:[];kG(this.j,function(h){g.J(h)});a=bq();dz(a);nG.set(this.l,this)};r(oG,Q);var qG=function(a,b){iG(a.j,new av("VIEWABILITY",b.viewability));iG(a.j,new av("GOOGLE_VIEWABILITY",b.googleViewability,function(c){return function(d){return pG(d,c)}}("GOOGLE_VIEWABILITY")))}; oG.prototype.J=function(a){var b=this.l,c=this.g,d=this.C;d=d===void 0?[]:d;var e=c.og()||void 0,f={};c=(f.opt_fullscreen=c.dc(),f.opt_adElement=e,f);a=="start"&&(c.opt_configurable_tracking_events=d);a=GE(a,b,c);qG(this,a)};var pG=function(a,b){b=mG[b];return b==null?!0:b.some(function(c){return a.match(c)!=null})};oG.prototype.O=function(){nG.delete(this.l);this.g=this.j=null;this.o=new hz};C("ima.common.triggerExternalActivityEvent",function(a,b,c){(a=nG.get(a))&&a.j.report(c)}); C("ima.common.getVideoMetadata",function(a){return(a=nG.get(a))?{currentTime:a.g.getCurrentTime(),duration:a.g.getDuration(),Sn:a.D,volume:a.g.Oe()?0:a.g.getVolume()}:{}});var rG=function(a){this.g=a===void 0?null:a};var sG=function(a){this.g=a};var tG=function(a){this.Yd=a};var uG=function(a){this.I=G(a)};r(uG,J);uG.prototype.getValue=function(){return sh(this,1)};uG.prototype.getVersion=function(){return I(this,5)};var vG=function(a){this.g=a};var wG=function(a){this.g=a};var xG=function(a){this.g=a},yG=function(){xG.apply(this,arguments)};r(yG,xG);var zG=function(){xG.apply(this,arguments)};r(zG,xG);var AG=function(){};var BG=function(a){this.g=a===void 0?null:a};var CG=function(a,b){var c=b===void 0?{}:b;b=c.vendor===void 0?null:c.vendor;var d=c.Sb===void 0?null:c.Sb;var e=c.parameters===void 0?null:c.parameters;c=c.ca===void 0?[]:c.ca;this.g=a;this.vendor=b;this.parameters=e;this.Sb=d;this.ca=c},DG=function(){this.g=[]},EG=function(a,b,c,d,e,f){a.g.push(new CG(c,{vendor:b,parameters:d,Sb:e,ca:f}))};var FG=function(a){this.g=a};FG.prototype.getDealId=function(){return this.g};var GG=function(a,b,c,d){this.l=a;this.g=d===void 0?null:d;this.o=b;this.j=c}; GG.prototype.init=function(a){var b,c=window,d=this.l,e=(b=this.g)!=null?b:void 0,f=this.o;b=this.j;var g="v_h."+a;var h=h===void 0?!1:h;var k;f?k=(h===void 0?0:h)?"//ep1.adtrafficquality.google/bg/"+Qk(f)+".js":"//pagead2.googlesyndication.com/bg/"+Qk(f)+".js":k="";a=h;a=a===void 0?!1:a;h=c.document;f={};e&&(f._scs_=e);f._bgu_=k;f._bgp_=b;g&&(f._li_=g);(e=c.GoogleTyFxhY)&&typeof e.push=="function"||(e=c.GoogleTyFxhY=[]);e.push(f);e=pm(h);e=wm(e.g,"SCRIPT");e.type="text/javascript";e.async=!0;d=(a=== void 0?0:a)?Ql(HE,Qk(d)+".js"):Ql(IE,Qk(d)+".js");Mk(e,d);(c=(c.GoogleTyFxhYEET||{})[e.src])?c():h.getElementsByTagName("head")[0].appendChild(e)};var HG=function(a){this.g=a};var IG=function(a){this.g=a};var JG=function(a,b,c,d){this.id=a;this.title=b;this.g=c;this.j=d};var KG=function(a,b,c,d,e){this.id=a;this.Jb=d===void 0?!1:d;this.title=b;this.j=c;this.g=!(e===void 0?0:e)};var LG=function(a,b,c){this.j=a;this.l=b;this.g=(c===void 0?null:c)||""};LG.prototype.Jb=function(){return this.j.Jb};var MG=function(a,b,c){b=b===void 0?null:b;c=c===void 0?{}:c;Wt.call(this,a);this.j=b;this.g=c};r(MG,Wt);MG.prototype.getAd=function(){return this.j};MG.prototype.getAdData=function(){return this.g};var NG=function(a){var b=a.ua;var c=a.Aa;var d=a.height;var e=a.width;a=a.pa===void 0?!1:a.pa;this.ua=b;this.Aa=c;this.height=d;this.width=e;this.pa=a};NG.prototype.getHeight=function(){return this.height};NG.prototype.getWidth=function(){return this.width};var OG=function(){this.j=this.resourceType=this.creativeType=this.content=this.Ub=null;this.height=this.width=-1;this.Ce=!1;this.Oa=null;this.g=[]};m=OG.prototype;m.getAdSlotId=function(){return this.Ub};m.getContent=function(){return this.content};m.getWidth=function(){return this.width};m.getHeight=function(){return this.height};m.getApiFramework=function(){return this.Z};var PG=function(){this.g=this.l=0;this.altText=this.creativeType=this.j=null};PG.prototype.clone=function(){var a=new PG;a.l=this.l;a.g=this.g;a.j=this.j;a.creativeType=this.creativeType;a.altText=this.altText;return a};var QG=function(){this.altText=this.Z=this.program=null;this.j=this.g=0;this.D=1;this.xPosition="left";this.yPosition="top";this.qa=this.Na=-1;this.C=this.l=this.F=this.o=null;this.B=[];this.A=[];this.G=[]};QG.prototype.getApiFramework=function(){return this.Z};var RG=function(a,b){this.j=a===void 0?"unknown":a;this.g=b===void 0?"unknown":b};RG.prototype.getAdIdValue=function(){return this.j};RG.prototype.getAdIdRegistry=function(){return this.g};var SG=function(){KF.call(this);this.N=this.j=this.ta=this.description=null;this.l=[];this.o=this.va=null;this.icons=[];this.F=this.creativeId=this.R=null;this.kb=[]};r(SG,KF);var TG=function(a){return a.l.length>0?a.l[0]:null};m=SG.prototype;m.getAdSystem=function(){return this.A.length?this.A[0]:null};m.getApiFramework=function(){return this.Z};m.getDescription=function(){return this.description};m.isSkippable=function(){return this.ta!=null};m.getCreativeId=function(){return this.creativeId}; m.getCreativeAdId=function(){return this.F};m.getUniversalAdIds=function(){return this.kb};var UG=RegExp("(doubleclick\\.net|googleadservices\\.com|googlesyndication\\.com)"),VG=["ai","sigh"],WG=["xai","sig"];function XG(a){return a&&UG.test(a)?a.includes("/pagead/adview")||a.includes("/pagead/conversion")||a.includes("/gampad/live/conversion")||a.includes("/pagead/interaction")?VG.every(function(b){return cr(a,0,b,a.search(dr))>=0}):a.includes("/pcs/view")?WG.every(function(b){return cr(a,0,b,a.search(dr))>=0}):!1:!1} function YG(a,b){var c=a.indexOf("&adurl=");return c!=-1?a.substr(0,c)+b+a.substr(c,a.length):a+b}function ZG(a,b){if(a&&b!=null){b=Gt()?"6":"5";for(var c=a.search(dr),d=0,e,f=[];(e=cr(a,d,"nis",c))>=0;)f.push(a.substring(d,e)),d=Math.min(a.indexOf("&",e)+1||c,c);f.push(a.slice(d));a=f.join("").replace(fr,"$1");a=YG(a,"&nis="+b)}return a};var $G={jl:function(a,b){var c=rl(a);if(D(c))return a;XG(c)&&(a=YG(a,"&sdkv="+b),a=YG(a,"&ssss=gima"));return a}},aH=function(a){SG.call(this);this.M=a;this.la=new MF;this.B=null;this.companionAds=[];this.dealId=null;this.C=[];this.D=[];this.H=[];this.J=String(Math.floor(Math.random()*1E9))};r(aH,SG);m=aH.prototype;m.nb=function(a){var b=$G.jl(IF(a),this.M);SG.prototype.nb.call(this,new FF(a.g,b,a.o,a.l,a.j))};m.getAdPodInfo=function(){return this.la};m.getAdvertiserName=function(){return this.B}; m.getCompanionAds=function(){return this.companionAds};m.getDealId=function(){return this.dealId};m.getWrapperAdIds=function(){return this.C};m.getWrapperAdSystems=function(){return this.D};m.getWrapperCreativeIds=function(){return this.H};m.Ee=function(){return this.J};var bH=function(a){var b=a.Ji;var c=a.Gi;var d=a.xh;var e=a.ua;var f=a.Aa;var g=a.Ii;var h=a.yh;NG.call(this,{ua:e,Aa:f,height:a.height,width:a.width,pa:a.pa===void 0?!1:a.pa});this.o=b;this.j=c;this.g=d;this.l=g;this.A=h};r(bH,NG);var cH=function(a){var b=a.Zh;var c=a.mimeType;NG.call(this,{ua:a.ua,Aa:a.Aa,height:a.height,width:a.width,pa:a.pa===void 0?!1:a.pa});this.j=b;this.g=c};r(cH,NG);cH.prototype.getMediaUrl=function(){return this.j};var dH=function(a,b,c){this.g=a;this.resourceType=b;this.creativeType=c===void 0?null:c};var eH=function(a){var b=a===void 0?{}:a;a=b.id===void 0?null:b.id;var c=b.Ub===void 0?null:b.Ub;var d=b.Z===void 0?null:b.Z;var e=b.width===void 0?null:b.width;var f=b.height===void 0?null:b.height;var g=b.Ce===void 0?!1:b.Ce;var h=b.Ab===void 0?null:b.Ab;var k=b.Yf===void 0?[]:b.Yf;var l=b.resources===void 0?[]:b.resources;b=b.ca===void 0?[]:b.ca;this.id=a;this.Ub=c;this.Z=d;this.width=e;this.height=f;this.Ce=g;this.Ab=h;this.Yf=k;this.resources=l;this.ca=b};var fH=function(a,b){this.g=a;this.required=b===void 0?"none":b};var gH=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 hH=function(a,b,c,d){this.g=a;this.width=b===void 0?null:b;this.height=c===void 0?null:c;this.altText=d===void 0?null:d};var iH=function(a){var b=a===void 0?{}:a;a=b.La===void 0?null:b.La;var c=b.zb===void 0?[]:b.zb;b=b.ve===void 0?[]:b.ve;this.La=a;this.zb=c;this.ve=b};var jH=function(a){var b=a===void 0?{}:a;a=b.program===void 0?null:b.program;var c=b.Z===void 0?null:b.Z;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.ug===void 0?null:b.ug;var l=b.Na===void 0?null:b.Na;var n=b.qa===void 0?null:b.qa;var p=b.ae===void 0?null:b.ae;var q=b.Eb===void 0?null:b.Eb;var v=b.Md===void 0?[]:b.Md;b=b.resources=== void 0?[]:b.resources;this.program=a;this.Z=c;this.xPosition=d;this.yPosition=e;this.width=f;this.height=g;this.altText=h;this.ug=k;this.Na=l;this.ae=p;this.qa=n;this.Eb=q;this.Md=v;this.resources=b};var kH=function(a,b){var c=b===void 0?{}:b;b=c.mimeType===void 0?null:c.mimeType;var d=c.Z===void 0?null:c.Z;c=c.ee===void 0?null:c.ee;this.g=a;this.Z=d;this.mimeType=b;this.ee=c};var lH=function(a,b){var c=b===void 0?{}:b;b=c.qb===void 0?null:c.qb;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.qb=b;this.mimeType=d;this.codec=e;this.width=f;this.height=c};var mH=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.qb===void 0?null:c.qb;var f=c.mimeType===void 0?null:c.mimeType;var g=c.Z===void 0?null:c.Z;var h=c.bitrate===void 0?null:c.bitrate;var k=c.Dg===void 0?null:c.Dg;var l=c.maxBitrate===void 0?null:c.maxBitrate;var n=c.itag===void 0?null:c.itag;lH.call(this,a,{qb:e,mimeType:f,codec:c.codec===void 0?null:c.codec,width:d,height:b});this.Z=g;this.Dg=k||l||h||0;this.maxBitrate=l||k||h|| 0;this.itag=n};r(mH,lH);var nH=function(a){var b=a===void 0?{}:a;a=b.La===void 0?null:b.La;var c=b.zb===void 0?[]:b.zb;b=b.Ae===void 0?[]:b.Ae;this.La=a;this.zb=c;this.Ae=b};var oH=function(a){var b=a===void 0?{}:a;a=b.duration===void 0?null:b.duration;var c=b.ta===void 0?null:b.ta;var d=b.ca===void 0?[]:b.ca;var e=b.Rd===void 0?[]:b.Rd;var f=b.ub===void 0?[]:b.ub;var g=b.Xf===void 0?[]:b.Xf;var h=b.Df===void 0?null:b.Df;var k=b.va===void 0?null:b.va;b=b.icons===void 0?[]:b.icons;this.duration=a;this.va=k;this.ta=c;this.ca=d;this.Rd=e;this.ub=f;this.Xf=g;this.Df=h;this.icons=b};var pH=function(a){var b=a===void 0?{}:a;a=b.id===void 0?null:b.id;var c=b.Z===void 0?null:b.Z;var d=b.height===void 0?null:b.height;var e=b.width===void 0?null:b.width;var f=b.Eg===void 0?null:b.Eg;var g=b.resources===void 0?[]:b.resources;var h=b.Jg===void 0?null:b.Jg;var k=b.Kg===void 0?[]:b.Kg;b=b.va===void 0?null:b.va;this.id=a;this.Z=c;this.height=d;this.width=e;this.Eg=f;this.resources=g;this.Jg=h;this.Kg=k;this.va=b};var qH=function(a,b){b=b===void 0?[]:b;this.g=a;this.ca=b};var rH=function(a){var b=a===void 0?{}:a;a=b.Me===void 0?"unknown":b.Me;b=b.Le===void 0?"unknown":b.Le;this.Me=a||"unknown";this.Le=b||"unknown"};var sH=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.wb===void 0?null:b.wb;var f=b.hf===void 0?null:b.hf;var g=b.Bc===void 0?null:b.Bc;b=b.kb===void 0?[]:b.kb;this.Oa=a;this.id=c;this.adId=d;this.wb=e;this.hf=f;this.Bc=g;this.kb=b};var tH=function(a,b){this.url=a;this.g=b===void 0?null:b};var uH=function(a){var b=a===void 0?{}:a;a=b.vendor===void 0?null:b.vendor;var c=b.ce===void 0?null:b.ce;var d=b.Sb===void 0?null:b.Sb;var e=b.parameters===void 0?null:b.parameters;b=b.ca===void 0?[]:b.ca;this.vendor=a;this.ce=c;this.Sb=d;this.parameters=e;this.ca=b};var vH=function(a){var b=a===void 0?{}:a;a=b.Va===void 0?null:b.Va;var c=b.errors===void 0?[]:b.errors;var d=b.Gb===void 0?[]:b.Gb;var e=b.wa===void 0?[]:b.wa;var f=b.Ua===void 0?[]:b.Ua;b=b.L===void 0?[]:b.L;this.Va=a;this.g=c;this.j=d;this.wa=e;this.Ua=f;this.L=b};var wH=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.Vb===void 0?null:c.Vb;this.g=a;this.id=b;this.Oa=d;this.Vb=c=="audio"?"audio":c=="hybrid"?"hybrid":"video"};var xH=function(a){this.g=a=a===void 0?[]:a};xH.prototype.unshift=function(a){this.g.unshift(a)};var yH=function(a,b){var c=[];a.g.forEach(function(d){c=c.concat(d.g.L.filter(function(e){return e instanceof b}))});return c};var zH=function(a){this.ca=a=a===void 0?[]:a};var AH=function(a,b,c,d){b=b===void 0?[]:b;c=c===void 0?"":c;d=d===void 0?"":d;zH.call(this,a);this.g=b;this.l=c;this.j=d};r(AH,zH);var BH=function(){};BH.prototype.ia=function(a,b){var c=[],d="",e="";yH(a,AH).forEach(function(f){c.push.apply(c,w(f.g));d=d||f.l;e=e||f.j});(c.length>0||d||e)&&b.L.set(CF,new CF(c,d,e))};var CH=function(){var a={};var b=a.uc===void 0?"":a.uc;var c=a.wc===void 0?"http://www.google.com/adsense/support":a.wc;var d=a.Rf===void 0?!1:a.Rf;a=a.Zg===void 0?0:a.Zg;this.uc=b;this.wc=c;this.Rf=d;this.Zg=a};var DH=function(a,b){var c=b===void 0?{}:b;b=c.uc===void 0?null:c.uc;var d=c.wc===void 0?null:c.wc;var e=c.ag===void 0?null:c.ag;var f=c.yg===void 0?!1:c.yg;var g=c.gf===void 0?[]:c.gf;var h=c.Yg===void 0?!1:c.Yg;var k=c.uiConfig===void 0?null:c.uiConfig;var l=c.jh===void 0?null:c.jh;c=c.Hf===void 0?null:c.Hf;zH.call(this,a);this.uc=b;this.wc=d;this.ag=e;this.yg=f;this.gf=g;this.Yg=h;this.uiConfig=k;this.jh=l;this.Hf=c};r(DH,zH);var EH=function(){};EH.prototype.ia=function(a,b){a=u(a.g);for(var c=a.next();!c.done;c=a.next()){c=u(c.value.g.L);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof DH){b.L.set(rG,new rG(d.Hf,d.gf));return}}};function FH(a){return(a==null?[]:a.ve).map(function(b){var c=new PG;c.l=b.width||0;c.g=b.height||0;c.j=b.g?b.g.g:"";c.altText=b.altText;return c})} function GH(a){var b=a.resources.find(function(f){return f.resourceType==="Static"});if(!b)return null;var c=new QG;c.program=a.program;c.Z=a.Z;c.altText=a.altText;c.xPosition=a.xPosition!=null?a.xPosition:"left";c.yPosition=a.yPosition!=null?a.yPosition:"top";c.j=a.height?a.height:0;c.g=a.width?a.width:0;c.D=a.ae?a.ae:1;c.Na=a.Na?a.Na:0;c.qa=a.qa?a.qa:-1;c.B=a.Md;if(a.Eb&&a.Eb.La){c.o=a.Eb.La.url;c.F=Ht(a.Eb.La);for(var d=u(a.Eb.zb),e=d.next();!e.done;e=d.next())c.A.push(e.value.url)}c.G=FH(a.Eb); c.l=b.g;c.C=b.creativeType;return c};var HH=function(a){this.g=a};var IH=function(){};IH.prototype.ia=function(a,b){a=u(a.g);for(var c=a.next();!c.done;c=a.next()){c=u(c.value.g.L);for(var d=c.next();!d.done;d=c.next())d=d.value,d instanceof HH&&(d=GH(d.g))&&b.L.set(sG,new sG(d))}};var JH=sa(["about:blank"]),KH=sa(["javascript:undefined"]),LH=Ql(JH);uk(LH);var MH=Ql(KH);uk(MH);var NH=function(){};NH.prototype.ia=function(a,b){if(a.g.length!=0&&b instanceof aH){var c,d=((c=b.L.get(sG))==null?void 0:c.g)||null;a=u(a.g);for(c=a.next();!c.done;c=a.next()){c=u(c.value.g.wa);for(var e=c.next();!e.done;e=c.next())if(e=e.value,e.Bc!=null)for(var f=u(e.Bc.g),g=f.next();!g.done;g=f.next())(g=OH(g.value,e.Oa,d))&&b.companionAds.push(g)}}}; var PH=function(a){var b=a.find(function(c){return c.resourceType=="IFrame"});return b||(b=a.find(function(c){return c.resourceType=="Html"}))?b:(b=a.find(function(c){return c.resourceType=="Static"&&Et.includes(c.creativeType||"")}))?b:a.length>0?a[0]:null},OH=function(a,b,c){var d=PH(a.resources);if(!d)return null;var e=QH(a,d,b,c);e.g=a.resources.filter(function(f){return f!=d}).map(function(f){return QH(a,f,b,c)});return e},QH=function(a,b,c,d){var e=new OG;e.Ub=a.Ub;e.width=a.width||-1;e.height= a.height||-1;e.Z=a.Z;e.creativeType=b.creativeType;e.resourceType=b.resourceType;e.j=b.g;e.Oa=c;if(Ss())d=null;else{var f=RH(a,b);f?(c=wm(document,"div"),c.id=a.id,Pm(c,{height:a.height+"px",width:a.width+"px"}),ym(c,f),a=SH(a.ca),ym(c,a),"outerHTML"in c?c=c.outerHTML:(a=wm(om(c),"DIV"),a.appendChild(c.cloneNode(!0)),c=a.innerHTML),b.resourceType=="Static"&&(b=rt(rl(b.g)),c.indexOf("\n \n \n \n '+c+"\n "),d=c):d=""}e.content=d;return e},RH=function(a,b){if(b.resourceType=="Static"&&Et.includes(b.creativeType||"")){b= wm(document,"a");b.target="_blank";var c=a.Ab&&a.Ab.url;c&&(c=Hk(c),c!==void 0&&(b.href=c),a=a.Ab,(a==null?void 0:a.g)!=null&&Gt()&&b.setAttribute("attributionsrc",rl(a.g)));a=wm(document,"img");a.src="";a.border="0";Pm(a,{height:"100%",width:"100%"});ym(b,a);return b}return b.resourceType=="IFrame"?(b=b.g,a.Ab!=null&&(b=new Vs(b),it(b,"clickTAG",encodeURIComponent(String(a.Ab.url))),b=b.toString()),c=vm("IFRAME",{marginwidth:0,marginheight:0,hspace:0,vspace:0,frameborder:0,scrolling:"no"}),c.height= a.height,c.width=a.width,c.setAttribute("src",rt(b)),c):b.resourceType=="Html"?(a=vm("DIV"),c=b.g,b=document.implementation.createHTMLDocument(""),c=Ol(c,b),b=b.body,b.appendChild(c),b=(new XMLSerializer).serializeToString(b),b=b.slice(b.indexOf(">")+1,b.lastIndexOf("0)){a=u(a.g);for(var c=a.next();!c.done;c=a.next()){c=u(c.value.g.L);for(var d=c.next();!d.done;d=c.next()){var e=d.value;if(e instanceof uI){d=this.Sd.select(e,b);var f=void 0;if(d.length>0)for(var g=u(d),h=g.next();!h.done;h=g.next()){h=h.value;var k=void 0;h instanceof cH&&(k=h.getMediaUrl());h instanceof bH&&(k=h.o);if(k&&(h=k,h=(k=er(h,"cpn"))&&k.match(pI)?k:(h=h.match(oI))&&h.length===3?h[1]:null,h)){f=h;break}}e=f?f:e.A; N(M.getInstance(),"cpn",e);b.R=e;d=u(d);for(e=d.next();!e.done;e=d.next())b.l.push(e.value)}}}}};var xI=function(a){this.g=a};var yI=function(){};yI.prototype.ia=function(a,b){a=u(a.g);for(var c=a.next();!c.done;c=a.next()){c=u(c.value.g.L);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof xI)try{var e=d.g;var f=Ab(e,"&")?"document"in B?Sk(e):ol(e):e;var g=kF(f);b.L.set(AG,new AG(g));return}catch(h){}}};var zI=function(){};zI.prototype.ia=function(a,b){b instanceof SG&&(b.o=AI(a),b.o&&(b.o.B.forEach(function(c){b.nb(new FF("vastIconRendered",c))}),b.o.A.forEach(function(c){b.nb(new FF("vastIconClicked",c))})))};var AI=function(a){a=BI(a);a=u(a);for(var b=a.next();!b.done;b=a.next())if(b=GH(b.value))return b;return null},BI=function(a){var b=[];a=u(a.g);for(var c=a.next();!c.done;c=a.next()){c=u(c.value.g.wa);for(var d=c.next();!d.done;d=c.next())d=d.value,d.wb&&b.push.apply(b,w(d.wb.icons))}return b};var CI=function(a){var b=a===void 0?{}:a;a=b.sc===void 0?null:b.sc;var c=b.Va===void 0?null:b.Va;var d=b.adTitle===void 0?null:b.adTitle;var e=b.je===void 0?null:b.je;var f=b.description===void 0?null:b.description;var g=b.ah===void 0?null:b.ah;vH.call(this,{Va:c,errors:b.errors===void 0?[]:b.errors,Gb:b.Gb===void 0?[]:b.Gb,wa:b.wa===void 0?[]:b.wa,Ua:b.Ua===void 0?[]:b.Ua,L:b.L===void 0?[]:b.L});this.sc=a;this.adTitle=d;this.je=e;this.description=f;this.ah=g};r(CI,vH);var DI=function(){this.Sd=void 0}; DI.prototype.ia=function(a,b){if(b instanceof SG)if(b.l.length>0)N(M.getInstance(),"msm","0");else{N(M.getInstance(),"msm","1");a=u(a.g);for(var c=a.next();!c.done;c=a.next()){c=c.value;for(var d=u(c.g.wa),e=d.next();!e.done;e=d.next()){var f=e.value.wb;f&&c.g instanceof CI&&(e=void 0,this.Sd?(f=this.Sd.select(f.Rd,b),f.length>0&&(e=f[0])):e=f.Rd[0],e&&(f=new Vs(e.url),f.j==="www.youtube.com"&&f.l==="/get_video"&&N(M.getInstance(),"ugvu","1"),f=(e.url=e.url)?qI(e.url):null,f=new cH({Zh:e.url,itag:f, mimeType:e.mimeType,ua:e.codec,Aa:e.codec,height:e.height,width:e.width,Bb:null}),b.Z=e.Z,b.l.push(f)))}}}};var EI=function(a,b){this.g=a===void 0?null:a;this.j=b===void 0?null:b};var FI=function(){};FI.prototype.ia=function(a,b){a=u(a.g);for(var c=a.next();!c.done;c=a.next()){a:{var d=b;c=u(c.value.g.L);for(var e=c.next();!e.done;e=c.next())if(e=e.value,e instanceof EI){d.L.set(BG,new BG(e.g,e.j));d=!0;break a}d=!1}if(d)break}};var GI=function(){};r(GI,zI);GI.prototype.ia=function(a,b){b instanceof SG&&(b.icons=HI(a))};var HI=function(a){var b=new Set;return BI(a).map(function(c){return GH(c)}).filter(function(c){if(!c||b.has(c.program))return!1;b.add(c.program);return!0})};var II=function(a){this.Ua=a=a===void 0?[]:a};var JI=function(){};JI.prototype.ia=function(a,b){var c=new DG,d=[];yH(a,II).forEach(function(e){d=d.concat(e.Ua)});a.g.forEach(function(e){d=d.concat(e.g.Ua)});d.forEach(function(e){var f=e.ce;if(f){var g=e.ca.map(function(h){return GF(h)});EG(c,e.vendor,f,e.parameters,e.Sb,g)}});c.g.length&&b.L.set(DG,c)};var KI=function(a){this.dealId=a};var LI=function(){};LI.prototype.ia=function(a,b){a=u(a.g.slice().reverse());for(var c=a.next();!c.done;c=a.next()){c=u(c.value.g.L);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof KI&&(d=d.dealId)&&!D(d)){b.L.set(FG,new FG(d));return}}};var MI=function(a){this.g=a};MI.prototype.ia=function(a,b,c){for(var d=u(this.g),e=d.next();!e.done;e=d.next())e.value.ia(a,b,c)};var NI=function(a,b,c,d){this.l=a;this.j=d===void 0?null:d;this.o=b;this.g=c};var OI=function(){};OI.prototype.ia=function(a,b){a=u(a.g.slice());for(var c=a.next();!c.done;c=a.next()){c=u(c.value.g.L);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof NI){b.L.set(GG,new GG(d.l,d.o,d.g,d.j));return}}};var PI=function(a){this.g=a===void 0?!1:a};var QI=function(){};QI.prototype.ia=function(a,b){for(var c=u(a.g),d=c.next();!d.done;d=c.next()){d=u(d.value.g.L);for(var e=d.next();!e.done;e=d.next())if(e=e.value,e instanceof PI&&(e=new HG(e.g),!e.g)){b.L.set(HG,e);return}}if(a=a.g.length<1?null:a.g[a.g.length-1])for(a=u(a.g.L),c=a.next();!c.done;c=a.next())c=c.value,c instanceof PI&&b.L.set(HG,new HG(c.g))};var RI=function(a){this.g=a};var SI=function(){};SI.prototype.ia=function(a,b){a=u(a.g);for(var c=a.next();!c.done;c=a.next()){c=u(c.value.g.L);for(var d=c.next();!d.done;d=c.next())d=d.value,d instanceof RI&&(d=GH(d.g))&&b.L.set(IG,new IG(d))}};var TI=function(a){var b=a===void 0?{}:a;a=b.videoId===void 0?null:b.videoId;var c=b.Jb===void 0?!1:b.Jb;var d=b.fe===void 0?null:b.fe;var e=b.Ef===void 0?null:b.Ef;var f=b.ld===void 0?!1:b.ld;var g=b.te===void 0?null:b.te;var h=b.Dd===void 0?null:b.Dd;var k=b.Cd===void 0?null:b.Cd;var l=b.se===void 0?null:b.se;var n=b.format===void 0?null:b.format;var p=b.mf===void 0?null:b.mf;b=b.Ff===void 0?null:b.Ff;this.videoId=a;this.Jb=c;this.fe=d;this.Ef=e;this.ld=f;this.te=g;this.Dd=h;this.Cd=k;this.se=l; this.format=n;this.mf=p;this.Ff=b;N(M.getInstance(),"ytext_viu",this.ld?"1":"0");N(M.getInstance(),"ytext_hd",this.fe&&this.Cd&&this.Dd?"1":"0");this.ld&&N(M.getInstance(),"ytext_vi",this.videoId?this.videoId:"Undefined")};var UI=function(){};UI.prototype.ia=function(a,b){a=u(a.g);for(var c=a.next();!c.done;c=a.next()){c=u(c.value.g.L);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d instanceof TI){b.L.set(LG,new LG(new KG(d.videoId,d.fe,d.Ef,d.Jb,d.ld),new JG(d.te,d.Dd,d.Cd,d.se),d.format,d.Ff,d.mf));return}}};var VI=function(){};VI.prototype.j=function(a){var b=new KF;this.g(a,b);return b};VI.prototype.g=function(a,b){a.g.forEach(function(e){WI(e,b);e.g.Va&&b.A.push(e.g.Va)});if(a.g.length>0){var c=a.g[0];c.id&&(b.id=c.id);c.Vb&&(b.Vb=c.Vb);c.Oa&&(b.G=c.Oa);a=u([].concat(w(a.g)).reverse());for(var d=a.next();!d.done;d=a.next())d=d.value,d.Oa&&b.W.push(d.Oa);c=c.g;c instanceof CI&&(b.adTitle=c.adTitle,b.sc=c.sc,XI(c,b))}}; var WI=function(a,b){var c=a.g.j;a.g.g.forEach(function(d){b.nb(new FF("error",d))});c.forEach(function(d){b.nb(HF("impression",d.url,d.g))})},XI=function(a,b){a=u(a.wa);for(var c=a.next();!c.done;c=a.next())if((c=c.value.wb)&&c.ub&&c.ub.length>0){a=u(c.ub);for(c=a.next();!c.done;c=a.next())c=c.value,b.ub.push(new DF(c.g.resourceType==="Url"?c.g.g:null,c.g.resourceType==="Html"?c.g.g:null,c.mimeType,c.Z,c.ee));break}};var YI=function(a,b){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);this.Wa=b===void 0?900:b};r(YI,Error);var ZI=function(a){var b=a===void 0?{}:a;a=b.ads===void 0?[]:b.ads;b=b.Ig===void 0?[]:b.Ig;this.g=a;this.Ig=b};var $I=function(a){var b=a===void 0?{}:a;a=b.Va===void 0?null:b.Va;var c=b.ng===void 0?!0:b.ng;var d=b.Pf===void 0?!1:b.Pf;var e=b.mg===void 0?!1:b.mg;var f=b.Mf===void 0?null:b.Mf;vH.call(this,{Va:a,errors:b.errors===void 0?[]:b.errors,Gb:b.Gb===void 0?[]:b.Gb,wa:b.wa===void 0?[]:b.wa,Ua:b.Ua===void 0?[]:b.Ua,L:b.L===void 0?[]:b.L});this.ng=c;this.Pf=d;this.mg=e;this.Mf=f};r($I,vH);function aJ(a,b){a=parseInt(a.getAttribute(b),10);if(!isNaN(a))return a}function bJ(a){if(a!=null){a=a.toLowerCase();if(a=="1"||a=="true")return!0;if(a=="0"||a=="false")return!1}}function cJ(a,b){var c=[];b=b.toLowerCase();a=u(K(a));for(var d=a.next();!d.done;d=a.next())d=d.value,d.nodeName.toLowerCase()==b&&c.push(d);return c}function dJ(a,b){a=cJ(a,b);return a.length>0?a[a.length-1]:null} function U(a){if(a.childNodes.length==0)return null;var b="";a=u(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 eJ(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 fJ(a,b){return a.hasAttribute("type")&&a.getAttribute("type").toLowerCase()==b.toLowerCase()}function gJ(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 hJ(a){var b=[];a=u(K(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;if(d.nodeName=="Verification"){c={vendor:d.getAttribute("vendor"),ca:[]};d=u(K(d));for(var e=d.next();!e.done;e=d.next())switch(e=e.value,e.nodeName){case "JavaScriptResource":c.ce=U(e);c.Sb=e.getAttribute("apiFramework");break;case "VerificationParameters":c.parameters=U(e);break;case "TrackingEvents":c.ca=iJ(e)}c.ce!=null&&b.push(new uH(c))}}return b} function jJ(a){var b=[];a=u(K(a));for(var c=a.next();!c.done;c=a.next())c=c.value,c.nodeName=="CustomTracking"&&b.push.apply(b,w(iJ(c)));return b}function kJ(a,b){var c=a.getAttribute("id");a=eJ(a);b=new Dt(b,c,a);b.url=ZG(b.url,b.g);return b} function iJ(a){var b=[];a=u(K(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=U(d);if(e!=null&&!D(e)){var f=d.getAttribute("offset"),g=null,h=null;f&&f.endsWith("%")?h=parseInt(f,10):f&&f.includes(":")&&(g=gJ(f));d=eJ(d);e=ZG(e,d);b.push(new EF(c,e,{Na:g,Ud:h},d))}}}return b}function lJ(a){return a==null||a==="about:blank"?null:a} function mJ(a){var b={};b.program=a.getAttribute("program");b.Z=a.getAttribute("apiFramework");b.altText=a.getAttribute("altText");b.ug=a.getAttribute("hoverText");b.width=aJ(a,"width");b.height=aJ(a,"height");b.xPosition=a.getAttribute("xPosition");b.yPosition=a.getAttribute("yPosition");b.qa=gJ(a.getAttribute("duration"));b.ae=gJ(a.getAttribute("pxratio"));b.Na=nJ(a.getAttribute("offset"),b.qa);b.resources=oJ(a);b.Md=[];a=u(K(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;switch(d.nodeName){case "IconViewTracking":b.Md.push(U(d)); break;case "IconClicks":c=null;var e=[],f=[];d=u(K(d));for(var g=d.next();!g.done;g=d.next()){g=g.value;var h=U(g),k=g.getAttribute("id");switch(g.nodeName){case "IconClickThrough":h!=null&&(c=kJ(g,h));break;case "IconClickTracking":h!=null&&e.push(new Dt(h,k));break;case "IconClickFallbackImages":f=pJ(g)}}b.Eb=new iH({La:c,zb:e,ve:f})}}return new jH(b)}function nJ(a,b){if(a!=null)return a.endsWith("%")&&b!=null?parseInt(a,10)*b/100:gJ(a)} function oJ(a){var b=[];a=u(K(a));for(var c=a.next();!c.done;c=a.next()){c=c.value;var d=U(c);if(d!=null)switch(c.nodeName){case "StaticResource":b.push(new dH(d,"Static",c.getAttribute("creativeType")));break;case "HTMLResource":b.push(new dH(d,"Html"));break;case "IFrameResource":b.push(new dH(d,"IFrame"))}}return b} function pJ(a){var b=[];a=u(K(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=oJ(d).filter(function(g){return g.resourceType=="Static"});if(c.length>0){var e=aJ(d,"width"),f=aJ(d,"height");d=qJ(d);b.push(new hH(c[0],e,f,d))}}return b}function qJ(a){a=u(K(a));for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.nodeName=="AltText")return U(b);return null};var rJ=function(){this.g=[]},sJ=function(a,b){a.g.includes(b)||a.g.push(b)},tJ=function(a,b){var c=[];b=u(b);for(var d=b.next();!d.done;d=b.next())if(d=d.value,d.nodeName=="Extension")for(var e=u(a.g),f=e.next();!f.done;f=e.next())if(f=f.value.g(d),f!=null){c.push(f);break}return c},uJ=function(a){var b={kb:[]};b.Oa=aJ(a,"sequence");b.id=a.getAttribute("id");b.adId=a.getAttribute("adId");for(var c=u(K(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=[],q=[],v=u(K(e)),t=v.next();!t.done;t=v.next()){var x=t.value;switch(x.nodeName){case "TrackingEvents":k=iJ(x);break;case "VideoClicks":for(var A=null,P=[],X=[],da=u(K(x)),fa=da.next();!fa.done;fa=da.next()){var ca=fa.value,ec=U(ca);if(ec!=null){var Ic=ca.getAttribute("id");switch(ca.nodeName){case "ClickThrough":A=kJ(ca,ec);break;case "ClickTracking":var fc=eJ(ca);P.push(new Dt(ec,Ic,fc));break;case "CustomClick":X.push(new Dt(ec,Ic))}}}h=new nH({La:A,zb:P,Ae:X}); break;case "MediaFiles":for(var Za=[],Ca=[],tc=[],ve=u(K(x)),we=ve.next();!we.done;we=ve.next()){var Da=we.value;switch(Da.nodeName){case "MediaFile":var xe=void 0,uc=U(Da);if(uc==null)var Ig=null;else{uc.indexOf("www.youtube.com/get_video")!=-1?N(M.getInstance(),"hgvu","1"):uc.indexOf("redirector.gvt1.com/get_video")!=-1&&N(M.getInstance(),"hgvuc","1");var Bb={};Bb.height=aJ(Da,"height");Bb.width=aJ(Da,"width");Bb.qb=Da.getAttribute("delivery");Bb.bitrate=aJ(Da,"bitrate");Bb.Dg=aJ(Da,"minBitrate"); Bb.maxBitrate=aJ(Da,"maxBitrate");Bb.mimeType=(xe=Da.getAttribute("type"))==null?void 0:xe.toLowerCase();Bb.Z=Da.getAttribute("apiFramework");Bb.codec=Da.getAttribute("codec");var ye=qI(uc);ye!=null&&(Bb.itag=ye);Ig=new mH(uc,Bb)}var Id=Ig;Id!==null&&Za.push(Id);break;case "ClosedCaptionFiles":for(var Cb=[],Af=u(K(Da)),ze=Af.next();!ze.done;ze=Af.next()){var Ae=ze.value,Jg=U(Ae);if(Jg!==null){var Be={url:Jg},Kg=void 0;Be.mimeType=(Kg=Ae.getAttribute("type"))==null?void 0:Kg.toLowerCase();Be.language= Ae.getAttribute("language");Cb.push(new gH(Be))}}tc=Cb;break;case "InteractiveCreativeFile":var zi=void 0,Bf=dJ(Da,"HTMLResource");if(Bf){var hc="Html";var Jd=U(Bf)}else hc="Url",Jd=U(Da);if(!Jd||D(Jd))var Ce=null;else{var Kd=new dH(Jd,hc),Ld={};Ld.mimeType=(zi=Da.getAttribute("type"))==null?void 0:zi.toLowerCase();Ld.Z=Da.getAttribute("apiFramework");Ld.ee=bJ(Da.getAttribute("variableDuration"));var De=new kH(Kd,Ld);hc==="Html"?Fo("lima_p_ich"):Fo("lima_p_icu");Ce=De}var Cf=Ce;Cf!==null&&Ca.push(Cf)}}N(M.getInstance(), "vmfc",""+Za.length);var vc=tc.length===0?"0":"1";N(M.getInstance(),"vhc",vc);var Ai=Za;var Tk=tc;var Uk=Ca;l=Ai;p=Tk;n=Uk;break;case "Duration":g=gJ(U(x));break;case "AdParameters":f=rl(U(x));break;case "Icons":for(var bd=[],Vk=u(K(x)),Bi=Vk.next();!Bi.done;Bi=Vk.next()){var Wk=Bi.value;Wk.nodeName=="Icon"&&bd.push(mJ(Wk))}var cd=q=bd;N(M.getInstance(),"icc",cd.length.toString());if(cd.length>0){for(var Xk=0,Ci=0,Yk=0,pp=0,Ee=null,Zk="ns",$k="ns",Di=u(cd),Df=Di.next();!Df.done;Df=Di.next()){for(var Fe= Df.value,Ei=u(Fe.resources),Fi=Ei.next();!Fi.done;Fi=Ei.next())switch(Fi.value.resourceType){case "Html":Xk++;break;case "IFrame":Ci++;break;case "Static":Yk++;break;default:pp++}Ee=Fe.program;$k=Fe.width?Fe.width.toString():"ns";Zk=Fe.height?Fe.height.toString():"ns"}N(M.getInstance(),"icrh",Xk.toString());N(M.getInstance(),"icri",Ci.toString());N(M.getInstance(),"icrs",Yk.toString());N(M.getInstance(),"icru",pp.toString());Ee&&(Ee.length>16&&(Ee=Ee.substring(0,15)+"*"),N(M.getInstance(),"icp",Ee)); N(M.getInstance(),"icdi",Zk+"x"+$k)}}}var lv=nJ(e.getAttribute("skipoffset"),g);b.wb=new oH({duration:g,ta:lv,ca:k,Rd:l,ub:n,Xf:p,Df:h,va:f,icons:q});break;case "NonLinearAds":for(var Gi=[],Ef=[],al=u(K(e)),Lg=al.next();!Lg.done;Lg=al.next()){var Ge=Lg.value;switch(Ge.nodeName){case "NonLinear":for(var He=Gi,mv=He.push,Md=Ge,qp=oJ(Md),nv=Md.getAttribute("id"),ov=aJ(Md,"width"),rp=aJ(Md,"height"),pv=Md.getAttribute("apiFramework"),sp=gJ(Md.getAttribute("minSuggestedDuration")),tp=null,up=null,vp=[], wp=u(K(Md)),Db=wp.next();!Db.done;Db=wp.next()){var Nd=Db.value,Ie=U(Nd);if(Ie!=null)switch(Nd.nodeName){case "NonLinearClickThrough":up=kJ(Nd,Ie);break;case "NonLinearClickTracking":var bl=eJ(Nd);vp.push(new Dt(Ie,Nd.getAttribute("id"),bl));break;case "AdParameters":tp=rl(Ie)}}mv.call(He,new pH({id:nv,Z:pv,width:ov,height:rp,Eg:sp,Jg:up,Kg:vp,resources:qp,va:tp}));break;case "TrackingEvents":Ef=iJ(Ge)}}b.hf=new qH(Gi,Ef);var Hi=b.hf.g;N(M.getInstance(),"nlc",Hi.length.toString());if(Hi.length>0){for(var Ii= 0,Ji=0,cl=0,dl=0,Ki=!1,xp=u(Hi),Li=xp.next();!Li.done;Li=xp.next())for(var Mg=u(Li.value.resources),Mi=Mg.next();!Mi.done;Mi=Mg.next()){var Je=Mi.value;switch(Je.resourceType){case "Html":Ii++;Ki=Ki||Ab(Je.g,"<");break;case "IFrame":Ji++;break;case "Static":cl++;break;default:dl++}}N(M.getInstance(),"nlrh",Ii.toString());N(M.getInstance(),"nlri",Ji.toString());N(M.getInstance(),"nlrs",cl.toString());N(M.getInstance(),"nlru",dl.toString());N(M.getInstance(),"nlrhc",Ki.toString())}break;case "CompanionAds":var el= [],Ng=e.getAttribute("required");Ng!="any"&&Ng!="all"&&(Ng="none");for(var yp=u(K(e)),Ni=yp.next();!Ni.done;Ni=yp.next()){var Ke=Ni.value;if(Ke.nodeName=="Companion"){for(var fl=el,zp=fl.push,dd=void 0,ed=Ke,Ap=oJ(ed),Bp=ed.getAttribute("id"),Cp=ed.getAttribute("adSlotID"),ic=ed.getAttribute("apiFramework"),Eb=ed.getAttribute("width")==="fluid"&&ed.getAttribute("height")==="fluid",qv=aJ(ed,"width"),rv=aJ(ed,"height"),gl=[],Dp=null,Ep=[],Fp=u(K(ed)),hl=Fp.next();!hl.done;hl=Fp.next()){var Le=hl.value; switch(Le.nodeName){case "TrackingEvents":gl=iJ(Le);break;case "CompanionClickThrough":dd=U(Le);dd==null||D(dd)||(Dp=kJ(Le,dd));break;case "CompanionClickTracking":if(dd=U(Le),dd!=null&&!D(dd)){var tv=eJ(Le);Ep.push(new Dt(dd,Le.getAttribute("id"),tv))}}}zp.call(fl,new eH({id:Bp,Ub:Cp,Z:ic,width:qv,height:rv,Ce:Eb,Ab:Dp,Yf:Ep,resources:Ap,ca:gl}))}}b.Bc=new fH(el,Ng);var Oi=b.Bc.g;N(M.getInstance(),"ccc",Oi.length.toString());if(Oi.length>0){for(var Gp=0,Hp=0,Og=0,Ip=0,il=!1,jl=u(Oi),kl=jl.next();!kl.done;kl= jl.next())for(var Pi=u(kl.value.resources),Od=Pi.next();!Od.done;Od=Pi.next()){var Qi=Od.value;switch(Qi.resourceType){case "Html":Gp++;il=il||Ab(Qi.g,"<");break;case "IFrame":Hp++;break;case "Static":Og++;break;default:Ip++}}N(M.getInstance(),"ccrh",Gp.toString());N(M.getInstance(),"ccri",Hp.toString());N(M.getInstance(),"ccrs",Og.toString());N(M.getInstance(),"ccru",Ip.toString());N(M.getInstance(),"ccrhc",il.toString())}break;case "UniversalAdId":var ll=b.kb,ml=ll.push,Ri=U(e);Ri||(Ri=e.getAttribute("idValue")); var nl=e.getAttribute("idRegistry");ml.call(ll,new rH({Le:nl,Me:Ri}))}}return new sH(b)};var vJ=function(a,b){this.j=a;this.g=b===void 0?null:b};var wJ=function(a,b){zH.call(this,a);this.g=b};r(wJ,zH);var xJ=function(){};r(xJ,VI);xJ.prototype.j=function(a){var b=new SG;this.g(a,b);return b}; xJ.prototype.g=function(a,b){VI.prototype.g.call(this,a,b);for(var c=u(a.g),d=c.next();!d.done;d=c.next())d=d.value,yJ(d,b),d=d.g,d instanceof CI&&(b.description=d.description);a:if(c=a.g.length<1?null:a.g[0])if(d=yH(a,vJ),d.length>0)for(a=u(d),c=a.next();!c.done;c=a.next())c=c.value,c.j&&(b.ta=c.g?c.g:5E3);else{c=u(c.g.wa);for(d=c.next();!d.done;d=c.next())if((d=d.value.wb)&&d.ta!=null){b.ta=d.ta;break a}c=yH(a,zH);c=u(c);for(d=c.next();!d.done;d=c.next()){d=u(d.value.ca);for(var e=d.next();!e.done;e= d.next())if(e.value.eventType=="skip"){b.ta=5E3;break a}}a=yH(a,wJ);a=u(a);for(c=a.next();!c.done;c=a.next())if(c.value.g=="Generic"){b.ta=5E3;break}}}; var yJ=function(a,b){for(var c=u(a.g.wa),d=c.next();!d.done;d=c.next()){d=d.value;var e=d.wb;if(e){b.creativeId=d.id;b.F=d.adId;b.kb=d.kb.map(function(k){return new RG(k.Me,k.Le)});for(var f=u(e.ca),g=f.next();!g.done;g=f.next())b.nb(GF(g.value));if(f=e.Df){g=u(f.zb);for(var h=g.next();!h.done;h=g.next())h=h.value,b.nb(HF("click",h.url,h.g,h.id));g=u(f.Ae);for(h=g.next();!h.done;h=g.next())h=h.value,h.id&&b.nb(new FF(h.id,h.url))}a.g instanceof CI&&(b.qa=d.wb.duration,e.va&&(b.va=e.va),f&&f.La&&(b.g= f.La.url,b.j=Ht(f.La),b.N=f.La.g))}}};var zJ=function(a){this.l=a};r(zJ,xJ);zJ.prototype.j=function(a){var b=new aH(this.l);this.g(a,b);return b};zJ.prototype.g=function(a,b){xJ.prototype.g.call(this,a,b);b.B=a.g[0].g.je};AF([1,8,9,10,11,12,2,3,4,5,15,16,19,20,21,23]);var AJ=AF([1,6,7,9,10,11,12,2,3,4,5,13,14,18,19,20,21,23]).clone();lh(AJ,1,jf,22,kf);AF([1,6,7,9,10,11,12,22,2,3,4,5,13,14,17,18,19,20,21,23]);new zF;var BJ,CJ,DJ,EJ=function(){return B.navigator?B.navigator.userAgent:""},FJ=Ab(EJ(),"(iPad")||Ab(EJ(),"(Macintosh")||Ab(EJ(),"(iPod")||Ab(EJ(),"(iPhone");function GJ(a,b){b=b!=null?b:"";Ec&&(b="");if(!D(rl(a))){var c=!yk(a)&&BF.test(a)?wk(a):a;a=yk(c)?c:Dk(a);Lk(window,a,"_blank",b)}};function HJ(a,b){for(var c;!(c=a.next()).done;)b(c.value)}var IJ=function(a,b){this.g=a[B.Symbol.iterator]();this.j=b};IJ.prototype[Symbol.iterator]=function(){return this};IJ.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 JJ=function(a,b){return new IJ(a,b)};var KJ=function(a,b){var c=new Set(a);HJ(b[Symbol.iterator](),function(d){return c.add(d)});return c};var LJ={attributes:!0,attributeFilter:["style","class"]},MJ=new Map;function PJ(a,b,c,d){return typeof DOMRect!=="undefined"?new DOMRect(a,b,c,d):{x:a,y:b,width:c,height:d,top:b,bottom:b+d,left:a,right:a+c,toJSON:function(){return this}}}function QJ(a,b){return["top","left","width","height"].every(function(c){return Math.abs(Number(a[c])-Number(b[c]))<=1})}var RJ=function(){this.l=this.g=this.j=null}; function SJ(a,b,c,d){var e=a.getBoundingClientRect();QJ(b,e)?(e=setTimeout(function(){return SJ(a,b,c,d)},200),d.l=e):(TJ(d),c(e))} function UJ(a){var b=new RJ,c=new Promise(function(f){var g=a.getBoundingClientRect();if("ResizeObserver"in window){var h=new ResizeObserver(function(k){window.requestAnimationFrame(function(){for(var l=u(k),n=l.next();!n.done;n=l.next()){var p=n.value;if(p.contentBoxSize){var q=Array.isArray(p.contentBoxSize)?p.contentBoxSize[0]:p.contentBoxSize;n=Math.round(q.inlineSize);q=Math.round(q.blockSize)}else n=Math.round(p.contentRect.width),q=Math.round(p.contentRect.height);var v=void 0,t=void 0,x=((v= p)==null?void 0:(t=v.contentRect)==null?void 0:t.left)||g.left;t=v=void 0;p=((v=p)==null?void 0:(t=v.contentRect)==null?void 0:t.top)||g.top;n=PJ(x,p,n,q);if(!QJ(g,n))return TJ(b),f(n)}})});b.j=h;h.observe(a);h=new MutationObserver(function(){window.requestAnimationFrame(function(){var k=a.getBoundingClientRect();if(!QJ(g,k))return TJ(b),f(k)})});b.g=h;h.observe(a,LJ)}else SJ(a,g,f,b)}),d,e=(d=MJ.get(c))!=null?d:new Set;e.add(b);MJ.set(c,e);return c} function VJ(a){var b=b===void 0?PJ(0,0,1,1):b;var c=function(g){var h=UJ(a),k,l=(k=MJ.get(g))!=null?k:new Set,n;k=(n=MJ.get(h))!=null?n:new Set;MJ.set(g,KJ(l,k));return h},d=function(g,h){c(g).then(function(k){return b.width<=k.width&&b.height<=k.height?(WJ(g),h(k)):d(g,h)})},e,f=new Promise(function(g){e=g});d(f,e);return f}function WJ(a){a=MJ.get(a);a=u(a);for(var b=a.next();!b.done;b=a.next())TJ(b.value)} function TJ(a){a.l&&window.clearTimeout(a.l);a.j&&(a.j.disconnect(),a.j=null);a.g&&(a.g.disconnect(),a.g=null)};var XJ=function(a){R.call(this);this.g=a;this.o=this.A=!1;this.C=this.D=0;this.j=new wy(1E3);Vt(this,this.j);ju(this.j,"tick",this.H,!1,this);ju(this.g,"pause",this.l,!1,this);ju(this.g,"playing",this.l,!1,this);ju(this.g,"ended",this.l,!1,this);ju(this.g,"timeupdate",this.l,!1,this)};r(XJ,R);var YJ=function(a){var b="currentTime";if(a.g[b])return a.g[b];b="getCurrentTime";return a.g[b]?a.g[b]():0}; XJ.prototype.l=function(a){switch(a.type){case "playing":ZJ(this);break;case "pause":case "ended":this.j.enabled&&this.j.stop();break;case "timeupdate":!this.A&&YJ(this)>0&&(this.A=!0,ZJ(this))}};var ZJ=function(a){!a.j.enabled&&a.A&&(a.D=YJ(a)*1E3,a.C=Date.now(),a.o=!1,a.j.start())};XJ.prototype.H=function(){var a=Date.now(),b=a-this.C,c=YJ(this)*1E3;c-this.D-1&&(b=b.substr(c+1).match(/^(\d+\.\d+\.\d+|^\d+\.\d+|^\d+)(-.*)?$/))){b=b[1];break b}}b="0.0.0"}if(!a||b!=="0.0.0"){a=BJ=!0;break a}}BJ=!1}a=BJ}a||(CJ===void 0&&(CJ=Ab(EJ(),"afma-sdk-a")?!0:!1),a=CJ);DJ=a}a=DJ?!0:mk()?!1:lK()}else a=!1;return a} function lK(){var a=!1,b=(new Vs(window.location.href)).j;jK.forEach(function(c){b.includes(c)&&(a=!0)});return a};function mK(a,b,c){if(typeof a==="number")var d={name:nK(a)};else d=a,a=oK(a.name);this.code=a;this.g=d;b="Error "+b+": "+this.getName();c&&(b+=", "+c);db.call(this,b)}cb(mK,db);mK.prototype.getName=function(){return this.g.name||""}; var pK={Fj:1,bn:2,NOT_FOUND_ERR:3,Ui:4,Yi:5,cn:6,Ej:7,ABORT_ERR:8,Aj:9,En:10,TIMEOUT_ERR:11,yj:12,INVALID_ACCESS_ERR:13,INVALID_STATE_ERR:14},qK=(B.g||B.j||pK).Fj,rK=(B.g||B.j||pK).NOT_FOUND_ERR,sK=(B.g||B.j||pK).Ui,tK=(B.g||B.j||pK).Yi,uK=(B.g||B.j||pK).Ej,vK=(B.g||B.j||pK).ABORT_ERR,wK=(B.g||B.j||pK).Aj,xK=(B.g||B.j||pK).TIMEOUT_ERR,yK=(B.g||B.j||pK).yj,zK=(B.DOMException||pK).INVALID_ACCESS_ERR,AK=(B.DOMException||pK).INVALID_STATE_ERR,oK=function(a){switch(a){case "UnknownError":return qK;case "NotFoundError":return rK; case "ConstraintError":return sK;case "DataError":return tK;case "TransactionInactiveError":return uK;case "AbortError":return vK;case "ReadOnlyError":return wK;case "TimeoutError":return xK;case "QuotaExceededError":return yK;case "InvalidAccessError":return zK;case "InvalidStateError":return AK;default:return qK}},nK=function(a){switch(a){case qK:return"UnknownError";case rK:return"NotFoundError";case sK:return"ConstraintError";case tK:return"DataError";case uK:return"TransactionInactiveError"; case vK:return"AbortError";case wK:return"ReadOnlyError";case xK:return"TimeoutError";case yK:return"QuotaExceededError";case zK:return"InvalidAccessError";case AK:return"InvalidStateError";default:return"UnknownError"}},BK=function(a,b){return"error"in a?new mK(a.error,b):new mK({name:"UnknownError"},b)},CK=function(a,b){return"name"in a?new mK(a,b+": "+a.message):new mK({name:"UnknownError"},b)};function DK(a){this.g=a}var EK=B.IDBKeyRange||B.webkitIDBKeyRange;/* Copyright 2005, 2007 Bob Ippolito. All Rights Reserved. Copyright The Closure Library Authors. SPDX-License-Identifier: MIT */ var FK=function(){this.A=[];this.o=this.l=!1;this.j=void 0;this.C=this.H=this.F=!1;this.B=0;this.g=null;this.G=0};FK.prototype.cancel=function(a){if(this.l)this.j instanceof FK&&this.j.cancel();else{if(this.g){var b=this.g;delete this.g;a?b.cancel(a):(b.G--,b.G<=0&&b.cancel())}this.C=!0;this.l||GK(this,new HK(this))}};FK.prototype.D=function(a,b){this.F=!1;IK(this,a,b)};var IK=function(a,b,c){a.l=!0;a.j=c;a.o=!b;JK(a)},LK=function(a){if(a.l){if(!a.C)throw new KK(a);a.C=!1}}; FK.prototype.callback=function(a){LK(this);IK(this,!0,a)};var GK=function(a,b){LK(a);IK(a,!1,b)},NK=function(a,b){return MK(a,b,null)},MK=function(a,b,c,d){var e=a.l;e||(b===c?b=c=yu(b):(b=yu(b),c=yu(c)));a.A.push([b,c,d]);e&&JK(a);return a};FK.prototype.then=function(a,b,c){var d,e,f=new ey(function(g,h){e=g;d=h});MK(this,e,function(g){g instanceof HK?f.cancel():d(g);return OK},this);return f.then(a,b,c)};FK.prototype.$goog_Thenable=!0; var PK=function(a){return kc(a.A,function(b){return typeof b[1]==="function"})},OK={},JK=function(a){if(a.B&&a.l&&PK(a)){var b=a.B,c=QK[b];c&&(B.clearTimeout(c.g),delete QK[b]);a.B=0}a.g&&(a.g.G--,delete a.g);b=a.j;for(var d=c=!1;a.A.length&&!a.F;){var e=a.A.shift(),f=e[0],g=e[1];e=e[2];if(f=a.o?g:f)try{var h=f.call(e||null,b);h===OK&&(h=void 0);h!==void 0&&(a.o=a.o&&(h==b||h instanceof Error),a.j=b=h);if(cy(b)||typeof B.Promise==="function"&&b instanceof B.Promise)d=!0,a.F=!0}catch(k){b=k,a.o=!0, PK(a)||(c=!0)}}a.j=b;d&&(h=Ya(a.D,a,!0),d=Ya(a.D,a,!1),b instanceof FK?(MK(b,h,d),b.H=!0):b.then(h,d));c&&(b=new RK(b),QK[b.g]=b,a.B=b.g)},KK=function(){db.call(this)};cb(KK,db);KK.prototype.message="Deferred has already fired";KK.prototype.name="AlreadyCalledError";var HK=function(){db.call(this)};cb(HK,db);HK.prototype.message="Deferred was canceled";HK.prototype.name="CanceledError";var RK=function(a){this.g=B.setTimeout(Ya(this.l,this),0);this.j=a}; RK.prototype.l=function(){delete QK[this.g];throw this.j;};var QK={};function SK(){R.call(this)}cb(SK,R);SK.prototype.g=null;SK.prototype.next=function(a){if(a)this.g["continue"](a);else this.g["continue"]()};SK.prototype.remove=function(){var a=new FK;try{var b=this.g["delete"]()}catch(c){return GK(a,CK(c,"deleting via cursor")),a}b.onsuccess=function(){a.callback()};b.onerror=function(c){GK(a,BK(c.target,"deleting via cursor"))};return a};SK.prototype.getValue=function(){return this.g.value}; var TK=function(a,b){var c=new SK;try{var d=a.openCursor(b?b.g:null)}catch(e){throw c.dispose(),CK(e,a.name);}d.onsuccess=function(e){c.g=e.target.result||null;c.g?c.dispatchEvent("n"):c.dispatchEvent("c")};d.onerror=function(){c.dispatchEvent("e")};return c};function UK(a){this.g=a}UK.prototype.getName=function(){return this.g.name};var VK=function(a,b,c){var d=new FK;try{var e=a.g.get(c)}catch(f){return b+=" with key "+Ok(c),GK(d,CK(f,b)),d}e.onsuccess=function(f){d.callback(f.target.result)};e.onerror=function(f){b+=" with key "+Ok(c);GK(d,BK(f.target,b))};return d};UK.prototype.get=function(a){return VK(this,"getting from index "+this.getName(),a)};var WK=function(a,b){return TK(a.g,b)};function XK(a){this.g=a}XK.prototype.getName=function(){return this.g.name};var YK=function(a,b,c,d,e){var f=new FK;try{var g=e?a.g[b](d,e):a.g[b](d)}catch(h){return c+=Ok(d),e&&(c+=", with key "+Ok(e)),GK(f,CK(h,c)),f}g.onsuccess=function(h){f.callback(h.target.result)};g.onerror=function(h){c+=Ok(d);e&&(c+=", with key "+Ok(e));GK(f,BK(h.target,c))};return f},ZK=function(a,b){return YK(a,"put","putting into "+a.getName()+" with value",b)}; XK.prototype.add=function(a,b){return YK(this,"add","adding into "+this.getName()+" with value ",a,b)};XK.prototype.remove=function(a){var b=new FK;try{var c=this.g["delete"](a instanceof DK?a.g:a)}catch(e){return c="removing from "+this.getName()+" with key "+Ok(a),GK(b,CK(e,c)),b}c.onsuccess=function(){b.callback()};var d=this;c.onerror=function(e){var f="removing from "+d.getName()+" with key "+Ok(a);GK(b,BK(e.target,f))};return b}; XK.prototype.get=function(a){var b=new FK;try{var c=this.g.get(a)}catch(e){return c="getting from "+this.getName()+" with key "+Ok(a),GK(b,CK(e,c)),b}c.onsuccess=function(e){b.callback(e.target.result)};var d=this;c.onerror=function(e){var f="getting from "+d.getName()+" with key "+Ok(a);GK(b,BK(e.target,f))};return b}; XK.prototype.clear=function(){var a="clearing store "+this.getName(),b=new FK;try{var c=this.g.clear()}catch(d){return GK(b,CK(d,a)),b}c.onsuccess=function(){b.callback()};c.onerror=function(d){GK(b,BK(d.target,a))};return b};var $K=function(a){try{return new UK(a.g.index("timestamp"))}catch(b){throw CK(b,"getting index timestamp");}};function aL(a,b){R.call(this);this.g=a;this.l=b;this.j=new uu(this);this.j.listen(this.g,"complete",Ya(this.dispatchEvent,this,"complete"));this.j.listen(this.g,"abort",Ya(this.dispatchEvent,this,"abort"));this.j.listen(this.g,"error",this.lj)}cb(aL,R);m=aL.prototype;m.lj=function(a){a.target instanceof mK?this.dispatchEvent({type:"error",target:a.target}):this.dispatchEvent({type:"error",target:BK(a.target,"in transaction")})}; m.objectStore=function(a){try{return new XK(this.g.objectStore(a))}catch(b){throw CK(b,"getting object store "+a);}};m.commit=function(a){if(this.g.commit||!a)try{this.g.commit()}catch(b){throw CK(b,"cannot commit the transaction");}};m.wait=function(){var a=new FK;iu(this,"complete",Ya(a.callback,a));var b=iu(this,"abort",function(){ru(c);GK(a,new mK(vK,"waiting for transaction to complete"))});var c=iu(this,"error",function(e){ru(b);GK(a,e.target)});var d=this.l;return NK(a,function(){return d})}; m.abort=function(){this.g.abort()};m.O=function(){aL.yb.O.call(this);this.j.dispose()};var bL={READ_ONLY:"readonly",READ_WRITE:"readwrite",Gn:"versionchange"};function cL(a){R.call(this);this.g=a;this.j=new uu(this);this.j.listen(this.g,"abort",Ya(this.dispatchEvent,this,"abort"));this.j.listen(this.g,"error",this.mj);this.j.listen(this.g,"versionchange",this.dk);this.j.listen(this.g,"close",Ya(this.dispatchEvent,this,"close"))}cb(cL,R);m=cL.prototype;m.Mg=!0;m.mj=function(a){a=(a=a.target)&&a.error;this.dispatchEvent({type:"error",errorCode:a&&a.severity})};m.dk=function(a){this.dispatchEvent(new dL(a.oldVersion,a.newVersion))}; m.close=function(){this.Mg&&(this.g.close(),this.Mg=!1)};m.Ic=function(){return this.Mg};m.getName=function(){return this.g.name};m.getVersion=function(){return Number(this.g.version)};var eL=function(a){var b=["MediaSourceVideoChunk"],c=bL.READ_WRITE;try{var d=c?a.g.transaction(b,c):a.g.transaction(b);return new aL(d,a)}catch(e){throw CK(e,"creating transaction");}};cL.prototype.O=function(){cL.yb.O.call(this);this.j.dispose()}; var dL=function(a,b){Wt.call(this,"versionchange");this.oldVersion=a;this.newVersion=b};cb(dL,Wt);var fL=void 0; function gL(a){var b=new FK;fL==void 0&&(fL=B.indexedDB||B.mozIndexedDB||B.webkitIndexedDB||B.moz_indexedDB);var c=fL.open("IndexedDbVideoChunkPersistentStorage",6);c.onsuccess=function(d){d=new cL(d.target.result);b.callback(d)};c.onerror=function(d){GK(b,BK(d.target,"opening database IndexedDbVideoChunkPersistentStorage"))};c.onupgradeneeded=function(d){if(a){var e=new cL(d.target.result);a(new dL(d.oldVersion,d.newVersion),e,new aL(d.target.transaction,e))}};c.onblocked=function(){};return b};var hL=function(){R.apply(this,arguments);this.g=null};r(hL,R);hL.prototype.initialize=function(){var a=this;return Promise.resolve(gL(this.j)).then(function(b){a.g=b},function(b){N(M.getInstance(),"codf",b.message)})};hL.prototype.Ic=function(){return this.g!==null&&this.g.Ic()};hL.prototype.close=function(){var a=this;return(new Promise(function(b){iL(a,b)})).then(function(){return jL()}).then(function(){a.g.close()})}; var jL=function(){var a;return((a=navigator.storage)==null?0:a.estimate)?navigator.storage.estimate().then(function(b){N(M.getInstance(),"csue",String(b.usage))}):Promise.resolve(void 0)};hL.prototype.sg=function(a){return(a=kL(a,0))?lL(this,mL(a),a.lmt):Promise.resolve(null)};hL.prototype.Nf=function(a,b,c,d){(b=kL(b,c))?(c=b.startIndex,nL(this,{cacheId:mL(b),startIndex:c,endIndex:c+a.byteLength-1,lmt:b.lmt,timestamp:new Date(Date.now()),isLastVideoChunk:d,itag:b.itag,video:a})):Promise.resolve(void 0)}; hL.prototype.j=function(a,b){if(b.g.objectStoreNames.contains("MediaSourceVideoChunk"))try{b.g.deleteObjectStore("MediaSourceVideoChunk")}catch(d){throw CK(d,"deleting object store MediaSourceVideoChunk");}a={keyPath:"cacheId"};try{var c=new XK(b.g.createObjectStore("MediaSourceVideoChunk",a))}catch(d){throw CK(d,"creating object store MediaSourceVideoChunk");}b={unique:!1};try{c.g.createIndex("timestamp","timestamp",b)}catch(d){throw CK(d,"creating new index timestamp with key path timestamp");}}; var iL=function(a,b){var c=new Date(Date.now());c.setDate(c.getDate()-30);c=new DK(EK.upperBound(c,void 0));var d=WK($K(eL(a.g).objectStore("MediaSourceVideoChunk")),c),e=d.listen("n",function(){d.remove();d.next()});iu(d,"c",function(){ru(e);b()})},kL=function(a,b){var c=new fK(a);a=c.getId();var d=hK(c,"itag"),e=c.Kd(),f=hK(c,"lmt");c=iK(c);var g=[];a?d?e?f?c===null&&g.push("startIndex"):g.push("lmt"):g.push("source"):g.push("itag"):g.push("videoId");return g.length>0?(N(M.getInstance(),"civp", g.join("-")),null):{videoId:a,itag:d,source:e,lmt:f,startIndex:c+b}},mL=function(a){for(var b=[a.videoId,a.source,a.startIndex].join(),c=0,d=0;d3;if(c&&a.o!==null){var d=sI("media_source_error",{code:a.j>0?MediaError.MEDIA_ERR_NETWORK:MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED,message:'Response code "'+a.o+'" with '+a.g+" bytes requested and "+a.j+" bytes loaded"});a.dispatchEvent(d)}a.j=400)N(M.getInstance(),"lvlxes",d.status.toString()),a.o=d.status,c();else{if(Vp(Aq)){var h=d.responseText;for(var k=new ArrayBuffer(h.length),l=new Uint8Array(k),n=0;n0&&a.l.Nf(h,a.uri,0,h.byteLength=400)a.o=d.status;else{if(Vp(Aq)){var h=d.responseText;var k=new ArrayBuffer(h.length);for(var l=new Uint8Array(k),n=0;n3;if(c){a.o===null&&(a.o=400);var d=sI("media_source_error",{code:a.l>0?MediaError.MEDIA_ERR_NETWORK:MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED,message:'Response code "'+a.o+'" with '+a.g+" bytes requested and "+a.l+" bytes loaded"});a.dispatchEvent(d)}a.l=400)return N(M.getInstance(),"lvlfes",d.status.toString()),a.o=d.status,k.return(Promise.reject());f=(e=d.body)==null?void 0:e.getReader();if(!f)return Eo(M.getInstance(),"lvlmr"),a.o=d.status,k.return(Promise.reject());g=[];h=function(){var l,n,p,q,v,t;return z(function(x){if(x.g==1)return y(x,f.read(),2);l=x.j;n=l.done;p=l.value;if(n)return q=b0&&a.j.Nf(d.buffer,a.uri,0,c)},EL=function(a,b){b!==null&&(b=b.slice(0),a.l+=b.byteLength,a.dispatchEvent({type:"progress",Uf:b}))};zL.prototype.O=function(){var a;((a=this.j)==null?0:a.Ic())&&this.j.close();dK.prototype.O.call(this)};var GL=function(){};GL.prototype.Pk=function(a,b,c){return c===0?1E6:b-a<5E3?3E5:0};var IL=function(a,b,c,d,e,f){c=c===void 0?0:c;d=d===void 0?null:d;e=e===void 0?null:e;f=f===void 0?0:f;R.call(this);var g=this;this.g=a;this.j=[];this.l=!1;this.D=c;this.C=d;this.o=e;this.A=f;this.o&&this.o.listen("updateend",function(){HL(g)});this.g||Eo(M.getInstance(),"msms_sbf"+b);this.g.addEventListener("updateend",function(){HL(g)});this.g.addEventListener("error",function(){Eo(M.getInstance(),"msms_sbe"+b)})};r(IL,R); var HL=function(a){if(!a.g.updating&&a.l){if(a.o&&a.C!==null){var b=a.o.g;b=b.buffered.length>0?b.buffered.end(b.buffered.length-1):0;var c=a.g.buffered.length>0?a.g.buffered.end(a.g.buffered.length-1):0;if(!a.C()&&c>b-a.D)return}a.j.length>0?(b=a.j.shift(),a.g.appendBuffer(b)):(a.l=!1,a.dispatchEvent(new Event("updateend")))}};ha.Object.defineProperties(IL.prototype,{H:{configurable:!0,enumerable:!0,get:function(){return this.l}}});var JL=function(){this.g=this.cache=null};m=JL.prototype;m.initialize=function(){var a=this;return window.caches.open("CACHE_VIDEO_CHUNK_PERSISTENT_STORAGE").then(function(b){a.cache=b},function(b){N(M.getInstance(),"codf",b.message)})};m.Ic=function(){return this.cache!==null};m.close=function(){return Promise.resolve()}; m.sg=function(a){var b=this;a=KL(this,a);return this.Ic()&&a?this.cache.match(a).then(function(c){if(!c)return N(M.getInstance(),"cenf","1"),Promise.resolve(null);N(M.getInstance(),"cef","1");return c.arrayBuffer().then(function(d){var e=iK(b.g),f;(f=b.g.uri.g.get("range"))?(f=f.split("-")[1],f=!f||isNaN(Number(f))?null:Number(f)):f=null;e=e+d.byteLength-1;f=f>e;return{itag:hK(b.g,"itag"),endIndex:e,isLastVideoChunk:f,video:d}})},function(c){N(M.getInstance(),"cgvf",c.message);return Promise.resolve(null)}): (N(M.getInstance(),"cgvf","1"),Promise.resolve(null))};m.Nf=function(a,b){b=KL(this,b);a=new Response(a);this.Ic()&&b?this.cache.put(b,a).then(function(){N(M.getInstance(),"cavs","1")},function(c){N(M.getInstance(),"cavf",c.message)}):(N(M.getInstance(),"cavf","1"),Promise.resolve())}; var KL=function(a,b){a.g=new fK(b);b=a.g.getId();var c=hK(a.g,"itag"),d=a.g.Kd(),e=hK(a.g,"lmt");a=hK(a.g,"range");if(b&&c&&d&&a)return new Request("http://url/videoplayback?id="+b+"&itag="+c+"&source="+d+"&lmt="+e+"&range="+a);N(M.getInstance(),"civp","1");return null};var LL=function(a,b){this.currentTimeSeconds=a;this.removedRanges=b},OL=function(a,b,c){b=b===void 0?1:b;c=c===void 0?1E3:c;R.call(this);var d=this;this.A=a;this.j=[];this.J=[];this.D=null;this.H=0;this.W=!1;this.C=0;this.o=[];this.Y=b;this.M=c;if(Vp(pq)){var e=null;kK()&&(Vp(sq)?e=cI(JL):e=cI(hL));this.l=this.A.map(function(f){return cI(zL,f.url,vt(f.url)?null:e)})}else this.l=this.A.map(function(f){return cI(oL,f.url)});Vp(uq)&&this.l.forEach(function(f){f.listen("bandaid_fallback_count",function(g){d.dispatchEvent(g)})}); this.g=cI(wL());this.R=function(){ML(d)};this.g.addEventListener("sourceopen",this.R);this.N=NL(this)};r(OL,R); var NL=function(a){for(var b=[],c=0;c0){b.Hi=a.l[0];var d=a.J[0];b.Qc=cI(IL,a.g.addSourceBuffer(c.mimeType),b.ra,a.Y,function(e){return function(){return e.Hi.A()}}(b), d,a.M)}else b.Qc=cI(IL,a.g.addSourceBuffer(c.mimeType),b.ra,0,null,null,a.M);else b.Qc=cI(IL,a.g.addSourceBuffer(c.mimeType),b.ra);b.Te=a.l[b.ra];b.Te.listen("progress",function(e){return function(f){var g=e.Qc,h=e.Te;f=f.Uf;if(f.byteLength!==0){g.l=!0;if(g.A>0)for(var k=0;k0&&a.dispatchEvent(new CustomEvent("bufferremoved",{detail:new LL(a.C/1E3,e.removedRanges)}))}}(b))}N(M.getInstance(),"msms_ns",a.j.length.toString());a.W=!0;RL(a)},QL=function(a,b,c){a.o[c].length===0&&a.l[c].N()?RL(a):b.updating||a.o[c].length===0||(a=a.o[c].shift(),b.appendBuffer(a))},PL=function(a){Vp(qq)?Promise.all(a.J.map(function(b){return new Promise(function(c){b.H? b.listen("updateend",function(){c()}):c()})})).then(function(){a.g.endOfStream()}):Promise.all(a.j.map(function(b,c){return new Promise(function(d){b.updating?b.addEventListener("updateend",function(){Vp(pq)&&(b.updating||a.o[c].length>0)||d()}):d()})})).then(function(){a.g.endOfStream()})},RL=function(a){if(a.W)for(var b=0;b0&&this.o==0)for(;c=this.l.pop();)this.A(c)}}}};var uM=function(a,b,c){ay(function(){a.apply(b,c)})}; rM.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={}};rM.prototype.O=function(){rM.yb.O.call(this);this.clear();this.l.length=0};function vM(a){Q.call(this);this.g=new rM(a);Vt(this,this.g)}cb(vM,Q);var wM=function(a,b,c){a.g.C(b.toString(),c)};vM.prototype.clear=function(a){this.g.clear(a!==void 0?a.toString():void 0)};var xM=function(a){a=a===void 0?null:a;Q.call(this);this.g=new uu(this);Vt(this,this.g);this.jb=a};r(xM,Q);var yM=function(a,b,c){c=c===void 0?null:c;a.jb&&(sM(a.jb.g,qM.toString(),b,c),Ut(a,function(){tM(a.jb.g,qM.toString(),b,c)}))};var zM=function(a,b){xM.call(this,b);yM(this,function(c){a.g.mode=c?"showing":"hidden"},this)};r(zM,xM);var AM=function(){R.call(this);this.j=new uu(this);Vt(this,this.j)};r(AM,R);var CM=function(a,b,c){c=c===void 0?!0:c;AM.call(this);a.setAttribute("crossorigin","anonymous");var d=vm("TRACK");d.setAttribute("kind","captions");d.setAttribute("src",b);d.setAttribute("default","");a.appendChild(d);this.g=a.textTracks[0];BM(this);this.g.mode=c?"showing":"hidden"};r(CM,AM);var BM=function(a){var b=a.g;b.addEventListener("cuechange",function(){for(var c=b.cues,d=0;d0&&e>0&&f>0&&g>0?(d=d.width/d.height,b/=e,b=Math.min(b,d)/Math.max(b,d)>=.97?"cover":"contain"):b=null;b!==null&&Pm(c,{"object-fit":b})})});a.T.addEventListener("play",function(){a.ki||(ZL(a.T,"first_play"),a.ki=!0)});a.T.addEventListener("pause",function(){a.uf||(ZL(a.T,"first_pause"),aM(a.T),a.uf=!0)});ju(B,"pagehide",function(){a.uf||(ZL(a.T,"first_pause"),aM(a.T),a.uf=!0)});a.T.addEventListener("stalled",function(){N(M.getInstance(), "ves","1")});(new XJ(a.T)).listen("playbackStalled",function(){return N(M.getInstance(),"pbs","1")});a.T.addEventListener("media_source_error",function(b){WM(a);b=b.detail;XM(a,new LM(b.code,b.message))});$M(a)},PM=function(a){var b=KM(a.childNodes);b&&aN(a,b);a.re===null&&bN(a)},bN=function(a){if(B.MutationObserver){var b=new MutationObserver(function(c){c=u(c);for(var d=c.next();!d.done;d=c.next())if(d=d.value,d.type==="childList"&&(d=KM(d.addedNodes))){aN(a,d);b.disconnect();break}});b.observe(a, HM)}},OM=function(a){a.T.addEventListener("volumechange",function(){wM(a.jb,pM,a.T.muted);a.Gl||wM(a.jb,qM,a.T.muted)})},aN=function(a,b){if(a.re===null&&b.hasAttribute("src")){var c=b.getAttribute("src");a.re=new CM(a.T,c,b.hasAttribute("default"));new zM(a.re,a.jb);c.includes("kind=asr")&&N(M.getInstance(),"act","1")}},SM=function(a,b){if(b!==a.hi){a.hi=b;a.Jl&&b&&ut(b)&&(b=wt(b));var c=b?qI(b):null,d=!!c&&yL(c);N(M.getInstance(),"umsem",d?"1":"0");d?(b=cI($L,b,rI(c),gI[c]*1E3,null),a.na=cI(OL, [b]),a.Fd&&a.na.xf(a.Fd),a.na.listen("media_source_error",function(e){e=sI("media_source_error",e.detail);a.T.dispatchEvent(e)}),Vp(uq)&&a.na.listen("bandaid_fallback_count",function(){a.dispatchEvent(sI("bandaid_fallback_count"))}),a.Wd=function(){var e=a.na;e.C=a.T.currentTime*1E3;RL(e)},a.T.addEventListener("timeupdate",a.Wd),xL(a.na.g)&&(UM(a,"disableRemotePlayback","true"),VM(),a.kf=function(e){e=e.detail;e.currentTimeSeconds=a.T.currentTime;a.dispatchEvent(new CustomEvent("bufferremoved",{detail:e}))}, a.na.listen("bufferremoved",a.kf)),UM(a,"src",SL(a.na))):(WM(a),UM(a,"src",b));a.ti||RM(a)}},TM=function(a){a.src&&XM(a,new LM(MediaError.MEDIA_ERR_ABORTED,"Setting demuxed src after src is already set."));if(!a.bd&&!a.Dc&&a.na)WM(a),UM(a,"src",null),RM(a);else if(a.bd&&a.Dc){var b=qI(ut(a.Dc)?wt(a.Dc):a.Dc),c=qI(ut(a.bd)?wt(a.bd):a.bd);if(b&&yL(b))if(c&&yL(c)){var d=!!b&&yL(b)&&!!c&&yL(c);N(M.getInstance(),"umsed",d?"1":"0");b=cI($L,a.Dc,rI(b),-1,null);c=cI($L,a.bd,rI(c),-1,null);a.na=cI(OL,[b,c]); a.Fd&&a.na.xf(a.Fd);a.na.listen("media_source_error",function(e){e=sI("media_source_error",e.detail);a.T.dispatchEvent(e)});Vp(uq)&&a.na.listen("bandaid_fallback_count",function(){a.dispatchEvent(sI("bandaid_fallback_count"))});a.Wd=function(){var e=a.na;e.C=a.T.currentTime*1E3;RL(e)};a.T.addEventListener("timeupdate",a.Wd);xL(a.na.g)&&(UM(a,"disableRemotePlayback","true"),VM(),a.kf=function(e){e=e.detail;e.currentTimeSeconds=a.T.currentTime;a.dispatchEvent(new CustomEvent("bufferremoved",{detail:e}))}, a.na.listen("bufferremoved",a.kf));UM(a,"src",SL(a.na));a.ti||RM(a)}else XM(a,new MM('Audio itag "'+c+'" not supported.'));else XM(a,new MM('Video itag "'+b+'" not supported.'))}},YM=function(a){for(var b=u(GM),c=b.next(),d={};!c.done;d={Qb:void 0,getValue:void 0},c=b.next())d.Qb=c.value,d.Qb in a.T&&(typeof a.T[d.Qb]==="function"?(d.getValue=a.T[d.Qb].bind(a.T),Object.defineProperty(a,d.Qb,{set:function(e){return function(f){a.T[e.Qb]=f}}(d),get:function(e){return function(){return e.getValue}}(d)})): Object.defineProperty(a,d.Qb,{set:function(e){return function(f){a.T[e.Qb]=f}}(d),get:function(e){return function(){return a.T[e.Qb]}}(d)}))},ZM=function(a){Object.defineProperty(a,"error",{set:function(){},get:function(){return a.T.error?a.T.error:a.uh}})},$M=function(a){a.T.style.width=Tm();a.T.style.height=Tm()};QM.prototype.disconnectedCallback=function(){this.Gf&&WJ(this.Gf);JM.prototype.disconnectedCallback&&JM.prototype.disconnectedCallback.call(this)}; ha.Object.defineProperties(QM.prototype,{bd:{configurable:!0,enumerable:!0,set:function(a){this.setAttribute("demuxedaudiosrc",a)},get:function(){return this.getAttribute("demuxedaudiosrc")}},Dc:{configurable:!0,enumerable:!0,set:function(a){this.setAttribute("demuxedvideosrc",a)},get:function(){return this.getAttribute("demuxedvideosrc")}},src:{configurable:!0,enumerable:!0,set:function(a){this.setAttribute("src",a)},get:function(){return this.getAttribute("src")}}}); ha.Object.defineProperties(QM,{observedAttributes:{configurable:!0,enumerable:!0,get:function(){return FM}}});B.customElements&&(B.customElements.get("lima-video")||B.customElements.define("lima-video",QM));var cN=function(){$J.apply(this,arguments)};r(cN,$J);cN.prototype.unload=function(){this.g.removeAttribute("demuxedVideoSrc");this.g.removeAttribute("demuxedAudioSrc");$J.prototype.unload.call(this)};var dN=function(a,b,c,d){cN.call(this,a,b===void 0?!1:b,c===void 0?!1:c,d===void 0?!1:d)};r(dN,cN);function eN(a){a=new fK(new Vs(a));var b=hK(a,"manifest"),c=hK(a,"itag");b=b||c||0;a=a.Kd()||"none";N(M.getInstance(),"vsrc",a);N(M.getInstance(),"bit",String(b))} function fN(a){if(a instanceof bH){var b=a.j,c=a.g;if(b===243&&c){var d=a.l+'; codecs="vp09.00.10.08"',e=a.A+'; codecs="'+a.Aa+'"';b=eI[b]*1E3||4E5;c=eI[c]*1E3||4E5;var f=sm(window),g=a.getHeight()||f.height;a=a.getWidth()||f.width;return{type:"media-source",audio:{contentType:e,channels:"2",bitrate:c,samplerate:44100},video:{contentType:d,width:a,height:g,bitrate:b,framerate:30}}}}return null};var vI=function(){var a;this.g=a=a===void 0?[]:a}; vI.prototype.select=function(a){Eo(M.getInstance(),"ghmsh_s");for(var b="",c="",d="",e=0,f=u(a.l),g=f.next();!g.done;g=f.next())g=g.value,b+=g.itag+",",g.url.indexOf("gvt1.com")>=0&&e++;f=u(a.g);for(g=f.next();!g.done;g=f.next())g=g.value,c+=g.itag+",",g.url.indexOf("gvt1.com")>=0&&e++;f=u(a.j);for(g=f.next();!g.done;g=f.next())g=g.value,d+=g.itag+",",g.url.indexOf("gvt1.com")>=0&&e++;f=u(a.o);for(g=f.next();!g.done;g=f.next())g=g.value,g.mimeType==="application/dash+xml"?N(M.getInstance(),"ghmsh_hd", "1"):g.mimeType==="application/vnd.apple.mpegurl"&&N(M.getInstance(),"ghmsh_hh","1");N(M.getInstance(),"ghmsh_mi",b);N(M.getInstance(),"ghmsh_vi",c);N(M.getInstance(),"ghmsh_ai",d);N(M.getInstance(),"ghmsh_gvt",e.toString());a:for(b=d=null,c=u(this.g),e=c.next();!e.done;e=c.next())switch(f=e.value,f.type){case "dash":if(d=gN(a,"application/dash+xml")){b=d;break a}break;case "hls":if(d=gN(a,"application/vnd.apple.mpegurl")){b=d;break a}break;case "itag":if(f.Nk)d=hN(a,f.Nk);else if(f.ih&&f.Oj){e=d= void 0;g=a;var h=f.ih;f=f.Oj;var k=iN(g.g);k=u(k);for(var l=k.next();!l.done;l=k.next())l=l.value,l.itag===h&&(e=l);if(f)for(g=iN(g.j),g=u(g),h=g.next();!h.done;h=g.next())h=h.value,h.itag===f&&(d=h);d=e&&d?jN(e,d):e?kN(e):null;d instanceof cH&&b==null&&(b=d,d=null)}else if(f.ih){d=void 0;e=f.ih;f=iN(a.g);f=u(f);for(g=f.next();!g.done;g=f.next())g=g.value,g.itag===e&&(d=g);d=d?new bH({Ji:d.url,Nj:"",Gi:d.itag,xh:null,Ii:d.mimeType,yh:"",ua:d.ua,Aa:"",height:d.height,width:d.width,pa:d.pa||!1,Nl:d.Bb, Mj:0}):null}if(d){b=d;break a}}b||(Eo(M.getInstance(),"ghmsh_f"),a.l.length>0?b=kN(a.l[0]):a.j.length>0&&a.g.length>0?b=jN(a.g[0],a.j[0]):(Eo(M.getInstance(),"ghmsh_ff"),b=null));return b?((c=b)?(N(M.getInstance(),"ams","1"),c.getWidth()&&c.getHeight()&&N(M.getInstance(),"vs",c.getWidth()+"x"+c.getHeight()),c.ua&&N(M.getInstance(),"vc",c.ua),c instanceof cH?(c.g&&N(M.getInstance(),"mt",c.g),c.getMediaUrl().indexOf("gvt1.com")>=0&&N(M.getInstance(),"gvt1","1"),eN(c.getMediaUrl())):c instanceof bH&& (c.l&&N(M.getInstance(),"mt",c.l),c.j&&(N(M.getInstance(),"bit",String(c.j)),c.o.indexOf("gvt1.com")>=0&&N(M.getInstance(),"gvt1","1")),c.g&&N(M.getInstance(),"bait",String(c.g)),eN(c.o))):N(M.getInstance(),"ams","0"),lN(b),Vp(nq)&&(a=(a=hN(a,18))?a:null)?[b,a]:[b]):[]}; var gN=function(a,b){a=iN(a.o);a=u(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.mimeType===b)return kN(c);return null},hN=function(a,b){a=iN(a.l);a=u(a);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.itag===b)return kN(c);return null},iN=function(a){return a.slice().sort(function(b,c){var d=b.Vc||b.xc||0;b=b.Vc||b.xc||0;var e=c.Vc||c.xc||0;c=c.Vc||c.xc||0;var f=null;f=f===void 0?null:f;if(f===null)d=0;else{var g=d<=f&&f<=b,h=e<=f&&f<=c;g&&h?d-=e:g||h?d=g?-1:1:(g=bf&&e>f?d-e:0)}return d})},kN=function(a){return new cH({Zh:a.url,mimeType:a.mimeType,itag:a.itag,ua:a.ua,Aa:a.Aa,height:a.height,width:a.width,pa:a.pa||!1,Bb:a.Bb})},jN=function(a,b){return new bH({Ji:a.url,Nj:b.url,Gi:a.itag,xh:b.itag,Ii:a.mimeType,yh:b.mimeType,ua:a.ua,Aa:b.Aa,height:a.height,width:a.width,pa:a.pa&&b.pa||!1,Nl:a.Bb,Mj:b.Bb})},lN=function(a){a=fN(a);var b,c;a&&((b=navigator)==null?0:(c=b.mediaCapabilities)==null?0:c.decodingInfo)&&navigator.mediaCapabilities.decodingInfo(a).then(function(d){N(M.getInstance(), "mcsu",d.supported?"1":"0");N(M.getInstance(),"mcsm",d.smooth?"1":"0");N(M.getInstance(),"mcpe",d.powerEfficient?"1":"0")})};RegExp.prototype.hasOwnProperty("sticky");var mN=function(a){a=a===void 0?{}:a;this.va=a.va;this.Vf=a.Vf;this.Wf=a.Wf;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.Hg=a.Hg;this.pd=a.pd;this.qd=a.qd;this.eh=a.eh;this.uri=a.uri;this.hh=a.hh;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;this.Oh=a.Oh};var nN=function(a,b,c,d){this.type=a;this.args=d;this.messageId=b;this.g=c};var oN=function(a,b,c){Wt.call(this,a.type);this.resolve=b;this.reject=c;this.args=a.args};r(oN,Wt);function pN(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 qN=function(a,b,c){c=c===void 0?{}:c;R.call(this);this.H=new Pu;this.J=b;var d;this.C={ig:(d=c.ig)!=null?d:!1};this.j=null;this.M=1;this.A=function(){return window};this.o=function(){return window};this.l=new uu(this);Vt(this,this.l);this.g=new Map;this.D=ev()};r(qN,R); var vN=function(a,b){var c=b.hk;b=b.jk;a.o=c;a.A=b;a.l.listen(window,"message",function(d){a:{d=d.If;var e=a.o();if(e=e?e===d.source:!1)e=pN(d),e=!(e==null||e.sendingInstanceId==null?0:a.C.ig&&e.sendingInstanceId===a.D);if(e){var f=pN(d);if(f!=null&&(d=f.type,e=f.sessionId,e==a.j||d=="createSession")&&(d!=="createSession"||a.j==null)){var g=f.args;f=f.messageId;if(f!=null){var h=null;try{if(d=="resolve"||d=="reject"){var k=g.messageId;h=k==null?null:new mN({qd:k,pd:g.value})}else h=rN(d,g)}catch(l){if(l.cause=== 1210){k=JSON.stringify({type:"TimingEvent",key:"smd_ss_nfo_init"});a.sendMessage("SIMID:Creative:log",new mN({message:k}));k=JSON.stringify({type:"OneShotParameter",key:"smd_ss_nfo_init_r",value:l.message});a.sendMessage("SIMID:Creative:log",new mN({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 mN({message:k}))),k=new nN(d,f,e,h),k.type){case "resolve":case "reject":if(d=k.args.qd)e= k.args.pd||{},a.g.has(d)&&(g=a.g.get(d),k.type=="resolve"?g.resolve(e):k.type=="reject"&&g.reject(e),a.g.delete(d));break;case "createSession":a.j=k.g;sN(a,k.messageId);a.H.resolve();break;default:tN(a,k)}else uN(a,f,{errorCode:1211,message:"Invalid message arguments."})}}}}})}; qN.prototype.sendMessage=function(a,b){b=b===void 0?new mN:b;var c=this.M++,d={};d.type=a;d.sessionId=this.j;this.C.ig&&(d.sendingInstanceId=this.D);d.messageId=c;d.timestamp=Date.now();if(a=="resolve"||a=="reject"){var e={};b=(e.messageId=b.qd,e.value=b.pd,e)}else{e={};switch(a){case "SIMID:Player:init":var f={};f=(f.adParameters=b.va,f.clickThruUri=b.Vf,f.clickThruUrl=b.Wf,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.hh,k.skippableState="adHandles",k.navigationSupport=b.Hg,k.version="1.0",k.focusAllowed=b.Oh,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;b=this.A();if(!b)throw Error("Target window is null."); b.postMessage(JSON.stringify(d),"*");return this.J.includes(a)?(a=new Pu,this.g.set(c,a),a.promise):Promise.resolve({})};var tN=function(a,b){a.dispatchEvent(new oN(b,function(c){c=c===void 0?{}:c;sN(a,b.messageId,c)},function(c){c=c===void 0?{}:c;uN(a,b.messageId,c)}))},sN=function(a,b,c){c=c===void 0?{}:c;a.sendMessage("resolve",new mN({qd:b,pd:c}))},uN=function(a,b,c){a.sendMessage("reject",new mN({qd:b,pd:c}))};function wN(a){return typeof a!="object"?!1:ee(a.width)&&ee(a.height)&&ee(a.x)&&ee(a.y)};function xN(a){a=a.trackingUrls;if(!(a instanceof Array))return Eo(M.getInstance(),"sp_s_vrt_ia"),!1;if(a.every(function(b){return typeof b=="string"}))return Eo(M.getInstance(),"sp_s_vrt_s"),!0;Eo(M.getInstance(),"sp_s_vrt_iu");return!1} function yN(a){if(!wN(a.videoDimensions))return Eo(M.getInstance(),"sp_s_vr_ivd"),!1;if(!wN(a.creativeDimensions))return Eo(M.getInstance(),"sp_s_vr_icd"),!1;if(typeof a.fullscreen!="boolean")return Eo(M.getInstance(),"sp_s_vr_ifs"),!1;Eo(M.getInstance(),"sp_s_vr_s");return!0} var zN=function(){},rN=function(a,b){switch(a){case "SIMID:Creative:requestChangeAdDuration":return a=b.duration,isNaN(a)||typeof a!="number"?null:new mN({duration:a});case "SIMID:Creative:reportTracking":return xN(b)?new mN({eh:b.trackingUrls}):null;case "SIMID:Creative:requestResize":return yN(b)?new mN({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 mN({volume:b.volume,muted:b.muted});case "SIMID:Creative:requestNavigation":return typeof b.uri!="string"?null:new mN({uri:b.uri});case "SIMID:Creative:log":return typeof b.message!="string"?null:new mN({message:b.message})}return new mN};var AN="SIMID:Player:adSkipped SIMID:Player:adStopped SIMID:Player:appBackgrounded SIMID:Player:fatalError SIMID:Player:init SIMID:Player:startCreative".split(" "),BN=function(a){R.call(this);this.g=new qN(new zN,AN,a);Vt(this,this.g);this.j=null;this.l=0};r(BN,R);var CN=function(a,b){vN(a.g,b);Object.values(iv).forEach(function(c){a.g.listen(c,function(d){c==="SIMID:Creative:log"&&d.args.message==="cr"?a.l=0:a.dispatchEvent(d)})})},DN=function(a){return a.g.sendMessage("SIMID:Player:startCreative")}; BN.prototype.log=function(a){return this.g.sendMessage("SIMID:Player:log",new mN({message:a}))};var FN=function(a){if(!a.j)return a.l=0,a.j=new Pu,EN(a),a.j.promise},EN=function(a){a.j&&(a.l===2?(a.j.resolve(),a.j=null):(a.log("pp"),a.l++,setTimeout(function(){return EN(a)},2E3)))};var GN={ENDED:"ended",ERROR:"error",PLAY:"play",PAUSE:"pause",Yl:"appBackgrounding",Zl:"appForegrounding",SEEKED:"seeked",SEEKING:"seeking",SKIPPED:"skipped",STALLED:"stalled",TIME_UPDATE:"timeUpdate",Ij:"volumeChange",DURATION_CHANGE:"durationChange",An:"resize"};var HN=function(a,b,c){Q.call(this);this.j=a;this.g=b;this.o=c;Vt(this,this.o);this.A=new uu(this);Vt(this,this.A);this.l=null};r(HN,Q); var IN=function(a,b,c){a=new HN(b,a,c);Vt(a,b);return a},LN=function(a){if(a.l)return a.l.promise;var b=JN(a.o);a.l=new Pu;CN(a.j,b);return a.j.g.H.promise.then(function(){KN(a);return a.l.promise})},PN=function(a){var b=!0;b=b===void 0?!1:b;a.l||LN(a);a.A.listen(a.j,Object.values(iv),function(c){return void MN(a,c)});a.A.listen(a.g,Object.values(GN),function(c){return void NN(a,c)});b?a.l.promise.then(function(){ON(a.o.g,"showIframe")}).then(function(){return DN(a.j)}):a.l.promise.then(function(){return DN(a.j)}).then(function(){ON(a.o.g, "showIframe")})},KN=function(a){QN(a.g).then(function(b){var c=Vm(a.g.U.g),d=a.g,e={};a:{var f=d.ad.va||"";d=(e.sdkv=hx(d.j),e.eid=Zp().sort().join(","),e.ssss="gima",e);try{var g=JSON.parse(f)}catch(h){break a}f=typeof g==="object"&&g.hasOwnProperty("youtubeVideoId")?JSON.stringify(Object.assign({},g,d)):f}b={va:f,Vf:a.g.ad.g,Wf:a.g.ad.g,fullscreen:b.fullscreen,muted:b.muted,Hg:ox(a.g.j)?"notSupported":"adHandles",hh:!1,videoWidth:c.width,videoHeight:c.height,volume:b.volume};a.j.g.sendMessage("SIMID:Player:init", new mN(b)).then(a.l.resolve).catch(a.l.reject);Eo(M.getInstance(),"ima_si");Number.isInteger(c.width)&&Number.isInteger(c.height)||Eo(M.getInstance(),"ima_vsni")})},NN=function(a,b){switch(b.type){case "appBackgrounding":a.j.g.sendMessage("SIMID:Player:appBackgrounded");break;case "appForegrounding":a.j.g.sendMessage("SIMID:Player:appForegrounded");break;case "ended":a.j.g.sendMessage("SIMID:Media:ended");case "error":case "pause":a.j.g.sendMessage("SIMID:Media:pause");break;case "play":a.j.g.sendMessage("SIMID:Media:play"); break;case "seeked":a.j.g.sendMessage("SIMID:Media:seeked");break;case "seeking":a.j.g.sendMessage("SIMID:Media:seeking");break;case "skipped":a.j.g.sendMessage("SIMID:Player:adSkipped");break;case "stalled":a.j.g.sendMessage("SIMID:Media:stalled");break;case "timeUpdate":QN(a.g).then(function(e){return a.j.g.sendMessage("SIMID:Media:timeupdate",new mN({currentTime:e.currentTime}))});break;case "volumeChange":QN(a.g).then(function(e){return a.j.g.sendMessage("SIMID:Media:volumechange",new mN({volume:e.volume, muted:e.muted}))});break;case "durationChange":QN(a.g).then(function(e){return a.j.g.sendMessage("SIMID:Media:durationchange",new mN({duration:e.duration}))});break;case "resize":b=Vm(a.g.U.g);var c=new Km(0,0,b.width,b.height),d=RN(a.g);a.j.g.sendMessage("SIMID:Player:resize",new mN({creativeX:c.left,creativeY:c.top,creativeWidth:c.width,creativeHeight:c.height,videoX:d.left,videoY:d.top,videoWidth:d.width,videoHeight:d.height,fullscreen:It(b.width,b.height)}))}},MN=function(a,b){SN(a,b.type,b.args).then(function(c){return b.resolve(c)}).catch(function(c){return b.reject(c)})}, SN=function(a,b,c){switch(b){case "SIMID:Creative:clickThru":return TN(a.g);case "SIMID:Creative:getMediaState":return QN(a.g).then(function(d){var e={};return e.currentSrc=d.currentSrc,e.currentTime=d.currentTime,e.duration=d.duration,e.ended=d.ended,e.muted=d.muted,e.paused=d.paused,e.volume=d.volume,e.fullscreen=d.fullscreen,e});case "SIMID:Creative:reportTracking":return UN(c.eh);case "SIMID:Creative:requestPause":return a.g.pause();case "SIMID:Creative:requestPlay":return a.g.play();case "SIMID:Creative:requestSkip":return a.g.skip().then(function(){return a.j.g.sendMessage("SIMID:Player:adSkipped")}); case "SIMID:Creative:requestChangeVolume":return Promise.resolve(void 0);case "SIMID:Creative:requestResize":return VN(a,c);case "SIMID:Creative:requestNavigation":return Promise.reject();case "SIMID:Creative:requestStop":return a.g.stop();case "SIMID:Creative:log":return a.g.log(c.message);default:return Promise.reject()}},VN=function(a,b){var c=b.videoWidth,d=b.videoHeight,e=b.videoX,f=b.videoY,g=b.creativeWidth,h=b.creativeHeight,k=b.creativeX;b=b.creativeY;var l=Vm(a.g.U.g);l=new Km(0,0,l.width, l.height);c=new Km(e,f,c,d);Mm(l,new Km(k,b,g,h))||Eo(M.getInstance(),"sp_rrc");g=Nm(l,c);if(!g)return Eo(M.getInstance(),"sp_rrv_oob"),Promise.reject();Mm(g,c)?Eo(M.getInstance(),"sp_arv"):Eo(M.getInstance(),"sp_arv_c");return a.g.resize(g)};var WN=function(a){var b=a===void 0?{}:a;a=b.currentSrc;var c=b.currentTime===void 0?-1:b.currentTime;var d=b.duration===void 0?-1:b.duration;var e=b.ended===void 0?!1:b.ended;var f=b.fullscreen===void 0?!1:b.fullscreen;var g=b.muted===void 0?!1:b.muted;var h=b.paused===void 0?!1:b.paused;b=b.volume===void 0?1:b.volume;this.currentSrc=a;this.currentTime=c;this.duration=d;this.ended=e;this.fullscreen=f;this.muted=g;this.paused=h;this.volume=b};function XN(a){return(a=a.ub.find(function(b){return rl(b.Z)=="SIMID"&&b.mimeType=="text/html"&&!!b.url&&!D(b.url)}))?a.url:null}function YN(a){return(a=a.ub.find(function(b){return rl(b.Z)=="SIMID"&&b.mimeType=="text/html"&&!!b.g&&!D(b.g)}))?a.g:null};var ZN=function(){};ZN.prototype.g=function(a){if(!fJ(a,"vast2_about_this_ad"))return null;a=cJ(a,"Icon");if(a.length<1)return null;a=mJ(a[0]);return new RI(a)};var $N=function(){}; $N.prototype.g=function(a){if(!fJ(a,"activeview"))return null;var b=[],c=cJ(a,"trackingConfiguration");c=u(c);for(var d=c.next();!d.done;d=c.next()){d=cJ(d.value,"trackingEventConfiguration");d=u(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=cJ(f,"trackingEventCriteria");f=u(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 Lr(g,e,h):null}e&&b.push(e)}}c=jJ(a);e=dJ(a,"activeViewMetadata");d="";e&&(d=U(e)||"");a=dJ(a,"activeViewFlags");e="";a&&(e=U(a)||"");return new AH(c,b,d,e)};var aO=function(){}; aO.prototype.g=function(a){if(!fJ(a,"adsense"))return null;for(var b=null,c=null,d=null,e,f=[],g,h=null,k=null,l=null,n=u(K(a)),p=n.next();!p.done;p=n.next())switch(p=p.value,p.nodeName.toLowerCase()){case "attributiontext":b=U(p);break;case "attributionurl":c=U(p);break;case "conversionurl":d=U(p);break;case "is_pharma":e=bJ(p.getAttribute("bool"));break;case "checkedevents":f=bO(p);break;case "showyoutubeannotations":g=bJ(U(p));break;case "ui":h=null;p=dJ(p,"config");if(p!=null){var q=dJ(p,"context"); if(q!=null&&q.getAttribute("data").toLowerCase()=="default"&&(h=new CH,q=dJ(p,"params"))){p=h;q=u(K(q));for(var v=q.next();!v.done;v=q.next())switch(v=v.value,v.nodeName.toLowerCase()){case "audio_muted_on_start":p.Rf=bJ(v.getAttribute("bool"))||!1;break;case "attribution_text":p.uc=v.getAttribute("data");break;case "attribution_url":p.wc=v.getAttribute("data");break;case "signals":p.Zg=aJ(v,"int")||0}}}break;case "visibleurl":k=U(p);break;case "whythisad":a:{l=u(K(p));for(p=l.next();!p.done;p=l.next())if(p= p.value,p.nodeName.toLowerCase()=="wtaclickthroughurl"){l=U(p);break a}l=null}l&&N(M.getInstance(),"wta","1")}return new DH(jJ(a),{uc:b,wc:c,ag:d,yg:e,gf:f,Yg:g,uiConfig:h,jh:k,Hf:l})};var bO=function(a){var b=[];Array.from(K(a)).forEach(function(c){(c=c.getAttribute("id"))&&b.push(c.toLowerCase())});return b};var cO=function(){};cO.prototype.g=function(a){if(!fJ(a,"AdVerifications"))return null;var b=[];a=cJ(a,"AdVerifications");a=u(a);for(var c=a.next();!c.done;c=a.next())b.push.apply(b,w(hJ(c.value)));return new II(b)};var dO=function(){};dO.prototype.g=function(a){if(!fJ(a,"companion_about_this_ad"))return null;a=cJ(a,"Icon");if(a.length<1)return null;a=mJ(a[0]);return new HH(a)};var eO=function(){};eO.prototype.g=function(a){a=jJ(a);return a.length>0?new zH(a):null};var fO=function(){};fO.prototype.g=function(a){if(!fJ(a,"watermark"))return null;var b=dJ(a,"WatermarkData");if(!b)return null;a=aJ(b,"max_width");var c=aJ(b,"max_height");b=b?U(b):null;return!b||b===""||a==null||isNaN(a)||c==null||isNaN(c)?null:new VH(b,a,c)};var gO=function(){};gO.prototype.g=function(a){if(!fJ(a,"eoid_cookie"))return null;a=u(K(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=aJ(c,"expires"),e=c.getAttribute("path"),f=void 0;c=(f=c.getAttribute("value"))!=null?f:"";if(b&&d!=null&&e)return new XH(c,d,e,b)}}return null};var hO=function(){};hO.prototype.g=function(a){if(!fJ(a,"esp"))return null;var b=[];a=u(K(a));for(var c=a.next();!c.done;c=a.next()){var d=c.value;d.nodeName=="EspLibrary"&&(c=dJ(d,"LibraryName"))&&(c=U(c))&&(d=(d=dJ(d,"LibraryUrl"))?U(d):null,b.push({Wj:c,Tn:d}))}return new ZH(b)};var iO=function(){};iO.prototype.g=function(a){var b=fJ(a,"gfp_cookie"),c=fJ(a,"gfp_cookie_v2");if(!b&&!c)return null;a=u(K(a));for(b=a.next();!b.done;b=a.next()){var d=b.value;if(d.nodeName=="Cookie"){b=d.getAttribute("domain");var e=aJ(d,"expires"),f=d.getAttribute("path"),g=void 0;d=(g=d.getAttribute("value"))!=null?g:"";if(b&&e!=null&&f)return new aI(d,e,f,b,c)}}return null};var jO=function(){}; jO.prototype.g=function(a){if(!fJ(a,"GoogleHostedMedia"))return null;N(M.getInstance(),"hghme","1");var b=[],c=[],d=[],e=[],f,g=dJ(a,"clientplaybacknonce");g&&(f=U(g));a=u(K(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=u(K(h));for(var k=h.next();!k.done;k=h.next()){k=k.value;var l=U(k),n=k.getAttribute("delivery"), p=aJ(k,"itag"),q=void 0,v=(q=k.getAttribute("mimeType"))==null?void 0:q.toLowerCase();q=bJ(k.getAttribute("mseCompatible"));var t=aJ(k,"contentLength"),x=null,A=null,P=null,X=null,da=null,fa=null;if(g=="video"||g=="muxed")x=k.getAttribute("videoCodec"),A=aJ(k,"videoBitrate"),da=aJ(k,"width"),fa=aJ(k,"height");if(g=="audio"||g=="muxed")P=k.getAttribute("audioCodec"),X=aJ(k,"audioBitrate");if(l!=null&&g!=null)switch(k=new tI(l,g,{qb:n,itag:p,mimeType:v,ua:x,Aa:P,Vc:A,xc:X,pa:q,width:da,height:fa,Bb:t}), g){case "audio":b.push(k);break;case "manifest":c.push(k);break;case "muxed":d.push(k);break;case "video":e.push(k)}}}}return new uI(f?f:"None",b,c,d,e)};var kO=function(){};kO.prototype.g=function(a){if(!fJ(a,"gpid_wta"))return null;a=u(K(a));for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.nodeName=="AttributionData"&&(b=U(b)))return new xI(b);return null};var lO=function(){};lO.prototype.g=function(a){if(!fJ(a,"metrics"))return null;a=u(K(a));for(var b=a.next();!b.done;b=a.next())switch(b=b.value,b.nodeName){case "AdEventId":var c=Em(b);break;case "FeEventId":var d=Em(b)}return new EI(c,d)};var mO=function(){};mO.prototype.g=function(a){return fJ(a,"programmatic")?(a=dJ(a,"DealId"))&&(a=U(a))&&!D(a)?new KI(a):null:null};var nO=function(){};nO.prototype.g=function(a){if(!fJ(a,"sodar"))return null;var b=null;a=u(K(a));for(var c=a.next();!c.done;c=a.next())switch(c=c.value,c.nodeName){case "Siub":var d=U(c);break;case "Scs":b=U(c)||null;break;case "Bgub":var e=U(c);break;case "Bgp":var f=U(c)}return d&&b&&e&&f?new NI(d,e,f,b):null};var oO=function(){};oO.prototype.g=function(a){if(!fJ(a,"uisettings"))return null;var b;(a=dJ(a,"uihideable"))&&(b=bJ(U(a)));return new PI(b)};var pO=function(){}; pO.prototype.g=function(a){if(!fJ(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,q=null,v=dJ(a,"youtubevideoid");v&&(b=U(v));if(v=dJ(a,"istrueview"))v=bJ(U(v)),v!=void 0&&(c=v);(v=dJ(a,"videotitle"))&&(d=U(v));(v=dJ(a,"videothumbnailurl"))&&(e=U(v));if(v=dJ(a,"isvideounlisted"))v=bJ(U(v)),v!=void 0&&(f=v);(v=dJ(a,"channelid"))&&(g=U(v));(v=dJ(a,"channeltitle"))&&(h=U(v));(v=dJ(a,"channelthumbnailurl"))&&(k=U(v));(v=dJ(a,"channelcustomurl"))&& (l=U(v));(v=dJ(a,"format"))&&(n=U(v));(v=dJ(a,"youtubeownershipfingerprint"))&&(p=U(v));(a=dJ(a,"youtubevisitordata"))&&(q=U(a));return new TI({videoId:b,Jb:c,fe:d,Ef:e,ld:f,te:g,Dd:h,Cd:k,se:l,format:n,mf:p,Ff:q})};function qO(a){if(!a)return!1;if(a=a.L.get(LG)){if(a.g=="TRUEVIEW"||a.g=="SKIPPABLE")return!0;if(a.g)return!1;Eo(M.getInstance(),"ytu_nf");return a.Jb()}return!1};var rO=function(a){this.jb=new vM;this.l=a;this.g=this.j=null},sO=function(a){return!(!a.j||!a.j.g)};function tO(a){var b=Date.now(),c={};a=(c["x-afma-token-requester-type"]=a,c);c="https://pubads.g.doubleclick.net/adsid/integrator.json?aos="+encodeURIComponent(Dx());return(new Lu).get({url:c,withCredentials:!0,timeout:new Nt(5E3),headers:a}).then(function(d){var e=Date.now();d=d.newToken||"";var f={};Px.getInstance().report(182,(f.t=e-b,f.aos=Dx(),f));return new uO(d)}).catch(function(d){var e="not instanceof Error";d instanceof Error&&(e=Qt(Number(d.message)));d=Date.now();var f={};Px.getInstance().report(182, (f.except=e,f.t=d-b,f));return Promise.resolve(vO)})}var wO=function(){R.call(this);this.g=null;this.o=new uu(this);Vt(this,this.o);this.j=new wy(72E5);this.l=Promise.resolve(vO)};r(wO,R);var xO=function(a){var b="requester_type_8";b=b===void 0?"requester_type_9":b;var c=function(d){a.g=d;return a.g};a.l=tO(b).then(c);a.j=new wy(72E5);a.o.listen(a.j,"tick",function(){a.l=tO(b).then(c)});a.j.start();Ut(a,function(){a.j.stop()})}; wO.prototype.getId=function(){var a=this;return z(function(b){if(b.g==1)return a.g!=null&&a.g!==vO?(b.g=2,b=void 0):b=y(b,a.l,3),b;b.g!=2&&(a.g=b.j);return b.return(a.g)})};var uO=function(a){this.id=a},vO=new uO("");function yO(a){for(var b=a.length,c=new Uint8Array(b),d=0;d=0;b--)this.remove(a[b])}; var ZO=function(a){a=(a.g.cookie||"").split(";");for(var b=[],c=[],d,e,f=0;fb+2592E5?2:a>b+432E5?1:0}; DP.prototype.get=function(a,b,c){function d(k){BP(6,a,k==null?void 0:k.message);e=!0}if(this.cache[a])return{X:this.cache[a],success:!0};var e=!1,f="_GESPSK-"+a;b=c?mP(f,window,d):nP(f,b,d);if(e)return{X:null,success:!1};if(!b)return{X:null,success:!0};try{var g=fF(b);this.cache[a]=g;return{X:g,success:!0}}catch(k){var h;BP(5,a,(h=k)==null?void 0:h.message);return{X:null,success:!1}}}; DP.prototype.set=function(a,b,c){function d(g){BP(7,e,g==null?void 0:g.message)}var e=vh(a,1),f="_GESPSK-"+e;eF(a);if(c?!oP(f,JSON.stringify(hg(a)),window,d):!pP(f,JSON.stringify(hg(a)),b,d))return!1;this.cache[e]=a;return!0};DP.prototype.remove=function(a,b,c){function d(e){BP(8,a,e==null?void 0:e.message)}c?qP("_GESPSK-"+a,window,d):rP("_GESPSK-"+a,b,window,d);delete this.cache[a]};var EP=null;var HP=function(a){var b=new Map;a=u(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=d.o();var e=void 0,f=(e=b.get(c))!=null?e:new Map;d=u(d.j());for(e=d.next();!e.done;e=d.next()){e=e.value;var g=e.o();f.has(g)||f.set(g,[]);f.get(g).push(e)}b.set(c,f)}this.g=b},IP=function(a,b,c){var d,e,f;return!!((d=a.g)==null?0:(e=d.get(c))==null?0:(f=e.get(b))==null?0:f.some(function(g){return g.j()}))},JP=function(a,b){a=u(a.g.values());for(var c=a.next();!c.done;c=a.next()){var d=void 0;if((d=c.value.get(b))== null?0:d.some(function(e){return e.j()}))return!0}return!1},LP=function(a,b){return KP(a,b,function(c){return c.j()})},KP=function(a,b,c){var d=new Set;a=a.g.get(b);if(!a)return d;a=u(a.entries());for(b=a.next();!b.done;b=a.next()){var e=u(b.value);b=e.next().value;e=e.next().value;e.some(function(f){return c(f)})&&d.add(b)}return d};function MP(a,b,c){return b.some(function(d){return IP(c,a,d)})};var NP=function(a){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);Object.setPrototypeOf(this,NP.prototype);this.name="InputError"};r(NP,Error);var OP=function(a){this.reason=a},PP=function(){this.g=!1},QP=function(){PP.apply(this,arguments);this.l=new Pu};r(QP,PP);var RP=function(a,b){a.g||(a.g=!0,a.o=b,a.l.resolve(b))}; ha.Object.defineProperties(QP.prototype,{promise:{configurable:!0,enumerable:!0,get:function(){return this.l.promise}},mi:{configurable:!0,enumerable:!0,get:function(){return this.g}},error:{configurable:!0,enumerable:!0,get:function(){return this.j}}});var SP=function(){QP.apply(this,arguments)};r(SP,QP);var TP=function(a,b){b.then(function(c){RP(a,c)}).catch(function(c){a.Ka(c)})};SP.prototype.Ka=function(a,b){this.g||(this.g=!0,this.o=null,this.j=a,b&&b(this.j),this.l.reject(a))}; var UP=function(a){this.g=!1;this.l=a};r(UP,PP);UP.prototype.mi=function(){return this.l.g};ha.Object.defineProperties(UP.prototype,{error:{configurable:!0,enumerable:!0,get:function(){return this.l.j}}});var VP=function(a){UP.call(this,a);this.l=a};r(VP,UP);ha.Object.defineProperties(VP.prototype,{value:{configurable:!0,enumerable:!0,get:function(){var a;return(a=this.l.o)!=null?a:null}}});var WP=function(){QP.apply(this,arguments)};r(WP,QP);WP.prototype.notify=function(){RP(this,null)}; var XP=function(a,b,c){b.then(function(){a.notify()}).catch(function(d){a.g=!0;a.j=d;c&&c(a.j);a.l.reject(d)})};var YP=function(){Q.apply(this,arguments);this.j=[];this.g=[];this.l=[]};r(YP,Q);var ZP=function(a,b){a.g.push({ne:!1,gg:b})};YP.prototype.ne=function(a){var b=this.g.find(function(c){return c.gg===a});b&&(b.ne=!0)};YP.prototype.O=function(){this.j.length=0;this.l.length=0;this.g.length=0;Q.prototype.O.call(this)};function $P(a,b){var c,d;return z(function(e){if(e.g==1)return c=b?a.filter(function(f){return!f.ne}):a,y(e,Promise.all(c.map(function(f){return f.gg.promise})),2);if(a.length===c.length)return e.return();d=a.filter(function(f){return f.ne});return y(e,Promise.race([Promise.all(d.map(function(f){return f.gg.promise})),new Promise(function(f){return void setTimeout(f,b)})]),0)})}var aQ=function(a,b,c){Q.call(this);this.id=a;this.A=b;this.timeoutMs=c;this.l=!1;this.g=new YP;Vt(this,this.g)};r(aQ,Q); aQ.prototype.start=function(){var a=this,b,c;return z(function(d){if(d.g==1){if(a.l)return d.return();a.l=!0;d.l=2;return y(d,$P(a.g.g,(b=a.H)!=null?b:a.timeoutMs),4)}if(d.g!=2){if(!a.Hb()){for(var e=0,f=u(a.g.l),g=f.next();!g.done;g=f.next()){if(g.value.l.o==null)throw Error("missing input: "+a.id+"/"+e);++e}e=a.f;f=e.apply;g={};for(var h=u(Object.entries(a.C)),k=h.next();!k.done;k=h.next()){var l=u(k.value);k=l.next().value;l=l.next().value;g[k]=l.value}e=f.call(e,a,[g].concat(w(a.D)));a.o(e)}return ya(d, 0)}c=za(d);if(a.Hb())return d.return();c instanceof NP?a.B(c):c instanceof Error&&(a.A.Lb({methodName:a.id,Zc:c}),a.j(c));d.g=0})};var bQ=function(a,b){b=b===void 0?new SP:b;a.g.j.push(b);return b};aQ.prototype.B=function(){};aQ.prototype.j=function(a){if(this.g.j.length)for(var b=new NP(a.message),c=u(this.g.j),d=c.next();!d.done;d=c.next())if(d=d.value,!d.mi){var e=b;d.g=!0;d.j=e;d.l.reject(e)}if(!(a instanceof NP)){var f;(f=console)==null||f.error(a)}};var cQ=function(a,b,c,d,e){aQ.call(this,a,c);this.f=b;this.D=e;a={};d=u(Object.entries(d));for(b=d.next();!b.done;b=d.next())if(c=u(b.value),b=c.next().value,c=c.next().value)ZP(this.g,c),a[b]=new VP(c);this.C=a};r(cQ,aQ);cQ.prototype.B=function(a){this.j(a)};cQ.prototype.reportError=function(){};var dQ=function(a,b){if(a.l)throw Error("Invalid operation: producer has already started");ZP(a.g,b);return a};var eQ=function(a,b,c,d,e,f){cQ.call(this,a,b,c,d,f);this.Ea=e;this.output=bQ(this,new SP);this.complete=new WP};r(eQ,cQ);eQ.prototype.o=function(a){var b=this;a.then(function(c){c instanceof OP||(RP(b.output,c),b.complete.notify())},function(c){b.Ea?RP(b.output,b.Ea(c)):b.output.Ka(new NP("output error: "+c.message),function(){b.A.Lb({methodName:b.id,Zc:c})});b.complete.notify()})};eQ.prototype.j=function(a){this.Ea?(RP(this.output,this.Ea(a)),this.complete.notify()):cQ.prototype.j.call(this,a)}; function fQ(a,b){a.id=b.id;a.Ea=b.Ea;return a}function gQ(a,b,c){return new eQ(a.id,a,b,c,a.Ea,Ia.apply(3,arguments))};var hQ=function(a,b,c,d,e,f,g){cQ.call(this,a,b,c,d,g);this.Ea=f;this.finished=new WP;a=Object.keys(e);a=u(a);for(b=a.next();!b.done;b=a.next())this[b.value]=bQ(this)};r(hQ,cQ);hQ.prototype.o=function(a){a=u(Object.entries(a));for(var b=a.next();!b.done;b=a.next()){var c=u(b.value);b=c.next().value;c=c.next().value;c instanceof Error&&this[b].Ka(c);c instanceof OP||RP(this[b],c)}this.finished.notify()};hQ.prototype.j=function(a){this.Ea?this.o(this.Ea(a)):cQ.prototype.j.call(this,a)}; function iQ(a,b){a.id=b.id;a.gb=b.gb;a.Ea=b.Ea;return a}function jQ(a,b,c){return new hQ(a.id,a,b,c,a.gb,a.Ea,Ia.apply(3,arguments))};var kQ=function(a){Q.call(this);this.D=a;this.C=[];this.J=[];this.B={};this.l=[];this.j=new Pu;this.A={}};r(kQ,Q);var lQ=function(a,b){Vt(a,b);a.C.push(b);return b};kQ.prototype.g=function(a,b){return lQ(this,jQ.apply(null,[a,this.D,b].concat(w(Ia.apply(2,arguments)))))};kQ.prototype.o=function(a,b){return lQ(this,gQ.apply(null,[a,this.D,b].concat(w(Ia.apply(2,arguments)))))}; var nQ=function(a){var b,c,d,e,f,g,h,k,l,n,p,q,v;z(function(t){switch(t.g){case 1:if(!a.l.length){t.g=2;break}return y(t,Promise.all(a.l.map(function(x){return x.j.promise})),2);case 2:return y(t,mQ(),4);case 4:b=t.j;if(!b)return a.j.resolve(a.B),t.return(a.j.promise);c=u(a.C);for(d=c.next();!d.done;d=c.next())e=d.value,e.start();f=u(a.J);for(g=f.next();!g.done;g=f.next())h=g.value,nQ(h);if(!a.A){t.g=5;break}k=Object.keys(a.A);if(!k.length){t.g=5;break}return y(t,Promise.all(Object.values(a.A).map(function(x){return x.promise})), 7);case 7:for(l=t.j,n=0,p=u(k),q=p.next();!q.done;q=p.next())v=q.value,a.B[v]=l[n++];case 5:return a.j.resolve(a.B),t.return(a.j.promise)}})},mQ=function(){return z(function(a){return a.return(!0)})};kQ.prototype.O=function(){Q.prototype.O.call(this);this.C.length=0;this.J.length=0;this.l.length=0};var pQ=iQ(oQ,{id:1041,gb:{}});function oQ(a,b){if(!a.X)return{};FP().set(a.X,a.fa,b)&&Gf(Ag(a.X,2))!=null&&BP(27,vh(a.X,1));return{}};var qQ=iQ(function(a){var b=a.fa;if(a=a.pl){a=u(a);for(var c=a.next();!c.done;c=a.next()){c=u(c.value.j());for(var d=c.next();!d.done;d=c.next())d=d.value,d.j()&&FP().remove(d.o(),b,!0)}}if(nh(b,5)){if(b){var e;a=(e=xP(b))!=null?e:[];e=u(a);for(a=e.next();!a.done;a=e.next())a=a.value,a.startsWith("_GESPSK")&&rP(a,b)}EP=new DP}return{}},{id:1094,gb:{}});var rQ=iQ(function(a){var b=a.X;a=function(c){var d={};BP(c,vh(b,1),null,(d.tic=String(Math.round((Date.now()-bo(mh(b,3)))/6E4)),d))};switch(GP(b)){case 0:return a(24),{Xb:new OP("FRESH_ENTRY"),Ac:new OP("FRESH_ENTRY")};case 1:return a(25),{Xb:new OP("STALE_ENTRY"),Ac:b};case 2:return a(26),{Xb:b,Ac:new OP("EXPIRED_ENTRY")};case 3:return BP(9,vh(b,1)),{Xb:b,Ac:new OP("ERROR_ENTRY")};case 4:return a(23),{Xb:b,Ac:new OP("NEW_ENTRY")};default:return{Xb:new OP("DEFAULT_ENTRY"),Ac:new OP("DEFAULT_ENTRY")}}}, {id:1048,gb:{Xb:void 0,Ac:void 0}});var sQ=iQ(function(a,b,c,d){if(a=FP().get(b,d,c).X)return{Qa:a,Ca:new OP("CACHED_ENTRY")};a=eF(dF(b));return{Qa:a,Ca:a.Ka(aF(100))}},{id:1027,gb:{Qa:void 0,Ca:void 0}});var uQ=iQ(tQ,{id:1046,gb:{Ta:void 0}});function tQ(a){return{Ta:a.Qa}};var vQ=iQ(function(a){var b=a.zh;a=a.X;return b.Ca?{bh:a.Ka(b.Ca),Qa:new OP,signal:new OP}:{Qa:b.Qa,bh:new OP,signal:b.signal}},{id:1479,gb:{Qa:void 0,bh:void 0,signal:void 0}});function wQ(a){return typeof a==="string"?a:a instanceof Error?a.message:null}var xQ=fQ(function(a,b){var c,d;return z(function(e){c=ko();d=Gf(Ag(a.X,1));BP(18,d);try{return e.return(b().then(function(f){BP(29,d,null,{delta:String(ko()-c)});return{Qa:Ah(a.X,2,f),Ca:null,signal:f}}).catch(function(f){BP(28,d,wQ(f));return{Qa:null,Ca:aF(106),signal:null}}))}catch(f){return BP(1,d,wQ(f)),e.return({Qa:null,Ca:aF(107),signal:null})}})},{id:1478});var zQ=iQ(yQ,{id:1028,gb:{Ta:void 0}});function yQ(a){var b=vh(a.X,1),c=a.X;(Mb?vf(Ag(c,3,void 0,void 0,wf)):vf(Ag(c,3)))!=null||BP(35,b);return{Ta:a.X}};var BQ=iQ(AQ,{id:1050,gb:{Ta:void 0}});function AQ(a,b){var c=vh(a.X,1);if(a.signal==null)return BP(41,c),a.X.Ka(aF(111)),{Ta:a.X};if(typeof a.signal!=="string")return BP(21,c),{Ta:a.X.Ka(aF(113))};if(a.signal.length>b)return b={},BP(12,c,null,(b.sl=String(a.signal.length),b)),c=a.X.Ka(aF(108)),Cg(c,2),{Ta:a.X};a.signal.length||BP(20,c);Cg(a.X,10);return{Ta:a.X}};var CQ=function(a,b,c){this.output=new WP;XP(this.output,a,function(d){return void c.Lb({methodName:b,Zc:d})})};var DQ=function(a,b){CQ.call(this,a,1046,b)};r(DQ,CQ);var EQ=function(a,b,c,d,e){kQ.call(this,e,2);this.H=new SP;var f=this.g(sQ,{},a,b,d,e),g=new SP;RP(g,d);this.g(pQ,{X:f.Ca,fa:g},b);d=this.g(zQ,{X:f.Qa});d=this.g(rQ,{X:d.Ta},e);f=this.o(xQ,{X:d.Xb},c);f=this.g(vQ,{zh:f.output,X:d.Xb});var h=f.signal,k=f.Qa;this.g(pQ,{X:f.bh,fa:g},b);f=this.g(BQ,{X:k,signal:h},1024);this.g(pQ,{X:f.Ta,fa:g},b);e=new DQ(CP(),e);e=dQ(this.g(uQ,{Qa:d.Ac}),e.output);c=this.o(xQ,{X:e.Ta},c);c=this.g(vQ,{zh:c.output,X:e.Ta}).Qa;this.g(pQ,{X:c,fa:g},b);b=f.Ta.promise.then(function(l){var n; return{id:a,collectorGeneratedData:(n=l==null?void 0:Gf(Ag(l,2)))!=null?n:null}}).catch(function(){return{id:a,collectorGeneratedData:null}});TP(this.H,b)};r(EQ,kQ);var FQ=fQ(function(a,b,c,d){d=d===void 0?yP:d;var e,f,g,h,k,l,n,p,q,v,t;return z(function(x){f=new HP((e=a.ql)!=null?e:[]);g=a.Rb;h=g.id;k=g.networkCode;l=g.collectorFunction;p=(n=k)!=null?n:h;q=!!h&&!!JP(f,h);if(!nh(a.fa,5)&&!q)return x.return(new OP("Storage consent not granted."));v={};BP(42,p,null,(v.ea=String(Number(b)),v));t=new EQ(p,q,l,a.fa,c,d);nQ(t);return x.return(t.H.promise)})},{id:1059});var GQ=iQ(function(a,b,c,d){d=d===void 0?yP:d;if(!b)return BP(39,"UNKNOWN_COLLECTOR_ID"),{Ca:dF("UNKNOWN_COLLECTOR_ID").Ka(aF(110)),Rb:new OP};if(typeof b!=="object")return BP(46,"UNKNOWN_COLLECTOR_ID"),{Ca:dF("UNKNOWN_COLLECTOR_ID").Ka(aF(112)),Rb:new OP};a=b.id;c=b.networkCode;a&&c&&(delete b.id,BP(47,a+";"+c));a=c!=null?c:a;return typeof a!=="string"?(b={},BP(37,"INVALID_COLLECTOR_ID",null,(b.ii=JSON.stringify(a),b)),{Ca:dF("INVALID_COLLECTOR_ID").Ka(aF(102)),Rb:new OP}):typeof b.collectorFunction!== "function"?(BP(14,a),{Ca:dF(a).Ka(aF(105)),Rb:new OP}):d.ck.includes(a)?(BP(22,a),{Ca:dF(a).Ka(aF(104)),Rb:new OP}):{Ca:null,Rb:b}},{id:1057,gb:{Ca:void 0,Rb:void 0}});var IQ=function(a,b,c,d,e,f){var g=document;g=g===void 0?document:g;f=f===void 0?yP:f;this.l=b;this.C=c;this.A=g;this.D=d;this.B=e;this.j=f;this.G=[];this.F=[];this.g=new HQ;this.o=0;a=u(a);for(b=a.next();!b.done;b=a.next())this.push(b.value)}; IQ.prototype.push=function(a){this.C||this.D();var b=new kQ(this.g,3);a=b.g(GQ,{},a,this.g,this.j);var c=a.Rb;b.g(pQ,{X:a.Ca,fa:this.l},void 0);a=b.o(FQ,{Rb:c,fa:this.l,ql:void 0},this.C,this.g,this.j).output.promise;nQ(b);this.G.push(a);b=u(this.F);for(c=b.next();!c.done;c=b.next())a.then(c.value)};IQ.prototype.addOnSignalResolveCallback=function(a){this.F.push(a);for(var b=u(this.G),c=b.next();!c.done;c=b.next())c.value.then(a)};var JQ=function(a,b){a.g.g.push(b)}; IQ.prototype.clearAllCache=function(){var a=this,b=this.A.currentScript instanceof HTMLScriptElement?this.A.currentScript.src:"";if(this.o===1){var c={};BP(49,"",null,(c.url=b,c))}else if(this.j.Tj.includes(String(gr(b!=null?b:""))))c={},BP(48,"",null,(c.url=b,c));else{this.B&&this.B();var d=new kQ(this.g,4);c=d.g(qQ,{fa:this.l,pl:void 0},this.g);nQ(d);this.o=1;setTimeout(function(){a.o=0},this.j.Qj*1E3);d={};BP(43,"",null,(d.url=b,d));return c.finished.promise}};var HQ=function(){this.g=[]}; HQ.prototype.Lb=function(a){this.g.forEach(function(b){return void b.Lb(a)})};var KQ=function(a){this.push=function(b){a.push(b)};this.addOnSignalResolveCallback=function(b){a.addOnSignalResolveCallback(b)};this.addErrorHandler=function(b){JQ(a,{Lb:function(c){return void b(c.methodName,c.Zc)}})};this.clearAllCache=function(){a.clearAllCache()}};function LQ(a,b,c,d,e,f,g){g=g===void 0?yP:g;if(!MQ(a,"encryptedSignalProviders",c,f)||!MQ(a,"secureSignalProviders",c,f)){BP(38,"");var h={Lb:function(k){return void c(k.methodName,k.Zc)}};NQ(a,"encryptedSignalProviders",b,g,h,d,e,f);NQ(a,"secureSignalProviders",b,g,h,function(){},e,f)}}function MQ(a,b,c,d){if(a[b]===void 0||a[b]instanceof Array)return!1;a=a[b];d&&a.addOnSignalResolveCallback(d);a.addErrorHandler(c);return!0} function NQ(a,b,c,d,e,f,g,h){var k,l=new IQ((k=a[b])!=null?k:[],c,b==="secureSignalProviders",f,g,d);a[b]=new KQ(l);h&&l.addOnSignalResolveCallback(h);JQ(l,e)}function OQ(a,b,c,d,e,f){var g=g===void 0?yP:g;var h=new SP;RP(h,b);LQ(a,h,c,d,e,f,g)} function PQ(a,b,c,d){var e=QQ,f=RQ,g=new Map;b.map(function(h){var k=h.Wj;return new Promise(function(l){g.set(k,l)})});OQ(a,c,d,e,f,function(h){var k=h.collectorGeneratedData;h=h.id;var l;return void((l=g.get(h))==null?void 0:l({collectorGeneratedData:k,id:h}))})};function SQ(){var a;return(a=B.googletag)!=null?a:B.googletag={cmd:[]}};function TQ(a,b){b=Nw(b);nh(b,5)&&a.length!==0&&PQ(SQ(),a,b,function(){})}function RQ(){}function QQ(){};var UQ=new bM("ui_clicked"),VQ=new bM("set_visible_elements"),WQ=new bM("show_ad_ui"),XQ=new bM("hide_ad_ui");var YQ=new Map([["videoOverlay","videoOverlay"],["callToAction","callToAction"],["attribution","attribution"],["skipButton","skipButton"],["preSkip","skipCountdown"],["aboutThisAdIcon","GoogleWhyThisAd"],["aboutThisAdFallbackImage","GoogleWhyThisAdFallbackImage"],["adTitle","adTitle"],["authorIcon","authorIcon"],["authorTitle","authorTitle"]]); function ZQ(a,b){return new VO({onClick:function(c,d){(c=YQ.get(c))&&wM(b,UQ,{Bi:c,event:d})},setVisibleElements:function(c){c=[].concat(w(c.keys())).flatMap(function(d){var e;return(e=YQ.get(d))!=null?e:[]});wM(b,VQ,new Set(c))},getConfig:function(){for(var c=new Map,d=u(a.entries()),e=d.next();!e.done;e=d.next()){var f=u(e.value);e=f.next().value;f=f.next().value;c.set(e,new UO(f))}return c}})} function $Q(a,b){return{onClick:function(c,d){wM(b,UQ,{Bi:c,event:d})},setVisibleElements:function(c){wM(b,VQ,new Set([].concat(w(c.keys()))))},getConfig:function(){return a}}};var aR=function(a,b){Wt.call(this,a);this.data=b||{}};r(aR,Wt);var bR="avia.vtg.paramount.tech bet.com bet.plus cbs.com cbsinteractive.com cbsivideo.com paramountplus.com webplex.vmn.io".split(" "),cR="8264 7869 21633895671 22866208757 59026966 1303 189479937 8026 7336".split(" "),dR="51636543 502815242 103823691 21775744923 6881 7009 21725384143".split(" ").concat(w(cR));function eR(a){var b;return dR.includes(a)||fR((b=window.document.domain)!=null?b:"",bR)} function fR(a,b){b=u(b);for(var c=b.next();!c.done;c=b.next())if(a.endsWith(c.value))return!0;return!1};function gR(a){var b;return((b=a.L.get(BG))==null?void 0:b.g)||null}function hR(a){return a.some(function(b){return b.program==="GoogleWhyThisAd"})}function iR(a){a.forEach(function(b){if(b.program==="GoogleWhyThisAd"||b.program==="AdChoices")b.xPosition="left",b.yPosition="top",b.g=20,b.j=20})}function jR(a){a.forEach(function(b){b.program==="GoogleWhyThisAd"&&(b.g<46||b.j<46)&&(b.g=46,b.j=46)})} var kR=function(){this.g=-1;this.l=this.j=!0;this.o=!1;this.A=!0;this.F=this.H=!1;this.C=null;this.icons=[];this.G=!1;this.B=null};kR.prototype.getUiElements=function(){var a=[];this.j&&a.push("adAttribution");this.l&&a.push("countdown");return a};kR.prototype.isSkippable=function(){return this.g>=0};var lR={skipButton:"Skip Ad "},mR={Sl:"${TIME_TO_SKIP_SECS}"};mR=mR||{};var nR=mR.Sl,oR="";oR=mR.Rn?oR+("You can skip in "+nR):oR+("You can skip this ad in "+nR);lR.skipCountdown=oR;var pR=(lR.callToAction="Learn More ",lR.attribution="Advertisement",lR);function qR(a){var b=a.G,c=a.program;return b.length&&c?b.flatMap(function(d){var e=d.j,f,g=(f=d.altText)!=null?f:"";f=d.l;d=d.g;return e&&f&&d?[{id:""+c+"FallbackImage",program:c,url:e,altText:g,width:f,height:d}]:[]}):[]};var rR=function(a,b,c,d){d=d===void 0?new vM:d;Q.call(this);this.ad=a;this.config=b;this.l=c;this.Da=d;this.j=new Set;this.g=new Set};r(rR,Q);rR.prototype.build=function(){sR(this);wM(this.Da,WQ,this.config)};rR.prototype.getConfig=function(){return new kR}; var tR=function(a,b,c){sM(a.Da.g,b.toString(),c);Ut(a,function(){tM(a.Da.g,b.toString(),c)})},sR=function(a){tR(a,UQ,function(b){a.onClick(b.Bi,b.event)});tR(a,VQ,function(b){Px.getInstance().report(222,{uiElements:[].concat(w(b.keys())).join(",")});a.j=new Set;b=u(b.keys());for(var c=b.next();!c.done;c=b.next())if(c=c.value,a.j.add(c),!a.g.has(c))switch(a.g.add(c),c){case "skipButton":a.config.skip&&wM(a.Da,kM,null);break;default:(c=uR(a,c))&&wM(a.Da,mM,c)}})}; rR.prototype.onClick=function(a){Px.getInstance().report(221,{uiId:a});switch(a){case "videoOverlay":this.config.videoOverlay&&(wM(this.Da,oM,null),lk()||mk()||vR(this));break;case "callToAction":this.config.callToAction&&(wM(this.Da,iM,null),vR(this));break;case "skipButton":this.config.skip&&wM(this.Da,jM,null);break;case "adTitle":this.config.adTitle&&wM(this.Da,hM,null);break;case "authorIcon":this.config.authorIcon&&wM(this.Da,gM,null);break;case "authorTitle":this.config.authorName&&wM(this.Da, fM,null);break;default:var b=uR(this,a);b&&(wM(this.Da,lM,b),a.toLowerCase()==="googlewhythisad"&&wM(this.Da,nM,null))}}; var vR=function(a){var b=a.l;if(!b.Jc&&!ox(b)&&(b=a.ad.g,a=a.ad.j,b)){var c=a!=null?a:"";var d=d===void 0?"_blank":d;if(b)if(a={},a.target=d,Wb()&&(a.fullscreen=!0),c&&Pq("attribution-reporting")){a.attributionsrc=c!=null?c:"";var e=[];for(f in a)if(a.hasOwnProperty(f))switch(f){case "attributionsrc":e.push(a[f]);break;case "target":break;default:e.push(f+"="+(a[f]?"1":"0"))}e=e.join(",");Ec&&(e="");var f=Dk(b);Lk(window,f,d,e)}else{(f=a)||(f={});d=window;a=yk(b)?b:Dk(typeof b.href!="undefined"?b.href: String(b));var g=self.crossOriginIsolated!==void 0;c="strict-origin-when-cross-origin";window.Request&&(c=(new Request("/")).referrerPolicy);var h=f.noreferrer;if(g&&h&&c==="unsafe-url")throw Error("Cannot use the noreferrer option on a page that sets a referrer-policy of `unsafe-url` in modern browsers!");c=h&&!g;b=f.target||b.target;h=[];var k=[],l=!1;for(e in f){var n=f[e];switch(e){case "width":case "height":case "top":case "left":h.push(e+"="+n);break;case "target":break;case "noopener":case "noreferrer":n? k.push(e):(l=!0,k.push(e+"=false"));break;case "attributionsrc":h.push(e+(n?"="+n:""));break;default:h.push(e+"="+(n?1:0))}}e=b!==void 0&&!["_blank","_self","_top","_parent",""].includes(b);e=Tb()&&e;Jb&&g&&h.length===0&&k.length>0&&!e&&!l?(k.length===2&&(k=["noreferrer"]),Lk(d,a,b,k[0])):(e=h.join(","),Yb()&&d.navigator&&d.navigator.standalone&&b&&b!="_self"?(e=wm(document,"A"),a=Hk(a),a!==void 0&&(e.href=a),e.target=b,c&&(e.rel="noreferrer"),((f=f.attributionsrc)||f==="")&&e.setAttribute("attributionsrc", f),f=document.createEvent("MouseEvent"),f.initMouseEvent("click",!0,!0,d,1),e.dispatchEvent(f)):c?(d=Lk(d,"",b,e),e=zk(a),d&&(d.opener=null,e===""&&(e="javascript:''"),e='',e=Jk(e),(d=d.document)&&d.write&&(d.write(Kk(e)),d.close()))):((d=Lk(d,a,b,e))&&f.noopener&&(d.opener=null),d&&f.noreferrer&&(d.opener=null)))}}},uR=function(a,b){a=a.ad.icons.filter(function(c){var d;return((d=c.program)==null?void 0: d.toLowerCase())===b.toLowerCase()});return a.length?a[0]:null};rR.prototype.O=function(){wM(this.Da,XQ,null);Q.prototype.O.call(this)};var wR=new Map([[oM,"click"],[iM,"learnMoreClicked"],[jM,"skip"],[kM,"skipShown"],[nM,"helpIconClicked"],[lM,"videoIconClicked"],[mM,"vastIconRendered"],[hM,"titleClicked"],[gM,"authorIconClicked"],[fM,"authorNameClicked"],[WQ,"showAdUi"],[XQ,"hideAdUi"]]),xR=function(){R.apply(this,arguments)};r(xR,R); var yR=function(a,b,c,d){sM(d.g,b.toString(),c);Ut(a,function(){tM(d.g,b.toString(),c)})},zR=function(a,b,c){for(var d=u(wR.entries()),e=d.next(),f={};!e.done;f={Id:void 0},e=d.next()){var g=u(e.value);e=g.next().value;g=g.next().value;f.Id=g;switch(e){case lM:case mM:yR(a,e,function(h){return function(k){k=h.Id==="videoIconClicked"?k.A:k.B;if(k.length){var l={},n={};k=(n.trackingUrls=(l.eventUrls=k,l),n)}else k={};a.dispatchEvent(new MG(h.Id,c,k))}}(f),b);break;case WQ:yR(a,e,function(h){return function(k){var l= {};k=(l.uiConfig=k,l);a.dispatchEvent(new MG(h.Id,c,k))}}(f),b);break;default:yR(a,e,function(h){return function(){a.dispatchEvent(new MG(h.Id,c,{}))}}(f),b)}}};function AR(a){var b=new Map;if(a.videoOverlay){var c={};b.set("videoOverlay",(c.required=a.videoOverlay.required,c.clickable=!0,c))}a.attribution&&(c={},b.set("attribution",(c.required=a.attribution.required,c.clickable=!1,c.text=a.attribution.text,c)));a.callToAction&&(console.log("serializeV1UiConfig > callToAction",a.callToAction),c={},b.set("callToAction",(c.required=a.callToAction.required,c.clickable=!0,c.text=a.callToAction.text,c)));a.skip&&(c={},b.set("preSkip",(c.required=a.skip.countdown.required, c.clickable=!1,c.text=a.skip.countdown.text,c)),c={},b.set("skipButton",(c.required=a.skip.button.required,c.clickable=!0,c.text=a.skip.button.text,c)));var d;if((d=a.icons)==null?0:d.length)d=a.icons.filter(function(e){return e.program.toLowerCase()==="googlewhythisad"}),d.length&&(d=d[0],c={},c=(c.required=d.required,c.clickable=d.clickable,c),d.clickUrl&&(c.clickUrl=d.clickUrl),d.image.url&&(c.imageUrl=d.image.url),d.image.altText&&(c.altText=d.image.altText),b.set("aboutThisAdIcon",c),d=d.fallbackImages.map(function(e){var f; return{url:e.url,altText:(f=e.altText)!=null?f:"",width:e.width,height:e.height}}),d.length&&(c={},b.set("aboutThisAdFallbackImage",(c.required=!0,c.clickable=!1,c.imageVariants=d,c))));a.adTitle&&(d={},b.set("adTitle",(d.required=a.adTitle.required,d.clickable=!0,d.text=a.adTitle.text,d.clickUrl=a.adTitle.clickUrl,d)));a.authorIcon&&(d={},b.set("authorIcon",(d.required=a.authorIcon.required,d.clickable=a.authorIcon.clickable,d.imageUrl=a.authorIcon.image.url,d.altText=a.authorIcon.image.altText, d.clickUrl=a.authorIcon.clickUrl,d)));a.authorName&&(d={},b.set("authorTitle",(d.required=a.authorName.required,d.clickable=!0,d.text=a.authorName.text,d.clickUrl=a.authorName.clickUrl,d)));return b};var BR=function(a,b,c,d,e,f){f=f===void 0?null:f;Q.call(this);this.V=a;this.A=b;this.l=c;this.B=d;this.C=e;this.networkCode=f;this.g=null;this.j=new uu(this)};r(BR,Q);BR.prototype.initialize=function(){this.j.listen(this.V,["complete","joinedMiddleAd","start","skip"],this.o)};BR.prototype.o=function(a){switch(a.type){case "joinedMiddleAd":case "start":(a=a.getAd())&&CR(this,a);break;case "complete":case "skip":if(this.g){a=this.g;var b=a.Dl,c=a.Da;a.ak.dispose();b.dispose();c.clear();this.g=null}}}; var CR=function(a,b){var c,d,e,f;z(function(g){if(g.g==1)return c=new vM,d=new xR,y(g,DR(a,b),2);e=g.j;f=new rR(b,e,a.l,c);a.g={ak:f,Dl:d,Da:c};ER(a,b,c,d);zR(d,c,b);f.build();g.g=0})},DR=function(a,b){var c;return z(function(d){if(d.g==1)return c=pR,a.A.getLocale()==="en"?(d.g=2,d=void 0):d=y(d,a.B,3),d;d.g!=2&&(c=d.j);var e=d.return,f=c,g=a.l;var h;if(qO(b)){var k,l=(k=b.ta)!=null?k:0;k=new rO(l>0);b instanceof SG?l=(l=b.L.get(LG))?l.j:null:l=null;k.j=l;b instanceof SG?l=(l=b.L.get(LG))?l.l:null: l=null;k.g=l;sO(k)&&(k.j.title&&wM(k.jb,eM,k.j.title),k.g&&k.g.title&&wM(k.jb,dM,k.g.title),k.g&&k.g.g&&wM(k.jb,cM,k.g.g));l=b.adTitle;if(sO(k)){var n=k.j.id;var p=k.l;p=p===void 0?!1:p;if(n==null)n=null;else{var q=new Vs("//www.youtube.com/watch"),v=q.g;v.set("v",n);v.set("feature",p?"trueview-instream":"instream");Zs(q,v);n=q.toString()}}else n=null;l&&n&&(h={id:"adTitle",required:!1,text:l,clickUrl:n});var t;if(sO(k))if(k.g){var x=x===void 0?null:x;(t=t===void 0?null:t)||(t="//www.youtube.com/"); x?t+=x:(x=rl(k.g.id),t=D(x)?null:t+"channel/"+(x.lastIndexOf("UC",0)==0&&x.length==24?x:"UC"+x))}else t=null;else t=null;x=sO(k)&&k.g?k.g.g:null;if((k=sO(k)&&k.g?k.g.title:null)&&t&&x){var A={id:"authorIcon",required:!1,clickable:!0,image:{url:x,altText:k},clickUrl:t};var P={id:"authorTitle",required:!1,text:k,clickUrl:t}}}k=lk()||mk()||b.g&&!ox(g)?{id:"videoOverlay",required:!0}:void 0;if(b instanceof aH)g=b.g==null||ox(g)?!1:lk()||mk()||qO(b);else throw Error("Unsupported ad type");g=g?{id:"callToAction", required:!0,text:f.callToAction}:void 0;var X;t=((X=b.ta)!=null?X:0)<=0?void 0:{button:{id:"skipButton",required:!0,text:f.skipButton},countdown:{id:"skipCountdown",required:!0,text:f.skipCountdown}};f={id:"attribution",required:!1,text:f.attribution};X=new Map;x=u(b.icons);for(l=x.next();!l.done;l=x.next())if(n=l.value,(l=n.program)&&!X.has(l.toLowerCase())&&(p=l.toLowerCase()==="googlewhythisad",q=qR(n),v=n.l)){v={url:v,width:n.g,height:n.j};var da=n.altText;da&&(v.altText=da);da=n.o;var fa=void 0, ca=(fa=n.F)!=null?fa:"";n={id:l,required:p,program:l,clickable:!!da,image:v,fallbackImages:q,xPosition:n.xPosition,yPosition:n.yPosition};da&&(n.clickUrl=da+"?"+ca);X.set(l.toLowerCase(),n)}X=[].concat(w(X.values()));return e.call(d,{videoOverlay:k,callToAction:g,skip:t,attribution:f,icons:X,adTitle:h,authorIcon:A,authorName:P})})},ER=function(a,b,c,d){a.j.listen(d,["showAdUi","hideAdUi"],function(e){var f=null,g=null;switch(e.type){case "showAdUi":var h=e.getAdData();if(h.uiConfig){g=h.uiConfig; h=a.networkCode;var k;(h&&cR.includes(h)||fR((k=window.document.domain)!=null?k:"",bR))&&(f=ZQ(AR(g),c));g=$Q(g,c)}}a.C.dispatchEvent(new OO(e.type,{},new V(b),f,g))});a.j.listen(d,"click skipShown skip vastIconRendered videoClicked videoIconClicked".split(" "),function(e){e=new aR(e.type,e.getAdData());a.V.tb(e.type,e)})};BR.prototype.O=function(){xu(this.j);this.g=null;Q.prototype.O.call(this)};var FR=function(){R.apply(this,arguments)};r(FR,R);FR.prototype.Ai=function(){return null};FR.prototype.yf=function(){};FR.prototype.pi=function(){};var GR=function(a,b){b=b===void 0?{}:b;Wt.call(this,a);this.data=b||{}};r(GR,Wt);var HR=Object.values({FULL:"full",DOMAIN:"domain",LIMITED:"limited"});function IR(a,b){return Object.keys(a).some(function(c){return HR.includes(c)})?JR(a,b):KR(a,b)}function JR(a,b){return LR(a,"limited",b)?"limited":LR(a,"domain",b)?(console.warn("OmidAccessMode.DOMAIN has been removed. Using OmidAccessMode.LIMITED."),"limited"):LR(a,"full",b)?"full":KR({},b)}function LR(a,b,c){return(a[b]||[]).some(function(d){return d.test(c)})} function KR(a,b){b=Bt(b);Object.keys(a).includes(""+b)||(b=1);return(a=a[b])&&HR.includes(a)?a:"limited"};function MR(a){Px.getInstance().report(211,{message:a})};var NR=function(a,b,c){b=b===void 0?null:b;c=c===void 0?null:c;Wt.call(this,a);this.ad=b;this.g=c};r(NR,Wt);var OR=function(a){return new NR(a.type,null,a.data)};NR.prototype.getAd=function(){return this.ad};NR.prototype.getAdData=function(){return this.g};var PR=sa(["https://pagead2.googlesyndication.com/omsdk/releases/live/omweb-v1.js"]),QR=sa(["https://pagead2.googlesyndication.com/omsdk/releases/control/omweb-v1.js"]),RR=sa(["https://pagead2.googlesyndication.com/omsdk/releases/canary/omweb-v1.js"]),SR=sa(["https://pagead2.googlesyndication.com/omsdk/releases/experimental/omweb-v1.js"]),TR=Ql(PR),UR=Ql(QR),VR=Ql(RR),WR=Ql(SR);var aS=function(a){if(a instanceof YR||a instanceof ZR||a instanceof $R)return a;if(typeof a.next=="function")return new YR(function(){return a});if(typeof a[Symbol.iterator]=="function")return new YR(function(){return a[Symbol.iterator]()});if(typeof a.Xc=="function")return new YR(function(){return a.Xc()});throw Error("Not an iterator or iterable.");},YR=function(a){this.g=a};YR.prototype.Xc=function(){return new ZR(this.g())};YR.prototype[Symbol.iterator]=function(){return new $R(this.g())}; YR.prototype.j=function(){return new $R(this.g())};var ZR=function(a){this.g=a};r(ZR,rB);ZR.prototype.next=function(){return this.g.next()};ZR.prototype[Symbol.iterator]=function(){return new $R(this.g)};ZR.prototype.j=function(){return new $R(this.g)};var $R=function(a){YR.call(this,function(){return a});this.l=a};r($R,YR);$R.prototype.next=function(){return this.l.next()};function bS(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&&cS(this),!0):!1};var cS=function(a){if(a.size!=a.g.length){for(var b=0,c=0;b=d.g.length)return sB;var f=d.g[b++];return{value:a?f:d.j[f],done:!1}};return e};var dS=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var fS=null,gS=function(){R.call(this);this.D=this.U=this.j=null;this.H=-1;this.g=new bS;this.l=new Map;this.o=new uu(this);Vt(this,this.o);this.C=new Map;S().l=!0;kx()};r(gS,R); var hS=function(){fS==null&&(fS=new gS);return fS},iS=function(a,b){var c={};a=(c.queryId=a,c.viewabilityString=b,c);hS().dispatchEvent(OR({type:"measurable_impression",data:a}))},jS=function(a,b){var c={};a=(c.queryId=a,c.viewabilityString=b,c);hS().dispatchEvent(OR({type:"viewable_impression",data:a}))},kS=function(a,b,c){var d={};a=(d.queryId=a,d.viewabilityString=b,d.eventName=c,d);hS().dispatchEvent(OR({type:"externalActivityEvent",data:a}))}; gS.prototype.destroy=function(){this.o.rd(this.j,"activityMonitor",this.A);this.j=null}; gS.prototype.A=function(a){var b=a.g(),c;switch(a.j()){case "appStateChanged":L(tE);b=b.appState;a=gA();a.C!=b&&(a.C=b,(a=L(MC).g)&&pA(a.g,!b));break;case "externalActivityEvent":kS(b.queryId,b.viewabilityString,b.eventName);break;case "measurableImpression":iS(b.queryId,b.viewabilityString);break;case "viewableImpression":jS(b.queryId,b.viewabilityString);break;case "engagementData":b=b.engagementString;hS().D=b;hS().H=ab();break;case "viewability":(c=this.U)==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.g.get(a))this.g.delete(a),c(b.viewabilityData);break;case "viewabilityMeasurement":L(tE);S();break;case "engagement":a=b.eventId;clearTimeout(a);c=this.g.get(a);if(Px.getInstance().g){var d=!1;c||(d=!0);em(b,"loggingId")&&Px.getInstance().report(43,{step:"receivedResponse",time:ab(),timeout:d,logid:b.loggingId,timediff:-1})}c&&(this.g.delete(a),c(b.engagementString))}}; C("ima.bridge.getNativeViewability",function(a,b){hS();b({})});C("ima.bridge.getVideoMetadata",function(a){return(a=hS().C.get(a))?a():{}});C("ima.bridge.triggerViewEvent",jS);C("ima.bridge.triggerMeasurableEvent",iS);C("ima.bridge.triggerExternalActivityEvent",kS);var lS=!1; function mS(a,b){var c=new Map;var d=new nS;var e=d.ad,f=d.la,g=d.Of;d=d.display;var h=b.appName,k=ox(b)?"0":lk()||mk()?"2":"1",l=null,n=null;e instanceof SG&&e.kb.length>0&&(n=e.kb[0],l=n.getAdIdValue(),n=n.getAdIdRegistry());var p=null,q=null;lx(b)&&(p="Google1",q="3.735.0");var v=(new Vs(b.g)).j||"";var t=(g==null?void 0:g.pageUrl)||null;t=xt(t)?t:b.g;var x=Uv.getPlayerType(),A=Uv.getPlayerVersion(),P=Jw(b.fa),X=b.Tc,da=Hw(b.fa);b=Jw(b.fa);/^[\.\w_-]*$/.test(b)||lS||(Px.getInstance().report(141,{tcstring:b}), lS=!0);QF({U:d,ei:"1",la:f,ad:e,Of:g,appName:h,Uj:k,Il:l,Hl:n,Lg:p,Rk:q,we:x,xe:A,nf:"IMA",qf:"3.735.0",domain:v,pageUrl:t,Qh:P,Tc:X,Kl:da},c);e=c;e=e===void 0?new Map:e;OF(e,"REASON",a);return c}var nS=function(){this.error=this.Of=this.display=this.la=this.ad=null};var oS=function(a,b,c,d){this.isSkippable=a;this.j=b;this.g=c;this.position=d};oS.prototype.toJSON=function(){return{isSkippable:this.isSkippable,skipOffset:this.j,isAutoPlay:this.g,position:this.position}};function pS(a,b){if(!b)throw Error("Value for "+a+" is undefined, null or blank.");if(typeof b!=="string"&&!(b instanceof String))throw Error("Value for "+a+" is not a string.");if(b.trim()==="")throw Error("Value for "+a+" is empty string.");}function qS(a,b){if(b==null)throw Error("Value for "+a+" is undefined or null");}function rS(a,b){if(b==null)throw Error(a+" must not be null or undefined.");if(typeof b!=="number"||isNaN(b))throw Error("Value for "+a+" is not a number");} function sS(a,b){rS(a,b);if(b<0||b>1)throw Error("Value for "+a+" is outside the range [0,1]");};function tS(){return/\d+\.\d+\.\d+(-.*)?/.test("1.5.2-google_20241009")}function uS(){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);PS.indexOf(a)>=0&&(b=b.mediaEvents);b=b[a];if(!b)throw Error("Unrecognized method name: "+a+".");b.apply(null,w(c))};var US=function(a,b,c){qS("AdSession.context",a);this.g=AS();this.o=a;this.G=!1;var d=this.o.g||void 0;if(!b){var e;typeof e==="undefined"&&typeof window!=="undefined"&&window&&(e=window);e=GS(e)?e:FS;var f=f===void 0?DS:f;b=[e,GS(e)?e.top:FS];d&&b.unshift(d);a:{d=u(b);for(var g=d.next();!g.done;g=d.next()){b:{b=e;g=g.value;var h=f;if(!HS(g))try{var k=KS(g);if(k){var l=new ES(k);break b}}catch(n){}l=h(g)?new IS(b,g):null}if(b=l)break a}b=null}}this.A=b;this.D=c||new RS;this.C=this.J=this.H=!1;this.l= this.j=null;this.F=!1;this.B={};this.A&&(this.A.onMessage=this.lk.bind(this));this.ka("setClientInfo","1.5.2-google_20241009",this.o.j.name,this.o.j.version,this.g);SS(this,a.B);(a=a.o)&&this.ka("setContentUrl",a,this.g);TS(this)},VS=function(a){return!!a.A||a.D.g!=null},WS=function(a,b){a.sendMessage("registerSessionObserver",b,a.g)};m=US.prototype;m.start=function(){this.ka("startSession",{customReferenceData:this.o.A,underEvaluation:this.o.l},this.g)}; m.error=function(a,b){this.ka("sessionError",a,b,this.g)};m.ka=function(a){this.sendMessage.apply(this,[a,null].concat(w(Ia.apply(1,arguments))))};m.sendMessage=function(a,b){var c=Ia.apply(2,arguments);if(this.A){var d=AS();b&&(this.B[d]=b);c=new vS(d,"SessionService."+a,"1.5.2-google_20241009",tS()&&uS()?c:JSON.stringify(c));this.A.sendMessage(c)}else if(this.D.g!=null)try{this.D.sendMessage(a,b,c)}catch(e){BS("Failed to communicate with SessionInterface with error:"),BS(e)}}; m.lk=function(a){var b=a.method,c=a.g;a=a.args;if(b==="response"&&this.B[c]){var d=tS()&&uS()?a?a:[]:a&&typeof a==="string"?JSON.parse(a):[];this.B[c].apply(this,d)}b==="error"&&window.console&&BS(a)};var SS=function(a,b){b&&(b=b.map(function(c){return c.toJSON()}),a.ka("injectVerificationScriptResources",b,a.g))},TS=function(a){WS(a,function(b){b.type==="sessionStart"&&(a.C=!0,a.j=b.data.creativeType,a.l=b.data.impressionType);b.type==="sessionFinish"&&(a.C=!1)})}; At("OmidSessionClient.AdSession",US);var XS=function(a){qS("AdEvents.adSession",a);this.j=a.g;try{if(a.H)throw Error("AdEvents already registered.");a.H=!0;a.ka("registerAdEvents",a.g);this.g=a}catch(b){throw Error("AdSession already has an ad events instance registered");}}; XS.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.F=!0;a=a?a.toJSON():null;this.g.ka("loaded",a,this.j)};At("OmidSessionClient.AdEvents",XS);var YS=function(a){qS("MediaEvents.adSession",a);this.j=a.g;try{if(a.J)throw Error("MediaEvents already registered.");a.J=!0;a.ka("registerMediaEvents",a.g);this.g=a}catch(b){throw Error("AdSession already has a media events instance registered");}};m=YS.prototype;m.start=function(a,b){rS("MediaEvents.start.duration",a);sS("MediaEvents.start.mediaPlayerVolume",b);this.g.ka("start",a,b,this.j)};m.complete=function(){this.g.ka("complete",this.j)};m.pause=function(){this.g.ka("pause",this.j)}; m.resume=function(){this.g.ka("resume",this.j)};m.skipped=function(){this.g.ka("skipped",this.j)};var ZS=function(a,b){qS("MediaEvents.playerStateChange.playerState",b);a.g.ka("playerStateChange",b,a.j)},$S=function(a,b){qS("MediaEvents.adUserInteraction.interactionType",b);a.g.ka("adUserInteraction",b,a.j)};At("OmidSessionClient.MediaEvents",YS);var aT=function(a,b,c,d,e){R.call(this);this.ad=a;this.R=b;this.M=c;this.omidAccessModeRules=d;this.N=e;this.l=null;this.C=[];this.J=this.W=this.D=this.Y=!1;this.A=this.g=this.H=this.j=null;this.o=new uu(this);this.o.listen(this.R,vv,this.ha);this.o.listen(this.R,["adError","streamError"],this.da)};r(aT,R); var iT=function(a,b,c){var d=bT(a);cT(d);d.length===0?dT(a,"noVerifications"):(b=new NS(b,d,a.N.g),c&&(b.yf(c),c=Object.keys(a.omidAccessModeRules).length>0,b.l=!c,Px.getInstance().report(159,{pcp:c})),a.j=new US(b),MR("sc"),VS(a.j)?(a.H=new XS(a.j),a.g=new YS(a.j),WS(a.j,function(e){if(!eT(a))switch(e.type){case "sessionStart":MR("ss");e=e.data;a.D=!0;fT(a,e==null?void 0:e.creativeType);gT(a,e==null?void 0:e.impressionType);hT(a);break;case "sessionFinish":MR("sf");a.W=!0;a.dispatchEvent(new Wt("omidAdSessionCompleted")); break;case "sessionError":MR("se")}}),a.Y=!0,fT(a),gT(a),a.j.start(),MR("ssa")):(a.j=null,dT(a,"notSupported")))};aT.prototype.ha=function(a){this.J||eT(this)||(a.type!=="firstQuartile"||this.D||MR("bf"),a.type!=="complete"||this.D||MR("bc"),this.C.push(a),hT(this))};aT.prototype.da=function(a){this.C.push(a);hT(this)};aT.prototype.oa=function(){hT(this)}; var jT=function(a){if(!a.J){a.J=!0;var b;(b=a.j)!=null&&b.ka("finishSession",b.g);yy(function(){eT(a)||(MR("le"),dT(a,"sessionLingering"))},5E3)}},hT=function(a){if(a.D&&!eT(a))for(;a.C.length>0;){var b=a.C[0];if(b.type==="start"&&(a.l==null?0:a.l.getVolume())<0)break;a.C.shift();var c=a;if(b instanceof NR||b instanceof MG){var d=void 0,e=c;if(e.H&&e.g)switch(b.type){case "loaded":MR("oml");b=e.H;c=b.loaded;var f=e;e="preroll";f.ad.getAdPodInfo().getPodIndex()<0?e="postroll":f.ad.getAdPodInfo().getPodIndex()> 0&&(e="midroll");d=f.ad.isSkippable();var g=f.ad.getSkipTimeOffset();f=f.ad;c.call(b,new oS(d,g,f.g&&f.g.adTagParameters?f.g.adTagParameters.vpa==="auto":!1,e));break;case "impression":MR("i");b=e.H;if(!b.g.C)throw Error("Session not started.");c=b.g;if(c.j==="definedByJavaScript")throw Error("Creative type has not been redefined");if(c.l==="definedByJavaScript")throw Error("Impression type has not been redefined");c.G=!0;b.g.ka("impressionOccurred",b.j);break;case "start":MR("ps");e.g.start(e.ad.getDuration(), e.l==null?0:e.l.getVolume());((d=e.l)==null?0:d.dc())&&ZS(e.g,"fullscreen");break;case "firstQuartile":b=e.g;b.g.ka("firstQuartile",b.j);break;case "midpoint":b=e.g;b.g.ka("midpoint",b.j);break;case "thirdQuartile":b=e.g;b.g.ka("thirdQuartile",b.j);break;case "complete":e.g.complete();jT(e);break;case "pause":e.g.pause();break;case "resume":e.g.resume();break;case "skip":e.g.skipped();jT(e);break;case "volumeChange":b=b.getAdData();c=e.g;b=b.volume;sS("MediaEvents.volumeChange.mediaPlayerVolume", b);c.g.ka("volumeChange",b,c.j);break;case "click":case "videoClicked":$S(e.g,"click");break;case "fullscreen":ZS(e.g,"fullscreen");break;case "exitFullscreen":ZS(e.g,"normal");break;case "expand":ZS(e.g,"expanded");break;case "collapse":ZS(e.g,"collapsed");break;case "acceptInvitation":case "acceptInvitationLinear":$S(e.g,"invitationAccept")}}else b instanceof GR&&b.type==="streamError"&&(e=void 0,(e=c.j)==null||e.error("video",b.data.errorMessage||""),jT(c))}},dT=function(a,b){a.A=b;a.dispatchEvent(new Wt("omidAdSessionAbandoned")); MR("ab");a.A==="notSupported"&&kT(a,lT(a.ad),"3","notSupported")},fT=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.G)throw Error("Impression has already occurred");if(b.F)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.ka("setCreativeType",a,b.g);b.j=a}},gT=function(a,b){b=b===void 0?null:b;if(a.j&&(!b||b==="definedByJavaScript")){a=a.j;if(a.G)throw Error("Impression has already occurred");if(a.F)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.ka("setImpressionType","beginToRender", a.g);a.l="beginToRender"}},eT=function(a){return a.W||a.A!=null};aT.prototype.getAd=function(){return this.ad}; var bT=function(a){for(var b=[],c=a.ad;c!=null;){var d=lT(c);c=[];d=u(d);for(var e=d.next();!e.done;e=d.next())if(e=e.value,e.Sb==="omid")if(e.g==null)kT(a,[e],"3","nullUrl");else{var f=new MS(e.g,e.vendor||void 0,e.parameters||void 0,IR(a.omidAccessModeRules,e.g));b.push(f);c.push(e)}else kT(a,[e],"2");c=null}return b},kT=function(a,b,c,d){var e=[];b=u(b);for(var f=b.next();!f.done;f=b.next())f=f.value,e=[].concat(w(e),w(f.ca.map(function(g){return IF(g)})));d&&(e=e.map(function(g){g=new Vs(g);it(g, "dbg",d);return g.toString()}));jG(a.M,mS(c,a.N));a.M.report("verificationNotExecuted",e)};aT.prototype.O=function(){xu(this.o);Tt(this.o);R.prototype.O.call(this)};var cT=function(a){a=a.map(function(b){return[b.j||"",b.g]});Px.getInstance().report(129,{omData:JSON.stringify(a)});MR("oms")};var mT=null,nT=function(){R.call(this);this.o=!0;this.Lg=new LS("Google1","3.735.0");this.j=[];this.A=this.g=null;this.l=new uu(this)};r(nT,R);var oT=function(){mT==null&&(mT=new nT);return mT};nT.prototype.pi=function(){this.o=!1;this.dispatchEvent(new Wt("omidUnavailable"));Px.getInstance().report(128,{status:"disabled",reason:"iframeLoadFailed",description:"The OM SDK iframe failed to load. No measurements can be taken."})}; nT.prototype.Ai=function(a,b,c,d,e){var f=this;e=e===void 0?{}:e;MR("omo");var g=new aT(a,b,c,e,d);if(!this.o)return kT(g,lT(a),"3","notEnabled"),null;this.l.Qd(b,["show_ad","start","adError"],function(h){switch(h.type){case "show_ad":pT(f,g);break;case "start":pT(f,g);break;case "adError":g.D||kT(g,lT(g.getAd()),"3","A fatal ad error occurred, so no OMID ad session was started.")}});this.l.listen(g,"omidAdSessionAbandoned",function(){qT(!0,g);g.dispose();f.g=null;rT(f)});this.l.listen(g,"omidAdSessionCompleted", function(){qT(!1,g);g.dispose();f.g=null;rT(f)});return g};var pT=function(a,b){b.Y||eT(b)||a.j.includes(b)||(a.j.push(b),a.g&&(MR("saa"),jT(a.g)),rT(a))},rT=function(a){a.o&&!a.g&&a.j.length!==0&&a.A&&(a.g=a.j.shift(),iT(a.g,a.Lg,a.A))};nT.prototype.yf=function(a){this.A=a;rT(this)};var qT=function(a,b){var c={es:a?"abandon":"complete",ai:b.getAd().getAdId(),qy:b.getAd().Ee()};a&&b.A!=null&&(c.ar=b.A);Px.getInstance().report(87,c)};function sT(a){var b;return(b=a.omidSessionInterface)!=null?b:null} function tT(){var a=document.body,b,c,d,e,f,g;return z(function(h){if(h.g==1)return b=vm("IFRAME",{style:"visibility: hidden; width: 0; height: 0; position: absolute; left: 0; top: 0;",title:"Advertisement"}),c=new Promise(function(k){b.addEventListener("load",function(){k()})}),a.appendChild(b),y(h,c,2);d=vm("SCRIPT");e=uT();Mk(d,e);f=new Promise(function(k,l){d.addEventListener("load",function(){var n=Am(b);n&&sT(n)?k(b):l()})});g=b.contentDocument||b.contentWindow.document;g.head.appendChild(d); return h.return(f)})}function uT(){switch(L(or).g(wF.g,wF.defaultValue)){case 0:return TR;case 1:return UR;case 2:return VR;case 3:return WR;default:return TR}};var vT=function(a,b){R.call(this);this.j=b;this.g=sT(a)};r(vT,R);var wT=function(a){try{a.g&&a.g.registerSessionObserver(function(b){if(b.type==="sessionStart"){b=a.j;b instanceof QM&&(b=b.T);var c;if(((c=b.tagName)==null?void 0:c.toUpperCase())!=="AUDIO")try{a.g&&a.g.setVideoElement(b)}catch(d){a.dispatchEvent(new Event("error"))}}else b.type==="sessionFinish"&&wT(a)})}catch(b){a.dispatchEvent(new Event("error"))}};vT.prototype.O=function(){try{this.g&&this.g.finishAdSession()}catch(a){}R.prototype.O.call(this)};var xT=function(a,b){Q.call(this);this.U=a;this.j=b;this.g=null};r(xT,Q);xT.prototype.load=function(){var a=this;return z(function(b){return lx(a.j)?y(b,yT(a),0):b.return()})}; var yT=function(a){var b,c;return z(function(d){if(d.g==1)return d.l=2,y(d,tT(),4);if(d.g!=2)return b=d.j,a.g=b,c=Am(b),zT(a,c),ya(d,0);za(d);AT(a);d.g=0})},zT=function(a,b){(lx(a.j)?oT():new FR).yf(b);b=new vT(b,a.U.g);b.listen("error",function(){return void AT(a)});wT(b)},AT=function(a){(lx(a.j)?oT():new FR).pi();if(a.g){var b=a.g;b&&b.parentNode&&b.parentNode.removeChild(b);a.g=null}};xT.prototype.O=function(){if(this.g){var a=this.g;a&&a.parentNode&&a.parentNode.removeChild(a);this.g=null}Q.prototype.O.call(this)};var BT=function(a,b,c){this.key=a;this.duration=b;this.position=c};var CT=function(a){this.data=a};m=CT.prototype;m.getAdPosition=function(a){return((this.data.ads||{})[a]||{}).position||0};m.Cb=function(a){return((this.data.ads||{})[a]||{})["break"]||""};m.getTotalAds=function(a){return((this.data.breaks||{})[a]||{}).ads||0};m.De=function(a){return((this.data.breaks||{})[a]||{}).duration||0};m.pg=function(a){return((this.data.breaks||{})[a]||{}).expected_duration||0}; m.rg=function(a){var b=this.data.ads||{},c=this.getAdPosition(a);a=this.Cb(a);for(var d=0,e=u(Object.keys(b)),f=e.next();!f.done;f=e.next()){f=b[f.value]||{};var g=f.position||Number.MAX_SAFE_INTEGER,h=f.duration||0;a===f["break"]&&g>0&&g0}).sort(function(g,h){return g.position-h.position})};var DT=function(a){this.played=!1;this.data=a};DT.prototype.contains=function(a){return Math.floor(ET(this))<=a&&a<=Math.ceil(FT(this))};var ET=function(a){return a.data.start_float},FT=function(a){return a.data.end_float};DT.prototype.kd=function(){return ET(this)<=FT(this)};DT.prototype.equals=function(a){return a?ET(this)===ET(a)&&FT(this)===FT(a)&&this.played===a.played:!1};var GT=function(a){var b={};b.end=FT(a);b.start=ET(a);b.played=a.played;return b};var HT={html:"Html",iframe:"IFrame","static":"Static"}; function IT(a,b){var c=a.deal_id||null;b=new aH(b);b.A=JT(a);b.adTitle=a.title||null;b.B=a.advertiser||null;b.g=a.clickthrough_url||"";var d=KT(a.click_tracking_urls||null);d.length>0&&b.ca.set("click",d);b.j=a.attribution_params;b.creativeId=a.creative_id||null;b.F=a.creative_ad_id||null;b.description=a.description||null;b.qa=a.duration*1E3||-1;b.id=a.ad_id||null;b.kb=LT(a);b.H=MT(a,"creative_id");b.C=MT(a,"ad_id");b.D=MT(a,"system");b.dealId=NT(a)||c;if(c=a.skip_metadata)b.ta=c.offset*1E3,b.ca.set("skip", [new FF("skip",c.tracking_url)]);c=(a.extensions||[]).map(function(e){return St(e).documentElement});c=tJ(OT(),c);c=new xH([new wH(new CI({wa:PT(a.companions),L:c}))]);QT().ia(c,b,new fv);(c=RT(a))&&b.L.set(DG,c);b.icons.push.apply(b.icons,w(ST(a.icons)));(a=b.L.get(IG))&&b.icons.push(a.g);b.icons=TT(b.icons);return b}function UT(a,b){var c=a.vast||"";if(!c)return null;b=VT(c,b);if(!b)return null;b.H=MT(a,"creative_id");b.D=MT(a,"system");b.C=MT(a,"ad_id");a=NT(a);b.dealId=a||b.dealId;return b} function NT(a){a=u(a.wrappers||[]);for(var b=a.next();!b.done;b=a.next())if(b=b.value,b.deal_id)return b.deal_id;return""}function PT(a){if(!a||a.length===0)return[];var b=[];a=u(a);for(var c=a.next();!c.done;c=a.next())b.push(WT(c.value));return b} function ST(a){if(!a||a.length===0)return[];var b=[];a=u(a);for(var c=a.next();!c.done;c=a.next()){var d=c.value;c=new QG;var e=d.click_data;e&&(c.o=e.url);c.C=d.creative_type;c.l=d.resource;c.j=d.height;c.g=d.width;c.xPosition=d.x_position;c.yPosition=d.y_position;c.program=d.program;c.altText=d.alt_text;if((e=d.click_fallback_images)&&e.length!==0){d=[];e=u(e);for(var f=e.next();!f.done;f=e.next()){f=f.value;var g=new PG;g.l=f.width;g.g=f.height;g.j=f.resource;g.creativeType=f.creative_type;g.altText= f.alt_text;d.push(g)}}else d=[];c.G=d;b.push(c)}return b}function WT(a){var b=new Dt(a.click_data.url),c=[],d=a.tracking_events;d&&(c=d.map(function(e){return new EF(e.event,e.uri)}));return new sH({Bc:new fH([new eH({Ub:a.ad_slot_id,Z:a.api_framework,width:a.width,height:a.height,Ab:b,ca:c,resources:[new dH(a.resource,HT[a.type],a.creative_type)]})])})}function MT(a,b){var c=[];(a.wrappers||[]).forEach(function(d){return c.push(d[b]||"")});return c.reverse()} function VT(a,b){try{var c=St(a);if(c){var d=c.documentElement;if(d&&Ft(d)){var e=OT();if(!d)throw Error("VAST string is empty.");if(!Ft(d))throw Error("Response string is not a valid VAST document.");a=[];c=[];for(var f=u(K(d)),g=f.next();!g.done;g=f.next()){var h=g.value;switch(h.nodeName){case "Ad":d=void 0;var k=e,l={};l.id=h.getAttribute("id");l.Oa=aJ(h,"sequence");l.Vb=h.getAttribute("adType");for(var n=u(K(h)),p=n.next();!p.done;p=n.next()){var q=p.value;if(q.nodeName=="InLine"){for(var v= void 0,t=void 0,x=void 0,A=void 0,P=void 0,X=void 0,da=void 0,fa=[],ca=[],ec=[],Ic=[],fc=u(K(q)),Za=fc.next();!Za.done;Za=fc.next()){var Ca=Za.value;switch(Ca.nodeName){case "AdServingId":da=U(Ca);break;case "AdSystem":X=U(Ca);break;case "AdTitle":P=U(Ca);break;case "AdVerifications":Ic=Ic.concat(hJ(Ca));break;case "Advertiser":A=U(Ca);break;case "Creatives":for(var tc=u(K(Ca)),ve=tc.next();!ve.done;ve=tc.next()){var we=ve.value;we.nodeName=="Creative"&&ec.push(uJ(we))}break;case "Description":x= U(Ca);break;case "Error":U(Ca)!=null&&fa.push(U(Ca));break;case "Extensions":v=tJ(k,K(Ca));break;case "Impression":var Da=lJ(U(Ca)),xe=eJ(Ca);Da!=null&&ca.push(new tH(Da,xe));break;case "Survey":t=U(Ca)}}d=new CI({sc:da,Va:X,adTitle:P,je:A,description:x,ah:t,errors:fa,Gb:ca,wa:ec,Ua:Ic,L:v});break}else if(q.nodeName=="Wrapper"){x=t=v=void 0;A=k;P=q;X=[];da=[];k=[];fa=[];for(var uc=P.getAttribute("followAdditionalWrappers")!="false",Ig=P.getAttribute("allowMultipleAds")=="true",Bb=P.getAttribute("fallbackOnNoAd")== "true",ye=u(K(P)),Id=ye.next();!Id.done;Id=ye.next()){var Cb=Id.value;switch(Cb.nodeName){case "AdSystem":x=U(Cb);break;case "VASTAdTagURI":var Af=U(Cb);t=Af?Af:void 0;break;case "Creatives":for(var ze=u(K(Cb)),Ae=ze.next();!Ae.done;Ae=ze.next()){var Jg=Ae.value;Jg.nodeName=="Creative"&&k.push(uJ(Jg))}break;case "Error":var Be=U(Cb);Be!=null&&X.push(Be);break;case "AdVerifications":fa=fa.concat(hJ(Cb));break;case "Extensions":v=tJ(A,K(Cb));break;case "Impression":var Kg=lJ(U(Cb)),zi=eJ(Cb);Kg!=null&& da.push(new tH(Kg,zi))}}d=new $I({Va:x,ng:uc,Pf:Ig,mg:Bb,Mf:t,errors:X,Gb:da,wa:k,Ua:fa,L:v});break}}if(!d)throw Error("Vast Ad contains neither inline nor wrapper data.");a.push(new wH(d,l));break;case "Error":var Bf=U(h);Bf&&c.push(Bf)}}for(var hc=M.getInstance(),Jd=u(["lima_p_ich","lima_p_icu"]),Ce=Jd.next();!Ce.done;Ce=Jd.next()){var Kd=Ce.value;hc.j.has(Kd)?(N(hc,Kd,""+hc.j.get(Kd)),hc.j.delete(Kd)):N(hc,Kd,"0")}hc.o();var Ld=new ZI({ads:a,Ig:c})}else Ld=null;var De=Ld}else De=null;if(!De)return null; var Cf=new xH(De.g),vc=(new zJ(b)).j(Cf);if(!vc)return null;QT().ia(Cf,vc,new fv);var Ai=vc.L.get(IG);Ai&&vc.icons.push(Ai.g);vc.icons=TT(vc.icons);return vc}catch(Tk){return null}}function QT(){var a=[new BH,new EH,new IH,new NH,new TH,new YH,new $H,new bI,new wI,new yI,new DI,new FI,new GI,new JI,new LI,new OI,new QI,new SI,new UI];pr(uF)&&a.push(new WH);return new MI(a)} function OT(){var a=new rJ;sJ(a,new ZN);sJ(a,new $N);sJ(a,new aO);sJ(a,new cO);sJ(a,new dO);sJ(a,new eO);pr(uF)&&sJ(a,new fO);sJ(a,new gO);sJ(a,new hO);sJ(a,new iO);sJ(a,new jO);sJ(a,new kO);sJ(a,new lO);sJ(a,new mO);sJ(a,new nO);sJ(a,new oO);sJ(a,new pO);return a}function JT(a){var b=a.ad_system||"";a=MT(a,"system");return[b].concat(w(a))} function RT(a){a=a.verifications||null;if(!a)return null;var b=new DG;a.forEach(function(c){var d=c.vendor,e=c.parameters,f=XT(c);c=c.java_script_resources||[];c.length>0&&(c=c[0],EG(b,d,c.script_url||"",e,c.api_framework||"",f))});return b}function XT(a){var b=[];(a.tracking_events||[]).forEach(function(c){b.push(new FF(c.event,c.uri))});return b}function KT(a){if(!a)return[];var b=[];a.forEach(function(c){b.push(new FF("click",c))});return b} function LT(a){return(a=a.universal_ad_id||null)?[new RG(a.id_value||"unknown",a.id_registry||"unknown")]:[]}function TT(a){var b=new Set;return a.filter(function(c){if(b.has(c.program))return!1;b.add(c.program);return!0})};var YT=function(){CT.apply(this,arguments)};r(YT,CT);YT.prototype.getCuePoints=function(){var a=(this.data.cuepoints||[]).map(function(b){return new DT(b)});a=a.filter(function(b){return b.kd()});a.sort(function(b,c){return ET(b)-ET(c)});return a};YT.prototype.getAd=function(a,b,c){c=c===void 0?0:c;var d=(this.data.ads||{})[a];if(!d)return null;b=UT(d,b);if(!b)return null;b.la=this.getAdPodInfo(a,c);return b}; YT.prototype.g=function(){for(var a=this.data.times||{},b=u(Object.keys(a)),c=b.next();!c.done;c=b.next()){c=a[c.value];for(var d=0;d0&&ET(a[0])===0;a.some(function(e,f){return e.contains(b||0)?(c.g=d?f:f+1,c.j=ET(e),!0):!1})}return c};var ZT=function(a){var b=a===void 0?{}:a;a=b.adBreakDuration===void 0?0:b.adBreakDuration;var c=b.yd===void 0?0:b.yd;var d=b.adPeriodDuration===void 0?0:b.adPeriodDuration;var e=b.adPosition===void 0?0:b.adPosition;var f=b.zd===void 0?0:b.zd;var g=b.currentTime===void 0?0:b.currentTime;var h=b.duration===void 0?0:b.duration;var k=b.tc===void 0?[]:b.tc;b=b.totalAds===void 0?0:b.totalAds;this.adBreakDuration=a;this.yd=c;this.adPeriodDuration=d;this.adPosition=e;this.zd=f;this.currentTime=g;this.duration= h;this.tc=k;this.totalAds=b},$T=function(a){var b={};b.adBreakDuration=a.adBreakDuration;b.adBreakStartTime=a.yd;b.adPeriodDuration=a.adPeriodDuration;b.adPosition=a.adPosition;b.adStartTime=a.zd;b.currentTime=a.currentTime;b.duration=a.duration;b.adsDurationsMs=a.tc;b.totalAds=a.totalAds;return b};function aU(a,b){var c=b;a.forEach(function(d){var e=ET(d);d=FT(d);b>=d?c-=d-e:be&&(c-=b-e)});return c}function bU(a,b){var c=b,d=0,e=0;a.forEach(function(f){var g=ET(f);f=FT(f);d+=g-e;if(d>b)return c;c+=f-g;e=f});return c};var cU=function(a,b,c,d,e,f,g){this.F=a;this.vf=b;this.Y=c;this.da=d;this.W=e;this.ha=f;this.ga=g;this.l=null;this.G=0;this.j="";this.C=0;this.B=!1;this.R=!0;this.H=!1;this.o=0;this.A=this.g=null;this.J=this.D=this.N=!1;this.volume=1;this.M=new Set},dU=function(a){Tt(a.g);a.J=!1;a.g=null;a.l=null;a.j=""},eU=function(a){a.B||(a.G=a.o,a.B=!0,a.dispatchEvent(new GR("adBreakStarted")))},gU=function(a){a.B&&(a.R&&(a.R=!1,(fU(a.F)||a.F.data.stream_type==="on_demand")&&Px.getInstance().report(206,{st:fU(a.F)? "live":"vod",meta:a.H?"1":"0",pt:Uv.getPlayerType()||"",pv:Uv.getPlayerVersion()||"",n:"0",ctv:ox(a.W)?"1":"0"},!1)),a.dispatchEvent(new GR("adBreakEnded")),a.B=!1)}; cU.prototype.Xa=function(){if(this.A){var a=this.A;var b=this.j,c=this.o,d=this.C;if(a==null||D(b))a=null;else{var e=a.Cb(b);a=new ZT({adBreakDuration:a.De(e),yd:this.G,adPeriodDuration:a.pg(e),adPosition:a.getAdPosition(b),zd:d,currentTime:c-d,duration:((a.data.ads||{})[b]||{}).duration||0,totalAds:a.getTotalAds(e),tc:a.getAdPodInfo(b,d).tc})}}else a=null;return a};cU.prototype.getCurrentTime=function(){var a=this.Xa();return a!=null?a.currentTime:0}; cU.prototype.getDuration=function(){var a=this.Xa();return a!=null?a.duration:0};cU.prototype.getVolume=function(){return this.volume}; var kU=function(a,b){D(a.j)||a.j!==b||(hU(a,!0),iU(a,"complete"),jU(a))},lU=function(a,b,c){return D(a.j)||a.j!==c?!1:(iU(a,b),!0)},mU=function(a,b,c){!D(a.j)&&a.j===b&&a.g!=null&&a.g.report("progress",c.filter(function(d){return d.length>0}))},oU=function(a,b){if(a.M.has(b)||!a.A)return null;a.M.add(b);var c=a.A.getAd(b,a.vf,a.o);if(!c)return dU(a),null;a.l=c;a.j=b;a.C=a.o;nU(a,c);return c};cU.prototype.tb=function(a,b){var c;iU(this,a,(c=pU(b))!=null?c:void 0);a==="skip"&&jU(this)}; var qU=function(a){var b=a.F.Je();a.dispatchEvent(new GR("loadStream",b))};cU.prototype.Nc=function(a){this.N||(rU(this,a),this.N=!0);this.D&&(iU(this,"resume"),this.D=!1)};cU.prototype.Mc=function(){this.D||(iU(this,"pause"),this.D=!0)};cU.prototype.Oc=function(a){rU(this,a)}; var sU=function(a){if(a.l){var b=a.Xa();a.dispatchEvent(new GR("adProgress",b!=null?$T(b):{}));a.g&&(b=a.getDuration()*1E3,hG(a.g,a.getCurrentTime(),b))}},hU=function(a,b){b=b===void 0?!1:b;var c;!a.J&&(c=a.l)!=null&&c.isSkippable()&&(a.getCurrentTime()>=30||b)&&(a.J=!0,iU(a,"engagedView"))},tU=function(a){if(!a.B&&a.A){var b=a.A.rg(a.j);a.G=a.C-b;a.B=!0;a.dispatchEvent(new GR("adBreakStarted"))}iU(a,"loaded");iU(a,"adCanPlay");iU(a,"impression");iU(a,"creativeView");iU(a,"start");a.volume===0&&iU(a, "mute")},iU=function(a,b,c){a.l&&(a.ga.onEvent(b,a.l),a.g!=null&&a.g.report(b,c),a.dispatchEvent(new MG(b,a.l)))},jU=function(a){var b=a.A,c=a.j;if(b==null||D(c))var d=!0;else d=b.getTotalAds(b.Cb(c)),b=b.getAdPosition(c),d=typeof d!=="number"||typeof b!=="number"?!0:b>=d;dU(a);d&&gU(a)};cU.prototype.dispatchEvent=function(a){this.Y.dispatchEvent(a)}; var nU=function(a,b){Tt(a.g);a.g=new $F(b.ca,new Ru(!1));b=QF({ei:"1",la:b.getAdPodInfo(),ad:b,U:a.da});jG(a.g,b);iG(a.g,new av("SDKV",{toString:function(){return a.vf}}));a.ha.forEach(function(c){var d;(d=a.g)!=null&&(c=c.create(),d.B.push(c))})},rU=function(a,b){if(a.l!=null){var c=b===0,d=a.volume===0;c&&!d?iU(a,"mute"):!c&&d&&iU(a,"unmute");a.volume!==b&&a.dispatchEvent(new MG("volumeChange",a.l,{volume:b}))}a.volume=b}; function pU(a){if(!a)return null;a=a.data;return a instanceof Object?a.trackingUrls&&(a=a.trackingUrls,a instanceof Object&&a.eventUrls&&(a=a.eventUrls,a instanceof Array&&a.length))?a:null:null};var uU=function(a,b){this.ad=a;this.g=b};uU.prototype.getDuration=function(){var a=this.ad.qa;return a?a/1E3:0};var lT=function(a){return(a=a.ad.L.get(DG))?a.g:[]};m=uU.prototype;m.isSkippable=function(){return this.ad.isSkippable()};m.getSkipTimeOffset=function(){var a=this.ad.ta;return a!=null?a/1E3:-1};m.getAdPodInfo=function(){return this.ad.getAdPodInfo()}; m.getContentType=function(){if(!this.g)return"";switch(this.g.format){case "dash":return"application/dash+xml";case "hls":return"application/x-mpegURL";default:return""}};m.Ee=function(){return this.ad.Ee()};m.getAdId=function(){return this.ad.getId()};function vU(a,b,c){if(!a)return null;a=new oG(b,a,c,kx(),b.Ee());uE();a.H&&a.o.kd()&&(gA().H=!0,L(tE),b=a.o,S().B=b);b=L(tE);c=a.B;b.N=c;S().sf(c);L(tE);c=a.A;b=S();try{var d=Wc(c);b.tf(d)}catch(e){Az(Cz,"lidarv",{processDecodedFlagsFailure:1},!0,1E-6),b.tf(c)}d=xz(b.flags,VD)?1:0;$y(b.P,"fmd",d);return a}function wU(a,b,c,d,e,f){var g=lx(f)?oT():new FR;c.g&&(b=g.Ai(new uU(e,d),b,c.g,f,d.omidAccessModeRules))&&(b.l=a,b.o.listen(b.l,"start",b.oa))};var xU=function(a,b){R.call(this);this.V=a;this.U=b;this.g=null};r(xU,R);m=xU.prototype;m.getVolume=function(){return this.U.getVolume()};m.Ne=function(){return this.U.Ne()};m.dc=function(){return this.U.dc()};m.xg=function(){return this.U.xg()};m.Oe=function(){return this.U.Oe()};m.getCurrentTime=function(){return this.V.getCurrentTime()};m.getDuration=function(){return this.V.getDuration()||-1};m.Kf=function(){return this.U.Kf()}; m.he=function(){this.qc();this.g=new uu(this);this.g.listen(this.V,"adProgress",this.bb);this.g.listen(this.V,"complete",this.nj)};m.qc=function(){var a;(a=this.g)==null||a.dispose();this.g=null};m.og=function(){return this.U.og()};m.bb=function(){this.dispatchEvent("timeUpdate")};m.nj=function(){this.dispatchEvent("end");this.qc()};var yU=function(a,b,c,d,e,f){R.call(this);this.C=a;this.A=d;this.g=null;this.l=[];this.o=null;this.j=new xU(this,c);this.D=new Set;this.controller=new cU(b,hx(d)||"",this,this.j,this.A,e,f)};r(yU,R);m=yU.prototype;m.li=function(){dU(this.controller);this.j.qc()};m.getCurrentTime=function(){return this.controller.getCurrentTime()};m.getDuration=function(){return this.controller.getDuration()};m.Xa=function(){return this.controller.Xa()};m.ze=function(a){return aU(this.l,a)}; m.Af=function(a){return bU(this.l,a)};m.rf=function(a){a:{for(var b=this.l,c=b.length-1;c>=0;c--){var d=b[c];if(ET(d)3)c=[String(Math.floor(a))];else{c=[];for(var d=Math.floor(b);d<=Math.floor(a);d++)c.push(String(d))}c=u(c);for(d=c.next();!d.done;d=c.next())AU(this,d.value);try{a-=b,1<=a&&a<3&&Px.getInstance().report(146,{n:"0",ctv:ox(this.A)?"1":"0"},!0)}catch(e){}BU(this);sU(this.controller)}}; var AU=function(a,b){var c,d=((c=a.g)==null?void 0:(c.data.times||{})[b]||[])||[];d.length===0||a.D.has(b)||(a.D.add(b),d.forEach(function(e){var f=rl(e.type),g=e.ad||"",h=e.url||"";e=e.event_uris||[];D(g)?D(h)||f.toLowerCase()!=="start"&&f.toLowerCase()!=="complete"||Zu([h]):a.handleEvent(b,f,g,e)}))},BU=function(a){a.controller.l&&!a.l.some(function(b){return b.contains(a.controller.o)})&&(dU(a.controller),gU(a.controller))};m=yU.prototype;m.Xd=function(){this.controller.H=!0};m.Nc=function(){this.controller.Nc(this.j.getVolume())}; m.Mc=function(){this.controller.Mc()};m.Oc=function(a){this.controller.Oc(a)};m.od=function(){};m.getVolume=function(){return this.controller.getVolume()};m.dc=function(){return this.j.dc()}; m.handleEvent=function(a,b,c,d){d=d===void 0?[]:d;switch(b.toLowerCase()){case "start":(b=oU(this.controller,c))&&this.g&&(this.j.he(),this.o=vU(this.controller.g,b,this.j),wU(this,this,this.controller,this.C,b,this.A),this.g.getAdPosition(this.controller.j)===1&&CU(this,a),tU(this.controller));break;case "firstquartile":lU(this.controller,"firstQuartile",c);break;case "midpoint":lU(this.controller,"midpoint",c);break;case "thirdquartile":lU(this.controller,"thirdQuartile",c);break;case "complete":kU(this.controller, c);Tt(this.o);this.o=null;this.j.qc();break;case "vastprogress":mU(this.controller,c,d)}};var zU=function(a){var b={};b=(b.cuepoints=a.l.map(function(c){return GT(c)}),b);a.dispatchEvent(new GR("cuepointsChanged",b))},CU=function(a,b){eU(a.controller);a.l.forEach(function(c){Math.floor(ET(c))!==Number(b)||c.played||(c.played=!0,zU(a))})};var DU=sa(["https://s0.2mdn.net/instream/video/client.js"]),EU=null,FU=function(){R.call(this);this.g=null;this.C=new Map;this.D=new Map;this.A=!1;this.j=null;this.l=new uu(this);Vt(this,this.l)};r(FU,R);var GU=function(){EU==null&&(EU=new FU);return EU},EE=function(a,b,c){var d={};d.queryId=b;d.viewabilityData=c;a.g&&a.g.g("activityMonitor","viewabilityMeasurement",d)};FU.prototype.destroy=function(){this.l.rd(this.g,"activityMonitor",this.o);this.A=!1;this.C.clear()}; FU.prototype.O=function(){this.destroy();R.prototype.O.call(this)};FU.prototype.init=function(a){if(!this.A){if(this.g=a||null)this.l.listen(this.g,"activityMonitor",this.o),HU(this);if(!(B.ima&&B.ima.video&&B.ima.video.client&&B.ima.video.client.tagged)){C("ima.video.client.sdkTag",!0);var b=B.document;a=Ul("SCRIPT");var c=Ql(DU);Mk(a,c);a.async=!0;a.type="text/javascript";b=b.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}dz(bq());L(tE).R=0;L(tE).l=!0;this.j=null;uE();this.A=!0}}; var AE=function(a,b){a=a.C.get(b);return typeof a==="function"?a():{}},HU=function(a){if(typeof window.Goog_AdSense_Lidar_getUrlSignalsArray==="function"){var b={};b.pageSignals=window.Goog_AdSense_Lidar_getUrlSignalsArray();var c;(c=a.g)==null||c.g("activityMonitor","pageSignals",b)}}; FU.prototype.o=function(a){var b=a.g(),c=b.queryId,d={},e=null;d.eventId=b.eventId;switch(a.j()){case "getPageSignals":HU(this);break;case "reportVastEvent":e=b.vastEvent;a=b.osdId;var f={};f.opt_fullscreen=b.isFullscreen;b.isOverlay&&(f.opt_bounds=b.overlayBounds);b=f;b=b===void 0?{}:b;if(this.A)if(a&&b.opt_osdId==null&&(b.opt_osdId=a),this.j)c=this.j(e,c,b);else{if(a=a?this.D.get(a):null){if(b.opt_fullscreen==null){if(a==null)f=!1;else if((Kc||Mc)&&a.webkitDisplayingFullscreen!==null)f=a.webkitDisplayingFullscreen; else{f={left:a.offsetLeft,top:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight};try{typeof a.getBoundingClientRect==="function"&&zm(om(a),a)&&(f=a.getBoundingClientRect())}catch(h){}f=It(f.width,f.height)}b.opt_fullscreen=f}b.opt_adElement==null&&(b.opt_adElement=a)}c=rF.Pc(469,$a(GE,e,c,b))||{}}else c={};d.viewabilityData=c;var g;(g=this.g)==null||g.g("activityMonitor","viewability",d);break;case "fetchAdTagUrl":d={},d.eventId=b.eventId,a=b.osdId,em(b,"isFullscreen")&&(e=b.isFullscreen),em(b, "loggingId")&&(g=b.loggingId,d.loggingId=g,Px.getInstance().report(43,{step:"beforeLookup",logid:g,time:Date.now()})),d.engagementString=IU(this,a,e),this.g&&this.g.g("activityMonitor","engagement",d)}};var IU=function(a,b,c){var d,e=b?(d=a.D.get(b))!=null?d:null:null;a={};c!=null&&(a.fullscreen=c);c="";try{c=ZE(function(){return e},a)}catch(f){c=f,c="sdktle;"+pl(c.name,12)+";"+pl(c.message,40)}return c};C("ima.common.getVideoMetadata",function(a){return AE(GU(),a)}); C("ima.common.triggerViewabilityMeasurementUpdate",function(a,b){EE(GU(),a,b)});function JU(a,b){return a instanceof aH&&b.length>0?!1:!(YN(a)!=null||XN(a)!=null)&&!(a instanceof SG&&qO(a))};var KU="avia.vtg.paramount.tech bet.com bet.plus cbs.com cbsinteractive.com cbsivideo.com paramountplus.com webplex.vmn.io".split(" ");function LU(){var a=window.document.domain;return Vv("promotion_customize_ui")&&fR(a,KU)};var MU=function(a,b){Q.call(this);this.j=a;this.g=b};r(MU,Q);var JN=function(a){var b=a.g.Fb.contentWindow;return{hk:function(){return b},jk:function(){return a.j}}};var OU=function(a,b,c){R.call(this);this.j=a;this.g=b;this.l=c;NU(this,this.j.Fb.contentWindow)};r(OU,R);var NU=function(a,b){b=IN(a.l,a.g,new MU(b,a.j));Vt(a,b);LN(b).then(function(){Eo(M.getInstance(),"ima_lsc");var c;(c=FN(a.g))==null||c.then(function(){Eo(M.getInstance(),"ima_csr")},function(){Eo(M.getInstance(),"ima_cmc")})});PN(b)};OU.prototype.O=function(){var a;(a=this.g)!=null&&a.j&&(a.j.reject(),a.j=null);R.prototype.O.call(this)};pm();var PU={},QU=(PU.play="play",PU.pause="pause",PU.seeked="seeked",PU.seeking="seeking",PU.stalled="stalled",PU.timeUpdate="timeUpdate",PU.volumeChange="volumeChange",PU),RU=function(a,b,c,d,e){R.call(this);var f=this;this.U=a;this.V=b;this.ad=c;this.l=d;this.j=e;this.g=new uu(this);Vt(this,this.g);this.g.listen(this.U,Object.keys(QU),function(g){return void f.dispatchEvent(QU[g.type])})};r(RU,R); var QN=function(a){var b=a.V.Xa(),c=!0;b&&(c=b.duration7||a.qa===0)f.g=a.ta!=null?a.ta/1E3:-1,a.qa!=null&&f.g>=a.qa/1E3&&(f.g=-1);e=a.L.get(rG);a.L.get(AG);!e||hR(a.icons)||g.Od||(f.C=e.g);f.G=!0;f.A=!0;f.o=a.g==null||ox(g)?!1:lk()||mk()||qO(a);f.icons=a.icons;f.B=gR(a);Vv("force_wta_top_left")&&iR(f.icons);g.Kc==="tvos"&&jR(f.icons);e=Tv(Uv);yv(e,"disableSkipFadeTransition")&&(f.M=0);if(e=a.L.get(tG))f.J={Yd:e.Yd}}e={};e.uiConfig=UU(f);if(f=a.L.get(LG)){g={};var h=f.j;var k={};h=(k.videoId=h.id,k.videoTitle=h.title,k.videoThumbnail= h.j,k.isTrueView=h.Jb,k.isUnlisted=!h.g,k);g.videoMetadata=h;h=f.l;k={};h=(k.channelId=h.id,k.channelTitle=h.title,k.channelThumbnail=h.g,k.customUrl=h.j,k);f=(g.channelMetadata=h,g.format=f.g,g)}else f=null;e.youtubeExtension=f;e.clickthroughUrl=a.g;e.attributionParams=a.j;if(c||b)a={},b?a.creativeHtml=b:a.creativeUrl=c,e.simidAdUi=a;ON(d,"start",e)}break;case "complete":case "skip":ON(this.g,"complete");(b=this.l)==null||b.dispose();this.l=null;break;case "pause":this.g.pause();break;case "resume":this.g.resume()}}; SU.prototype.bb=function(){var a=this.V.Xa();if(a){var b=this.g,c={};c.timeInfo=$T(a);ON(b,"progress",c)}};SU.prototype.O=function(){xu(this.j);this.l=null;Q.prototype.O.call(this)};var VU=function(a,b,c){Q.call(this);this.U=a;this.V=b;this.Cg=c;this.g=new uu(this)};r(VU,Q);m=VU.prototype;m.bb=function(){var a=this.U.getCurrentTime();this.V.bb(a);var b=this.Cg;a=Math.floor(a);if(a!==b.j){var c=a-1;c>=0&&b.g.has(c)&&WU(b,b.g.get(c));b.g.has(a)&&(b.j=a,WU(b,b.g.get(a)))}};m.Oc=function(){var a=this.U.getVolume();this.V.Oc(a)};m.Nc=function(){this.V.Nc()};m.Mc=function(){this.V.Mc()};m.O=function(){xu(this.g)};var XU=function(a){this.data=a;this.position=0},YU=function(a,b){if(b<0||b>a.data.length-a.position)throw Error("Invalid skip");a.position+=b},ZU=function(a){var b=a.data[a.position]&255;a.position++;return b},$U=function(a,b){if(b<0||b>a.data.length-a.position)throw Error("Invalid byteCount");var c=[],d=0;b=a.position+b;for(var e=a.position;e4&&YU(a.g,f-4);e-=f}(d&8)!==0&&(e-=10);for(d=e;d>0;){e=$U(a.g,4);f=String.fromCharCode.apply(null,e);e=aV(a.g);if(e<=1){a=b;break a}YU(a.g,2);if("TXXX"===f){f=ZU(a.g);switch(f){case 0:case 2:case 3:break;default:throw Error("Unsupported encoding "+ f);}var g=DataView,h=a.g,k=e-1;if(k<0||k>h.data.length-h.position)throw Error("Invalid byteCount");var l=new ArrayBuffer(k);l=new Uint8Array(l);for(var n=0,p=h.position+k,q=h.position;q191&&l<224?(n=f[h++],g[k++]=String.fromCharCode((l&31)<<6|n&63)):l>239&&l<365?(n=f[h++],p=f[h++],q=f[h++],l=((l&7)<<18|(n&63)<<12|(p&63)<<6|q&63)-65536,g[k++]=String.fromCharCode(55296+ (l>>10)),g[k++]=String.fromCharCode(56320+(l&1023))):(n=f[h++],p=f[h++],g[k++]=String.fromCharCode((l&15)<<12|(n&63)<<6|p&63));f=g.join("");break b;default:f="";break b}f=void 0}b.push(f)}else YU(a.g,e-1);d-=e+10}if(b.length===0)throw Error("No TXXX frames found.");a=b}a=a[0]}else a=b;a.indexOf("google_")===0&&(a={value:a,Uh:!1},c=Math.floor(c),this.g.has(c)?this.g.get(c).push(a):this.g.set(c,[a]))}};var fV=function(){CT.apply(this,arguments)};r(fV,CT);fV.prototype.Lf=function(a){return((this.data.tags||{})[a]||{}).type||""};fV.prototype.qh=function(a){return((this.data.tags||{})[a]||{}).ad||""};fV.prototype.getAd=function(a,b){var c=(this.data.ads||{})[a];if(!c)return null;b=UT(c,b);if(!b)return null;b.la=this.getAdPodInfo(a);return b};fV.prototype.g=function(){for(var a=this.data.tags||{},b=u(Object.keys(a)),c=b.next();!c.done;c=b.next())if((a[c.value].type||"")==="progress")return!0;return!1}; var gV=function(a,b){a=a.Lf(b);if(!a)return!1;switch(a.toLowerCase()){case "progress":case "vastprogress":return!1;default:return!0}};fV.prototype.getAdPodInfo=function(a,b){b=CT.prototype.getAdPodInfo.call(this,a,b===void 0?0:b);a=this.Cb(a);var c=((this.data.breaks||{})[a]||{}).type||"";b.g=-2;switch(c){case "pre":b.g=0;break;case "mid":a=Number(a),isNaN(a)||(b.g=a)}return b};var hV=function(){fV.apply(this,arguments)};r(hV,fV);m=hV.prototype;m.Lf=function(a){return iV(this,a).type||""};m.qh=function(a){return iV(this,a).ad||""};m.Cb=function(a){return((this.data.ads||{})[a]||{}).ad_break_id||""};m.getTotalAds=function(a){return((this.data.ad_breaks||{})[a]||{}).ads||0};m.De=function(a){return((this.data.ad_breaks||{})[a]||{}).duration||0};m.pg=function(a){return((this.data.ad_breaks||{})[a]||{}).expected_duration||0}; m.rg=function(a){var b=this.data.ads||{},c=this.getAdPosition(a);a=this.Cb(a);for(var d=0,e=u(Object.keys(b)),f=e.next();!f.done;f=e.next()){f=b[f.value]||{};var g=f.position||Number.MAX_SAFE_INTEGER,h=f.duration||0;a===f.ad_break_id&&g>0&&g0}).sort(function(g,h){return g.position-h.position})};var iV=function(a,b){a=a.data.tags||{};for(var c=u(Object.keys(a)),d=c.next();!d.done;d=c.next())if(d=d.value,b.startsWith(d))return a[d];return{}};var jV=function(a){this.data=a=a===void 0?{}:a},kV=function(a){var b=a.data.polling_frequency;return isNaN(b)||b==null||b<0?10:a.data.polling_frequency},lV=function(a){return a.data.stream_id||""};jV.prototype.Ie=function(){return this.data.pod_manifest_url||""};jV.prototype.Je=function(){var a={};return a.pod_manifest_url=this.Ie(),a.manifestFormat=this.data.manifest_format||"",a.streamUrl=this.data.stream_manifest||"",a.subtitles=this.data.subtitles||[],a.streamId=lV(this),a}; var fU=function(a){return a.data.stream_type==="live"};var mV=function(){R.call(this);this.j=this.currentTime=0;this.g=!1};r(mV,R);mV.prototype.bb=function(a){this.currentTime=a;a=Math.abs(this.currentTime-this.j);this.g&&a>2.5&&(this.g=!1,this.dispatchEvent(new GR("adPeriodEnded")))};mV.prototype.reset=function(){this.j=this.currentTime=0;this.g=!1};function UU(a){var b=a.J,c={},d={};return d.skipTime=a.g,d.enableAttributionBar=a.j,d.enableCountdown=a.l,d.enableLearnMoreButton=a.o,d.enableTitleBar=a.A,d.enableYouTubeMetadata=a.H,d.gvnStyleAnnotation=a.F,d.wtaClickthroughUrl=a.C,d.icons=a.icons.map(function(e){var f={};return f.program=e.program,f.apiFramework=e.Z,f.widthPx=e.g,f.heightPx=e.j,f.pxRatio=e.D,f.xPosition=e.xPosition,f.yPosition=e.yPosition,f.offsetMs=e.Na,f.durationMs=e.qa,f.clickthroughUrl=e.o,f.attributionParams=e.F,f.staticResourceUrl= e.l,f.staticResourceMimeType=e.C,f.iconViewTrackingUrls=e.B,f.iconClickTrackingUrls=e.A,f}),d.hasClickthrough=a.G,d.gpidAttributionData=a.D?JSON.stringify(hg(a.D)):null,d.enigmaWatermarkData=b?(c.overlayPngBase64=b.Yd,c):null,d};var nV=Promise;var oV=function(a){this.j=a};oV.prototype.g=function(a,b,c){this.j.then(function(d){d.g(a,b,c)})};var pV=function(a){this.data=a};var qV=function(a){this.j=a};qV.prototype.g=function(a,b,c){c=c===void 0?[]:c;var d=new MessageChannel;rV(d.port1,b);this.j.postMessage(a,[d.port2].concat(c))};var sV=function(a,b){rV(a,b);return new qV(a)},rV=function(a,b){b&&(a.onmessage=function(c){b(new pV(c.data,sV(c.ports[0])))})};var tV=function(a){this.g=a},uV=function(a){var b=Object.create(null);(typeof a==="string"?[a]:a).forEach(function(c){if(c==="null")throw Error("Receiving from null origin not allowed without token verification. Please use NullOriginConnector.");b[c]=!0});return function(c){return b[c]===!0}};var wV=function(a){var b=a.destination;var c=a.Fb;var d=a.origin;var e=a.ue===void 0?"ZNWN1d":a.ue;var f=a.onMessage===void 0?void 0:a.onMessage;a=a.lf===void 0?void 0:a.lf;return vV({destination:b,Kd:function(){return c.contentWindow},el:d instanceof tV?d:typeof d==="function"?new tV(d):new tV(uV(d)),ue:e,onMessage:f,lf:a})},vV=function(a){var b=a.destination;var c=a.Kd;var d=a.el;var e=a.Bl===void 0?void 0:a.Bl;var f=a.ue;var g=a.onMessage===void 0?void 0:a.onMessage;var h=a.lf===void 0?void 0: a.lf;return new oV(new nV(function(k,l){var n=function(p){p.source&&p.source===c()&&d.g(p.origin)&&(p.data.n||p.data)===f&&(b.removeEventListener("message",n,!1),e&&p.data.t!==e?l(Error('Token mismatch while establishing channel "'+f+'". Expected '+e+", but received "+p.data.t+".")):(k(sV(p.ports[0],g)),h&&h(p)))};b.addEventListener("message",n,!1)}))};function xV(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 q=c.shift();if(typeof q=="undefined")throw Error("[goog.string.format] Not enough arguments");arguments[0]=q;return yV[l].apply(null,arguments)})} var yV={s:function(a,b,c){return isNaN(c)||c==""||a.length>=Number(c)?a:a=b.indexOf("-",0)>-1?a+ql(" ",Number(c)-a.length):ql(" ",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+ql(" ",a):f+ql(b.indexOf("0",0)>=0?"0":" ",a)+d},d:function(a,b,c,d,e,f,g,h){return yV.f(parseInt(a,10),b,c,d,0,f,g,h)}};yV.i=yV.d;yV.u=yV.d;var AV=function(a,b,c,d){R.call(this);this.j=d;b=(wl()?"https:":"http:")+xV(d.Jc?"//imasdk.googleapis.com/js/core/dai_ctv_iframe3.735.0_%s.html":"//imasdk.googleapis.com/js/core/dai_iframe3.735.0_%s.html",b);b=new Vs(b);b.g.add("origin",window.location.origin);this.g=b;this.Fb=vm("IFRAME",{src:this.g.toString(),allowFullscreen:!0,style:"height: 100%; border: 0; margin: 0; padding: 0;position: relative; width: 100%; color-scheme: light",title:"Advertisement"});a.appendChild(this.Fb);this.l=zV(this, this.Fb);a={experimentIds:Zp().sort().join(",")};b=Uv;var e=e===void 0?null:e;c={};e!=null&&(c.activeViewPushUpdates=e);c.activityMonitorMode=0;c.adsToken=b.g;c.autoPlayAdBreaks=b.F;c.companionBackfill=b.getCompanionBackfill();c.disableCustomPlaybackForIOS10Plus=b.getDisableCustomPlaybackForIOS10Plus();c.engagementDetection=!0;c.isFunctionalTest=!1;c.isVpaidAdapter=!1;c["1pJar"]="";c.numRedirects=b.getNumRedirects();c.pageCorrelator=-1;c.persistentStateCorrelator=Yn();c.playerType=b.getPlayerType(); c.playerVersion=b.getPlayerVersion();c.ppid=b.getPpid();c.privacyControls="";c.reportMediaRequests=!1;c.sessionId=b.B;c.streamCorrelator=-1;c.testingConfig=Tv(b).g;c.urlSignals=b.M;c.vpaidMode=b.l;c.featureFlags=b.getFeatureFlags();a.imaSdkSettings=c;a.topAccessiblePageUrl=Cx();e=Tl();b=Oq();c=H(b,Kq,1);d={};c=(d.experimentStateProto=c==null?void 0:JSON.stringify(hg(c)),d);a.genotypeExperimentData=c;a.pvsid=e;a.eventfeExperimentIds=th(b,2);a.managedJsExperimentId=oh(b,5);ON(this,"loaded",a);Pm(this.Fb, {display:"none"})};r(AV,R);var BV=function(a){var b=a.g.j;return b?a.g.o+"://"+b:window.location.origin},zV=function(a,b){return wV({destination:window,Fb:b,origin:BV(a),ue:"uiChannel",onMessage:function(c){var d=c.data.type;c=c.data.data;c=c===void 0?{}:c;switch(d){case "localeUpdated":case "videoClicked":case "click":case "pause":case "resume":case "skip":case "skipShown":case "updateGfpCookie":case "videoIconClicked":case "vastIconRendered":a.dispatchEvent(new aR(d,c))}}})}; AV.prototype.focus=function(){ON(this,"focus")};AV.prototype.pause=function(){ON(this,"pause")};AV.prototype.resume=function(){ON(this,"resume")};var ON=function(a,b,c){c=c===void 0?{}:c;var d={};d.type=b;d.data=c;a.l.g(d)};var CV=function(){},DV=function(a,b){a=new Vs(a);b.g&&Xs(a,"dai.google.com");return a},EV=function(a){var b=a.adTagParameters,c=new Map;if(b!=null)for(var d=u(Object.keys(b)),e=d.next();!e.done;e=d.next()){e=e.value;var f=b[e];f!=null&&c.set(e,f)}c.set("api-key",a.apiKey);c.set("auth-token",a.authToken);c.set("dai-sam-id",a.streamActivityMonitorId);a.g&&c.set("cld","1");return c};CV.prototype.Ch=function(){return null};CV.prototype.Bh=function(){return null};function FV(a,b,c){return a+"/"+b+"/vid/"+c+"/streams"}function GV(a,b){var c={},d={},e={};return e.url="https://videostitcher.googleapis.com/v1/projects/"+a.projectNumber+"/locations/"+a.region+"/liveSessions",e.content=Object.assign({},a.videoStitcherSessionOptions,(d.live_config="projects/"+a.projectNumber+"/locations/"+a.region+"/liveConfigs/"+a.liveStreamEventId,d.gam_settings=(c.stream_id=b,c),d)),e} function HV(a,b){var c={},d={},e={};return e.url="https://videostitcher.googleapis.com/v1/projects/"+a.projectNumber+"/locations/"+a.region+"/vodSessions",e.content=Object.assign({},a.videoStitcherSessionOptions,(d.ad_tag_uri=a.adTagUrl,d.source_uri=a.contentSourceUrl,d.ad_tracking="CLIENT",d.vod_config=a.vodConfigId?"projects/"+a.projectNumber+"/locations/"+a.region+"/vodConfigs/"+a.vodConfigId:"",d.gam_settings=(c.network_code=a.networkCode,c.stream_id=b,c),d)),e} function IV(a,b){b.forEach(function(c,d){D(c)||it(a,d,c)})};var JV=function(){};r(JV,CV);JV.prototype.Rc=function(a){return KV(a)&&a.format==="dash"};JV.prototype.yc=function(a,b){b=b===void 0?new Map:b;var c=DV(D(a.assetKey)?FV("https://pubads.g.doubleclick.net/ondemand/dash/content",a.contentSourceId,a.videoId):"https://pubads.g.doubleclick.net/ssai/event/"+a.assetKey+"/streams",a);a=EV(a);IV(c,a);IV(c,b);return c.toString()};var LV=function(){};r(LV,CV);LV.prototype.Rc=function(a){return KV(a)&&a.format!=="dash"};LV.prototype.yc=function(a,b){b=b===void 0?new Map:b;var c=DV(D(a.assetKey)?FV("https://pubads.g.doubleclick.net/ondemand/hls/content",a.contentSourceId,a.videoId):"https://pubads.g.doubleclick.net/ssai/event/"+a.assetKey+"/streams",a);a=EV(a);IV(c,a);IV(c,b);return c.toString()};var MV=function(){};r(MV,CV);MV.prototype.Rc=function(a){return mx(a)||NV(a)};MV.prototype.yc=function(a,b){b=b===void 0?new Map:b;var c=DV("https://pubads.g.doubleclick.net/ssai/pods/api/v1/network/"+a.networkCode+"/custom_asset/"+a.customAssetKey+"/stream",a),d=EV(a);IV(c,d);IV(c,b);it(c,"manifest-type",a.format);return c.toString()};var OV=function(){};r(OV,CV);OV.prototype.Rc=function(a){return PV(a)||QV(a)||RV(a)};OV.prototype.yc=function(a){return DV("https://pubads.g.doubleclick.net/ondemand/pods/api/v1/network/"+a.networkCode+"/stream_registration",a).toString()};OV.prototype.Ch=function(a){var b=Object.fromEntries(a);Object.keys(b).forEach(function(c){b[c]=String(b[c])});a={};return JSON.stringify((a.targeting_parameters=b,a))}; OV.prototype.Bh=function(){if(Uv.getFeatureFlags().daiPodVodNoPreflight){var a={};return a["Content-Type"]="text/plain",a}a={};return a["Content-Type"]="application/json",a};var SV=function(){};r(SV,CV);SV.prototype.Rc=function(a){return KV(a)&&a.o}; SV.prototype.yc=function(a,b){b=b===void 0?new Map:b;var c=new Vs(mx(a)?"https://truman-qa.sandbox.google.com/ssai/pods/api/v1/network/"+a.networkCode+"/custom_asset/"+a.customAssetKey+"/stream":D(a.assetKey)?a.format==="dash"?FV("https://truman-qa.sandbox.google.com/ondemand/dash/content",a.contentSourceId,a.videoId):FV("https://truman-qa.sandbox.google.com/ondemand/hls/content",a.contentSourceId,a.videoId):"https://truman-qa.sandbox.google.com/ssai/event/"+a.assetKey+"/streams"),d=EV(a);IV(c,d); IV(c,b);mx(a)&&!D(a.format)&&it(c,"manifest-type",a.format);return c.toString()};var TV=function(){};r(TV,CV);TV.prototype.Rc=function(){return!1};TV.prototype.yc=function(){return""};var UV=function(){this.g=[]},VV=function(a,b){a=u(a.g);for(var c=a.next();!c.done;c=a.next())if(c=c.value,c.Rc(b))return c;return new TV};var WV=function(){};r(WV,CV);WV.prototype.Rc=function(){return!1};WV.prototype.yc=function(a,b){b=b===void 0?new Map:b;var c="";D(a.assetKey)?XV(a)?c=a.contentSourceId:mx(a)&&(c=a.networkCode):c=a.assetKey;c=new Vs(c);a=EV(a);IV(c,a);IV(c,b);return c.toString()};var YV=function(){this.g=new UV},ZV=function(a,b){b&&a.g.g.push(b)}; YV.prototype.fetch=function(a,b,c){c=c===void 0?new Map:c;var d=new YI("Invalid stream initialization request.",2001);if(!KV(a))return Promise.reject(d);var e=VV(this.g,a),f=e.yc(a,c);b.Kc==="tvos"&&f.startsWith("https://pubads.g.doubleclick.net")&&Vp(tq)&&(f=f.replace("https://pubads.g.doubleclick.net/","https://pubads-att.g.doubleclick.net/"));var g=e.Bh();c=e.Ch(c);if(D(f))return Promise.reject(d);var h=Date.now();return Nu({headers:g!=null?g:void 0,url:f,timeout:new Nt($V(a)),withCredentials:!a.g, content:c!=null?c:void 0}).then(function(k){var l=b.oa;var n=new Jn;n=zh(n,1,h);n=zh(n,2,Date.now());ih(l,14,n);l=new jV(k);if(l.data.stream_id==null)throw new YI("Stream initialization response was invalid.\nResponse: "+JSON.stringify(k),2002);return l}).catch(function(k){var l=new YI("Stream initialization failed",2002);k instanceof YI?l=k:k instanceof Rt?l=aW(a,f,k.Ak):k instanceof Error&&(k=Number(k.message),k=isNaN(k)?500:Math.floor(k),l=aW(a,f,k));throw l;})}; var aW=function(a,b,c){var d=2002,e="Stream initialization failed because\nHTTP status code: ";c===404?(d=2002,D(a.assetKey)?XV(a)&&(e="Stream initialization failed because either: \n1. Content source ID or video ID was incorrect. \n2. The stream is inactive.\nHTTP status code: "):e="Stream initialization failed because either: \n1. Asset key was incorrect.\n2. The stream is inactive.\nHTTP status code: "):c===401||c===403?(d=2004,e="Stream initialization failed because: \nAPI key was incorrect. Access unauthorized\nHTTP status code: "): c===408&&(d=2003,e="Stream initialization failed because: \nRequest timed out\nHTTP status code: ");return new YI(e+(c+" with URL: "+b),d)};var bW=function(){this.adTagParameters=null;this.customAssetKey=this.contentSourceUrl=this.contentSourceId=this.authToken=this.assetKey=this.apiKey="";this.g=this.j=!1;this.streamActivityMonitorId=this.networkCode="";this.o=!1;this.videoId="";this.omidAccessModeRules={};this.vodConfigId=this.adTagUrl=this.oAuthToken=this.projectNumber=this.region=this.liveStreamEventId="";this.enableNonce=!1;this.videoStitcherSessionOptions=this.l=null;this.ui={custom:null};this.format="hls"},$V=function(a){if(!a.adTagParameters)return 8E3; a=a.adTagParameters["dai-apto"];isFinite(a)&&(a=String(a));a=typeof a==="string"?/^\s*-?0x/i.test(a)?parseInt(a,16):parseInt(a,10):NaN;return isNaN(a)?8E3:a+4E3},KV=function(a){return!D(a.assetKey)||XV(a)||mx(a)||PV(a)||QV(a)||RV(a)||NV(a)},mx=function(a){return!D(a.networkCode)&&!D(a.customAssetKey)},PV=function(a){return!D(a.networkCode)&&!mx(a)&&!(QV(a)||RV(a))&&!NV(a)&&!!D(a.assetKey)&&!XV(a)},NV=function(a){return mx(a)&&!D(a.liveStreamEventId)&&!D(a.region)&&!D(a.projectNumber)&&!D(a.oAuthToken)}, QV=function(a){return!D(a.vodConfigId)&&!D(a.region)&&!D(a.projectNumber)&&!D(a.oAuthToken)&&!D(a.networkCode)},RV=function(a){return D(a.vodConfigId)&&!D(a.networkCode)&&!D(a.region)&&!D(a.projectNumber)&&!D(a.oAuthToken)&&!D(a.adTagUrl)&&!D(a.contentSourceUrl)},XV=function(a){return!D(a.contentSourceId)&&!D(a.videoId)};function cW(a){var b="";a.forEach(function(c,d){D(c)||(c=encodeURIComponent(c),b+=d+"="+c+"&")});return b.slice(0,-1)};function dW(a,b,c){c=c.H;var d=null;try{d=(new URL(decodeURIComponent(b))).hostname}catch(e){}d!==c&&a.set("cdm",c)};function eW(a,b,c,d){d=d===void 0?!1:d;var e,f,g;return z(function(h){if(h.g==1){var k,l=e=new Map(Object.entries((k=a.adTagParameters)!=null?k:{})),n=c.fa,p=hx(c)||"",q=c.Lc||"",v=q?"ima-"+q:"",t=new Map;if(d===void 0?0:d)t.set("ott_placement","1"),t.set("nofb","1"),t.set("vad_type","nonlinear");t.set("ctv",String(qx(c)));t.set("mv",c.N==null?"":c.N+"."+c.za);t.set("ms",c.Ra||"");t.set("js",v);t.set("correlator",jx.toString());t.set("mpt",l.get("mpt")||Uv.getPlayerType()||"");t.set("mpv",l.get("mpv")|| Uv.getPlayerVersion()||"");t.set("ptt",(20).toString());var x=rl(Uv.getPpid());D(x)||t.set("ppid",x);if(kx()){var A=t.set,P=String,X=2,da=T&&Wz(T).ab?!1:mz(oz().j);!ox(c)&&da&&(X|=2048);A.call(t,"osd",P(X))}t.set("sdr","1");var fa=t.set;var ca=a.j;if(a.ui.custom){var ec=1;nx(a,c)&&(ec+=2147483648);c.Jc||ox(c)||(ec+=1024);var Ic=ec.toString(16)}else{var fc=1;ca?fc=fc+4+1024:nx(a,c)&&(fc+=2147483648);!ox(c)&&(fc+=64);c.Jh&&(fc+=4294967296);Ic=fc.toString(16)}fa.call(t,"sdki",Ic);t.set("sdkv",p);c.Tc&& t.set("uach",c.Tc);t.set("ua",Nb());c.appName!=null&&(t.set("an",c.appName),(c.Kc==="android"||c.Jc)&&t.set("msid",c.appName));var Za,Ca=hv((Za=l.get("eid"))!=null?Za:"");D(Ca)||t.set("eid",Ca);t.set("frm",String(c.D));c.cd!=null&&t.set("submodel",c.cd);if(lx(c)){var tc;var ve="Google1/"+((tc=c.Lc)!=null?tc:"h.3.735.0")}else ve=null;var we=ve;we!=null&&t.set("omid_p",we);var Da=a.j,xe=!!a.ui.custom;Da=Da===void 0?!0:Da;xe=xe===void 0?!1:xe;var uc=[];!c.ha&&Uv.l!==0&&uc.push("2");lx(c)&&uc.push("7"); !c.Od&&ox(c)||!Da||xe||uc.push("8");uc.length>0&&t.set("sdk_apis",uc.join(","));l.get("sid")||t.set("sid",c.gl);var Ig=c.W;Ig==null||Mw(n)||t.set("adsid",Ig);var Bb;if(Mw(c.fa))var ye=null;else{var Id=Nw(c.fa),Cb=new Map;BP(56,"",null);for(var Af=new HP([]),ze=Array,Ae=ze.from,Jg=Set,Be=[],Kg=RegExp("^_GESPSK-(.+)$"),zi=tP(Id),Bf,hc=0;hc<((Bf=zi)!=null?Bf:0);hc++){var Jd=vP(hc,Id);if(Jd!==null){var Ce=(Kg.exec(Jd)||[])[1];Ce&&Be.push(Ce)}}for(var Kd=new Jg(Be),Ld=u([]),De=Ld.next();!De.done;De=Ld.next())for(var Cf= u(LP(Af,De.value)),vc=Cf.next();!vc.done;vc=Cf.next())Kd.add(vc.value);for(var Ai=Ae.call(ze,Kd),Tk=u(Ai),Uk=Tk.next(),bd={};!Uk.done;bd={zc:void 0},Uk=Tk.next()){bd.zc=Uk.value;var Vk=void 0;if((Vk=Cb.get(bd.zc))==null||Gf(Ag(Vk,2))==null){var Bi=void 0,Wk=void 0,cd=FP().get(bd.zc,Id,MP(bd.zc,(Wk=(Bi=void 0)==null?void 0:Bi.split(","))!=null?Wk:[],Af)).X;if(cd){var Xk=GP(cd);if(Xk!==2&&Xk!==3){Cg(cd,9,ef(!1));var Ci=vh(cd,2);if(Ci&&Ci.length>1024){var Yk={};BP(55,bd.zc,null,(Yk.sl=String(Ci.length), Yk));var pp=cd.Ka(aF(108));Cg(pp,2)}Cb.set(bd.zc,cd);var Ee=vh(cd,2),Zk=void 0,$k=void 0,Di={};BP(19,bd.zc,null,(Di.hs=Ee?"1":"0",Di.sl=String(($k=(Zk=Ee)==null?void 0:Zk.length)!=null?$k:-1),Di))}}}}for(var Df=new iF,Fe=u(Cb),Ei=Fe.next();!Ei.done;Ei=Fe.next()){var Fi=u(Ei.value);Fi.next();var lv=Fi.next().value,Gi=Df,Ef=lv,al=cF;vg(Gi);var Lg=Gi.I,Ge=fh(Gi,Lg,Lg[F]|0,al,2,2,!0);Ef=Ef!=null?Ef:new al;Ge.push(Ef);var He=Ge===Gd?7:Ge[F]|0,mv=He,Md=Wd(Ef);Md?(He&=-9,Ge.length===1&&(He&=-4097)):He|= 4096;He!==mv&&Pd(Ge,He);Md||wg(Lg)}if(gh(Df,cF,2,Dg()).length){var qp={};BP(50,"",null,(qp.ns=String(gh(Df,cF,2,Dg()).length),qp));var nv=Df.j();ye=Uc(nv,3)}else ye=null}(Bb=ye)&&t.set("a3p",Bb);var ov=c.ie||{},rp=a.l;rp&&t.set("scar",rp);t.set("ssss","gima");var pv=Map,sp=[],tp=sp.concat,up=w(t),vp=w(ov),wp=w(fW(a,c));var Db=new Map;c.R?Db.set("attmas",c.R):c.o!=null&&Db.set("is_lat",c.o?"1":"0");if(!Mw(c.fa)){var Nd=c.deviceId,Ie=c.fa;if(Ie.j){var bl=Gw(Ie,"tfcd");var Hi=bl==="0"||bl==="false"? (0).toString():Dw(bl)?(1).toString():""}else Hi="";var Ii;if(!(Ii=Hi===(1).toString())){if(Ie.j){var Ji=Gw(Ie,"tfua");var cl=Ji==="0"||Ji==="false"?(0).toString():Dw(Ji)?(1).toString():""}else cl="";Ii=cl===(1).toString()}var dl=Ii;var Ki=Nd&&Nd!=="00000000-0000-0000-0000-000000000000"&&!dl,xp=c.l==="dpid";c.l&&Db.set("idtype",c.l);!Nd||xp||dl||Db.set("rdid",Nd);var Li=c.Tb;if(Li&&!Ki){Db.set("paid",Li);var Mg=c.da;if(Mg){var Mi=new zx;xx(Mi,qb(Mg));var Je=rb(yx(Mi)).substring(0,32).toUpperCase(); var el=Je.length===32?[Je.substring(0,8),Je.substring(8,12),Je.substring(12,16),Je.substring(16,20),Je.substring(20)].join("-"):void 0;el&&Db.set("vid1",el)}var Ng=c.wd,yp=!c.xd;if(Ng&&(Db.set("paid2",Ng),Db.set("paopt",yp?"1":"0"),Mg)){var Ni=new zx;xx(Ni,qb(Mg));var Ke=rb(yx(Ni)).substring(32).toUpperCase();var fl=Ke.length===32?[Ke.substring(0,8),Ke.substring(8,12),Ke.substring(12,16),Ke.substring(16,20),Ke.substring(20)].join("-"):void 0;fl&&Db.set("vid2",fl)}}var zp=c.Y,dd=c.ga;zp&&dd&&!Ki&& (Db.set("pvid",zp),Db.set("pvid_s",""+dd))}var ed=w(Db),Ap=new Map;if(a instanceof fv)var Bp=!0;else{var Cp;Bp=a.j||!((Cp=a.ui.custom)==null||!Cp.aboutThisAdSupport)}px(Bp,c)||Ap.set("wta","0");var ic=c.fa,Eb=new Map,qv=Eb.set;if(ic.j){var rv=Gw(ic,"rdp");var gl=Dw(rv)?"1":""}else gl="";qv.call(Eb,"rdp",gl);Eb.set("us_privacy",Hw(ic));var Dp=Eb.set,Ep=Gw(ic,"npa"),Fp=Dw(Ep);Dp.call(Eb,"npa",ic.j&&Fp?"1":"");Eb.set("gdpr",Iw(ic));Eb.set("gdpr_consent",Jw(ic));var hl=Eb.set,Le=Gw(ic,"addtl_consent"); hl.call(Eb,"addtl_consent",ic.g.j||Le||"");Eb.set("gpp",ic.g.gppString);Eb.set("gpp_sid",ic.g.o);Eb.set("ltd",Kw(ic)?"1":"");Ew(Eb);var tv=Map,Oi=[],Gp=Oi.concat,Hp=w(Ap);var Og=new Map;Mw(c.fa)||(D(Uv.g)||Og.set("adsid",Uv.g),D("")||Og.set("pucrd",""),D("")||Og.set("jar",""));var Ip=new tv(Gp.call(Oi,Hp,w(Og),w(Eb)));var il=w(Ip),jl;var kl=(jl=fW(a,c).get("url"))!=null?jl:"",Pi=Vp(oq),Od=new Map;if(c.J&&!Mw(c.fa)){var Qi=c.j,ll=Qi!=null&&YO(Qi);ll&&Od.set("cookie",Qi);var ml=c.B,Ri=ml!=null&&YO(ml); Pi&&Ri&&Od.set("gpic",ml);if(!ll||Pi&&!Ri)Od.set("cookie_enabled","1"),dW(Od,kl,c);var nl=c.C,wZ=nl!=null&&YO(nl);Pi&&wZ&&Od.set("pdopt",nl)}var xZ=w(Od),NJ,yZ=(NJ=fW(a,c).get("url"))!=null?NJ:"",Dq=new Map,Vw=c.A;Vw!=null&&YO(Vw)?Dq.set("eo_id_str",Vw):c.G&&(Dq.set("eoidce","1"),dW(Dq,yZ,c));f=new pv(tp.call(sp,up,vp,wp,ed,il,xZ,w(Dq)));var zZ=e.get("ctv",""),OJ={};Px.getInstance().report(197,(OJ.pctv=zZ,OJ));return y(h,gW(a,f,b,c),2)}g=h.j;return h.return(new Map([].concat(w(e),w(g),w(f))))})} function gW(a,b,c,d){var e,f,g,h;return z(function(k){switch(k.g){case 1:e=new Map;f=uv;e.set(f.Mi,a.apiKey);e.set(f.Ri,a.authToken);e.set(f.Cj,a.streamActivityMonitorId);nx(a,d)&&e.set(f.Dj,"1");if(!a.enableNonce){k.g=2;break}k.l=3;g=cW(b);return y(k,c.encrypt(g),5);case 5:h=k.j;e.set(f.gj,h);ya(k,2);break;case 3:za(k);case 2:return k.return(e)}})} function fW(a,b){var c=a.adTagParameters||{},d;a=(d=c.page_url)!=null?d:"";var e;d=(e=c.description_url)!=null?e:"";e=xt(a)?a:d;e=new Vs(e);d=new Vs(b.F);c=new Vs(b.g);var f="unknown";jt(c,d)?f="flat":jt(e,d)?f="bottom":jt(e,c)&&(f="top");Px.getInstance().report(160,{contentLocation:f});e=new Map;d=b.referrer;D(rl(d))||e.set("ref",d);if(xt(a)){e.set("url",a);var g;e.set("top",(g=b.g)!=null?g:"");e.set("loc",b.F)}else g=e.set,b=b.g&&xt(b.g)?b.g:b.referrer&&xt(b.referrer)?b.referrer:"null",g.call(e, "url",b);return e}function hW(a,b,c){var d=d===void 0?!1:d;var e,f;return z(function(g){if(g.g==1)return y(g,eW(a,b,c,d),2);e=g.j;f=new Vs;e.forEach(function(h,k){D(h)||it(f,k,h)});return g.return(f.g.toString())})};function iW(){this.g=[];this.j=[]}m=iW.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 pc(this.g,a)||pc(this.j,a)};m.remove=function(a){var b=this.g;var c=$b(b,a);c>=0?(rc(b,c),b=!0):b=!1;return b||qc(this.j,a)};m.gd=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;c3E5?c=y(c,GW(a),3):(c.g=2,c=void 0),c;c.g!=2&&(a.signal=c.j,a.g=Date.now());return c.return(a.signal)})},GW=function(a){return Promise.race([FW(a).then(function(b){if(b== null)return null;a.signal=b.length>1E4?"0":b;a.g=Date.now();return a.signal}),zy(a.timeoutMs,"0")])};/* Copyright 2020 Google LLC SPDX-License-Identifier: Apache-2.0 */ var W=function(a){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);Object.setPrototypeOf(this,W.prototype)};r(W,Error);W.prototype.name="SecurityException";var IW=function(a){this.I=G(a)};r(IW,J);var JW=function(a){this.I=G(a)};r(JW,J);JW.prototype.getVersion=function(){return ph(this,1)};var KW=function(a){this.I=G(a)};r(KW,J);var LW=function(a){this.I=G(a)};r(LW,J);LW.prototype.getVersion=function(){return ph(this,1)};var MW=function(a){this.I=G(a)};r(MW,J);MW.prototype.getVersion=function(){return ph(this,1)};var NW=[0,Oj];var OW=[0,Rj,Oj];var PW=Sj(MW,[0,Oj,[0,Oj,NW,Mj],[0,Oj,OW,Mj]]);var QW=function(a){this.I=G(a)};r(QW,J);var RW=function(a){this.I=G(a)};r(RW,J);RW.prototype.getVersion=function(){return ph(this,3)};var SW=function(a){this.I=G(a)};r(SW,J);var TW=Sj(SW,[0,[0,NW,Oj],[0,OW,Oj,-1]]);var UW=function(a){this.I=G(a)};r(UW,J);UW.prototype.getVersion=function(){return ph(this,1)};var VW=Sj(UW,[0,Oj,1,Mj]);var WW=function(a){this.I=G(a)};r(WW,J);WW.prototype.getVersion=function(){return ph(this,3)};var XW=Sj(WW,[0,1,Oj,-1]);var YW=function(a){this.I=G(a)};r(YW,J);YW.prototype.getValue=function(){return Sg(this,2)};var ZW=function(a){this.I=G(a)};r(ZW,J);var $W=[0,1,[0,Ij,Mj,Rj]];var aX=function(a){this.I=G(a)};r(aX,J);var bX=[0,Rj,-1,8,Mj];var cX=function(a){this.I=G(a)};r(cX,J);var dX=[0,bX,$W,Rj];var eX=function(a){this.I=G(a)};r(eX,J);var fX=Sj(eX,[0,dX]);var gX=function(a){this.I=G(a)};r(gX,J);gX.prototype.getVersion=function(){return ph(this,1)};var hX=[0,Oj,dX,Mj,-1];var iX=function(a){this.I=G(a)};r(iX,J);iX.prototype.getVersion=function(){return ph(this,1)};var jX=Sj(iX,[0,Oj,hX,Mj]);var kX=Sj(gX,hX);var lX=function(a){this.I=G(a)};r(lX,J);lX.prototype.Ec=function(){return I(this,3)};var mX=[0,Rj,-2];var nX=function(a){this.I=G(a)};r(nX,J);var oX=[0,mX];nX.prototype.j=Tj(oX);var pX=Sj(nX,oX);var qX=function(a){this.I=G(a)};r(qX,J);qX.prototype.getVersion=function(){return ph(this,1)};var rX=[0,Oj,mX,Mj];var sX=function(a){this.I=G(a)};r(sX,J);sX.prototype.getVersion=function(){return ph(this,1)};var tX=Sj(sX,[0,Oj,rX,Mj]);var uX=Sj(qX,rX);var vX=function(a){this.I=G(a)};r(vX,J);vX.prototype.getValue=function(){return Sg(this,2)};var wX=[0,Ij,Mj,Rj];var xX=function(a){this.I=G(a)};r(xX,J);var yX=[0,wX,Rj,Oj,Rj];var zX=function(a){this.I=G(a)};r(zX,J);var AX=function(a){return gh(a,xX,2,Dg())};var BX=Sj(zX,[0,Oj,Kj,yX]);var CX=function(a){this.g=a};CX.prototype.read=function(){try{var a=BX(this.g)}catch(b){throw new W("Could not parse the given serialized proto as a keyset proto.");}if(AX(a).length===0)throw new W("Could not parse the given serialized proto as a keyset proto.");return a};var Y=function(a){a=Error.call(this,a);this.message=a.message;"stack"in a&&(this.stack=a.stack);Object.setPrototypeOf(this,Y.prototype)};r(Y,Error);Y.prototype.name="InvalidArgumentsException";var DX=function(a,b){b=[b];var c=b.concat;if(!Number.isInteger(a)||a<0||a>=4294967296)throw new Y("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)},EX=new Uint8Array(0);var FX=function(a,b,c){this.l=a;this.g=b;this.j=c};FX.prototype.Ya=function(){return this.l};var GX=function(a){this.l=a;this.j=null;this.g=new Map};GX.prototype.Ba=function(){return this.l};var IX=function(a,b){return(a=HX(a,b))?a:[]},HX=function(a,b){b instanceof Uint8Array&&(b=[].concat(w(b)).toString());return a.g.get(b)};/* Copyright 2022 Google LLC SPDX-License-Identifier: Apache-2.0 */ function JX(a){return a==null?void 0:new Uint8Array(od(a)||0)}function KX(a){a==null?a=void 0:a=(a=od(a))?a.length:0;return a};function LX(){for(var a=0,b=0;bNumber.MAX_SAFE_INTEGER)throw new Y("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 NX(a){for(var b="",c=0;c1?d:"0"+d}return b} function OX(a){a=a.replace(/-/g,"+").replace(/_/g,"/");return PX(globalThis.atob(a))}function QX(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 Y("x must be provided");if(d===void 0)throw new Y("y must be provided");c=OX(b);b=OX(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]=VX(BigInt("0x"+NX(b)),0)?3:2;return d;default:throw new W("invalid format");}} function WX(a){switch(a){case 1:return BigInt("115792089210356248762697446949407573530086143415290314195533631308867097853951");case 2:return BigInt("39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112319");case 3:return BigInt("6864797660130609714981900799081393217269435300143305409394463459185543183397656052122559640661454554977296311391480858037121987999716643812574028291115057151");default:throw new Y("invalid curve");}} function XX(a){a=a.toString(16);a=a.length%2===0?a:"0"+a;if(a.length%2!=0)throw new Y("Hex string length must be multiple of 2");for(var b=new Uint8Array(a.length/2),c=0;c=d)throw new W("x is out of range");d=WX(SX(a));var e=d-BigInt(3);a:switch(SX(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 Y("invalid curve");}if(d<=BigInt(0))throw new Y("p must be positive");e=((c*c+e)*c+f)%d%d;if(VX(d,0)&&VX(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 W("Version is out of bound, must be between 0 and "+b+".");};var wY=function(a,b){this.key=a;this.ec=b};wY.prototype.encrypt=function(a){var b=this,c,d,e,f;return z(function(g){if(g.g==1)return uY(a),c=oY(b.ec),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(LX(c,new Uint8Array(f)))})}; wY.prototype.decrypt=function(a){var b=this,c,d,e;return z(function(f){if(f.g==1){uY(a);if(a.length16)throw new W("invalid IV length, must be at least 12 and at most 16");uY(a);tY(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 wY(c,b))})};var yY=function(){};var zY=function(a,b,c){this.hash=a;this.key=b;this.rc=c};r(zY,yY);var AY=function(a,b){var c;return z(function(d){if(d.g==1)return uY(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.rc)))})},BY=function(a,b,c){var d;return z(function(e){if(e.g==1)return uY(b),uY(c),y(e,AY(a,c),2);d=e.j;if(b.length!==d.length)var f=!1;else{for(var g=f=0;g20)throw new Y("tag too long, must not be larger than 20 bytes");break;case "SHA-256":if(c>32)throw new Y("tag too long, must not be larger than 32 bytes");break;case "SHA-384":if(c>48)throw new Y("tag too long, must not be larger than 48 bytes");break; case "SHA-512":if(c>64)throw new Y("tag too long, must not be larger than 64 bytes");break;default:throw new Y(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 zY(a,d,c))})};var DY=function(a,b,c,d){this.g=a;this.ec=b;this.j=c;this.rc=d};r(DY,rY);DY.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 uY(a),y(g,c.g.encrypt(a),2);if(g.g!=3)return d=g.j,uY(b),e=MX(b.length*8),y(g,AY(c.j,LX(b,d,e)),3);f=g.j;if(c.rc!=f.length)throw new W("invalid tag size, expected "+c.rc+" but got "+f.length);return g.return(LX(d,f))})}; DY.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){uY(a);if(a.length16)throw new W("Invalid AES CTR HMAC key format: IV size is out of range: "+c);return{Kj:a,ke:b,ec:c}},HY=function(a){if(!a)throw new W("Invalid AES CTR HMAC key format: key format undefined");var b=ph(a,2);if(b<16)throw new W("Invalid AES CTR HMAC key format: HMAC key is too small: "+ ph(a,2));a=H(a,KW,1);if(!a)throw new W("Invalid AES CTR HMAC key format: params undefined");var c=ph(a,2);if(c<10)throw new W("Invalid HMAC params: tag size "+c+" is too small.");if(!IY.has(I(a,1)))throw new W("Unknown hash type.");if(c>IY.get(I(a,1)))throw new W("Invalid HMAC params: tag size "+c+" is out of range.");switch(I(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{zk:a,yk:b,xk:d,rc:c}},IY=new Map([[1,20],[3,32],[4,64]]), JY=function(){this.g=new FY};m=JY.prototype; m.Ya=function(a,b){var c,d,e,f,g,h=this,k,l,n,p,q,v;return z(function(t){if(t.g==1){if(a!=h.Ba())throw new W("Requested primitive type which is not supported by this key manager.");if(b instanceof vX){if(!h.dd(sh(b,1)))throw new W("Key type "+sh(b,1)+" is not supported. This key manager supports "+h.Fa()+".");try{k=PW(b.getValue())}catch(X){throw new W("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 W("Could not parse the key in key data as a serialized proto of type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"); }else if(b instanceof MW)k=b;else throw new W("Given key type is not supported. This key manager supports "+h.Fa()+".");var x=H(k,JW,2);if(!x)throw new W("Invalid AES CTR HMAC key format: key undefined");vY(x.getVersion(),h.getVersion());var A=new QW;var P=H(x,IW,2);A=ih(A,1,P);P=KX(Sg(x,3));A=xh(A,2,P);A=GY(A).ec;f=JX(Sg(x,3));g=A;l=f;n=g;x=H(k,LW,3);if(!x)throw new W("Invalid AES CTR HMAC key format: key undefined");vY(x.getVersion(),h.getVersion());A=new RW;P=H(x,KW,2);A=ih(A,1,P);P=KX(Sg(x,3)); A=xh(A,2,P);P=HY(A);A=P.xk;P=P.rc;c=JX(Sg(x,3));d=A;e=P;p=c;q=d;v=e;return y(t,EY(l,n,q,p,v),2)}return t.return(t.j)})};m.dd=function(a){return a===this.Fa()};m.Fa=function(){return"type.googleapis.com/google.crypto.tink.AesCtrHmacAeadKey"};m.Ba=function(){return rY};m.getVersion=function(){return 0};m.fd=function(){return this.g};var KY=function(a){var b=a.key;a=a.Ob;this.key=b;this.Ob=a};KY.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 W("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.Ob?LX(a,new Uint8Array(f)):new Uint8Array(f))})}; KY.prototype.decrypt=function(a,b,c){var d=this,e,f,g,h,k;return z(function(l){if(l.g==1){e=d.Ob?28:16;if(b.length5)){k.g=2;break}d=a.subarray(0,5);return y(k,IX(c.g,d),3);case 3:return e=k.j,f=a.subarray(5,a.length),k.l=4,y(k,SY(e,f,b),6);case 6:g=k.j;ya(k,5);break;case 4:za(k);case 5:if(g)return k.return(g);case 2:return y(k,IX(c.g,EX),7);case 7:return h=k.j,k.return(SY(h,a,b))}})}; var SY=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 Y("size too large");break;case "SHA-256":f=32;if(a>8160)throw new Y("size too large");break;case "SHA-512":f=64;if(a>16320)throw new Y("size too large");break;default:throw new Y(b+" is not supported");}uY(c);uY(d);g=e;if(e==null||g===void 0||g.length==0)g=new Uint8Array(f); uY(g);return y(t,CY(b,g,f),2);case 2:return h=t.j,y(t,AY(h,c),3);case 3:return k=t.j,y(t,CY(b,k,f),4);case 4:h=t.j,l=1,n=0,p=new Uint8Array(0),q=new Uint8Array(a);case 5:return v=new Uint8Array(p.length+d.length+1),v.set(p,0),v.set(d,p.length),v[v.length-1]=l,y(t,AY(h,v),8);case 8:p=t.j;if(n+p.length>8*(a-d-1)&255;return c}function CZ(a){var b=a.bc;var c=a.ac;return LX(BZ,a.Pa,PX(b),c)}function DZ(a){var b=a.Fc;var c=a.info;var d=a.Pa;return LX(nZ(2,a.length),BZ,d,PX(b),c)}function EZ(a){switch(a){case 2:return 1;case 4:return 3;default:throw new Y("Unrecognized NIST HPKE KEM identifier");}} function FZ(a,b){var c;return z(function(d){return d.g==1?(c=YX(a,1,b),y(d,bY(c),2)):d.return(d.j)})}function GZ(a){var b=a.dg;var c=a.publicKey;var d=a.privateKey;var e;return z(function(f){return f.g==1?(e=YX(b,1,c),e.d=QX(d),y(f,cY(e),2)):f.return(f.j)})}function HZ(a){var b,c;return z(function(d){if(d.g==1)return b=a.algorithm,y(d,aY(a),2);c=d.j;if(!c.crv)throw new W("Curve has to be defined.");return d.return(TX(b.namedCurve,1,c))})};var IZ=function(a,b,c,d){this.kg=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 Y("Both byte arrays should be of the same length");d=new Uint8Array(b.length);for(var e=0;e=a.o)throw new W("message limit reached");a.g+=BigInt(1);return d}; function KZ(a,b,c,d,e,f){var g,h,k,l,n,p,q,v,t;return z(function(x){switch(x.g){case 1:a:{switch(e.Pe){case 16:var A=tZ;break a;case 32:A=uZ;break a}A=void 0}a:{switch(d.Ke){case "SHA-256":var P=rZ;break a;case "SHA-512":P=sZ;break a}P=void 0}g=LX(AZ,LZ(c),P,A);h=MZ(d,{ac:new Uint8Array(0),bc:"psk_id_hash",Pa:g});return y(x,MZ(d,{ac:f,bc:"info_hash",Pa:g}),2);case 2:return k=x.j,y(x,h,3);case 3:return l=x.j,n=LX(oZ,l,k),y(x,MZ(d,{ac:new Uint8Array(0),bc:"secret",Pa:g,salt:b}),4);case 4:return p=x.j, q=NZ(d,{gi:p,info:n,Fc:"key",Pa:g,length:e.Pe}),y(x,NZ(d,{gi:p,info:n,Fc:"base_nonce",Pa:g,length:12}),5);case 5:return v=x.j,y(x,q,6);case 6:return t=x.j,x.return(new IZ(a,t,v,e))}})}function OZ(a,b,c,d,e){var f,g,h;return z(function(k){return k.g==1?y(k,b.jg(a),2):k.g!=3?(f=k.j,g=f.kg,h=f.ul,y(k,KZ(g,h,b,c,d,e),3)):k.return(k.j)})}function PZ(a,b,c,d,e,f){var g;return z(function(h){return h.g==1?y(h,c.eg(a,b),2):h.g!=3?(g=h.j,y(h,KZ(a,g,c,d,e,f),3)):h.return(h.j)})};var QZ=function(a,b){this.privateKey=a;this.publicKey=b},RZ=function(a){return z(function(b){return b.g==1?y(b,HZ(a.publicKey),2):b.return(b.j)})};function SZ(a){var b=a.privateKey;var c=a.publicKey;var d=a.dg;var e,f;return z(function(g){if(g.g==1){if(!b)throw new Y("KEM private key was null or undefined");if(!c)throw new Y("KEM public key was null or undefined");return y(g,FZ(RX(d),c),2)}if(g.g!=3)return e=g.j,y(g,GZ({dg:RX(d),publicKey:c,privateKey:b}),3);f=g.j;return g.return(new QZ(f,e))})} function TZ(a){return z(function(b){UZ(a.privateKey,"private");UZ(a.publicKey,"public");return b.return(new QZ(a.privateKey,a.publicKey))})}function UZ(a,b){if(b!==a.type)throw new Y("keyPair "+b+" key was of type "+a.type);a=a.algorithm;if("ECDH"!==a.name)throw new Y("keyPair "+b+" key should be ECDH but found "+a.name);};var VZ=function(a){this.Pe=a};VZ.prototype.seal=function(a){var b=a.key;var c=a.nonce;var d=a.il;var e=a.Qf;var f=this,g;return z(function(h){if(h.g==1){if(b.length!==f.Pe)throw new W("Unexpected key length: "+b.length.toString());return y(h,LY({key:b,Ob:!1}),2)}return h.g!=3?(g=h.j,y(h,g.encrypt(c,d,e),3)):h.return(h.j)})}; VZ.prototype.open=function(a){var b=a.key;var c=a.nonce;var d=a.Sj;var e=a.Qf;var f=this,g;return z(function(h){if(h.g==1){if(b.length!==f.Pe)throw new W("Unexpected key length: "+b.length.toString());return y(h,LY({key:b,Ob:!1}),2)}g=h.j;return h.return(g.decrypt(c,d,e))})};var WZ=function(a){this.Ke=a},MZ=function(a,b){var c=b.ac;var d=b.bc;var e=b.Pa;var f=b.salt;return z(function(g){return g.g==1?y(g,XZ(a,CZ({bc:d,ac:c,Pa:e}),f),2):g.return(g.j)})},NZ=function(a,b){var c=b.gi;var d=b.info;var e=b.Fc;var f=b.Pa;var g=b.length;return z(function(h){return h.g==1?y(h,a.expand(c,DZ({Fc:e,info:d,Pa:f,length:g}),g),2):h.return(h.j)})},YZ=function(a,b){var c=b.ac;var d=b.bc;var e=b.info;var f=b.Fc;var g=b.Pa;var h=b.length;var k=b.salt;var l;return z(function(n){return n.g== 1?y(n,XZ(a,CZ({bc:d,ac:c,Pa:g}),k),2):n.g!=3?(l=n.j,y(n,a.expand(l,DZ({Fc:f,info:e,Pa:g,length:h}),h),3)):n.return(n.j)})}; WZ.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 W("length must be an integer");if(c<=0)throw new W("length must be positive");e=ZZ(d);if(c>255*e)throw new W("length too large");uY(b);return y(p,CY(d.Ke,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,AY(f,n),6);case 6:k=p.j;if(h+k.length element. Viewability/audibility measurement will fail.");this.l=this.g=null;this.A=!1;this.H=this.J=null;this.D=new uu(this);Vt(this,this.D);d={};var e=!0;d=d===void 0?{}:d;e=e===void 0?!1:e;var f=gx.getInstance(),g=Yv(d.env),h=d.videoEnvironment|| {};d.quicksilverSignals&&(f.Fl=In(d.quicksilverSignals));d.daiIntegration&&ee(d.daiIntegration)&&(f.Qk=d.daiIntegration);var k=d.pvsid||0;k>0&&(f.cj=k);k=d.settings||{};k.ppid!=null&&(f.Bk=k.ppid);k=h.contentMediaUrl;k!=null&&(f.Kk=k);k=h.customClickTrackingProvided;k!=null&&(f.Ok=k);f.G=d.eoidCookieEnabled||!1;f.A=d.eoidCookieValue||null;k=d.gfpCookieValue;k!=null&&k?f.j=k:f.j=null;f.B=d.gfpCookieV2Id||null;f.C=d.gfpCookieV2OptOut||null;f.Tl=d.ivtDetectionOnlyStorageAllowed||!1;f.secureSignals=d.espSignals|| null;f.Ik=d.clientBidsProto||null;f.ol=d.globalPlacementId||null;f.Zi=d.publisherInitiatedExperimentDataProto||null;k=d.topicsEnabled;k!==void 0&&(f.wj=k);k=h.iframeState;k!=null&&(f.D=k);k=h.isAmp;k!=null&&(f.Ml=k);k=h.topAccessiblePageUrl;k!=null&&(f.g=k);k=h.referrer;k!=null&&(f.referrer=k);k=h.topOrigin;k!=null&&(f.vj=k);k=h.domLoadTime;k!=null&&(f.kl=k);k=h.downloadBandwidthKbps;k!=null&&(f.ll=k);k=h.sdkImplLoadTime;k!=null&&(f.fj=k);k=h.imaHostingDomain;k!=null&&(f.H=k);k=h.imaHostingPageUrl; k!=null&&(f.F=k);k=h.usesCustomVideoPlayback;k!=null?f.Ph=k:f.Ph=d.usesCustomVideoPlayback||!1;k=h.usesProxyMediaElement;k!=null&&(f.Ei=k);k=h.rendersUiNatively;k!=null&&(f.oe=k);k=d.sdkOwnedRendering;k!=null&&(f.hj=k);k=h.supportsResizing;k!=null?f.Nh=k:f.Nh=d.supportsResizing||!1;f.J=d.isBrowserCookieEnabled||!1;f.Dh=d.supportsIconClickFallback||!1;f.oj=ix(d,g);f.Ti=d.omidAdSessionsOnStartedOnly||!1;f.uj=d.supportsOmidJsManagedAppSessions||!1;k=h.usesInlinePlayback;k!=null&&(f.xj=k);h=h.videoAdKey; h!=null&&(f.zj=h);if(h=d.companionSlots)f.Ul=h;if(h=d.pauseAdSlot)f.Xi=h;if(h=d.network)f.Vl=h;f.jj=d.supportsNativeClickSignals||!1;f.pj=d.supportsNativeNetworking||!1;f.qj=d.supportsNativeViewSignals||!1;(h=d.identifierInfo||null)?(f.Y=h.appSetId||null,f.ga=h.appSetIdScope||null,f.deviceId=h.deviceId,f.l=h.idType,f.o=h.isLimitedAdTracking,f.Tb=h.perAppIdentifier,f.wd=h.perAppIdentifierV2,f.xd=h.perAppIdentifierV2UserEnabled||!1,f.da=h.idfv,f.R=h.trackingAuthorizationStatus||null,f.W=h.adsIdentityToken): e&&(f.deviceId=d.rdid||"",f.l=d.idType||"",h=d.isLat)&&(f.o=String(h)==="1");f.Ra=d.msParameter||"";if(h=d.marketAppInfo||null)f.N=h.appVersion||"",f.za=h.packageName||"";g&&(f.appName=g.wh,f.cd=g.cd,f.g=g.canonicalUrl,f.Kc=g.platform,f.Lc=g.Lc,f.lb=g.Ug);d.gmaSignals&&(f.yl=d.gmaSignals);d.platformSignals&&(f.ie=new Map(Object.entries(d.platformSignals)));f.ha=e;f.Od=d.isTv||!1;f.Bj=d.wrappedCompanionsEnabled||!1;f.M=d.isEapLoader||!1;f.Rl=d.isFledgeEligible||!1;e=d.networkCodes;e!=null&&(f.Si=e); f.ij=d.sqid||null;f.oa=new Kn;f.kk=d.pixelDensity||1;f.Hk=d.preferredLinearOrientation||0;f.Jh=d.supportsQuicksilver||!1;this.j=f;this.j.M=!1;this.j.D=gv();this.j.H=window.document.domain;this.j.F=window.document.URL;this.j.g=Cx();this.j.referrer=window.document.referrer;d=Tv(Uv);d=zv(d);Array.isArray(d)&&d.length>0&&(Yp.reset(),$p(new dq(d)));this.U=new dN(a);this.o=b?new AV(b,c.getLocale(),null,this.j):null;C_(this);a=new xT(this.U,this.j);a.load();Vt(this,a);this.R=new DO(window);Vt(this,this.R); this.C=new kP(this.j);this.W=new s_;a=L(or).g(yF.g,yF.defaultValue);this.Y=new EW(a);HW(this.Y)};r(Z,R);Z.prototype.addEventListener=function(a,b){if(Array.isArray(a)){console.warn("Array not supported. Listen for a single event type.");Px.getInstance().report(217,{method:"StreamManager.addEventListener w/ array"});a=u(a);for(var c=a.next();!c.done;c=a.next())this.addEventListener(c.value,b)}else R.prototype.listen.call(this,a,b)}; Z.prototype.removeEventListener=function(a,b){if(Array.isArray(a)){console.warn("Array not supported. Listen for a single event type.");Px.getInstance().report(217,{method:"StreamManager.removeEventListener w/ array"});a=u(a);for(var c=a.next();!c.done;c=a.next())this.removeEventListener(c.value,b)}else R.prototype.rd.call(this,a,b)};Z.prototype.listen=function(){throw Error("Not supported; use addEventListener instead.");}; Z.prototype.dispatchEvent=function(){throw Error("Dispatching events is not supported.");};var D_=function(a,b){R.prototype.dispatchEvent.call(a,b)};Z.prototype.getAdSkippableState=function(){return this.A};Z.prototype.nl=function(a){Px.getInstance().report(127,{ori:window.location.origin,hasUi:this.o!=null});E_(this,a)};Z.prototype.Jk=function(){var a,b=(a=this.g)==null?void 0:a.V;b instanceof rW&&tW(b)}; var E_=function(a,b){var c,d,e,f,g,h,k,l,n,p,q,v,t,x;z(function(A){switch(A.g){case 1:return c=eR(b.networkCode),b.ui.custom&&c&&(Px.getInstance().report(220,{locale:a.N.getLocale(),skippableSupport:b.ui.custom.skippableSupport,aboutThisAdSupport:b.ui.custom.aboutThisAdSupport}),a.M=b.ui.custom),d=[],d.push(HW(a.Y)),e=EO(a.R),d.push(e),f=null,d.push(By(b.networkCode).then(function(P){f=P})),y(A,ky(d),2);case 2:return g=A.j,h=u(g),k=h.next().value,l=h.next().value,n=k,p=l,n&&(b.g=n.value),v={},Px.getInstance().report(155, (v.ws=DW(),v.blob=(q=b.g)!=null?q:"undef",v)),a.reset(),y(A,F_(a,b,f,p.value),3);case 3:return t=A.j,y(A,eW(t,a.W,a.j),4);case 4:return x=A.j,y(A,G_(a,t,x),0)}})},G_=function(a,b,c){var d=new YV;ZV(d,new WV);ZV(d,new SV);ZV(d,new OV);ZV(d,new MV);ZV(d,new LV);ZV(d,new JV);return d.fetch(b,a.j,c).then(function(e){return void H_(a,b,e)}).catch(function(e){var f={};D_(a,new OO("streamError",(f.errorMessage=e.message,f)))})},H_=function(a,b,c){var d=xW(b,c,a.U,a.j),e=new eV(d),f=new VU(a.U,d,e);f.g.listen(f.U, "timeUpdate",f.bb);f.g.listen(f.U,"volumeChange",f.Oc);f.g.listen(f.U,"play",f.Nc);f.g.listen(f.U,"pause",f.Mc);f.U.he();a.g={V:d,Cg:e,Ol:f};a.M?(b=new BR(d,a.N,a.j,a.da.promise,{dispatchEvent:function(g){return void D_(a,g)}},b.networkCode),b.initialize(),a.g.Ci=b):a.o&&(b=new SU(d,a.o,a.j,a.U,a.C),b.initialize(),a.g.Ci=b);I_(a);b={};c=(b.streamId=lV(c),b.pod_manifest_url=c.Ie(),b.manifestFormat=c.data.manifest_format||"",b);D_(a,new OO("streamInitialized",c));d.start()};m=Z.prototype; m.tl=function(a){this.o||(this.J=a)};m.Pg=function(a,b,c){try{var d;(d=this.g)==null||d.Cg.Pg(a,b,c)}catch(e){}};m.Xd=function(a){a!=null&&this.g&&(a=rl(a.TXXX),D(a)||this.g.V.Xd(a))};m.ze=function(a){return this.g?this.g.V.ze(a):a};m.skipAd=function(){if(this.l&&J_(this.l)&&this.A){var a;(a=this.g)==null||a.V.tb("skip")}};m.Vj=function(){if(this.l&&J_(this.l)){GJ(this.l.ad.g,this.l.ad.j);this.U.pause();var a;(a=this.g)==null||a.V.tb("click")}};m.Af=function(a){return this.g?this.g.V.Af(a):a}; m.rf=function(a){return this.g?(a=this.g.V.rf(a))?new KO(GT(a)):null:null};m.od=function(a){this.g&&a&&(a=kv(a),this.j.fa.od(a),this.g.V.od(a,this.W))}; var F_=function(a,b,c,d){var e,f,g,h,k;return z(function(l){if(l.g==1){e=new bW;e.apiKey=b.apiKey;e.authToken=b.authToken;e.format="hls";b.format==="dash"&&(e.format="dash");e.networkCode=b.networkCode;e.streamActivityMonitorId=b.streamActivityMonitorId;e.o=!1;e.adTagParameters=kv(b.adTagParameters||{});a.M&&(e.ui.custom=b.ui.custom);e.omidAccessModeRules=km(b.omidAccessModeRules);f=b.enableNonce;e.enableNonce=f;e.l=b.g;g=new Fw(!0,e.adTagParameters||{},d,!1);a.j.fa=g;var n=a.C,p=Nw(g),q=hP(n.j,"__gads", p);q&&(n.g.j=q);if(Vp(oq)){if(q=hP(n.j,"__gpi",p))n.g.B=q;if(p=hP(n.j,"__gpi_opt_out",p))n.g.C=p}p=n.g;n=n.j;q=Nw(g);n=nh(q,5)?!!aP(n.g):!1;p.J=n;h=Mw(g);e.g=h;b instanceof w_?e.assetKey=b.assetKey:b instanceof x_?(e.customAssetKey=b.customAssetKey,b instanceof z_&&(e.liveStreamEventId=b.liveStreamEventId,e.region=b.region,e.projectNumber=b.projectNumber,e.oAuthToken=b.oAuthToken,e.videoStitcherSessionOptions=b.videoStitcherSessionOptions)):b instanceof y_||(b instanceof B_?(e.contentSourceId=b.contentSourceId, e.videoId=b.videoId):b instanceof A_&&(e.region=b.region,e.projectNumber=b.projectNumber,e.oAuthToken=b.oAuthToken,e.contentSourceUrl=b.contentSourceUrl,e.adTagUrl=b.adTagUrl,e.vodConfigId=b.vodConfigId,e.videoStitcherSessionOptions=b.videoStitcherSessionOptions));e.j=a.o!=null;h?(a.H=null,n=Promise.resolve()):n=f?K_(a):Promise.resolve();return y(l,n,2)}n=a.C;q=g;var v=e,t=n.g;var x=Nw(q);var A=lP(q,v,c);x=fP(n.l,x,A);t.G=x;t=Nw(q);q=lP(q,v,c);v=n.l;q=fP(v,t,{Rg:q.Rg,Sg:q.Sg})?(p=cP("__eoi",v.g))!= null?p:void 0:void 0;if(p=q)n.g.A=p;k={};Px.getInstance().report(182,(k.aid=!!Uv.g,k.aidf=!!a.H,k.hsc=!h&&f,k));return l.return(e)})}; Z.prototype.oa=function(a){if(a.type==="adBreakStarted")L_(this);else if(a.type==="adBreakEnded"||a.type==="adPeriodEnded")M_(this);else if(a.type==="adProgress"&&!this.A&&this.l){var b,c=((b=this.l)==null?void 0:b.getSkipTimeOffset())||0,d,e;b=(((d=this.g)==null?void 0:(e=d.V.Xa())==null?void 0:e.currentTime)||0)>=c;c!==-1&&b&&(this.A=!0,D_(this,new OO("skipShown",{},this.l)))}D_(this,new OO(a.type,a.data))}; Z.prototype.ha=function(a){var b=a.getAd(),c=b!=null?new V(b):null;this.l=c;switch(a.type){case "start":N_(this,b,"start");if(b){var d=this.j,e=b.L.get(wG);e instanceof wG&&e.g.length&&TQ(e.g,d.fa);d=this.C;e=b.L.get(yG);if(e instanceof yG){e=e.g;var f=Nw(d.g.fa);iP(d.j,"__gads",e,f);d.g.j=e.getValue()}d=this.C;Vp(oq)&&(e=b.L.get(zG),e instanceof zG&&(e=e.g,f=Nw(d.g.fa),iP(d.j,"__gpi",e,f),d.g.B=e.getValue()));d=this.C;b=b.L.get(vG);b instanceof vG&&(b=b.g)&&(e=d.l,f=ao(qh(b,2))-Date.now()/1E3,f= {We:Math.max(f,0),path:sh(b,3),domain:sh(b,4),secure:!1},dP("__eoi",b.getValue(),f,e.g),d.g.A=b.getValue())}break;case "complete":this.A=!1;break;case "click":b&&(d=b.g,e=b.j,N_(this,b,"click"),d==null||this.o||GJ(d,e));break;case "skip":this.A=!1;if(b=this.g?this.g.V.Xa():null)this.U.g.currentTime=b.zd+b.duration;break;case "loaded":this.A=!1;break;case "skipShown":this.A=!0}D_(this,new OO(a.type,{},c))}; var L_=function(a){a.J&&(a.J.onclick=function(){var b;(b=a.g)==null||b.V.tb("click")})},M_=function(a){a.J&&(a.J.onclick=function(){})};Z.prototype.reset=function(){xu(this.D);C_(this);if(this.g){var a=this.g,b=a.Ci,c=a.Ol;a.V.li();b==null||b.dispose();c.dispose();this.g=null}};Z.prototype.focus=function(){var a;(a=this.o)==null||a.focus()}; var I_=function(a){if(a.g){var b=a.g.V;xu(a.D);C_(a);a.D.listen(b,"adBreakStarted adBreakEnded adPeriodStarted adPeriodEnded adProgress cuepointsChanged loadStream streamError".split(" "),a.oa);a.D.listen(b,"start firstQuartile midpoint thirdQuartile complete click skip skipShown videoClicked pause resume".split(" "),a.ha)}},K_=function(a){var b;return z(function(c){if(c.g==1)return a.H||(a.H=new wO,xO(a.H)),y(c,a.H.getId(),2);b=c.j;Uv.g=b.id||"";c.g=0})},N_=function(a,b,c){if(b&&(b=b.L.get(LG))){var d, e={};Px.getInstance().report(170,(e.evt=c,e.format=(d=b.g)!=null?d:"noformat",e.has_ui_frame=!!a.o,e))}},C_=function(a){a.o&&a.D.listen(a.o,["localeUpdated"],function(b){b.type==="localeUpdated"&&a.da.resolve(b.data)})};Z.prototype.focus=Z.prototype.focus;Z.prototype.reset=Z.prototype.reset;Z.prototype.replaceAdTagParameters=Z.prototype.od;Z.prototype.previousCuePointForStreamTime=Z.prototype.rf;Z.prototype.streamTimeForContentTime=Z.prototype.Af;Z.prototype.clicked=Z.prototype.Vj; Z.prototype.skipAd=Z.prototype.skipAd;Z.prototype.contentTimeForStreamTime=Z.prototype.ze;Z.prototype.onTimedMetadata=Z.prototype.Xd;Z.prototype.processMetadata=Z.prototype.Pg;Z.prototype.setClickElement=Z.prototype.tl;Z.prototype.loadStreamMetadata=Z.prototype.Jk;Z.prototype.requestStream=Z.prototype.nl;Z.prototype.getAdSkippableState=Z.prototype.getAdSkippableState;Z.prototype.dispatchEvent=Z.prototype.dispatchEvent;Z.prototype.listen=Z.prototype.listen;Z.prototype.removeEventListener=Z.prototype.removeEventListener; Z.prototype.addEventListener=Z.prototype.addEventListener;function J_(a){a=a.ad;return LU()&&JU(a,a.icons)};C("google.ima.dai.api.Ad",V);C("google.ima.dai.api.AdPeriodData",IO);C("google.ima.dai.api.AdPodInfo",FO);C("google.ima.dai.api.AdProgressData",JO);C("google.ima.dai.api.CloudPodStreamRequest",z_);C("google.ima.dai.api.CompanionAd",GO);C("google.ima.dai.api.CuePoint",KO);C("google.ima.dai.api.DaiSdkSettings",u_);C("google.ima.dai.api.LiveStreamRequest",w_);C("google.ima.dai.api.OmidAccessMode",{LIMITED:"limited",DOMAIN:"limited",FULL:"full"}); C("google.ima.dai.api.OmidVerificationVendor",{COMSCORE:7,DOUBLEVERIFY:3,GOOGLE:9,INTEGRAL_AD_SCIENCE:4,MEETRICS:8,MOAT:2,NIELSEN:6,PIXELATE:5,OTHER:1,7:"COMSCORE",3:"DOUBLEVERIFY",9:"GOOGLE",4:"INTEGRAL_AD_SCIENCE",8:"MEETRICS",2:"MOAT",6:"NIELSEN",5:"PIXELATE",1:"OTHER"});C("google.ima.dai.api.PodStreamRequest",x_);C("google.ima.dai.api.PodVodStreamRequest",y_);C("google.ima.dai.api.StreamData",LO);C("google.ima.dai.api.StreamEvent",OO);C("google.ima.dai.api.StreamEvent.Type",MO); C("google.ima.dai.api.StreamManager",Z);C("google.ima.dai.api.StreamRequest",v_);C("google.ima.dai.api.StreamRequest.StreamFormat.DASH","dash");C("google.ima.dai.api.StreamRequest.StreamFormat.HLS","hls");C("google.ima.dai.api.ui",VO);C("google.ima.dai.api.ui.UiData",UO);C("google.ima.dai.api.ui.UiData.UiImage",TO);C("google.ima.dai.api.ui.UiKey",SO);C("google.ima.dai.api.ui.UiOptions",RO);C("google.ima.dai.api.ui.UiOptions.ClickThroughNavigation",QO); C("google.ima.dai.api.customUi.UiOptions",function(){this.aboutThisAdSupport=this.skippableSupport=!1});C("google.ima.dai.api.UiSettings",WO);C("google.ima.dai.api.UniversalAdIdInfo",HO);C("google.ima.dai.api.VideoStitcherLiveStreamRequest",z_);C("google.ima.dai.api.VideoStitcherVodStreamRequest",A_);C("google.ima.dai.api.VODStreamRequest",B_);}).call(this);