06d4f8fcbf72d0e9cbbc9527585eb494b83b4cab9fbf8dbe1cd8ab39d8db32ca

Source Code:

(function(){/*

 Copyright The Closure Library Authors.
 SPDX-License-Identifier: Apache-2.0
*/
var h,aa=function(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}},ba=function(a){var b="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return b?b.call(a):{next:aa(a)}},ca=function(a){if(!(a instanceof Array)){a=ba(a);for(var b,c=[];!(b=a.next()).done;)c.push(b.value);a=c}return a},da="function"==typeof Object.create?Object.create:function(a){var b=function(){};b.prototype=a;return new b},ea;
if("function"==typeof Object.setPrototypeOf)ea=Object.setPrototypeOf;else{var fa;a:{var ha={rb:!0},ia={};try{ia.__proto__=ha;fa=ia.rb;break a}catch(a){}fa=!1}ea=fa?function(a,b){a.__proto__=b;if(a.__proto__!==b)throw new TypeError(a+" is not extensible");return a}:null}
var ja=ea,n=function(a,b){a.prototype=da(b.prototype);a.prototype.constructor=a;if(ja)ja(a,b);else for(var c in b)if("prototype"!=c)if(Object.defineProperties){var d=Object.getOwnPropertyDescriptor(b,c);d&&Object.defineProperty(a,c,d)}else a[c]=b[c];a.N=b.prototype},ka="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},la="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:
this,ma=function(a,b){if(b){var c=la;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&&ka(c,a,{configurable:!0,writable:!0,value:b})}};
ma("Promise",function(a){function b(){this.a=null}function c(g){return g instanceof e?g:new e(function(k){k(g)})}if(a)return a;b.prototype.f=function(g){if(null==this.a){this.a=[];var k=this;this.g(function(){k.o()})}this.a.push(g)};var d=la.setTimeout;b.prototype.g=function(g){d(g,0)};b.prototype.o=function(){for(;this.a&&this.a.length;){var g=this.a;this.a=[];for(var k=0;k<g.length;++k){var l=g[k];g[k]=null;try{l()}catch(m){this.j(m)}}}this.a=null};b.prototype.j=function(g){this.g(function(){throw g;
})};var e=function(g){this.f=0;this.g=void 0;this.a=[];var k=this.j();try{g(k.resolve,k.reject)}catch(l){k.reject(l)}};e.prototype.j=function(){function g(m){return function(y){l||(l=!0,m.call(k,y))}}var k=this,l=!1;return{resolve:g(this.C),reject:g(this.o)}};e.prototype.C=function(g){if(g===this)this.o(new TypeError("A Promise cannot resolve to itself"));else if(g instanceof e)this.H(g);else{a:switch(typeof g){case "object":var k=null!=g;break a;case "function":k=!0;break a;default:k=!1}k?this.A(g):
this.B(g)}};e.prototype.A=function(g){var k=void 0;try{k=g.then}catch(l){this.o(l);return}"function"==typeof k?this.D(k,g):this.B(g)};e.prototype.o=function(g){this.s(2,g)};e.prototype.B=function(g){this.s(1,g)};e.prototype.s=function(g,k){if(0!=this.f)throw Error("Cannot settle("+g+", "+k+"): Promise already settled in state"+this.f);this.f=g;this.g=k;this.v()};e.prototype.v=function(){if(null!=this.a){for(var g=0;g<this.a.length;++g)f.f(this.a[g]);this.a=null}};var f=new b;e.prototype.H=function(g){var k=
this.j();g.za(k.resolve,k.reject)};e.prototype.D=function(g,k){var l=this.j();try{g.call(k,l.resolve,l.reject)}catch(m){l.reject(m)}};e.prototype.then=function(g,k){function l(R,za){return"function"==typeof R?function(Gc){try{m(R(Gc))}catch(Hc){y(Hc)}}:za}var m,y,Z=new e(function(R,za){m=R;y=za});this.za(l(g,m),l(k,y));return Z};e.prototype["catch"]=function(g){return this.then(void 0,g)};e.prototype.za=function(g,k){function l(){switch(m.f){case 1:g(m.g);break;case 2:k(m.g);break;default:throw Error("Unexpected state: "+
m.f);}}var m=this;null==this.a?f.f(l):this.a.push(l)};e.resolve=c;e.reject=function(g){return new e(function(k,l){l(g)})};e.race=function(g){return new e(function(k,l){for(var m=ba(g),y=m.next();!y.done;y=m.next())c(y.value).za(k,l)})};e.all=function(g){var k=ba(g),l=k.next();return l.done?c([]):new e(function(m,y){function Z(Gc){return function(Hc){R[Gc]=Hc;za--;0==za&&m(R)}}var R=[],za=0;do R.push(void 0),za++,c(l.value).za(Z(R.length-1),y),l=k.next();while(!l.done)})};return e});
var p=this||self,na=/^[\w+/_-]+[=]{0,2}$/,oa=null,q=function(a,b){a=a.split(".");b=b||p;for(var c=0;c<a.length;c++)if(b=b[a[c]],null==b)return null;return b},r=function(){},pa=function(a){a.Ka=void 0;a.getInstance=function(){return a.Ka?a.Ka:a.Ka=new a}},qa=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},t=function(a){return"array"==qa(a)},ra=function(a){var b=qa(a);return"array"==b||"object"==b&&"number"==typeof a.length},sa=function(a){return"function"==
qa(a)},ta=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},ua="closure_uid_"+(1E9*Math.random()>>>0),va=0,wa=function(a,b,c){return a.call.apply(a.bind,arguments)},xa=function(a,b,c){if(!a)throw Error();if(2<arguments.length){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)}},u=function(a,b,c){Function.prototype.bind&&
-1!=Function.prototype.bind.toString().indexOf("native code")?u=wa:u=xa;return u.apply(null,arguments)},ya=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)}},v=function(){return+new Date},w=function(a,b){a=a.split(".");var c=p;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=
b},x=function(a,b){function c(){}c.prototype=b.prototype;a.N=b.prototype;a.prototype=new c;a.prototype.constructor=a};var z=function(a){if(Error.captureStackTrace)Error.captureStackTrace(this,z);else{var b=Error().stack;b&&(this.stack=b)}a&&(this.message=String(a))};x(z,Error);z.prototype.name="CustomError";var Aa;var Ba=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");z.call(this,c+a[d])};x(Ba,z);Ba.prototype.name="AssertionError";var Ca=function(a,b){if("string"===typeof a)return"string"!==typeof b||1!=b.length?-1:a.indexOf(b,0);for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},A=function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Da=function(a,b){for(var c=a.length,d=[],e=0,f="string"===typeof a?a.split(""):a,g=0;g<c;g++)if(g in f){var k=f[g];b.call(void 0,k,g,a)&&(d[e++]=k)}return d},Ea=function(a,b){for(var c=a.length,d=Array(c),e="string"===typeof a?
a.split(""):a,f=0;f<c;f++)f in e&&(d[f]=b.call(void 0,e[f],f,a));return d},Fa=function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a))return!0;return!1},Ga=function(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return!1;return!0},Ha=function(a,b){a:{for(var c=a.length,d="string"===typeof a?a.split(""):a,e=0;e<c;e++)if(e in d&&b.call(void 0,d[e],e,a)){b=e;break a}b=-1}return 0>b?null:
"string"===typeof a?a.charAt(b):a[b]},B=function(a,b){b=Ca(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c},Ia=function(a){return Array.prototype.concat.apply([],arguments)},Ja=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[]},Ka=function(a,b){var c={};A(a,function(d,e){c[b.call(void 0,d,e,a)]=d});return c};var La=function(a){var b=!1,c;return function(){b||(c=a(),b=!0);return c}};var Ma=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Na=function(a,b){for(var c in a)if(!b.call(void 0,a[c],c,a))return!1;return!0},Oa=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},Pa=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1},Qa="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Ra=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<Qa.length;f++)c=Qa[f],
Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Sa={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};var Va=function(a,b){this.a=a===Ta&&b||"";this.f=Ua};Va.prototype.ia=!0;Va.prototype.da=function(){return this.a};var Wa=function(a){return a instanceof Va&&a.constructor===Va&&a.f===Ua?a.a:"type_error:Const"},Xa=function(a){return new Va(Ta,a)},Ua={},Ta={},Ya=Xa("");var ab=function(a,b){this.f=a===Za&&b||"";this.g=$a};ab.prototype.ia=!0;ab.prototype.da=function(){return this.f.toString()};ab.prototype.Ja=!0;ab.prototype.a=function(){return 1};var bb=function(a){if(a instanceof ab&&a.constructor===ab&&a.g===$a)return a.f;qa(a);return"type_error:TrustedResourceUrl"},$a={},cb=function(a){return new ab(Za,a)},Za={};var C=function(a){return/^[\s\xa0]*$/.test(a)},db=function(a){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(a)[1]},lb=function(a){if(!eb.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(fb,"&"));-1!=a.indexOf("<")&&(a=a.replace(gb,"<"));-1!=a.indexOf(">")&&(a=a.replace(hb,">"));-1!=a.indexOf('"')&&(a=a.replace(ib,"""));-1!=a.indexOf("'")&&(a=a.replace(jb,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(kb,"�"));return a},fb=/&/g,gb=/</g,hb=/>/g,ib=/"/g,jb=/'/g,kb=/\x00/g,eb=/[\x00&<>"']/,
nb=function(a,b){var c=0;a=db(String(a)).split(".");b=db(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&e<d;e++){var f=a[e]||"",g=b[e]||"";do{f=/(\d*)(\D*)(.*)/.exec(f)||["","","",""];g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];if(0==f[0].length&&0==g[0].length)break;c=mb(0==f[1].length?0:parseInt(f[1],10),0==g[1].length?0:parseInt(g[1],10))||mb(0==f[2].length,0==g[2].length)||mb(f[2],g[2]);f=f[3];g=g[3]}while(0==c)}return c},mb=function(a,b){return a<b?-1:a>b?1:0};var qb=function(a,b){this.f=a===ob&&b||"";this.g=pb};qb.prototype.ia=!0;qb.prototype.da=function(){return this.f.toString()};qb.prototype.Ja=!0;qb.prototype.a=function(){return 1};
var rb=function(a){if(a instanceof qb&&a.constructor===qb&&a.g===pb)return a.f;qa(a);return"type_error:SafeUrl"},sb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,tb=function(a){if(a instanceof qb)return a;a="object"==typeof a&&a.ia?a.da():String(a);sb.test(a)||(a="about:invalid#zClosurez");return new qb(ob,a)},pb={},ob={};var vb=function(){this.a="";this.f=ub};vb.prototype.ia=!0;var ub={};vb.prototype.da=function(){return this.a};
var wb=function(a){var b=new vb;b.a=a;return b},xb=wb(""),Eb=function(a){if(a instanceof qb)return'url("'+rb(a).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(a instanceof Va)a=Wa(a);else{a=String(a);var b=a.replace(yb,"$1").replace(yb,"$1").replace(zb,"url");if(Ab.test(b)){if(b=!Bb.test(a)){for(var c=b=!0,d=0;d<a.length;d++){var e=a.charAt(d);"'"==e&&c?b=!b:'"'==e&&b&&(c=!c)}b=b&&c&&Cb(a)}a=b?Db(a):"zClosurez"}else a="zClosurez"}if(/[{;}]/.test(a))throw new Ba("Value does not allow [{;}], got: %s.",
[a]);return a},Cb=function(a){for(var b=!0,c=/^[-_a-zA-Z0-9]$/,d=0;d<a.length;d++){var e=a.charAt(d);if("]"==e){if(b)return!1;b=!0}else if("["==e){if(!b)return!1;b=!1}else if(!b&&!c.test(e))return!1}return b},Ab=/^[-,."'%_!# a-zA-Z0-9\[\]]+$/,zb=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,yb=/\b(calc|cubic-bezier|fit-content|hsl|hsla|matrix|minmax|repeat|rgb|rgba|(rotate|scale|translate)(X|Y|Z|3d)?)\([-+*/0-9a-z.%\[\], ]+\)/g,Bb=/\/\*/,Db=function(a){return a.replace(zb,
function(b,c,d,e){var f="";d=d.replace(/^(['"])(.*)\1$/,function(g,k,l){f=k;return l});b=tb(d).da();return c+f+b+f+e})};var Fb;a:{var Gb=p.navigator;if(Gb){var Hb=Gb.userAgent;if(Hb){Fb=Hb;break a}}Fb=""}var D=function(a){return-1!=Fb.indexOf(a)};var Ib=function(){return D("Firefox")||D("FxiOS")},Jb=function(){return(D("Chrome")||D("CriOS"))&&!D("Edge")};var Lb=function(){this.f="";this.j=Kb;this.g=null};Lb.prototype.Ja=!0;Lb.prototype.a=function(){return this.g};Lb.prototype.ia=!0;Lb.prototype.da=function(){return this.f.toString()};
var Mb=function(a){if(a instanceof Lb&&a.constructor===Lb&&a.j===Kb)return a.f;qa(a);return"type_error:SafeHtml"},Ob=function(a){if(a instanceof Lb)return a;var b="object"==typeof a,c=null;b&&a.Ja&&(c=a.a());return Nb(lb(b&&a.ia?a.da():String(a)),c)},Pb=/^[a-zA-Z0-9-]+$/,Qb={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},Rb={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},Tb=function(a){var b=Ob(Sb),c=b.a(),
d=[],e=function(f){t(f)?A(f,e):(f=Ob(f),d.push(Mb(f).toString()),f=f.a(),0==c?c=f:0!=f&&c!=f&&(c=null))};A(a,e);return Nb(d.join(Mb(b).toString()),c)},Ub=function(a){return Tb(Array.prototype.slice.call(arguments))},Kb={},Nb=function(a,b){return Vb(a,b)},Vb=function(a,b){var c=new Lb;c.f=a;c.g=b;return c};Vb("<!DOCTYPE html>",0);var Sb=Vb("",0);Vb("<br>",0);var Wb=La(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=Mb(Sb);return!b.parentElement}),Xb=function(a){var b=cb(Wa(Ya));a.src=bb(b).toString()},Yb=function(a,b){a.src=bb(b);if(null===oa)b:{b=p.document;if((b=b.querySelector&&b.querySelector("script[nonce]"))&&(b=b.nonce||b.getAttribute("nonce"))&&na.test(b)){oa=b;break b}oa=""}b=oa;b&&a.setAttribute("nonce",b)};var E=function(a){return null==a?"":String(a)},Zb=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})},$b=function(a){return a.replace(/(^|[\s]+)([a-z])/g,function(b,c,d){return c+d.toUpperCase()})};var ac=function(){return D("iPhone")&&!D("iPod")&&!D("iPad")};var bc=function(a){bc[" "](a);return a};bc[" "]=r;var cc=function(a,b){try{return bc(a[b]),!0}catch(c){}return!1},ec=function(a,b){var c=dc;return Object.prototype.hasOwnProperty.call(c,a)?c[a]:c[a]=b(a)};var fc=D("Opera"),F=D("Trident")||D("MSIE"),gc=D("Edge"),hc=D("Gecko")&&!(-1!=Fb.toLowerCase().indexOf("webkit")&&!D("Edge"))&&!(D("Trident")||D("MSIE"))&&!D("Edge"),ic=-1!=Fb.toLowerCase().indexOf("webkit")&&!D("Edge"),jc=D("Android"),kc=function(){var a=p.document;return a?a.documentMode:void 0},lc;
a:{var mc="",nc=function(){var a=Fb;if(hc)return/rv:([^\);]+)(\)|;)/.exec(a);if(gc)return/Edge\/([\d\.]+)/.exec(a);if(F)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(ic)return/WebKit\/(\S+)/.exec(a);if(fc)return/(?:Version)[ \/]?(\S+)/.exec(a)}();nc&&(mc=nc?nc[1]:"");if(F){var oc=kc();if(null!=oc&&oc>parseFloat(mc)){lc=String(oc);break a}}lc=mc}var pc=lc,dc={},qc=function(a){return ec(a,function(){return 0<=nb(pc,a)})},rc;rc=p.document&&F?kc():void 0;var sc=Ib(),tc=ac()||D("iPod"),uc=D("iPad"),vc=D("Android")&&!(Jb()||Ib()||D("Opera")||D("Silk")),wc=Jb(),xc=D("Safari")&&!(Jb()||D("Coast")||D("Opera")||D("Edge")||D("Edg/")||D("OPR")||Ib()||D("Silk")||D("Android"))&&!(ac()||D("iPad")||D("iPod"));var yc=function(a){var b="&rmfb="+(typeof window.vv).substr(0,3);return"&adurl="==a.substring(a.length-7)?a.substring(0,a.length-7)+b+"&adurl=":a+b};var zc=function(){if(p.interstitialAdFrame)return p.interstitialAdFrame;try{return p.parent.interstitialAdFrame}catch(a){}return null};var Ac=document;var Bc=function(a,b,c){a.addEventListener&&a.addEventListener(b,c,!1)};var Cc=function(a){var b;a.visibilityState?b="visibilitychange":a.mozVisibilityState?b="mozvisibilitychange":a.webkitVisibilityState&&(b="webkitvisibilitychange");return b},Dc=function(a,b){if(3==({visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[b.visibilityState||b.webkitVisibilityState||b.mozVisibilityState||""]||0))return!1;a();return!0},Ec=function(a){var b=document;if(!Dc(a,b)){var c=!1,d=Cc(b),e=function(){!c&&Dc(a,b)&&(c=!0,b.removeEventListener&&b.removeEventListener(d,e,!1))};d&&Bc(b,
d,e)}};var Fc=function(a,b){this.x=void 0!==a?a:0;this.y=void 0!==b?b:0};Fc.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};Fc.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};Fc.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};var G=function(a,b){this.width=a;this.height=b},Ic=function(a){return new G(a.width,a.height)};G.prototype.aspectRatio=function(){return this.width/this.height};G.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};G.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};G.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var Lc=function(a){return a?new Jc(Kc(a)):Aa||(Aa=new Jc)},Mc=function(a,b){return"string"===typeof b?a.getElementById(b):b},Oc=function(a,b){Ma(b,function(c,d){c&&"object"==typeof c&&c.ia&&(c=c.da());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Nc.hasOwnProperty(d)?a.setAttribute(Nc[d],c):0==d.lastIndexOf("aria-",0)||0==d.lastIndexOf("data-",0)?a.setAttribute(d,c):a[d]=c})},Nc={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"},Pc=function(a){return a.scrollingElement?a.scrollingElement:ic||"CSS1Compat"!=a.compatMode?a.body||a.documentElement:a.documentElement},H=function(a,b){b=String(b);"application/xhtml+xml"===a.contentType&&(b=b.toLowerCase());return a.createElement(b)},Qc=function(a){a&&a.parentNode&&a.parentNode.removeChild(a)},Kc=function(a){return 9==a.nodeType?a:a.ownerDocument||
a.document},Jc=function(a){this.a=a||p.document||document};Jc.prototype.M=function(){return Mc(this.a,void 0)};var Sc=function(a){Rc();return cb(a)},Rc=r;var Tc=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/\\#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,Uc=function(a,b,c){if(t(b))for(var d=0;d<b.length;d++)Uc(a,String(b[d]),c);else null!=b&&c.push(a+(""===b?"":"="+encodeURIComponent(String(b))))},Vc=function(a,b){if(b+=""){var c=a.indexOf("#");0>c&&(c=a.length);var d=a.indexOf("?");if(0>d||d>c){d=c;var e=""}else e=a.substring(d+1,c);a=[a.substr(0,d),e,a.substr(c)];c=a[1];a[1]=b?c?c+"&"+b:b:c;b=a[0]+(a[1]?"?"+a[1]:"")+a[2]}else b=
a;return b},Wc=/#|$/;var Yc=function(){var a=Xc;try{return!!a&&null!=a.location.href&&cc(a,"foo")}catch(b){return!1}};var Zc=function(){return ic?"Webkit":hc?"Moz":F?"ms":fc?"O":null},$c=function(){return ic?"-webkit":hc?"-moz":F?"-ms":fc?"-o":null};var ad=function(a,b){this.top=a;this.left=b};ad.prototype.ceil=function(){this.top=Math.ceil(this.top);this.left=Math.ceil(this.left);return this};ad.prototype.floor=function(){this.top=Math.floor(this.top);this.left=Math.floor(this.left);return this};ad.prototype.round=function(){this.top=Math.round(this.top);this.left=Math.round(this.left);return this};var bd=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};bd.prototype.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};bd.prototype.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};
bd.prototype.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};var cd={},dd=function(a,b){var c=cd[b];if(!c){var d=Zb(b);c=d;void 0===a.style[d]&&(d=Zc()+$b(d),void 0!==a.style[d]&&(c=d));cd[b]=c}return c},ed=function(a,b){var c=a.style[Zb(b)];return"undefined"!==typeof c?c:a.style[dd(a,b)]||""},fd=function(a){a:{var b=Kc(a);if(b.defaultView&&b.defaultView.getComputedStyle&&(b=b.defaultView.getComputedStyle(a,null))){b=b.position||b.getPropertyValue("position")||"";break a}b=""}b||(b=a.currentStyle?a.currentStyle.position:null);return b||a.style&&a.style.position},
hd=function(a,b,c){if(b instanceof G)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");a.style.width=gd(b,!0);a.style.height=gd(c,!0)},gd=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};var id=function(a,b,c){a.google_image_requests||(a.google_image_requests=[]);var d=a.document.createElement("img");c&&(d.referrerPolicy="no-referrer");d.src=b;a.google_image_requests.push(d)},jd=La(function(){return"referrerPolicy"in p.document.createElement("img")});var kd=!!window.google_async_iframe_id,Xc=kd&&window.parent||window,ld=function(){if(kd&&!Yc()){var a="."+Ac.domain;try{for(;2<a.split(".").length&&!Yc();)Ac.domain=a=a.substr(a.indexOf(".")+1),Xc=window.parent}catch(b){}Yc()||(Xc=window)}return Xc};cb(Wa(Xa("//fonts.googleapis.com/css")));var md=null;var nd=function(a,b,c){this.label=a;this.type=b;this.value=c;this.duration=0;this.uniqueId=Math.random();this.slotId=void 0};var od=p.performance,pd=!!(od&&od.mark&&od.measure&&od.clearMarks),qd=La(function(){var a;if(a=pd){var b;if(null===md){md="";try{a="";try{a=p.top.location.hash}catch(c){a=p.location.hash}a&&(md=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=md;a=!!b.indexOf&&0<=b.indexOf("1337")}return a}),rd=function(){var a=ld();this.a=[];this.g=a||p;var b=null;a&&(a.google_js_reporting_queue=a.google_js_reporting_queue||[],this.a=a.google_js_reporting_queue,b=a.google_measure_js_timing);this.f=qd()||(null!=
b?b:1>Math.random())},sd=function(a){a&&od&&qd()&&(od.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),od.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))};rd.prototype.start=function(a,b){if(!this.f)return null;var c=void 0===c?p:c;c=c.performance;(c=c&&c.now?c.now():null)||(c=(c=p.performance)&&c.now&&c.timing?Math.floor(c.now()+c.timing.navigationStart):v());a=new nd(a,b,c);b="goog_"+a.label+"_"+a.uniqueId+"_start";od&&qd()&&od.mark(b);return a};var td=new rd,ud=function(){var a=ld();a&&"undefined"!=typeof a.google_measure_js_timing&&!a.google_measure_js_timing&&(td.f=!1,td.a!=td.g.google_js_reporting_queue&&(qd()&&A(td.a,sd),td.a.length=0))};(function(){var a=ld();a&&a.document&&("complete"==a.document.readyState?ud():td.f&&Bc(a,"load",function(){ud()}))})();if(Ac&&Ac.URL){var vd=Ac.URL;if(vd&&vd){var wd=/.*[&#?]google_debug(=[^&]*)?(&.*)?$/;try{wd.exec(decodeURIComponent(vd))}catch(a){}}};var xd=function(a,b){this.j=Math.random()<a;this.s=b;this.g=null;this.o=""};xd.prototype.f=function(){return this.j&&null!==this.g?(this.s+"//pagead2.googlesyndication.com/pagead/gen_204/?id="+this.g+this.o).substring(0,2E3):""};var yd=function(){};w("studio.common.Environment",yd);yd.Type={LIVE:1,LOCAL:2,BROWSER:4,IN_APP:8,LAYOUTS_PREVIEW:16,CREATIVE_TOOLSET:32,RENDERING_STUDIO:64,RENDERING_TEST:128,PREVIEW:256};var zd=6,Bd=function(a){zd|=a;Ad(a)};yd.addType=Bd;yd.setType=function(a){zd=a|6;Ad(zd)};var Cd=function(a){return(zd&a)==a};yd.hasType=Cd;yd.getValue=function(){return zd};var Ad=function(a){Dd(a,2,1);Dd(a,1,2);Dd(a,4,8);Dd(a,8,4);Dd(a,128,64);Dd(a,64,128);Dd(a,256,2)},Dd=function(a,b,c){(a&b)==b&&(zd|=b,zd&=~c)};var Ed=function(a,b){this.f={};this.a=[];this.g=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 Ed)for(c=a.Aa(),d=0;d<c.length;d++)this.set(c[d],a.get(c[d]));else for(d in a)this.set(d,a[d])};Ed.prototype.ja=function(){Fd(this);for(var a=[],b=0;b<this.a.length;b++)a.push(this.f[this.a[b]]);return a};Ed.prototype.Aa=function(){Fd(this);return this.a.concat()};
var Fd=function(a){if(a.g!=a.a.length){for(var b=0,c=0;b<a.a.length;){var d=a.a[b];Object.prototype.hasOwnProperty.call(a.f,d)&&(a.a[c++]=d);b++}a.a.length=c}if(a.g!=a.a.length){var e={};for(c=b=0;b<a.a.length;)d=a.a[b],Object.prototype.hasOwnProperty.call(e,d)||(a.a[c++]=d,e[d]=1),b++;a.a.length=c}};Ed.prototype.get=function(a,b){return Object.prototype.hasOwnProperty.call(this.f,a)?this.f[a]:b};
Ed.prototype.set=function(a,b){Object.prototype.hasOwnProperty.call(this.f,a)||(this.g++,this.a.push(a));this.f[a]=b};var Gd=function(a){if(a.ja&&"function"==typeof a.ja)return a.ja();if("string"===typeof a)return a.split("");if(ra(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Oa(a)},Id=function(a){var b=Hd.a,c=Hd;if("function"==typeof a.every)return a.every(b,c);if(ra(a)||"string"===typeof a)return Ga(a,b,c);if(a.Aa&&"function"==typeof a.Aa)var d=a.Aa();else if(a.ja&&"function"==typeof a.ja)d=void 0;else if(ra(a)||"string"===typeof a){d=[];for(var e=a.length,f=0;f<e;f++)d.push(f)}else for(f in d=
[],e=0,a)d[e++]=f;e=Gd(a);f=e.length;for(var g=0;g<f;g++)if(!b.call(c,e[g],d&&d[g],a))return!1;return!0};var Jd=function(){this.f=new Ed},Kd=function(a){var b=typeof a;return"object"==b&&a||"function"==b?"o"+(a[ua]||(a[ua]=++va)):b.substr(0,1)+a};Jd.prototype.add=function(a){this.f.set(Kd(a),a)};Jd.prototype.a=function(a){a=Kd(a);return Object.prototype.hasOwnProperty.call(this.f.f,a)};Jd.prototype.ja=function(){return this.f.ja()};w("studio.common.Feature.Type",{Fd:1,SDK_EVENT_FORWARDER:2,RL_EVENT_FORWARDER:3});var Hd=new Jd;w("studio.common.Feature.hasFeature",function(a){return Hd.a(a)});w("studio.common.Feature.hasFeatures",function(a){return Id(a)});var Ld=function(a,b){this.a=a;this.f=null!=b?b:0};w("studio.common.Orientation",Ld);Ld.Mode={PORTRAIT:"portrait",LANDSCAPE:"landscape"};Ld.prototype.$b=function(){return this.a};Ld.prototype.getMode=Ld.prototype.$b;Ld.prototype.Xb=function(){return this.f};Ld.prototype.getDegrees=Ld.prototype.Xb;Ld.prototype.toString=function(){return this.a};var Md=function(a,b,c,d,e){if(!C(E(a))&&-1<a.indexOf("?")){e="number"===typeof e?e:1;for(var f=0;f<e;f++)b=encodeURIComponent(b)}c&&(a=c?a.replace("[rm_exit_id]",c):a,b=d?encodeURIComponent(d+b):b);return a+b};w("studio.common.Visibility.VISIBILITY_PARAMS_KEY","visibilityParams");w("studio.common.Visibility.VISIBILITY_FRACTION_KEY","visibilityFraction");w("studio.common.Visibility.VISIBLE_BOX_KEY","visibleBox");w("studio.common.Visibility.createVisibilityParams",function(a,b){return{visibilityFraction:a,visibleBox:b}});w("studio.common.WhitelistedExternalObject",{CREATIVETOOLSET_CONFIG:"creativeToolsetConfig",CREATIVETOOLSET_INTERNALS:"creativeToolsetInternals",CREATIVETOOLSET_INTERNALS_GEN204:"creativeToolsetInternalsGen204",CREATIVE_REPORTER:"creativeReporter",CREATIVE_INNOVATION:"gcreativeinnovation",GOOGLE_AFMA_SUPPORT:"googleAfmaSupport"});var I=function(){this.H=this.H;this.B=this.B};I.prototype.H=!1;I.prototype.dispose=function(){this.H||(this.H=!0,this.G())};I.prototype.G=function(){if(this.B)for(;this.B.length;)this.B.shift()()};var Nd=function(a){a&&"function"==typeof a.dispose&&a.dispose()},Od=function(a){for(var b=0,c=arguments.length;b<c;++b){var d=arguments[b];ra(d)?Od.apply(null,d):Nd(d)}};var Pd=!F||9<=Number(rc),Qd=F&&!qc("9"),Rd=function(){if(!p.addEventListener||!Object.defineProperty)return!1;var a=!1,b=Object.defineProperty({},"passive",{get:function(){a=!0}});try{p.addEventListener("test",r,b),p.removeEventListener("test",r,b)}catch(c){}return a}();var J=function(a,b){this.type=a;this.a=this.target=b;this.ib=!0};J.prototype.j=function(){this.ib=!1};var Td=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.state=null;this.pointerId=0;this.pointerType="";this.f=null;if(a){var c=this.type=a.type,d=a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.a=b;(b=a.relatedTarget)?hc&&(cc(b,"nodeName")||(b=null)):"mouseover"==c?b=a.fromElement:
"mouseout"==c&&(b=a.toElement);this.relatedTarget=b;d?(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.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.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="string"===typeof a.pointerType?a.pointerType:Sd[a.pointerType]||"";this.state=a.state;this.f=a;a.defaultPrevented&&this.j()}};x(Td,J);var Sd={2:"touch",3:"pen",4:"mouse"};Td.prototype.j=function(){Td.N.j.call(this);var a=this.f;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Qd)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Ud="closure_listenable_"+(1E6*Math.random()|0),Vd=function(a){return!(!a||!a[Ud])},Wd=0;var Xd=function(a,b,c,d,e){this.listener=a;this.a=null;this.src=b;this.type=c;this.capture=!!d;this.Ba=e;this.key=++Wd;this.ra=this.ya=!1},Yd=function(a){a.ra=!0;a.listener=null;a.a=null;a.src=null;a.Ba=null};var Zd=function(a){this.src=a;this.a={};this.f=0};Zd.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.a[f];a||(a=this.a[f]=[],this.f++);var g=$d(a,b,d,e);-1<g?(b=a[g],c||(b.ya=!1)):(b=new Xd(b,this.src,f,!!d,e),b.ya=c,a.push(b));return b};
var ae=function(a,b){var c=b.type;c in a.a&&B(a.a[c],b)&&(Yd(b),0==a.a[c].length&&(delete a.a[c],a.f--))},be=function(a,b,c,d,e){a=a.a[b.toString()];b=-1;a&&(b=$d(a,c,d,e));return-1<b?a[b]:null},$d=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.ra&&f.listener==b&&f.capture==!!c&&f.Ba==d)return e}return-1};var ce="closure_lm_"+(1E6*Math.random()|0),de={},ee=0,ge=function(a,b,c,d,e){if(d&&d.once)return fe(a,b,c,d,e);if(t(b)){for(var f=0;f<b.length;f++)ge(a,b[f],c,d,e);return null}c=he(c);return Vd(a)?a.j.add(String(b),c,!1,ta(d)?!!d.capture:!!d,e):ie(a,b,c,!1,d,e)},ie=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=ta(e)?!!e.capture:!!e,k=je(a);k||(a[ce]=k=new Zd(a));c=k.add(b,c,d,g,f);if(c.a)return c;d=ke();c.a=d;d.src=a;d.listener=c;if(a.addEventListener)Rd||(e=g),void 0===e&&(e=
!1),a.addEventListener(b.toString(),d,e);else if(a.attachEvent)a.attachEvent(le(b.toString()),d);else if(a.addListener&&a.removeListener)a.addListener(d);else throw Error("addEventListener and attachEvent are unavailable.");ee++;return c},ke=function(){var a=me,b=Pd?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},fe=function(a,b,c,d,e){if(t(b)){for(var f=0;f<b.length;f++)fe(a,b[f],c,d,e);return null}c=he(c);return Vd(a)?a.j.add(String(b),
c,!0,ta(d)?!!d.capture:!!d,e):ie(a,b,c,!0,d,e)},ne=function(a,b,c,d,e){if(t(b))for(var f=0;f<b.length;f++)ne(a,b[f],c,d,e);else d=ta(d)?!!d.capture:!!d,c=he(c),Vd(a)?(a=a.j,b=String(b).toString(),b in a.a&&(f=a.a[b],c=$d(f,c,d,e),-1<c&&(Yd(f[c]),Array.prototype.splice.call(f,c,1),0==f.length&&(delete a.a[b],a.f--)))):a&&(a=je(a))&&(c=be(a,b,c,d,e))&&oe(c)},oe=function(a){if("number"!==typeof a&&a&&!a.ra){var b=a.src;if(Vd(b))ae(b.j,a);else{var c=a.type,d=a.a;b.removeEventListener?b.removeEventListener(c,
d,a.capture):b.detachEvent?b.detachEvent(le(c),d):b.addListener&&b.removeListener&&b.removeListener(d);ee--;(c=je(b))?(ae(c,a),0==c.f&&(c.src=null,b[ce]=null)):Yd(a)}}},le=function(a){return a in de?de[a]:de[a]="on"+a},qe=function(a,b,c,d){var e=!0;if(a=je(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.ra&&(f=pe(f,d),e=e&&!1!==f)}return e},pe=function(a,b){var c=a.listener,d=a.Ba||a.src;a.ya&&oe(a);return c.call(d,b)},me=function(a,b){if(a.ra)return!0;
if(!Pd){var c=b||q("window.event");b=new Td(c,this);var d=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var e=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(g){e=!0}if(e||void 0==c.returnValue)c.returnValue=!0}c=[];for(e=b.a;e;e=e.parentNode)c.push(e);a=a.type;for(e=c.length-1;0<=e;e--){b.a=c[e];var f=qe(c[e],a,!0,b);d=d&&f}for(e=0;e<c.length;e++)b.a=c[e],f=qe(c[e],a,!1,b),d=d&&f}return d}return pe(a,new Td(b,this))},je=function(a){a=a[ce];return a instanceof Zd?a:null},re="__closure_events_fn_"+
(1E9*Math.random()>>>0),he=function(a){if(sa(a))return a;a[re]||(a[re]=function(b){return a.handleEvent(b)});return a[re]};var se=function(a){I.call(this);this.f=a;this.a={}};x(se,I);
var te=[],K=function(a,b,c,d){t(c)||(c&&(te[0]=c.toString()),c=te);for(var e=0;e<c.length;e++){var f=ge(b,c[e],d||a.handleEvent,!1,a.f||a);if(!f)break;a.a[f.key]=f}},ue=function(a,b,c,d,e,f){if(t(c))for(var g=0;g<c.length;g++)ue(a,b,c[g],d,e,f);else(b=fe(b,c,d||a.handleEvent,e,f||a.f||a))&&(a.a[b.key]=b)},ve=function(a,b,c,d,e,f){if(t(c))for(var g=0;g<c.length;g++)ve(a,b,c[g],d,e,f);else d=d||a.handleEvent,e=ta(e)?!!e.capture:!!e,f=f||a.f||a,d=he(d),e=!!e,c=Vd(b)?be(b.j,String(c),d,e,f):b?(b=je(b))?
be(b,c,d,e,f):null:null,c&&(oe(c),delete a.a[c.key])},we=function(a){Ma(a.a,function(b,c){this.a.hasOwnProperty(c)&&oe(b)},a);a.a={}};se.prototype.G=function(){se.N.G.call(this);we(this)};se.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var L=function(){I.call(this);this.j=new Zd(this);this.la=this;this.U=null};x(L,I);L.prototype[Ud]=!0;h=L.prototype;h.Qa=function(a){this.U=a};h.addEventListener=function(a,b,c,d){ge(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){ne(this,a,b,c,d)};
h.dispatchEvent=function(a){var b=this.U;if(b){var c=[];for(var d=1;b;b=b.U)c.push(b),++d}b=this.la;d=a.type||a;if("string"===typeof a)a=new J(a,b);else if(a instanceof J)a.target=a.target||b;else{var e=a;a=new J(d,b);Ra(a,e)}e=!0;if(c)for(var f=c.length-1;0<=f;f--){var g=a.a=c[f];e=xe(g,d,!0,a)&&e}g=a.a=b;e=xe(g,d,!0,a)&&e;e=xe(g,d,!1,a)&&e;if(c)for(f=0;f<c.length;f++)g=a.a=c[f],e=xe(g,d,!1,a)&&e;return e};
h.G=function(){L.N.G.call(this);if(this.j){var a=this.j,b=0,c;for(c in a.a){for(var d=a.a[c],e=0;e<d.length;e++)++b,Yd(d[e]);delete a.a[c];a.f--}}this.U=null};var xe=function(a,b,c,d){b=a.j.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.ra&&g.capture==c){var k=g.listener,l=g.Ba||g.src;g.ya&&ae(a.j,g);e=!1!==k.call(l,d)&&e}}return e&&0!=d.ib};var ye=function(a,b){this.g=a;this.j=b;this.f=0;this.a=null};ye.prototype.get=function(){if(0<this.f){this.f--;var a=this.a;this.a=a.next;a.next=null}else a=this.g();return a};var ze=function(a,b){a.j(b);100>a.f&&(a.f++,b.next=a.a,a.a=b)};var Ae=function(a){p.setTimeout(function(){throw a;},0)},Be,Ce=function(){var a=p.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!D("Presto")&&(a=function(){var e=H(document,"IFRAME");e.style.display="none";Xb(e);document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.write(Mb(Sb));e.close();var g="callImmediate"+Math.random(),k="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;
e=u(function(l){if(("*"==k||l.origin==k)&&l.data==g)this.port1.onmessage()},this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,k)}}});if("undefined"!==typeof a&&!D("Trident")&&!D("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.Ta;c.Ta=null;e()}};return function(e){d.next={Ta:e};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in H(document,"SCRIPT")?function(e){var f=
H(document,"SCRIPT");f.onreadystatechange=function(){f.onreadystatechange=null;f.parentNode.removeChild(f);f=null;e();e=null};document.documentElement.appendChild(f)}:function(e){p.setTimeout(e,0)}};var De=function(){this.f=this.a=null},Fe=new ye(function(){return new Ee},function(a){a.reset()});De.prototype.add=function(a,b){var c=Fe.get();c.set(a,b);this.f?this.f.next=c:this.a=c;this.f=c};var He=function(){var a=Ge,b=null;a.a&&(b=a.a,a.a=a.a.next,a.a||(a.f=null),b.next=null);return b},Ee=function(){this.next=this.f=this.a=null};Ee.prototype.set=function(a,b){this.a=a;this.f=b;this.next=null};Ee.prototype.reset=function(){this.next=this.f=this.a=null};var Le=function(a,b){Ie||Je();Ke||(Ie(),Ke=!0);Ge.add(a,b)},Ie,Je=function(){if(p.Promise&&p.Promise.resolve){var a=p.Promise.resolve(void 0);Ie=function(){a.then(Me)}}else Ie=function(){var b=Me;!sa(p.setImmediate)||p.Window&&p.Window.prototype&&!D("Edge")&&p.Window.prototype.setImmediate==p.setImmediate?(Be||(Be=Ce()),Be(b)):p.setImmediate(b)}},Ke=!1,Ge=new De,Me=function(){for(var a;a=He();){try{a.a.call(a.f)}catch(b){Ae(b)}ze(Fe,a)}Ke=!1};var Ne=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var M=function(a,b){this.a=0;this.s=void 0;this.j=this.f=this.g=null;this.o=this.B=!1;if(a!=r)try{var c=this;a.call(b,function(d){Oe(c,2,d)},function(d){Oe(c,3,d)})}catch(d){Oe(this,3,d)}},Pe=function(){this.next=this.context=this.f=this.j=this.a=null;this.g=!1};Pe.prototype.reset=function(){this.context=this.f=this.j=this.a=null;this.g=!1};
var Qe=new ye(function(){return new Pe},function(a){a.reset()}),Re=function(a,b,c){var d=Qe.get();d.j=a;d.f=b;d.context=c;return d},Te=function(a,b,c){Se(a,b,c,null)||Le(ya(b,a))},Ue=function(a){return new M(function(b,c){var d=a.length,e=[];if(d)for(var f=function(m,y){d--;e[m]=y;0==d&&b(e)},g=function(m){c(m)},k=0,l;k<a.length;k++)l=a[k],Te(l,ya(f,k),g);else b(e)})},We=function(){var a,b,c=new M(function(d,e){a=d;b=e});return new Ve(c,a,b)};
M.prototype.then=function(a,b,c){return Xe(this,sa(a)?a:null,sa(b)?b:null,c)};M.prototype.$goog_Thenable=!0;var Ze=function(a,b,c){b=Re(b,b,c);b.g=!0;Ye(a,b)};M.prototype.cancel=function(a){if(0==this.a){var b=new $e(a);Le(function(){af(this,b)},this)}};
var af=function(a,b){if(0==a.a)if(a.g){var c=a.g;if(c.f){for(var d=0,e=null,f=null,g=c.f;g&&(g.g||(d++,g.a==a&&(e=g),!(e&&1<d)));g=g.next)e||(f=g);e&&(0==c.a&&1==d?af(c,b):(f?(d=f,d.next==c.j&&(c.j=d),d.next=d.next.next):bf(c),cf(c,e,3,b)))}a.g=null}else Oe(a,3,b)},Ye=function(a,b){a.f||2!=a.a&&3!=a.a||df(a);a.j?a.j.next=b:a.f=b;a.j=b},Xe=function(a,b,c,d){var e=Re(null,null,null);e.a=new M(function(f,g){e.j=b?function(k){try{var l=b.call(d,k);f(l)}catch(m){g(m)}}:f;e.f=c?function(k){try{var l=c.call(d,
k);void 0===l&&k instanceof $e?g(k):f(l)}catch(m){g(m)}}:g});e.a.g=a;Ye(a,e);return e.a};M.prototype.A=function(a){this.a=0;Oe(this,2,a)};M.prototype.C=function(a){this.a=0;Oe(this,3,a)};
var Oe=function(a,b,c){0==a.a&&(a===c&&(b=3,c=new TypeError("Promise cannot resolve to itself")),a.a=1,Se(c,a.A,a.C,a)||(a.s=c,a.a=b,a.g=null,df(a),3!=b||c instanceof $e||ef(a,c)))},Se=function(a,b,c,d){if(a instanceof M)return Ye(a,Re(b||r,c||null,d)),!0;if(Ne(a))return a.then(b,c,d),!0;if(ta(a))try{var e=a.then;if(sa(e))return ff(a,e,b,c,d),!0}catch(f){return c.call(d,f),!0}return!1},ff=function(a,b,c,d,e){var f=!1,g=function(l){f||(f=!0,c.call(e,l))},k=function(l){f||(f=!0,d.call(e,l))};try{b.call(a,
g,k)}catch(l){k(l)}},df=function(a){a.B||(a.B=!0,Le(a.v,a))},bf=function(a){var b=null;a.f&&(b=a.f,a.f=b.next,b.next=null);a.f||(a.j=null);return b};M.prototype.v=function(){for(var a;a=bf(this);)cf(this,a,this.a,this.s);this.B=!1};
var cf=function(a,b,c,d){if(3==c&&b.f&&!b.g)for(;a&&a.o;a=a.g)a.o=!1;if(b.a)b.a.g=null,gf(b,c,d);else try{b.g?b.j.call(b.context):gf(b,c,d)}catch(e){hf.call(null,e)}ze(Qe,b)},gf=function(a,b,c){2==b?a.j.call(a.context,c):a.f&&a.f.call(a.context,c)},ef=function(a,b){a.o=!0;Le(function(){a.o&&hf.call(null,b)})},hf=Ae,$e=function(a){z.call(this,a)};x($e,z);$e.prototype.name="cancel";var Ve=function(a,b,c){this.a=a;this.resolve=b;this.reject=c};var jf=function(a,b){L.call(this);this.f=a||1;this.a=b||p;this.g=u(this.cd,this);this.o=v()};x(jf,L);h=jf.prototype;h.qa=!1;h.aa=null;h.setInterval=function(a){this.f=a;this.aa&&this.qa?(this.stop(),this.start()):this.aa&&this.stop()};h.cd=function(){if(this.qa){var a=v()-this.o;0<a&&a<.8*this.f?this.aa=this.a.setTimeout(this.g,this.f-a):(this.aa&&(this.a.clearTimeout(this.aa),this.aa=null),this.dispatchEvent("tick"),this.qa&&(this.stop(),this.start()))}};
h.start=function(){this.qa=!0;this.aa||(this.aa=this.a.setTimeout(this.g,this.f),this.o=v())};h.stop=function(){this.qa=!1;this.aa&&(this.a.clearTimeout(this.aa),this.aa=null)};h.G=function(){jf.N.G.call(this);this.stop();delete this.a};var kf=function(a,b,c){if(sa(a))c&&(a=u(a,c));else if(a&&"function"==typeof a.handleEvent)a=u(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:p.setTimeout(a,b||0)};/*
 Portions of this code are from MochiKit, received by
 The Closure Authors under the MIT license. All other code is Copyright
 2005-2009 The Closure Authors. All Rights Reserved.
*/
var mf=function(a){var b=lf;this.o=[];this.D=b;this.H=a||null;this.j=this.a=!1;this.g=void 0;this.A=this.F=this.s=!1;this.B=0;this.f=null;this.v=0};mf.prototype.cancel=function(a){if(this.a)this.g instanceof mf&&this.g.cancel();else{if(this.f){var b=this.f;delete this.f;a?b.cancel(a):(b.v--,0>=b.v&&b.cancel())}this.D?this.D.call(this.H,this):this.A=!0;this.a||(a=new nf(this),of(this),pf(this,!1,a))}};mf.prototype.C=function(a,b){this.s=!1;pf(this,a,b)};
var pf=function(a,b,c){a.a=!0;a.g=c;a.j=!b;qf(a)},of=function(a){if(a.a){if(!a.A)throw new rf(a);a.A=!1}},sf=function(a,b,c,d){a.o.push([b,c,d]);a.a&&qf(a)};mf.prototype.then=function(a,b,c){var d,e,f=new M(function(g,k){d=g;e=k});sf(this,d,function(g){g instanceof nf?f.cancel():e(g)});return f.then(a,b,c)};mf.prototype.$goog_Thenable=!0;
var tf=function(a){return Fa(a.o,function(b){return sa(b[1])})},qf=function(a){if(a.B&&a.a&&tf(a)){var b=a.B,c=uf[b];c&&(p.clearTimeout(c.a),delete uf[b]);a.B=0}a.f&&(a.f.v--,delete a.f);b=a.g;for(var d=c=!1;a.o.length&&!a.s;){var e=a.o.shift(),f=e[0],g=e[1];e=e[2];if(f=a.j?g:f)try{var k=f.call(e||a.H,b);void 0!==k&&(a.j=a.j&&(k==b||k instanceof Error),a.g=b=k);if(Ne(b)||"function"===typeof p.Promise&&b instanceof p.Promise)d=!0,a.s=!0}catch(l){b=l,a.j=!0,tf(a)||(c=!0)}}a.g=b;d&&(k=u(a.C,a,!0),d=
u(a.C,a,!1),b instanceof mf?(sf(b,k,d),b.F=!0):b.then(k,d));c&&(b=new vf(b),uf[b.a]=b,a.B=b.a)},rf=function(){z.call(this)};x(rf,z);rf.prototype.message="Deferred has already fired";rf.prototype.name="AlreadyCalledError";var nf=function(){z.call(this)};x(nf,z);nf.prototype.message="Deferred was canceled";nf.prototype.name="CanceledError";var vf=function(a){this.a=p.setTimeout(u(this.g,this),0);this.f=a};vf.prototype.g=function(){delete uf[this.a];throw this.f;};var uf={};w("studio.common.gdn.Environment.EngagementPhase",{INVITATION:0,ENGAGED:1,INVITATION_LARGE_CANVAS:2});var wf=function(a){this.a=a};w("studio.common.mde.Direction",wf);wf.Corner={Gd:0,Hd:1,fd:2,gd:3};wf.prototype.toString=function(){return(this.a&2?"b":"t")+(this.a&1?"r":"l")};var xf=function(a,b,c,d,e){this.name=a;this.f=b;this.type=c;this.j=d;this.B=e;this.chargeable=!1},yf=function(a){switch(a){case "Exit":return"Exit";case "Count":return"Counter";case "Start":case "Stop":return"Timer";default:throw"Unsupported event action";}};var zf={DISPLAY_TIMER:{id:null,type:"Timer",J:!0,K:!0},INTERACTION_TIMER:{id:null,type:"Timer",J:!0,K:!0},INTERACTIVE_IMPRESSION:{id:null,type:"Counter",J:!0,K:!1},MANUAL_CLOSE:{id:null,type:"Counter",J:!0,K:!0},EXPAND_TIMER:{id:null,type:"Timer",J:!0,K:!1},FULL_SCREEN:{id:null,type:"Counter",J:!0,K:!0},SCROLL:{id:null,type:"Counter",J:!0,K:!0},LARGE_SCROLL:{id:null,type:"Counter",J:!0,K:!0},SMALL_SCROLL:{id:null,type:"Counter",J:!0,K:!0},ENGAGEMENT:{id:null,type:"Counter",J:!0,K:!0},VIDEO_PLAY:{id:null,
type:"Counter",J:!0,K:!1},VIDEO_VIEW_TIMER:{id:null,type:"Timer",J:!0,K:!0},VIDEO_COMPLETE:{id:null,type:"Counter",J:!0,K:!1},VIDEO_INTERACTION:{id:null,type:"Counter",J:!0,K:!0},VIDEO_PAUSE:{id:null,type:"Counter",J:!0,K:!0},VIDEO_MUTE:{id:null,type:"Counter",J:!0,K:!0},VIDEO_REPLAY:{id:null,type:"Counter",J:!0,K:!0},VIDEO_FIRST_QUARTILE:{id:null,type:"Counter",J:!0,K:!0},VIDEO_MIDPOINT:{id:null,type:"Counter",J:!0,K:!0},VIDEO_THIRD_QUARTILE:{id:null,type:"Counter",J:!0,K:!0},VIDEO_STOP:{id:null,
type:"Counter",J:!0,K:!0},VIDEO_UNMUTE:{id:null,type:"Counter",J:!0,K:!0},BACKUP_IMAGE_IMPRESSION:{id:null,type:"Counter",J:!0,K:!0},HTML5_CREATIVE_IMPRESSION:{id:null,type:"Counter",J:!0,K:!0}},Af=function(a){var b=zf[a];return b?new xf(a,b.id,b.type,b.J,b.K):null};var Bf={3:"INTERACTION_TIMER",EVENT_USER_INTERACTION:"INTERACTIVE_IMPRESSION",EVENT_MANUAL_CLOSE:"MANUAL_CLOSE",EVENT_VIDEO_PLAY:"VIDEO_PLAY",EVENT_VIDEO_VIEW_TIMER:"VIDEO_VIEW_TIMER",EVENT_VIDEO_COMPLETE:"VIDEO_COMPLETE",EVENT_VIDEO_INTERACTION:"VIDEO_INTERACTION",EVENT_VIDEO_PAUSE:"VIDEO_PAUSE",EVENT_VIDEO_MUTE:"VIDEO_MUTE",EVENT_VIDEO_REPLAY:"VIDEO_REPLAY",EVENT_VIDEO_FIRSTQUARTILE:"VIDEO_FIRST_QUARTILE",EVENT_VIDEO_MIDPOINT:"VIDEO_MIDPOINT",EVENT_VIDEO_THIRDQUARTILE:"VIDEO_THIRD_QUARTILE",EVENT_VIDEO_STOP:"VIDEO_STOP",
EVENT_VIDEO_UNMUTE:"VIDEO_UNMUTE",EVENT_FULLSCREEN:"FULL_SCREEN",DISPLAY_TIMER:"DISPLAY_TIMER",INTERACTION_TIMER:"INTERACTION_TIMER",INTERACTIVE_IMPRESSION:"INTERACTIVE_IMPRESSION",MANUAL_CLOSE:"MANUAL_CLOSE",EXPAND_TIMER:"EXPAND_TIMER",FULL_SCREEN:"FULL_SCREEN",SCROLL:"SCROLL",LARGE_SCROLL:"LARGE_SCROLL",SMALL_SCROLL:"SMALL_SCROLL",ENGAGEMENT:"ENGAGEMENT",VIDEO_PLAY:"VIDEO_PLAY",VIDEO_VIEW_TIMER:"VIDEO_VIEW_TIMER",VIDEO_COMPLETE:"VIDEO_COMPLETE",VIDEO_INTERACTION:"VIDEO_INTERACTION",VIDEO_PAUSE:"VIDEO_PAUSE",
VIDEO_MUTE:"VIDEO_MUTE",VIDEO_REPLAY:"VIDEO_REPLAY",VIDEO_FIRST_QUARTILE:"VIDEO_FIRST_QUARTILE",VIDEO_MIDPOINT:"VIDEO_MIDPOINT",VIDEO_THIRD_QUARTILE:"VIDEO_THIRD_QUARTILE",VIDEO_STOP:"VIDEO_STOP",VIDEO_UNMUTE:"VIDEO_UNMUTE",BACKUP_IMAGE_IMPRESSION:"BACKUP_IMAGE_IMPRESSION",HTML5_CREATIVE_IMPRESSION:"HTML5_CREATIVE_IMPRESSION"};var Cf=function(a){return"string"==typeof a.className?a.className:a.getAttribute&&a.getAttribute("class")||""};var Gf=function(a){var b={},c=b.document||document,d=bb(a).toString(),e=H(document,"SCRIPT"),f={jb:e,qb:void 0},g=new mf(f),k=null,l=null!=b.timeout?b.timeout:5E3;0<l&&(k=window.setTimeout(function(){Df(e,!0);var m=new Ef(1,"Timeout reached for loading script "+d);of(g);pf(g,!1,m)},l),f.qb=k);e.onload=e.onreadystatechange=function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(Df(e,b.Nd||!1,k),of(g),pf(g,!0,null))};e.onerror=function(){Df(e,!0,k);var m=new Ef(0,"Error while loading script "+
d);of(g);pf(g,!1,m)};f=b.attributes||{};Ra(f,{type:"text/javascript",charset:"UTF-8"});Oc(e,f);Yb(e,a);Ff(c).appendChild(e);return g},Ff=function(a){var b=(a||document).getElementsByTagName("HEAD");return b&&0!=b.length?b[0]:a.documentElement},lf=function(){if(this&&this.jb){var a=this.jb;a&&"SCRIPT"==a.tagName&&Df(a,!0,this.qb)}},Df=function(a,b,c){null!=c&&p.clearTimeout(c);a.onload=r;a.onerror=r;a.onreadystatechange=r;b&&window.setTimeout(function(){Qc(a)},0)},Ef=function(a,b){var c="Jsloader error (code #"+
a+")";b&&(c+=": "+b);z.call(this,c);this.code=a};x(Ef,z);var Hf=function(a,b,c,d,e){this.B=a;this.a="";b&&(this.a=/^(http[s]?:)?\/\//.test(b)?b:"//pagead2.googlesyndication.com/activeview?avi="+b);this.o=c||"";this.g=!1;this.j=d||"//www.googletagservices.com/activeview/js/current/lidar.js";this.f=e||null},If=function(a,b){b.setAttribute("id","DfaVisibilityIdentifier_"+v());if(b.classList)b.classList.add("GoogleActiveViewClass");else{if(b.classList)var c=b.classList.contains("GoogleActiveViewClass");else c=b.classList?b.classList:Cf(b).match(/\S+/g)||[],
c=0<=Ca(c,"GoogleActiveViewClass");c||(c=Cf(b),c+=0<c.length?" GoogleActiveViewClass":"GoogleActiveViewClass","string"==typeof b.className?b.className=c:b.setAttribute&&b.setAttribute("class",c))}b._avicxn_=a.a;b._avm_=a.o;if(a.f){b.classList.add(a.f.active_view_class_name);for(var d in a.f)a.f.hasOwnProperty(d)&&0===d.indexOf("data-google-av")&&b.setAttribute(d,a.f[d])}a.g||(Gf(Sc(a.j)),a.g=!0)},Jf=function(a){a.a&&N(a.B,a.a+"&id=lidar2&r=w&rs=5r&v=0")};var O=function(a,b,c){J.call(this,a);this.data=c};x(O,J);var Kf=function(a,b,c,d){J.call(this,a);this.f=b;this.B=c;this.C=!!d};x(Kf,J);var Lf=function(a,b,c,d){"Count"==b&&(d=!0);Kf.call(this,a,b,!0,d);this.g=c};x(Lf,Kf);var Mf=function(a,b,c,d){Lf.call(this,a,b,c);this.videoName=d};x(Mf,Lf);var Nf=function(a,b,c,d,e){Kf.call(this,a,b,!1,e);this.o=c;this.A=d};x(Nf,Kf);var Of=function(a,b){J.call(this,"reportCustomVariable");this.f=a;this.g=b};x(Of,J);
var Pf=function(a,b,c,d,e,f){Nf.call(this,a,"Exit",b,!0);this.s="null"!=c?c:null;this.g="null"!=d?d:null;this.v=e;this.log=f};x(Pf,Nf);var Qf=function(a){J.call(this,"invokeExternalJSFunction");this.f=a};x(Qf,J);var Rf=function(a){J.call(this,"setThrottlingWindow");this.f=a};x(Rf,J);var Sf=function(a,b,c){J.call(this,"setTimerAdjustment");this.o=a;this.f=b;this.g=c};x(Sf,J);var Tf=function(a){J.call(this,"registerChargeableEventName");this.f=a};x(Tf,J);
var Uf=function(a){J.call(this,"updateVideoProgress");this.duration=a};x(Uf,J);var Xf=function(a,b){switch(a){case "logEvent":return Vf(b);case "logVideoEvent":return new Mf("logVideoEvent",b[0],Bf[b[2]],b[1]);case "updateVideoProgress":return new Uf(b[1],b[2]);case "logEventFlushCounters":return b[0]="Exit",Vf(b,!0);case "logExitFlushEventsOpenPopup":return Wf(b,!0);case "launchExit":return Wf(b,!1);case "recordTimings":return new O("recordTimings",null,b[0]);case "reportCustomVariable":return new Of(b[0],b[1]);case "flushCounters":return new J("flushCounters");case "conduitInitialized":return a=
b[1]&&t(b[1])&&0!=b[1].length?b[1]:null,new O("conduitInitialized",null,{features:a});case "expandAsset":return new O("expandAsset",null,1<b.length?b[1]:null);case "expandRequested":return new O("expandRequested",null,1<b.length?b[1]:null);case "expandFinished":case "collapseAsset":case "collapseRequested":case "collapseFinished":case "tellAssetHide":return new O(a);case "tellCompanionAssetHide":return new O("tellCompanionAssetHide",b[0]);case "tellCompanionAssetShow":return new O("tellCompanionAssetShow",
b[0]);case "invokeExternalJSFunction":return new Qf(b[0]);case "setThrottlingWindow":return new Rf(parseFloat(b[0]));case "setTimerAdjustment":return new Sf(Bf[b[0]],parseFloat(b[1]),parseFloat(b[2]));case "registerChargeableEventName":return new Tf(b[0]);case "fullscreenExpandRequested":return new O(a,null,b);case "setResponsiveBehavior":return new O(a,null,{behavior:b[0],state:b[1]});case "responsiveResize":return new O(a,null,{width:b[0],height:b[1]});case "isFullscreenSupported":case "queryFullscreenDimensions":case "fullscreenExpandFinished":case "fullscreenCollapseRequested":case "fullscreenCollapseFinished":return new O(a);
case "AD_CLICKED":return new J("AD_CLICKED");case "registerEventTypeListenerForType":return new O(a,null,{type:b[0],Od:b[1]});case "getHostpageFeatures":return new O("getHostpageFeatures",null,{type:b[0]})}return null},Vf=function(a,b){var c=a[0],d=a[1],e=Yf(a[3]);return Yf(a[4])?new Nf("logEvent",c,d,e,b):new Lf("logEvent",c,Bf[d],b)},Wf=function(a,b){return new Pf("logExitFlushEventsOpenPopup",a[1],a[4],a[5]||null,a[6],b)},Yf=function(a){return null!=a?"true"==a.toString().toLowerCase():!1};var Zf=function(a){a=a?a.toLowerCase():"";switch(a){case "normal":return"normal";case "lightbox":return"lightbox";case "push_down":return"push_down"}return null};var $f=function(a){this.a=a},ag={Id:"transparent",Ad:"opaque",Jd:"window"},bg=function(a){return a&&Pa(ag,a.toLowerCase())?a.toLowerCase():null};var dg=function(a){this.C=a.eventReportingUrl||"";this.V=a.clickUrl||"";this.A=a.clickUrlTimesToEscape||"1";this.a=a.clickEventTagUrl||"";this.j=a.impressionUrl||"";this.F=a.geoData||"";this.U=a.siteName||"";this.R=a.siteId||"";this.B=a.adId||"";this.v=a.buyId||"";this.creativeId=a.creativeId||"";this.L=a.placementId||"";this.s=a.advertiserId||"";this.I=a.keyValueOrdinal||"";this.P=a.renderingVersion||"";this.O=a.renderingId||"";this.randomNumber=a.randomNumber||"";this.S=a.stringReportingUrl||"";
this.g=a.bookingTimeMetaData||{};this.X=new cg(a.tag||{});this.H=a.exitSuffix||"";this.W=a.dynamicData||"";this.D=a.exitUrlPatternMacroValues;this.f=a.placementDimensions||{w:"0",h:"0"};this.Z=a.swiffyRuntimeUrl||"";this.o=a.activeViewClkStr||"";this.T=a.activeViewUrlPrefix||""},cg=function(a){this.f=a.adContainerElementId;this.j=a.hideObjects;this.a=a.runtimeMetaData||{};this.expansionMode=Zf(a.expansionMode);this.g=!!a.renderFloatInplace};var eg=function(a,b){this.a=a;this.expansionMode=b;this.f="push_down"==b};var fg=function(a,b,c){this.a=a;this.j=b;this.g=-1<b;this.endTime=c;this.f=-1<c};var gg=function(a,b){this.f=a;this.a=C(E(b))?"0_0":b};var hg=function(){};var ig=function(){this.f=this.a=!1};var kg=function(a,b){this.top=parseInt(a,10);this.f=jg(a);this.left=parseInt(b,10);this.a=jg(b)},jg=function(a){return Ha(lg,function(b){var c=String(b).toLowerCase();b=String(a.substr(a.length-b.length,b.length)).toLowerCase();return 0==(c<b?-1:c==b?0:1)})||"px"},lg=["px","%","pxc"];var mg=function(a){a=ba(a.renderers);for(var b=a.next();!b.done;b=a.next());};var ng={kd:"ad_container_id",ud:"hideObjects",Cd:"mtfTop",Bd:"mtfLeft",Md:"zindex",md:"mtfDuration",Kd:"wmode",Dd:"preferFlash",qd:"as_kw",rd:"as_lat",sd:"as_lng",vd:"mtfIFPath",pd:"expansionMode",Ed:"mtfRenderFloatInplace",Ld:"tryToWriteHtmlInline",ld:"debugjs",yd:"dcapp",hd:"breakoutiframe",zd:"inMobileAdSdk"};(function(){var a={};Ma(ng,function(b){a[b.toLowerCase()]=b});return a})();var og=function(a,b,c,d,e){this.id=a;this.o=b;this.g=c;this.H="BANNER"==c||"EXPANDABLE"==c||"VPAID_LINEAR"==c||"VPAID_NON_LINEAR"==c;this.width=d.width;this.height=d.height;this.s=this.A=null;this.I=e;this.content=null;this.F=0;this.layoutsConfig=this.j=this.D=this.C=this.a=this.f=this.B=this.v=null},pg={adContainerElementId:"ad_container_id",zIndex:"zindex",expansionMode:"expansionMode",hideObjects:"hideObjects",duration:"mtfDuration",wmode:"wmode",top:"mtfTop",left:"mtfLeft",renderFloatInplace:"mtfRenderFloatInplace"},
qg=function(a){var b=a.a&&a.a.a;if(b){var c=b.left,d=b.top;3>=Math.abs(c)&&(b.left=0);3>=Math.abs(d)&&(b.top=0);3>=Math.abs(c+b.width-a.width)&&(0==b.left?b.width=a.width:b.left=a.width-b.width);3>=Math.abs(d+b.height-a.height)&&(0==b.top?b.height=a.height:b.top=a.height-b.height)}};og.prototype.toString=function(){return"[PrimaryFile "+this.id+"]"};
var rg=function(a){return"BACKUP_IMAGE"!=a.g&&"PRE_LOADER"!=a.g},sg=function(a,b){var c=b.zindex;null!=c&&(c=parseInt(c,10),isNaN(c)||(a.F=c));c=b.expansionMode;null==c||C(E(c))||null===a.a||(c=Zf(c),null!==c&&(a.a.expansionMode=c));c=b.hideObjects;null==c||C(E(c))||null===a.j||(a.j.a="true"==c);if(null!==a.f){c=parseInt(b.mtfDuration,10);isNaN(c)||(a.f.endTime=c,a.f.f=!0);c=[];var d=b.mtfLeft;c[0]=b.mtfTop;c[1]=d;2<=c.length&&(d=parseInt(c[0],10),isNaN(d)||(a.f.a.top=d,a.f.a.f=jg(c[0])),d=parseInt(c[1],
10),isNaN(d)||(a.f.a.left=d,a.f.a.a=jg(c[1])))}c=b.mtfRenderFloatInplace;if(a.H||"true"==c)c=b.ad_container_id,C(E(c))||(a.s=c);a.v&&(b=bg(b.wmode),null!==b&&(a.v.a=b))},tg=function(a){return"number"===typeof a&&!isNaN(a)};var ug=function(a,b,c){this.a=a;this.f=b;this.kb=!!c};ug.prototype.ga=function(){return this.a};ug.prototype.ping=function(){N(this.f,this.a,this.kb)};var vg={jd:"CLICK",xd:"IMPRESSION_JS",wd:"IMPRESSION_IMG",ed:"ARTWORK_IMPRESSION",nd:"ENGAGEMENT_IMG",od:"EXPANSION"},wg=["IMPRESSION_IMG","ARTWORK_IMPRESSION"];w("THIRD_PARTY_TYPES_TO_PING_AT_IMPRESSION_TIME",wg);var xg=function(a){return Pa(vg,a)?a:null};var yg=function(a){this.a=!!a},N=function(a,b,c){c?a.a||C(E(b))||null===b||(jd()?id(window,b,!0):(a=p.document,a.body?(c=a.getElementById("goog-srcless-iframe"),c||(c=H((new Jc(a)).a,"IFRAME"),c.style.display="none",c.id="goog-srcless-iframe",a.body.appendChild(c)),a=c):a=null,a&&a.contentWindow&&id(a.contentWindow,b,!0))):a.a||C(E(b))||(window.studioV2_image_requests||(window.studioV2_image_requests=[]),a=H(document,"img"),a.src=b,window.studioV2_image_requests.push(a))};var zg=function(){this.g=this.j=this.B=this.height=this.width=this.f=this.target=this.a="";this.o=[]},Ag=function(a){var b=Ha(a.primaryFiles,function(f){return"BACKUP_IMAGE"==f.renderAs});if(null===b)return null;var c=new zg;c.f=b.url||c.f;c.width=b.width||c.width;c.height=b.height||c.height;c.B=a.impressionUrl;b=Ha(a.exitEvents,function(f){return!!f.backUpExit});null!==b&&(b.destinationUrl&&(c.a=a.clickUrl?Md(a.clickUrl,b.destinationUrl,b.reportingId):b.destinationUrl),c.target=b.targetWindow||c.target);
b=Ha(a.thirdPartyUrls,function(f){return"IMPRESSION_IMG"==f.type});null!==b&&(c.g=b.url||c.g);if(null!=a.thirdPartyUrls){b=a.thirdPartyUrls;for(var d=new yg(a.previewMode||!1),e=0;e<b.length;e++)"CLICK"==xg(b[e].type)&&c.o.push(new ug(b[e].url,d,"true"==b[e].scrub))}a=a.eventTrackingBaseUrl;null!=a&&(";"!=a.charAt(a.length-1)&&(a+=";"),c.j=a+"met=1;&timestamp="+ +new Date+";eid1=9;ecn1=1;etm1=0;");return c};var Bg=function(a,b,c,d){this.name=a;this.url=b;null!=d&&(this.url=0!=this.url.indexOf("/")?d+"/"+this.url:d+this.url);c&&(this.url=this.url.replace(/^http:\/\//,"https://"));this.f=!1;this.a=null},Dg=function(a,b){b=new Bg(a.name,a.url,b);a.isVideo&&Cg(b,a.streamingUrl);return b},Cg=function(a,b){a.f=!0;a.a=b||null};var Eg=function(a){var b=a.toLowerCase();a=[];var c=0;/^https?:\/\//.test(b)?(a[0]=0,c="s"==b.charAt(4)?8:7):a[0]=-1;a[1]=c;b=[b.indexOf(":",c),b.indexOf("/",c),b.indexOf("?",c),b.indexOf("#",c)];for(c=0;c<b.length;++c)if(-1==b[c])a[c+2]=-1;else{for(var d=!0,e=c+1;e<b.length;++e)-1<b[e]&&b[c]>b[e]&&(d=!1);a[c+2]=d?b[c]:-1}this.a=a};var Fg=function(a){return(a=a.match(/([^:]+):([^:]*):([^:]*):(.+)/))&&5==a.length?{type:a[1],name:unescape(a[2]),videoName:unescape(a[3]),trigger:a[4]}:null};var Gg=function(a,b){if("boolean"===typeof a)return a;if("string"===typeof a){if("true"===a)return!0;if("false"===a)return!1}return b?b:!1};var Hg=function(){this.oa=!1;this.s=this.j=this.fb="";this.B=new G(0,0);this.v="";this.ma=!1;this.A=new G(0,0);this.f=!1;this.V=this.Ga="";this.na=[];this.wa=this.ea=!1;this.la=null;this.a={};this.I="";this.Z=this.Fa=this.U=!1;this.F="";this.S={Ca:"",Da:""};this.o={};this.H=this.$=this.W="";this.O=1;this.X=this.ca=this.R="";this.fa=null;this.Na=!1;this.g=[];this.bb=[];this.hb=[];this.Ia={};this.P={};this.Ma={};this.va={};this.D={};this.T=!1;var a={};this.gb=(a.Exit=this.P,a.Timer=this.Ma,a.Counter=
this.va,a);this.C=this.L=null;this.pa=!1;this.eb=0};Hg.prototype.cb=!1;
var Ig=function(a){a=ba(a.g);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=b.s;if(c&&b.D&&(b=document.getElementById(c)))for(c=b;b=c.firstChild;)c.removeChild(b)}},Kg=function(a,b){if(!a.oa){a.oa=!0;a.fb=b.renderingLibraryData.version;var c=b.creativeParameters;a.j=c.cid||a.j;a.s=c.creative_unique_id||a.s;a.B=new G(parseInt(b.width,10)||a.B.width,parseInt(b.height,10)||a.B.height);a.A=new G(parseInt(b.slotWidth,10)||a.A.width,parseInt(b.slotHeight,10)||a.A.height);a.f=Gg(b.previewMode,a.f);
a.Ga=a.f?b.previewEventsUrl:"";a.V=c.rv||a.V;t(b.html5Features)&&(a.ea=0<=Ca(b.html5Features,"Modernizr.cssanimations"),a.na=b.html5Features);a.Na=b.translated_layout;a.a=c;a.I=c.ad_container_id||a.I;a.U=Gg(c.mtfRenderFloatInplace,a.U);a.Fa=Gg(c.generate_ad_slot,a.Fa);a.X=c.exit_suffix||a.X;a.ca=c.swiffy_url||a.ca;a.ma=!!c.swiffy_url;a:{var d=b.primaryFiles;if(null!=d)for(var e=0;e<d.length;++e)if("PRE_LOADER"==d[e].renderAs){d=d[e].url;break a}d=""}a.F=d||a.F;a.Z="https"==((b.renderingLibraryData.renderingLibrary||
"").match(Tc)[1]||null);d=(d=b.renderingLibraryData.renderingLibrary.match(Tc)[3]||null)?decodeURI(d):d;a.S={Ca:"http://"+d,Da:"https://"+d};C(E(b.dynamicData))||(a.v=b.dynamicData.replace(/\\"/g,'"'),a.v=a.v.replace(/\\\\/g,"\\"),a.v=a.v.replace(/\\'/g,"'"),a.v=a.v.replace(/:\/\/s(0|1)\.2mdn\.net/g,"://"+d));d=new yg(a.f);if(null!=b.thirdPartyUrls){e=b.thirdPartyUrls;for(var f=0;f<e.length;++f){var g=xg(e[f].type);null!=g&&(g in a.o||(a.o[g]=[]),a.o[g].push(new ug(e[f].url,d,"true"==e[f].scrub)))}}a.W=
Jg(b.eventTrackingBaseUrl,"met")||a.W;a.$=Jg(b.customEventTrackingBaseUrl,"stragg")||a.$;a.H=b.clickUrl||a.H;c=parseInt(c.clickN,10);a.O=isNaN(c)?a.O:c;a.R=b.impressionUrl||a.R;a.L=Ag(b)||a.L;a.Na||(a.C=new Hf(d,b.activeViewUrlPrefix||b.clickString,b.activeViewMetadata,b.lidarScriptUrl,b.activeViewAttributes));b.reactiveAdType&&(a.eb=b.reactiveAdType)}},Jg=function(a,b){if(C(E(a)))return"";var c=new Eg(a);var d=c.a[3];if(-1==d)return a;a:{for(var e=4;e<c.a.length;++e)if(-1!=c.a[e]){c=c.a[e];break a}c=
-1}e=-1==c?a.substring(d):a.substring(d,c);if(-1==e.toLowerCase().indexOf(";"+b.toLowerCase()+"="))e+=(";"==e.charAt(e.length-1)?"":";")+b+"=1;";else{var f=e.toLowerCase().indexOf(";"+b.toLowerCase()+"="),g=e.indexOf("=",f),k=e.indexOf(";",f+1);e=e.replace(e.substring(f,g+1)+(-1==k?e.substring(g+1):e.substring(g+1,k)),";"+b+"=1")}return a.substring(0,d)+e+(-1==c?"":a.substring(c))};Hg.prototype.toString=function(){return"Creative_"+this.s};
var Lg=function(a,b,c){return a.la&&void 0!==a.la[b]?a.la[b]:c},Mg=function(a){return a.Z?a.S.Da:a.S.Ca},Ng=function(a,b){if(void 0!==b)return b in a.o?Ja(a.o[b]):[];b=[];for(var c in a.o)b=Ia(b,a.o[c]);return b},Og=function(a,b){"HTML5"==b.o&&(a.cb=!0);a.g.push(b)},Pg=function(a){var b=[];A(a.g,function(c){"HTML5"==c.o&&b.push(c)});return b},Sg=function(a,b,c){var d=Qg(a,b);d&&(d.f=c,a.Ia[b]=d,Rg(a,d))},Ug=function(a,b){var c=a.T;Tg(a,"EXPAND_TIMER",b);a.T=c},Tg=function(a,b,c){return(b=a.D[Vg(b,
"Counter")||""]||a.D[Vg(b,"Timer")||""]||Qg(a,b))?(b.chargeable=c,a.T=!0):!1},Rg=function(a,b){if(b){var c;(c=b.j?Wg(a,b.name):b.a?Xg(a,b.a.xa,b.a.Sa):Vg(b.name,b.type))&&(a.D[c]=b)}},Yg=function(a,b){var c=b.url;c=c.replace(/%eaid!/g,a.a.aid||"").replace(/%ebuy!/g,a.a.buy||"").replace(/%epid!/g,a.a.pid||"").replace(/%esid!/g,a.a.sid||"").replace(/%erid!/g,a.a.rid||"").replace(/%ecid!/g,a.a.cid||"").replace(/%ekid!/g,a.a.kid||"").replace(/%eadv!/g,a.a.adv||"").replace(/%erv!/g,a.V).replace(/%s/g,
a.a.sn||"").replace(/%g/g,a.a.geo||"").replace(/%n/g,a.a.randomNumber||"");for(var d in a.fa){var e=a.fa[d],f="(%pKEY=!;|%%PATTERN:KEY%%)".replace(/KEY/g,d);c=c.replace(new RegExp(f,"g"),e)}b.url=c;if(!a.f){c=a.X;d=E(c);if(e=!C(d)){e=b.url;a:{f=e.search(Wc);for(var g=0,k=d.length;0<=(g=e.indexOf(d,g))&&g<f;){var l=e.charCodeAt(g-1);if(38==l||63==l)if(l=e.charCodeAt(g+k),!l||61==l||38==l||35==l){d=g;break a}g+=k+1}d=-1}e=!(0<=d)}e&&(b.url=Vc(b.url,c))}a.P[b.name]=b;Rg(a,b)},Zg=function(a,b){a.va[b.name]=
b;Rg(a,b)},$g=function(a,b){a.Ma[b.name]=b;Rg(a,b)},Wg=function(a,b){return(a=Qg(a,b))?[b,escape(""),escape(""),a.type].join(":"):null},Vg=function(a,b){return["CUSTOM_EVENT",escape(a),escape(""),b].join(":")},Xg=function(a,b,c){return(a=Qg(a,b))&&[b,escape(""),escape(c),a.type].join(":")},bh=function(a,b){if(!b)return null;if("CUSTOM_EVENT"==b.type||b.videoName){if("CUSTOM_EVENT"==b.type&&!b.videoName){var c=b.trigger;a.gb[c]?(a=a.gb[c],b=b.name,a=a[b]&&a[b].f||null):a=null;return a}if("CUSTOM_EVENT"!=
b.type&&b.videoName){a:switch(c=b.videoName,b=Qg(a,b.type),b.type){case "Timer":a=ah(a.Ma,b,c);a=null!=a?a.f:null;break a;case "Counter":a=ah(a.va,b,c);a=null!=a?a.f:null;break a;default:a=null}return a}}else return(a=Qg(a,b.type))?a.f:null;return null},Qg=function(a,b){return a.Ia[b]||(a.Ia[b]=Af(b))},ah=function(a,b,c){for(var d in a){var e=a[d];if(e.a&&e.a.Sa==c&&e.a.xa==b.name)return e}return null},ch=function(a,b){a.bb.push(b)};var dh=function(a){this.id=a.id;this.uniqueId=a.uniqueId;this.f=new dg(a.adServerData||{});this.o=a.isPreviewEnvironment;this.a=a.thirdPartyImpressionUrls||[];this.s=a.thirdPartyArtworkImpressionUrl;this.A=a.hasHtmlAsset;this.B=a.requiresCss3Animations;this.F=a.renderingLibrary||"";this.C=a.httpMediaServer||"";this.H=a.httpsMediaServer||"";this.g=a.dimensions;this.D=a.preloaderUrl;this.j=a.html5FeatureChecks;var b;if(b=a.backupImage){b=a.backupImage;var c=this.o,d=this.f.a,e=this.f.j;if(null==b)b=
null;else{var f=new zg;f.a=b.exitUrl||f.a;f.target=b.target||f.target;f.f=b.imageUrl||f.f;f.width=b.width||f.width;f.height=b.height||f.height;f.j=b.backupDisplayActivityUrl||f.j;f.g=b.thirdPartyBackupImpressionUrl||f.g;f.B=e;C(E(d))||(f.o=[new ug(d,new yg(c))]);b=f}}this.v=b||null;this.I=a.hasSwiffyHtmlAsset};var eh=function(){this.a={}};pa(eh);var fh=function(a,b,c){xf.call(this,a,b,"Exit",!1,!0);this.url=c;this.o="_blank";this.g=null};x(fh,xf);var gh=function(){L.call(this);this.g=new se(this);var a=ya(Nd,this.g);this.H?a():(this.B||(this.B=[]),this.B.push(a))};x(gh,L);var hh=function(){gh.call(this);this.a=window.mraid||null;this.f=!1};n(hh,gh);h=hh.prototype;h.isVisible=function(){return this.a.isViewable()};h.close=function(){return this.a.close()};h.Ha=function(){try{this.a.removeEventListener("ready",u(this.Ha,this))}catch(a){this.a.removeEventListener("ready")}this.a.addEventListener("viewableChange",u(this.ab,this));this.a.addEventListener("stateChange",u(this.hc,this));this.dispatchEvent("ready");this.a.isViewable()&&this.ab()};h.hc=function(){this.dispatchEvent("state_change")};
h.ab=function(){this.a.isViewable()?this.dispatchEvent("show"):this.dispatchEvent("hide");this.f||null==this.a||null==this.a.AFMA_LIDAR||(this.a.addEventListener(this.a.AFMA_LIDAR,u(this.ic,this)),this.f=!0)};h.ic=function(a){var b=this.a.getCurrentPosition();b=a.width*a.height/(b.width*b.height);var c=new J("viewable_change");c.visibleBox=new ad(a.y,a.x);c.visibilityFraction=b;this.dispatchEvent(c)};h.G=function(){this.a=null;gh.prototype.G.call(this)};pa(hh);var ih=/doubleclick.net\/(pf)?ad/;var jh=La(function(){if(F)return qc("10.0");var a=H(document,"DIV"),b=$c(),c={transition:"opacity 1s linear"};b&&(c[b+"-transition"]="opacity 1s linear");b={style:c};if(!Pb.test("div"))throw Error("");if("DIV"in Rb)throw Error("");c=null;var d="";if(b)for(m in b){if(!Pb.test(m))throw Error("");var e=b[m];if(null!=e){var f=m;var g=e;if(g instanceof Va)g=Wa(g);else if("style"==f.toLowerCase()){e=void 0;if(!ta(g))throw Error("");if(!(g instanceof vb)){var k="";for(e in g){if(!/^[-_a-zA-Z0-9]+$/.test(e))throw Error("Name allows only [-_a-zA-Z0-9], got: "+
e);var l=g[e];null!=l&&(l=t(l)?Ea(l,Eb).join(" "):Eb(l),k+=e+":"+l+";")}g=k?wb(k):xb}g instanceof vb&&g.constructor===vb&&g.f===ub?e=g.a:(qa(g),e="type_error:SafeStyle");g=e}else{if(/^on/i.test(f))throw Error("");if(f.toLowerCase()in Qb)if(g instanceof ab)g=bb(g).toString();else if(g instanceof qb)g=rb(g);else if("string"===typeof g)g=tb(g).da();else throw Error("");}g.ia&&(g=g.da());f=f+'="'+lb(String(g))+'"';d+=" "+f}}var m="<div"+d;d=void 0;null==d?d=[]:t(d)||(d=[d]);!0===Sa.div?m+=">":(c=Ub(d),
m+=">"+Mb(c).toString()+"</div>",c=c.a());(b=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(b)?c=0:c=null);b=Vb(m,c);if(Wb())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=Mb(b);return""!=ed(a.firstChild,"transition")});var kh=!1,lh=function(a){if(a=a.match(/[\d]+/g))a.length=3};
(function(){if(navigator.plugins&&navigator.plugins.length){var a=navigator.plugins["Shockwave Flash"];if(a&&(kh=!0,a.description)){lh(a.description);return}if(navigator.plugins["Shockwave Flash 2.0"]){kh=!0;return}}if(navigator.mimeTypes&&navigator.mimeTypes.length&&(a=navigator.mimeTypes["application/x-shockwave-flash"],kh=!(!a||!a.enabledPlugin))){lh(a.enabledPlugin.description);return}if("undefined"!=typeof ActiveXObject){try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");kh=!0;lh(b.GetVariable("$version"));
return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");kh=!0;return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),kh=!0,lh(b.GetVariable("$version"))}catch(c){}}})();var mh=function(a){return(a=a.exec(Fb))?a[1]:""},nh=function(){if(sc)return mh(/Firefox\/([0-9.]+)/);if(F||gc||fc)return pc;if(wc)return ac()||D("iPad")||D("iPod")?mh(/CriOS\/([0-9.]+)/):mh(/Chrome\/([0-9.]+)/);if(xc&&!(ac()||D("iPad")||D("iPod")))return mh(/Version\/([0-9.]+)/);if(tc||uc){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Fb);if(a)return a[1]+"."+a[2]}else if(vc)return(a=mh(/Android\s+([0-9.]+)/))?a:mh(/Version\/([0-9.]+)/);return""}();var oh=document.createElement("VIDEO");oh&&oh.canPlayType&&oh.canPlayType("video/mp4").replace(/no/,"");var ph=document.createElement("VIDEO");ph&&ph.canPlayType&&ph.canPlayType("video/webm").replace(/no/,"");
var qh=function(a,b){if(!p.postMessage)return!1;a=t(a)?Ja(a):[];Ha(a,function(c){return"Modernizr.canvas"==c})||a.push("Modernizr.canvas");b&&!Ha(a,function(c){return"Modernizr.cssanimations"==c})&&a.push("Modernizr.cssanimations");return Ga(a,function(c){if("svgFilters"==c){if(!(F&&qc("10")&&10<=Number(rc)||wc&&0<=nb(nh,"18")||sc&&0<=nb(nh,"11")))return!1}else if("svgFeImage"==c){if(!(F&&qc("10")&&10<=Number(rc)||wc&&0<=nb(nh,"29")))return!1}else if(/Modernizr.canvas/.test(c)){if(!(document.createElement("canvas").getContext||
F&&0<=nb(nh,"9")))return!1}else if(/Modernizr.cssanimations/.test(c)){if(c=Pc(document).style,void 0===c.animationName&&void 0===c[Zc()+"AnimationName"])return!1}else if(/Modernizr.cssgradients/.test(c)){c="";for(var d,e=["",$c()+"-"],f=0;f<e.length;f++)d=0===f?"to ":"",c+="background-image:"+e[f]+"linear-gradient("+d+"left top, #9f9, white);";d=H(document,"A");d.style.cssText=c+"background-image:-webkit-gradient(linear,left top,right bottom,from(#9f9),to(white));";if(!(-1<ed(d,"backgroundImage").indexOf("gradient")))return!1}else if(/Modernizr.csstransitions/.test(c)&&
!jh())return!1;return!0})};var th=function(a,b,c,d,e,f,g,k,l,m){if(b){var y=Mc(document,c);y.innerHTML=(C(E(b.a))?['<div style="width: ',b.width,"px; height: ",b.height,'px;"></div>']:['<a target="',b.target,'" href="',b.a,'">','<img src="',b.f,'" ','width="',b.width,'" height="',b.height,'" ','border="0"></a>']).join("");d=new yg(d);var Z=E(b.B);C(Z)||N(d,Z);N(d,b.j);N(d,b.g);for(Z=0;Z<e.length;Z++)N(d,e[Z]);rh(a);null!=m&&0<m.length&&sh(m,c);a=new Hf(d,f,g,k,l);a.a&&(a.a?If(a,y):a.g||Jf(a));C(E(b.a))||ge(y,"click",function(){for(var R=
0;R<b.o.length;R++)b.o[R].ping()})}},sh=function(a,b){var c=Mc(document,b);if(null==c){var d;(b=document.getElementsByTagName("HEAD"))&&0<b.length?d=b[0]:d=document.documentElement;A(a,function(e){d.appendChild(uh(e))})}else A(a,function(e){c.parentNode.insertBefore(uh(e),c.nextSibling)})},uh=function(a){var b=H(document,"SCRIPT");Yb(b,Sc(a));b.type="text/javascript";b.async=!1;return b},rh=function(a){var b=window.DARTDebugEventHandler;if(b){b=new b;try{b.handleEventActivity("BACKUP_IMAGE_IMPRESSION",
"Counter",1,0,!1,a)}catch(c){}}};var vh=function(a,b){J.call(this,a);this.f=b};n(vh,J);var wh="EXPAND EXPAND_REQUEST EXPAND_FINISH COLLAPSE COLLAPSE_REQUEST COLLAPSE_FINISH EXPAND_FULL_SCREEN COLLAPSE_FULL_SCREEN SHOW HIDE".split(" ");var P=function(a,b){I.call(this);this.f=b;this.F=new se(this);K(this.F,this.f,wh,this.I);this.a=a;this.D=[];this.C=[];this.s=[];this.g=[];this.A=[];this.v=[];this.o=[];this.j=[]};n(P,I);P.prototype.G=function(){this.F.dispose();this.j=this.o=this.g=this.v=this.A=this.s=this.C=this.D=null;I.prototype.G.call(this)};
P.prototype.I=function(a){if(a.f==this.a){var b=null;switch(a.type){case "SHOW":b=this.D;break;case "HIDE":b=this.C;break;case "COLLAPSE_REQUEST":b=this.o;break;case "COLLAPSE_FINISH":b=this.j;break;case "COLLAPSE":b=this.g;break;case "EXPAND":b=this.s;break;case "EXPAND_REQUEST":b=this.A;break;case "EXPAND_FINISH":b=this.v}b&&xh(this,b)}};var xh=function(a,b){A(b,function(c){c(this)},a)},yh=function(a){return a.f.renderers[a.a]||null};h=P.prototype;h.Pc=function(){return this.a.g};h.Oc=function(){return this.a.id};
h.bc=function(){var a=yh(this);return a&&(a=a.M())?(a=new Fc(a.offsetLeft,a.offsetTop),{x:a.x,y:a.y}):null};h.Sc=function(a,b){var c=yh(this);if(c){c=c.M();if(a instanceof Fc){var d=a.x;a=a.y}else d=a,a=b;c.style.left=gd(d,!1);c.style.top=gd(a,!1)}};h.Tc=function(a){var b=yh(this);if(b)if(b=b.M(),"string"===typeof a)(a=dd(b,a))&&(b.style[a]=void 0);else for(var c in a){var d=b,e=a[c],f=dd(d,c);f&&(d.style[f]=e)}};
h.ac=function(){var a=yh(this);if(a){var b=a.M();if(b){var c=Kc(b);a=new Fc(0,0);var d=c?Kc(c):document;d=!F||9<=Number(rc)||"CSS1Compat"==Lc(d).a.compatMode?d.documentElement:d.body;if(b!=d){b:{try{var e=b.getBoundingClientRect()}catch(f){e={left:0,top:0,right:0,bottom:0};break b}F&&b.ownerDocument.body&&(b=b.ownerDocument,e.left-=b.documentElement.clientLeft+b.body.clientLeft,e.top-=b.documentElement.clientTop+b.body.clientTop)}b=Lc(c).a;c=Pc(b);b=b.parentWindow||b.defaultView;c=F&&qc("10")&&b.pageYOffset!=
c.scrollTop?new Fc(c.scrollLeft,c.scrollTop):new Fc(b.pageXOffset||c.scrollLeft,b.pageYOffset||c.scrollTop);a.x=e.left+c.x;a.y=e.top+c.y}return{x:a.x,y:a.y}}}return null};h.Va=function(){return{width:this.a.width,height:this.a.height}};h.ta=function(a,b){var c=yh(this);c&&c.ta(a,b)};h.Ub=function(){var a=this.a.a&&this.a.a.a;return a?{width:a.width,height:a.height}:this.Va()};
h.Rc=function(a,b,c,d){var e=yh(this);e&&(e.M().style.clip=["rect(",a,"px ",b,"px ",c,"px ",d,"px)"].join(""),e.M().style.position="absolute")};h.Vb=function(){var a=yh(this);return a?a.M():null};h.Nc=function(){var a=yh(this);return a?a.g:null};h.Ab=function(a){this.D.push(a)};h.zc=function(a){B(this.D,a)};h.yb=function(a){this.C.push(a)};h.yc=function(a){B(this.C,a)};h.vb=function(a){this.s.push(a)};h.vc=function(a){B(this.s,a)};h.xb=function(a){this.A.push(a)};h.xc=function(a){B(this.A,a)};
h.wb=function(a){this.v.push(a)};h.wc=function(a){B(this.v,a)};h.sb=function(a){this.g.push(a)};h.sc=function(a){B(this.g,a)};h.ub=function(a){this.o.push(a)};h.uc=function(a){B(this.o,a)};h.tb=function(a){this.j.push(a)};h.tc=function(a){B(this.j,a)};h.Uc=function(){zh(this.f,this.a)};h.Qc=function(){this.f.C(this.a)};h.Mc=function(){Ah(this.f,this.a)};h.Lc=function(){Bh(this.f,this.a)};P.prototype.getType=P.prototype.Pc;P.prototype.getId=P.prototype.Oc;P.prototype.getPosition=P.prototype.bc;
P.prototype.setPosition=P.prototype.Sc;P.prototype.setStyle=P.prototype.Tc;P.prototype.getPagePosition=P.prototype.ac;P.prototype.getDimension=P.prototype.Va;P.prototype.setDimension=P.prototype.ta;P.prototype.getCollapsedDimension=P.prototype.Ub;P.prototype.setClip=P.prototype.Rc;P.prototype.getContainerElement=P.prototype.Vb;P.prototype.getAssetElement=P.prototype.Nc;P.prototype.addShowCallback=P.prototype.Ab;P.prototype.removeShowCallback=P.prototype.zc;P.prototype.addHideCallback=P.prototype.yb;
P.prototype.removeHideCallback=P.prototype.yc;P.prototype.addExpandCallback=P.prototype.vb;P.prototype.removeExpandCallback=P.prototype.vc;P.prototype.addExpandRequestCallback=P.prototype.xb;P.prototype.removeExpandRequestCallback=P.prototype.xc;P.prototype.addExpandFinishCallback=P.prototype.wb;P.prototype.removeExpandFinishCallback=P.prototype.wc;P.prototype.addCollapseCallback=P.prototype.sb;P.prototype.removeCollapseCallback=P.prototype.sc;P.prototype.addCollapseRequestCallback=P.prototype.ub;
P.prototype.removeCollapseRequestCallback=P.prototype.uc;P.prototype.addCollapseFinishCallback=P.prototype.tb;P.prototype.removeCollapseFinishCallback=P.prototype.tc;P.prototype.show=P.prototype.Uc;P.prototype.hide=P.prototype.Qc;P.prototype.expand=P.prototype.Mc;P.prototype.collapse=P.prototype.Lc;var Q=function(a,b){I.call(this);this.a=a;this.f=b};n(Q,I);Q.prototype.j=function(){return this.a.name};Q.prototype.ga=function(){var a=this.a.url;return(/^https?/.test(a)?"":this.f)+a};Q.prototype.o=function(){return this.a.f};Q.prototype.g=function(){return this.a.a};Q.prototype.getName=Q.prototype.j;Q.prototype.getUrl=Q.prototype.ga;Q.prototype.isVideo=Q.prototype.o;Q.prototype.getStreamingUrl=Q.prototype.g;var Ch=function(a,b){this.a=a;this.g=b};Ch.prototype.j=function(){return this.a.name};Ch.prototype.getName=Ch.prototype.j;Ch.prototype.ga=function(){return this.a.url};Ch.prototype.getUrl=Ch.prototype.ga;Ch.prototype.f=function(a,b){this.g.Oa(new Pf("logExitFlushEventsOpenPopup",this.a.name,a||null,b||null,null,!0))};Ch.prototype.fireExit=Ch.prototype.f;var S=function(a,b){I.call(this);this.a=a;this.s=b;this.f=Dh(a.g,b);this.o=Ka(this.f,function(c){return c.a.id});this.g=Eh(a.bb,Mg(a)||"");this.j=Fh(a.P,b);this.AssetTypes=Gh;Hh(this)};n(S,I);var Dh=function(a,b){return Ea(a,function(c){return new P(c,b)})},Eh=function(a,b){return Ea(a,function(c){return new Q(c,b)})},Fh=function(a,b){return Ea(Oa(a),function(c){return new Ch(c,b)})},Hh=function(a){var b=q("studioV2.api.creatives")||[];w("studioV2.api.creatives",b);b.push(a)};h=S.prototype;
h.G=function(){var a=q("studioV2.api.creatives");a&&t(a)&&B(a,this);Od(this.f,this.g,this.j);I.prototype.G.call(this)};h.Ob=function(){return"1.0"};h.Wb=function(){return this.a.s};h.Zc=function(){return this.a.a.sid||""};h.$c=function(){return this.a.a.sn||""};h.Vc=function(){return this.a.a.aid||""};h.Xc=function(){return this.a.a.buy||""};h.Nb=function(){return this.a.a.cid||""};h.Yc=function(){return this.a.a.pid||""};h.Wc=function(){return this.a.a.adv||""};h.Rb=function(){return this.f};
h.Tb=function(){return this.g};h.Pb=function(a){return this.f[a]||null};h.Qb=function(a){return this.o[a]||null};h.Zb=function(a){return Ha(this.f,function(b){return b.a.g==a})};h.Sb=function(a){return Da(this.f,function(b){return b.a.g==a})};h.Yb=function(){return this.j};h.dd=function(){this.s.dispose()};S.prototype.getApiVersion=S.prototype.Ob;S.prototype.getCreativeId=S.prototype.Wb;S.prototype.getSiteId=S.prototype.Zc;S.prototype.getSiteName=S.prototype.$c;S.prototype.getAdId=S.prototype.Vc;
S.prototype.getBuyId=S.prototype.Xc;S.prototype.getAdserverCreativeId=S.prototype.Nb;S.prototype.getPlacementId=S.prototype.Yc;S.prototype.getAdvertiserId=S.prototype.Wc;S.prototype.getAssets=S.prototype.Rb;S.prototype.getChildAssets=S.prototype.Tb;S.prototype.getAssetAt=S.prototype.Pb;S.prototype.getAssetById=S.prototype.Qb;S.prototype.getFirstAssetByType=S.prototype.Zb;S.prototype.getAssetsByType=S.prototype.Sb;S.prototype.getExits=S.prototype.Yb;S.prototype.unload=S.prototype.dd;
var Gh={INPAGE:"BANNER",EXPANDING:"EXPANDABLE",FLOAT:"FLOATING",OVERLAY:"OVERLAY"};var Ih="undefined_type",Jh=0,Kh=null;var Lh=void 0,Oh=function(){void 0===Lh&&(Lh=Ha(Mh,Nh)||"none");return Lh},Nh=function(a){switch(a){case "gdn":return!(!p.IN_ADSENSE_IFRAME||!p.CreativeToolset);case "yahoo":return window.Y&&window.Y.SandBox&&window.Y.SandBox.vendor;case "msn":a:{try{var b=window.$WLXRmAd||window.parent&&window.parent.$WLXRmAd;break a}catch(c){}b=void 0}return!!b;case "safe":return!!q("$sf.ext");case "mraid":return window.mraid;default:return!1}},Mh="gdn mraid safe yahoo msn none".split(" ");var Ph=function(a){J.call(this,a)};n(Ph,J);w("studio.sdk.logger",null);var Qh=function(){};pa(Qh);Qh.prototype.a=0;var T=function(){L.call(this);this.g=null;this.o={};this.a={};this.a.companions="";this.a.desiredBitrate=256;this.a.duration=15;this.a.remainingTime=15;this.a.expanded=!1;this.a.height=0;this.a.icons="";this.a.linear=!1;this.a.skippableState=!1;this.a.viewMode="normal";this.a.width=0;this.a.volume=1;this.f=null};n(T,L);h=T.prototype;h.Bb=function(){this.a.expanded=!1};h.Ib=function(){return this.a.linear};h.Mb=function(){return this.a.width};h.Gb=function(){return this.a.height};h.Fb=function(){return this.a.expanded};
h.Kb=function(){return this.a.skippableState};h.Jb=function(){return this.a.remainingTime};h.Fc=function(a){this.a.remainingTime=a};h.Eb=function(){return this.a.duration};h.Ec=function(a){this.a.duration=a};h.Lb=function(){return this.a.volume};h.Gc=function(a){this.a.volume=a;this.dispatchEvent(new Ph("ChangeVolumeVpaidAd"))};h.Db=function(){return this.a.companions};h.Hb=function(){return this.a.icons};h.lc=function(){return"2.0"};
h.mc=function(a,b,c,d,e,f){this.a.width=a;this.a.height=b;this.a.viewMode=c;this.a.desiredBitrate=d;null!=f&&(this.g=f.slot);try{if(this.f=JSON.parse(Rh(e.AdParameters)),null!=this.f){this.f.width=a+"";this.f.slotWidth=a+"";this.f.height=b+"";this.f.slotHeight=b+"";C(E(this.g.id))&&(this.g.id="dclk_video_ad_:"+(Qh.getInstance().a++).toString(36));this.f.creativeParameters.ad_container_id=this.g.id;if(null!=this.f.primaryFiles)for(c=0;c<this.f.primaryFiles.length;c++)this.f.primaryFiles[c].height=
b+"",this.f.primaryFiles[c].width=a+"";if(null!=this.f.ad_creative_def_urls){var g=this.f.ad_creative_def_urls[this.f.creativeParameters.adId];if(g){g=g.replace("http:","");var k=Gf(Sc(g)),l=u(this.s,this);sf(k,l,null,void 0)}else Sh(this)}else Sh(this)}}catch(m){}};var Rh=function(a){null!=a&&(a=a.replace(/\\'/g,"'"));return a};
T.prototype.s=function(){var a=window.creativeExitOverrides;if(null!=a&&null!=this.f.exitEvents)for(var b=0;b<this.f.exitEvents.length;b++)if(null!=a.exitEvents)for(b=0;b<a.exitEvents.length;b++)this.f.exitEvents[b].name==a.exitEvents[b].name&&(this.f.exitEvents[b].destinationUrl=a.exitEvents[b].url);Sh(this)};var Sh=function(a){a.dispatchEvent(Th);Uh(a,"AdLoaded")};h=T.prototype;
h.Bc=function(a,b,c){this.a.width=a;this.a.height=b;this.a.viewMode=c;this.dispatchEvent(new Ph("ResizeVpaidAd"));Uh(this,"AdSizeChange")};h.Ic=function(){Uh(this,"AdStarted")};h.Jc=function(){Uh(this,"AdStopped")};h.qc=function(){this.dispatchEvent(new Ph("PauseVpaidAd"));Uh(this,"AdPaused")};h.Cc=function(){this.dispatchEvent(new Ph("ResumeVpaidAd"));Uh(this,"AdPlaying")};h.Cb=function(){this.a.expanded=!0;Uh(this,"AdExpandedChange")};h.Hc=function(){this.a.skippableState&&Uh(this,"AdSkipped")};
h.ad=function(a,b,c){a=u(a,c);this.o[b]=a};h.bd=function(){};var Uh=function(a,b){if(b in a.o)a.o[b](void 0)};T.prototype.collapseAd=T.prototype.Bb;T.prototype.getAdLinear=T.prototype.Ib;T.prototype.getAdWidth=T.prototype.Mb;T.prototype.getAdHeight=T.prototype.Gb;T.prototype.getAdExpanded=T.prototype.Fb;T.prototype.getAdSkippableState=T.prototype.Kb;T.prototype.getAdRemainingTime=T.prototype.Jb;T.prototype.setAdRemainingTime=T.prototype.Fc;T.prototype.getAdDuration=T.prototype.Eb;
T.prototype.setAdDuration=T.prototype.Ec;T.prototype.getAdVolume=T.prototype.Lb;T.prototype.setAdVolume=T.prototype.Gc;T.prototype.getAdCompanions=T.prototype.Db;T.prototype.getAdIcons=T.prototype.Hb;T.prototype.handshakeVersion=T.prototype.lc;T.prototype.initAd=T.prototype.mc;T.prototype.resizeAd=T.prototype.Bc;T.prototype.startAd=T.prototype.Ic;T.prototype.stopAd=T.prototype.Jc;T.prototype.pauseAd=T.prototype.qc;T.prototype.resumeAd=T.prototype.Cc;T.prototype.expandAd=T.prototype.Cb;
T.prototype.skipAd=T.prototype.Hc;T.prototype.subscribe=T.prototype.ad;T.prototype.unsubscribe=T.prototype.bd;var Th=new J("InitVpaidAd");var Vh=function(){gh.call(this);this.a=new T};n(Vh,gh);pa(Vh);w("window.getVPAIDAd",function(){return Vh.getInstance().a});var Xh=function(a,b,c,d){I.call(this);this.g=a;this.v=b;this.s=c;this.o=d;this.j=!1;this.a={};this.a.l=!1;this.a.i=!1;this.a.x=!1;this.a.c=!1;this.a.r=!1;this.a.n=!1;this.a.t=!1;this.a.m=!1;this.f=Wh(this)};n(Xh,I);var Wh=function(a){return a.g.j&&Yh(a)?fe(p,"unload",function(){Zh(this,"u")},void 0,a):null},Yh=function(a){return-1!=nb(a.o.replace("_","."),"01_226".replace("_","."))};Xh.prototype.G=function(){this.f&&oe(this.f)};
var $h=function(a){return Yh(a)&&!a.j&&(a.a.u||Na(a.a,function(b){return b}))},Zh=function(a,b){var c=v();a.g.a[b]=c-a.s;a.a[b]=!0;$h(a)&&(N(a.v,a.g.f()),a.j=!0,a.f&&oe(a.f))};var bi=function(a){L.call(this);this.a=this.o=null;this.f=new se(this);this.v=!1;ai||(this.a=new jf(100),K(this.f,this.a,"tick",this.g),this.a.start(),K(this.f,document,"DOMContentLoaded",this.g),K(this.f,document,"readystatechange",this.g),K(this.f,window,"load",this.s),this.g(),null!=a&&"number"===typeof a&&kf(this.s,a,this))};n(bi,L);
bi.prototype.g=function(){var a;if(a=F){a=!1;try{a=null==window.frameElement}catch(c){}}if(a&&document.documentElement.doScroll)if(document.documentElement.doScroll)try{document.documentElement.doScroll("left");var b=!0}catch(c){b=!1}else b=!1;else"undefined"===document.readyState?document.getElementsByTagName?(b=document.getElementsByTagName("*"),b=0<b.length?b[b.length-1]:null,this.o&&b&&this.o==b?b=!0:(this.o=b,b=!1)):b=!1:b="complete"===document.readyState;b&&this.s()};
bi.prototype.G=function(){ci(this);L.prototype.G.call(this)};var ci=function(a){a.f.dispose();a.a&&(a.a.dispose(),a.a=null)};bi.prototype.s=function(){this.v||(ai=this.v=!0,ci(this),this.dispatchEvent(new J("ready")))};var ai=!1;var U=function(a){L.call(this);this.V=a||Lc();this.I=null;this.ka=!1;this.a=null;this.o=void 0;this.D=this.F=this.v=null};x(U,L);U.prototype.ma=Qh.getInstance();U.prototype.O=function(){return this.I||(this.I=":"+(this.ma.a++).toString(36))};U.prototype.M=function(){return this.a};var di=function(a){a.o||(a.o=new se(a));return a.o};U.prototype.Qa=function(a){if(this.v&&this.v!=a)throw Error("Method not supported");U.N.Qa.call(this,a)};U.prototype.L=function(){this.a=H(this.V.a,"DIV")};
U.prototype.sa=function(a){ei(this,a)};U.prototype.Z=function(a){ei(this,a.parentNode,a)};var ei=function(a,b,c){if(a.ka)throw Error("Component already rendered");a.a||a.L();b?b.insertBefore(a.a,c||null):a.V.a.body.appendChild(a.a);a.v&&!a.v.ka||a.ha()};U.prototype.ua=function(a){this.a=a};U.prototype.ha=function(){this.ka=!0;fi(this,function(a){!a.ka&&a.M()&&a.ha()})};var gi=function(a){fi(a,function(b){b.ka&&gi(b)});a.o&&we(a.o);a.ka=!1};
U.prototype.G=function(){this.ka&&gi(this);this.o&&(this.o.dispose(),delete this.o);fi(this,function(a){a.dispose()});this.a&&Qc(this.a);this.v=this.a=this.D=this.F=null;U.N.G.call(this)};var fi=function(a,b){a.F&&A(a.F,b,void 0)};
U.prototype.removeChild=function(a,b){if(a){var c="string"===typeof a?a:a.O();this.D&&c?(a=this.D,a=(null!==a&&c in a?a[c]:void 0)||null):a=null;if(c&&a){var d=this.D;c in d&&delete d[c];B(this.F,a);b&&(gi(a),a.a&&Qc(a.a));b=a;if(null==b)throw Error("Unable to set parent component");b.v=null;U.N.Qa.call(b,null)}}if(!a)throw Error("Child is not in parent component");return a};var V=function(a,b){U.call(this,b);this.fa=a;this.$=null};x(V,U);V.prototype.sa=function(a){this.fa&&hi(this);V.N.sa.call(this,a)};V.prototype.Z=function(a){this.fa&&hi(this);V.N.Z.call(this,a)};var hi=function(a){a.M()||a.L();fi(a,function(b){b.sa(a.M())})};V.prototype.O=function(){return this.I||(this.I=(Kh||(Kh="200_268_"+Ih))+"_"+(Jh++).toString(36))};V.prototype.toString=function(){return this.O()};
var ii=function(a){fi(a,function(b){ii(b)})},ji=function(a){fi(a,function(b){ji(b)})},ki=function(a){fi(a,function(b){ki(b)})},li=function(a){fi(a,function(b){li(b)})};V.prototype.ta=function(a,b){hd(this.M(),a,b);fi(this,function(c){c.ta("100%","100%")})};var mi=function(a){if(null!==a.$)return a.$;var b=We();a.Pa(b);return a.$=b.a};V.prototype.Pa=function(a){Ec(a.resolve)};var ni=function(a,b,c){V.call(this,Lg(b,"disable_eager_child_attachment",!1),c);this.T=a;this.s=b;if(b=a.a&&a.a.a)b=a.a.a,b=new G(b.width,b.height);this.va=b||new G(a.width,a.height);this.W=!1;this.X=[];this.ca=null};x(ni,V);h=ni.prototype;h.rc=function(){for(this.W=!0;0<this.X.length;)this.X.shift()};h.Ac=function(){this.W=!1};
h.ua=function(a){ni.N.ua.call(this,a);a.style.position="relative";var b=this.va;if(b instanceof G){var c=b.height;b=b.width}else throw Error("missing height argument");b=0<parseInt(b,10)?b:"100%";c=0<parseInt(c,10)?c:"100%";hd(a,b,c);"boxSizing"in a.style&&(a.style.boxSizing="content-box");b=this.s.C;(null==b?0:b.a&&1==this.s.g.length)?If(b,a):null!=b&&b.a&&!b.g&&Jf(b)};
h.ha=function(){var a=di(this);K(a,this,"conduitInitialized",this.rc);K(a,this,"RESET",this.Ac);ni.N.ha.call(this);var b=di(this);this.ca=new bi(5E3);ai?this.Xa():K(b,this.ca,"ready",this.Xa);if(b=this.M())K(a,b,"mouseover",this.gc),K(a,b,"mouseout",this.Za);K(a,this,"logEvent",this.Ya);K(a,this,"logExitFlushEventsOpenPopup",this.Ya)};h.gc=function(){oi(this,"1")};h.Za=function(){oi(this,"0")};h.Ya=function(a){"Exit"==yf(a.f)&&this.Za()};
var oi=function(a,b){a.W||a.X.push({name:"isMouseOver",value:b})},pi=function(a,b,c){(b=Xf(b,c))&&a.dispatchEvent(b)};var W=function(a){J.call(this,a)};x(W,J);w("studio.events.StudioEvent",W);W.INIT="init";W.VISIBLE="visible";W.HIDDEN="hidden";W.VISIBILITY_CHANGE="visibilityChange";W.VISIBILITY_CHANGE_WITH_INFO="visibilityChangeWithInfo";W.EXIT="exit";W.INTERACTION="interaction";W.PAGE_LOADED="pageLoaded";W.ORIENTATION="orientation";W.ABOUT_TO_EXPAND="aboutToExpand";W.EXPAND_START="expandStart";W.EXPAND_FAILED="expandFailed";W.EXPAND_FINISH="expandFinish";W.COLLAPSE_START="collapseStart";W.COLLAPSE_FINISH="collapseFinish";
W.COLLAPSE="collapse";W.FULLSCREEN_SUPPORT="fullscreenSupport";W.HOSTPAGE_FEATURES_LOADED="hostpageFeaturesLoaded";W.FULLSCREEN_DIMENSIONS="fullscreenDimensions";W.FULLSCREEN_EXPAND_START="fullscreenExpandStart";W.FULLSCREEN_EXPAND_FINISH="fullscreenExpandFinish";W.FULLSCREEN_COLLAPSE_START="fullscreenCollapseStart";W.FULLSCREEN_COLLAPSE_FINISH="fullscreenCollapseFinish";W.HOSTPAGE_SCROLL="hostpageScroll";W.OPTIONAL_HOSTPAGE_SCROLL="optHostpageScroll";W.SCROLL_INTERACTION="scrollInteraction";
W.ENTER_VIEWPORT="enterViewport";W.OPTIONAL_ENTER_VIEWPORT="optEnterViewport";W.EXIT_VIEWPORT="exitViewport";W.OPTIONAL_EXIT_VIEWPORT="optExitViewport";W.VIDEO_START="videoStart";W.prototype.zb=function(a,b){this[a]=b;return this};W.prototype.addProperty=W.prototype.zb;var qi=F?cb(Wa(Xa('javascript:""'))):cb(Wa(Xa("about:blank")));bb(qi);var ri=F?cb(Wa(Xa('javascript:""'))):cb(Wa(Xa("javascript:undefined")));bb(ri);var si=function(){this.a=[];this.f=[]};h=si.prototype;h.addReporter=function(a){A(this.a,function(b){b.newReporterCallback(a);a.newReporterCallback(b)});A(this.f,function(b){a.registerChargeableEventName(b)});this.a.push(a)};h.reportEvents=function(a){A(this.a,function(b){b.reportEvents(a)})};h.registerChargeableEventName=function(a){A(this.a,function(b){b.registerChargeableEventName(a)});this.f.push(a)};h.logCustomVariable=function(a,b){A(this.a,function(c){c.logCustomVariable(a,b)})};
h.getType=function(){return"UNIFIED_DISPATCHER"};h.getConfig=function(){return{reportingApiVersion:2}};h.newReporterCallback=r;h.supportsChargeableEvents=function(){var a=!1;A(this.a,function(b){b.supportsChargeableEvents()&&(a=!0)});return a};var ti=function(a,b){this.g=a.W;this.f=a.$;this.a=a;this.j=b};h=ti.prototype;h.reportEvents=function(a){for(var b=[],c=0;c<a.length;c++){var d=a[c],e=bh(this.a,d.unifiedReportingEvent);if(e){var f=b;d=["eid",c+1,"=",e,";ecn",c+1,"=",d.count,";etm",c+1,"=",d.time,";"].join("");0==f.length&&f.push("");e=f.pop();950<e.length+d.length&&(f.push(e),e="");f.push(e+d)}}if(b.length)for(a=v(),c=0;c<b.length;c++)document.createElement("img").src=this.g+"&timestamp="+a+";"+b[c]};
h.registerChargeableEventName=function(a){var b=this.a.T;Tg(this.a,a,!0)&&!b&&Ug(this.a,!1)};h.logCustomVariable=function(a,b){this.f&&0<this.f.length&&(a=[this.f,"&timestamp=",v(),";str=",a,";strtype=",b].join(""),N(this.j,a))};h.getType=function(){return"STUDIO"};h.getConfig=function(){return{reportingApiVersion:2}};h.newReporterCallback=function(a){a.supportsChargeableEvents()&&!this.a.T&&Ug(this.a,!0)};h.supportsChargeableEvents=function(){return!1};var ui=function(a){this.g={};this.a={};this.f={};this.A={};this.j=this.Wa(a);this.D=a;this.s={};this.v={};this.o={}};x(ui,I);
var wi=function(a,b,c,d){if(c||!a.A[b])a.A[b]||(a.g[b]=0,a.A[b]=!0),a.g[b]++,d&&vi(a,d)},vi=function(a,b){A(b,function(c){A(Ng(this.D,c),function(d){d.ping()},this)},a)},xi=function(a,b,c,d){if(!(b in a.f)){for(var e=v(),f=a.s[b];f&&0<f.length;)e+=f.pop();a.f[b]=e;c&&(a.o[c]=a.o[c]||[],a.o[c].push(b));wi(a,b,!1,d)}},yi=function(a,b,c){if(b in a.f){for(var d=a.f[b],e=v(),f=a.v[b];f&&0<f.length;)e+=f.pop();d=e-d;0>d&&(d=0);a.a[b]=a.a[b]||0;a.a[b]+=d;delete a.f[b];c&&a.o[c]&&B(a.o[c],b)}},zi=function(a){for(var b in a.f)yi(a,
b)},Ai=function(a){for(var b in a.f)yi(a,b),xi(a,b);var c=[];for(b in a.g){var d=0,e=a.g[b];a.a[b]&&(d=Math.floor(a.a[b]/1E3),a.a[b]-=1E3*d);a.g[b]=0;(0<e||0<d)&&c.push({unifiedReportingEvent:Fg(b),count:e,time:d})}a.j.reportEvents(c)};ui.prototype.G=function(){zi(this);ui.N.G.call(this)};var Bi=function(a){this.g=a;this.f=!1;this.a=new Jd};h=Bi.prototype;h.reportEvents=function(a){this.f||A(a,function(b){this.a.a(b.unifiedReportingEvent.name)&&(this.f=!0,A(Ng(this.g,"ENGAGEMENT_IMG"),function(c){c.ping()}))},this)};h.registerChargeableEventName=function(a){this.a.add(a)};h.logCustomVariable=function(){};h.getType=function(){return"THIRD_PARTY"};h.getConfig=function(){return{reportingApiVersion:2}};h.newReporterCallback=function(){};h.supportsChargeableEvents=function(){return!1};var Ci=function(a,b){this.C=b;ui.call(this,a)};x(Ci,ui);h=Ci.prototype;h.Wa=function(a){if("gdn"==Oh()){var b=q("googlecreative.reporting.sharedReporter");b||(b=new si,w("googlecreative.reporting.sharedReporter",b));a.Na||b.addReporter(new ti(a,this.C));0<Ng(a,"ENGAGEMENT_IMG").length&&b.addReporter(new Bi(a))}else b=new ti(a,this.C);return b};h.pb=r;h.nb=r;h.mb=function(a,b){this.j.logCustomVariable(a,b)};h.ob=function(a){this.j.registerChargeableEventName(a)};var X=function(a){this.o=a;this.j=null;this.s=!1;this.g=null;this.v=5E3;this.f=[]};x(X,I);h=X.prototype;h.Ra=r;h.$a=r;h.ba=function(){var a;if(a=this.La()){a:{a=this.o;for(c in a.g){var b=a.D.D[c];if(b&&b.B){var c=!0;break a}}c=!1}a=c||!this.Ea()}a&&(Ai(this.o),this.g=v())};h.Ea=function(){return null!=this.g&&v()-this.g<=this.v};h.La=function(){return null!=this.j&&12E5>=v()-this.j};h.G=function(){for(this.ba();0<this.f.length;){var a=this.f.pop();"number"===typeof a?p.clearTimeout(a):a.dispose()}X.N.G.call(this)};var Di=function(a,b,c){X.call(this,a);this.A=b;this.C=c;this.a=new jf(1E3*this.A);ge(this.a,"tick",u(this.ba,this))};n(Di,X);h=Di.prototype;h.$a=function(){this.a.qa||this.a.start()};h.ba=function(){this.a.stop();X.prototype.ba.call(this)};h.La=function(){return null!=this.j&&this.C||X.prototype.La.call(this)};h.Ea=function(){return!1};h.G=function(){this.a.stop();this.a.dispose();X.prototype.G.call(this)};var Ei=function(a,b,c){X.call(this,a);this.a=b;this.A=c&&0<this.a.length?this.a.pop():null};n(Ei,X);Ei.prototype.Ra=function(){for(var a=0;a<this.a.length;a++)this.f.push(kf(u(this.ba,this),1E3*this.a[a]));null!=this.A&&(a=new jf(1E3*this.A),ge(a,"tick",u(this.ba,this)),a.start(),this.f.push(a))};var Fi=[10,20,50,120];var Gi=function(a){this.a=a;this.f="undefined"!=typeof DARTDebugEventHandler&&DARTDebugEventHandler?new DARTDebugEventHandler:null;C(E(this.a.Ga))||DARTDebugEventHandler.initPreviewSession(this.a.Ga)};h=Gi.prototype;h.reportEvents=function(a){if(this.f)for(var b=0;b<a.length;++b){var c=a[b],d=c.unifiedReportingEvent;d=this.a.D[[d.type,escape(d.name),escape(d.videoName),d.trigger].join(":")];try{this.f.handleEventActivity(d.name,d.type,c.count,c.time,!d.j,this.a.j)}catch(e){}}};
h.registerChargeableEventName=r;h.logCustomVariable=function(a,b){try{this.f.handleCustomVariable(unescape(a),b,this.a.j)}catch(c){}};h.getType=function(){return"OUTPUT_CONSOLE"};h.getConfig=function(){return{reportingApiVersion:2}};h.newReporterCallback=r;h.supportsChargeableEvents=function(){return!1};var Hi=function(a){ui.call(this,a)};n(Hi,ui);h=Hi.prototype;h.Wa=function(a){return new Gi(a)};h.pb=function(a,b,c){var d=this.j;a=d.a.D[a];if(d.f)try{d.f.handleEventAction(b,a.name,c,a.type,!a.j,d.a.j)}catch(e){}};h.nb=function(a){var b=this.j;try{b.f.handleCustomJSExecution(a,b.a.j)}catch(c){}};h.mb=function(a,b){this.j.logCustomVariable(a,b)};h.ob=function(){};var Ii=function(a,b,c){X.call(this,a);this.A=b;this.a=c};n(Ii,X);Ii.prototype.Ea=function(){return this.a&&X.prototype.Ea.call(this)};Ii.prototype.Ra=function(){var a=new jf(1E3*this.A);ge(a,"tick",u(this.ba,this));a.start();this.f.push(a)};var Y=function(a,b,c,d){L.call(this);this.a=a;this.ea=b;this.v=c;this.renderers={};this.o={};this.F=new se(this);this.O=this.P=!1;this.s=this.S=0;this.A=[];this.D={};this.T=new S(this.a,this);this.I=d;this.f=a.f?new Hi(a):new Ci(a,this.I);this.g=Ji(a,this.f);this.L={};F&&K(this.F,self,"unload",this.dispose);K(this.F,p,"pagehide",u(this.g.ba,this.g));null!=this.v.a&&(a=this.v,"loading"==a.a.getState()?a.a.addEventListener("ready",u(a.Ha,a)):a.Ha());Bd(1);Bd(64);window.layoutsPreview&&Bd(16);"gdn"==
Oh()&&Bd(32);this.a.f&&Bd(256);null!=this.v.a&&Bd(8)};x(Y,L);var Ki={},Ji=function(a,b){var c=!1;A(a.g,function(d){null!=d.a&&"lightbox"==d.a.expansionMode&&(c=!0)});return a.f?new Ii(b,2,!1):c?new Di(b,2,!0):new Ei(b,Fi,!0)};Y.prototype.Z=function(){this.s++;Li(this)};Y.prototype.W=function(){Mi(this,new Lf("logEvent","Count","FULL_SCREEN"))};Y.prototype.$=function(a){"boolean"===typeof a.B&&a.B?Mi(this,a):Ni(this,a);a.C&&this.g.ba()};Y.prototype.V=function(){this.g.ba()};
var Ni=function(a,b){var c=yf(b.f);c=Vg(b.o,c);null!=c&&Oi(a,c,b.f,b.A,b.a)},Oi=function(a,b,c,d,e,f){if(null!==b)switch(a.f.pb(b,c,d),c){case "Exit":f||(f=[]),f.push("CLICK");case "Count":wi(a.f,b,d,f);b=a.a.D[b];c=!1;b&&b.chargeable&&(b=a.g,b.s?c=!1:(Ai(b.o),b.g=v(),c=b.s=!0));c||a.g.$a();break;case "Start":xi(a.f,b,e,f);break;case "Stop":yi(a.f,b,e)}},Mi=function(a,b){if("DISPLAY_TIMER"==b.g)"Start"==b.f&&(a.P||(Pi(a).then(a.fa,void 0,a),a.P=!0),0==a.S++&&(b=Wg(a.a,"DISPLAY_TIMER"))&&Oi(a,b,"Start",
!1),a.s--);else{var c=Wg(a.a,b.g);if(c){var d=[];("FULL_SCREEN"==b.g||"EXPAND_TIMER"==b.g&&"Start"==b.f)&&d.push("EXPANSION");Oi(a,c,b.f,!1,b.a,d)}}};h=Y.prototype;h.nc=function(a){Mi(this,a);var b=Xg(this.a,a.g,a.videoName);null!=b&&Oi(this,b,a.f,!1,a.a)};h.lb=function(){var a=Wg(this.a,"DISPLAY_TIMER");a&&Oi(this,a,"Stop",!1)};
h.Oa=function(a){var b=this.a.P[a.o]||{},c=null!=a.s?a.s:b.url;null==a.g||C(E(a.g))||(c=Vc(c,a.g));var d=this.a.O,e=Ng(this.a,"CLICK"),f=1==e.length?e[0].ga():"",g=c;e=null!=a.v?a.v:this.a.H;var k=c,l;"market"==(k.match(Tc)[1]||null)&&jc?l=!0:l=1==eh.getInstance().a[k];l?(c=Md(this.a.H,"http://ad.doubleclick.net/viewad/817-grey.gif",b.f||null,f,d),N(this.I,c)):g=Md(e,c,b.f||null,f,d);c=g;d=b.o;b=null!=b.g?b.g:void 0;null!=this.v.a?(b=this.v,ih.test(c)?b.a.expand(c):b.a.open(c)):window.open(c,d||"_blank",
b||"");a.log&&-1==e.indexOf("[rm_exit_id]")&&Ni(this,a);this.g.ba()};h.jc=function(a){var b=this.o[a.a];switch(a.type){case "expandAsset":Ah(this,b);break;case "expandRequested":Ah(this,b);break;case "expandFinished":if(a=this.renderers[b])ji(a),this.dispatchEvent(new vh("EXPAND_FINISH",b));break;case "collapseAsset":Bh(this,b);break;case "collapseRequested":Bh(this,b);break;case "collapseFinished":if(a=this.renderers[b])li(a),this.dispatchEvent(new vh("COLLAPSE_FINISH",b));break;case "tellAssetHide":this.C(b)}};
h.ec=function(a){a:{var b=this.a;for(var c=0;c<b.g.length;c++){var d=b.g[c];if(this.o[a.a]!=d&&rg(d)){b=d;break a}}b=null}if(b)switch(a.type){case "tellCompanionAssetShow":zh(this,b);break;case "tellCompanionAssetHide":this.C(b)}};h.dc=function(a){a=unescape(a.f);this.a.f&&this.f.nb(a);try{eval(a)}catch(b){}};h.kc=function(a){a=parseInt(a.f,10);!isNaN(a)&&0<a&&(this.g.v=a)};
h.cc=function(a){var b=Wg(this.a,a.o);if(b){var c=this.f,d=a.f;a=a.g;var e=c.s[b]||(c.s[b]=[]);b=c.v[b]||(c.v[b]=[]);0!=d&&e.push(d);0!=a&&b.push(a)}};h.fc=function(a){this.f.mb(a.f,a.g)};h.Kc=function(){var a=Ng(this.a,"IMPRESSION_JS");0<a.length&&(a=Ea(a,function(b){return b.ga()}),sh(a,this.a.I));Qi(this)};var Qi=function(a){for(var b=a.a.g,c=0;c<b.length;c++){var d=b[c],e=d.f;zh(a,d,e&&!e.g?-1:1E3*(e&&e.g&&0<e.j&&e.j||0))}},zh=function(a,b,c){c?0<c&&(a.s++,a.A.push(kf(u(a.R,a,b),c))):(a.s++,a.R(b))};
Y.prototype.R=function(a){if(!(a in this.renderers)){var b=this.a;if(b=this.ea.a(a)?new Ri(a,b):null){this.renderers[a]=b;this.o[b]=a;b=this.renderers[a];var c=this.F;K(c,b,"logEvent",this.$);K(c,b,"logVideoEvent",this.nc);K(c,b,"logExitFlushEventsOpenPopup",this.Oa);K(c,b,"launchExit",this.Oa);K(c,b,"expandAsset expandRequested expandFinished collapseAsset collapseRequested collapseFinished tellAssetHide".split(" "),this.jc);K(c,b,["tellCompanionAssetShow","tellCompanionAssetHide"],this.ec);K(c,
b,"invokeExternalJSFunction",this.dc);K(c,b,"setThrottlingWindow",this.kc);K(c,b,"reportCustomVariable",this.fc);K(c,b,"setTimerAdjustment",this.cc);K(c,b,"flushCounters",this.V);K(c,b,"RESET",this.Z);K(c,b,"registerChargeableEventName",this.X);K(c,b,"fullscreenExpandFinished",this.W);if(a.H||this.a.U){if(b=a.s,c=Mc(document,b)){var d;if(d=this.a.U)d=!(!C(E(fd(c)))&&"static"!=fd(c));d&&(c.style.position="relative");this.a.Fa&&(c.style.display="inline-block",c.style.verticalAlign="top");a.a&&a.a.f&&
(this.L[b]=c.style.height,c.style.height="auto");a.D||this.renderers[a].sa(c)}}else document.body&&document.body.firstChild?this.renderers[a].Z(document.body.firstChild):document.body?this.renderers[a].sa(document.body):document.documentElement&&this.renderers[a].sa(document.documentElement);this.dispatchEvent(new vh("SHOW",a))}}a.f&&(b=a.f,b=1E3*(b&&b.f&&0<b.endTime&&b.endTime||-1),0<b&&(b=kf(u(this.C,this,a),b),this.A.push(b),this.D[a]=b));this.O||(Pi(this).then(this.ca,void 0,this),this.O=!0)};
var Pi=function(a){var b=[];Ma(a.renderers,function(d,e){b.push(mi(this.renderers[e]))},a);if(8===a.a.eb)if(a=zc(),null==a)setTimeout(function(){throw Error("vignette: no interstitial API");},0);else{var c=We();a.addViewListener(c.resolve);b.push(c.a)}return Ue(b)};
Y.prototype.C=function(a){var b=this.renderers[a];if(b){for(var c=this.f,d=c.o[b]||[];0<d.length;)yi(c,d.pop(),b);delete this.o[b];b.dispose();delete this.renderers[a];this.D[a]&&(p.clearTimeout(this.D[a]),delete this.D[a]);this.dispatchEvent(new vh("HIDE",a));Li(this)}};
var Ah=function(a,b){var c=a.renderers[b];c&&(ii(c),a.dispatchEvent(new vh("EXPAND",b)),a.dispatchEvent(new vh("EXPAND_REQUEST",b)))},Bh=function(a,b){var c=a.renderers[b];c&&(ki(c),a.dispatchEvent(new vh("COLLAPSE",b)),a.dispatchEvent(new vh("COLLAPSE_REQUEST",b)))};Y.prototype.ca=function(){Si(this)};
var Si=function(a){a.g.j=v();a.a.cb&&Mi(a,new Lf("logEvent","Count","HTML5_CREATIVE_IMPRESSION"));a.a.wa&&(a.a.pa&&!a.a.f?"function"===typeof window.vv?window.vv():N(a.I,yc(a.a.R)):N(a.I,a.a.R));var b=[];wg.forEach(function(c){b.push.apply(b,ca(Ng(a.a,c)))});a.a.pa&&"function"===typeof window.pdib3&&!a.a.f?b.forEach(function(c){var d=c.ga();C(E(d))||(c.kb?window.pdib3(d,!0):window.pdib3(d,!1))}):b.forEach(function(c){c.ping()})};
Y.prototype.fa=function(){this.g.Ra();this.A.push(kf(u(this.lb,this),24E4))};var Li=function(a){0==--a.S&&(a.lb(),zi(a.f),0==a.s&&a.dispose())};Y.prototype.X=function(a){this.f.ob(a.f)};
Y.prototype.G=function(){for(var a in this.L)Mc(document,a).style.height=this.L[a];this.F.dispose();for(this.T.dispose();0<this.A.length;)p.clearTimeout(this.A.pop());a=this.a.g;for(var b=0;b<a.length;b++){var c=a[b];c in this.renderers&&(this.renderers[c].dispose(),delete this.renderers[c])}this.o=null;this.f.dispose();this.f=null;a=this.a.s;void 0!==Ki[a]&&delete Ki[a];Y.N.G.call(this)};var Ti=function(a,b,c,d){xd.call(this,a,b);this.a={};this.v=c;this.B=d;this.g="rmad_perf"};x(Ti,xd);Ti.prototype.f=function(){var a="&rl="+this.v+"&en="+this.B;a:{for(b in this.a){var b=!1;break a}b=!0}if(!b){b=this.a;var c=[],d;for(d in b)Uc(d,b[d],c);a+="&"+c.join("&")}this.o=a;return Ti.N.f.call(this)};var Ui=function(a,b){xd.call(this,a,"");this.B=b;this.g="studio-rl-error";this.a=null};x(Ui,xd);
Ui.prototype.f=function(){if(null===this.a)return"";var a="&rl="+this.B+"&err=",b=encodeURIComponent;if("string"===typeof this.a)var c=this.a;else if(this.a instanceof Error){var d=this.a;c=d.toString();d.name&&-1==c.indexOf(d.name)&&(c+=": "+d.name);d.message&&-1==c.indexOf(d.message)&&(c+=": "+d.message);if(d.stack){d=d.stack;var e=c;try{-1==d.indexOf(e)&&(d=e+"\n"+d);for(var f;d!=f;)f=d,d=d.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");c=d.replace(/\n */g,"\n")}catch(g){c=e}}}else c=
"Failed to capture error message from: "+this.a.toString();this.o=a+b(c);return Ui.N.f.call(this)};var Vi=function(a){I.call(this);this.o=a+".js";this.f=new Ui(.001,a);this.a=this.g=null};n(Vi,I);Vi.prototype.j=function(a){var b;if(b=a instanceof ErrorEvent){b=a.filename;var c=this.o,d=b.length-c.length;b=0<=d&&b.indexOf(c,d)==d}b&&(this.f.a=a.error instanceof Error?a.error:a.message,a=this.f.f(),id(p,a,!1))};Vi.prototype.G=function(){this.a&&this.g.removeEventListener("error",this.a,!1);I.prototype.G.call(this)};var Wi=function(a){this.a=a};var Xi=function(){I.call(this);this.v={};this.f=this.a=null;this.g=[];this.j=!0};n(Xi,I);var Yi=function(a,b,c){a.j=!1;if(null===a.a){var d=sa(p.MutationObserver||p.WebKitMutationObserver)?a.s:a.o;a.a=new M(d,a)}Ze(a.a.then(b,r,c),function(){null!==this.f&&this.f.disconnect();this.j=!0},a)};
Xi.prototype.s=function(a){Zi(this)?a():(this.f=new p.MutationObserver(u(function(b,c){var d=!1;A(b,function(e){"childList"==e.type&&0!=e.addedNodes.length&&(d=!0)});d&&Zi(this)&&(c.disconnect(),a())},this)),this.f.observe(p.document.documentElement,{childList:!0,subtree:!0}))};Xi.prototype.o=function(a){var b=new bi(1500);ai?Zi(this)&&a():ge(b,"ready",function(){Zi(this)?a():kf(function(){Zi(this)&&a()},0,this)},!1,this)};
var Zi=function(a){for(var b=a.g.length-1;0<=b;--b){var c=a.g[b];if(null===Mc(document,c)){b:{var d=window;try{var e=d.parent.document;break b}catch(f){}e=void 0}c=e?null!==e.getElementById(c):!1}else c=!0;if(!c)return a.g.length=b+1,!1}a.g=[];return!0};Xi.prototype.G=function(){null!==this.a&&this.a.cancel();this.a=null;null!==this.f&&this.f.disconnect();this.f=null};var $i=function(){};var aj=null,bj=null,cj=function(a,b){return Ea(Ng(a,b),function(c){return c.ga()})},dj=function(a){var b=0<Pg(a).length,c=a.na;a=a.ea;return b&&qh(c,a)},fj=function(a){var b="",c=q("dclkStudioV3.startTimes."+a.s),d=Pg(a);0<d.length&&(b=(b=d[0].B)&&b.a?b.a:"");d=!C(b)&&"0_0"!==b;c&&d?(a=ej(bj,a.f),c=new Xh(new Ti(4E-5,"https:","200_268",b),a,c,b)):c=null;return c},hj=function(a){if(dj(a)){var b=fj(a);b&&Zh(b,"l");var c=new Xi;A(a.g,function(e){e=e.s;null!=e&&c.j&&(e=new Wi(e),c.a=null,c.v["."]=e,c.g.push(e.a))});
a=gj(a,b);Yi(c,a.Kc,a)}else if(a.L){Ig(a);b=cj(a,"IMPRESSION_IMG");var d=cj(a,"IMPRESSION_JS");th(a.j,a.L,a.I,a.f,b,a.C.a,a.C.o,a.C.j,a.C.f,d)}},jj=function(){ij().then(function(a){A(a,hj)})},kj=function(a){Ki[a]&&Ki[a].dispose()};var lj=function(a,b,c,d){this.a=d;d=!1;this.a&&this.a.xa&&(d=Af(this.a.xa).B);xf.call(this,a,b,c,!1,d)};x(lj,xf);var mj=function(a,b){this.Sa=a;this.xa=b},oj=function(a){var b=a.split(":");if(2==b.length&&(a=b[0],b=nj[b[1]]))return new mj(a,b)},nj={Complete:"VIDEO_COMPLETE",Interaction:"VIDEO_INTERACTION",MidPoint:"VIDEO_MIDPOINT",Mute:"VIDEO_MUTE",Pause:"VIDEO_PAUSE",Play:"VIDEO_PLAY",Replay:"VIDEO_REPLAY",Stop:"VIDEO_STOP",Unmute:"VIDEO_UNMUTE",ViewTime:"VIDEO_VIEW_TIMER"};var qj=function(a,b){var c=new Hg,d=new dh(a.creativeDto);if(!c.oa){c.oa=!0;var e=d.f,f=e.X;c.j=d.id||c.j;c.s=d.uniqueId||c.j||c.s;c.B=d.g?new G(parseInt(d.g.width,10)||c.B.width,parseInt(d.g.height,10)||c.B.height):c.B;c.v=e.W||c.v;c.ma=d.I||c.ma;c.A=e.f?new G(parseInt(e.f.w,10)||c.A.width,parseInt(e.f.h,10)||c.A.height):c.A;c.f=d.o||c.f;c.V=e.P||c.V;c.na=d.j||c.na;c.ea=d.B||c.ea;for(var g in e.g)c.a[g]=e.g[g];c.a.sn=e.U;c.a.sid=e.R;c.a.aid=e.B;c.a.cid=e.creativeId;c.a.buy=e.v;c.a.pid=e.L;c.a.adv=
e.s;c.a.kid=e.I;c.a.rid=e.O;c.a.geo=e.F;c.a.randomNumber=e.randomNumber;for(var k in f.a)c.a[k]=f.a[k];c.I=f.f||c.I;c.U=f.g||c.U;c.F=d.D||c.F;c.Z="https"==(d.F.match(Tc)[1]||null);c.S={Ca:d.C||c.S.Ca,Da:d.H||c.S.Da};f=new yg(c.f);C(E(e.a))||(c.o.CLICK=[new ug(e.a,f)]);if(t(d.a)&&0<d.a.length)for(c.o.IMPRESSION_IMG=[],g=0;g<d.a.length;++g)c.o.IMPRESSION_IMG.push(new ug(d.a[g],f));C(E(d.s))||(c.o.ARTWORK_IMPRESSION=[new ug(d.s,f)]);c.W=e.C||c.W;c.$=e.S||c.$;c.H=e.V||c.H;g=parseInt(e.A,10);c.O=isNaN(g)?
c.O:g;c.R=e.j||c.R;c.ca=e.Z||c.ca;c.X=e.H||c.X;c.fa=e.D||c.fa;c.L=d.v||c.L;c.C=new Hf(f,e.T||e.o)}c.wa=b.delayedImpression;e=b.standardEventIds;for(var l in e)Sg(c,l,e[l]);e=b.exitEvents;for(l=0;l<e.length;l++)f=e[l],g=new fh(f.name,f.reportingId,f.url),g.o=f.targetWindow,g.g=f.windowProperties,Yg(c,g);f=b.timerEvents;for(l=0;l<f.length;l++)e=f[l],$g(c,pj(e,"Timer"));f=b.counterEvents;for(l=0;l<f.length;l++)e=f[l],Zg(c,pj(e,"Counter"));e=c.Z;f=b.childFiles;for(l=0;l<f.length;l++)ch(c,Dg(f[l],e));
f=b.videoFiles;for(l=0;l<f.length;l++)ch(c,Dg(f[l],e));e=b.videoEntries;for(l=0;l<e.length;l++)c.hb.push(new $i);l=d.A;d=qh(d.j,d.B);d=l&&d?"HTML5":null;b=b.primaryAssets;for(l=0;l<b.length;++l){g=b[l];f=a.creativeDto.adServerData.tag;e=new og(g.id,g.artworkType,g.displayType,new G(parseInt(g.width,10)||0,parseInt(g.height,10)||0),(Mg(c)||"")+g.servingPath);e.F=g.zIndex;e.A=g.location||e.A;e.layoutsConfig=g.layoutsConfig;if(k=g.flashArtworkTypeData)e.v=new $f(k.wmode);if(k=g.htmlArtworkTypeData)e.B=
new gg(k.isTransparent,k.sdkVersion);if(k=g.floatingDisplayTypeData){var m=k.position;m=new kg(m.top+m.topUnit,m.left+m.leftUnit);e.f=new fg(m,k.startTime,k.endTime)}if(k=g.expandingDisplayTypeData)m=k.collapsedRect,e.a=new eg(new bd(m.left,m.top,m.width,m.height),k.isPushdown?"push_down":Zf(k.expansionMode)||"normal");g.imageGalleryTypeData&&(e.C=new hg);g=g.pageSettings;k=new ig;g&&(k.a=g.hideObjects||!1,k.f=g.updateZIndex||!1);e.j=k;g=void 0;if(null==f)f={};else{k={};for(g in pg)m=q(g,f),null!==
m&&(k[pg[g]]=m+"");f=k}sg(e,f);qg(e);e.o==d&&Og(c,e)}return c},pj=function(a,b){if(a.videoData){var c=a.videoData;c=new mj(c.associatedVideoEntryReportingIdentifier,c.associatedStandardVideoEvent)}return new lj(a.name,a.reportingId,b,c)};var rj=function(a,b){var c=null;"CREATIVE_PARAMETER_LAYOUT_CONFIG"in a&&(c=a.CREATIVE_PARAMETER_LAYOUT_CONFIG);for(var d=[],e=a.cid||"",f=0;f<b.length;f++){var g=b[f],k=a,l=c,m=new og(e+"_"+f,g.type,g.renderAs,new G(parseInt(g.width,10)||0,parseInt(g.height,10)||0),g.url);m.content=g.content;m.F=parseInt(g.zIndex,10);m.A=g.location||m.A;m.layoutsConfig=l||m.layoutsConfig;if(l=g.flashProperties)m.v=new $f(bg(l.wmode)||"transparent");if(l=g.htmlProperties)m.B=new gg(l.transparent,l.studioSdkVersion);
if(l=g.floatingDisplayProperties){var y=new kg(l.top,l.left);m.f=new fg(y,parseInt(l.startTime,10),parseInt(l.duration,10))}if(y=g.expandingDisplayProperties)l=new bd(parseInt(y.collapsedRectLeft,10),parseInt(y.collapsedRectTop,10),parseInt(y.collapsedRectWidth,10),parseInt(y.collapsedRectHeight,10)),y=Zf(y.expansionMode)||"normal",tg(l.left)&&tg(l.top)&&tg(l.width)&&tg(l.height)&&(m.a=new eg(l,y));g.imageGalleryProperties&&(m.C=new hg);if(l=g.preRenderedProperties)m.D=new mg(l);m.j=new ig;m.j.a=
g.hideFlashObjects;m.j.f=!0;null!=k&&sg(m,k);qg(m);d.push(m)}return d},tj=function(a){var b=new Hg;Kg(b,a);b.wa=!C(E(a.impressionUrl));if(a.creativeParameters.CREATIVE_PARAMETER_EXPERIMENTS){var c=sj(a.creativeParameters.CREATIVE_PARAMETER_EXPERIMENTS);b.la=c}b.pa=Gg(a.creativeParameters.CREATIVE_PARAMETER_IS_B2R_ELIGIBLE);for(c=0;c<a.standardEvents.length;c++){var d=a.standardEvents[c];Sg(b,d.name,d.reportingId)}for(c=0;c<a.exitEvents.length;c++)if(d=a.exitEvents[c],!d.backUpExit){var e=new fh(d.name,
d.reportingId,d.destinationUrl);e.o=d.targetWindow;e.g=d.windowProperties;Yg(b,e)}/dfa7banner/.test(a.renderingLibraryData.renderingLibrary)&&!C(a.clickUrl)&&Ma(b.P,function(k){k.url=Md(a.clickUrl,k.url,null)});for(c=0;c<a.timerEvents.length;c++)d=a.timerEvents[c],e=oj(d.name),d=new lj(d.name,d.reportingId,"Timer",e),$g(b,d);for(c=0;c<a.counterEvents.length;c++)d=a.counterEvents[c],e=oj(d.name),d=new lj(d.name,d.reportingId,"Counter",e),Zg(b,d);d=a.primaryFiles;for(c=0;c<d.length;c++);e=!1;d=rj(a.creativeParameters,
a.primaryFiles);for(c=0;c<d.length;c++){var f=d[c];"HTML5"==f.o&&Og(b,f);null!=f.C&&(e=!0)}d=b.Z;c=e?Mg(b):null;e=(e=a.creativeParameters.CREATIVE_PARAMETER_ASSETS_DATA)?sj(e):{};for(var g in e)ch(b,new Bg(g,e[g],d,c));g=(c=a.creativeParameters.CREATIVE_PARAMETER_VIDEO_ASSETS_DATA)?sj(c):[];for(c=0;c<g.length;++c)e=g[c],f=new Bg(e.name,e.progressiveUrl,d),Cg(f,e.streamingUrl),ch(b,f);g=(c=a.creativeParameters.CREATIVE_PARAMETER_VIDEO_DATA)?sj(c):[];for(c=0;c<g.length;++c)b.hb.push(new $i);return b},
sj=function(a){return JSON.parse(a.replace(/\\"/g,'"'))};var uj=function(){},ij=function(){var a=vj();return new M(function(b){var c=[],d=q("studioV2.creatives")||{};for(l in d){var e=d[l],f=e.creativeDefinition;if(f)for(e=e.adResponses;0<e.length;){var g=e.shift(),k=g.creativeDto;if(k.rendererName==Ih&&"200_268"==k.templateVersion)c.push(qj(g,f));else{e.unshift(g);break}}}d=[];var l=q("window.dclkStudioV3.creatives")||[];for(f=l.length-1;0<=f;--f){e=l[f];e.previewMode&&(g=e,k=q("window.dclkStudioV3.creativeParametersOverrides"),g&&k&&(k.CREATIVE_PARAMETER_LAYOUT_CONFIG&&
(g.creativeParameters.CREATIVE_PARAMETER_LAYOUT_CONFIG=k.CREATIVE_PARAMETER_LAYOUT_CONFIG),k.PREVIEW_FRAME_NAME&&(g.creativeParameters.PREVIEW_FRAME_NAME=k.PREVIEW_FRAME_NAME),k.PREVIEW_FRAME_DEPTH&&(g.creativeParameters.PREVIEW_FRAME_DEPTH=k.PREVIEW_FRAME_DEPTH)));e=tj(e);a:{g=e;k=g.g;for(var m=0;m<k.length;m++){var y=k[m];if(rg(y)&&!aj.a(y)){g=!1;break a}}g="200_268"==g.fb}g&&(Array.prototype.splice.call(l,f,1),d.push(e))}b(c.concat(d))},a)};var wj=function(){this.a=null},ej=function(a,b){a.a||(a.a=new yg(b));return a.a};var xj=function(){this.g=new wj;this.f=null},yj=function(a,b){return t(a)?0<=Ca(a,b):a==b};xj.prototype.a=function(){return!1};var gj=function(a,b){var c=aj,d=ej(c.g,a.f),e=a.s;Ki[e]||(Ki[e]=new Y(a,c,hh.getInstance(),d,b));return Ki[e]},vj=function(){var a=aj;a.f||(a.f=new uj);return a.f};var zj=function(a,b,c){ni.call(this,a,b,c);this.f=b;this.S=this.g=null;this.ea=this.P=!1;this.R=-1;this.A=null;this.C=hh.getInstance()};n(zj,ni);h=zj.prototype;h.ha=function(){if(!C(E(this.f.F))){var a=this.M(),b=new Image;b.width=Ic(this.f.B).width;b.height=Ic(this.f.B).height;b.src=this.f.F;a.appendChild(b);this.S=b}ni.prototype.ha.call(this)};
h.Xa=function(){null!=this.S&&(this.M().removeChild(this.S),this.S=null);null==this.g&&Aj(this);pi(this,"logEvent",["Start","DISPLAY_TIMER",null,"false","false"]);K(di(this),this.g,"mouseover",this.pc);K(di(this),this.g,"mouseout",this.oc);var a=di(this);this.A&&(ve(a,this.A,"tick",this.Ua),this.A.dispose());this.A=new jf(80);K(a,this.A,"tick",this.Ua);this.A.start()};h.ta=function(a,b){ni.prototype.ta.call(this,a,b);hd(this.g,"100%","100%")};
h.Ua=function(){0<this.R&&!this.P&&1E3<v()-this.R&&(this.P=!0,pi(this,"setTimerAdjustment",["INTERACTION_TIMER",-1E3,0]),pi(this,"logEvent",["Start","INTERACTION_TIMER",null,"false","false"]),this.ea||(pi(this,"logEvent",["Count","EVENT_USER_INTERACTION",null,"false","false"]),pi(this,"flushCounters",[]),this.ea=!0))};h.pc=function(){this.R=v()};h.oc=function(){this.P&&(pi(this,"logEvent",["Stop","INTERACTION_TIMER",null,"false","false"]),this.P=!1);this.R=-1};
h.Pa=function(a){if(null!=this.C.a){var b;if(b=Lg(this.s,"disable_h5_mraid_imp_ping",!0))a:{b=this.s;for(var c=0;c<b.g.length;c++)if(!b.g[c].H){b=!1;break a}b=!0}b?a.resolve():this.C.isVisible()?a.resolve():(b=di(this),ue(b,this.C,"show",a.resolve,void 0))}else ni.prototype.Pa.call(this,a)};var Ri=function(a,b,c){zj.call(this,a,b,c);this.na=this.O()+".if"};n(Ri,zj);Ri.prototype.ha=function(){zj.prototype.ha.call(this);K(di(this),window,["resize","orientationchange"],this.wa);null!=this.C.a&&K(di(this),window,"message",this.pa)};Ri.prototype.L=function(){zj.prototype.L.call(this);C(E(this.f.F))&&Aj(this)};var Aj=function(a){var b=a.M(),c=H(a.V.a,"iframe");b.appendChild(c);a.ua(b);K(di(a),c,"load",a.oa)};
Ri.prototype.ua=function(a){zj.prototype.ua.call(this,a);this.a=a;var b=Ic(this.f.A),c=this.T.width||b.width;b=this.T.height||b.height;hd(a,c,b);a.style.position="relative";a=a.firstChild;this.f.pa&&!this.f.f&&"function"===typeof window.stcc&&a&&window.stcc(a);this.g=a;var d=this.na,e=this.T;hd(a,c,b);c={id:d,src:e.I,width:c,height:b,frameborder:"0",scrolling:"no"};e.B&&e.B.f&&(c.allowtransparency="true");Oc(a,c);a.setAttribute("allowfullscreen","true")};
Ri.prototype.wa=function(){var a=this.T,b=this.g,c=this.M();Cd(8)&&(a=new G(window.innerWidth||a.width,window.innerHeight||a.height),b.width=a.width.toString(),b.height=a.height.toString(),hd(b,a),hd(c,a))};Ri.prototype.oa=function(){this.g.contentWindow.postMessage(Bj(this),"*")};
var Bj=function(a){var b=a.f.P,c={};for(g in b)c[g]=b[g];for(var d in c){var e=c[d];b=c[d];var f=void 0;var g=a;var k=e.name,l=e.f,m=e=e.url;g.f.f?window.DARTDebugEventHandler&&(l=window.DARTDebugEventHandler,f=l.initPreviewSession(window.location.href),g=l.generateEventData("handleEventActivity",{eventName:k,eventType:"exit",counterValue:1,durationValue:0,isCustomEvent:!0,creativeId:g.f.j},!0,Math.floor(1E7*Math.random())),m=f+"&eventData="+encodeURIComponent(g)+"&_dc_redir="+encodeURIComponent(e)):
(k=Ng(g.s,"CLICK"),0<k.length&&(f=k[0].ga()),m=Md(g.s.H,m,l,f,g.s.O));b.url=m}d=a.f;g=null!=a.C.a;a={};b=[];a.clickTags=[];for(var y in c)k=c[y],e=k.url,a.clickTags.push({name:k.name,url:e}),b.push(encodeURIComponent(k.name)+"="+encodeURIComponent(e));a.isInitClickTag=!0;g&&(a.relegateNavigation="parent");d.ma&&(a.hasInitSwiffyData=!0,c={},c.runtimeUrl=d.ca,c.flashVars=b.join("&"),a.swiffyInfo=c);return JSON.stringify(a)};
Ri.prototype.pa=function(a){var b=this.C;try{var c=JSON.parse(a.f.data);c.isPostClickTag&&c.clickTag&&b.a.open.apply(b.a,[c.clickTag])}catch(d){}};var Cj=function(){xj.call(this)};x(Cj,xj);Cj.prototype.a=function(a){var b=yj("BANNER",a.g);a=yj("HTML5",a.o);return b&&a};var Dj=new Cj,Ej=Dj.g;aj=Dj;bj=Ej;for(var Fj=document.getElementsByTagName("noscript"),Gj=0;Gj<Fj.length;Gj++)Fj[Gj].style.display="none";var Hj=q("studioV2.loadedLibraries.200_268.express_html_inpage");
if(!Hj||!Hj.bootstrap){w("studioV2.loadedLibraries.200_268.express_html_inpage.bootstrap",jj);w("studioV2.loadedLibraries.200_268.express_html_inpage.unload",kj);var Ij;a:{var Jj=q("dclkStudioV3.renderingLibraries");if(Jj)for(var Kj=0;Kj<Jj.length;++Kj){var Lj=Jj[Kj];if("200_268"==Lj.version&&-1!=Lj.url.indexOf("/express_html_inpage")){Ij=Lj;break a}}Ij=null}null!==Ij&&(Ij.bootstrapFunction=jj,Ij.unload=kj);Ih="express_html_inpage";var Mj="undefined_type"===Ih?null:Ih+"_rendering_lib_200_268";if(null!=
Mj&&!q("dclkStudioV3.rlErrorSampled")&&!q("studioV2.rlErrorSampled")){var Nj=new Vi(Mj);if(Nj.f.j){Nj.a=u(Nj.j,Nj);Nj.g=p;p.addEventListener("error",Nj.a);var Oj=q("dclkStudioV3");Oj?Oj.Dc=Nj:q("studioV2").Dc=Nj}}var Pj=q("studioV2.defer");Pj&&sa(Pj)?Pj(jj):jj()};}).call(this);