(function(){/*

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