(function(){var h,aa=function(a){var b=0;return function(){return b>>0),xa=0,ya=function(a,b,c){return a.call.apply(a.bind,arguments)},za=function(a,b,c){if(!a)throw Error();if(2b?null:t(a)?a.charAt(b):a[b]},E=function(a,b){b=Fa(a,b);var c;(c=0<=b)&&Array.prototype.splice.call(a,b,1);return c},La=function(a){return Array.prototype.concat.apply([], arguments)},Ma=function(a){var b=a.length;if(0")&&(a=a.replace(hb,">"));-1!=a.indexOf('"')&&(a=a.replace(ib,"""));-1!=a.indexOf("'")&&(a=a.replace(jb,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(kb,"�"));return a},fb=/&/g,gb=//g,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&&eb?1:0};var pb=function(){this.f="";this.g=ob};pb.prototype.ia=!0;pb.prototype.fa=function(){return this.f.toString()};pb.prototype.Ka=!0;pb.prototype.a=function(){return 1}; var qb=function(a){if(a instanceof pb&&a.constructor===pb&&a.g===ob)return a.f;sa(a);return"type_error:SafeUrl"},rb=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,tb=function(a){if(a instanceof pb)return a;a="object"==typeof a&&a.ia?a.fa():String(a);rb.test(a)||(a="about:invalid#zClosurez");return sb(a)},ob={},sb=function(a){var b=new pb;b.f=a;return b};sb("about:blank");var vb=function(){this.a="";this.f=ub};vb.prototype.ia=!0;var ub={};vb.prototype.fa=function(){return this.a}; var wb=function(a){var b=new vb;b.a=a;return b},xb=wb(""),Eb=function(a){if(a instanceof pb)return'url("'+qb(a).toString().replace(/",0);var Sb=Vb("",0);Vb("
",0);var Wb=Oa(function(){var a=document.createElement("div"),b=document.createElement("div");b.appendChild(document.createElement("div"));a.appendChild(b);b=a.firstChild.firstChild;a.innerHTML=Mb(Sb);return!b.parentElement}),Xb=function(a){var b=cb(Ya(Za));a.src=bb(b).toString()},Yb=function(a,b){a.src=bb(b);if(null===qa)b:{b=q.document;if((b=b.querySelector&&b.querySelector("script[nonce]"))&&(b=b.nonce||b.getAttribute("nonce"))&&pa.test(b)){qa=b;break b}qa=""}b=qa;b&&a.setAttribute("nonce",b)};var I=function(a){return null==a?"":String(a)},Zb=function(a){return String(a).replace(/\-([a-z])/g,function(b,c){return c.toUpperCase()})},$b=function(a){var b=t(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#parseFloat(oc)){nc=String(qc);break a}}nc=oc}var rc=nc,dc={},sc=function(a){return ec(a,function(){return 0<=nb(rc,a)})},tc;var uc=q.document; tc=uc&&J?mc()||("CSS1Compat"==uc.compatMode?parseInt(rc,10):5):void 0;var vc=Ib(),wc=ac()||H("iPod"),xc=H("iPad"),yc=H("Android")&&!(Jb()||Ib()||H("Opera")||H("Silk")),zc=Jb(),Ac=H("Safari")&&!(Jb()||H("Coast")||H("Opera")||H("Edge")||H("Edg/")||Ib()||H("Silk")||H("Android"))&&!(ac()||H("iPad")||H("iPod"));var Bc=function(a,b,c){a.addEventListener&&a.addEventListener(b,c,!1)};var Cc=function(a){var b;a.visibilityState?b="visibilitychange":a.mozVisibilityState?b="mozvisibilitychange":a.webkitVisibilityState&&(b="webkitvisibilitychange");return b},Dc=function(a,b){if(3==({visible:1,hidden:2,prerender:3,preview:4,unloaded:5}[b.visibilityState||b.webkitVisibilityState||b.mozVisibilityState||""]||0))return!1;a();return!0},Ec=function(a){var b=document;if(!Dc(a,b)){var c=!1,d=Cc(b),e=function(){!c&&Dc(a,b)&&(c=!0,b.removeEventListener&&b.removeEventListener(d,e,!1))};d&&Bc(b, d,e)}};var Fc=function(a,b){this.x=r(a)?a:0;this.y=r(b)?b:0};Fc.prototype.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};Fc.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};Fc.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};var K=function(a,b){this.width=a;this.height=b},Gc=function(a){return new K(a.width,a.height)};K.prototype.aspectRatio=function(){return this.width/this.height};K.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};K.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};K.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)):Da||(Da=new Hc)},Kc=function(a,b){return t(b)?a.getElementById(b):b},Mc=function(a,b){Pa(b,function(c,d){c&&"object"==typeof c&&c.ia&&(c=c.fa());"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:jc||"CSS1Compat"!=a.compatMode?a.body||a.documentElement:a.documentElement},Oc=function(a,b){return a.createElement(String(b))},Rc=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||q.document||document}; Hc.prototype.P=function(){return Kc(this.a,void 0)};var Tc=function(a){Sc();return cb(a)},Sc=v;var Vc=function(){var a=Uc;try{return!!a&&null!=a.location.href&&cc(a,"foo")}catch(b){return!1}};var Wc=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)},Xc=Oa(function(){return"referrerPolicy"in q.document.createElement("img")});var Yc=function(){return jc?"Webkit":ic?"Moz":J?"ms":fc?"O":null},Zc=function(){return jc?"-webkit":ic?"-moz":J?"-ms":fc?"-o":null};var $c=function(a,b){this.top=a;this.left=b};$c.prototype.ceil=function(){this.top=Math.ceil(this.top);this.left=Math.ceil(this.left);return this};$c.prototype.floor=function(){this.top=Math.floor(this.top);this.left=Math.floor(this.left);return this};$c.prototype.round=function(){this.top=Math.round(this.top);this.left=Math.round(this.left);return this};var ad=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};ad.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};ad.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}; ad.prototype.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};var cd=function(a,b,c){if(t(b))(b=bd(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=bd(c,d);f&&(c.style[f]=e)}},dd={},bd=function(a,b){var c=dd[b];if(!c){var d=Zb(b);c=d;void 0===a.style[d]&&(d=Yc()+$b(d),void 0!==a.style[d]&&(c=d));dd[b]=c}return c},ed=function(a,b){var c=a.style[Zb(b)];return"undefined"!==typeof c?c:a.style[bd(a,b)]||""},fd=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},hd=function(a,b,c){if(b instanceof K)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");a.style.width=gd(b,!0);a.style.height=gd(c,!0)},gd=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a};var id=!!window.google_async_iframe_id,Uc=id&&window.parent||window,jd=function(){if(id&&!Vc()){var a="."+Ca.domain;try{for(;2c&&(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},nd=/#|$/;y();var od=null;var pd=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 qd=q.performance,rd=!!(qd&&qd.mark&&qd.measure&&qd.clearMarks),sd=Oa(function(){var a;if(a=rd){var b;if(null===od){od="";try{a="";try{a=q.top.location.hash}catch(c){a=q.location.hash}a&&(od=(b=a.match(/\bdeid=([\d,]+)/))?b[1]:"")}catch(c){}}b=od;a=!!b.indexOf&&0<=b.indexOf("1337")}return a}),td=function(){var a=jd();this.a=[];this.g=a||q;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=sd()||(null!= b?b:1>Math.random())},ud=function(a){a&&qd&&sd()&&(qd.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_start"),qd.clearMarks("goog_"+a.label+"_"+a.uniqueId+"_end"))};td.prototype.start=function(a,b){if(!this.f)return null;var c=void 0===c?q:c;c=c.performance;(c=c&&c.now?c.now():null)||(c=(c=q.performance)&&c.now&&c.timing?Math.floor(c.now()+c.timing.navigationStart):y());a=new pd(a,b,c);b="goog_"+a.label+"_"+a.uniqueId+"_start";qd&&sd()&&qd.mark(b);return a};var vd=new td,wd=function(){var a=jd();a&&"undefined"!=typeof a.google_measure_js_timing&&!a.google_measure_js_timing&&(vd.f=!1,vd.a!=vd.g.google_js_reporting_queue&&(sd()&&D(vd.a,ud),vd.a.length=0))};(function(){var a=jd();a&&a.document&&("complete"==a.document.readyState?wd():vd.f&&Bc(a,"load",function(){wd()}))})();if(Ca&&Ca.URL){var xd=Ca.URL;if(xd&&xd){var yd=/.*[&#?]google_debug(=[^&]*)?(&.*)?$/;try{yd.exec(decodeURIComponent(xd))}catch(a){}}};var zd=function(a,b){this.j=Math.random()=a.keyCode)a.keyCode=-1}catch(b){}};var Wd="closure_listenable_"+(1E6*Math.random()|0),Xd=function(a){return!(!a||!a[Wd])},Yd=0;var Zd=function(a,b,c,d,e){this.listener=a;this.a=null;this.src=b;this.type=c;this.capture=!!d;this.Ca=e;this.key=++Yd;this.ta=this.ya=!1},$d=function(a){a.ta=!0;a.listener=null;a.a=null;a.src=null;a.Ca=null};var ae=function(a){this.src=a;this.a={};this.f=0};ae.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=be(a,b,d,e);-1c.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=se(c[e],a,!0,b);d=d&&f}for(e=0;e>> 0),je=function(a){if(ua(a))return a;a[te]||(a[te]=function(b){return a.handleEvent(b)});return a[te]};var ue=function(a){L.call(this);this.f=a;this.a={}};B(ue,L); var ve=[],N=function(a,b,c,d){w(c)||(c&&(ve[0]=c.toString()),c=ve);for(var e=0;ea.f&&(a.f++,b.next=a.a,a.a=b)};var Ce=function(a){q.setTimeout(function(){throw a;},0)},De,Ee=function(){var a=q.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!H("Presto")&&(a=function(){var e=document.createElement("IFRAME");e.style.display="none";Xb(e);document.documentElement.appendChild(e);var f=e.contentWindow;e=f.document;e.open();e.write(Mb(Sb));e.close();var g="callImmediate"+Math.random(),k="file:"==f.location.protocol?"*":f.location.protocol+"//"+f.location.host; e=x(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&&!H("Trident")&&!H("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(r(c.next)){c=c.next;var e=c.Za;c.Za=null;e()}};return function(e){d.next={Za:e};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")? function(e){var f=document.createElement("SCRIPT");f.onreadystatechange=function(){f.onreadystatechange=null;f.parentNode.removeChild(f);f=null;e();e=null};document.documentElement.appendChild(f)}:function(e){q.setTimeout(e,0)}};var Fe=function(){this.f=this.a=null},He=new Ae(function(){return new Ge},function(a){a.reset()});Fe.prototype.add=function(a,b){var c=He.get();c.set(a,b);this.f?this.f.next=c:this.a=c;this.f=c};var Je=function(){var a=Ie,b=null;a.a&&(b=a.a,a.a=a.a.next,a.a||(a.f=null),b.next=null);return b},Ge=function(){this.next=this.f=this.a=null};Ge.prototype.set=function(a,b){this.a=a;this.f=b;this.next=null};Ge.prototype.reset=function(){this.next=this.f=this.a=null};var Ne=function(a,b){Ke||Le();Me||(Ke(),Me=!0);Ie.add(a,b)},Ke,Le=function(){if(q.Promise&&q.Promise.resolve){var a=q.Promise.resolve(void 0);Ke=function(){a.then(Oe)}}else Ke=function(){var b=Oe;!ua(q.setImmediate)||q.Window&&q.Window.prototype&&!H("Edge")&&q.Window.prototype.setImmediate==q.setImmediate?(De||(De=Ee()),De(b)):q.setImmediate(b)}},Me=!1,Ie=new Fe,Oe=function(){for(var a;a=Je();){try{a.a.call(a.f)}catch(b){Ce(b)}Be(He,a)}Me=!1};var Pe=function(a){if(!a)return!1;try{return!!a.$goog_Thenable}catch(b){return!1}};var P=function(a,b){this.a=0;this.s=void 0;this.j=this.f=this.g=null;this.o=this.A=!1;if(a!=v)try{var c=this;a.call(b,function(d){Qe(c,2,d)},function(d){Qe(c,3,d)})}catch(d){Qe(this,3,d)}},Re=function(){this.next=this.context=this.f=this.j=this.a=null;this.g=!1};Re.prototype.reset=function(){this.context=this.f=this.j=this.a=null;this.g=!1}; var Se=new Ae(function(){return new Re},function(a){a.reset()}),Te=function(a,b,c){var d=Se.get();d.j=a;d.f=b;d.context=c;return d},Ve=function(a,b,c){Ue(a,b,c,null)||Ne(Aa(b,a))},We=function(a){return new P(function(b,c){var d=a.length,e=[];if(d)for(var f=function(m,n){d--;e[m]=n;0==d&&b(e)},g=function(m){c(m)},k=0,l;k=b.v&&b.cancel())}this.D?this.D.call(this.H,this):this.B=!0;this.a||(a=new pf(this),qf(this),rf(this,!1,a))}};of.prototype.C=function(a,b){this.s=!1;rf(this,a,b)}; var rf=function(a,b,c){a.a=!0;a.g=c;a.j=!b;sf(a)},qf=function(a){if(a.a){if(!a.B)throw new tf(a);a.B=!1}},uf=function(a,b,c,d){a.o.push([b,c,d]);a.a&&sf(a)};of.prototype.then=function(a,b,c){var d,e,f=new P(function(g,k){d=g;e=k});uf(this,d,function(g){g instanceof pf?f.cancel():e(g)});return f.then(a,b,c)};of.prototype.$goog_Thenable=!0; var vf=function(a){return Ia(a.o,function(b){return ua(b[1])})},sf=function(a){if(a.A&&a.a&&vf(a)){var b=a.A,c=wf[b];c&&(q.clearTimeout(c.a),delete wf[b]);a.A=0}a.f&&(a.f.v--,delete a.f);b=a.g;for(var d=c=!1;a.o.length&&!a.s;){var e=a.o.shift(),f=e[0],g=e[1];e=e[2];if(f=a.j?g:f)try{var k=f.call(e||a.H,b);r(k)&&(a.j=a.j&&(k==b||k instanceof Error),a.g=b=k);if(Pe(b)||"function"===typeof q.Promise&&b instanceof q.Promise)d=!0,a.s=!0}catch(l){b=l,a.j=!0,vf(a)||(c=!0)}}a.g=b;d&&(k=x(a.C,a,!0),d=x(a.C, a,!1),b instanceof of?(uf(b,k,d),b.F=!0):b.then(k,d));c&&(b=new xf(b),wf[b.a]=b,a.A=b.a)},tf=function(){C.call(this)};B(tf,C);tf.prototype.message="Deferred has already fired";tf.prototype.name="AlreadyCalledError";var pf=function(){C.call(this)};B(pf,C);pf.prototype.message="Deferred was canceled";pf.prototype.name="CanceledError";var xf=function(a){this.a=q.setTimeout(x(this.g,this),0);this.f=a};xf.prototype.g=function(){delete wf[this.a];throw this.f;};var wf={};A("studio.common.gdn.Environment.EngagementPhase",{INVITATION:0,ENGAGED:1,INVITATION_LARGE_CANVAS:2});var yf=function(a){this.a=a};A("studio.common.mde.Direction",yf);yf.Corner={ee:0,ge:1,md:2,od:3};yf.prototype.toString=function(){return(this.a&2?"b":"t")+(this.a&1?"r":"l")};var zf=function(a,b,c,d,e){this.name=a;this.f=b;this.type=c;this.j=d;this.A=e;this.chargeable=!1},Af=function(a){switch(a){case "Exit":return"Exit";case "Count":return"Counter";case "Start":case "Stop":return"Timer";default:throw"Unsupported event action";}};var Bf={DISPLAY_TIMER:{id:null,type:"Timer",J:!0,K:!0},INTERACTION_TIMER:{id:null,type:"Timer",J:!0,K:!0},INTERACTIVE_IMPRESSION:{id:null,type:"Counter",J:!0,K:!1},MANUAL_CLOSE:{id:null,type:"Counter",J:!0,K:!0},EXPAND_TIMER:{id:null,type:"Timer",J:!0,K:!1},FULL_SCREEN:{id:null,type:"Counter",J:!0,K:!0},SCROLL:{id:null,type:"Counter",J:!0,K:!0},LARGE_SCROLL:{id:null,type:"Counter",J:!0,K:!0},SMALL_SCROLL:{id:null,type:"Counter",J:!0,K:!0},ENGAGEMENT:{id:null,type:"Counter",J:!0,K:!0},VIDEO_PLAY:{id:null, type:"Counter",J:!0,K:!1},VIDEO_VIEW_TIMER:{id:null,type:"Timer",J:!0,K:!0},VIDEO_COMPLETE:{id:null,type:"Counter",J:!0,K:!1},VIDEO_INTERACTION:{id:null,type:"Counter",J:!0,K:!0},VIDEO_PAUSE:{id:null,type:"Counter",J:!0,K:!0},VIDEO_MUTE:{id:null,type:"Counter",J:!0,K:!0},VIDEO_REPLAY:{id:null,type:"Counter",J:!0,K:!0},VIDEO_FIRST_QUARTILE:{id:null,type:"Counter",J:!0,K:!0},VIDEO_MIDPOINT:{id:null,type:"Counter",J:!0,K:!0},VIDEO_THIRD_QUARTILE:{id:null,type:"Counter",J:!0,K:!0},VIDEO_STOP:{id:null, type:"Counter",J:!0,K:!0},VIDEO_UNMUTE:{id:null,type:"Counter",J:!0,K:!0},BACKUP_IMAGE_IMPRESSION:{id:null,type:"Counter",J:!0,K:!0},HTML5_CREATIVE_IMPRESSION:{id:null,type:"Counter",J:!0,K:!0}},Cf=function(a){var b=Bf[a];return b?new zf(a,b.id,b.type,b.J,b.K):null};var Df={3:"INTERACTION_TIMER",EVENT_USER_INTERACTION:"INTERACTIVE_IMPRESSION",EVENT_MANUAL_CLOSE:"MANUAL_CLOSE",EVENT_VIDEO_PLAY:"VIDEO_PLAY",EVENT_VIDEO_VIEW_TIMER:"VIDEO_VIEW_TIMER",EVENT_VIDEO_COMPLETE:"VIDEO_COMPLETE",EVENT_VIDEO_INTERACTION:"VIDEO_INTERACTION",EVENT_VIDEO_PAUSE:"VIDEO_PAUSE",EVENT_VIDEO_MUTE:"VIDEO_MUTE",EVENT_VIDEO_REPLAY:"VIDEO_REPLAY",EVENT_VIDEO_FIRSTQUARTILE:"VIDEO_FIRST_QUARTILE",EVENT_VIDEO_MIDPOINT:"VIDEO_MIDPOINT",EVENT_VIDEO_THIRDQUARTILE:"VIDEO_THIRD_QUARTILE",EVENT_VIDEO_STOP:"VIDEO_STOP", EVENT_VIDEO_UNMUTE:"VIDEO_UNMUTE",EVENT_FULLSCREEN:"FULL_SCREEN",DISPLAY_TIMER:"DISPLAY_TIMER",INTERACTION_TIMER:"INTERACTION_TIMER",INTERACTIVE_IMPRESSION:"INTERACTIVE_IMPRESSION",MANUAL_CLOSE:"MANUAL_CLOSE",EXPAND_TIMER:"EXPAND_TIMER",FULL_SCREEN:"FULL_SCREEN",SCROLL:"SCROLL",LARGE_SCROLL:"LARGE_SCROLL",SMALL_SCROLL:"SMALL_SCROLL",ENGAGEMENT:"ENGAGEMENT",VIDEO_PLAY:"VIDEO_PLAY",VIDEO_VIEW_TIMER:"VIDEO_VIEW_TIMER",VIDEO_COMPLETE:"VIDEO_COMPLETE",VIDEO_INTERACTION:"VIDEO_INTERACTION",VIDEO_PAUSE:"VIDEO_PAUSE", VIDEO_MUTE:"VIDEO_MUTE",VIDEO_REPLAY:"VIDEO_REPLAY",VIDEO_FIRST_QUARTILE:"VIDEO_FIRST_QUARTILE",VIDEO_MIDPOINT:"VIDEO_MIDPOINT",VIDEO_THIRD_QUARTILE:"VIDEO_THIRD_QUARTILE",VIDEO_STOP:"VIDEO_STOP",VIDEO_UNMUTE:"VIDEO_UNMUTE",BACKUP_IMAGE_IMPRESSION:"BACKUP_IMAGE_IMPRESSION",HTML5_CREATIVE_IMPRESSION:"HTML5_CREATIVE_IMPRESSION"};var Hf=function(a){var b={},c=b.document||document,d=bb(a).toString(),e=Oc(document,"SCRIPT"),f={nb:e,vb:void 0},g=new of(f),k=null,l=null!=b.timeout?b.timeout:5E3;0=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)}};wg.prototype.toString=function(){return"[PrimaryFile "+this.id+"]"}; var zg=function(a){return"BACKUP_IMAGE"!=a.g&&"PRE_LOADER"!=a.g},Ag=function(a,b){var c=b.zindex;null!=c&&(c=parseInt(c,10),isNaN(c)||(a.N=c));c=b.expansionMode;null==c||G(I(c))||null===a.a||(c=cg(c),null!==c&&(a.a.expansionMode=c));c=b.hideObjects;null==c||G(I(c))||null===a.j||(a.j.a="true"==c);c=null;if(null!==a.f){c=a.f.j||null;var d=vg(c,"mtfDuration");d=parseInt(b[d],10);isNaN(d)||(a.f.endTime=d,a.f.f=!0);d=[];if(null===c){var e=b.mtfLeft;d[0]=b.mtfTop;d[1]=e}else e=vg(c,"mtfTop"),null!=b[e]&& (d=b[e].split(","));2<=d.length&&(e=parseInt(d[0],10),isNaN(e)||(a.f.a.top=e,a.f.a.f=ng(d[0])),e=parseInt(d[1],10),isNaN(e)||(a.f.a.left=e,a.f.a.a=ng(d[1])))}d=b.mtfRenderFloatInplace;if(a.I||"true"==d)d=vg(c,"ad_container_id"),d=b[d],G(I(d))||(a.v=d);a.B&&(c=vg(c,"wmode"),b=fg(b[c]),null!==b&&(a.B.a=b))},Bg=function(a){return oa(a)&&!isNaN(a)};var Cg=function(a,b,c){this.a=a;this.f=b;this.ob=!!c};Cg.prototype.ga=function(){return this.a};Cg.prototype.ping=function(){Kf(this.f,this.a,this.ob)};var Dg={qd:"CLICK",Ed:"IMPRESSION_JS",Dd:"IMPRESSION_IMG",ld:"ARTWORK_IMPRESSION",vd:"ENGAGEMENT_IMG",wd:"EXPANSION"},Eg=["IMPRESSION_IMG","ARTWORK_IMPRESSION"];A("THIRD_PARTY_TYPES_TO_PING_AT_IMPRESSION_TIME",Eg);var Fg=function(a){return Sa(Dg,a)?a:null};var Gg=function(a){this.a=!!a},Kf=function(a,b,c){c?a.a||G(I(b))||null===b||(Xc()?Wc(window,b,!0):(a=q.document,a.body?(c=a.getElementById("goog-srcless-iframe"),c||(c=Oc((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&&Wc(a.contentWindow,b,!0))):a.a||G(I(b))||(window.studioV2_image_requests||(window.studioV2_image_requests=[]),a=Oc(document,"img"),a.src=b,window.studioV2_image_requests.push(a))};var Hg=function(){this.g=this.j=this.A=this.height=this.width=this.f=this.target=this.a="";this.o=[]},Ig=function(a){var b=Ka(a.primaryFiles,function(f){return"BACKUP_IMAGE"==f.renderAs});if(null===b)return null;var c=new Hg;c.f=b.url||c.f;c.width=b.width||c.width;c.height=b.height||c.height;c.A=a.impressionUrl;b=Ka(a.exitEvents,function(f){return!!f.backUpExit});null!==b&&(b.destinationUrl&&(c.a=a.clickUrl?Od(a.clickUrl,b.destinationUrl,b.reportingId):b.destinationUrl),c.target=b.targetWindow||c.target); b=Ka(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 Gg(a.previewMode||!1),e=0;eb[e]&&(d=!1);a[c+2]=d?b[c]:-1}this.a=a};var Ng=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 Og=function(a,b){if("boolean"==typeof a)return a;if(t(a)){if("true"===a)return!0;if("false"===a)return!1}return b?b:!1};var Pg=function(){this.ra=!1;this.v=this.j=this.mb="";this.s=new K(0,0);this.o="";this.qa=!1;this.B=new K(0,0);this.f=!1;this.R=this.W=this.Ra="";this.ca=[];this.Na=this.X=!1;this.pa=null;this.a={};this.I="";this.S=this.Oa=this.U=!1;this.na=null;this.D="";this.T={Da:"",Ea:""};this.A={};this.C=this.ea=this.Z="";this.N=1;this.$=this.ja=this.da="";this.oa=null;this.Ua=!1;this.g=[];this.jb=[];this.ub=[];this.Ha={};this.Sa={};this.O={};this.Ta={};this.Ja={};this.H={};this.V=!1;this.ka={};this.F=this.M= null;this.Pa=!1;this.Aa=null;this.ka.Exit=this.O;this.ka.Timer=this.Ta;this.ka.Counter=this.Ja};Pg.prototype.kb=!1; var Qg=function(a){a=ba(a.g);for(var b=a.next();!b.done;b=a.next()){b=b.value;var c=b.v;if(c&&b.M&&(b=document.getElementById(c)))for(c=b;b=c.firstChild;)c.removeChild(b)}},Tg=function(a,b){if(!a.ra){a.ra=!0;a.mb=b.renderingLibraryData.version;var c=b.creativeParameters;a.j=c.cid||a.j;a.v=c.creative_unique_id||a.v;a.s=new K(parseInt(b.width,10)||a.s.width,parseInt(b.height,10)||a.s.height);a.B=new K(parseInt(b.slotWidth,10)||a.B.width,parseInt(b.slotHeight,10)||a.B.height);a.f=Og(b.previewMode,a.f); a.Ra=a.f?b.previewEventsUrl:"";a.W=c.rv||a.W;a.R=b.flashVersion||a.R;w(b.html5Features)&&(a.X=0<=Fa(b.html5Features,"Modernizr.cssanimations"),a.ca=b.html5Features);a.Ua=b.translated_layout;a.a=c;a.I=c.ad_container_id||a.I;a.U=Og(c.mtfRenderFloatInplace,a.U);a.Oa=Og(c.generate_ad_slot,a.Oa);a.$=c.exit_suffix||a.$;a.ja=c.swiffy_url||a.ja;a.qa=!!c.swiffy_url;a:{var d=b.primaryFiles;if(null!=d)for(var e=0;e.");if("DIV"in Rb)throw Error("Tag name
is not allowed for SafeHtml.");c=null;var d="";if(b)for(m in b){if(!Pb.test(m))throw Error('Invalid attribute name "'+m+'".');var e=b[m];if(null!=e){var f=m;var g=e;if(g instanceof F)g=Ya(g);else if("style"==f.toLowerCase()){e=void 0; if(!va(g))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof g+" given: "+g);if(!(g instanceof vb)){var k="";for(e in g){if(!/^[-_a-zA-Z0-9]+$/.test(e))throw Error("Name allows only [-_a-zA-Z0-9], got: "+e);var l=g[e];null!=l&&(l=w(l)?Ha(l,Eb).join(" "):Eb(l),k+=e+":"+l+";")}g=k?wb(k):xb}g instanceof vb&&g.constructor===vb&&g.f===ub?e=g.a:(sa(g),e="type_error:SafeStyle");g=e}else{if(/^on/i.test(f))throw Error('Attribute "'+f+'" requires goog.string.Const value, "'+ g+'" given.');if(f.toLowerCase()in Qb)if(g instanceof ab)g=bb(g).toString();else if(g instanceof pb)g=qb(g).toString();else if(t(g))g=tb(g).fa();else throw Error('Attribute "'+f+'" on tag "div" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+g+'" given.');}g.ia&&(g=g.fa());f=f+'="'+lb(String(g))+'"';d+=" "+f}}var m="":(c=Ub(d),m+=">"+Mb(c).toString()+"
",c=c.a());(b=b&&b.dir)&&(/^(ltr|rtl|auto)$/i.test(b)?c=0:c=null); b=Vb(m,c);if(Wb())for(;a.lastChild;)a.removeChild(a.lastChild);a.innerHTML=Mb(b);return""!=ed(a.firstChild,"transition")});var th=!1,uh="",vh=function(a){a=a.match(/[\d]+/g);if(!a)return"";a.length=3;return a.join(".")}; (function(){if(navigator.plugins&&navigator.plugins.length){var a=navigator.plugins["Shockwave Flash"];if(a&&(th=!0,a.description)){uh=vh(a.description);return}if(navigator.plugins["Shockwave Flash 2.0"]){th=!0;uh="2.0.0.11";return}}if(navigator.mimeTypes&&navigator.mimeTypes.length&&(a=navigator.mimeTypes["application/x-shockwave-flash"],th=!(!a||!a.enabledPlugin))){uh=vh(a.enabledPlugin.description);return}if("undefined"!=typeof ActiveXObject){try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); th=!0;uh=vh(b.GetVariable("$version"));return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");th=!0;uh="6.0.21";return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),th=!0,uh=vh(b.GetVariable("$version"))}catch(c){}}})();var wh=uh;var xh=function(a){return(a=a.exec(Fb))?a[1]:""},yh=function(){if(vc)return xh(/Firefox\/([0-9.]+)/);if(J||gc||fc)return rc;if(zc)return ac()||H("iPad")||H("iPod")?xh(/CriOS\/([0-9.]+)/):xh(/Chrome\/([0-9.]+)/);if(Ac&&!(ac()||H("iPad")||H("iPod")))return xh(/Version\/([0-9.]+)/);if(wc||xc){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Fb);if(a)return a[1]+"."+a[2]}else if(yc)return(a=xh(/Android\s+([0-9.]+)/))?a:xh(/Version\/([0-9.]+)/);return""}();var zh=document.createElement("VIDEO");zh&&zh.canPlayType&&zh.canPlayType("video/mp4").replace(/no/,"");var Ah=document.createElement("VIDEO");Ah&&Ah.canPlayType&&Ah.canPlayType("video/webm").replace(/no/,""); var Bh=function(a){return(hc||ic||jc||fc||!1)&&!kc&&0<=nb(wh,a)},Ch=function(a,b){if(!q.postMessage)return!1;a=w(a)?Ma(a):[];Ka(a,function(c){return"Modernizr.canvas"==c})||a.push("Modernizr.canvas");b&&!Ka(a,function(c){return"Modernizr.cssanimations"==c})&&a.push("Modernizr.cssanimations");return Ja(a,function(c){if("svgFilters"==c){if(!(J&&sc("10")&&10<=Number(tc)||zc&&0<=nb(yh,"18")||vc&&0<=nb(yh,"11")))return!1}else if("svgFeImage"==c){if(!(J&&sc("10")&&10<=Number(tc)||zc&&0<=nb(yh,"29")))return!1}else if(/Modernizr.canvas/.test(c)){if(!(document.createElement("canvas").getContext|| J&&0<=nb(yh,"9")))return!1}else if(/Modernizr.cssanimations/.test(c)){if(c=Nc(document).style,!r(c.animationName)&&!r(c[Yc()+"AnimationName"]))return!1}else if(/Modernizr.cssgradients/.test(c)){c="";for(var d,e=["",Zc()+"-"],f=0;f']:['','']).join("");d=new Gg(d);var n=I(b.A);G(n)||Kf(d,n);Kf(d,b.j);Kf(d,b.g);for(n=0;nd&&(d=0);a.a[b]=a.a[b]||0;a.a[b]+=d;delete a.f[b];c&&a.o[c]&&E(a.o[c],b)}},Li=function(a){for(var b in a.f)Ki(a, b)},Mi=function(a){for(var b in a.f)Ki(a,b),Ji(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=y()-this.j};h.G=function(){for(this.ba();0