(function(){var DEPS_GRAPH={'enablermodule':[],'configurablemodule':['enablermodule'],'gdnmodule':['enablermodule'],'layoutsmodule':['enablermodule'],'videomodule':['enablermodule'],'configurablefillermodule':['configurablemodule','enablermodule'],'layoutsfillermodule':['enablermodule','layoutsmodule'],'rad_ui_videomodule':['videomodule'],'$weak$':['configurablefillermodule','configurablemodule','enablermodule','gdnmodule','layoutsfillermodule','layoutsmodule','rad_ui_videomodule','videomodule']};window.STUDIO_SDK_START=+new Date();/* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var h,aa=function(a){var b=0;return function(){return b>>0)+"_",d=0,e=function(f){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new b(c+(f||"")+"_"+d++,f)};return e}); ea("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var b="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),c=0;c=e}});ea("String.prototype.startsWith",function(a){return a?a:function(b,c){var d=ya(this,b,"startsWith");b+="";var e=d.length,f=b.length;c=Math.max(0,Math.min(c|0,d.length));for(var g=0;g=f}}); var za=function(a,b){a instanceof String&&(a+="");var c=0,d=!1,e={next:function(){if(!d&&cc&&(c=Math.max(c+e,0));c>>0),Ia=0,La=function(a,b,c){return a.call.apply(a.bind,arguments)},Ma=function(a,b,c){if(!a)throw Error();if(2a?null:"string"===typeof b?b.charAt(a):b[a]}function rb(a,b,c){for(var d=a.length,e="string"===typeof a?a.split(""):a,f=0;f=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function zb(a,b){a.sort(b||Ab)}function Bb(a,b){for(var c=Array(a.length),d=0;db?1:a/g,ec=/"/g,fc=/'/g,gc=/\x00/g,hc=/[\x00&<>"']/,ic=function(a,b){return-1!=a.indexOf(b)},kc=function(a,b){var c=0;a=ac(String(a)).split(".");b=ac(String(b)).split(".");for(var d=Math.max(a.length,b.length),e=0;0==c&&eb?1:0};var mc=function(a,b){this.g=b===lc?a:""};mc.prototype.Aa=!0;mc.prototype.ta=function(){return this.g.toString()};mc.prototype.toString=function(){return this.g.toString()}; var nc=function(a){if(a instanceof mc&&a.constructor===mc)return a.g;Ua("expected object of type SafeUrl, got '"+a+"' of type "+Fa(a));return"type_error:SafeUrl"},oc=RegExp('^(?:audio/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-matroska|x-wav|wav|webm)|font/\\w+|image/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|video/(?:mpeg|mp4|ogg|webm|quicktime|x-matroska))(?:;\\w+=(?:\\w+|"[\\w;,= ]+"))*$',"i"),pc=/^data:(.*);base64,[a-z0-9+\/]+=*$/i,qc=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i, rc=function(a){if(a instanceof mc)return a;a="object"==typeof a&&a.Aa?a.ta():String(a);if(qc.test(a))a=new mc(a,lc);else{a=String(a);a=a.replace(/(%0A|%0D)/g,"");var b=a.match(pc);a=b&&oc.test(b[1])?new mc(a,lc):null}return a},sc=function(a){if(a instanceof mc)return a;a="object"==typeof a&&a.Aa?a.ta():String(a);x(qc.test(a),"%s does not match the safe URL pattern",a)||(a="about:invalid#zClosurez");return new mc(a,lc)},lc={},tc=new mc("about:invalid#zClosurez",lc);var uc={},vc=function(a,b){this.g=b===uc?a:"";this.Aa=!0};vc.prototype.ta=function(){return this.g};vc.prototype.toString=function(){return this.g.toString()};var wc=new vc("",uc);function xc(a){if(a instanceof mc)return'url("'+nc(a).replace(/+~[\]()=^$|]+$/.test(c))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+a);a:{for(var d={"(":")","[":"]"},e=[],f=0;fparseFloat(ed)){dd=String(gd);break a}}dd=ed}var id=dd,Wc={},jd=function(){return Xc(function(){return 0<=kc(id,"11")})};var kd=function(a,b){a:{try{var c=a&&a.ownerDocument,d=c&&(c.defaultView||c.parentWindow);d=d||n;if(d.Element&&d.Location){var e=d;break a}}catch(g){}e=null}if(e&&"undefined"!=typeof e[b]&&(!a||!(a instanceof e[b])&&(a instanceof e.Location||a instanceof e.Element))){if(t(a))try{var f=a.constructor.displayName||a.constructor.name||Object.prototype.toString.call(a)}catch(g){f=""}else f=void 0===a?"undefined":null===a?"null":typeof a;Ua("Argument is not a %s (or a non-Element, non-Location mock); got: %s", b,f)}};var md=function(a,b){kd(a,"HTMLScriptElement");a.src=Tb(b);(b=ld("script[nonce]",a.ownerDocument&&a.ownerDocument.defaultView))&&a.setAttribute("nonce",b)},nd=function(a,b,c,d){a=a instanceof mc?a:sc(a);b=b||n;c=c instanceof bb?cb(c):c||"";return void 0!==d?b.open(nc(a),c,d):b.open(nc(a),c)},od=/^[\w+/_-]+[=]{0,2}$/,ld=function(a,b){b=(b||n).document;return b.querySelector?(a=b.querySelector(a))&&(a=a.nonce||a.getAttribute("nonce"))&&od.test(a)?a:"":""};var pd=function(a,b){this.width=a;this.height=b};h=pd.prototype;h.toString=function(){return"("+this.width+" x "+this.height+")"};h.aspectRatio=function(){return this.width/this.height};h.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var qd=function(a){return decodeURIComponent(a.replace(/\+/g," "))},rd=function(a,b){var c=a;0>>0;return b},vd=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})},wd=function(a){return a.replace(RegExp("(^|[\\s]+)([a-z])", "g"),function(b,c,d){return c+d.toUpperCase()})};var zd=function(a){return a?new xd(yd(a)):Ra||(Ra=new xd)},Bd=function(a,b){Cb(b,function(c,d){c&&"object"==typeof c&&c.Aa&&(c=c.ta());"style"==d?a.style.cssText=c:"class"==d?a.className=c:"for"==d?a.htmlFor=c:Ad.hasOwnProperty(d)?a.setAttribute(Ad[d],c):Zb(d,"aria-")||Zb(d,"data-")?a.setAttribute(d,c):a[d]=c})},Ad={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"},Cd=function(){var a=window.document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new pd(a.clientWidth,a.clientHeight)},Dd=function(a){return a.parentWindow||a.defaultView},A=function(a,b,c){return Ed(document,arguments)},Ed=function(a,b){var c=b[1],d=Fd(a,String(b[0]));c&&("string"===typeof c?d.className=c:Array.isArray(c)?d.className=c.join(" "):Bd(d,c));2b?null:a.substr(b+1)},Rd=function(a){a=a.match(Pd);return Od(a[1],a[2],a[3],a[4])},Sd=function(a,b){if(a){a=a.split("&");for(var c=0;cd)return null;e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return qd(a.substr(d,e-d))};var Vd=function(a){if(a.Z&&"function"==typeof a.Z)return a.Z();if("undefined"!==typeof Map&&a instanceof Map||"undefined"!==typeof Set&&a instanceof Set)return Array.from(a.values());if("string"===typeof a)return a.split("");if(Ga(a)){for(var b=[],c=a.length,d=0;db)throw Error("Bad port number "+b);a.A=b}else a.A=null},ae=function(a,b,c){b instanceof de?(a.h=b,je(a.h,a.s)):(c||(b=ee(b,ke)),a.h=new de(b,a.s))},ce=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},ee=function(a,b,c){return"string"===typeof a?(a=encodeURI(a).replace(b,le),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},le=function(a){a= a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},fe=/[#\/\?@]/g,he=/[#\?:]/g,ge=/[#\?]/g,ke=/[#\?@]/g,ie=/#/g,de=function(a,b){this.h=this.g=null;this.j=a||null;this.l=!!b},me=function(a){a.g||(a.g=new Map,a.h=0,a.j&&Sd(a.j,function(b,c){a.add(qd(b),c)}))};de.prototype.la=function(){me(this);return this.h};de.prototype.add=function(a,b){me(this);this.j=null;a=ne(this,a);var c=this.g.get(a);c||this.g.set(a,c=[]);c.push(b);this.h=Va(this.h)+1;return this}; var oe=function(a,b){me(a);b=ne(a,b);a.g.has(b)&&(a.j=null,a.h=Va(a.h)-a.g.get(b).length,a.g.delete(b))};h=de.prototype;h.ka=function(a){me(this);a=ne(this,a);return this.g.has(a)};h.Va=function(a){var b=this.Z();return 0<=mb(b,a)};h.forEach=function(a,b){me(this);this.g.forEach(function(c,d){c.forEach(function(e){a.call(b,e,d,this)},this)},this)}; h.Fa=function(){me(this);for(var a=Array.from(this.g.values()),b=Array.from(this.g.keys()),c=[],d=0;d=f.value}e&&(b=b||Oe,e=hf(jf(),a.G()),"function"===typeof c&&(c=c()),af||(af=new $e),a=new bf(b,c,a.G()),a.g=d,ef(e,a))},mf=function(a,b){a&&lf(a,Qe,b,void 0)},D=function(a,b,c){a&&lf(a,Re,b,c)},E=function(a,b){a&&lf(a,Se,b,void 0)},nf=function(a, b){a&&lf(a,Ue,b,void 0)};var of=function(){this.g=C("studio.sdk")};h=of.prototype;h.log=function(a,b){lf(this.g,a,b)};h.hf=function(a){lf(this.g,Pe,a)};h.$a=function(a){mf(this.g,a)};h.T=function(a){D(this.g,a)};h.info=function(a){E(this.g,a)};h.Rd=function(a){lf(this.g,Te,a)};h.Pa=function(a){nf(this.g,a)};h.Zd=function(a){lf(this.g,Ve,a)};h.$d=function(a){lf(this.g,We,a)};var F=new of;q("studio.sdk.logger",F,void 0);q("studio.sdk.logger.setLevel",function(a,b){kf(a,b)},void 0);q("studio.sdk.logger.Level.OFF",Oe,void 0); q("studio.sdk.logger.Level.SHOUT",Pe,void 0);q("studio.sdk.logger.Level.SEVERE",Qe,void 0);q("studio.sdk.logger.Level.WARNING",Re,void 0);q("studio.sdk.logger.Level.INFO",Se,void 0);q("studio.sdk.logger.Level.CONFIG",Te,void 0);q("studio.sdk.logger.Level.FINE",Ue,void 0);q("studio.sdk.logger.Level.FINER",Ve,void 0);q("studio.sdk.logger.Level.FINEST",We,void 0);q("studio.sdk.logger.Level.ALL",Xe,void 0);q("studio.sdk.logger.log",F.log,void 0);q("studio.sdk.logger.shout",F.hf,void 0); q("studio.sdk.logger.severe",F.$a,void 0);q("studio.sdk.logger.warning",F.T,void 0);q("studio.sdk.logger.info",F.info,void 0);q("studio.sdk.logger.config",F.Rd,void 0);q("studio.sdk.logger.fine",F.Pa,void 0);q("studio.sdk.logger.finer",F.Zd,void 0);q("studio.sdk.logger.finest",F.$d,void 0);var pf={ENABLER:"enabler",DCM_ENABLER:"dcmenabler",SSR_ENABLER:"ssrenabler",VIDEO:"video",CONFIGURABLE:"configurable",CONFIGURABLE_FILLER:"configurablefiller",LAYOUTS:"layouts",FILLER:"layoutsfiller",RAD_VIDEO:"rad_ui_video",GDN:"gdn"};q("studio.module.ModuleId",pf,void 0);var rf=function(a){qf();return Xb(a)},qf=Ca;var sf=function(a,b){this.j=a;this.l=b;this.h=0;this.g=null};sf.prototype.get=function(){if(0a.h&&(a.h++,b.next=a.g,a.g=b)};var uf,vf=function(){var a=n.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!z("Presto")&&(a=function(){var e=Fd(document,"IFRAME");e.style.display="none";document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.close();var g="callImmediate"+Math.random(),l="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host;e=u(function(m){if(("*"==l||m.origin==l)&&m.data==g)this.port1.onmessage()}, this);f.addEventListener("message",e,!1);this.port1={};this.port2={postMessage:function(){f.postMessage(g,l)}}});if("undefined"!==typeof a&&!z("Trident")&&!z("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(void 0!==c.next){c=c.next;var e=c.pc;c.pc=null;e()}};return function(e){d.next={pc:e};d=d.next;b.port2.postMessage(0)}}return function(e){n.setTimeout(e,0)}};function wf(a){n.setTimeout(function(){throw a;},0)};var xf=function(){this.h=this.g=null};xf.prototype.add=function(a,b){var c=yf.get();c.set(a,b);this.h?this.h.next=c:(x(!this.g),this.g=c);this.h=c};var Af=function(){var a=zf,b=null;a.g&&(b=a.g,a.g=a.g.next,a.g||(a.h=null),b.next=null);return b},yf=new sf(function(){return new Bf},function(a){return a.reset()}),Bf=function(){this.next=this.scope=this.g=null};Bf.prototype.set=function(a,b){this.g=a;this.scope=b;this.next=null};Bf.prototype.reset=function(){this.next=this.scope=this.g=null};var Ff=function(a,b){Cf||Df();Ef||(Cf(),Ef=!0);zf.add(a,b)},Cf,Df=function(){if(n.Promise&&n.Promise.resolve){var a=n.Promise.resolve(void 0);Cf=function(){a.then(Gf)}}else Cf=function(){var b=Gf;"function"!==typeof n.setImmediate||n.Window&&n.Window.prototype&&!z("Edge")&&n.Window.prototype.setImmediate==n.setImmediate?(uf||(uf=vf()),uf(b)):n.setImmediate(b)}},Ef=!1,zf=new xf,Gf=function(){for(var a;a=Af();){try{a.g.call(a.scope)}catch(b){wf(b)}tf(yf,a)}Ef=!1};var If=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var Lf=function(a){this.g=0;this.v=void 0;this.l=this.h=this.j=null;this.s=this.o=!1;if(a!=Ca)try{var b=this;a.call(void 0,function(c){Jf(b,2,c)},function(c){if(!(c instanceof Kf))try{if(c instanceof Error)throw c;throw Error("Promise rejected.");}catch(d){}Jf(b,3,c)})}catch(c){Jf(this,3,c)}},Mf=function(){this.next=this.context=this.j=this.h=this.g=null;this.l=!1};Mf.prototype.reset=function(){this.context=this.j=this.h=this.g=null;this.l=!1}; var Nf=new sf(function(){return new Mf},function(a){a.reset()}),Of=function(a,b,c){var d=Nf.get();d.h=a;d.j=b;d.context=c;return d},Pf=function(a){if(a instanceof Lf)return a;var b=new Lf(Ca);Jf(b,2,a);return b},Qf=function(a){return new Lf(function(b,c){c(a)})},Sf=function(a,b,c){Rf(a,b,c,null)||Ff(Na(b,a))},Tf=function(a){return new Lf(function(b,c){var d=a.length,e=[];if(d)for(var f=function(p,r){d--;e[p]=r;0==d&&b(e)},g=function(p){c(p)},l=0,m;l=b.s&&b.cancel())}this.K?this.K.call(this.D,this):this.F=!0;this.g||this.o(new eg(this))}};G.prototype.ha=function(a,b){this.B=!1;fg(this,a,b)}; var fg=function(a,b,c){a.g=!0;a.j=c;a.l=!b;gg(a)},ig=function(a){if(a.g){if(!a.F)throw new hg(a);a.F=!1}};G.prototype.L=function(a){ig(this);jg(a);fg(this,!0,a)};G.prototype.o=function(a){ig(this);jg(a);fg(this,!1,a)};var jg=function(a){x(!(a instanceof G),"An execution sequence may not be initiated with a blocking Deferred.")},lg=function(a,b,c){kg(a,b,null,c)},kg=function(a,b,c,d){x(!a.$,"Blocking Deferreds can not be re-used");a.v.push([b,c,d]);a.g&&gg(a)}; G.prototype.then=function(a,b,c){var d,e,f=new Lf(function(g,l){e=g;d=l});kg(this,e,function(g){g instanceof eg?f.cancel():d(g)});return f.then(a,b,c)};G.prototype.$goog_Thenable=!0;var mg=function(a,b){b instanceof G?lg(a,u(b.H,b)):lg(a,function(){return b})};G.prototype.H=function(a){var b=new G;kg(this,b.L,b.o,b);a&&(b.h=this,this.s++);return b}; var ng=function(a){return pb(a.v,function(b){return"function"===typeof b[1]})},gg=function(a){if(a.A&&a.g&&ng(a)){var b=a.A,c=og[b];c&&(n.clearTimeout(c.g),delete og[b]);a.A=0}a.h&&(a.h.s--,delete a.h);b=a.j;for(var d=c=!1;a.v.length&&!a.B;){var e=a.v.shift(),f=e[0],g=e[1];e=e[2];if(f=a.l?g:f)try{var l=f.call(e||a.D,b);void 0!==l&&(a.l=a.l&&(l==b||l instanceof Error),a.j=b=l);if(If(b)||"function"===typeof n.Promise&&b instanceof n.Promise)d=!0,a.B=!0}catch(m){b=m,a.l=!0,ng(a)||(c=!0)}}a.j=b;d&&(l= u(a.ha,a,!0),d=u(a.ha,a,!1),b instanceof G?(kg(b,l,d),b.$=!0):b.then(l,d));c&&(b=new pg(b),og[b.g]=b,a.A=b.g)},hg=function(){w.call(this)};v(hg,w);hg.prototype.message="Deferred has already fired";hg.prototype.name="AlreadyCalledError";var eg=function(){w.call(this)};v(eg,w);eg.prototype.message="Deferred was canceled";eg.prototype.name="CanceledError";var pg=function(a){this.g=n.setTimeout(u(this.j,this),0);this.h=a}; pg.prototype.j=function(){x(og[this.g],"Cannot throw an error that is not scheduled.");delete og[this.g];throw this.h;};var og={};var ug=function(a){var b={},c=b.document||document,d=Tb(a).toString(),e=Nd(new xd(c),"SCRIPT"),f={cd:e,jd:void 0},g=new G(qg,f),l=null,m=null!=b.timeout?b.timeout:5E3;0=d.g.length)throw xg;var f=d.g[b++];return a?f:d.h[f]};return e};var Fg=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function J(a){a&&"function"==typeof a.dispose&&a.dispose()};function Hg(a){for(var b=0,c=arguments.length;b>>0),dh=function(a){x(a,"Listener can not be null.");if("function"===typeof a)return a;x(a.handleEvent,"An object listener must have handleEvent method.");a[nh]||(a[nh]=function(b){return a.handleEvent(b)});return a[nh]};var L=function(){K.call(this);this.s=new Tg(this);this.Oe=this;this.hb=null};v(L,K);L.prototype[Og]=!0;h=L.prototype;h.Ub=function(a){this.hb=a};h.addEventListener=function(a,b,c,d){ch(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){jh(this,a,b,c,d)}; h.dispatchEvent=function(a){oh(this);var b=this.hb;if(b){var c=[];for(var d=1;b;b=b.hb)c.push(b),x(1E3>++d,"infinite loop")}b=this.Oe;d=a.type||a;if("string"===typeof a)a=new Jg(a,b);else if(a instanceof Jg)a.target=a.target||b;else{var e=a;a=new Jg(d,b);Ob(a,e)}e=!0;if(c)for(var f=c.length-1;!a.h&&0<=f;f--){var g=a.g=c[f];e=ph(g,d,!0,a)&&e}a.h||(g=a.g=b,e=ph(g,d,!0,a)&&e,a.h||(e=ph(g,d,!1,a)&&e));if(c)for(f=0;!a.h&&fd.status?b(JSON.parse(d.responseText)):c())};d.open("GET",a,!0);d.send()})}; function Jh(){var a=Kh();Qa(this,function c(){var d;return wa(c,function(e){if(1==e.g){var f=Hh(a);e.g=2;return{value:f}}if(d=e.o){f="sodar2";f=void 0===f?"sodar2":f;var g=window,l=g.GoogleGcLKhOms;l&&"function"===typeof l.push||(l=g.GoogleGcLKhOms=[]);var m={};l.push((m._ctx_=d.context,m._bgv_=d.Od,m._bgp_=d.Nd,m._li_=d.Ee,m._jk_=d.rb,m._st_=d.Ha,m._rc_=d.pb,m._dl_=d.xb,m._g2_=d.ob,m));if(l=g.GoogleDX5YKUSk)g.GoogleDX5YKUSk=void 0,l[1]();f=Yb({basename:f});Gh(f)}return e.return(d)})})};x(!0);var Lh=Lc(),Mh=Tc()||z("iPod"),Nh=z("iPad"),Oh=z("Android")&&!(Mc()||Lc()||z("Opera")||z("Silk")),Ph=Mc(),Qh=z("Safari")&&!(Mc()||z("Coast")||z("Opera")||z("Edge")||z("Edg/")||z("OPR")||Lc()||z("Silk")||z("Android"))&&!Uc();var Rh={},Sh=null,Th=function(a,b){x(Ga(a),"encodeByteArray takes an array as a parameter");void 0===b&&(b=0);if(!Sh){Sh={};for(var c="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),d=["+/=","+/","-_=","-_.","-_"],e=0;5>e;e++){var f=c.concat(d[e].split(""));Rh[e]=f;for(var g=0;g>2];m=b[(m&3)<< 4|p>>4];p=b[(p&15)<<2|l>>6];l=b[l&63];c[e++]=""+g+m+p+l}g=0;l=d;switch(a.length-f){case 2:g=a[f+1],l=b[(g&15)<<2]||d;case 1:a=a[f],c[e]=""+b[a>>2]+b[(a&3)<<4|g>>4]+l+d}return c.join("")};var Uh="function"===typeof Uint8Array;function Vh(a,b,c){if(null!=a)return"object"===typeof a?Uh&&a instanceof Uint8Array?c(a):Wh(a,b,c):b(a)}function Wh(a,b,c){if(Array.isArray(a)){for(var d=Array(a.length),e=0;e=a.s?a.j?a.j[b]:void 0: a.g[b+a.l]},gi=function(a,b){a.h||(a.h={});if(!a.h[1]){var c=fi(a,1,!1);c&&(a.h[1]=new b(c))}return a.h[1]};ci.prototype.toJSON=function(){var a=hi(this,!1);return Wh(a,Yh,Th)};var hi=function(a,b){if(a.h)for(var c in a.h){var d=a.h[c];if(Array.isArray(d))for(var e=0;ea.innerHeight?"landscape":"portrait"},ti=function(){return"onorientationchange"in window};ri.prototype.le=function(){return this.h};ri.prototype.ke=function(){return this.g};ri.prototype.toString=function(){return this.h};q("studio.common.Orientation",ri,void 0);ri.prototype.getDegrees=ri.prototype.ke;ri.prototype.getMode=ri.prototype.le;ri.Mode={PORTRAIT:"portrait",LANDSCAPE:"landscape"};function ui(a,b){return b?a.replace("[rm_exit_id]",b):a}function vi(a){$b(sd(a))||"market"!=(a.match(Pd)[1]||null)||(a=a.match(Pd),a="https://play.google.com/store/apps/details"+Od(null,null,null,null,a[5],a[6],a[7]));return a};var wi={CREATIVETOOLSET_CONFIG:"creativeToolsetConfig",CREATIVETOOLSET_INTERNALS:"creativeToolsetInternals",CREATIVETOOLSET_INTERNALS_GEN204:"creativeToolsetInternalsGen204",CREATIVE_REPORTER:"creativeReporter",CREATIVE_INNOVATION:"gcreativeinnovation",GOOGLE_AFMA_SUPPORT:"googleAfmaSupport"};q("studio.common.WhitelistedExternalObject",wi,void 0);var xi={};var M=function(a){K.call(this);this.v=a;this.j={}};v(M,K); var yi=[],N=function(a,b,c,d,e,f){Array.isArray(c)||(c&&(yi[0]=c.toString()),c=yi);for(var g=0;g=this.h);this.K=b||"*";this.D=new M(this);this.v=new qh(100,Hi(this));this.B=!!d;this.s=new G;this.o=new G;this.l=new G;this.X=Fi();this.F=null;this.B?1==this.j.W()?mg(this.l,this.s):mg(this.l,this.o):(mg(this.l,this.s),2==this.h&&mg(this.l,this.o));lg(this.l,this.oa,this);this.l.L(!0);this.pa=Zc&&!jd();N(this.D,this.v,"tick",this.M,void 0);E(O,"NativeMessagingTransport created. protocolVersion="+this.h+", oneSidedHandshake="+ this.B+", role="+this.j.W())};k(Oi,Gi); var Qi=function(a){var b=a.da.data;if("string"!==typeof b)return!1;var c=b.indexOf("|"),d=b.indexOf(":");if(-1==c||-1==d)return!1;var e=b.substring(0,c);c=b.substring(c+1,d);b=b.substring(d+1);nf(O,"messageReceived: channel="+e+", service="+c+", payload="+b);if(d=xi[e])return d.ma(c,b,a.da.origin),!0;d=Pi(b)[0];for(var f in xi){var g=xi[f];if(1==g.W()&&!g.isConnected()&&"tp"==c&&("SETUP"==d||"SETUP_NTPV2"==d)&&g.Xa(a.da.origin))return g.Ia(e),g.ma(c,b),!0}E(O,'channel name mismatch; message ignored"'); return!1};Oi.prototype.ab=function(a){var b=Pi(a);a=b[1];switch(b[0]){case "SETUP_ACK":Ri(this,1);this.s.g||this.s.L(!0);break;case "SETUP_ACK_NTPV2":2==this.h&&(Ri(this,2),this.s.g||this.s.L(!0));break;case "SETUP":Ri(this,1);Si(this,1);break;case "SETUP_NTPV2":2==this.h&&(b=this.g,Ri(this,2),Si(this,2),1!=b&&null==this.F||this.F==a||(E(O,"Sending SETUP and changing peer ID to: "+a),Ti(this)),this.F=a)}}; var Ti=function(a){x(!(1==a.h&&2==a.g));2!=a.h||null!=a.g&&2!=a.g||a.U("tp","SETUP_NTPV2,"+a.X);null!=a.g&&1!=a.g||a.U("tp","SETUP")},Si=function(a,b){x(1!=a.h||2!=b,"Shouldn't try to send a v2 setup ack in v1 mode.");if(2!=a.h||null!=a.g&&2!=a.g||2!=b){if(null!=a.g&&1!=a.g||1!=b)return;a.U("tp","SETUP_ACK")}else a.U("tp","SETUP_ACK_NTPV2");a.o.g||a.o.L(!0)},Ri=function(a,b){b>a.g&&(a.g=b);1==a.g&&(a.o.g||a.B||a.o.L(!0),a.F=null)}; Oi.prototype.connect=function(){var a=Hi(this),b=Ka(a),c=Ui[b];"number"!==typeof c&&(c=0);0==c&&ch(a.postMessage?a:a.document,"message",Qi,!1,Oi);Ui[b]=c+1;this.H=!0;this.M()};Oi.prototype.M=function(){var a=0==this.j.W();this.B&&a||this.j.isConnected()||this.isDisposed()?rh(this.v):(this.v.start(),Ti(this))}; var Vi=function(a,b,c){var d=a.j.aa,e=a.j.name;a.A=0;try{var f=d.postMessage?d:d.document;f.postMessage?(f.postMessage(e+"|"+b+":"+c,a.K),nf(O,"send(): service="+b+" payload="+c+" to hostname="+a.K)):D(O,"Peer window had no postMessage function.")}catch(g){D(O,"Error performing postMessage, ignoring.",g)}};Oi.prototype.U=function(a,b){var c=this;this.j.aa?this.pa?this.A=sh(function(){return void Vi(c,a,b)},0):Vi(this,a,b):nf(O,"send(): window not ready")}; Oi.prototype.oa=function(){Ni(this.j,1==this.h||1==this.g?200:void 0)};Oi.prototype.C=function(){if(this.H){var a=Hi(this),b=Ka(a),c=Ui[b];Ui[b]=c-1;1==c&&jh(a.postMessage?a:a.document,"message",Qi,!1,Oi)}this.A&&(n.clearTimeout(this.A),this.A=0);J(this.D);delete this.D;J(this.v);delete this.v;this.s.cancel();delete this.s;this.o.cancel();delete this.o;this.l.cancel();delete this.l;delete this.U;Gi.prototype.C.call(this)};var Pi=function(a){a=a.split(",");a[1]=a[1]||null;return a}; Oi.prototype.g=null;Oi.prototype.H=!1;Oi.prototype.bb=1;var Ui={};Oi.prototype.A=0;var Wi=function(a,b,c){K.call(this);this.h=a;this.l=b||0;this.j=c;this.s=u(this.o,this)};v(Wi,K);Wi.prototype.g=0;Wi.prototype.C=function(){Wi.J.C.call(this);0!=this.g&&n.clearTimeout(this.g);this.g=0;delete this.h;delete this.j};Wi.prototype.start=function(a){0!=this.g&&n.clearTimeout(this.g);this.g=0;this.g=sh(this.s,void 0!==a?a:this.l)};Wi.prototype.o=function(){this.g=0;this.h&&this.h.call(this.j)};var Zi=function(a){var b=[];Xi(new Yi,a,b);return b.join("")},Yi=function(){},Xi=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(Array.isArray(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;fb.reduce(function(d,e){return d+e.length},0)}; nj.prototype.B=function(a){var b=a.clientX,c=a.clientY;a.changedTouches&&a.changedTouches[0]&&(b=a.changedTouches[0].clientX,c=a.changedTouches[0].clientY);this.g.set("nx",Math.round(b));this.g.set("ny",Math.round(c));this.l&&(this.h||(this.h=window.GoogleA13IjpGc),this.s=this.h&&"function"===typeof this.h.snapshotSync?this.h.snapshotSync():null)};nj.prototype.C=function(){this.o=!1;M.prototype.C.call(this)};var oj=function(a){this.g=a};oj.prototype.toString=function(){return(this.g&2?"b":"t")+(this.g&1?"r":"l")};q("studio.common.mde.Direction",oj,void 0);oj.Corner={gg:0,hg:1,Bf:2,Cf:3};var pj={TL:new oj(0),TR:new oj(1),BL:new oj(2),BR:new oj(3)},qj=Fb(pj);var rj={eg:"startExpandInternal",dg:"startCollapseInternal",Of:"finishCollapseInternal",zf:"aboutToExpandInternal",ag:"setAdVisibleInternal",bg:"setAdParameters",If:"dispatchEvent",cg:"setParameter",Vf:"getParameter",Uf:"fullscreenSupportInternal",Rf:"fullscreenDimensionsInternal",Tf:"fullscreenExpandStartInternal",Sf:"fullscreenExpandFinishInternal",Qf:"fullscreenCollapseStartInternal",Pf:"fullscreenCollapseFinishInternal",Xf:"invokeOnAllVideos",Yf:"livePreviewChannel",Jf:"dispatchPageLoaded"},sj= {},tj;for(tj in rj)sj[rj[tj]]=!0;var uj=[/s0(qa)?\.2mdn\.net/,/^.*\.(prod|corp)\.google\.com/,/localhost/,/tpc\.googlesyndication\.com/,/secureframe\.doubleclick\.net/,/imasdk\.googleapis\.com/,/^.*dot-expandable-ad-tool\.appspot\.com/];function vj(){var a=location.hostname;return B(2)&&!B(16)?!1:pb(uj,function(b){return b.test(a)})};var wj=function(a){K.call(this);this.h=a;this.g={};this.h.Zc(u(this.l,this))};v(wj,K);wj.prototype.j=C("goog.messaging.MultiChannel");var yj=function(a,b){if(-1!=b.indexOf(":"))throw Error('Virtual channel name "'+b+'" should not contain colons');if(b in a.g)throw Error('Virtual channel "'+b+'" was already created for this multichannel.');var c=new xj(a,b);return a.g[b]=c}; wj.prototype.l=function(a,b){var c=a.match(/^([^:]*):(.*)/);if(c){var d=c[1];a=c[2];d in this.g?(c=this.g[d])?c.j?c.j(a,b):D(this.j,'Service "'+a+'" is not registered on virtual channel "'+d+'"'):D(this.j,'Virtual channel "'+d+' has been disposed, but a message was received for it: "'+a+'"'):D(this.j,'Virtual channel "'+d+' does not exist, but a message was received for it: "'+a+'"')}else D(this.j,'Invalid service name "'+a+'": no virtual channel specified')}; wj.prototype.C=function(){Cb(this.g,function(a){J(a)});J(this.h);delete this.g;delete this.h};var xj=function(a,b){K.call(this);this.h=a;this.g=b};v(xj,K);h=xj.prototype;h.od=C("goog.messaging.MultiChannel.VirtualChannel");h.connect=function(a){a&&a()};h.isConnected=function(){return!0};h.eb=function(a,b,c){this.h.h.eb(this.g+":"+a,u(this.uc,this,b),c)};h.Zc=function(a){this.j=u(this.uc,this,a)}; h.Ta=function(a,b){if(this.isDisposed())throw Error("#send called for disposed VirtualChannel.");this.h.h.Ta(this.g+":"+a,b)};h.uc=function(a,b){this.isDisposed()?D(this.od,'Virtual channel "'+this.g+'" received a message after being disposed.'):a.apply({},Array.prototype.slice.call(arguments,1))};h.C=function(){this.h=this.h.g[this.g]=null};var zj=function(a){K.call(this);this.h=new wj(a);this.l={};this.j=yj(this.h,"private");this.v=yj(this.h,"public");this.j.eb("mics",u(this.H,this),!0)};v(zj,K);zj.prototype.M=0;zj.prototype.F=C("goog.messaging.RespondingChannel");zj.prototype.C=function(){J(this.h);delete this.h;delete this.v;delete this.j};var Aj=function(a,b,c,d){var e=a.M++;a.l[e]=d;d={signature:e};d.data=c;a.v.Ta(b,d)}; zj.prototype.H=function(a){var b=a.signature;a=a.data;b in this.l?((0,this.l[b])(a),delete this.l[b]):D(this.F,"Received signature is invalid")};var Bj=function(a,b,c){a.v.eb(b,u(a.K,a,c),!0)};zj.prototype.K=function(a,b){a=a(b.data);var c=b.signature;Pf(a).then(u(function(d){var e={};e.data=d;e.signature=c;this.j&&this.j.Ta("mics",e)},this))};var Cj=function(a,b){var c=this;a=void 0===a?"":a;b=void 0===b?null:b;this.g=this.o=this.A=null;this.B=!1;var d={},e=1,f=window.parent;if(null!=b)switch(b){case 3:f=window;case 2:e=2;d.directSyncMode=!0;break;case 4:f=window.parent.frames["goog-messaging-iframe"]}d.tp=e;d.role=1;d.nativeProtocolVersion=2;a&&(d.cn=a);kf(C("goog.net.xpc"),Oe);this.s=new fj(d);this.s.aa=f;zj.call(this,this.s);Bj(this,"general",function(g){a:{var l=g.methodName;g=g.args;if(l in sj){if(c.g){F.Pa("Invoking method: "+l+ " with args: "+g.join(", "));var m=c.g[l];"function"!==typeof m&&(m=c.g.defaultMessageHandler,g=[l,g]);if("function"===typeof m){l=m.apply(c.g,g);break a}}l=null}else l=void 0}return l})};v(Cj,zj);Cj.prototype.connect=function(a){this.B||vj()?this.o?(this.A=Oa(),this.s.connect(u(this.D,this,a))):F.$a("You must call setAssetUrl before connecting."):F.Pa("This class should only listen to messages when served by the rendering libraries.")}; Cj.prototype.D=function(a){R(this,"conduitInitialized",[this.o,Array.from(pi.values())]);var b={version:"01_247"};b.x=window.STUDIO_SDK_START||null;b.c=this.A;b.t=Oa();R(this,"recordTimings",[b]);a&&a()};var R=function(a,b,c,d){var e={};e.methodName=b;e.args=c&&Array.isArray(c)?c:[];Aj(a,"general",e,d||Ca)};q("studio.sdk.ContainerState",{COLLAPSING:"collapsing",COLLAPSED:"collapsed",EXPANDING:"expanding",EXPANDED:"expanded",FS_COLLAPSING:"fs_collapsing",FS_EXPANDING:"fs_expanding",FS_EXPANDED:"fs_expanded"},void 0);var Dj={NONE:0,LOG_ONLY:1};q("studio.sdk.ExitFlag",Dj,void 0);Dj.NONE=0;Dj.LOG_ONLY=1;var Ej={GET_CURRENT_POSITION:"getCurrentPosition",GET_DEFAULT_POSITION:"getDefaultPosition",GET_SCREEN_SIZE:"getScreenSize",CREATE_CALENDAR_EVENT:"createCalendarEvent",GET_MAX_SIZE:"getMaxSize",PLAY_VIDEO:"playVideo",STORE_PICTURE:"storePicture",SUPPORTS:"supports",USE_CUSTOM_CLOSE:"useCustomClose"};q("studio.sdk.MraidMethod",Ej,void 0);var Fj=function(){};q("studio.sdk.IEnabler",Fj,void 0);h=Fj.prototype;h.dd=function(){};h.reportManualClose=function(){};h.$c=function(){};h.fd=function(){};h.ed=function(){};h.isVisible=function(){};h.ra=function(){};h.isPageLoaded=function(){};h.isInitialized=function(){};h.oc=function(){};h.getParameter=function(){};h.exit=function(){};h.Lb=function(){};h.zc=function(){};h.counter=function(){};h.startTimer=function(){};h.stopTimer=function(){};h.Bc=function(){};h.Ec=function(){};h.vb=function(){}; h.Ob=function(){};h.Ra=function(){};h.Nb=function(){};h.close=function(){};h.Wa=function(){};h.Ya=function(){};h.addEventListener=function(){};h.removeEventListener=function(){};h.Yc=function(){};h.Xc=function(){};h.ad=function(){};h.yc=function(){};h.Sb=function(){};h.xc=function(){};h.Gc=function(){};h.Kc=function(){};function Gj(a,b){return"The "+a+" method has been deprecated. As an alternative please use: "+b+"."}function Hj(a,b){return'Custom event "'+a+'" of type "'+b+'" invoked.'};var Ij=function(a){this.g=a;this.h=""},Lj=function(a,b,c){for(var d=c.split("&"),e=0;ethis.o?this.o=Oa():1E3a?"0"+a:String(a)},hk=function(a){fk.call(this,a)};v(hk,fk); var ik=function(a,b){var c=[];c.push(a.l," ");if(a.h){var d=new Date(b.j);c.push("[",gk(d.getFullYear()-2E3)+gk(d.getMonth()+1)+gk(d.getDate())+" "+gk(d.getHours())+":"+gk(d.getMinutes())+":"+gk(d.getSeconds())+"."+gk(Math.floor(d.getMilliseconds()/10)),"] ")}d=c.push;var e=a.s.get();e=(b.j-e)/1E3;var f=e.toFixed(3),g=0;if(1>e)g=2;else for(;100>e;)g++,e*=10;for(;0=Qe.value)return"error";if(f.value>=Re.value)return"warn";if(f.value>=Te.value)return"log"}return"debug"}if(!this.l[a.h]){var c=ik(this.g,a),d=mk;if(d){var e=b(a.l);nk(d,e,c,a.g)}}}; var kk=null,mk=n.console,ok=function(){kk||(kk=new jk);n.location&&-1!=n.location.href.indexOf("Debug=true")&&lk()},nk=function(a,b,c,d){if(a[b])a[b](c,void 0===d?"":d);else a.log(c,void 0===d?"":d)};var qk=function(a,b,c){if("string"===typeof b)(b=pk(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=pk(c,d);f&&(c.style[f]=e)}},rk={},pk=function(a,b){var c=rk[b];if(!c){var d=vd(b);c=d;void 0===a.style[d]&&(d=(cd?"Webkit":bd?"Moz":Zc?"ms":null)+wd(d),void 0!==a.style[d]&&(c=d));rk[b]=c}return c},sk=function(a){"number"==typeof a&&(a=Math.round(a)+"px");return a},tk=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=cd&&!b&&!c;if((void 0===b||d)&&a.getBoundingClientRect){try{var e=a.getBoundingClientRect()}catch(f){e= {left:0,top:0,right:0,bottom:0}}return new pd(e.right-e.left,e.bottom-e.top)}return new pd(b,c)},vk=function(a){var b=zd(void 0),c=b.g;if(Zc&&c.createStyleSheet)return b=c.createStyleSheet(),uk(b,a),b;c=Md(b,"HEAD")[0];if(!c){var d=Md(b,"BODY")[0];c=b.h("HEAD");d.parentNode.insertBefore(c,d)}d=b.h("STYLE");var e;(e=ld('style[nonce],link[rel="stylesheet"][nonce]',void 0))&&d.setAttribute("nonce",e);uk(d,a);b.j(c,d);return d},wk=function(a){Kd(a.ownerNode||a.owningElement||a)},uk=function(a,b){b instanceof Gc&&b.constructor===Gc?b=b.g:(Ua("expected object of type SafeStyleSheet, got '"+b+"' of type "+Fa(b)),b="type_error:SafeStyleSheet");if(Zc&&void 0!==a.cssText)a.cssText=b;else if(n.trustedTypes)if(x(null!=a,"goog.dom.setTextContent expects a non-null value for node"),"textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=String(b);else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(x(a.lastChild));a.firstChild.data=String(b)}else{Jd(a);var c=yd(a); a.appendChild(c.createTextNode(String(b)))}else a.innerHTML=b},xk=function(a){a=a.style;a.position="relative";a.display="inline-block"};var S=function(a){window.AdobeEdge=window.AdobeEdge||{};window.AdobeEdge.bootstrapLoading=!0;n.console&&(ok(),lk());F.info("");if(a!=yk)return F.$a("You must access the enabler instance using studio.Enabler.getInstance(); or Enabler and not create a duplicate instance."),!1;L.call(this);this.B={};this.o={};this.K=new ri(si(),ti()?window.orientation:0);this.H=new M(this);this.ib=!1;this.F=null;this.j="collapsed";this.Eb=!1;this.pa=null;this.kf=0;this.gb={};this.oa=null;this.Db=!1;this.M=new G;this.l= null;this.Cb=[];this.Na={};this.Gb=[];this.h=new Pj;this.S=new Uj(this);a=A("CANVAS");a.getContext&&a.getContext("2d")||(a=null);this.kd=new ak(a);(a=A("VIDEO"))||(a=null);this.Qc=new Zj(a);this.g=new Mj(zk(this));a=this.xa=new nj;a.o=!0;N(a,document.body||window,"mousedown",a.B,{capture:!0,passive:!0});N(a,document.body||window,"touchstart",a.B,{capture:!0,passive:!0});this.Wb={}};v(S,L);q("studio.Enabler",S,void 0);var Ak=["c"],yk=Math.random(),Bk=!1,Ck=null,T=function(){Ck||(Ck=new S(yk));return Ck}; S.getInstance=T;h=S.prototype;h.Wc=-1;h.Ib=null;h.$b=null;h.Vb=null;h.gd=!0;h.yb=!1;h.Oa=!1;h.Tc=!1;h.ac=!1;h.Da=null;h.zb=null;h.za=null;h.I=null; var Dk=function(a){a.Vb||(a.Vb=Xj());return a.Vb},zk=function(a){var b=Dk(a).h;(a=Qd(Dk(a).toString()))&&Sd(a,function(c,d){-1=p.s?(ei(p),p.j[2]=3):p.g[2+p.l]=3;b.google_rum_config=m.toJSON(); var H=fi(f,3);var P=null==H?H:!!H;b.google_measure_js_timing=null==P?!1:P;var Ba=b.document,Hb=rf(g),Ja=Ba.createElement("script");Ja.src=Pc(Hb);Qc(Ja);var Hf=Ba.getElementsByTagName("script")[0];if(Hf&&Hf.parentNode){Hf.parentNode.insertBefore(Ja,Hf);var Em=Ja}else Em=null;Em||(b.google_timing_url=void 0,b.google_rum_config=void 0,b.google_measure_js_timing=void 0)}}}}}catch(Yq){}a.dispatchEvent(new Q("init"));a.M.g||a.M.L();e=a.xa;e.l=!!a.Wb.add_sodar_interaction_signals;if(e.l)try{Jh()}catch(Yq){}}; S.prototype.df=function(a){"number"===typeof a?(this.Wc=a,F.info("enabler.setProfileId set to: "+a)):F.info("enabler.setProfileId invalid profile id value: "+a)};S.prototype.setProfileId=S.prototype.df;S.prototype.ne=function(){return this.Wc};S.prototype.getProfileId=S.prototype.ne;S.prototype.af=function(a){t(a)?(this.Ib=a,this.isInitialized()&&Gk(this)):F.info("enabler.setDevDynamicContent invalid dcData value: "+a)};S.prototype.setDevDynamicContent=S.prototype.af; var Gk=function(a){if(null!=a.ga("dcData")||a.Ib)window.dynamicContent=null!=a.ga("dcData")?a.nb():a.Ib};S.prototype.nb=function(){var a=this.getParameter("dcData");return a?JSON.parse(String(a)):null};S.prototype.getDynamicDataPayload=S.prototype.nb;S.prototype.sa=function(){return this.$b};S.prototype.getLayoutsConfig=S.prototype.sa;S.prototype.rf=function(){return this.g.h.h||Zi(this.g)};S.prototype.getAdParameters=S.prototype.rf; S.prototype.yf=function(a){Oj(this.g,a);this.Da&&kh(this.Da);Hk(this);F.info("Asset properties have been set by host.")};S.prototype.setAdParameters=S.prototype.yf;S.prototype.Re=function(){this.Da&&kh(this.Da);F.info("Using default ad parameters in test environment. Simulating local events.");Hk(this)};S.setRushSimulatedLocalEvents=function(a){Bk=!!a;if(a&&Ck){a=Ck;for(var b=0;b=b.length&&""==b[0]))for(var c=0;c")&&(f=f.replace(dc,">")),-1!=f.indexOf('"')&&(f=f.replace(ec,""")),-1!=f.indexOf("'")&&(f=f.replace(fc,"'")), -1!=f.indexOf("\x00")&&(f=f.replace(gc,"�"))),f='',Wa(cb(c),"must provide justification"),x(!$b(cb(c)),"must provide non-empty justification"),c=(c=Qb())?c.createHTML(f):f,c=new Oc(c,null,Nc),(e=e.document)&&e.write&&(f=e.write,c instanceof Oc&&c.constructor===Oc?c=c.g:(Ua("expected object of type SafeHtml, got '"+c+"' of type "+Fa(c)),c="type_error:SafeHtml"),f.call(e,c),e.close()))):(e=nd(f,e,b,l))&& c.noopener&&(e.opener=null);d&&a.A()},Mk=function(a,b,c,d,e){R(a.I,e?"logExitFlushEventsOpenPopup":"launchExit",["Count",b,a.zb,!1,c,null,d])},Ok=function(a,b,c,d){if($b(sd(b)))F.info("There was a problem with the exit call.");else if(a.isInitialized()){var e=void 0!==d?d:0;d=a.o[b]&&a.o[b].target||"_blank";var f;if(f=!B(8))f=!(ic(a.g.getParameter("click",""),"[rm_exit_id]")&&null!=a.o[b]&&null!=a.o[b].reportingId&&!$b(a.o[b].reportingId));e=!(e&1);var g=a.g.getParameter("click",""),l=a.xa;if(l.o){var m= g;var p=Cd();l.g.set("dim",p.width+"x"+p.height);p="";for(var r=ha(l.g),H=r.next();!H.done;H=r.next()){var P=ha(H.value);H=P.next().value;P=P.next().value;p=null==P?p+"&"+H+"=":p+"&"+H+"="+P}l.l&&(r="bg=","string"===typeof l.s&&l.A(m,p,r,l.s)&&(r=""+r+l.s),p=p+"&"+r);m=p;p=g.toLowerCase().indexOf("&adurl=");-1d&&(d=c.length),a=c.indexOf("?"),0>a||a>d?(a=d,b=""):b=c.substring(a+1,d),c=[c.substr(0,a),b,c.substr(d)],d=c[1],c[1]=e?d?d+"&"+e:e:d,e=c[0]+(c[1]?"?"+c[1]:"")+c[2]):e=c;return e},Nk=function(a,b,c,d){var e=null;d&&(e=a.o[d],e=null!=e.reportingId?e.reportingId: null);b=b||"";d=a.g.getParameter("thirdPartyClickRedirect","");a=parseInt(a.g.getParameter("clickN"),10);if(!$b(sd(c))&&-1c||c>(a.j?a.j.length:0))throw Error("Child component index out of bounds");a.A&&a.j||(a.A={},a.j=[]);if(b.v==a){var d=zl(b);a.A[d]=b;sb(a.j,b)}else{d=a.A;var e=zl(b);if(null!==d&&e in d)throw Error('The object already contains the key "'+e+'"');d[e]=b}Bl(b,a);xb(a.j,c,0,b);b.qa&&a.qa&&b.v==a?(a=a.na(),(a.childNodes[c]||null)!=b.getElement()&&(b.getElement().parentElement== a&&a.removeChild(b.getElement()),c=a.childNodes[c]||null,a.insertBefore(b.getElement(),c))):(a.h||a.ba(),c=a.j?a.j[c+1]||null:null,Cl(b,a.na(),c?c.h:null))};yl.prototype.na=function(){return this.h}; var Dl=function(a,b){a.j&&a.j.forEach(b,void 0)},Gl=function(a){for(var b=[];a.j&&0!=a.j.length;){var c=b,d=c.push,e=a,f=a.j?a.j[0]||null:null;if(f){var g="string"===typeof f?f:zl(f);f=e.A&&g?Kb(e.A,g)||null:null;if(g&&f){var l=e.A;g in l&&delete l[g];sb(e.j,f);El(f);f.h&&Kd(f.h);Bl(f,null)}}if(!f)throw Error("Child is not in parent component");d.call(c,f)}};})();