/*Copyright (c) 2011-2017 Moat Inc. All Rights Reserved.*/ try{(function(z,x){function sa(b){w.k.b.sxaz("trackingReady",{callback:sa});M=y.h;y.h++;y.i[M]=!1;w.u.j();w.c.l.b||(w.c.l.b=!0,y.dcsx.ynds(window,"unload","unload-"+w.c.l.a,"unloadFn"+w.c.l.a),y.dcsx.ynds(window,"beforeunload","unload-"+w.c.l.a,"beforeunloadFn"+w.c.l.a));y.swde.azsx("unload-"+w.c.l.a,ta,{once:!0});w.k.b.azsx("allLocalAdsKilled",function(){y.swde.sxaz("unload-"+w.c.l.a,{callback:ta})},{once:!0});w.g.e(w.y.e,100);w.a.m()&&w.g.f(Q,3E5);"undefined"===typeof b&&(b=w.ai.c(G));var h=G.parentNode; "undefined"===typeof b&&(b={});za(b,1E4);w.j.bc(b);w.aa.b(17,b);w.z.c(h,b)}function za(b,h){w.g.f(function(){b&&b.shouldKillTimeout||!1!==y.i[M]||(w.aa.b(11,b),w.k.b.zaxs("adNotFoundTimeout"),Q())},h)}var w={},na,oa,pa,M=0,qa={},la=[],D={},S=[],B={},ma=!1,ua={15:"",12:"",6:"",7:""},O,va=function(){for(var b=0;bb&&14x.abs(t.width/b.c.d.innerWidth-q)&&(m=q);return{w:t.width/m,h:t.height/m}}return{w:t.width,h:t.height}};b.a.aj=function(){var b=window;try{return"undefined"!== typeof b.external&&"undefined"!==typeof b.external.InPrivateFilteringEnabled&&b.external.InPrivateFilteringEnabled()||"undefined"!==typeof b.external&&"undefined"!==typeof b.external.msTrackingProtectionEnabled&&b.external.msTrackingProtectionEnabled()||"undefined"!==typeof b._gaUserPrefs&&b._gaUserPrefs.ioo&&b._gaUserPrefs.ioo()||"undefined"!==typeof navigator.doNotTrack&&("yes"===navigator.doNotTrack||!0===navigator.doNotTrack||"1"===navigator.doNotTrack)||"undefined"!==typeof b._gaUserPrefs&&!0=== b._gaUserPrefs}catch(q){return!1}};b.a.getAttribute=function(b,q){return b[q]||b.getAttribute(q)};var f=[function(b){if(!b||"IFRAME"!==b.nodeName)return!1;var q=b.offsetHeight;return isNaN(q)||15=b.a.c};var k={};b.a.ap=function(e){if(!e||!e.nodeName||"IMG"==!e.nodeName||!e.complete)return!1;var q=e.getAttribute("src");if(!q)return!1;if(k[q])return k[q];try{if("undefined"!==typeof e.naturalHeight&&"undefined"!==typeof e.naturalWidth){var m={width:e.naturalWidth,height:e.naturalHeight};return k[e.src]= m}}catch(c){}return b.c.a&&(b.c.a.src=q,b.c.a.a)?(m={width:parseInt(b.c.a.b),height:parseInt(b.c.a.c)},k[q]=m):!1};b.a.aq=function(b,e){var m=!1,c=e.body,l=c&&c.firstChild;c&&l&&(c.insertBefore(b,l),m=!0);return m};b.a.ar=function(){var b;return function(){if(!b)a:{for(var e=document.getElementsByTagName("script"),m=e.length-1;-1e;)if(e++,b&&1===b.nodeType)return b}};b.a.aw=function(b,e,m){"undefined"!==typeof m&&(b[e]=m)};b.a.filter=function(b,e){for(var m=[],c=0;cl;l++)if(q!=q.parent){if(c=b.f.b(e,q))m.push(c);else break;q=q.parent;e=c}else break;return m};b.a.bq=function(b){b=x.max(4,b);return((1+x.random())*x.pow(16,b)|0).toString(16).substring(0,b)};b.a.br=function(){var e=b.a.bq;return e(4)+"-"+e(4)+"-"+e(4)+ "-"+e(4)};b.a.a=function(b){window&&window.clearTimeout&&window.clearTimeout(b)};b.a.b=function(b){window&&window.clearInterval&&window.clearInterval(b)};var e=function(e,q){if(b.a.bf(q.toString))return q.toString();if(b.a.bf(e&&e.Function.prototype.toString))return q.toString=e.Function.prototype.toString,q.toString();var m=b.c.d!==e&&b.c.d&&b.c.d.Function.prototype.toString;if(b.a.bf(m))return q.toString=m,q.toString();if(b.c.f&&8>=b.a.n())return q.toString();var m=e||window,c=m.document.createElement("IFRAME"); c.style.display="none";c.style.width="0px";c.style.height="0px";c.width="0";c.height="0";b.a.ba(c,m.document.documentElement);c.contentWindow&&(q.toString=c.contentWindow.Function.prototype.toString);var l=q.toString();m.document.documentElement.removeChild(c);return l};b.a.toString=function(c,q){q=q||b.c.d;var m;try{m=e(q,c)}catch(l){m=c.toString()}return m};b.a.bs=function(e,q,m){e=b.a.toString(e,m);if(b.c.g())m.eval("("+e+")("+q+")");else if(m.Function)(new m.Function("("+e+")("+q+")"))();else{var c= m.document.createElement("script");c.type="text/javascript";c.text="("+e+")("+q+")";b.a.ba(c,m.document.body)}};b.a.bt=function(e,q,m){function c(b,e){try{return e[b]}catch(m){}}var l,n;if("string"!==typeof e)return!1;l=window;n=c(e,l);if(!n){q=b.f.c(l,"number"===typeof q?q:20);if(!q)return!1;for(var f=0,d=q.length;fh;){h++;if(d===window.top||b.f.h(d.parent))break;d=d.parent}return d}})(w);(function(b){function h(b){return function(){var d=!1;return function(f){try{return b&&b.apply?b.apply(null,arguments):b(f)}catch(v){if(!d){d=!0;var k=(new z).getTime();window["Moat#ETS"]||(window["Moat#ETS"]=k);window["Moat#EMC"]||(window["Moat#EMC"]=0);var r=36E5<=k-window["Moat#ETS"],n="";try{n=b.toString()}catch(e){n="failed"}n=v.name+" in closure (cb): "+v.message+", stack="+v.stack+", \ncb="+n+ "\n";if(!r&&10>window["Moat#EMC"]){window["Moat#EMC"]++;try{var u="https://px.moatads.com/pixel.gif?e=24&d=data%3Adata%3Adata%3Adata&i="+escape("IDG2")+"&ac=1&k="+escape(n)+"&ar="+escape("57071bd-clean")+"&j="+escape(document.referrer)+"&cs="+(new z).getTime(),l=new Image(1,1);l.src=u}catch(e){}}else if(r){window["Moat#EMC"]=1;window["Moat#ETS"]=k;try{u="https://px.moatads.com/pixel.gif?e=24&d=data%3Adata%3Adata%3Adata&i="+escape("IDG2")+"&ac=1&k="+escape(n)+"&ar="+escape("57071bd-clean")+ "&j="+escape(document.referrer)+"&cs="+(new z).getTime(),l=new Image(1,1),l.src=u}catch(e){}}}}}}()}b.g={};var d={};b.g.a=d;b.g.b=function(c,d){if(!c||"string"!==typeof d||!c[d]||c==window)return!1;if("string"===typeof c.nodeName&&("OBJECT"===c.nodeName||"EMBED"===c.nodeName)){var f=b&&b.b&&b.b[d];if(f&&f!==c[d])return f}return!1};b.g.c=function(c,g,f,k){var r,n=h(f),u;c.addEventListener?(f="addEventListener",r=""):(f="attachEvent",r="on");if(u=b.g.b(c,f))try{u.call(c,r+g,n,!1)}catch(l){c[f](r+g, n,!1)}else if(c&&f&&c[f])try{c[f](r+g,n,!1)}catch(l){}!1!==k&&(d[g+k]=n)};b.g.d=function(c,g,f,k){var r,n=g+k,u;if(!c)return delete d[n],!1;f=!1!==k?d[n]:f;c.removeEventListener?(k="removeEventListener",r=""):(k="detachEvent",r="on");if(u=b.g.b(c,k))try{u.call(c,r+g,f,!1)}catch(l){c[k](r+g,f,!1)}else try{c[k](r+g,f,!1)}catch(l){}delete d[n]};b.g.e=function(b,d){b=h(b);var f;window&&window.setInterval&&(f=window.setInterval(b,d),S.push(f));return f};b.g.f=function(b,d){b=h(b);var f;window&&window.setTimeout&& (f=window.setTimeout(b,d),la.push(f));return f};b.g.g=function(c,d,f,k){if(!k)return!1;k+="";D[k]&&b.a.a(D[k].tid);D[k]={};D[k].callback=h(c);D[k].params=d;D[k].interval=f;D[k].tid=b.g.f(b.g.h(k),f);callbacks=null};b.g.h=function(c){return function(){if(!D||!D[c])return!1;var d=D[c].callback(D[c].params);if("boolean"===typeof d&&!1===d)return b.a.a(D[c].tid),D[c]=!1;D[c].tid=b.g.f(b.g.h(c),D[c].interval);time=c=null}};b.g.i=function(c){b.a.a(D[c].tid);D[c]=!1};b.g.j=function(){return D};b.g.k=function(c, d,f,k){var r=0,n=function(){r+=1;!0!==c()&&(r=e[l]}catch(F){}return!1}, e=function(){var b=c&&c.getVendor&&c.getVendor();return F&&"AdMarvel"===b},t=document,q=window,m=l(q),F=f(q),k=e(),g=c&&c.getVendor&&c.getVendor(),r=c&&c.getVendorVersion&&c.getVendorVersion();if(!m&&b.c.ac)for(var h=0;20>h&&!m;h++){t=b.f.b(t.body);if(!1!==t&&!t)break;t=(q=b.a.v(t))&&q.document;m=m||l(q);F=F||f(q);k=k||e()}b.c.ad=function(){return m&&q};b.c.ae=function(){return m};b.c.af=function(){return!1};b.c.ag=function(){return F};b.c.ah=function(){return c};b.c.ai=function(){return k};b.c.aj= function(){return g};b.c.ak=function(){return r}};b.c.ad=function(){d();return b.c.ad()};b.c.ae=function(){d();return b.c.ae()};b.c.af=function(){d();return b.c.af()};b.c.ag=function(){d();return b.c.ag()};b.c.al=function(){return b.c.ae()&&b.c.ag()};b.c.ah=function(){d();return b.c.ah()};b.c.am=function(){if(b.c.ae()&&b.c.ag()&&b.g&&b.g.g){var c="___mraid_loop___"+(new z).getTime(),d=b.a.bd(b.c.ad(),["mraid","isViewable"]);d&&b.g.g(function(){return d()?(b.c.af=function(){return!0},!1):!0},{},300, c)}};var c=function(){var c=function(e){if(b.c.o().isInApp)return!1;e=b.a.bd(e,["$sf"]);if(!e)return!1;var m=e.ext;e=m&&m.geom;var c=[["exp","b","t","l","r"],"self b t l r h w xiv yiv".split(" ")],l,d=!1;if(m&&e&&"function"===typeof e)try{if((e=e())&&e.win){if(b.a.forEach(e.win,function(b){if(b&&("number"===typeof b||"string"===typeof b)&&0!==parseFloat(b,10))return d=!0,!1}),!d)return!1}else return!1;if(e.par)return!0;for(var m=0,n=c.length;mt&&!f;t++){l=b.f.b(l.body);if(!1!==l&&!l)break;l=(d=b.a.v(l))&&d.document;f=f||c(d);e=e||f||d.$sf}b.c.an=function(){return f&&d};b.c.ao=function(){return f};b.c.ap=function(){return e}};b.c.aq=!1;b.c.an=function(){c();return b.c.an()};b.c.ap=function(){c();return b.c.ap()};b.c.ao=function(){c();return b.c.ao()};var g=function(){var c=function(e){return b.c.o().isInApp? !1:b.a.bd(e,["context","observeIntersection"])?!0:!1},d=window,l=document,f=c(d),e=!(!f&&!d.context);if(!f&&b.c.ac)for(var t=0;20>t&&!f;t++){l=b.f.b(l.body);if(!1!==l&&!l)break;l=(d=b.a.v(l))&&d.document;f=f||c(d);e=e||f||d.context}b.c.ar=function(){return f&&d};b.c.as=function(b){"boolean"===typeof b&&(f=b);return f};b.c.at=function(){return e}};b.c.ar=function(){g();return b.c.ar()};b.c.at=function(){g();return b.c.at()};b.c.as=function(){g();return b.c.as()};var f=function(){var c,d=function(e){return(c= b.a.bd(e,["amazonmobileadsviewablebridge"]))&&"function"===typeof c.addEventListener&&"function"===typeof c.getVersion?!0:c=!1},l=document,f=window,e=d(f),t=c&&1.1<=c.getVersion();if(!e&&b.c.ac)for(var q=0;20>q&&!e;q++){l=b.f.b(l.body);if(!1!==l&&!l)break;l=(f=b.a.v(l))&&f.document;e=e||d(f);t=t||c&&1.1<=c.getVersion()}b.c.au=function(){return e&&f};b.c.av=function(){return e};b.c.aw=function(){return t};b.c.ax=function(){return c}};b.c.au=function(){f();return b.c.au()};b.c.av=function(){f();return b.c.av()}; b.c.aw=function(){f();return b.c.aw()};b.c.ax=function(){f();return b.c.ax()};b.c.ay=function(){return b.c.av()&&b.c.aw()};b.c.az=!1;b.c.ba=function(){var c;return function(){if("undefined"!==typeof c)return c;var d=b.c.d,l=b.a.ai();if(b.c.d.navigator.standalone)c=!0;else{var f=d.innerWidth/l.w,d=d.innerHeight/l.h,f=!isNaN(f)&&isFinite(f)&&.9<=f&&1.1>=f,d=!isNaN(d)&&isFinite(d)&&.75<=d&&1.1>=d;c=f&&d}if(b.c.d.MoatMAK){if(f=b.c.d.MoatMAK.namespace,"MPUB"===f||"INM"===f)c=!1}else(f=b.c.d)&&f.imraid&& "function"===typeof f.imraid.getVendorName&&"inmobi"===f.imraid.getVendorName()&&(c=!1);return c}}();b.c.bb=function(){b.c.o();return b.c.ba()?b.c.bc()?1:2:0};b.c.bc=function(){var c=b.c.ba(),d=b.a.i(),l=b.c.ae(),f="applewebdata:"===window.location.protocol||"data:"===window.location.protocol,d="-"===d||""===d.replace(/^\s+|\s+$/gm,"");return c&&!(d||l||f)};b.c.bd=function(){var c;return function(){if("undefined"!==typeof c)return c;c=b.c.be();b.c.bc()&&(c=!1);b.c.d.MoatMAK&&"MPUB"===b.c.d.MoatMAK.namespace&& (c=!1);return c}}();b.c.bf=function(){return b.c.d.webkit&&b.c.d.webkit.messageHandlers&&b.c.d.webkit.messageHandlers.__z_moat_bridge__};b.c.be=function(){return!1};b.c.bg=function(){return!1};b.c.bh=function(){var c=!1;return b.c.b?c=c||b.c.bc()||b.c.al()||b.c.ay():c};b.c.protocol=b.a.at();b.c.bi="z.moatads.com";b.c.bj=window!=window.parent;var k=b.f.h(window.parent);b.c.ac=b.c.bj&&!k;b.c.bk=b.a.aa();b.c.b=k?!1:!b.f.h(window.top);b.c.d=b.c.b?window.top:b.c.ac?window.parent:window;b.c.d[b.c.m]||(b.c.d[b.c.m]= new b.c.d.Object);b.c.o().isInApp&&b.c.b&&(b.c.b=b.c.bh()||b.c.bd());b.c.c=b.c.d.document.referrer||"";try{b.c.bl=b.c.d.history&&b.c.d.history.length}catch(n){}try{if(!b.c.b){var k=window,r;for(r=0;20>r&&k!=window.top;r++)k=k.parent;b.c.bm=r}}catch(n){}b.c.bn=function(){var c=b.c.d;if(!c)return!1;try{var d=c.document&&c.document.body,l=c.document&&c.document.documentElement}catch(e){}try{c.screen&&(b.c.bo=c.screen.availWidth,b.c.bp=c.screen.availHeight,b.c.bq=c.screen.width,b.c.br=c.screen.height)}catch(e){b.c.bo= b.c.bo||0,b.c.bp=b.c.bp||0,b.c.bq=b.c.bq||0,b.c.br=b.c.br||0}var f=b.c.bs(c);b.c.bt=f.width;b.c.bu=f.height;try{b.c.bv=c.outerWidth||c.document&&c.document.body&&c.document.body.offsetWidth||0,b.c.bw=c.outerHeight||c.document&&c.document.body&&c.document.body.offsetHeight||0}catch(e){b.c.bv=0,b.c.bw=0}d&&l&&(b.c.bx=x.max(d.scrollHeight,d.offsetHeight,l.clientHeight,l.scrollHeight,l.offsetHeight),b.c.by=d.scrollTop||l.scrollTop||c.pageYOffset||0)};b.c.bs=function(b){var c,l,d,e=0,f=0;try{(c=b.document, l=c.documentElement,d=c.body,"undefined"!==typeof b.innerWidth)?(e=b.innerWidth,f=b.innerHeight):"CSS1Compat"===c.compatMode&&5!==c.documentMode||!d||"undefined"===typeof d.clientWidth?l&&"undefined"!==typeof l.clientWidth&&(e=l.clientWidth,f=l.clientHeight):(e=d.clientWidth,f=d.clientHeight)}catch(q){}return{width:e,height:f,left:0,right:e,top:0,bottom:f}};b.c.bn();b.c.bz=function(){if(B)for(var b in B)if(B.hasOwnProperty(b))return!0;return!1};b.c.ca=function(c){var d=!0;b.a.forEach(c&&c.parentNode&& c.parentNode.childNodes,function(c){if(b.a.p(["DIV","IFRAME","A","EMBED","OBJECT"],c.nodeName))return d=!1});return d};b.c.cb=function(){for(var b in B)if(B.hasOwnProperty(b)){var c=B[b];if(c&&c.aa&&c.aa[C])return!0}return!1};b.c.cc=function(){return b.c.b};b.c.cd=function(){return b.c.ce&&b.c.ce()};b.c.cf=function(){return b.c.aq||b.c.ao&&b.c.ao()};b.c.cg=function(){return b.c.as&&b.c.as()};b.c.ch=function(){return b.h&&b.h.a()};b.c.ci=function(c){var d=!1;b.i&&b.i.a&&(c&&c.periscopeManager?c.periscopeManager.measurable&& (d=!0):d=!0);return d};b.c.cj=function(c){return b.c.ch()||b.c.ci(c)};b.c.ck=function(c){return c?b.c.cc()||b.c.cd()||b.c.cf()||b.c.cj(c)||b.c.cg()||b.c.al()||b.c.ay()?!0:!1:!1};b.c.cl=function(){b.c.z=!1;b.c.aa=!0;b.c.ab=!0};b.c.cm=!0;b.c.cn=function(){return b.c.bd()?!!document.getElementById(APPSCOPE_CONTAINER_ID):!1};(function(){var c=b.a.bd(window,["IntersectionObserver"]),d=h(),l=b.c.o().isInApp,f=d&&!l&&c&&"function"===typeof c;b.c.ce=function(b){"boolean"===typeof b&&(f=b);return f};b.c.co= function(){return f&&c}})();b.c.aa=h();b.c.a=new b.c.d.Image;b.c.g=function(){if("undefined"!==typeof b.c.d["Moat#EVA"])return!0;try{if("undefined"!==typeof b.c.d.eval&&(b.c.d.eval("(function(win){ win['Moat#EVA'] = true; })(window)"),"undefined"!==typeof b.c.d["Moat#EVA"]))return!0}catch(c){}return!1};(function(){var c=b.a.bt("context"),d=!b.c.o().isInApp&&!(!c||!c.observeIntersection),l,f,e,t,q,m;if(!d&&window.JSON&&"function"===typeof window.JSON.parse&&(l=location.hash.match(/amp3pSentinel=((\d+)-\d+)/))){f= l[1];l=Number(l[2]);e=[];for(t=window;t&&t!=t.parent;t=t.parent)e.unshift(t.parent);q=e[l];d=m=!!q}b.c.cp=function(){return d&&c};b.c.as=function(b){"boolean"===typeof b&&(d=b);return d};b.c.cq=function(){return{isDfp:m,win:q,sentinel:f}};b.c.cr=function(){return q&&q.postMessage&&f?(q.postMessage({sentinel:f,type:"send-intersections"},"*"),!0):!1}})();b.c.cs=function(){return!1};b.c.ct=function(){return!1};b.c.cu=function(){return!1};b.c.cv=function(){return!1};b.c.cw=function(){return!1};b.c.cx= function(){return!1};b.c.cy=function(){if(!b.c.u)return!1;var c=b.j.a([28,33,43,40,38,30]),d=b.j.a([43,46,39,45,34,38,30]),l=b.j.a([28,40,39,39,30,28,45]);return"undefined"!==typeof window[c]&&!(window[c]&&window[c][d]&&window[c][d][l])};b.c.cz=function(){if(b.j.b!==b.j.c.toString())return!1;var c=b.j.a([48,30,27,29,43,34,47,30,43]);return window&&window.navigator&&window.navigator[c]};b.c.da=function(){if(b.j.b!==b.j.d.toString())return!1;var c=b.j.a([26,37,30,43,45]),d=b.j.a([28,40,39,31,34,43, 38]),l=b.j.a([41,43,40,38,41,45]);return!b.c.o().isInApp&&b.c.h&&b.c.e&&!b.a.bf(window[c],!0)&&!b.a.bf(window[d],!0)&&!b.a.bf(window[l],!0)};b.c.db=function(){var b=navigator&&navigator.appVersion&&navigator.appVersion.match(/Windows NT (\d\.\d)/);return b?parseFloat(b[1]):-1};b.c.dc=function(){return 6.1===b.c.db()};b.c.dd=function(){return b.c.ce()||b.c.ao()||b.c.aq||b.c.as()||b.c.al()||b.c.ay()||!1}})(w);(function(b){function h(b,c,g){function f(b,c){for(var d in b)b.hasOwnProperty(d)&&c.call(null, b[d],d)}function k(b){var c=[];f(b,function(b,l){c.push(l)});return c}b=c[b];b&&b.xa.sode||(b.xa.sode=function(){this.desw={};this.xfgf=[];this.publishing_=!1;this.xkcd={};this.edws=[]},b.xa.sode.prototype.uxin=function(){var b=function(b){b=g.max(4,b);return((1+g.random())*g.pow(16,b)|0).toString(16).substring(0,b)};return function(c){return b(4)+"-"+b(4)+"-"+b(4)+"-"+b(4)}}(),b.xa.sode.prototype.xsza=function(b){this.desw[b]||(this.desw[b]={});return this.desw[b]},b.xa.sode.prototype.esgf=function(b, c){this.publishing_?this.xfgf.push(arguments):this.zaxs.apply(this,arguments)},b.xa.sode.prototype.kswa=function(b,c){for(var d=this.xkcd[b]||[],l=d&&d.length,f=0;ft;)t++,l=this.uxin();e[f]||(e[f]={});this.kswa(b,f);d.priority=f;e[f][l]={cb:c,options:d};return l},b.xa.sode.prototype.zaxs=function(b,c){if(!this.desw[b])return!1;this.publishing_=!0;for(var d=this.edws.slice.call(arguments,1),l=this._getEventPriorities_(b).slice(0),f=0,e=l.length;fd;d++)this.zaxs.apply(this,this.xfgf.pop())},b.xa.sode.prototype.swaq=function(b,c,d){var l=!1;if(this.desw[b]&&this.desw[b][d])try{delete this.desw[b][d][c], l=!0}catch(f){}0===k(this.desw[b][d]).length&&this.aksw(b,d);return l},b.xa.sode.prototype.sxaz=function(b,c){if(!c||"object"!=typeof c||!this.desw[b])return!1;if(c.id&&void 0!==c.priority)return this.swaq(b,c.id,c.priority);if(c.id||c.callback)for(var d=this._getEventPriorities_(b),l=0,f=d.length;lu.top&&0A.height&&u.topb?[b,c]:[0,0]}function r(b,c){c||(c=window);try{var e=c.document.documentElement,d=c.document.body;return"left"===b?c.pageXOffset||e&&e.scrollLeft||d&&d.scrollLeft:c.pageYOffset||e&&e.scrollTop||d&&d.scrollTop}catch(q){return!1}}b.n={};var n=b.c.b,u={};b.n.a=.5;b.n.b=.3;b.n.c=.98;b.n.d=void 0;b.n.e=function(d,f){f=f||!1;return function(e,g){var q=e.ao.skin?b.n.f(e,g):c(e, g);q.isVisible=f?q.percv>d:q.percv>=d;q.elGeo&&(q.elGeo.threshold=d);return q}};b.n.f=function(d,f){if(1==d.ao.skin){var e={},g=b.c.d.scrollY||b.c.d.document.documentElement.scrollTop;if("width"==b.o.a&&b.o.b<=d.adContent&&45=g;e.isFullyVisible=e.percv>=q;e.elGeo&&(e.elGeo.threshold=g);d.videoIsFullscreen&&0b.n.d&&(b.n.d=e.percv):b.n.d= e.percv;return e};b.n.g=function(c,d){return b.p.a(c.area)?(d.viewstats||(d.viewstats={}),d.viewstats.isBigAd=!0,b.n.b):b.n.a};b.n.h=function(){return n};b.n.i=c;b.n.j=function(b,c){n&&u.hasOwnProperty(c)||d(b);return u[c]};b.n.l=b.c.bs;b.n.k=function(c,d,e,f){try{this.rect=e||c.getBoundingClientRect&&c.getBoundingClientRect()||{}}catch(m){this.rect=e||c&&{top:c.offsetTop,left:c.offsetLeft,width:c.offsetWidth,height:c.offsetHeight,bottom:c.offsetTop+c.offsetHeight,right:c.offsetLeft+c.offsetWidth}|| {}}e="left right top bottom width height".split(" ");for(f=0;f',b.i.k){if(!h(B[g.adNum],f,u,{width:e,height:d,style:t,id:k,frameborder:q}))return!1;g.measurable=!0;g.fullyMeasurable=!0;g.dentsuMeasurable=!0;g.anyMeasurable=!0}else f.innerHTML=l;return this.inserted=!0};this.startIntervals=function(){var c=this.getPixelElement();if(!c)return!1;if(8==d&&(this.manager.getTargetViewState()===n.STAGE_WIDTH|| this.manager.getTargetViewState()===n.ACTIVE_STAGE_WIDTH)){var e="positionToggle#"+this.config.id;this.loopIds.push(e);b.g.j()[e]||(this.positionTogglingEnabled=!0,this.positionOffsets||(this.positionOffsets={}),b.g.g(this.positionToggle,{pxSwf:c,pxRef:this},100,e))}this.manager.getTargetViewState()===n.STAGE_WIDTH&&(e="stageWidthLoop#"+this.config.id,this.loopIds.push(e),b.g.j()[e]||b.g.g(this.stageWidthToggle,{pxSwf:c,pxRef:this,originalWidth:c.style.width,widthRe:/^[0-9\.]+/i,updates:0},150,e)); this.manager.getTargetViewState()===n.ACTIVE_STAGE_WIDTH&&(e="activeStageWidthLoop#"+this.config.id,this.loopIds.push(e),b.g.j()[e]||b.g.g(this.stageWidthToggle,{pxSwf:c,pxRef:this,originalWidth:c.style.width,widthRe:/^[0-9\.]+/i,updates:0,active:!0,onWidthCheck:this.config.onWidthCheck},200,e))};this.stageWidthToggle=function(b){if(!(b.pxSwf&&b.pxSwf.parentNode&&b.pxRef))return!1;if(b.onWidthCheck&&(b.onWidthCheck(b.pxRef),b.pxRef.skipWidthCheck))return!0;var c;if(b.parsedWidth||(c=b.pxSwf.style.width.match(b.widthRe)))if(b.parsedWidth|| (b.parsedWidth=parseInt(c[0],10)),1==b.updates?(b.updates=0,b.pxSwf.style.width=b.originalWidth,c=b.parsedWidth):(b.updates=1,c=1b.pxRef.positionOffsets.yOffset?(b.pxRef.positionOffsets.yOffset=0,b.pxRef.positionOffsets.xOffset=0):(b.pxRef.positionOffsets.yOffset=-2E3,b.pxRef.positionOffsets.xOffset= -2E3);b.pxRef.updatePosition(!0)};this.onStateChange=function(c){if(!this.measurable){this.measurable=!0;var e;c&&c[0]&&c[0].rev&&(e=c[0].rev.match(b.i.ai))&&3==e.length&&(b.i.aj=e[1],b.i.i=e[2]);this.updateFocusState();this.startIntervals()}this.inserted&&this.killed?(this.killed=!1,this.updateFocusState(),this.startIntervals()):(b.a.forEach(c,function(b){this.viewstates[b.name]=b},this),this.manager.onStateChange(this,c))};this.calcPosition=function(){var c={},e=this.config.position.left,d=b.i.ag(this.config.position.top), e=b.i.ag(e),q,f;this.config.positionTarget?this.config.positionTargetWindow?this.targetRect=new b.n.k(this.config.positionTarget,this.config.positionTargetWindow,null,!0):(this.targetRect=new b.n.k(this.config.positionTarget,null,null,!0),this.config.positionTargetWindow=this.targetRect.win):(this.targetRect=this.targetRect?new b.n.k(this.config.target,this.targetRect.win,null,!0):new b.n.k(this.config.target,null,null,!0),0==this.targetRect.left&&0==this.targetRect.right&&0==this.targetRect.top&& 0==this.targetRect.bottom&&"EMBED"==this.targetRect.el.nodeName&&null==this.targetRect.el.offsetParent&&this.config.target.parentNode&&(this.targetRect=new b.n.k(this.config.target.parentNode,null,null,!0),this.config.positionTarget=this.config.target.parentNode));q=b.n.p("left",this.targetRect.win);f=b.n.p("top",this.targetRect.win);var g;this.wrapperDiv&&(g=this.wrapperDiv.offsetParent)&&"BODY"!==g.nodeName?this.offsetRect=this.offsetRect?new b.n.k(g,this.offsetRect.win,null,!0):new b.n.k(g,null, null,!0):this.offsetRect={left:-q,top:-f};if(!d||!e)return!1;if("%"==d.type)c.relativeTop=d.val/100*this.targetRect.height,c.top=this.targetRect.top-this.offsetRect.top+d.val/100*this.targetRect.height;else if("px"==d.type)c.relativeTop=d.val,c.top=this.targetRect.top-this.offsetRect.top+d.val;else return!1;if("%"==e.type)c.relativeLeft=e.val/100*this.targetRect.width,c.left=this.targetRect.left-this.offsetRect.left+e.val/100*this.targetRect.width;else if("px"==e.type)c.relativeLeft=e.val,c.left= this.targetRect.left-this.offsetRect.left+e.val;else return!1;return c};this.maxPositionUpdateInterval=200;this.getStyle=function(b){var c;try{c=b&&b.style}catch(e){}return c};this.updatePosition=function(b){var c=(new z).getTime(),e;if(!this.element||!(e=this.getStyle(this.element))||this.killed||!b&&c-this.lastPositionUpdatethis.targetRect.width?x.floor(b.left-this.width)+"px":0==b.relativeLeft?x.floor(b.left)+"px":x.floor(b.left-.5*this.width)+"px";e.top=this.height+b.relativeTop>this.targetRect.height?x.floor(b.top-this.height)+"px":0==b.relativeTop?x.floor(b.top)+"px":x.floor(b.top-.5*this.height)+"px";return!0};this.updateFocusState=function(){var b=this.getPixelElement();if(b&&this.measurable)try{b.updateFocusState(this.currentFocusState)}catch(c){}}; this.kill=function(){var c=this.getPixelElement(),e=b.a.v(c);e&&c&&c.dataMoatTIDS&&b.a.forEach(c.dataMoatTIDS,function(b){e.clearTimeout(b)});b.a.forEach(this.loopIds,function(b){D&&D[b]&&(window.clearTimeout(D[b].tid),D[b]=!1)});for(var c=0,d=this.cbNames.length;cc.bc&&(c.bc=c.bu);c.bg+=b-c.bq;500<=c.bc&&"undefined"===typeof c.bw&&(c.bk+=b-c.bo,c.bw=c.bk);c.bq=b}function l(b,c){"undefined"===typeof c.bh&&(c.bh=0);"undefined"===typeof c.bd&&(c.bd=0);c.bv=b-c.bt;c.bv>c.bd&&(c.bd=c.bv);c.bh+=b-c.br;500<=c.bd&&"undefined"===typeof c.bx&&(c.bl+=b-c.bp,c.bx=c.bl);c.br=b}b.v={};b.v.a={};b.v.a.a={};b.v.a.a.a= 0;b.v.a.a.b=1;b.v.a.b={};b.v.a.b.a=0;b.v.a.b.b=1;b.v.a.c={};b.v.a.c.a=0;b.v.a.c.b=1;b.v.a.d={};b.v.a.d.a=0;b.v.a.d.b=1;b.v.a.e={};b.v.a.e.a=0;b.v.a.e.b=1;b.v.a.f={};b.v.a.f.a=0;b.v.a.f.b=1;b.v.a.f.c=2;b.v.b=function(b){h(b,b.aj,"x");h(b,b.ak,"y");b.IR5.AREA=(b.IR5.MAX.x-b.IR5.MIN.x)*(b.IR5.MAX.y-b.IR5.MIN.y)};b.v.c=function(c){function e(){500<=(new z).getTime()-oa&&(b.v.d({type:"park"},c),clearInterval(q),c.au=b.v.a.a.a)}var d=c.au;if(d===b.v.a.a.a){oa=(new z).getTime();var q=b.g.e(e,50);c.au=b.v.a.a.b}else d=== b.v.a.a.b&&(oa=(new z).getTime())};b.v.e=function(c){function e(){3E3<=(new z).getTime()-pa&&(b.v.f({type:"park"},c),clearInterval(q),c.av=b.v.a.a.a)}var d=c.av;if(d===b.v.a.a.a){pa=(new z).getTime();var q=b.g.e(e,50);c.av=b.v.a.a.b}else d===b.v.a.a.b&&(pa=(new z).getTime())};b.v.g=function(d,e){var f=d.type;if(e.az===b.v.a.d.a){if("mouseover"===f||"mousemove"===f)e.bo=(new z).getTime(),c(e)}else if(e.az===b.v.a.d.b){"mousemove"===f&&r((new z).getTime(),e);if("mouseout"===f||"blur"===f)r((new z).getTime(), e),c(e);"scooper"===f&&r((new z).getTime(),e)}};b.v.h=function(c,e){var d=c.type;if(e.ba===b.v.a.d.a){if("mouseover"===d||"mousemove"===d)e.bp=(new z).getTime(),g(e)}else if(e.ba===b.v.a.d.b){"mousemove"===d&&n((new z).getTime(),e);if("mouseout"===d||"blur"===d)n((new z).getTime(),e),g(e);"scooper"===d&&n((new z).getTime(),e)}};b.v.d=function(c,e){if(2!=e.an){var d=c.type;if(e.ax===b.v.a.b.a){if("mouseover"===d||"mousemove"===d)e.bq=(new z).getTime(),e.bs=(new z).getTime(),f(e)}else e.ax===b.v.a.b.b&& ("mousemove"!==d&&"mouseout"!==d||u((new z).getTime(),e),"park"===d&&u((new z).getTime()-500,e),"mouseout"!==d&&"park"!==d||f(e))}};b.v.f=function(c,e){if(2!=e.an){var d=c.type;if(e.ay===b.v.a.c.a){if("mouseover"===d||"mousemove"===d)e.br=(new z).getTime(),e.bt=(new z).getTime(),k(e)}else e.ay===b.v.a.c.b&&("mousemove"!==d&&"mouseout"!==d||l((new z).getTime(),e),"park"===d&&l((new z).getTime()-3E3,e),"mouseout"!==d&&"park"!==d||k(e))}};b.v.i=function(c,e){var f=c.type;if(e.bb==b.v.a.e.a){if("mouseover"== f||"mousemove"==f)e.bf=(new z).getTime(),e.bb=b.v.a.e.b}else e.bb==b.v.a.e.b&&("mouseout"==f?(d((new z).getTime(),e),e.bb=b.v.a.e.a):"mousemove"!=f&&"scooper"!=f||d((new z).getTime(),e))}})(w);(function(b){function h(c){b.focus.pageIsPrerendered()||b.g.d(document,u,h,"pr")}function d(b){"undefined"==typeof k&&(k=b)}b.focus={};var c=navigator.userAgent,c=-1(new z).getTime()-J;if(g&&f)return d(2),document.hasFocus();d(3);return!0};_lastFocusState=!1;b.focus.pageIsVisible=function(){var c=b.focus.checkFocus();if(_lastFocusState!= c&&y&&y.swde)try{y.swde.zaxs("focusStateChange",c)}catch(e){}return _lastFocusState=c};b.focus.pageIsPrerendered=function(){return"undefined"!==typeof l?"prerender"==document[l]:!1};b.focus.pageIsVisible();b.focus.pageIsPrerendered()&&(b.g.c(document,u,h,"pr"),b.k.b.azsx("allLocalAdsKilled",function(){b.g.d(document,u,h,"pr")},{once:!0}));var E=b.focus.pageIsPrerendered()})(w);(function(b){function h(b,c,d){this.collapsedEl=b;this.expandedEl=null;this.expandedIsOpen=!1;this.adNum=c;this.configIndex= d}function d(e,d){var q=l[d];if(!0!==q.findingExpanded){q.findingExpanded=!0;var f=function(){q.findingExpanded=!1},g=B[d].aa;b.g.k(function(){var q=e.findExpanded(g);if(q)return b.z.c(q,d,c,!1,f),!0},5,500,f)}}function c(b,c,d,f){b[H]=f;b[C]=!0;c=B[f];f=l[f];f.expandedIsOpen=!0;k(b,c);f.findingExpanded=!1;return!0}function g(b,c){k(b.collapsedEl,B[b.adNum],!0);b.expandedIsOpen=!1;c||(b.expandedEl&&(b.expandedEl[H]=void 0,b.expandedEl[C]=void 0),b.expandedEl=null)}function f(b,c,d,f){if(!b)return!1; b[H]=f;b[C]=!0;l[f].expandedIsOpen=!1;k(b,B[f]);return!0}function k(c,d,q){b.y.b(d,"remove");!0===q&&d.aa&&(d.aa[H]=void 0,d.aa[C]=void 0);!d.hasIframeListener&&c.tagName&&"iframe"===c.tagName.toLowerCase()&&(d.hasIframeListener=!0);d.components&&d.components.splice(0,1,c);d.aa=c;b.k.b.zaxs("adElementUpdate");b.a.bk(d.aa);b.y.b(d);d.periscopeManager&&d.periscopeManager.rebuildPixelTargets(c,c.parentNode)}function r(c,d,q){q=q||{};var f=c.getElementsByTagName("div");q.inclSearchableEl&&(f=b.a.av(f), f.push(c));for(c=0;c/div[id='panelContainerDiv']"],u);b.c.aj&&b.c.aj()&&"AdMarvel"==b.c.aj()&& (n(["div#normal","div#expanded",["noInitialValidation"]],u),n(["div#normal","div#resized",["noInitialValidation"]],u));u.push({onFindAd:function(c,d,f){if((c=b.c.bk?b.x.a(["div[id^='ptela_unitWrapper']"],c)[0]:b.x.a(["div[id^='ptelaswfholder']"],c)[0])&&b.a.ak(c))return c}},{collapsedRe:/ftdiv\d+/,expandedRe:/ftin\d+/,clipRe:/rect\((\d+)px,? (\d+)px,? (\d+)px,? (\d+)px\)/,onFindAd:function(b,c,d){var f=r(b,this.collapsedRe);b=r(b,this.expandedRe);if(f&&b)return l[c]=new h(f,c,d),l[c].expandedEl=b, f},onLoop:function(b){var d=!1,f=b.expandedEl.style.clip,f=f&&f.match(this.clipRe);"0"===(f&&f[4])&&(d=!0);d&&!b.expandedIsOpen?c(b.expandedEl,"div",null,b.adNum):!d&&b.expandedIsOpen&&g(b,!0)}},{re:/(DIV)_(\d{6})_1_(\d{13})/,onFindAd:function(b,c,d){if(b=r(b,this.re))return l[c]=new h(b,c,d),b},findExpanded:function(b){if(b=b.id.match(this.re))for(var c=[b[3],Number(b[3])+1],d=0;df.ar.length||100>f.as.length||100>f.at.length)f.ar.push(f.aj),f.as.push(f.ak), f.at.push(b.a.s(f));f.al=f.aj;f.am=f.ak}f.ai!==t(f)&&1c.cn?1E3:2*d,f={e:22};c.cm=b.g.f(function(){k(c,f,e)},e)}else k(c,{e:7},0)}function n(c,d){d.q=c.aq[d.e]++;d.m=b.a.s(c);c.cl=d.m;b.aa.a(c,d);c.cn++}function u(c,d,e){b.k.b.zaxs("mouseEvent",e);b.k.b.zaxs("mouseEventOnAd",e);c=c||window.event;d=c.target||c.srcElement;1==e.ao.skin&&b.o.c(d,e.adContent,c)||(b.v.d(c,e),b.v.f(c,e),b.v.g(c,e),b.v.i(c,e),b.v.h(c,e),k(e,{e:6},0),b.w.e(c.type,e.zr))}function l(c,d,e){b.k.b.zaxs("mouseEventOnAd", e);c=c||window.event;d=c.target||c.srcElement;1==e.ao.skin&&b.o.c(d,e.adContent,c)||(b.v.d(c,e),b.v.f(c,e),b.v.g(c,e),b.v.i(c,e),b.v.h(c,e),k(e,{e:7},0))}function v(c,d,e){b.k.b.zaxs("mouseEvent",e);b.k.b.zaxs("mouseEventOnAd",e);c=c||window.event;d=c.target||c.srcElement;1==e.ao.skin&&b.o.c(d,e.adContent,c)||(c={e:3},c.q=e.aq[3]++,c.x=e.aj,c.y=e.ak,b.aa.a(e,c))}function e(c,d){c.ai=t(c);var e={e:1};e.q=c.aq[1]++;e.x=c.ar.join("a");e.y=c.as.join("a");for(var f=b.a.s(c),g=c.at,k=[],l=0;l=u,v.isFullyVisible=g.percv>=l,v.percv=g.percv,.8<=g.percv&&(v.isDentsuVisible=!0));return v};b.h.a=function(){return f};b.h.c= function(){var b={};b.dl=Number(f);"number"!==typeof c||isNaN(c)||(b.dm=c);"number"!==typeof g||isNaN(g)||(b.dn=g);return b}})(w);(function(b){function h(b){var c=0,d;return function(){var g=(new z).getTime();150=d.counters.query().bu?aa&&(B=!0):B=!1);(d.el=X)&&"undefined"===typeof R&&2!==l&&3!==l&&C.elGeo&&(L=c().y+C.elGeo.foldTop,N=C.elGeo.threshold*C.elGeo.elHeight,L=L>b.s.c()-N,0t&&(m=t);F>q&&(F=q);b[N]=Number(A);b[P]=t;b[ba]=m;if(0===l||2===l||3===l||5===l||("number"===typeof l?l:l.type))W&&ga&&(b[ga]=1),c=0===l&&d&&"sframe"===d,ha&&!c&&(b[ha]=q,b[ka]=F),G&&ia&&(b[ia]=1);"undefined"!==typeof y&&(b[ca]=y);"undefined"!==typeof w&& (b[da]=w);"undefined"!==typeof B&&(b[fa]=Number(B));!0===U&&(c=x.round(100*D),d=x.round(100*C),b[M]=c,b[Q]=d,C=D);"undefined"!==typeof R&&(b.ib=Number(R));m=t;F=q}}function c(){var c=b.c.d,d=c.document;return{y:void 0!==c.pageYOffset?c.pageYOffset:(d.documentElement||d.body.parentNode||d.body).scrollTop}}b.s={};var g={};b.s.c=function(){return R?b.c.bs(b.c.d).height:750};b.s.d=function(){if(!b.a.ae()&&!b.a.af())return!1;var c=b.c.ae();return c=c||b.c.ay()};b.s.e=function(){if(!b.s.d())return!1;var c= b.c.af();return c|=b.c.az};b.s.f=function(c){var k=c.zr;b.k.b.azsx("adKilled",b.s.b,{once:!0,condition:function(b){return b.zr==c.zr}});g[k]=g[k]||{};c.viewstats={isBigAd:!1};if(b.c.cc()){var r=h(b.n.f),n;n=new d({isVisibleFn:r,isMeasurableFn:b.c.cc,pauseCheckingFn:b.u.b,careFoc:!0,qsKeys:0,counterLabel:"strict"});g[k].strict=n;r=new d({isVisibleFn:r,isMeasurableFn:b.c.cc,pauseCheckingFn:b.u.b,careFoc:!1,qsKeys:1,counterLabel:"lax"});g[k].lax=r}else!0!==c.isSkin&&b.h&&b.h.a()&&(r=new d({isVisibleFn:b.h.b, isMeasurableFn:b.c.ch,pauseCheckingFn:b.u.b,careFoc:!0,qsKeys:3,counterLabel:"pscope"}),g[k].pscope=r);b.i&&b.i.o()&&!g[k].pscope&&(r=new d({isVisibleFn:b.i.ac,isMeasurableFn:b.c.ci,pauseCheckingFn:b.u.b,careFoc:!0,qsKeys:2,counterLabel:"pscope"}),g[k].pscope=r);r=b.c.ao();n=b.c.ao;r||(r=b.c.as(),n=b.c.as);r&&(r=new d({isVisibleFn:b.ab.a,isMeasurableFn:n,pauseCheckingFn:b.u.b,careFoc:!0,qsKeys:5,counterLabel:"sframe"}),g[k].sframe=r);b.k.b.azsx("view:tick",b.a.bo([c],b.s.g),{priority:5});b.k.b.zaxs("viewCounterStarted", c);(b.a.ae()||b.a.af())&&(k=b.s.h(c.zr))&&k.addListener({_wasAnyPixelInView:!1,onInViewTimeCount:function(d,g,k){return this._wasAnyPixelInView?!1:b.s.e()?(b.u.a(c),this._wasAnyPixelInView=!0,!1):!0}})};b.s.i=function(c,d,g){return(c||opt_counters)&&d&&g?(c=b.s.j(c.zr,d))&&"function"==typeof c[g]&&c[g]():!1};b.s.k=function(c,k){if(c&&k){var r,n;k.sframe||(n=(r=b.c.ce())&&(n||b.c.cd),n=(r=r||b.c.aq)&&(n||b.c.cf),n=(r=r||b.c.as())&&(n||b.c.cg),n=(r=r||b.c.al())&&(n||b.c.al),n=(r=r||b.c.av())&&(n||b.c.ay), r&&(g[c.zr].sframe=new d({isVisibleFn:b.ab.a,isMeasurableFn:n,pauseCheckingFn:b.u.b,careFoc:!0,qsKeys:5,counterLabel:"sframe"}),b.k.b.zaxs("viewCounterStarted",c)))}};b.s.g=function(c,d,r){var n=g[c.zr],h;b.s.k(c,n);for(var l in n)n.hasOwnProperty(l)&&n[l].update(c,d,r)&&(h=!0);h&&b.u.c(c);b.p.b(c);c.ao&&1==c.ao.skin&&"width"==b.o.a&&b.o.d();b.d.c(c)&&b.u.a(c)};b.s.l=function(c,d){return b.s.m(c)>=d};b.s.m=function(c){var d=0;(c=c&&"undefined"!==typeof c.zr&&b.s&&b.s.h(c.zr))&&(d=c.getInViewTime()); return d};b.s.n=function(){return"hadOTS"};b.s.o=function(c,d){var g=b.s.n();return c&&c&&"undefined"!=typeof c.zr?d?b.s.i(c,d,g):b.s.i(c,b.s.p(c.zr),g):null};b.s.q=function(c,d){var g=b.s.r(c.zr);return b.i&&b.i.a&&g&&g.pscope&&g.pscope[d?"hadVideo2SecOTS":"hadOTS"]()};b.s.a=function(c,d){var g=b.s.r(c.zr);return b.i&&b.i.a&&g&&g.pscope&&g.pscope[d?"hadDentsuVideoOTS":"hadDentsuDisplayOTS"]()};b.s.s=function(c,d){var g=b.s&&b.s.r(c.zr);return b.i&&b.i.a&&g&&g.pscope&&g.pscope.getFullInviewTimeTotal()>= d};b.s.t=function(c){var d=0;(c=c&&"undefined"!==typeof c.zr&&b.s&&b.s.h(c.zr))&&(d=c.getFullInviewTimeTotal());return d};b.s.u=function(c,d){return b.s.t(c)>=d};b.s.b=function(b){delete g[b.zr]};b.s.r=function(b){var c;g[b]?c=g[b]:g[b]=c={};return c};b.s.j=function(c,d){var g=b.s.r(c);return g&&g[d]};b.s.v=function(c){var d,g,n;if(!c||!c.strict)return!1;c=b.c.o().isInApp;d=b.c.bc();g=b.c.be();n=b.c.bg();return c&&(d||g)||!(c||n)};b.s.p=function(){var c;return function(d){var h=null,n=g[d];b.s.v(n)? h="strict":n&&n.sframe?h="sframe":n&&n.pscope&&(h="pscope");c!=h&&(c=h,b.k.b.esgf("preferredViewCounterUpdate",B[d]));return h}}();b.s.h=function(c){var d=b.s.p(c);return(c=g[c])&&d&&c[d]};b.s.w=function(c,d){var h={},n=g[c],u=b.s.p(c),l;for(l in n)n.hasOwnProperty(l)&&n[l].getQS(h,d,u);b.s.h(c)&&b.s.h(c).hadDentsuDisplayOTS()&&(h.nb=1);(n=B[c])&&n.viewstats&&n.viewstats.isBigAd&&(h.el=1);return h}})(w);(function(b){b.ac={};b.ac.a=function(b,d){var c;d.outerHTML?c=d.outerHTML:(c=document.createElement("div"), c.appendChild(d.cloneNode(!0)),c=c.innerHTML);c=[/flashvars\s*=\s*(".*?"|'.*?')/i.exec(c),/name\s*=\s*["']flashvars["']\s*value\s*=\s*(".*?"|'.*?')/i.exec(c),/value\s*=\s*(".*?"|'.*?')\s*name\s*=\s*["']flashvars["']/i.exec(c),b];for(var g,f,k={},r=0;rf.length||"function"==f[0].slice(0,8)||(k[f[0]]=[f[1]])}}return k}})(w);(function(b){b.o={};b.o.e={};b.o.a="divs";b.o.e.a||(b.o.a="width",b.o.e.a=function(b){return 1E3});b.o.d=function(){var h=b.c.d,d=b.c.ac&&h.document||document,c=d.documentElement,d=d.getElementsByTagName("body")[0];try{b.o.b=h&&h.innerWidth||c&&c.clientWidth||d&&d.clientWidth}catch(g){}};b.o.c=function(h,d,c){if("divs"==b.o.a){if(h._Mt_wIC)return!0;if(h._Mt_wOC)return!1;var g=c.currentTarget, f=h;for(c=0;1E3>c&&!b.a.p(d,f);c++){if(f==g||null==f)return h._Mt_wOC=!0,!1;f=f.parentElement}return h._Mt_wIC=!0}if("width"==b.o.a){h=d/2;g=b.o.b/2;f=c.clientX;c=c.clientY;var k=b.c.d.scrollY||b.c.d.document.documentElement.scrollTop;return b.o.b>d&&(f>g+h||fc+k?!1:!0}if("ad-els"===b.o.a){if(h._Mt_wIC)return!0;if(h._Mt_wOC)return!1;g=c.currentTarget;f=h;for(c=0;1E3>c;c++){if(b.a.p(d,f))return h._Mt_wOC=!0,!1;if(f==g||null==f)break;f=f.parentElement}return h._Mt_wIC=!0}}})(w);(function(b){b.ad= {};var h=[];b.ad.a=function(b,c){h.push({query:b,callback:c});return!1}})(w);(function(b){function h(c){var d=[];b.a.forEach(c,function(b,c){d.push(c+":"+("(function(){try{return("+b.toString()+")()}catch(e){return false}})()"))});return a="{"+d.join(",")+"}"}function d(b){for(var c="",d=0;dg;++g)d=0===g?d|(m&65280)/256<>=13,e-=13):(f=d&16383,d>>=14,e-=14),c+=v.charAt(f%91),c+=v.charAt(f/91|0));0=n){c.doa.shift();var h=c.es.length?c.es[0]:60;if(nc.cc?(c.cc*=2,!0):!1};b.d.f=function(b,c){for(var d=0;d/")?d="=>/":f(b,"-/")?d="-/":f(b,"+/")?d="+/":f(b,"$[")?(d=b.length,h=k(b,"]/")+2,d=b.substring(0,x.min(d,h))):f(b,"^/")?d="^/":f(b,"IN_IFRAME/")?d="IN_IFRAME/":f(b,"IN_X_FRAME/")?d="IN_X_FRAME/":(d=b.length,h=k(b,"/")+1,d=b.substring(0,x.min(d,h)),g=!0);(b=b.substring(d.length))&&g&&(d=d.substring(0,d.length-1),g=!1);c.push(d)}return c}function d(c){if(!c)return!1; if(!b.c.f||10e;K++){var E=c[K];if(f(E,"../")||f(E,"..../")){var I,w;f(E,"../")?(I="../",w=m):(I="..../",w=q);if(0!==E.length%I.length)return!1;for(var A=0;Ae;){if(v&&l(v,c[K+1])){K++;break}if(!v||"HTML"===v.nodeName)return!1;v= v.parentElement;e++}else if("...../"===E){v=b.c.d&&b.c.d.document&&b.c.d.document.body;if(!v)return!1;e++}else if("=>/"===E){v=F(v);if(!v)return!1;e++}else if("-/"===E){v=b.a.previousElementSibling(v);if(!v)return!1;e++}else if("+/"===E){if(v=b.a.nextElementSibling(v),!v)return!1}else if(f(E,"$["))if(E=(A=(E=E.substring(2,E.length-2))&&E.split("|"))&&A[0],A=A&&A[1],E&&A)if(E=J(v,E,A))t.push(E),e++;else return!1;else return!1;else if("^/"===E){v=g;if(!v)return!1;e++}else if("IN_IFRAME/"===E){if(!b.c.bj)return!1; e++}else if("IN_X_FRAME/"===E){if(!b.c.dg)return!1;e++}else{if(t&&0d?b.length+1:d};b.x.a=function(d,f){var g=[];b.a.forEach(d,function(b){(b=c(b,f))&&g.push(b)});return g}; b.x.c=function(d,f){var g=[];b.a.forEach(d,function(b){if(b=c(b,f,!0))for(var d=0;d/div[id*='ad_is']"], f,h),f;if((c=c.ownerDocument.getElementById("gg-main"))&&b.a.ak(c)&&g(c)&&(f=b.d.d(c,c.src,!1,void 0,d,e)))return f}function r(c,d,e,f,g){if(f&&(c=b.z.i(["...../div[id^='scr_"+f+"'][id*='remotediv'] iframe"],c,d,e)))return c}function n(c,d,e,f){var g,k,l,h=c.childNodes,n=!1;for(g=h.length-1;0<=g;g--){var r=h[g];"#comment"===r.nodeName&&/undertone/i.test(r.nodeValue)?n=!0:"STYLE"===r.nodeName&&(r=r.innerHTML.match(/(utpga\d+).+/i))&&2===r.length&&(l=r[1])}if(n){g=b.c.ac?(g=b.f.f(c))&&g.ownerDocument? g.ownerDocument:document:document;l&&(k=g.getElementById(l),!k&&b.c.ac&&(k=document.getElementsById(l)));k||(l=g.getElementsByTagName("div"),b.a.forEach(l,function(b){if(b&&b.id&&b.id.match("utpga"))return k=b,!1}),!k&&b.c.ac&&(l=document.getElementsByTagName("div"),b.a.forEach(l,function(b){if(b&&b.id&&b.id.match("utpga"))return k=b,!1})));if(k&&((ad=v(k,d,e,f))||b.a.ak(k)&&f(k)&&(ad=b.d.d(k,k.nodeName,!1,void 0,d,e)))||(l=document.getElementById("utbanner")||b.c.ac&&b.c.d.document.getElementById("utbanner"))&& (l=b.f.d(l))&&l.body&&(ad=v(l.body,d,e,f)))return ad;if((l=b.a.getElementsByClassName("ut_container","DIV")[0]||b.c.ac&&b.a.getElementsByClassName("ut_container","DIV",b.c.d.document)[0])&&b.a.ak(l)&&f(l))return b.d.d(l,l.nodeName,!1,void 0,d,e,{adType:2});if(e=document.getElementById("eyeDiv")||b.c.ac&&b.c.d.document.getElementById("eyeDiv"))for(e=e.getElementsByTagName("object"),g=0;gf;if(!k)for(var l=c.getElementsByTagName("embed"),f=0;fe&&(b.z.o(d),c.shouldKillAd=!1)}};var t=b.k.b.azsx("beforeAdKilled",b.z.n);b.k.b.azsx("allLocalAdsKilled", function(){b.k.b.sxaz("beforeAdKilled",{id:t})},{once:!0});b.z.p=function(b){};b.z.o=function(c){if(!0!==c.em){delete B[c.zr];b.a.a(c.cc);c.periscopeManager&&c.periscopeManager.killAllPixels();var d;(d=G&&G.parentNode)&&b.z.c(d,c.ao,c,void 0,function(){b.u.d(c)},void 0)}};b.z.i=function(c,d,e,f){c=b.x.a(c,d);var g;b.a.forEach(c,function(c){if(b.a.ak(c))return g=c,!1});if(g)return c=b.a.w(g)||g.src||"DIV",b.d.d(g,c,!1,void 0,e,f)};b.z.q=function(c,d,e,f,g){c=b.x.a(c,d);var k=[];b.a.forEach(c,function(c){b.a.ak(c)&& k.push(c)});if(k&&k.length>=(g||1))return g=b.a.w(k[0])||k[0].getAttribute("src")||"DIV",b.d.k(k,g,!1,void 0,e,f)};b.z.g=v;b.z.e=function(e,m,t,v,w,x){x||(x=window);w=w||function(){return!0};var y=b.z.g,z=b.z.h;if("undefined"===typeof e)return!1;b.c.bj&&"HEAD"===e.tagName&&(v=e.parentNode,"HTML"===v.tagName&&(v=v.getElementsByTagName("body"),0/div.content", ".../body/iframe#verve-expandable","iframe#verve-banner/=>/div.content","iframe#verve-banner"],e,m,t))?(m.adFindingMethod="Verve",A):(A=b.z.i(["div.flex-player","..../../div[id^='google_ads_iframe']/+/div.flex-player"],e,m,t))?(m.adFindingMethod="WashPost",A):D&&"adrcdn"===D&&(x=C&&C[1])&&(A=r(e,m,t,x,w))?(m.adFindingMethod="ADRCDN",A):!1:A};b.z.a=e;b.z.r=1;b.z.b=2;b.z.s=500;b.z.f=20;b.z.t={object:1,embed:1,img:1,iframe:1}})(w);(function(b){function h(d,c,g){g={};d=d.replace(/&/g,"&").replace(/(^\s+|\s+$)/g, "");d=d.split("&");for(var f=0;fl&&(n=decodeURIComponent(n),u!=n)&&!n.match(/^http(s)?\:/);l++)u=n}catch(e){}n=n.replace(/(^\s+|\s+$)/g,"");h[1]=n}else k[1]="";g[k[0]]=k[1]}var v;if(f=b.c.d.document.getElementsByTagName("body")[0])d=f.id,f=f.className,d&&(d.match(/homepage/)?v="Homepage":d.match(/videoIndex/)?v="Video":d.match(/business_index/)? v="Category/Index":d.match(/search/)?v="Search":d.match(/product/)&&(v="Product Detail")),!v&&f&&(f.match(/slideshow/)?v="Slideshow":f.match(/article/)?v="Article":f.match(/category/)?v="index page":f.match(/mediaresource/)?v="editorial leadgen registration":f.match(/browse/)?v="Content type index":f.match(/directory/)?v="Product Directory":f.match(/related-products-page/)?v="Product Compare":f.match(/product-buy/)&&(v="Product Where to Buy"));g.zMoatTemplate=v;"undefined"!==typeof c&&(g.clientZone= "undefined"!==c?c:"");return g=b.ai.f(g)}b.ai={};b.ai.a=function(d,c){if(!d)return!1;if("undefined"===typeof d.startTime||c)d.startTime=b.c.y;if("undefined"===typeof d.rand||c)d.rand=x.floor(x.random()*x.pow(10,12));"undefined"===typeof d.adNum&&(d.adNum=y.zr,y.zr++)};b.ai.b=function(d){if(!d)return!1;var c=b.a.e();b.a.i();decodeURIComponent(c);return d};b.ai.c=function(d){if(d=b.ai.d(d))d.zMoatOrigSlicer1=d.moatClientSlicer1||"N/A",d.zMoatOrigSlicer2=d.moatClientSlicer2||"N/A";return d};b.ai.d=function(b){try{var c= b.className,g=b.getAttribute("src");c.split("\n").join(" ");if(-1!==c.indexOf("moatfooter"))return!1;var f=g.split("?"),k=g.split("#");b=!1;1c.bg&&(c.bg=c.bi);c.bm>c.bk&&(c.bk=c.bm);g.i="IDG2";b.a.as(g,b.j.q(!0));g.bq=b.c.k;1===c.ao.skin&&(g.wp=1===c.ao.isSkin?1:1===c.ao.isAolSkin?2:3);g.g=c.aq.g++;c.isSREMeasurable||c.setDimensions(); b.c.dh?(u=b.c.bs(b.c.d),k=u.width,u=u.height):c.compositeAdAreaPx?(k=c.compositeAdAreaPx,u=1):(k=c.INITIAL_WIDTH,u=c.INITIAL_HEIGHT);0b&&(b=0);this.tCur+=b;this.tContinuous+=b;"number"===e&&0k&&(this.tCur=k):"function"===e&&(b=k(),"number"===typeof b&&this.tCur>b&&0this.tCur&&(this.tLast=this.tCur);d&&f&&(b[d]=this.tCur,b[f]=this.tLast);return b}}b.u={};b.u.f={};b.u.f.a=[];b.u.f.b=[];var d=!1;b.u.g=function(){if(!d){d=!0;try{var c=y.swde.azsx("scroll",b.u.h);b.k.b.azsx("allLocalAdsKilled",function(){y.swde.sxaz("scroll",{id:c})},{once:!0})}catch(g){}}};b.u.i=function(c,d){try{var f=c.aa,k=b.a.x(f,5),h=k&&(6==k.length||1<=k.length&&"HTML"===k[k.length-1].nodeName);d=d||c.WINDOW|| b.a.v(f);return!(f&&d&&h)||"Unicast Generic"===O&&b.w.c(c.zr)&&(3>f.offsetWidth||3>f.offsetHeight)||f.ownerDocument&&f.ownerDocument.body&&!f.ownerDocument.body.contains(f)?!1:!0}catch(n){return!1}};b.u.j=function(){function c(){if(!u)try{u=!0,d(n),u=!1}catch(b){throw u=!1,b;}}function d(b){var c=b.Moat;b=b.domNodesIdToAd;for(var f in b)b.hasOwnProperty(f)&&c.w.e("loop",f);c.u.k();f=(new z).getTime();b=x.max(x.min(f-k,h),0);c.k.b.zaxs("view:tick",b,f);k=f}var f,k=(new z).getTime(),h=1E4;b.c.o().isInApp&& (h=500);var n={Moat:b,domNodesIdToAd:B},u=!1;b.k.b.azsx("periscope:onStateChange",c);b.k.b.azsx("viewCounterStarted",c);for(var l=0,v=S.length;lc.aq[29])return!1;for(var k=0;kd||3>c||b.focus.pageIsPrerendered()?!0:!1};b.u.o=function(b){var d=1;screen.deviceXDPI?d=screen.deviceXDPI/screen.systemXDPI:b.devicePixelRatio&&"undefined"!==typeof b.mozInnerScreenX&&(d=b.devicePixelRatio);return{w:d*screen.width,h:d*screen.height}};b.u.e=function(c){c.counters={};c.counters.laxDwell=new h(function(){return!b.focus.pageIsPrerendered()},"bu","cd");c.counters.strictDwell=new h(b.focus.pageIsVisible,"ah","am");c.counters.query=function(){var b={},c;for(c in this)if(this.hasOwnProperty(c)){var d= this[c];"function"===typeof d.query&&d.query(b)}return b};c.counters.getQs=function(){var b={},c;for(c in this)if(this.hasOwnProperty(c)){var d=this[c];"function"===typeof d.getQs&&d.getQs(b)}return b};c.counters.update=function(b){for(var c in this)if(this.hasOwnProperty(c)){var d=this[c];"function"===typeof d.update&&!0!==b.ep&&d.update(b)}};b.k.b.azsx("startAdTracking",b.u.g)};b.u.p=function(){y.z=void 0;y.ACTIVETIMEUNTILSCROLL=void 0;y.zs=!1;y.xz=!1;y.dcsx.wsqa("globalScrollevent"+y.dcsx.uid); b.a.forEach(b.u.f.a,function(b){if(b&&"function"===typeof b)try{b()}catch(d){}})};b.u.h=function(c){if(b.focus.pageIsVisible()){c=(new z).getTime();"undefined"===typeof y.z&&(y.z=c-X);if("undefined"===typeof y.ACTIVETIMEUNTILSCROLL){var d=b.focus.focusStartTime||X;db.failedAttempts?h(b):y&&c>z&&n(b)},d.onload=function(){n(this.toSend)}); d.src=b.jsd+"/pixel.gif?"+b.qs}function n(b){var c=b&&b.uid&&w&&w[b.uid];if(b&&b.qs&&"tracer="==b.qs)return!1;if(c){w[b.uid]=null;try{delete w[b.uid]}catch(d){}try{clearTimeout(c.timeoutId)}catch(d){}if("boolean"!=typeof c.sending||c.sending)c.sending=!1;else return!1}0=n;n=!g||b.focus.pageIsVisible();b.t.g&&"function"===typeof b.t.g&&(h=b.t.g(h));b.t.h&&"function"===typeof b.t.h&&(n=b.t.h(n));h=h&&n&&!d;n=f.get("visOnLastCheck");if(h&&n)f.increment("inViewTime",c),f.increment("continuousInViewTime",c);else if(h|| n)c=x.round(c/2),f.increment("inViewTime",c),f.increment("continuousInViewTime",c);h||(this.alwaysInview=!1);f.set("visOnLastCheck",h);f.get("continuousInViewTime")>f.get("maxContinuousInViewTime")&&f.set("maxContinuousInViewTime",f.get("continuousInViewTime"));h||f.set("continuousInViewTime",0);this.inViewTimeReached()&&(this.reachedInViewTimeThreshold=!0)}}};h.prototype.getInViewTime=function(){var d=b.al.b(this.counterState,"customInViewCounter");return this.continuous?d.get("maxContinuousInViewTime"): d.get("inViewTime")};h.prototype.inViewTimeReached=function(){return"undefined"!==this.timeThreshold&&this.getInViewTime()>=this.timeThreshold};h.prototype.isMeasurable=function(d){if(!d)return!1;var c=!1;"undefined"!==this.timeThreshold&&("pscope"==b.s.p(d.zr)&&d.custominview.periscopeThresholds?b.a.p(d.custominview.periscopeThresholds,this.rawPercThreshold)&&b.c.ck(d)&&(c=!0):b.c.ck(d)&&(c=!0));return c};b.t.i=function(d){b.t.e("full_vis_2_sec_continuous",d,{percThreshold:100,timeThreshold:2E3, video:!1,continuous:!0,queryStringKey:"wb"})};b.t.j=function(d){b.t.i(d);d.custominview={};d.custominview.eventIds={};for(var c=(d.periscopeConfig||b.i.n(d)).pixels,g=[],f=0,k=c.length;f=d;d++)f.push(0===d?0:d/100);try{c=new IntersectionObserver(b,{rootMargin:"0px",threshold:f})}catch(g){return!1}return c}function d(b){return function(c,d){var f=c.length;1>f||(b.percentVisible=c[f-1].intersectionRatio)}}function c(b){var c=b&&b.intersectionObserver,c=c&&c.observer;try{c&&(c.disconnect(),b.intersectionObserver=null)}catch(d){}}function g(b){b&&b.intersectionObserver&& (c(b),f(b))}function f(f){var r,n,u;r={started:!1,observer:null,percentVisible:null,element:function(b){return function(){return b&&b.aa}}(f)};f.intersectionObserver=r;n=r.element();if(n&&(u=h(d(r))))r.observer=u,u.observe(n);else return!1;r.started=!0;b.k.b.azsx("adKilled",b.a.bo([f],c),{condition:function(b){return f.zr==b.zr},once:!0});b.k.b.azsx("adElementUpdate",b.a.bo([f],g),{condition:function(){return f.intersectionObserver.started},once:!0});return!0}b.am={};b.am.a=function(c){if(b.c.ce()){if(c.intersectionObserver&& c.intersectionObserver.started)return c.intersectionObserver.percentVisible;f(c)||b.c.ce(!1)}}})(w);(function(b){function h(d){var c=!1;if(b.c.ce())return b.am.a(d);if(b.c.aq){if(c=b.af.a.b){var g=b.n.i(d.aa);d=b.n.n(g.visibleRect,c.el,c.et);c=b.n.m(d,{left:c.vl,right:c.vr,top:c.vt,bottom:c.vb});c=(c.right-c.left)*(c.bottom-c.top)/g.area}else c=!1;return c}if(b.c.as())return b.an.a(d);if(b.c.al())return b.ao.a(d);if(b.c.ay())return c=b.ap.a(d),0h.l?k.r-k.w*k.xiv:k.l-h.l,k=1===k.yiv||h.t>h.b?k.t-h.t:k.b-h.b+(h.b-k.h*k.yiv));d=b.n.n(d,-1*f,-1*k);f=Number(g.win.l);k=Number(g.win.t);g={left:f,right:Number(g.win.r),top:k,bottom:Number(g.win.b)};d=b.n.n(d,f,k);g=b.n.m(d, g);c=(g.right-g.left)*(g.bottom-g.top)/((c.width||c.right-c.left)*(c.height||c.bottom-c.top))}else c=!1;return c}b.ab={};b.ab.a=function(b){var c=(b=h(b))&&!isNaN(b)&&.5<=b,c={isVisible:c,isFullyVisible:c&&.98<=b,percv:b};.8<=b&&(c.isDentsuVisible=!0);return c}})(w);(function(b){function h(){b.c.as(!1)}function d(c){return function(d){var f;if(c.dfp)a:{var g;if(d&&c&&"message"===d.type&&d.source==c.win&&d.data&&0==d.data.indexOf("amp-"))try{if(g=JSON.parse(d.data.substring(4)),g.sentinel==c.sentinel&& "intersection"==g.type){f=g.changes;break a}}catch(e){}f=!1}else f=d;if(d=f)f=d.length,1>f||(c.context&&c.context.hidden?d=0:(d=d[f-1],f=d.rootBounds,f={left:0,right:f.width,top:0,bottom:f.height},d=b.n.o(c.element(),d.boundingClientRect,f)),c.percentVisible=d)}}function c(c,d){c.amp={dfp:d.isDfp,win:d.win,sentinel:d.sentinel,started:!1,unlisten:null,eventHandler:null,percentVisible:null,context:b.c.cp(),element:function(b){return function(){return b&&b.aa}}(c)};return c.amp}function g(b){var c=b.context.observeIntersection; if(!c)return h(),!1;b.eventHandler=d(b);b.unlisten=c(b.eventHandler);b.unlisten||(b.unlisten=function(){b.unlisten=function(){}});b.started=!0}function f(c){if(b.c.cr()){var f="amp-message-"+c.sentinel;c.messageId=f;c.eventHandler=d(c);y.dcsx.ynds(window,"message",f,"ampMessageFn"+f);y.swde.azsx(f,c.eventHandler);return c.started=!0}h();return!1}function k(d,k){if(!d||!d.aa)return h(),!1;var l=c(d,k);k.isDfp?f(l):g(l);l.started&&b.k.b.azsx("adKilled",r,{condition:function(b){return d.zr==b.zr},once:!0})} function r(c){var d=c&&c.amp;if(!d)return!1;try{d.dfp?(y.dcsx.engn(window,"message",d.messageId),b.k.b.sxaz(d.messsageId,d.eventHandler)):d.unlisten&&"function"==typeof d.unlisten&&d.unlisten()}catch(f){h()}c.amp=null}b.an={};b.an.a=function(c){c.amp&&c.amp.started||k(c,b.c.cq());return c.amp.percentVisible}})(w);(function(b){b.ao={};b.ao.b=function(h,d){if(!h||!d)return!1;var c,g;c=d.getCurrentPosition();g=d.getScreenSize();c.top=c.y;c.bottom=c.y+c.height;c.left=c.x;c.right=c.x+c.width;g.top=0;g.bottom= g.height;g.left=0;g.right=g.width;return b.n.o(h,c,g)};b.ao.c=function(h,d){var c=function(b){return function(c){b.percv=c}}(d);d.api.addEventListener("viewablePercentageChange",c);b.k.b.azsx("adKilled",function(){h.mraid.api.removeEventListener("viewablePercentageChange",c);h.mraid=null},{condition:function(b){return h.zr==b.zr},once:!0})};b.ao.d=function(){var h={},d=b.c.ah();h.api=d;h.percv=-1;return h};b.ao.a=function(h){var d;if(!h.mraid){h.mraid=b.ao.d();if(!h.mraid.api)return!1;b.c.ai()&&b.ao.c(h, h.mraid)}d=h.mraid.api;if(!d)return!1;d=b.ao.b(h.aa,d);return b.c.ai()&&(h=h.mraid.percv/100,0<=h)?x.min(d,h):d};b.k.b.azsx("startAdTracking",b.c.am)})(w);(function(b){b.ap={};b.ap.a=function(h){h.amazon&&h.amazon.started||b.ap.b(h);return h.amazon.percentVisible};b.ap.b=function(h){var d=b.c.ax(),c=b.c.au(),g=c&&c.mraid,f=c&&c.Event&&c.Event.Viewability,k=g&&"function"===typeof g.getScreenSize&&g.getScreenSize,r;h.amazon={api:d,element:h.aa,event:null,eventListener:null,getScreenSize:k,mraid:g,percentVisible:null, started:!1,win:c};if(!d||!f||!k)return!1;r=h.amazon;r.event=f;try{return r.eventListener=function(c){var d=r.getScreenSize();r.percentVisible=0===c.viewable?0:r.element&&d?b.n.o(r.element,{left:c.x,right:c.x+c.width,top:c.y,bottom:c.y+c.height},{left:0,right:d.width,top:0,bottom:d.height}):null},r.api.addEventListener(f,r.eventListener),h.amazon.started=!0,b.k.b.azsx("adKilled",b.ap.c,{condition:function(b){return h.zr==b.zr},once:!0}),!0}catch(n){return!1}};b.ap.c=function(b){if((b=b.amazon)&&b.eventListener&& "function"==typeof b.eventListener&&b.event){try{b.api.removeEventListener(b.event,b.eventListener)}catch(d){}b.started=!1}}})(w);(function(b){b.p={};b.p.d=242500;b.p.e=1;b.p.f=function(h){return b.c.b||b.h&&b.h.a&&b.h.a()||b.i&&b.i.a&&h&&h.periscopeManager&&h.periscopeManager.fullyMeasurable};b.p.a=function(h){return"number"!==typeof h||b.a.aa()?!1:236425<=h};b.p.g=function(b){return b&&b.ao?"slave"==b.ao.moatClientAT?!0:!1:!1};b.p.h=function(b){return b&&b.ao?"cpc"==b.ao.moatClientBT?!0:!1:!1}; b.p.i=function(b){return b&&b.ao?"cpcv"==b.ao.moatClientBT?!0:!1:!1};b.p.j=function(b){return b&&b.ao?"flatrate"==b.ao.moatClientBT?!0:!1:!1};b.p.k=function(b){return b&&b.ao?"skin"==b.ao.moatClientAT||"hpto"==b.ao.moatClientAT||1==b.ao.skin?!0:!1:!1};b.p.c=function(h){if(!h||!h.aa)return!1;if("undefined"!=typeof h.er)return h.er;h.video?!b.p.f(h)||b.p.i(h)&&!h.video.reachedComplete||(h.er=!0):b.p.g(h)||b.p.h(h)||b.p.j(h)?h.er=!1:b.p.k(h)||h.isCompositeAd||b.p.a(b.a.bj(h))?h.er=!0:b.p.f(h)&&b.s.u(h, b.p.e,!0)&&(h.er=!0);return h.er||!1};b.p.b=function(h){if(!h||h.SENT_FIT&&h.et||!b.p.f(h))return!1;var d,c,g=b.s.p(h.zr);h.SENT_FIT||(d=b.s.i(h,g,"hadFIT"));h.et||(c=b.s.i(h,g,"hadFullOTS"));if(d||c)b.u.l(h),h.SENT_FIT=h.SENT_FIT||!!d,h.et=h.et||!!c;return d||c}})(w);(function(b){b.aq={};b.aq.a="1.2";b.aq.prefix="MSFAPI";b.aq.b={};b.aq.c={};b.aq.d=x.floor(x.random()*x.pow(10,12));b.aq.e=!1;b.aq.f=/([a-z]+)#([a-z0-9.-]+)#([0-9]+)#([a-z]+)#([0-9]+)#(.+)/i;b.aq.g=/@([a-z0-9]+)@@(.*)/i;b.aq.h=function(h){if(h){var d= b.aq.i(h);d.listening||(y.dcsx.ynds(h,"message","message-"+d.id,"ME-"+d.id),d.listening=!0,d.tags[b.c.n].listening=!0);if(!d.tags[b.c.n].sub){d.tags[b.c.n].sub=!0;var c=y.swde.azsx("message-"+d.id,b.aq.j);b.k.b.azsx("allLocalAdsKilled",function(){y.swde.sxaz("message-"+d.id,{id:c});d.tags[b.c.n].sub=!1},{once:!0})}}};b.aq.i=function(h){var d="Moat#PML#"+b.c.i+"#"+b.aq.a;h[d]||(h[d]={id:x.floor(x.random()*x.pow(10,12)),listening:!1,tags:{}});h[d].tags[b.c.n]||(h[d].tags[b.c.n]={sub:!1,listening:!1}); return h[d]};b.aq.k=function(h){var d=h&&b.aq.i(h),c=d&&d.listening,g=d&&d.tags[b.c.n].listening;h&&c&&g&&(b.g.d(h,"message",b.aq.j),d.tags[b.c.n].listening=!1,d.listening=!1)};b.aq.l=function(h){return b.aq.prefix+"#"+h+"#"};b.aq.m=function(h){var d=h.match(b.aq.f);h=!1;d&&7==d.length&&(h={prefix:d[1],version:d[2],uid:d[3],type:d[4],request:d[5],data:d[6]},(d=h.data.match(b.aq.g))&&3==d.length&&(h.cmd=d[1],h.arg=d[2]));return h};b.aq.j=function(h){if(!(h&&h.origin&&h.data&&"string"===typeof h.data))return!1; if((msgData=b.aq.m(h.data))&&(!msgData||msgData.uid!=b.aq.d.toString())&&msgData.version==b.aq.a&&(h.msgData=msgData,msgData.request in b.aq.c&&(h.triggerCallback=function(){b.aq.c[msgData.request]&&(b.aq.c[msgData.request](h),b.aq.c[msgData.request]=null,delete b.aq.c[msgData.request])}),b.aq.b[msgData.type]))for(var d=0,c=b.aq.b[msgData.type].length;d