s0.2mdn.net Open in urlscan Pro
2a00:1450:4001:831::2006  Public Scan

URL: https://s0.2mdn.net/879366/dfa7banner_html_inpage_rendering_lib_200_268.js
Submission: On September 05 via api from IT — Scanned from IT

Form analysis 0 forms found in the DOM

Text Content

(function(){/*

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