imasdk.googleapis.com
172.217.21.202 

URL: http://imasdk.googleapis.com/js/sdkloader/loader.js
Submission: On June 14 via manual from IN

Form analysis 0 forms found in the DOM

Text Content

(function(){var h,ba="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},k="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,l=function(a,b){if(b){var c=k;a=a.split(".");for(var d=0;d<a.length-1;d++){var e=a[d];e in c||(c[e]={});c=c[e]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&ba(c,a,{configurable:!0,writable:!0,value:b})}};
l("Object.is",function(a){return a?a:function(a,c){return a===c?0!==a||1/a===1/c:a!==a&&c!==c}});l("Array.prototype.includes",function(a){return a?a:function(a,c){var b=this;b instanceof String&&(b=String(b));var e=b.length;c=c||0;for(0>c&&(c=Math.max(c+e,0));c<e;c++){var f=b[c];if(f===a||Object.is(f,a))return!0}return!1}});
var m=function(){m=function(){};k.Symbol||(k.Symbol=ca)},ca=function(){var a=0;return function(b){return"jscomp_symbol_"+(b||"")+a++}}(),p=function(){m();var a=k.Symbol.iterator;a||(a=k.Symbol.iterator=k.Symbol("iterator"));"function"!=typeof Array.prototype[a]&&ba(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return da(this)}});p=function(){}},da=function(a){var b=0;return ea(function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}})},ea=function(a){p();a={next:a};a[k.Symbol.iterator]=
function(){return this};return a},q=function(a){p();var b=a[Symbol.iterator];return b?b.call(a):da(a)},r=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};
l("WeakMap",function(a){function b(a){r(a,d)||ba(a,d,{value:{}})}function c(a){var c=Object[a];c&&(Object[a]=function(a){b(a);return c(a)})}if(function(){if(!a||!Object.seal)return!1;try{var b=Object.seal({}),c=Object.seal({}),d=new a([[b,2],[c,3]]);if(2!=d.get(b)||3!=d.get(c))return!1;d["delete"](b);d.set(c,4);return!d.has(b)&&4==d.get(c)}catch(aa){return!1}}())return a;var d="$jscomp_hidden_"+Math.random();c("freeze");c("preventExtensions");c("seal");var e=0,f=function(a){this.a=(e+=Math.random()+
1).toString();if(a){m();p();a=q(a);for(var b;!(b=a.next()).done;)b=b.value,this.set(b[0],b[1])}};f.prototype.set=function(a,c){b(a);if(!r(a,d))throw Error("WeakMap key fail: "+a);a[d][this.a]=c;return this};f.prototype.get=function(a){return r(a,d)?a[d][this.a]:void 0};f.prototype.has=function(a){return r(a,d)&&r(a[d],this.a)};f.prototype["delete"]=function(a){return r(a,d)&&r(a[d],this.a)?delete a[d][this.a]:!1};return f});
l("Map",function(a){if(function(){if(!a||"function"!=typeof a||!a.prototype.entries||"function"!=typeof Object.seal)return!1;try{var b=Object.seal({x:4}),c=new a(q([[b,"s"]]));if("s"!=c.get(b)||1!=c.size||c.get({x:4})||c.set({x:4},"t")!=c||2!=c.size)return!1;var d=c.entries(),e=d.next();if(e.done||e.value[0]!=b||"s"!=e.value[1])return!1;e=d.next();return e.done||4!=e.value[0].x||"t"!=e.value[1]||!d.next().done?!1:!0}catch($c){return!1}}())return a;m();p();var b=new WeakMap,c=function(a){this.b={};
this.a=f();this.size=0;if(a){a=q(a);for(var b;!(b=a.next()).done;)b=b.value,this.set(b[0],b[1])}};c.prototype.set=function(a,b){a=0===a?0:a;var c=d(this,a);c.list||(c.list=this.b[c.id]=[]);c.j?c.j.value=b:(c.j={next:this.a,m:this.a.m,head:this.a,key:a,value:b},c.list.push(c.j),this.a.m.next=c.j,this.a.m=c.j,this.size++);return this};c.prototype["delete"]=function(a){a=d(this,a);return a.j&&a.list?(a.list.splice(a.index,1),a.list.length||delete this.b[a.id],a.j.m.next=a.j.next,a.j.next.m=a.j.m,a.j.head=
null,this.size--,!0):!1};c.prototype.clear=function(){this.b={};this.a=this.a.m=f();this.size=0};c.prototype.has=function(a){return!!d(this,a).j};c.prototype.get=function(a){return(a=d(this,a).j)&&a.value};c.prototype.entries=function(){return e(this,function(a){return[a.key,a.value]})};c.prototype.keys=function(){return e(this,function(a){return a.key})};c.prototype.values=function(){return e(this,function(a){return a.value})};c.prototype.forEach=function(a,b){for(var c=this.entries(),d;!(d=c.next()).done;)d=
d.value,a.call(b,d[1],d[0],this)};c.prototype[Symbol.iterator]=c.prototype.entries;var d=function(a,c){var d=c&&typeof c;"object"==d||"function"==d?b.has(c)?d=b.get(c):(d=""+ ++g,b.set(c,d)):d="p_"+c;var e=a.b[d];if(e&&r(a.b,d))for(a=0;a<e.length;a++){var f=e[a];if(c!==c&&f.key!==f.key||c===f.key)return{id:d,list:e,index:a,j:f}}return{id:d,list:e,index:-1,j:void 0}},e=function(a,b){var c=a.a;return ea(function(){if(c){for(;c.head!=a.a;)c=c.m;for(;c.next!=c.head;)return c=c.next,{done:!1,value:b(c)};
c=null}return{done:!0,value:void 0}})},f=function(){var a={};return a.m=a.next=a.head=a},g=0;return c});
l("Promise",function(a){function b(){this.a=null}function c(a){return a instanceof e?a:new e(function(b){b(a)})}if(a)return a;b.prototype.b=function(a){null==this.a&&(this.a=[],this.f());this.a.push(a)};b.prototype.f=function(){var a=this;this.c(function(){a.h()})};var d=k.setTimeout;b.prototype.c=function(a){d(a,0)};b.prototype.h=function(){for(;this.a&&this.a.length;){var a=this.a;this.a=[];for(var b=0;b<a.length;++b){var c=a[b];a[b]=null;try{c()}catch(aa){this.g(aa)}}}this.a=null};b.prototype.g=
function(a){this.c(function(){throw a;})};var e=function(a){this.b=0;this.c=void 0;this.a=[];var b=this.f();try{a(b.resolve,b.reject)}catch(Q){b.reject(Q)}};e.prototype.f=function(){function a(a){return function(d){c||(c=!0,a.call(b,d))}}var b=this,c=!1;return{resolve:a(this.s),reject:a(this.g)}};e.prototype.s=function(a){if(a===this)this.g(new TypeError("A Promise cannot resolve to itself"));else if(a instanceof e)this.u(a);else{a:switch(typeof a){case "object":var b=null!=a;break a;case "function":b=
!0;break a;default:b=!1}b?this.o(a):this.h(a)}};e.prototype.o=function(a){var b=void 0;try{b=a.then}catch(Q){this.g(Q);return}"function"==typeof b?this.G(b,a):this.h(a)};e.prototype.g=function(a){this.i(2,a)};e.prototype.h=function(a){this.i(1,a)};e.prototype.i=function(a,b){if(0!=this.b)throw Error("Cannot settle("+a+", "+b+"): Promise already settled in state"+this.b);this.b=a;this.c=b;this.l()};e.prototype.l=function(){if(null!=this.a){for(var a=0;a<this.a.length;++a)f.b(this.a[a]);this.a=null}};
var f=new b;e.prototype.u=function(a){var b=this.f();a.C(b.resolve,b.reject)};e.prototype.G=function(a,b){var c=this.f();try{a.call(b,c.resolve,c.reject)}catch(aa){c.reject(aa)}};e.prototype.then=function(a,b){function c(a,b){return"function"==typeof a?function(b){try{d(a(b))}catch(Wb){f(Wb)}}:b}var d,f,g=new e(function(a,b){d=a;f=b});this.C(c(a,d),c(b,f));return g};e.prototype["catch"]=function(a){return this.then(void 0,a)};e.prototype.C=function(a,b){function c(){switch(d.b){case 1:a(d.c);break;
case 2:b(d.c);break;default:throw Error("Unexpected state: "+d.b);}}var d=this;null==this.a?f.b(c):this.a.push(c)};e.resolve=c;e.reject=function(a){return new e(function(b,c){c(a)})};e.race=function(a){return new e(function(b,d){for(var e=q(a),f=e.next();!f.done;f=e.next())c(f.value).C(b,d)})};e.all=function(a){var b=q(a),d=b.next();return d.done?c([]):new e(function(a,e){function f(b){return function(c){g[b]=c;n--;0==n&&a(g)}}var g=[],n=0;do g.push(void 0),n++,c(d.value).C(f(g.length-1),e),d=b.next();
while(!d.done)})};return e});
var t=this,u=function(a){return"string"==typeof a},fa=function(a){return"number"==typeof a},ha=/^[\w+/_-]+[=]{0,2}$/,ia=null,ja=function(){},v=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==
c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},w=function(a){return"array"==v(a)},ka=function(a){var b=v(a);return"array"==b||"object"==b&&"number"==typeof a.length},x=function(a){return"function"==v(a)},y=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},la=function(a,b,c){return a.call.apply(a.bind,arguments)},
ma=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}},na=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?na=la:na=ma;return na.apply(null,arguments)},oa=Date.now||function(){return+new Date},z=function(a,b){function c(){}c.prototype=
b.prototype;a.L=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Ra=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}};var A=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,A);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};z(A,Error);A.prototype.name="CustomError";var pa=function(a,b){a=a.split("%s");for(var c="",d=a.length-1,e=0;e<d;e++)c+=a[e]+(e<b.length?b[e]:"%s");A.call(this,c+a[d])};z(pa,A);pa.prototype.name="AssertionError";
var qa=function(a,b,c,d){var e="Assertion failed";if(c){e+=": "+c;var f=d}else a&&(e+=": "+a,f=b);throw new pa(""+e,f||[]);},B=function(a,b,c){a||qa("",null,b,Array.prototype.slice.call(arguments,2))},ra=function(a,b){throw new pa("Failure"+(a?": "+a:""),Array.prototype.slice.call(arguments,1));},C=function(a,b,c){fa(a)||qa("Expected number but got %s: %s.",[v(a),a],b,Array.prototype.slice.call(arguments,2));return a};var sa=Array.prototype.indexOf?function(a,b){B(null!=a.length);return Array.prototype.indexOf.call(a,b,void 0)}:function(a,b){if(u(a))return u(b)&&1==b.length?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},ta=Array.prototype.forEach?function(a,b,c){B(null!=a.length);Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=u(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},ua=Array.prototype.map?function(a,b){B(null!=a.length);return Array.prototype.map.call(a,
b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),e=u(a)?a.split(""):a,f=0;f<c;f++)f in e&&(d[f]=b.call(void 0,e[f],f,a));return d},va=Array.prototype.reduce?function(a,b,c){B(null!=a.length);return Array.prototype.reduce.call(a,b,c)}:function(a,b,c){var d=c;ta(a,function(c,f){d=b.call(void 0,d,c,f,a)});return d},wa=Array.prototype.every?function(a,b){B(null!=a.length);return Array.prototype.every.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=u(a)?a.split(""):a,e=0;e<c;e++)if(e in d&&
!b.call(void 0,d[e],e,a))return!1;return!0},xa=function(a){return Array.prototype.concat.apply([],arguments)},ya=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},za=function(a){for(var b=[],c=0;c<a;c++)b[c]="";return b};var Aa=String.prototype.trim?function(a){return a.trim()}:function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},Ia=function(a){if(!Ba.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Ca,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(Da,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(Ea,"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(Fa,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(Ga,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(Ha,"&#0;"));return a},Ca=/&/g,Da=/</g,Ea=/>/g,Fa=/"/g,Ga=/'/g,Ha=/\x00/g,Ba=
/[\x00&<>"']/,D=function(a,b){return-1!=a.indexOf(b)},Ja=function(a){return null==a?"":String(a)},Ka=function(a,b){return a<b?-1:a>b?1:0};var E;a:{var La=t.navigator;if(La){var Ma=La.userAgent;if(Ma){E=Ma;break a}}E=""};var Na=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Oa="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Pa=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Oa.length;f++)c=Oa[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Qa=function(a){Qa[" "](a);return a};Qa[" "]=ja;var Ra=function(a,b){try{return Qa(a[b]),!0}catch(c){}return!1};var Sa=D(E,"Opera"),F=D(E,"Trident")||D(E,"MSIE"),Ta=D(E,"Edge"),Ua=D(E,"Gecko")&&!(D(E.toLowerCase(),"webkit")&&!D(E,"Edge"))&&!(D(E,"Trident")||D(E,"MSIE"))&&!D(E,"Edge"),Va=D(E.toLowerCase(),"webkit")&&!D(E,"Edge"),Wa=function(){var a=t.document;return a?a.documentMode:void 0},Xa;
a:{var Ya="",Za=function(){var a=E;if(Ua)return/rv:([^\);]+)(\)|;)/.exec(a);if(Ta)return/Edge\/([\d\.]+)/.exec(a);if(F)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Va)return/WebKit\/(\S+)/.exec(a);if(Sa)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Za&&(Ya=Za?Za[1]:"");if(F){var $a=Wa();if(null!=$a&&$a>parseFloat(Ya)){Xa=String($a);break a}}Xa=Ya}var ab=Xa,bb={},cb;var db=t.document;cb=db&&F?Wa()||("CSS1Compat"==db.compatMode?parseInt(ab,10):5):void 0;Object.freeze&&Object.freeze([]);var eb=!F||9<=Number(cb);var G=function(){this.F="";this.a=fb};G.prototype.ta=!0;G.prototype.toString=function(){return"TrustedResourceUrl{"+this.F+"}"};var fb={};var hb=function(a,b){Na(b,function(b,d){b&&b.ta&&(b=b.F);"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:gb.hasOwnProperty(d)?a.setAttribute(gb[d],b):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,b):a[d]=b})},gb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},
jb=function(a,b,c){var d=arguments,e=document,f=String(d[0]),g=d[1];if(!eb&&g&&(g.name||g.type)){f=["<",f];g.name&&f.push(' name="',Ia(g.name),'"');if(g.type){f.push(' type="',Ia(g.type),'"');var n={};Pa(n,g);delete n.type;g=n}f.push(">");f=f.join("")}f=e.createElement(f);g&&(u(g)?f.className=g:w(g)?f.className=g.join(" "):hb(f,g));2<d.length&&ib(e,f,d);return f},ib=function(a,b,c){function d(c){c&&b.appendChild(u(c)?a.createTextNode(c):c)}for(var e=2;e<c.length;e++){var f=c[e];!ka(f)||y(f)&&0<f.nodeType?
d(f):ta(kb(f)?ya(f):f,d)}},kb=function(a){if(a&&"number"==typeof a.length){if(y(a))return"function"==typeof a.item||"string"==typeof a.item;if(x(a))return"function"==typeof a.item}return!1};var lb=Object.freeze||function(a){return a};var mb=!F||9<=Number(cb),nb;
if(nb=F){var ob;if(Object.prototype.hasOwnProperty.call(bb,"9"))ob=bb["9"];else{for(var pb=0,qb=Aa(String(ab)).split("."),rb=Aa("9").split("."),sb=Math.max(qb.length,rb.length),tb=0;0==pb&&tb<sb;tb++){var ub=qb[tb]||"",vb=rb[tb]||"";do{var H=/(\d*)(\D*)(.*)/.exec(ub)||["","","",""],I=/(\d*)(\D*)(.*)/.exec(vb)||["","","",""];if(0==H[0].length&&0==I[0].length)break;pb=Ka(0==H[1].length?0:parseInt(H[1],10),0==I[1].length?0:parseInt(I[1],10))||Ka(0==H[2].length,0==I[2].length)||Ka(H[2],I[2]);ub=H[3];
vb=I[3]}while(0==pb)}ob=bb["9"]=0<=pb}nb=!ob}var wb=nb,xb=function(){if(!t.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});t.addEventListener("test",ja,b);t.removeEventListener("test",ja,b);return a}();var yb=function(){};var J=function(a,b){this.type=a;this.a=this.target=b;this.K=!0};J.prototype.c=function(){this.K=!1};var K=function(a,b){J.call(this,a?a.type:"");this.relatedTarget=this.a=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.pointerId=0;this.pointerType="";this.b=null;if(a){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.a=b;(b=a.relatedTarget)?Ua&&(Ra(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:"mouseout"==c&&(b=a.toElement);
this.relatedTarget=b;null===d?(this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.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=
u(a.pointerType)?a.pointerType:zb[a.pointerType]||"";this.b=a;a.defaultPrevented&&this.c()}};z(K,J);var zb=lb({2:"touch",3:"pen",4:"mouse"});K.prototype.c=function(){K.L.c.call(this);var a=this.b;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,wb)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var L="closure_listenable_"+(1E6*Math.random()|0),Ab=0;var Bb=function(a,b,c,d,e){this.listener=a;this.a=null;this.src=b;this.type=c;this.capture=!!d;this.D=e;this.key=++Ab;this.v=this.B=!1},Cb=function(a){a.v=!0;a.listener=null;a.a=null;a.src=null;a.D=null};var Db=function(a){this.src=a;this.a={};this.b=0};Db.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.a[f];a||(a=this.a[f]=[],this.b++);var g=Eb(a,b,d,e);-1<g?(b=a[g],c||(b.B=!1)):(b=new Bb(b,this.src,f,!!d,e),b.B=c,a.push(b));return b};
var Fb=function(a,b){var c=b.type;if(c in a.a){var d=a.a[c],e=sa(d,b),f;if(f=0<=e)B(null!=d.length),Array.prototype.splice.call(d,e,1);f&&(Cb(b),0==a.a[c].length&&(delete a.a[c],a.b--))}},Eb=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.v&&f.listener==b&&f.capture==!!c&&f.D==d)return e}return-1};var Gb="closure_lm_"+(1E6*Math.random()|0),Hb={},Ib=0,Kb=function(a,b,c,d,e){if(d&&d.once)return Jb(a,b,c,d,e);if(w(b)){for(var f=0;f<b.length;f++)Kb(a,b[f],c,d,e);return null}c=Lb(c);a&&a[L]?(d=y(d)?!!d.capture:!!d,Mb(a),a=a.a.add(String(b),c,!1,d,e)):a=Nb(a,b,c,!1,d,e);return a},Nb=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=y(e)?!!e.capture:!!e,n=Ob(a);n||(a[Gb]=n=new Db(a));c=n.add(b,c,d,g,f);if(c.a)return c;d=Pb();c.a=d;d.src=a;d.listener=c;if(a.addEventListener)xb||(e=
g),void 0===e&&(e=!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(Qb(b.toString()),d);else if(a.addListener&&a.removeListener)B("change"===b,"MediaQueryList only has a change event"),a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");Ib++;return c},Pb=function(){var a=Rb,b=mb?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b},Jb=function(a,b,c,d,e){if(w(b)){for(var f=0;f<
b.length;f++)Jb(a,b[f],c,d,e);return null}c=Lb(c);return a&&a[L]?a.a.add(String(b),c,!0,y(d)?!!d.capture:!!d,e):Nb(a,b,c,!0,d,e)},Sb=function(a,b,c,d,e){if(w(b))for(var f=0;f<b.length;f++)Sb(a,b[f],c,d,e);else(d=y(d)?!!d.capture:!!d,c=Lb(c),a&&a[L])?(a=a.a,b=String(b).toString(),b in a.a&&(f=a.a[b],c=Eb(f,c,d,e),-1<c&&(Cb(f[c]),B(null!=f.length),Array.prototype.splice.call(f,c,1),0==f.length&&(delete a.a[b],a.b--)))):a&&(a=Ob(a))&&(b=a.a[b.toString()],a=-1,b&&(a=Eb(b,c,d,e)),(c=-1<a?b[a]:null)&&Tb(c))},
Tb=function(a){if(!fa(a)&&a&&!a.v){var b=a.src;if(b&&b[L])Fb(b.a,a);else{var c=a.type,d=a.a;b.removeEventListener?b.removeEventListener(c,d,a.capture):b.detachEvent?b.detachEvent(Qb(c),d):b.addListener&&b.removeListener&&b.removeListener(d);Ib--;(c=Ob(b))?(Fb(c,a),0==c.b&&(c.src=null,b[Gb]=null)):Cb(a)}}},Qb=function(a){return a in Hb?Hb[a]:Hb[a]="on"+a},Vb=function(a,b,c,d){var e=!0;if(a=Ob(a))if(b=a.a[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.capture==c&&!f.v&&(f=Ub(f,d),
e=e&&!1!==f)}return e},Ub=function(a,b){var c=a.listener,d=a.D||a.src;a.B&&Tb(a);return c.call(d,b)},Rb=function(a,b){if(a.v)return!0;if(!mb){if(!b)a:{b=["window","event"];for(var c=t,d=0;d<b.length;d++)if(c=c[b[d]],null==c){b=null;break a}b=c}d=b;b=new K(d,this);c=!0;if(!(0>d.keyCode||void 0!=d.returnValue)){a:{var e=!1;if(0==d.keyCode)try{d.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==d.returnValue)d.returnValue=!0}d=[];for(e=b.a;e;e=e.parentNode)d.push(e);a=a.type;for(e=d.length-1;0<=e;e--){b.a=
d[e];var f=Vb(d[e],a,!0,b);c=c&&f}for(e=0;e<d.length;e++)b.a=d[e],f=Vb(d[e],a,!1,b),c=c&&f}return c}return Ub(a,new K(b,this))},Ob=function(a){a=a[Gb];return a instanceof Db?a:null},Xb="__closure_events_fn_"+(1E9*Math.random()>>>0),Lb=function(a){B(a,"Listener can not be null.");if(x(a))return a;B(a.handleEvent,"An object listener must have handleEvent method.");a[Xb]||(a[Xb]=function(b){return a.handleEvent(b)});return a[Xb]};var $b=function(a){var b=[];Yb(new Zb,a,b);return b.join("")},Zb=function(){},Yb=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(w(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),Yb(a,d[f],c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");e="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(f=b[d],"function"!=typeof f&&(c.push(e),ac(d,c),c.push(":"),Yb(a,f,c),e=","));c.push("}");
return}}switch(typeof b){case "string":ac(b,c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}},bc={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},cc=/\uffff/.test("\uffff")?/[\\"\x00-\x1f\x7f-\uffff]/g:/[\\"\x00-\x1f\x7f-\xff]/g,ac=function(a,b){b.push('"',a.replace(cc,function(a){var b=bc[a];
b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),bc[a]=b);return b}),'"')};var M=function(){this.a=new Db(this);this.h=this};z(M,yb);M.prototype[L]=!0;M.prototype.i=function(a,b,c,d){Kb(this,a,b,c,d)};M.prototype.removeEventListener=function(a,b,c,d){Sb(this,a,b,c,d)};var dc=function(a,b,c,d){b=a.a.a[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.v&&g.capture==c){var n=g.listener,Q=g.D||g.src;g.B&&Fb(a.a,g);e=!1!==n.call(Q,d)&&e}}return e&&0!=d.K},Mb=function(a){B(a.a,"Event target is not initialized. Did you call the superclass (goog.events.EventTarget) constructor?")};var N=function(a,b){this.b={};this.a=[];this.c=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else if(a)if(a instanceof N)for(c=a.w(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])};N.prototype.A=function(){ec(this);for(var a=[],b=0;b<this.a.length;b++)a.push(this.b[this.a[b]]);return a};N.prototype.w=function(){ec(this);return this.a.concat()};
var ec=function(a){if(a.c!=a.a.length){for(var b=0,c=0;b<a.a.length;){var d=a.a[b];O(a.b,d)&&(a.a[c++]=d);b++}a.a.length=c}if(a.c!=a.a.length){var e={};for(c=b=0;b<a.a.length;)d=a.a[b],O(e,d)||(a.a[c++]=d,e[d]=1),b++;a.a.length=c}};N.prototype.get=function(a,b){return O(this.b,a)?this.b[a]:b};N.prototype.set=function(a,b){O(this.b,a)||(this.c++,this.a.push(a));this.b[a]=b};N.prototype.forEach=function(a,b){for(var c=this.w(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};
var O=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var fc=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,gc=function(a,b){if(a){a=a.split("&");for(var c=0;c<a.length;c++){var d=a[c].indexOf("="),e=null;if(0<=d){var f=a[c].substring(0,d);e=a[c].substring(d+1)}else f=a[c];b(f,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};var P=function(a){this.b=this.i=this.f="";this.l=null;this.g=this.a="";this.h=!1;var b;a instanceof P?(this.h=a.h,hc(this,a.f),this.i=a.i,this.b=a.b,ic(this,a.l),this.a=a.a,jc(this,kc(a.c)),this.g=a.g):a&&(b=String(a).match(fc))?(this.h=!1,hc(this,b[1]||"",!0),this.i=R(b[2]||""),this.b=R(b[3]||"",!0),ic(this,b[4]),this.a=R(b[5]||"",!0),jc(this,b[6]||"",!0),this.g=R(b[7]||"")):(this.h=!1,this.c=new S(null,this.h))};
P.prototype.toString=function(){var a=[],b=this.f;b&&a.push(T(b,lc,!0),":");var c=this.b;if(c||"file"==b)a.push("//"),(b=this.i)&&a.push(T(b,lc,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.l,null!=c&&a.push(":",String(c));if(c=this.a)this.b&&"/"!=c.charAt(0)&&a.push("/"),a.push(T(c,"/"==c.charAt(0)?mc:nc,!0));(c=this.c.toString())&&a.push("?",c);(c=this.g)&&a.push("#",T(c,oc));return a.join("")};
P.prototype.resolve=function(a){var b=new P(this),c=!!a.f;c?hc(b,a.f):c=!!a.i;c?b.i=a.i:c=!!a.b;c?b.b=a.b:c=null!=a.l;var d=a.a;if(c)ic(b,a.l);else if(c=!!a.a){if("/"!=d.charAt(0))if(this.b&&!this.a)d="/"+d;else{var e=b.a.lastIndexOf("/");-1!=e&&(d=b.a.substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(D(e,"./")||D(e,"/.")){d=0==e.lastIndexOf("/",0);e=e.split("/");for(var f=[],g=0;g<e.length;){var n=e[g++];"."==n?d&&g==e.length&&f.push(""):".."==n?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&
g==e.length&&f.push("")):(f.push(n),d=!0)}d=f.join("/")}else d=e}c?b.a=d:c=""!==a.c.toString();c?jc(b,kc(a.c)):c=!!a.g;c&&(b.g=a.g);return b};
var hc=function(a,b,c){a.f=c?R(b,!0):b;a.f&&(a.f=a.f.replace(/:$/,""))},ic=function(a,b){if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.l=b}else a.l=null},jc=function(a,b,c){b instanceof S?(a.c=b,pc(a.c,a.h)):(c||(b=T(b,qc)),a.c=new S(b,a.h))},R=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},T=function(a,b,c){return u(a)?(a=encodeURI(a).replace(b,rc),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},rc=function(a){a=a.charCodeAt(0);
return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},lc=/[#\/\?@]/g,nc=/[#\?:]/g,mc=/[#\?]/g,qc=/[#\?@]/g,oc=/#/g,S=function(a,b){this.b=this.a=null;this.c=a||null;this.f=!!b},U=function(a){a.a||(a.a=new N,a.b=0,a.c&&gc(a.c,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))};S.prototype.add=function(a,b){U(this);this.c=null;a=V(this,a);var c=this.a.get(a);c||this.a.set(a,c=[]);c.push(b);this.b=C(this.b)+1;return this};
var sc=function(a,b){U(a);b=V(a,b);O(a.a.b,b)&&(a.c=null,a.b=C(a.b)-a.a.get(b).length,a=a.a,O(a.b,b)&&(delete a.b[b],a.c--,a.a.length>2*a.c&&ec(a)))},tc=function(a,b){U(a);b=V(a,b);return O(a.a.b,b)};h=S.prototype;h.forEach=function(a,b){U(this);this.a.forEach(function(c,d){ta(c,function(c){a.call(b,c,d,this)},this)},this)};h.w=function(){U(this);for(var a=this.a.A(),b=this.a.w(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};
h.A=function(a){U(this);var b=[];if(u(a))tc(this,a)&&(b=xa(b,this.a.get(V(this,a))));else{a=this.a.A();for(var c=0;c<a.length;c++)b=xa(b,a[c])}return b};h.set=function(a,b){U(this);this.c=null;a=V(this,a);tc(this,a)&&(this.b=C(this.b)-this.a.get(a).length);this.a.set(a,[b]);this.b=C(this.b)+1;return this};h.get=function(a,b){if(!a)return b;a=this.A(a);return 0<a.length?String(a[0]):b};
h.toString=function(){if(this.c)return this.c;if(!this.a)return"";for(var a=[],b=this.a.w(),c=0;c<b.length;c++){var d=b[c],e=encodeURIComponent(String(d));d=this.A(d);for(var f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}}return this.c=a.join("&")};
var kc=function(a){var b=new S;b.c=a.c;a.a&&(b.a=new N(a.a),b.b=a.b);return b},V=function(a,b){b=String(b);a.f&&(b=b.toLowerCase());return b},pc=function(a,b){b&&!a.f&&(U(a),a.c=null,a.a.forEach(function(a,b){var c=b.toLowerCase();b!=c&&(sc(this,b),sc(this,c),0<a.length&&(this.c=null,this.a.set(V(this,c),ya(a)),this.b=C(this.b)+a.length))},a));a.f=b};var uc=function(a,b,c){this.reset(a,b,c,void 0,void 0)};uc.prototype.a=null;var vc=0;uc.prototype.reset=function(a,b,c,d,e){"number"==typeof e||vc++;d||oa();delete this.a};var wc=function(a){this.f=a;this.c=this.a=this.b=null},xc=function(a,b){this.name=a;this.value=b};xc.prototype.toString=function(){return this.name};var yc=new xc("INFO",800),zc=new xc("CONFIG",700),Ac=function(a){if(a.a)return a.a;if(a.b)return Ac(a.b);ra("Root logger has no level set.");return null};wc.prototype.log=function(a,b,c){if(a.value>=Ac(this).value)for(x(b)&&(b=b()),a=new uc(a,String(b),this.f),c&&(a.a=c),c=this;c;)c=c.b};
var Bc={},Cc=null,Dc=function(a){Cc||(Cc=new wc(""),Bc[""]=Cc,Cc.a=zc);var b;if(!(b=Bc[a])){b=new wc(a);var c=a.lastIndexOf("."),d=a.substr(c+1);c=Dc(a.substr(0,c));c.c||(c.c={});c.c[d]=b;b.b=c;Bc[a]=b}return b};var Ec=Dc("ads.common.UrlMacrosSubstitutor");yc&&Ec&&(Ec.a=yc);Dc("imalib.common.hostUtils");var Fc=/https?:\/\/[^\/]+/,Gc=function(a){return(a=Fc.exec(a))&&a[0]||""};var Hc=/^https?:\/\/(\w|-)+\.cdn\.ampproject\.(net|org)(\?|\/|$)/,Lc=function(a){a=a||Ic();for(var b=new Jc(t.location.href,!1),c=null,d=a.length-1,e=d;0<=e;--e){var f=a[e];!c&&Hc.test(f.url)&&(c=f);if(f.url&&!f.H){b=f;break}}e=null;f=a.length&&a[d].url;0!=b.depth&&f&&(e=a[d]);return new Kc(b,e,c)},Ic=function(){var a=t,b=[],c=null;do{var d=a;try{var e=!!d&&null!=d.location.href&&Ra(d,"foo")}catch(g){e=!1}if(e){var f=d.location.href;c=d.document&&d.document.referrer||null}else f=c,c=null;b.push(new Jc(f||
""));try{a=d.parent}catch(g){a=null}}while(a&&d!=a);d=0;for(a=b.length-1;d<=a;++d)b[d].depth=a-d;d=t;if(d.location&&d.location.ancestorOrigins&&d.location.ancestorOrigins.length==b.length-1)for(a=1;a<b.length;++a)f=b[a],f.url||(f.url=d.location.ancestorOrigins[a-1]||"",f.H=!0);return b},Kc=function(a,b,c){this.b=a;this.c=b;this.a=c},Jc=function(a,b){this.url=a;this.H=!!b;this.depth=fa(void 0)?void 0:null};var Mc=function(a,b){this.a=a;this.depth=b},Oc=function(){var a=Ic(),b=Math.max(a.length-1,0),c=Lc(a);a=c.b;var d=c.c,e=c.a,f=[];c=function(a,b){return null==a?b:a};e&&f.push(new Mc([e.url,e.H?2:0],c(e.depth,1)));d&&d!=e&&f.push(new Mc([d.url,2],0));a.url&&a!=e&&f.push(new Mc([a.url,0],c(a.depth,b)));var g=ua(f,function(a,b){return f.slice(0,f.length-b)});!a.url||(e||d)&&a!=e||(d=Gc(a.url))&&g.push([new Mc([d,1],c(a.depth,b))]);g.push([]);ua(g,function(a){return Nc(b,a)})};
function Nc(a,b){B(wa(b,function(a){return 0<=a.depth}));var c=va(b,function(a,b){return Math.max(a,b.depth)},-1),d=za(c+2);d[0]=a;ta(b,function(a){return d[a.depth+1]=a.a});return d};new function(){try{Oc()}catch(a){}};var Pc={va:"collapseAd",wa:"expandAd",xa:"getAdIcons",ya:"getAdCompanions",za:"getAdDuration",Aa:"getAdExpanded",Ba:"getAdHeight",Ca:"getAdLinear",Da:"getAdRemainingTime",Ea:"getAdSkippableState",Fa:"getAdVolume",Ga:"getAdWidth",Ha:"handshakeVersion",INIT:"initAd",Ia:"pauseAd",Ja:"resizeAd",Ka:"resumeAd",Ma:"skipAd",Na:"startAd",La:"setAdVolume",Oa:"stopAd",Pa:"subscribe",Qa:"unsubscribe"};var Qc=function(a,b,c){this.g=a;this.a=b;this.f=c;this.b=new Map;this.c=!1},Rc=function(a){a.b.forEach(function(a,c){if(this.a){try{this.a.unsubscribe(a,c)}catch(d){}try{this.a.unsubscribe(c,a)}catch(d){}}},a);a.b.clear()};h=Qc.prototype;h.U=function(a,b,c){var d=null;/^[\s\xa0]*$/.test(Ja(a))?/^[\s\xa0]*$/.test(Ja(this.f))||(d=this.f):d=a;c&&null!=d&&(/^[\s\xa0]*$/.test(Ja(d))||window.open(d,"_blank"));W(this,"AdClickThru",{url:d,id:b})};
h.V=function(){var a=this.a.getAdDuration(),b=this.a.getAdRemainingTime();W(this,"AdDurationChange",{duration:a,remainingTime:b})};h.W=function(a){W(this,"AdError",{message:a})};h.X=function(){var a={};a.expanded=this.a.getAdExpanded();W(this,"AdExpandedChange",a)};h.Y=function(){W(this,"AdImpression")};h.Z=function(a){W(this,"AdInteraction",{id:a})};h.$=function(){var a={};a.isLinear=this.a.getAdLinear();W(this,"AdLinearChange",a)};
h.aa=function(){var a={companions:x(this.a.getAdCompanions)?this.a.getAdCompanions():""};W(this,"AdLoaded",a)};h.ba=function(a){W(this,"AdLog",{message:a})};h.ca=function(){W(this,"AdPaused")};h.da=function(){W(this,"AdPlaying")};h.ea=function(){var a={remainingTime:this.a.getAdRemainingTime()};W(this,"AdRemainingTimeChange",a)};h.fa=function(){W(this,"AdSizeChange")};h.ha=function(){W(this,"AdSkipped")};h.ia=function(){W(this,"AdStarted")};h.ja=function(){Rc(this);W(this,"AdStopped");this.c=!0};
h.ga=function(){W(this,"AdSkippableStateChange")};h.ka=function(){W(this,"AdUserAcceptInvitation")};h.la=function(){W(this,"AdUserClose")};h.ma=function(){W(this,"AdUserMinimize")};h.na=function(){W(this,"AdVideoComplete")};h.oa=function(){W(this,"AdVideoFirstQuartile")};h.pa=function(){W(this,"AdVideoMidpoint")};h.qa=function(){W(this,"AdVideoStart")};h.ra=function(){W(this,"AdVideoThirdQuartile")};h.sa=function(){var a={volume:this.a.getAdVolume()};W(this,"AdVolumeChange",a)};
h.ua=function(a){W(this,"Ping",{url:a})};var X=function(a,b,c){b=na(b,a);a.b.set(c,b);a.a.subscribe(b,c)},W=function(a,b,c){a.c||(c||(c={}),a={type:b,session:a.g},Pa(a,c),window.parent!=window&&window.parent.postMessage($b(a),"*"))};var Y=function(){M.call(this);this.duration=this.currentTime=0;this.type=this.src="";this.playbackRate=1;this.ended=!1;this.paused=!0;this.g=[];this.f="";this.b=this.c=null};z(Y,M);Y.prototype.load=function(){Sc({type:"videoCall",func:"load",src:this.src,mimetype:this.type,session:this.f})};Y.prototype.s=function(){var a=this;this.paused=!1;Sc({type:"videoCall",func:"play",src:this.src,mimetype:this.type,session:this.f});return new Promise(function(b,c){a.c=b;a.b=c})};
Y.prototype.o=function(){this.paused=!0;Sc({type:"videoCall",func:"pause",session:this.f})};var Sc=function(a){window.parent!=window&&window.parent.postMessage($b(a),"*")};Y.prototype.l=function(a){return this.g.includes(a)?"maybe":""};Y.prototype.u=function(a,b){["type","src"].includes(a)&&(this[a]=b)};Y.prototype.removeEventListener=function(a,b,c,d){null!=b&&Y.L.removeEventListener.call(this,a,b,c,d)};Y.prototype.removeEventListener=Y.prototype.removeEventListener;
Y.prototype.addEventListener=Y.prototype.i;Y.prototype.canPlayType=Y.prototype.l;Y.prototype.load=Y.prototype.load;Y.prototype.pause=Y.prototype.o;Y.prototype.play=Y.prototype.s;Y.prototype.setAttribute=Y.prototype.u;var Tc=function(a){this.S=a;this.R={}};z(Tc,yb);var Uc=[],Vc=function(a,b,c,d){w(c)||(c&&(Uc[0]=c.toString()),c=Uc);for(var e=0;e<c.length;e++){var f=Kb(b,c[e],d||a.handleEvent,!1,a.S||a);if(!f)break;a.R[f.key]=f}};Tc.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Z=function(a,b){Tc.call(this);this.P=!!a;this.a=null;this.I="";this.M=-2;this.g=this.s="";this.J=null;this.o=new Y;this.b=this.f=null;this.O=[];this.u="";this.l=this.i=0;(this.c=null!=b)?Vc(this,window.parent,"message",this.N):Vc(this,window,"message",this.N);null!=b&&(this.c=!0,this.g=b,Wc(this,"friendlyReady"))};z(Z,Tc);Z.prototype.T=function(a,b){this.f=a;this.b=b};var Wc=function(a,b,c){c=c||{};window.parent!=window&&(c.type=b,c.session=a.g,a=$b(c),window.parent.postMessage(a,"*"))};
Z.prototype.N=function(a){try{var b=JSON.parse(a.b.data)}catch(e){return}a=b.type;var c=b.session;if(!this.c&&"initAd"==a)this.g=c,this.o.f=this.g;else if(this.g!=c)return;switch(a){case "wrapperCall":a=this.o;c=b.messageType;var d=!1;switch(c){case "ended":a.ended=!0;break;case "pause":a.paused=!0;break;case "play":a.paused=!1;a.ended=!1;break;case "playing":null!=a.c&&(a.c(),a.b=null,a.c=null);a.paused=!1;a.ended=!1;break;case "supportedMimeTypes":d=!0;a.g=b.supportedMimeTypes;break;case "timeupdate":a.duration=
b.duration;a.currentTime=b.currentTime;break;case "loadedmetadata":a.duration=b.duration;break;case "autoplayDisallowed":null!=a.b&&(a.b(),a.b=null,a.c=null)}d||(c={type:c},Mb(a),b=a.h,a=c,c=a.type||a,u(a)?a=new J(a,b):a instanceof J?a.target=a.target||b:(d=a,a=new J(c,b),Pa(a,d)),b=a.a=b,dc(b,c,!0,a),dc(b,c,!1,a));break;case "initAd":this.u=b.clickThroughUrl;this.I=b.viewMode;this.M=b.desiredBitrate;this.s=b.creativeData;if(this.P)this.G();else{this.c?a=b.adUrl:(a=new P(window.location.href),a=R(a.c.toString()));
c=a;this.c&&this.f&&(this.f.volume=b.volume);b=jb("SCRIPT",{type:"text/javascript"});a=new G;a.F=c;c=(c=b&&b.ownerDocument)&&(c.defaultView||c.parentWindow)||t;"undefined"!=typeof c.HTMLScriptElement&&"undefined"!=typeof c.Location&&"undefined"!=typeof c.Element&&B(b&&(b instanceof c.HTMLScriptElement||!(b instanceof c.Location||b instanceof c.Element)),"Argument is not a %s (or a non-Element, non-Location mock); got: %s","HTMLScriptElement",y(b)?b.constructor.displayName||b.constructor.name||Object.prototype.toString.call(b):
void 0===b?"undefined":null===b?"null":typeof b);a instanceof G&&a.constructor===G&&a.a===fb?a=a.F:(ra("expected object of type TrustedResourceUrl, got '"+a+"' of type "+v(a)),a="type_error:TrustedResourceUrl");b.src=a;if(null===ia){a:{if((a=t.document.querySelector("script[nonce]"))&&(a=a.nonce||a.getAttribute("nonce"))&&ha.test(a))break a;a=null}ia=a||""}(a=ia)&&b.setAttribute("nonce",a);Vc(this,b,"load",this.G);Vc(this,b,"error",this.h);window.document.body.appendChild(b)}break;case "getAdDuration":Xc(this,
"getAdDuration","returnDuration","duration");break;case "getAdRemainingTime":Xc(this,"getAdRemainingTime","returnRemainingTime","remainingTime");break;case "setAdVolume":null!=this.a&&this.a.setAdVolume(b.value);break;case "resizeAd":a=b.width;c=b.height;b=b.viewMode;this.f&&this.f.style&&(this.f.style.width=a+"px",this.f.style.height=c+"px");this.b&&this.b.style&&(this.i=c,this.l=a,this.b.style.height=c+"px",this.b.style.width=a+"px");if(null!=this.a)try{this.a.resizeAd(a,c,b)}catch(e){this.h(e)}break;
case "friendlyReady":break;default:if(this.a){if(x(this.a[a]))this.a[a]()}else this.O.push(a)}};Z.prototype.h=function(a){Wc(this,"AdError",{message:null!=a?a.message:""})};var Yc=function(a){Na(Pc,function(a){if("getAdCompanions"!=a&&!(a in this.a&&x(this.a[a])))throw Error("missing functions "+a);},a);if("2.0"!=a.a.handshakeVersion("2.0"))throw Error("version");},Zc=function(a){a.O.forEach(function(b){if(x(a.a[b]))a.a[b]()})};
Z.prototype.G=function(){var a=window.getVPAIDAd;try{this.a=a(),Yc(this),Zc(this)}catch(c){this.h(c);return}if(null==this.a)this.h();else{a=this.J=new Qc(this.g,this.a,this.u);X(a,a.U,"AdClickThru");X(a,a.V,"AdDurationChange");X(a,a.W,"AdError");X(a,a.X,"AdExpandedChange");X(a,a.Y,"AdImpression");X(a,a.Z,"AdInteraction");X(a,a.$,"AdLinearChange");X(a,a.aa,"AdLoaded");X(a,a.ba,"AdLog");X(a,a.ca,"AdPaused");X(a,a.da,"AdPlaying");X(a,a.ea,"AdRemainingTimeChange");X(a,a.fa,"AdSizeChange");X(a,a.ha,"AdSkipped");
X(a,a.ia,"AdStarted");X(a,a.ja,"AdStopped");X(a,a.ga,"AdSkippableStateChange");X(a,a.ka,"AdUserAcceptInvitation");X(a,a.la,"AdUserClose");X(a,a.ma,"AdUserMinimize");X(a,a.na,"AdVideoComplete");X(a,a.oa,"AdVideoFirstQuartile");X(a,a.pa,"AdVideoMidpoint");X(a,a.qa,"AdVideoStart");X(a,a.ra,"AdVideoThirdQuartile");X(a,a.sa,"AdVolumeChange");X(a,a.ua,"Ping");this.c?a={slot:this.b,videoSlot:this.f,videoSlotCanAutoPlay:!0}:(this.b=document.getElementById("slot"),null==this.b?a=window.document.body:(0!=window.innerHeight?
this.b.style.height=window.innerHeight+"px":0!=this.i&&(this.b.style.height=this.i+"px"),0!=window.innerWidth?this.b.style.width=window.innerWidth+"px":0!=this.l&&(this.b.style.width=this.l+"px"),a=this.b),a={slot:a,videoSlot:this.o,videoSlotCanAutoPlay:!0});var b={AdParameters:this.s};try{this.a.initAd(this.c?this.b.clientWidth||this.l:window.innerWidth,this.c?this.b.clientHeight||this.i:window.innerHeight,this.I,this.M,b,a)}catch(c){this.h(c)}}};
var Xc=function(a,b,c,d){var e=-1;try{e=a.a[b]()}catch(f){}fa(e)||(e=-1);b={};b[d]=e;Wc(a,c,b)};Z.prototype.initFriendly=Z.prototype.T;window.VPAIDLoader=Z;}).call(this);