Skip to content

Instantly share code, notes, and snippets.

@kahwee
Last active January 6, 2016 21:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kahwee/fb764a302d9fe1e53cce to your computer and use it in GitHub Desktop.
Save kahwee/fb764a302d9fe1e53cce to your computer and use it in GitHub Desktop.
Sample of moatvideo.js
/*Copyright (c) 2011-2015 Moat Inc. All Rights Reserved.*/
try{(function(w,v){var s={},M,za,Aa,ga=0,aa={},ha=[],z={},W=[],x={},U=!1,Ia={15:"",12:"",6:"",7:""},Ba,Ja=function(){for(var a=0;a<ha.length;a++)window.clearTimeout(ha[a]);for(a=0;a<W.length;a++)window.clearInterval(W[a]);for(var h in z)z.hasOwnProperty&&z.hasOwnProperty(h)&&z[h]&&(window.clearTimeout(z[h].tid),z[h]=!1);ha=[];W=[]},P=function(){for(var a in x)if(x.hasOwnProperty(a)){var h=x[a];s.a.a(h);s.b.a(h)}Ja()};s.c=P;(function(a){function h(a){var m=new RegExp("(^| )"+a+"($| )");return function(a){return a&&
a.className&&a.className.match(m)}}function r(a){return a&&a.document&&a.location&&a[k+l]&&a[u+t]}function e(a){if(null==a||r(a))return!1;var m=a.length;return 1===a.nodeType&&m?!0:"string"===typeof a||d(a)||0===m||"number"===typeof m&&0<m&&m-1 in a}function d(c){return"[object Array]"===a.d.bf.toString.call(c)}a.d={};a.d.a=3E3;a.d.b=function(){var a=/Firefox\/(\d+)/.exec(navigator.userAgent);return a?(a=parseInt(a[1],10),21>a&&14<a):!1}();a.d.c=function(){var c,m=/^(?:[a-z]+:\/\/|:?\/?\/)?(?:www\.)?([^\/:]*)/i;
a.e.a||(c=a.d.d(),!c&&a.e.b&&(c=a.e.b));c||(c=a.e.c.location.hostname);return(c=c&&c.match&&c.match(m))&&c[1]||a.e.c.location.hostname};a.d.d=function(){var a=location&&location.ancestorOrigins;return a?0===a.length?!1:a[a.length-1]:!1};a.d.e=function(){var c,m=a.d.c(),g=m&&m.split("."),f=g&&g.length;3<=f?c="co"===g[f-2]||"com"===g[f-2]?g[f-3]+"."+g[f-2]+"."+g[f-1]:g[f-2]+"."+g[f-1]:2==f&&(c=g[f-2]+"."+g[f-1]);return c&&decodeURIComponent(c)||decodeURIComponent(m)};a.d.f=function(a){if("string"!==
typeof a)return"";var m=a.match(/^([^:]{2,}:\/\/[^\/]*)/);m&&m[1]&&(a=m[1]);return a};a.d.g=function(a,m){for(var g=[a],f=1;f<=m;f++)g.push(a+f),g.push(a-f);g=g[v.floor(v.random()*g.length)];f=v.floor(v.random()*g);return{multiplier:g,sample:0==f}};a.d.h=function(c,m){var g=a.d.g(c,m);a.d.h=function(){return g};return g};a.d.i=function(){var c=a.d.j();return 5===c||6===c||7===c};a.d.j=function(){if(!navigator)return null;var a;a=navigator.userAgent;return"Microsoft Internet Explorer"==navigator.appName?
parseInt(a.replace(/^.*MSIE (\d+).*$/,"$1"),10):"Netscape"==navigator.appName&&(a=a.match(/(?:Trident\/.*rv:|MSIE )(\d+)/))?parseInt(a[1],10):null};a.d.k=function(){return null!=a.d.j()};a.d.l=function(c,m){return-1!==a.d.indexOf(c,m)};a.d.m=function(){function a(f){if(!f)return"";f=f.match(/[\d]+/g);f.length=3;return f.join(".")}var m=!1,g="";if(navigator.plugins&&navigator.plugins.length){var f=navigator.plugins["Shockwave Flash"];f&&(m=!0,f.description&&(g=a(f.description)));navigator.plugins["Shockwave Flash 2.0"]&&
(m=!0,g="2.0.0.11")}else if(navigator.mimeTypes&&navigator.mimeTypes.length)(m=(f=navigator.mimeTypes["application/x-shockwave-flash"])&&f.enabledPlugin&&f.enabledPlugin.description)&&(g=a(f.enabledPlugin.description));else try{f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"),m=!0,g=a(f.GetVariable("$version"))}catch(b){try{f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"),m=!0,g="6.0.21"}catch(d){try{f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),m=!0,g=a(f.GetVariable("$version"))}catch(k){}}}return m?
g:"0"};a.d.getElementsByClassName=function(a,m,g){m=m||"*";g=g||document;if(g.getElementsByClassName){var f=[],b=g.getElementsByClassName(a);if("*"!==m){a=0;for(g=b.length;a<g;a++){var d=b[a];d.tagName===m&&f.push(d)}return f}return b}b=[];m=g.getElementsByTagName(m);g=h(a);d=m.length;for(a=0;a<d;a++)f=m[a],g(f)&&b.push(f);return b};a.d.n=h;a.d.o=function(a){return new w-a.de};a.d.p=function(a){return a.replace(/^http:/,"").replace(/^\/\//,"").replace(/^www[^.]*\./,"").split("/")[0]};a.d.q=function(c,
m,g){if(("undefined"===typeof g||!g)&&c&&(g=a.b.b(c),!g))return;if(c&&c.nodeType)if("undefined"===typeof Node){if(1!=c.nodeType)return}else if(c.nodeType!=Node.ELEMENT_NODE)return;if(g.getComputedStyle)return g.getComputedStyle(c,"")&&g.getComputedStyle(c,"")[m];for(g=m.indexOf("-");-1<g;)m=g==m.length-1?m.substr(0,g):m.substr(0,g)+m.charAt(g+1).toUpperCase()+m.substr(g+2),g=m.indexOf("-");if(c.currentStyle)return c.currentStyle[m];if(c.style)return c.style[m]};a.d.r=function(c){if(!c)return!1;var m=
a.d.q(c,"background-image");m||(m=a.d.q(c,"backgroundImage"));var g;m&&(g=(g=m.match("url\\((.*)\\)"))&&g[1].replace(/\x22/g,""));return g};a.d.s=function(c,m){if(!c)return!1;var g=[c],f=!1;a.d.forEach("number"===typeof m?m:50,function(){if((f=c.parentNode||c.parentElement||!1)&&1==f.nodeType)c=f,g.push(c);else return!1});return g};a.d.t=function(c,m){var g="number"===typeof m?m:50,f=[],b=a.b.b(c);if(b)f.push(b);else return f;a.d.forEach(g,function(){var g=a.f.a(c,b);return g&&(b=a.b.b(g))?(f.push(b),
!0):!1});return f};a.d.u=function(){return null!==/iPad|iPhone|iPod|Silk|Kindle|Android|BlackBerry|PlayBook|BB10|Windows Phone/.exec(navigator&&navigator.userAgent||"")};a.d.v=function(){return null!==/iPhone|iPod/.exec(navigator.userAgent)};a.d.w=function(){return null!==/iPad/.exec(navigator.userAgent)};a.d.x=function(){return null!==/Android/.exec(navigator.userAgent)};a.d.y=function(){var a=navigator.userAgent;return a.match(/iPhone|iPod|iPad/)&&!a.match(/Safari|CriOS/i)};a.d.z=function(){var c=
navigator.userAgent;return a.d.x()&&c.match(/Version/)};a.d.aa=function(){var c;return function(){if("undefined"!==typeof c)return c;c={isInApp:0,env:"Not app"};a.d.y()?(c.isInApp=1,c.env="iOS"):a.d.z()&&(c.isInApp=1,c.env="Android");return c}}();a.d.ab=function(){var c=a.d.aa(),m=a.e.c.screen;if("iOS"===c.env)return"undefined"!==typeof window.orientation?0===window.orientation||180===window.orientation?(c=m.width,m=m.height):(c=m.height,m=m.width):c=m=0,{w:c,h:m};if("Android"===c.env){var c=a.e.c.devicePixelRatio,
g=1;.05>v.abs(m.width/a.e.c.innerWidth-c)&&(g=c);return{w:m.width/g,h:m.height/g}}return{w:m.width,h:m.height}};a.d.ac=function(){return a.d.ad()?a.d.ae()?1:2:0};a.d.ad=function(){var c;return function(){if("undefined"!==typeof c)return c;var m=a.e.c,g=a.d.ab();if(a.e.c.navigator.standalone)c=!0;else{var f=m.innerWidth/g.w,m=m.innerHeight/g.h,f=!isNaN(f)&&isFinite(f)&&.9<=f&&1.1>=f,m=!isNaN(m)&&isFinite(m)&&.75<=m&&1.1>=m;c=f&&m}return c}}();a.d.ae=function(){var c=a.d.ad(),m=a.d.e(),g=a.e.d(),f=
"applewebdata:"===window.location.protocol||"data:"===window.location.protocol,m="-"===m||""===m.replace(/^\s+|\s+$/gm,"");return c&&!(m||g||f)};a.d.af=function(){return function(){}}();a.d.ag=function(){var c;return function(){return"undefined"!==typeof c?c:c=a.d.ad()}}();a.d.ah=function(){var a=window;try{return"undefined"!==typeof a.external&&"undefined"!==typeof a.external.InPrivateFilteringEnabled&&a.external.InPrivateFilteringEnabled()||"undefined"!==typeof a.external&&"undefined"!==typeof a.external.msTrackingProtectionEnabled&&
a.external.msTrackingProtectionEnabled()||"undefined"!==typeof a._gaUserPrefs&&a._gaUserPrefs.ioo&&a._gaUserPrefs.ioo()||"undefined"!==typeof navigator.doNotTrack&&("yes"===navigator.doNotTrack||!0===navigator.doNotTrack)||"undefined"!==typeof a._gaUserPrefs&&!0===a._gaUserPrefs}catch(m){return!1}};a.d.ai=function(){return!1};a.d.getAttribute=function(a,m){return a[m]||a.getAttribute(m)};a.d.aj=function(a){var m=0,g;for(g in a)a.hasOwnProperty(g)&&(m+=1);return m};var b=[function(a){if(!a||"IFRAME"!==
a.nodeName)return!1;var m=a.offsetHeight;return isNaN(m)||15<m||"google_conversion_frame"!==a.name?!1:!0}];a.d.ak=function(c,m){return"undefined"===typeof c||null===c||!1===c||!a.d.al(c)||c.nodeName&&"IMG"==c.nodeName&&!c.complete||a.d.filter(b,function(a){return a(c)}).length||!0===c[C]?!1:!0};a.d.am=function(a){return a.replace(/:/g,"%3A").replace(/=/g,"%3D").replace(/,/g,"%2C")};a.d.an=function(c){var m=[];a.d.forEach(c,function(c,f){var b=typeof c;"number"==b?m.push(a.d.am(f)+":"+a.d.am(c+"")):
"string"==b?m.push(a.d.am(f)+":"+a.d.am('"'+c+'"')):"undefined"==b?m.push(a.d.am(f)+":"+a.d.am("undefined")):"boolean"==b?m.push(a.d.am(f)+":"+a.d.am(c?"true":"false")):null===c?m.push(a.d.am(f)+":"+a.d.am("null")):"object"!=b&&"function"!=b||!c.toString||m.push(a.d.am(f)+":"+a.d.am('"'+c.toString()+'"'))},null,!0);m.sort();return"{"+m.join(",")+"}"};a.d.ao=function(a){var m={};if("string"!=typeof a||"{"!=a[0])return!1;a=a.slice(1,-1).split(",");for(var g=0;g<a.length;g++){var f=a[g].split(":");f[1]=
unescape(f[1]);f[1]="true"==f[1]?!0:"false"==f[1]?!1:'"'==f[1][0]?f[1].slice(1,-1):"undefined"==f[1]?void 0:"null"==f[1]?null:"NaN"==f[1]?NaN:parseFloat(f[1]);m[unescape(f[0])]=f[1]}return m};a.d.al=function(c){var m=c.offsetWidth,g=c.offsetHeight;a.d.forEach(a.d.s(c,3),function(a){if(a&&a.style&&(""!=a.style.width||""!=a.style.height)&&"hidden"==a.style.overflow){var c=parseFloat(a.style.width);a=parseFloat(a.style.height);m=!isNaN(c)&&c<m?c:m;g=!isNaN(a)&&a<g?a:g}});if(c=a.d.ap(c))m=c.width<m?c.width:
m,g=c.height<g?c.height:g;return m*g>=a.d.a};var n={};a.d.ap=function(c){if(!(c&&c.src&&c.nodeName&&"IMG"!=!c.nodeName&&c.complete))return!1;if(n[c.src])return n[c.src];try{if("undefined"!==typeof c.naturalHeight&&"undefined"!==typeof c.naturalWidth){var m={width:c.naturalWidth,height:c.naturalHeight};return n[c.src]=m}}catch(g){}return a.e.e&&(a.e.e.a=c.src,a.e.e.b)?(m={width:parseInt(a.e.e.c),height:parseInt(a.e.e.d)},n[c.src]=m):!1};a.d.aq=function(a,m){var g=!1,f=m.body,b=f&&f.firstChild;f&&b&&
(f.insertBefore(a,b),g=!0);return g};a.d.ar=function(){var a;return function(){if(!a)a:{for(var m=document.getElementsByTagName("script"),g=m.length-1;-1<g;g--)if((a=m[g])&&a.src&&a.src.indexOf&&(-1!==a.src.indexOf("blahblahblacksheep/moatvideo.js")||-1!==a.src.indexOf("blahblahblacksheep%2Fmoatvideo.js"))&&("undefined"===typeof a[C]||!0!==a[C])){a[C]=!0;break a}a=void 0}return a?(a[C]=!0,a):null}}();a.d.as=function(a){for(var m=[],g=a&&a.getElementsByTagName("script"),f=g.length-1;-1<f;f--)(a=g[f])&&a.src&&
a.src.match(/moatads.com\/.*\/moat(ad|video)\.js/)&&!a.src.match("blahblahblacksheep")&&m.push(a);if(m&&0<m.length)return m};a.d.at=function(c,m){if(!c||!m)return!1;var g=a.d.as(a.e.f?D.ownerDocument.body||m:m);if(g&&0<g.length){var f=g[0]&&g[0].src&&g[0].src.match(/moatads.com\/(.*)\/moat(ad|video)\.js/);f&&f[1]&&(c.zMoatOtherScript=f[1],(g=a.g.a(g[0]))?(g=g.cleanMoatClientLevel1+":"+g.cleanMoatClientLevel2+":"+g.cleanMoatClientLevel3+":"+g.cleanMoatClientLevel4,c.zMoatOtherHash=g?g:"IDs Not Available"):
c.zMoatOtherHash="IDs Not Available")}};a.d.au=function(a,m){for(var g in m)m.hasOwnProperty(g)&&(a[g]=m[g])};a.d.av=function(a,m){if("string"!==typeof a||!m||!m.insertBefore||!m.ownerDocument)return!1;var g=m.ownerDocument.createElement("script");g.type="text/javascript";g.async=!0;m.insertBefore(g,m.childNodes[0]);g.src=a;return!0};a.d.aw=function(a){var m;if(a)m=/https:/i.test(a.src||a.href||"http:")?"https:":"http:";else try{m=window.location.protocol}catch(g){a=document.createElement("a"),a.href=
"",m=a.protocol}return"https:"===m?"https:":"http:"};a.d.ax=function(a){try{return-1!==(a.src||a.getAttribute("src")).indexOf("psd=1")}catch(m){return!1}};a.d.ay=function(c){if(y.yh.yj()&&!a.d.u())try{var m=y.yh.yk(c,a.e.protocol),g='<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="1" height="1" id="moatMessageSender'+y.yh.xq()+'"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="movie" value="'+
m.src+'" /><param name="FlashVars" value="'+m.flashVars+'" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed type="application/x-shockwave-flash" src="'+m.src+'" quality="high" flashvars="'+m.flashVars+'" bgcolor="#ffffff" width="1" height="1" id="moatMessageSenderEmbed'+y.yh.xq()+'" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" /></object>',f=E.document.createElement("div");f.style.position="absolute";f.style.left=
"-9999px";f.style.top="-9999px";a.h.a(function(){if(a.d.az(f,E.document.body))return f.innerHTML=g,!0},1,100)}catch(b){}};a.d.ba=function(c){if(y&&y.yh&&y.yh.qa&&y.yh.qa()&&!a.d.u())try{var m=y.yh.qb(c,a.e.protocol),g='<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="1" height="1" id="moatCap"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="movie" value="'+m.src+'" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed type="application/x-shockwave-flash" src="'+
m.src+'" quality="high" bgcolor="#ffffff" width="1" height="1" id="moatCapEmbed" align="middle" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" /></object>',f=E.document.createElement("div");f.style.position="absolute";f.style.left="-9999px";f.style.top="-9999px";a.h.a(function(){if(a.d.az(f,E.document.body))return f.innerHTML=g,!0},3,100)}catch(b){}};a.d.bb=function(a){for(var m=[],g=0;g<a.length;g++)m.push(a[g]);return m};a.d.nextElementSibling=function(a){if(a.nextElementSibling)return a.nextElementSibling;
for(;a=a.nextSibling;)if(1===a.nodeType)return a};a.d.previousElementSibling=function(a){if(a.previousElementSibling)return a.previousElementSibling;for(;a=a.previousSibling;)if(1===a.nodeType)return a};a.d.bc=function(a,m,g){"undefined"!==typeof g&&(a[m]=g)};a.d.filter=function(a,m){for(var g=[],f=0;f<a.length;f++)m(a[f])&&g.push(a[f]);return g};a.d.bd=function(a,m){for(var g=[],f=0;f<m.length;f++)g.push(a(m[f]));return g};a.d.indexOf=function(c,m){if(!c)return-1;if(a.d.be(c)){for(var g=0,f=c.length;g<
f;g++)if(c[g]===m)return g;return-1}return"string"===typeof c?c.indexOf(m):-1};a.d.bind=function(a,m){return function(){a[m].apply(a,arguments)}};var k="ale",l="rt",u="setInte",t="rval";a.d.bf={};a.d.bg=function(a,m){if(a&&m&&m.childNodes){var g=m.childNodes;0<g.length?m.insertBefore(a,g[0]):m.appendChild(a)}};a.d.az=function(c,m){if(!c||!m)return!1;var g=a.d.bh(m);if(!g)return!1;if(a.d.hasChildNodes(g)){var f=g.childNodes[g.childNodes.length-1];if(!f)return!1;g.insertBefore(c,f)}else g.appendChild(c);
return g};a.d.bi=function(c,m){if("string"!=typeof c||!m||!document)return!1;var g=document.createElement("script");g.type="text/javascript";var f=a.d.az(g,m);if(!f)return!1;g.src=c;return f};a.d.hasChildNodes=function(a){return a&&a.childNodes&&0<a.childNodes.length};a.d.bh=function(c){if(!c)return!1;if("OBJECT"!==c.nodeName&&"EMBED"!==c.nodeName)return c;c=a.d.s(c);var m=!1;a.d.forEach(c,function(a){if(a&&"OBJECT"!==a.nodeName&&"EMBED"!==a.nodeName)return m=a,!1});return m};a.d.bj=function(a,m){if("undefined"===
typeof a)return!1;for(var g=0,f=m.length;g<f;g++)if("string"==typeof m[g]){try{a=a[m[g]]}catch(b){}if("undefined"===typeof a)return!1}return a};a.d.bk=function(a){return encodeURIComponent(a.moatClientLevel1+":"+a.moatClientLevel2+":"+a.moatClientLevel3+":"+a.moatClientLevel4)};a.d.bl=function(a){return x&&"undefined"!==typeof a&&x[a]?x[a]:!1};a.d.bm=function(a){return a&&"function"===typeof a?0>String(Function.prototype.toString).indexOf("[native code]")?a===Function.prototype.toString?!1:null:0<=
String(a).indexOf("[native code]")&&!0||!1:!1};a.d.be=d;a.d.bn=r;a.d.bo=e;a.d.forEach=function(a,m,g,f){var b,d=typeof a;if(a)if("function"===d)for(b in a){if("prototype"!=b&&"length"!=b&&"name"!=b&&(f||!a.hasOwnProperty||a.hasOwnProperty(b))&&(d=m.call(g,a[b],b),"boolean"===typeof d&&!d))break}else if("number"===d)for(b=0;b<a&&(d=m.call(g,a,b),"boolean"!==typeof d||d);b++);else if("function"===typeof a.every)a.every(function(a,f,c){a=m.call(g,a,f);return!("boolean"===typeof a&&!a)});else if(e(a))for(b=
0;b<a.length&&(d=m.call(g,a[b],b),"boolean"!==typeof d||d);b++);else for(b in a)if(f||a.hasOwnProperty(b))if(d=m.call(g,a[b],b),"boolean"===typeof d&&!d)break;return a};a.d.bp=function(c){return c&&a.d.filter(c.children,function(a){return 1===a.nodeType})};a.d.bq=function(a){if(!a||!a.aa)return!1;if("number"!=typeof a.ADAREA){var b,g;a.elementRect?(b=a.elementRect.right-a.elementRect.left,g=a.elementRect.bottom-a.elementRect.top):(b=a.aa.offsetWidth,g=a.aa.offsetHeight);a.ADAREA=b*g}return a.ADAREA};
var q=/rect\((\d+)px,? ?(\d+)px,? ?(\d+)px,? ?(\d+)px\)/;a.d.br=function(c){c=c.match(q);var b=!1;c&&(c=a.d.bd(function(a){return parseInt(a,10)},c),b={top:c[1],right:c[2],bottom:c[3],left:c[4]});return b};a.d.bs=function(c,b){if(!b||!c)return c;c.proxyAds||(c.proxyAds=[]);c.proxyAds.push({aa:b,zr:c.zr});!c.hasIframeListener&&b.tagName&&"iframe"===b.tagName.toLowerCase()&&(c.hasIframeListener=!0);b[F]=c.zr;a.i.a(c.proxyAds[c.proxyAds.length-1]);return c};a.d.bt=function(c,b,g){c=a.j.a(c,g);a.d.forEach(c,
function(f){a.d.bs(b,f)})};a.d.bu=function(c){if(!c)return!1;var b=!1;if(c!==Object(c))b=c;else if(a.d.bo(c))for(var b=[],g=0,f=c.length;g<f;g++)b[g]=c[g];else for(g in b={},c)b[g]=c[g];return b};a.d.trim=function(a){return String.prototype.trim?a.trim():a.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};a.d.bv=function(){var a=function(){var a=window.pageXOffset?window.pageXOffset+window.innerWidth-1:0,c=window.pageYOffset?window.pageYOffset+window.innerHeight-1:0;return a||c?!document.elementFromPoint(a,
c):!0}();return function(b,g,f){if(!a){var Q=f.defaultView||f.parentWindow||window;b+=Q.pageXOffset;g+=Q.pageYOffset}return f.elementFromPoint(b,g)}}();a.d.bw=function(c){var b=!1,g=a.k.a(8,c.ao,!1,!1,!0);if(g&&g.qs&&g.qs.d){b=g.qs.d.split(":");b={viewHash:"BROLLNETWORK1",moatClientLevel1:b[0],moatClientLevel2:b[1],moatClientLevel3:b[2],moatClientLevel4:b[3],tagStartTime:a.e.g};if(c&&c.ao)for(var f in c.ao)c.ao.hasOwnProperty(f)&&-1!=f.indexOf("zMoat")&&(b[f]=c.ao[f]);for(f in g)g.hasOwnProperty(f)&&
-1!=f.indexOf("zMoat")&&(b[f]=g[f]);b.moatClientSlicer1=g.qs.bo;b.moatClientSlicer2=g.qs.bd}return b};a.d.bx=function(c){var b={e:8};b.q=c.aq[8]++;return a.k.b(c,b,!0)};a.d.by=function(c,b){if(!c||!b||"object"!=typeof c||"object"!=typeof b)return!1;var g=!0;a.d.forEach(c,function(a,c){if("string"!=typeof a&&"number"!=typeof a)return!0;if(!b.hasOwnProperty(c)||b[c]!==a)return g=!1});a.d.forEach(b,function(a,b){if("string"!=typeof a&&"number"!=typeof a)return!0;if(!c.hasOwnProperty(b)||c[b]!==a)return g=
!1});return g}})(s);(function(a){a.f={};a.f.b=function(h){if(!h)return null;try{if(h.moatHostileIframe)return null;if(h.src&&h.src.slice&&"http"===h.src.slice(0,4)&&a.d.p(h.src)!=a.d.p(E.location.toString()))return h.moatHostileIframe=!0,null;var r=h&&(h.contentDocument||h.contentWindow&&h.contentWindow.document);if(r&&"string"===typeof r.location.toString())return r;h.moatHostileIframe=!0;return null}catch(e){return h.moatHostileIframe=!0,null}};a.f.a=function(h,r){r=r||a.b.b(h);try{return r&&r.frameElement}catch(e){return!1}};
a.f.c=function(h,r){var e;a.d.forEach(h.getElementsByTagName("iframe"),function(a){if(a&&a.contentWindow&&a.contentWindow==r)return e=a,!1});return e};a.f.d=function(h){if(h=a.f.a(h))try{return h.parentNode}catch(r){}return null};a.f.e=function(h,r){if(!h)return!1;var e=0,d=[];for(r=r||10;e<r;)if(e++,h=a.f.a(h))d.push(h);else return d};a.f.f=function(h,r){if(!h)return!1;var e=0,d=[h],b;for(r=r||10;e<r;){e++;try{if(h=(b=h.frameElement)&&a.b.b(b),b&&h&&!a.f.g(h))d.push(h);else return d}catch(n){break}}return d};
a.f.h=function(h,r,e){var d=[];h&&d.push(h);e=e||0;if(10<e||!h||!h.frames)return d;for(var b=0,n=h.frames.length;b<n;b++)try{r&&!a.f.i(h.frames[b])?d.push(h.frames[b]):d=d.concat(a.f.h(h.frames[b],r,e+1))}catch(k){break}return d};a.f.j=[];a.f.i=function(h){for(var r,e=0,d=a.f.j.length;e<d;e++)a.f.j[e].win==h&&(r=a.f.j[e]);if(!r){r={win:h,friendly:!1};try{h.document&&(r.friendly=!0)}catch(b){}}return r.friendly};a.f.k=function(h,r){for(var e=a.f.f(h).pop(),e=a.f.h(e,!0),d=0,b=e.length;d<b;d++)if(e[d]==
r)return!0;return!1};a.f.g=function(a){try{var r=typeof a.location.toString;if("undefined"===r||"unknown"===r)return!0;var e=typeof a.document;if("undefined"===e||"unknown"===e)return!0;var d=a.innerWidth||a.document.documentElement.clientWidth||a.document.body.clientWidth||0;return"number"!==typeof(a.screenX||a.screenLeft||0)||"number"!==typeof d?!0:!1}catch(b){return!0}}})(s);(function(a){a.e={};a.e.h="MoatSuperV12";a.e.i=8;a.e.j=0<Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor");
a.e.k=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");a.e.l=a.d.k();a.e.g=(new w).getTime();a.e.m=!!window.opera||0<=navigator.userAgent.indexOf(" OPR/");a.e.n=!1;var h=function(){var b=function(c){if(a.d.bj(c,["mraid","isViewable"])&&(c=c.mraid.isViewable,"function"===typeof c))try{return isMraidViewable=c(),"undefined"!==typeof isMraidViewable}catch(b){}return!1},d=document,n=window,e=b(n);if(!e&&a.e.o)for(var q=0;20>q&&!e;q++){d=a.f.a(d.body);if(!1!==d&&!d)break;d=(n=a.b.b(d))&&n.document;
e=e||b(n)}a.e.p=function(){return e&&n};a.e.d=function(){return e};a.e.q=function(){return!1};(function(){if(a.e.d()){var c="___mraid_loop___"+(new w).getTime(),b=a.d.bj(a.e.p(),["mraid","isViewable"]);b&&a.h.b(function(){return b()?(a.e.q=function(){return!0},!1):!0},{},300,c)}})()};a.e.p=function(){h();return a.e.p()};a.e.d=function(){h();return a.e.d()};a.e.q=function(){h();return a.e.q()};var r=function(){var b=function(c){if(a.d.aa.isInApp)return!1;if(a.d.bj(c,["$sf","ext","inViewPercentage"])&&
a.d.bj(c,["$sf","ext","geom"])){var g=c.$sf,g=g&&g.ext&&g.ext.geom;if("function"===typeof g)try{return g=c.$sf.ext.geom(),!(!g||!g.par)}catch(f){}}return!1},d=window,n=document,e=b(d),q=!(!e&&!d.$sf);if(!e&&a.e.o)for(var c=0;20>c&&!e;c++){n=a.f.a(n.body);if(!1!==n&&!n)break;n=(d=a.b.b(n))&&d.document;e=e||b(d);q=q||e||d.$sf}a.e.r=function(){return e&&d};a.e.s=function(){return e};a.e.t=function(){return q}};a.e.u=!1;a.e.r=function(){r();return a.e.r()};a.e.t=function(){r();return a.e.t()};a.e.s=function(){r();
return a.e.s()};a.e.protocol=a.d.aw();a.e.v=("https:"===a.e.protocol?"z":"js")+".moatads.com";a.e.f=window!=window.parent;var e=a.f.g(window.parent);a.e.o=a.e.f&&!e;a.e.w=a.d.u();a.e.a=e?!1:!a.f.g(window.top);a.e.c=a.e.a?window.top:a.e.o?window.parent:window;a.d.aa().isInApp&&(a.e.a=a.d.ag()||a.d.af());a.e.b=a.e.c.document.referrer||"";try{a.e.x=a.e.c.history&&a.e.c.history.length}catch(d){}try{if(!a.e.a){var e=window,b;for(b=0;20>b&&e!=window.top;b++)e=e.parent;a.e.y=b}}catch(n){}a.e.z=function(){var b=
a.e.c;if(!b)return!1;try{var d=b.document&&b.document.body,n=b.document&&b.document.documentElement}catch(e){}try{b.screen&&(a.e.aa=b.screen.availWidth,a.e.ab=b.screen.availHeight,a.e.ac=b.screen.width,a.e.ad=b.screen.height)}catch(q){a.e.aa=a.e.aa||0,a.e.ab=a.e.ab||0,a.e.ac=a.e.ac||0,a.e.ad=a.e.ad||0}var c=a.e.ae(b);a.e.af=c.width;a.e.ag=c.height;try{a.e.ah=b.outerWidth||b.document&&b.document.body&&b.document.body.offsetWidth||0,a.e.ai=b.outerHeight||b.document&&b.document.body&&b.document.body.offsetHeight||
0}catch(m){a.e.ah=0,a.e.ai=0}d&&n&&(a.e.aj=v.max(d.scrollHeight,d.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight),a.e.ak=d.scrollTop||n.scrollTop||b.pageYOffset||0)};a.e.ae=function(a){var b,d,n,q=0,c=0;try{(b=a.document,d=b.documentElement,n=b.body,"undefined"!==typeof a.innerWidth)?(q=a.innerWidth,c=a.innerHeight):"CSS1Compat"===b.compatMode&&5!==b.documentMode||!n||"undefined"===typeof n.clientWidth?d&&"undefined"!==typeof d.clientWidth&&(q=d.clientWidth,c=d.clientHeight):(q=n.clientWidth,
c=n.clientHeight)}catch(m){}return{width:q,height:c,left:0,right:q,top:0,bottom:c}};a.e.z();a.e.al=function(){if(x)for(var a in x)if(x.hasOwnProperty(a))return!0;return!1};a.e.am=function(b){var d=!0;a.d.forEach(b&&b.parentNode&&b.parentNode.childNodes,function(b){if(a.d.l(["DIV","IFRAME","A","EMBED","OBJECT"],b.nodeName))return d=!1});return d};a.e.an=function(){for(var a in x)if(x.hasOwnProperty(a)){var b=x[a];if(b&&b.aa&&b.aa[C])return!0}return!1};a.e.ao=function(){return a.e.a};a.e.ap=function(){return a.e.u||
a.e.s&&a.e.s()};a.e.aq=function(b){var d=!1;a.l&&a.l.a()?d=!0:a.a&&a.a.b&&(b&&b.periscopeManager?b.periscopeManager.measurable&&(d=!0):d=!0);return d};a.e.ar=function(b){return b?a.e.ao()||a.e.ap()||a.e.aq(b)?!0:!1:!1};a.e.e=new a.e.c.Image})(s);(function(a){function h(a){return function(){var d=!1;return function(b){try{return a(b)}catch(n){if(!d){d=!0;b=(new w).getTime();window["Moat#ETS"]||(window["Moat#ETS"]=b);window["Moat#EMC"]||(window["Moat#EMC"]=0);var k=36E5<=b-window["Moat#ETS"],l="";try{l=
a.toString()}catch(u){l="failed"}l=n.name+" in closure (cb): "+n.message+", stack="+n.stack+", \ncb="+l+"\n";if(!k&&10>window["Moat#EMC"]){window["Moat#EMC"]++;try{var t="//video.moatads.com/pixel.gif?e=24&d=data%3Adata%3Adata%3Adata&i="+escape("BROLLNETWORK1")+"&ac=1&k="+escape(l)+"&ar="+escape("9dd2cc3-clean")+"&j="+escape(document.referrer)+"&cs="+(new w).getTime(),q=new Image(1,1);q.src=t}catch(c){}}else if(k){window["Moat#EMC"]=1;window["Moat#ETS"]=b;try{t="//video.moatads.com/pixel.gif?e=24&d=data%3Adata%3Adata%3Adata&i="+
escape("BROLLNETWORK1")+"&ac=1&k="+escape(l)+"&ar="+escape("9dd2cc3-clean")+"&j="+escape(document.referrer)+"&cs="+(new w).getTime(),q=new Image(1,1),q.src=t}catch(m){}}}}}}()}a.h={};var r={};a.h.c=r;a.h.d=function(e,d){if(!e||"string"!==typeof d||!e[d]||e==window)return!1;if("string"===typeof e.nodeName&&("OBJECT"===e.nodeName||"EMBED"===e.nodeName)){var b=a&&a.m&&a.m[d];if(b&&b!==e[d])return b}return!1};a.h.e=function(e,d,b,n){var k,l=h(b),u;e.addEventListener?(b="addEventListener",k=""):(b=
"attachEvent",k="on");if(u=a.h.d(e,b))try{u.call(e,k+d,l,!1)}catch(t){e[b](k+d,l,!1)}else if(e&&b&&e[b])try{e[b](k+d,l,!1)}catch(q){}!1!==n&&(r[d+n]=l)};a.h.f=function(e,d,b,n){var k,l=d+n,u;if(!e)return delete r[l],!1;b=!1!==n?r[l]:b;e.removeEventListener?(n="removeEventListener",k=""):(n="detachEvent",k="on");if(u=a.h.d(e,n))try{u.call(e,k+d,b,!1)}catch(t){e[n](k+d,b,!1)}else try{e[n](k+d,b,!1)}catch(q){}delete r[l]};a.h.g=function(a,d){a=h(a);var b=setInterval(a,d);W.push(b);return b};a.h.h=function(a,
d){a=h(a);var b=setTimeout(a,d);ha.push(b);return b};a.h.b=function(e,d,b,n){if(!n)return!1;n+="";z[n]&&window.clearTimeout(z[n].tid);z[n]={};z[n].callback=h(e);z[n].params=d;z[n].interval=b;z[n].tid=a.h.h(a.h.i(n),b);callbacks=null};a.h.i=function(e){return function(){if(!z||!z[e])return!1;var d=z[e].callback(z[e].params);if("boolean"===typeof d&&!1===d)return window.clearTimeout(z[e].tid),z[e]=!1;z[e].tid=a.h.h(a.h.i(e),z[e].interval);time=e=null}};a.h.j=function(){return z};a.h.a=function(e,d,
b,n){var k=0,l=function(){k+=1;!0!==e()&&(k<d?a.h.h(l,b):"function"===typeof n&&n())};l()};a.h.k=h})(s);(function(a){function h(){this.height=this.width=this.absTop=this.absLeft=0;this.update=function(a){var c=k("left",a.win),f=k("top",a.win);!1!==c&&!1!==f&&(this.absLeft=a.left+c,this.absTop=a.top+f,this.width=a.width,this.height=a.height)}}function r(b,g){var f=b.zr;c.hasOwnProperty(f)||(c[f]=new h);var d=g||new a.n.h(b.aa);c[f].update(d)}function e(c,g){if(!c)return!1;var f="number"==typeof c.zr,
d,n;f?(d=c.aa,n=c._calcVideoBasedOnContainer):d=c;n=n?new a.n.h(d.parentNode,g):new a.n.h(d,g);d=n.height;var l=n.width,k=n.calcArea();if(0===k)return{area:k,percv:0};var q=b(n),e=q.visibleRect.calcArea(),t=e/k,u;a:{var h=q.cumulRect,s=q.cumulRect.getViewportRect();if(0>h.top&&0<h.bottom)u=-h.top;else if(0<=h.top&&h.top<=s.height)u=0;else{u={yMin:-1,yMax:-1};break a}if(0<=h.bottom&&h.bottom<=s.height)h=h.height;else if(h.bottom>s.height&&h.top<s.height)h=h.height-(h.bottom-s.height);else{u={yMin:-1,
yMax:-1};break a}u={yMin:u,yMax:h}}f&&r(c,n);return{area:k,visibleArea:e,visibleRect:q.visibleRect,cumulRect:q.cumulRect,percv:t,yMinMax:u,elGeo:{elHeight:d,elWidth:l,foldTop:q.cumulRect.top,totalArea:q.parentArea},rect:n.rect}}function d(a,c){for(var f=[],b=0;b<c.length;b++)f.push(a(c[b]));return f}function b(c){var b,f=a.b.c(c.el,c.win),f=d(function(f){return new a.n.h(f)},f);f.unshift(c);var Q=f.length;c=new a.n.h(c.el,a.e.c);for(var n=0;n<Q;n++){var l=f[n];0===n?b=l:(b.changeReferenceFrame(l),
c.changeReferenceFrame(l));l=l.getViewportRect(n<Q-1?f[n+1]:!1);b=a.n.j(b,l)}return{visibleRect:b,cumulRect:c,parentArea:f[f.length-1].calcArea()}}function n(a,c,f,b){a=v.max(a,f);c=v.min(c,b);return c>a?[a,c]:[0,0]}function k(a,c){c||(c=window);try{var f=c.document.documentElement,b=c.document.body;return"left"===a?c.pageXOffset||f&&f.scrollLeft||b&&b.scrollLeft:c.pageYOffset||f&&f.scrollTop||b&&b.scrollTop}catch(d){return!1}}function l(c,b,f,d){var n=[],l;for(l in c){var k=c[l],k=a.d.bv(k[0],k[1],
b),q;if(q=k&&k!==f&&k[F]!==d)k=(k=a.d.ap(k))&&(1>=k.width||1>=k.height)?!0:!1,q=!1===k;q&&n.push(l)}return n}function u(a){var c=.01*a.width,f=.01*a.height;return{tl:[a.left+c,a.top+f],m:[a.left+(a.right-a.left)/2,a.top+(a.bottom-a.top)/2],br:[a.right-c,a.bottom-f]}}function t(c,b){var f={corners:[],addCorner:function(f){var c=this;a.d.forEach(f,function(f){-1===a.d.indexOf(c.corners,f)&&c.corners.push(f)})}},Q=a.f.e(c),Q=d(function(f){var b=new a.n.h(c),g=new a.n.h(f);b.changeReferenceFrame(g);return{rect:b,
frame:f,doc:f.ownerDocument}},Q);Q.unshift({rect:new a.n.h(c),frame:c,doc:c.ownerDocument});a.d.forEach(Q,function(a){var c=u(a.rect);f.addCorner(l(c,a.doc,a.frame,b))});return f.corners}a.n={};var q=a.e.a,c={};a.n.a=.5;a.n.b=void 0;a.n.c=function(c,b){b=b||!1;return function(f,d){var n=f.ao.skin?a.n.d(f,d):e(f,d);n.isVisible=b?n.percv>c:n.percv>=c;n.elGeo&&(n.elGeo.threshold=c);return n}};a.n.d=function(c,b){if(1==c.ao.skin){var f={},d=a.e.c.scrollY||a.e.c.document.documentElement.scrollTop;if("width"==
a.o.a&&a.o.b<=c.adContent&&45<d||!a.focus.pageIsVisible())return f.isVisible=!1,f.isFullyVisible=!1,f.percv=0,f;f.isVisible=!0;f.isFullyVisible=!0;f.percv=1;return f}f=e(c,b);d=a.n.e(f,c);f.isVisible=f.percv>=d;f.isFullyVisible=.98<=f.percv;f.elGeo&&(f.elGeo.threshold=d);c.videoIsFullscreen&&0<f.percv&&(f.isVisible=!0);.8<=f.percv&&(f.isDentsuVisible=!0);a.n.b?f.percv>a.n.b&&(a.n.b=f.percv):a.n.b=f.percv;return f};a.n.e=function(c,b){return a.n.a};a.n.f=function(){return q};a.n.g=function(a,b){q&&
c.hasOwnProperty(b)||r(a);return c[b]};a.n.i=a.e.ae;a.n.h=function(c,b,f,d){try{this.rect=f||c.getBoundingClientRect&&c.getBoundingClientRect()||{}}catch(n){this.rect=f||c&&{top:c.offsetTop,left:c.offsetLeft,width:c.offsetWidth,height:c.offsetHeight,bottom:c.offsetTop+c.offsetHeight,right:c.offsetLeft+c.offsetWidth}||{}}f="left right top bottom width height".split(" ");for(d=0;d<f.length;d++){var l=f[d];this[l]=this.rect[l]}c&&c.adjustForClip&&(f=a.p.a(c.style.clip))&&(this.left+=f.left,this.right=
this.left+f.right,this.top+=f.top,this.bottom=this.top+f.bottom);c&&c.CLIPCHECKINGTARGET&&(f=a.d.br(c.CLIPCHECKINGTARGET.style.clip))&&(this.right=this.left+f.right,this.left+=f.left,this.bottom=this.top+f.bottom,this.top+=f.top);this.width=this.right-this.left;this.height=this.bottom-this.top;this.el=c;this.win=b||c&&a.b.b(c);this.changeReferenceFrame=function(a){this.left+=a.left;this.right+=a.left;this.top+=a.top;this.bottom+=a.top};this.calcArea=function(){return(this.right-this.left)*(this.bottom-
this.top)};this.getViewportRect=function(f){var c=a.e.ae(this.win);f&&(f.width<c.width&&(c.width=f.width,c.right=c.left+c.width),f.height<c.height&&(c.height=f.height,c.bottom=c.top+c.height));return c}};a.n.k=function(a,c,f){return{left:Number(c)+Number(a.left),right:Number(c)+Number(a.right),top:Number(f)+Number(a.top),bottom:Number(f)+Number(a.bottom)}};a.n.k=function(a,c,f){return{left:Number(c)+Number(a.left),right:Number(c)+Number(a.right),top:Number(f)+Number(a.top),bottom:Number(f)+Number(a.bottom)}};
a.n.j=function(c,b){var f=n(c.left,c.right,b.left,b.right),d=n(c.top,c.bottom,b.top,b.bottom);return new a.n.h(void 0,void 0,{left:f[0],right:f[1],top:d[0],bottom:d[1]})};a.n.l=k;a.n.m=e;a.n.n=function(c){var b=c.aa;c=c.zr;if(b){if(a.e.o)b=t(b,c);else var f=new a.n.h(b),f=u(f),b=l(f,a.e.c.document,b,c);return{half:1<b.length?!0:!1,full:3===b.length?!0:!1}}}})(s);(function(a){a.a={};var h=a.d.j(),r=null!==h,e=-1!==navigator.userAgent.indexOf("Chrome"),d=!1,b=function(){var a=navigator.appVersion.match(/Windows NT (\d\.\d)/);
return a?parseFloat(a[1]):-1}(),n=6.2<=b;a.a.c=h;a.a.d=r;a.a.e=e;a.a.f=b;a.a.g=n;var k={FRAME_RATE:"fr",STAGE_WIDTH:"sd",ACTIVE_STAGE_WIDTH:"asd",THROTTLE:"td",RAPID_THROTTLE:"rtd"};a.a.h=k;a.a.i=0<Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor");a.a.j=a.d.m();a.a.k=!1;if(a.a.i)try{var l=parseInt(navigator.userAgent.match(/Version\/(\d)/)[1],10);a.a.k=5<l}catch(u){}a.a.l=!1;a.a.m=function(b){if(b.currentFocusState){if("center"!=b.config.name){var d,c,m=(d=b.manager.getPixelByName("center"))&&
(c=d.viewstates[b.manager.getTargetViewState()])&&c.inview;d=b.manager.reachedAnyInview;if(!m&&d){b.skipWidthCheck=!0;return}}var g,f;"undefined"!==typeof b.manager.adNum&&(g=a.d.bl(b.manager.adNum))&&(f=a.q.a(g,!0),a.q.b(g,1));!f||"bottomLeft"!=b.config.name&&"topRight"!=b.config.name?b.skipWidthCheck=!1:b.killWidthCheck=!0}else b.skipWidthCheck=!0};a.a.n=function(b){var d={insertableFunc:a.a.o,pixels:[{name:"center",id:"moatPx"+b.zr+"_"+v.ceil(1E6*v.random()),target:b.aa,container:b.aa.parentNode,
position:{top:"50%",left:"50%"},onWidthCheck:a.a.m},{name:"topLeft",id:"moatPx"+b.zr+"_"+v.ceil(1E6*v.random()),target:b.aa,container:b.aa.parentNode,position:{top:"0px",left:"0px"},onWidthCheck:a.a.m},{name:"bottomRight",id:"moatPx"+b.zr+"_"+v.ceil(1E6*v.random()),target:b.aa,container:b.aa.parentNode,position:{top:"100%",left:"100%"},onWidthCheck:a.a.m}]};d.pixels.push({name:"dentsuTopLeft",id:"moatPx"+b.zr+"_"+v.ceil(1E6*v.random()),target:b.aa,container:b.aa.parentNode,position:{top:"20%",left:"20%"},
onWidthCheck:a.a.m});d.pixels.push({name:"dentsuBottomRight",id:"moatPx"+b.zr+"_"+v.ceil(1E6*v.random()),target:b.aa,container:b.aa.parentNode,position:{top:"80%",left:"80%"},onWidthCheck:a.a.m});return d};a.a.p=function(b,d){var c=!1,m=!1;a.d.forEach(b.pixels,function(a){"0px"==a.config.position.left&&"0px"==a.config.position.top&&a.measurable&&a.viewstates&&a.viewstates[d]&&(c=!0);"100%"==a.config.position.left&&"100%"==a.config.position.top&&a.measurable&&a.viewstates&&a.viewstates[d]&&(m=!0)});
return c&&m?!0:!1};a.a.q=function(b,d){var c=!1;a.d.forEach(b.pixels,function(a){if(a.config&&"50%"==a.config.position.left&&"50%"==a.config.position.top&&a.viewstates&&a.viewstates[d])return c=!0,!1});return c};a.a.r=function(b,d){var c=!1,m=!1,g=!1,f=!1;a.d.forEach(b.pixels,function(a){"0px"==a.config.position.left&&"0px"==a.config.position.top&&a.measurable&&a.viewstates&&a.viewstates[d]&&(c=!0);"100%"==a.config.position.left&&"100%"==a.config.position.top&&a.measurable&&a.viewstates&&a.viewstates[d]&&
(g=!0);a.config&&"20%"==a.config.position.left&&"20%"==a.config.position.top&&a.viewstates&&a.viewstates[d]&&(m=!0);a.config&&"80%"==a.config.position.left&&"80%"==a.config.position.top&&a.viewstates&&a.viewstates[d]&&(f=!0)});return c&&f&&g&&m};a.a.s=function(b,d){var c=!1;a.d.forEach(b.pixels,function(a){if(a.config&&a.viewstates&&a.viewstates[d]&&(c=a.viewstates[d].inview))return!1});return c};a.a.t=function(b,d){var c=!1;a.d.forEach(b.pixels,function(a){if(a.config&&"50%"==a.config.position.left&&
"50%"==a.config.position.top&&a.viewstates&&a.viewstates[d])return c=a.viewstates[d].inview,!1});return c};a.a.u=function(b,d){if(!b.inview)return!1;var c=!1,m=!1;a.d.forEach(b.pixels,function(a){"0px"==a.config.position.left&&"0px"==a.config.position.top&&a.measurable&&a.viewstates&&a.viewstates[d]&&(c=a.viewstates[d].inview);"100%"==a.config.position.left&&"100%"==a.config.position.top&&a.measurable&&a.viewstates&&a.viewstates[d]&&(m=a.viewstates[d].inview)});return c&&m?!0:!1};a.a.v=function(b,
d){if(!b.inview)return!1;var c=!1,m=!1,g=!1,f=!1;a.d.forEach(b.pixels,function(a){"0px"==a.config.position.left&&"0px"==a.config.position.top&&a.measurable&&a.viewstates&&a.viewstates[d]&&(c=a.viewstates[d].inview);"100%"==a.config.position.left&&"100%"==a.config.position.top&&a.measurable&&a.viewstates&&a.viewstates[d]&&(g=a.viewstates[d].inview);a.config&&"20%"==a.config.position.left&&"20%"==a.config.position.top&&a.viewstates&&a.viewstates[d]&&(m=a.viewstates[d].inview);a.config&&"80%"==a.config.position.left&&
"80%"==a.config.position.top&&a.viewstates&&a.viewstates[d]&&(f=a.viewstates[d].inview)});return c&&f||g&&m};a.a.a=function(a){a.periscopeManager&&a.periscopeManager.killAllPixels()};a.a.w=function(b){a.a.x(b.periscopeConfig)||(b.periscopeConfig=a.a.n(b));b.periscopeManager=new a.a.y(b.periscopeConfig,b.zr);a.a.b=b.periscopeManager.insertSuccessful;return b.periscopeManager.insertSucceeded};a.a.b=!1;a.a.o=function(){return 1===v.floor(100*v.random())?!a.d.u()&&(r||e||a.a.k):!a.d.u()&&!a.e.a&&(r||
e||a.a.k)};a.a.z=function(b){return b.periscopeManager?(a.q.c(b,!0)&&b.periscopeManager.killDentsuPixels(),b.periscopeManager.getViewStats()):{isVisible:!1}};a.a.aa=function(){};a.a.x=function(b){if("object"!==typeof b||"function"!==typeof b.insertableFunc||!a.d.be(b.pixels)||0==b.pixels.length)return!1;var d=!1;a.d.forEach(b.pixels,function(a){a.id&&a.target&&a.container&&"object"===typeof a.position&&"string"===typeof a.position.top&&"string"===typeof a.position.left||(d=!0)});return!d};a.a.ab=
function(){return n&&r&&10<=h};a.a.ac=/([0-9]+(?:\.[0-9]+)?)(\%|px)/i;a.a.ad=function(){var b={};return function(d){if("string"!==typeof d)return!1;if("undefined"!==typeof b[d])return b[d];var c,m;(c=d.match(a.a.ac))&&3==c.length&&(m=c[2],c=-1!=c[1].indexOf(".")?parseInt(c[1],10):parseFloat(c[1],10));if("number"!==typeof c)return!1;b[d]={val:c,type:m};return b[d]}}();a.a.ae=function(b,d){this.config=b;this.measurable=this.inserted=!1;this.viewstates={};this.manager=d;this.killed=!1;this.cbNames=[];
this.killWidthCheck=this.skipWidthCheck=!1;this.loopIds=[];this.getPeriscopeAssetURI=function(){return a.e.protocol+"//"+a.e.v+"/swf/p6.v3.swf"};this.insertIntoDOM=function(){if(this.inserted)return!1;var f,c;c=r?f=2:f=1;var b="position: absolute; width: "+f+"px; height: "+c+"px; z-index: -9999;";a.a.k&&(b+="-webkit-transform: translate3d(0, 0, 0);");var g=this.config.id,d=this.getPeriscopeAssetURI(),m=this.calcPosition();if(!m)return!1;var m=b+"left: "+m.left+"px; top: "+m.top+"px;",n=b+"left: 0px; top: 0px;";
this.targetDoc=b=this.config.target.ownerDocument;var l="defaultView"in b?b.defaultView:b.parentWindow,k="Moat#PSCB"+v.floor(1E8*v.random());l[k]={fn:this.onStateChange,ct:this};this.cbNames.push(k);l="sco="+encodeURIComponent(k)+"&tvs="+this.manager.getTargetViewState();k=b.createElement("div");k.id="moatPxDiv"+v.ceil(1E6*v.random());k.style.width="0px";k.style.height="0px";k.style.position="absolute";k.style.top="0px";k.style.left="0px";this.wrapperDiv=k;a.a.ab()?(n=function(a,f,c){var b=document.createElement("param");
b.setAttribute("name",f);b.setAttribute("value",c);a.appendChild(b)},b=b.createElement("OBJECT"),b.setAttribute("data",d),b.setAttribute("id",g),b.setAttribute("name",g),b.setAttribute("style",m),b.setAttribute("width",f+""),b.setAttribute("height",c+""),n(b,"flashvars",l),n(b,"wmode","transparent"),n(b,"bgcolor",""),n(b,"allowscriptaccess","always"),a.d.az(k,this.config.container),k.appendChild(b)):(a.d.az(k,this.config.container),k.innerHTML='<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="'+
f+'" height="'+c+'" style="'+m+'" id="'+g+'"><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="movie" value="'+d+'" /><param name="quality" value="low" /><param name="hasPriority" value="true" /><param name="FlashVars" value="'+l+'" /><param name="bgcolor" value="" /><param name="wmode" value="transparent" /><embed type="application/x-shockwave-flash" src="'+d+'" quality="low" flashvars="'+l+'" bgcolor="" wmode="transparent" width="'+f+'" height="'+
c+'" id="'+g+'e" name="'+g+'" style="'+n+'" hasPriority="true" allowscriptaccess="always" allowFullScreen="false" type="application/x-shockwave-flash" /></object>');return this.inserted=!0};this.startIntervals=function(){var f=this.getPixelElement();if(!f)return!1;if(8==h&&(this.manager.getTargetViewState()===k.STAGE_WIDTH||this.manager.getTargetViewState()===k.ACTIVE_STAGE_WIDTH)){var c="positionToggle#"+this.config.id;this.loopIds.push(c);a.h.j()[c]||(this.positionTogglingEnabled=!0,this.positionOffsets||
(this.positionOffsets={}),a.h.b(this.positionToggle,{pxSwf:f,pxRef:this},100,c))}this.manager.getTargetViewState()===k.STAGE_WIDTH&&(c="stageWidthLoop#"+this.config.id,this.loopIds.push(c),a.h.j()[c]||a.h.b(this.stageWidthToggle,{pxSwf:f,pxRef:this,originalWidth:f.style.width,widthRe:/^[0-9\.]+/i,updates:0},150,c));this.manager.getTargetViewState()===k.ACTIVE_STAGE_WIDTH&&(c="activeStageWidthLoop#"+this.config.id,this.loopIds.push(c),a.h.j()[c]||a.h.b(this.stageWidthToggle,{pxSwf:f,pxRef:this,originalWidth:f.style.width,
widthRe:/^[0-9\.]+/i,updates:0,active:!0,onWidthCheck:this.config.onWidthCheck},200,c))};this.stageWidthToggle=function(a){if(!a.pxSwf||!a.pxSwf.parentNode||!a.pxRef)return!1;if(a.onWidthCheck){a.onWidthCheck(a.pxRef);if(a.pxRef.killWidthCheck)return a.pxRef.kill(),!1;if(a.pxRef.skipWidthCheck)return!0}var c;if(a.parsedWidth||(c=a.pxSwf.style.width.match(a.widthRe)))a.parsedWidth||(a.parsedWidth=parseInt(c[0],10)),1==a.updates?(a.updates=0,a.pxSwf.style.width=a.originalWidth,c=a.parsedWidth):(a.updates=
1,c=1<a.parsedWidth?a.parsedWidth-1:a.parsedWidth+1,a.pxSwf.style.width=c+"px"),a.active&&a.pxSwf.currentPW&&a.pxSwf.currentPW(c)};this.positionToggle=function(a){if(!a.pxRef||!a.pxRef.element)return!1;0>a.pxRef.positionOffsets.yOffset?(a.pxRef.positionOffsets.yOffset=0,a.pxRef.positionOffsets.xOffset=0):(a.pxRef.positionOffsets.yOffset=-2E3,a.pxRef.positionOffsets.xOffset=-2E3);a.pxRef.updatePosition(!0)};this.onStateChange=function(f){if(!this.measurable){this.measurable=!0;var c;f&&f[0]&&f[0].rev&&
(c=f[0].rev.match(a.a.af))&&3==c.length&&(a.a.ag=c[1],a.a.j=c[2]);this.updateFocusState();this.startIntervals()}this.inserted&&this.killed?(this.killed=!1,this.updateFocusState(),this.startIntervals()):(a.d.forEach(f,function(a){this.viewstates[a.name]=a},this),this.manager.onStateChange(this,f))};this.calcPosition=function(){var f={},c=this.config.position.left,b=a.a.ad(this.config.position.top),c=a.a.ad(c),g=0,d=0;this.config.positionTarget?this.config.positionTargetWindow?this.targetRect=new a.n.h(this.config.positionTarget,
this.config.positionTargetWindow,null,!0):(this.targetRect=new a.n.h(this.config.positionTarget,null,null,!0),this.config.positionTargetWindow=this.targetRect.win):(this.targetRect=this.targetRect?new a.n.h(this.config.target,this.targetRect.win,null,!0):new a.n.h(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 a.n.h(this.config.target.parentNode,null,null,!0),this.config.positionTarget=this.config.target.parentNode));var g=a.n.l("left",this.targetRect.win),d=a.n.l("top",this.targetRect.win),m;this.wrapperDiv&&(m=this.wrapperDiv.offsetParent)&&"BODY"!==m.nodeName?this.offsetRect=this.offsetRect?new a.n.h(m,this.offsetRect.win,null,!0):new a.n.h(m,null,null,!0):this.offsetRect={left:-g,top:-d};if(!b||!c)return!1;if("%"==b.type)f.relativeTop=b.val/100*this.targetRect.height,f.top=this.targetRect.top-
this.offsetRect.top+b.val/100*this.targetRect.height;else if("px"==b.type)f.relativeTop=b.val,f.top=this.targetRect.top-this.offsetRect.top+b.val;else return!1;if("%"==c.type)f.relativeLeft=c.val/100*this.targetRect.width,f.left=this.targetRect.left-this.offsetRect.left+c.val/100*this.targetRect.width;else if("px"==c.type)f.relativeLeft=c.val,f.left=this.targetRect.left-this.offsetRect.left+c.val;else return!1;return f};this.maxPositionUpdateInterval=200;this.getStyle=function(a){var c;try{c=a&&a.style}catch(b){}return c};
this.updatePosition=function(a){var c=(new w).getTime(),b;if(!this.element||!(b=this.getStyle(this.element))||this.killed||!a&&c-this.lastPositionUpdate<this.maxPositionUpdateInterval)return!1;this.lastPositionUpdate=c;a=this.calcPosition();if(!a)return!1;this.positionOffsets&&(a.left+=this.positionOffsets.xOffset||0,a.top+=this.positionOffsets.yOffset||0);b.left=this.width+a.relativeLeft>this.targetRect.width?v.floor(a.left-this.width)+"px":0==a.relativeLeft?v.floor(a.left)+"px":v.floor(a.left-.5*
this.width)+"px";b.top=this.height+a.relativeTop>this.targetRect.height?v.floor(a.top-this.height)+"px":0==a.relativeTop?v.floor(a.top)+"px":v.floor(a.top-.5*this.height)+"px";return!0};this.updateFocusState=function(){var a=this.getPixelElement();if(a&&this.measurable)try{a.updateFocusState(this.currentFocusState)}catch(c){}};this.kill=function(){var f=this.getPixelElement(),c=a.b.b(f);c&&f&&f.dataMoatTIDS&&a.d.forEach(f.dataMoatTIDS,function(a){c.clearTimeout(a)});a.d.forEach(this.loopIds,function(a){z&&
z[a]&&(window.clearTimeout(z[a].tid),z[a]=!1)});for(var f=0,b=this.cbNames.length;f<b;f++){window[this.cbNames[f]]=null;try{delete window[this.cbNames[f]]}catch(g){}}return this.wrapperDiv&&this.wrapperDiv.parentNode?(this.wrapperDiv.parentNode.removeChild(this.wrapperDiv),this.killed=!0,this.inserted=!1,this.element=this.wrapperDiv=null,!0):!1};this.getPixelElement=function(){var a,c=!1,b=this.config.id;if(this.targetDoc){a=this.targetDoc.getElementById(b);if(c=!!(a&&a.isPxSwf&&a.isPxSwf()))return a;
a=this.targetDoc.getElementById(b+"e");if(c=!!(a&&a.isPxSwf&&a.isPxSwf()))return a}return!1};if("embed"===b.container.nodeName||"object"===b.container.nodeName){var c;a.d.forEach(a.d.s(b.container),function(a){if("embed"!==a.nodeName&&"object"!==a.nodeName)return c=a,!1});if(!c)return!1;this.config.container=c}if(!this.insertIntoDOM())return!1;this.element=this.targetDoc.getElementById(this.config.id);if(!this.element)return!1;var m=new a.n.h(this.element,null,null,!0);this.width=m.width;this.height=
m.height;if(!this.updatePosition())return!1;this.currentFocusState=a.focus.pageIsVisible();this.focusCheckingLoop=function(f){if(!f.pxRef)return!1;f=f.pxRef;f.currentFocusState!=a.focus.pageIsVisible()&&(f.currentFocusState=!f.currentFocusState,f.killed||f.updateFocusState())};this.rebuildOnFocusLoss=function(){r&&(this.currentFocusState||this.killed||!this.inserted?this.currentFocusState&&this.killed&&!this.inserted&&(this.insertIntoDOM.call(this),(this.element=this.targetDoc.getElementById(this.config.id))&&
this.updatePosition()):this.kill())};this.positionUpdateLoop=function(a){if(!a.pxRef)return!1;a.pxRef.killed||a.pxRef.updatePosition()};var m="focusCheckingLoop#"+this.config.id,g="positionUpdateLoop#"+this.config.id;this.loopIds.push(m);this.loopIds.push(g);a.h.b(this.focusCheckingLoop,{pxRef:this},200,m);a.h.b(this.positionUpdateLoop,{pxRef:this},500,g);this.inserted=!0;this.insertionTime=(new w).getTime()};a.a.af=/([0-9a-z]+-[a-z]+)-(.*)/i;a.a.y=function(b,n){this.insertedAllSuccessfully=this.insertSuccessful=
!1;this.pixels=[];this.adNum=n;this.dentsuInview=this.dentsuMeasurable=this.anyMeasurable=this.fullyMeasurable=this.measurable=this.reachedAnyInview=this.reachedFullyInview=this.reachedInview=this.anyInview=this.fullyInview=this.inview=!1;this.getPixelByName=function(c){var b;a.d.forEach(this.pixels,function(a){if(a.config.name&&a.config.name==c)return b=a,!1});return b||!1};this.getTargetViewState=function(){var c=k.FRAME_RATE;r&&(c=k.ACTIVE_STAGE_WIDTH);a.a.k&&(c=k.ACTIVE_STAGE_WIDTH);return c};
this.onStateChange=function(c,b){var f=this.getTargetViewState(),n=a.focus.pageIsVisible(),k="undefined"!=typeof x&&x[this.adNum];this.anyMeasurable||(this.anyMeasurable=!0);this.fullyMeasurable||(this.fullyMeasurable=a.a.p(this,f));this.measurable||(this.measurable=a.a.q(this,f),a.a.ah=(new w).getTime());this.dentsuMeasurable||(this.dentsuMeasurable=a.a.r(this,f));if(1==b.length){if(b[0].name!=f)return!1}else{var l=!0;a.d.forEach(b,function(a){if(a.name==f)return l=!1});if(l||!n)return!1}this.anyMeasurable&&
(this.anyInview=a.a.s(this,f));this.measurable&&((this.anyInview=a.a.s(this,f))&&!this.reachedAnyInview&&(this.reachedAnyInview=!0),(this.inview=a.a.t(this,f))&&!this.reachedInview&&(this.reachedInview=!0),!d&&a.a.k&&k&&(d=!0,a.b.d(k)));this.fullyMeasurable&&(this.fullyInview=a.a.u(this,f))&&!this.reachedFullyInview&&(this.reachedFullyInview=!0);this.dentsuMeasurable&&(this.dentsuInview=a.a.v(this,f));k&&a.q.d(k)};this.getViewStats=function(){var a=0;if(this.fullyInview)a=1;else if(this.inview)a=
.5;else if(this.anyInview||this.reachedAnyInview&&!this.sentReachedAnyInview)this.sentReachedAnyInview=!0,a=.01;return{isVisible:this.inview,isFullyVisible:this.fullyInview,isDentsuVisible:this.dentsuInview,percv:a}};this.killDentsuPixels=function(){a.d.forEach(this.pixels,function(a){!a.config||"dentsuTopLeft"!==a.config.name&&"dentsuBottomRight"!==a.config.name||a.kill()})};this.killAllPixels=function(){a.d.forEach(this.pixels,function(a){a.kill()})};if(b.insertableFunc()){var c=0;a.d.forEach(b.pixels,
function(b,g){this.pixels.push(new a.a.ae(b,this));this.pixels[g].inserted&&(c++,this.insertSuccessful=!0)},this);this.insertedAllSuccessfully=c===this.pixels.length}}})(s);(function(a){function h(a,c,b){a.IR5.MIN[b]=v.min(c,a.IR5.MIN[b])||c||1;a.IR5.MAX[b]=v.max(c,a.IR5.MAX[b])||c}function r(a,c){c.be=v.max("undefined"!==typeof c.be?c.be:0,a-c.bf);"undefined"===typeof c.by&&500<=c.be&&(c.by=c.bk)}function e(b){b.az===a.r.a.d.a?b.az=a.r.a.d.b:b.az===a.r.a.d.b&&(b.az=a.r.a.d.a)}function d(b){b.ba===
a.r.a.d.a?b.ba=a.r.a.d.b:b.ba===a.r.a.d.b&&(b.ba=a.r.a.d.a)}function b(b){b.ax===a.r.a.b.a?b.ax=a.r.a.b.b:b.ax===a.r.a.b.b&&(b.ax=a.r.a.b.a)}function n(b){b.ay===a.r.a.c.a?b.ay=a.r.a.c.b:b.ay===a.r.a.c.b&&(b.ay=a.r.a.c.a)}function k(a,c){"undefined"===typeof c.bk&&(c.bk=0);c.bk+=a-c.bo;c.bo=a}function l(a,c){"undefined"===typeof c.bl&&(c.bl=0);c.bl+=a-c.bp;c.bp=a}function u(a,c){"undefined"===typeof c.bg&&(c.bg=0);"undefined"===typeof c.bc&&(c.bc=0);c.bu=a-c.bs;c.bu>c.bc&&(c.bc=c.bu);c.bg+=a-c.bq;
500<=c.bc&&"undefined"===typeof c.bw&&(c.bk+=a-c.bo,c.bw=c.bk);c.bq=a}function t(a,c){"undefined"===typeof c.bh&&(c.bh=0);"undefined"===typeof c.bd&&(c.bd=0);c.bv=a-c.bt;c.bv>c.bd&&(c.bd=c.bv);c.bh+=a-c.br;500<=c.bd&&"undefined"===typeof c.bx&&(c.bl+=a-c.bp,c.bx=c.bl);c.br=a}a.r={};a.r.a={};a.r.a.a={};a.r.a.a.a=0;a.r.a.a.b=1;a.r.a.b={};a.r.a.b.a=0;a.r.a.b.b=1;a.r.a.c={};a.r.a.c.a=0;a.r.a.c.b=1;a.r.a.d={};a.r.a.d.a=0;a.r.a.d.b=1;a.r.a.e={};a.r.a.e.a=0;a.r.a.e.b=1;a.r.a.f={};a.r.a.f.a=0;a.r.a.f.b=1;
a.r.a.f.c=2;a.r.b=function(a){h(a,a.aj,"x");h(a,a.ak,"y");a.IR5.AREA=(a.IR5.MAX.x-a.IR5.MIN.x)*(a.IR5.MAX.y-a.IR5.MIN.y)};a.r.c=function(b){function c(){500<=(new w).getTime()-za&&(a.r.d({type:"park"},b),clearInterval(g),b.au=a.r.a.a.a)}var d=b.au;if(d===a.r.a.a.a){za=(new w).getTime();var g=a.h.g(c,50);b.au=a.r.a.a.b}else d===a.r.a.a.b&&(za=(new w).getTime())};a.r.e=function(b){function c(){3E3<=(new w).getTime()-Aa&&(a.r.f({type:"park"},b),clearInterval(g),b.av=a.r.a.a.a)}var d=b.av;if(d===a.r.a.a.a){Aa=
(new w).getTime();var g=a.h.g(c,50);b.av=a.r.a.a.b}else d===a.r.a.a.b&&(Aa=(new w).getTime())};a.r.g=function(b,c){var d=b.type;if(c.az===a.r.a.d.a){if("mouseover"===d||"mousemove"===d)c.bo=(new w).getTime(),e(c)}else if(c.az===a.r.a.d.b){"mousemove"===d&&k((new w).getTime(),c);if("mouseout"===d||"blur"===d)k((new w).getTime(),c),e(c);"scooper"===d&&k((new w).getTime(),c)}};a.r.h=function(b,c){var m=b.type;if(c.ba===a.r.a.d.a){if("mouseover"===m||"mousemove"===m)c.bp=(new w).getTime(),d(c)}else if(c.ba===
a.r.a.d.b){"mousemove"===m&&l((new w).getTime(),c);if("mouseout"===m||"blur"===m)l((new w).getTime(),c),d(c);"scooper"===m&&l((new w).getTime(),c)}};a.r.d=function(d,c){if(2!=c.an){var m=d.type;if(c.ax===a.r.a.b.a){if("mouseover"===m||"mousemove"===m)c.bq=(new w).getTime(),c.bs=(new w).getTime(),b(c)}else c.ax===a.r.a.b.b&&("mousemove"!==m&&"mouseout"!==m||u((new w).getTime(),c),"park"===m&&u((new w).getTime()-500,c),"mouseout"!==m&&"park"!==m||b(c))}};a.r.f=function(b,c){if(2!=c.an){var d=b.type;
if(c.ay===a.r.a.c.a){if("mouseover"===d||"mousemove"===d)c.br=(new w).getTime(),c.bt=(new w).getTime(),n(c)}else c.ay===a.r.a.c.b&&("mousemove"!==d&&"mouseout"!==d||t((new w).getTime(),c),"park"===d&&t((new w).getTime()-3E3,c),"mouseout"!==d&&"park"!==d||n(c))}};a.r.i=function(b,c){var d=b.type;if(c.bb==a.r.a.e.a){if("mouseover"==d||"mousemove"==d)c.bf=(new w).getTime(),c.bb=a.r.a.e.b}else c.bb==a.r.a.e.b&&("mouseout"==d?(r((new w).getTime(),c),c.bb=a.r.a.e.a):"mousemove"!=d&&"scooper"!=d||r((new w).getTime(),
c))}})(s);(function(a){function h(f){a.focus.pageIsPrerendered()||a.h.f(document,u,h,"pr")}function r(a){"undefined"==typeof n&&(n=a)}a.focus={};var e=navigator.userAgent,e=-1<e.indexOf("Safari")&&-1==e.indexOf("Chrome")&&-1==e.indexOf("Chromium")&&!a.d.u(),d=a.d.k()&&!a.d.u(),b="undefined"!==typeof document.hasFocus,n,k={visible:0,hidden:1,prerender:2},l,u,t,q;"undefined"!==typeof document.hidden?(l="hidden",u="visibilitychange"):"undefined"!==typeof document.mozHidden?(l="mozHidden",u="mozvisibilitychange"):
"undefined"!==typeof document.msHidden?(l="msHidden",u="msvisibilitychange"):"undefined"!==typeof document.webkitHidden&&(l="webkitHidden",u="webkitvisibilitychange");for(var c=["v","mozV","msV","webkitV"],m=0;m<c.length;m++){var g=c[m]+"isibilityState";if("undefined"!==typeof document[g]){t=g;break}}q="undefined"!==typeof l;var f,Q;"undefined"!==typeof window.requestAnimationFrame?f="requestAnimationFrame":"undefined"!==typeof window.webkitRequestAnimationFrame&&(f="webkitRequestAnimationFrame");
Q=e&&"string"==typeof f&&!q;var A=(new w).getTime();Q&&function V(){A=(new w).getTime();window[f](V)}();a.focus.getFocusMethod=function(){return n};a.focus.visibilitychange=u;a.focus.setFocusListeners=function(){};a.focus.getQueryString=function(a){a={};a.em=n;Ka&&(a.eo=1);"undefined"!=typeof t&&(a.en=k[document[t]]);return a};a.focus.supportsPageVisAPI=function(){return q};a.focus.pageIsVisible=function(){if(a.focus.supportsPageVisAPI())return r(0),!document[l];if(Q)return r(1),100>(new w).getTime()-
A;if(d&&b)return r(2),document.hasFocus();r(3);return!0};a.focus.pageIsPrerendered=function(){return"undefined"!==typeof t?"prerender"==document[t]:!1};a.focus.pageIsVisible();a.focus.pageIsPrerendered()&&a.h.e(document,u,h,"pr");var Ka=a.focus.pageIsPrerendered()})(s);(function(a){function h(a,b,g){this.collapsedEl=a;this.expandedURL=this.expandedEl=null;this.expandedIsOpen=!1;this.adNum=b;this.configIndex=g}function r(b,d){var g=q[d];if(!0!==g.findingExpanded){g.findingExpanded=!0;var f=function(){g.findingExpanded=
!1},n=x[d].aa;a.h.a(function(){var g=b.findExpanded(n);if(g)return a.s.c(g,d,e,!1,f),!0},5,500,f)}}function e(a,b,g,f){a[F]=f;a[C]=!0;b=x[f];f=q[f];f.expandedIsOpen=!0;n(a,b);f.findingExpanded=!1;return!0}function d(a,b){n(a.collapsedEl,x[a.adNum],!0);a.expandedIsOpen=!1;b||(a.expandedEl&&(a.expandedEl[F]=void 0,a.expandedEl[C]=void 0),a.expandedEl=null)}function b(a,b,g,f){if(!a)return!1;a[F]=f;a[C]=!0;q[f].expandedIsOpen=!1;n(a,x[f]);return!0}function n(b,d,g){a.i.a(d,"remove");!0===g&&d.aa&&(d.aa[F]=
void 0,d.aa[C]=void 0);!d.hasIframeListener&&b.tagName&&"iframe"===b.tagName.toLowerCase()&&(d.hasIframeListener=!0);d.aa=b;a.i.a(d)}function k(b,d,g){g=g||{};var f=b.getElementsByTagName("div");g.inclSearchableEl&&(f=a.d.bb(f),f.push(b));for(b=0;b<f.length;b++){var n=f[b];if(n.id.match(d)&&(g.anySize||a.d.ak(n)))return n}}function l(c,n){var g=[c[0]],f=[c[1]],k=c[2],l=c[3]&&[c[3]],u=c[4]&&[c[4]],t=c[5],r=c[6],R=!1,s=!1,v=!1,O=!1,G=!1,w=!1,y=!1,I=!1,z=!1;k&&(a.d.l(k,"checkHiddenStyles")&&(R=!0),a.d.l(k,
"noInitialValidation")&&(s=!0),a.d.l(k,"noLoopValidation"),a.d.l(k,"noCollapseValidation")&&(v=!0),a.d.l(k,"runWithoutExpand")&&(O=!0),a.d.l(k,"collapseUnloads")&&(G=!0),a.d.l(k,"expandUnloads")&&(w=!0),a.d.l(k,"useIsFoundAdKnown")&&(y=!0),a.d.l(k,"setProxyInLoop")&&(I=!0),a.d.l(k,"addExpandTag")&&(z=!0));n.push({isFoundAdKnown:function(b,c,d){if(!y||!b)return!1;if(t&&r){if((b=(b=x[c].ao)&&b[t])&&!a.d.l(r,b))return!1}else if(a.j.a(g,b)[0]){if(O)return q[c]=new h(b,c,d),q[c].collapsedQuery=g,q[c].expandedQuery=
f,q[c].searchableEl=b,q[c].checkHiddenStyles=R,q[c].collapseUnloads=G,q[c].expandUnloads=w,q[c].expandedSelector=l,q[c].collapseProxyEl=u,q[c].collapseUnloads=G,q[c].setProxyInLoop=I,q[c].addExpandTag=z,u&&a.d.bt(u,x[c],b),!0;var n=a.j.a(f,b)[0];if(n&&(s||a.d.al(n)))return q[c]=new h(b,c,d),q[c].collapsedQuery=g,q[c].expandedQuery=f,q[c].searchableEl=b,q[c].checkHiddenStyles=R,q[c].collapseUnloads=G,q[c].expandUnloads=w,q[c].expandedSelector=l,q[c].expandedEl=n,q[c].collapseProxyEl=u,q[c].collapseUnloads=
G,q[c].setProxyInLoop=I,q[c].addExpandTag=z,u&&a.d.bt(u,x[c],b),!0}},onFindAd:function(b,c,d){if(y)return!1;var n=a.j.a(g,b)[0];if(n&&v&&!n[C]||a.d.ak(n)){if(O)return q[c]=new h(n,c,d),q[c].collapsedQuery=g,q[c].expandedQuery=f,q[c].searchableEl=b,q[c].checkHiddenStyles=R,q[c].collapseUnloads=G,q[c].expandUnloads=w,q[c].expandedSelector=l,q[c].collapseProxyEl=u,q[c].collapseUnloads=G,q[c].setProxyInLoop=I,q[c].addExpandTag=z,n;var m=a.j.a(f,b)[0];if(m&&(s||a.d.al(m)))return q[c]=new h(n,c,d),q[c].collapsedQuery=
g,q[c].expandedQuery=f,q[c].searchableEl=b,q[c].checkHiddenStyles=R,q[c].collapseUnloads=G,q[c].expandUnloads=w,q[c].expandedSelector=l,q[c].expandedEl=m,q[c].collapseProxyEl=u,q[c].collapseUnloads=G,q[c].setProxyInLoop=I,q[c].addExpandTag=z,n}},onNewAd:function(f,b){f.collapseProxyEl&&!f.useIsFoundAdKnown&&a.d.bt(f.collapseProxyEl,b,b.aa)},onLoop:function(f){if(f.stopLoop)return!1;var c=!1;if(f.expandUnloads){var g=a.j.a(f.expandedQuery,f.searchableEl)[0];f.expandedEl=g}if(f.expandedEl&&(f.noLoopValidation||
a.d.al(f.expandedEl)))if(f.checkHiddenStyles&&(f.expandedEl.style&&"hidden"===f.expandedEl.style.visibility||"none"===f.expandedEl.style.display))c=!1;else if(f.expandedSelector&&!a.j.a(f.expandedSelector,f.expandedEl)[0])c=!1;else if(c=!0,f.setProxyInLoop&&f.collapseProxyEl&&!x[f.adNum].proxyAds&&a.d.bt(f.collapseProxyEl,x[f.adNum],f.collapsedEl),f.addExpandTag&&f.expandedEl.parentNode&&(g=D&&D.src&&D.src.replace(/moatClientLevel4=[^&]*&/,"moatClientLevel4=Expanded&")))return a.d.bi(g,f.expandedEl.parentNode),
f.addExpandTag=!1,f.stopLoop=!0,!1;c&&!f.expandedIsOpen?e(f.expandedEl,"div",null,f.adNum):!c&&f.expandedIsOpen&&(f.collapseUnloads?(c=a.j.a(f.collapsedQuery,f.searchableEl)[0],b(c,null,null,f.adNum)):d(f,!0))}})}a.p={};a.p.b="bac";var u=/rect\((\d+)px,? ?(\d+)px,? ?(\d+)px,? ?(\d+)px\)/,t=[{onFindAd:function(b,d,g){if((b=a.e.w?a.j.a(["div[id^='ptela_unitWrapper']"],b)[0]:a.j.a(["div[id^='ptelaswfholder']"],b)[0])&&a.d.ak(b))return b}},{collapsedRe:/ftdiv\d+/,expandedRe:/ftin\d+/,clipRe:/rect\((\d+)px,? (\d+)px,? (\d+)px,? (\d+)px\)/,
onFindAd:function(a,b,g){var f=k(a,this.collapsedRe);a=k(a,this.expandedRe);if(f&&a)return q[b]=new h(f,b,g),q[b].expandedEl=a,f},onLoop:function(a){var b=!1,g=a.expandedEl.style.clip,g=g&&g.match(this.clipRe);"0"===(g&&g[4])&&(b=!0);b&&!a.expandedIsOpen?e(a.expandedEl,"div",null,a.adNum):!b&&a.expandedIsOpen&&d(a,!0)}},{re:/(DIV)_(\d{6})_1_(\d{13})/,onFindAd:function(a,b,g){if(a=k(a,this.re))return q[b]=new h(a,b,g),a},findExpanded:function(a){if(a=a.id.match(this.re))for(var b=[a[3],Number(a[3])+
1],g=0;g<b.length;g++){var f=["DIV",a[2],"2",b[g]].join("_");if(f=document.getElementById(f))return f}}},{re:/pr(flsh)([A-Z0-9]+)/,onFindAd:function(b,d,g){if(a.e.w){var f=window.prBnr;if(f&&1===f.nodeType&&a.d.ak(f)){var n=b&&b.innerHTML&&b.innerHTML.match(/pradi([A-Z0-9]+)/);if((n=n&&n[1])&&f.id&&f.id.match(n)&&(b=b.ownerDocument.getElementById("prf"+n)))return q[d]=new h(f,d,g),q[d].uncle=b,f}}},onLoop:function(a){var b=!1,g=a.uncle;g&&g.children&&1===g.children.length&&(g=g.children[0])&&1===
g.children.length&&(a.expandedEl=g,b=!0);b&&!a.expandedIsOpen?e(a.expandedEl,"div",null,a.adNum):!b&&a.expandedIsOpen&&d(a,!0)}},{re:/pradi([A-Z0-9]+)/,onFindAd:function(b,d,g){var f=b&&b.innerHTML&&b.innerHTML.match(this.re);if(f){var n=b.ownerDocument||document;b=n.getElementById("prf"+f[1]);var k;if(b){var l=b.getElementsByTagName("embed"),e=b.getElementsByTagName("object"),u=b.getElementsByTagName("div");l&&l[0]&&a.d.al(l[0])?k=l[0]:e&&e[0]&&a.d.al(e[0])?k=e[0]:u&&0<u.length&&a.d.forEach(u,function(f){f&&
"mal-ad-container"===f.id&&a.d.ak(f)&&(k=f)});!k&&b.children&&1===b.children.length&&(l=b.children[0])&&1===l.children.length&&a.d.ak(l.children[0])&&(k=l.children[0])}k||(f=n.getElementById("prw"+f[1]))&&a.d.ak(f)&&(k=f);if(k)return q[d]=new h(k,d,g),q[d].uncle=b,k}},onNewAd:function(b,d){b&&b.uncle&&a.d.bs(d,b.uncle)}},{re:/VwP(\d+)Div/,onFindAd:function(b,d,g){if(b=k(b,this.re)){var f=b.id.match(this.re);if(f&&(f=document.getElementById("VwP"+f[1]+"Div2"))&&(f=f.getElementsByTagName("div"),3!==
f.length&&1===f.length)){f=f[0];if(a.d.ak(f))return f;q[d]=new h(b,d,g);return b}}},findExpanded:function(b){if((b=b.id.match(this.re))&&(b=(b=document.getElementById("VwP"+b[1]+"Div2").getElementsByTagName("div"))&&b[0])&&a.d.ak(b))return b}}];t.push({onFindAd:function(b,d,g){if(a.j.a(["script[src*='jetpackdigital']"],b)[0]&&(b=a.e.c.document.getElementById("jpsuperheader"))&&a.d.ak(b)){var f=b.getElementsByTagName("object");if(f&&1===f.length&&f[0].id&&f[0].id.match("jp_embed"))return f=f[0],q[d]=
new h(b,d,g),q[d].expandedEl=f,q[d].bgCheck=f&&f.parentNode&&f.parentNode.parentNode,b}},onLoop:function(b){var n=!1;b.bgCheck.className&&b.bgCheck.className.match("background1")&&(n=!0);n&&!b.expandedIsOpen?(e(b.expandedEl,null,null,b.adNum),a.i.a(stage.bgCheck)):!n&&b.expandedIsOpen&&d(b,!0)}});t.push({isFoundAdKnown:function(b,d,g){if(b.className&&b.className.match("jpplatform"))var f=a.e.c.document.getElementById("jp_overlay"),n=!0;else b.parentNode&&b.parentNode.id&&"jpd_expfooter"===b.parentNode.id&&
(f=a.e.c.document.getElementById("jpd_expfooter_overlay"),n=!1);if(f){var k=a.d.getElementsByClassName("jppanel","DIV",f);if(k&&0<k.length)return b=new h(b,d,g),q[d]=b,q[d].overlay=f,q[d].panels=k,q[d].ignoreVideo=n,!0}},onLoop:function(b){var n,g=!1;if(b.overlay&&b.overlay.style&&"-9999px"!==b.overlay.style.top){if(!b.expandedEl||b.expandedEl&&b.expandedEl.style&&"-9999px"===b.expandedEl.style.top)b.ignoreVideo?a.d.forEach(b.panels,function(a){if(a&&a.style&&"-9999px"!==a.style.top&&0===a.getElementsByTagName("video").length)return n=
a,!1}):a.d.forEach(b.panels,function(a){if(a&&a.style&&"-9999px"!==a.style.top)return n=a,!1}),n&&a.d.ak(n)&&(b.expandedEl=n);b.expandedEl&&(g=!0)}g&&!b.expandedIsOpen?e(b.expandedEl,"div",null,b.adNum):!g&&b.expandedIsOpen&&d(b,!0)}});t.push({findCollapsedAd:function(b){if(!b)return!1;if(b=b.getElementById("eyeDiv")){var d,g=/ebAd\d+_contractedpanel_asset_.*/i;if((b=b.getElementsByTagName("object"))&&0<b.length&&(a.d.forEach(b,function(a){if(a&&a.id.match(g))return d=a,!1}),d))return d}return!1},
findExpandedAd:function(b){if(!b)return!1;if(b=b.getElementById("eyeDiv")){var d,g=/ebAd\d+_expandedpanel\d*_asset_.*/i;if((b=b.getElementsByTagName("object"))&&0<b.length&&(a.d.forEach(b,function(a){if(a&&a.id.match(g))return d=a,!1}),d))return d}return!1},isAdExpanded:function(a){return this.findExpandedAd(a)?!0:!1},onFindAd:function(b,d,g){if(!b||!a.j.a(["div#mmBillboardShim"],b)[0])return!1;var f=a.e.c&&a.e.c.document;b=this.findCollapsedAd(f);f=this.findExpandedAd(f);if(b||f){if(b&&!b[C])return g=
new h(b,d,g),q[d]=g,b;if(f&&a.d.ak(f))return g=new h(f,d,g),q[d]=g,f}},afterAdStateCreated:function(b){b.pageDocument=a.e.c.document;b.collapseUnloads=!0},onLoop:function(a){var d=this.isAdExpanded(a.pageDocument);!1===a.expandedIsOpen&&d?(a.expandedEl=this.findExpandedAd(a.pageDocument),e(a.expandedEl,null,null,a.adNum)):a.expandedIsOpen&&0==d&&(a.collapsedEl=this.findCollapsedAd(a.pageDocument),b(a.collapsedEl,null,null,a.adNum))}});t.push({findExpandedAd:function(b){if(!b)return!1;if(b=b.getElementById("eyeDiv")){var d,
g=/ebad\d+_panel\d*_asset_.*/i;if((b=b.getElementsByTagName("object"))&&0<b.length&&(a.d.forEach(b,function(a){if(a&&a.id.match(g))return d=a,!1}),d))return d}return!1},isAdExpanded:function(a){return this.findExpandedAd(a)?!0:!1},isFoundAdKnown:function(b){if(!b)return!1;if(b.id&&b.id.match("ebRichBannerFlash")){b=D&&D.parentNode&&D.parentNode.getElementsByTagName("script");var d=!1;a.d.forEach(b,function(a){if(a&&a.src&&a.src.match("ebExpBanner"))return d=!0,!1});if(d)return!0}},afterAdStateCreated:function(b){b.pageDocument=
a.e.c.document},onLoop:function(a){var b=this.isAdExpanded(a.pageDocument);!1===a.expandedIsOpen&&b?(a.expandedEl=this.findExpandedAd(a.pageDocument),e(a.expandedEl,null,null,a.adNum)):a.expandedIsOpen&&0==b&&d(a,!0)}});t.push({findExpandedAd:function(b){if(b.expandedEl)return b.expandedEl;var d,g,f;if("banner"===b.expandType){g=a.s.a(b.pageDoc.body,a.s.b);for(var n=g.length-1;0<=n;n--)if((f=g[n].contentWindow)&&f.runtimeParams&&f.runtimeParams.placementId&&f.runtimeParams.clientTimestamp&&f.runtimeParams.placementId===
b.celtraId&&f.runtimeParams.clientTimestamp===b.celtraTimestamp&&(d=f.document&&f.document.getElementById("celtra-modal"))&&a.d.ak(d))return b.parentFrame||(b.parentFrame=a.f.d(d)),b.expandedEl=d}else if("video"===b.expandType&&b.adWin&&b.adWin.hasOwnProperty("videoContext")&&b.adWin.videoContext.hasOwnProperty("url")){var k=b.adWin.videoContext.url;g=b.pageDoc.getElementsByTagName("video");a.d.forEach(g,function(a){if(a&&a.src===k)return d=a,!1});if(d&&a.d.ak(d))return b.expandedEl=d}return!1},isAdExpanded:function(b){var d=
this.findExpandedAd(b);return d?(b=b.parentFrame||a.f.d(d))&&b.style&&"none"===b.style.display?!1:!0:!1},isFoundAdKnown:function(b,d,g){if(!b)return!1;if(b.id&&b.id.match("celtra")||b.className&&b.className.match("celtra")){var f=b.ownerDocument&&(b.ownerDocument.defaultView||b.ownerDocument.parentWindow);if(f&&f.hasOwnProperty("ExpandableBanner")&&f.runtimeParams&&f.runtimeParams.hasOwnProperty("placementId")&&f.runtimeParams.hasOwnProperty("clientTimestamp"))return b=new h(b,d,g),q[d]=b,q[d].expandType=
"banner",q[d].pageDoc=a.e.c.document,q[d].celtraId=f.runtimeParams.placementId,q[d].celtraTimestamp=f.runtimeParams.clientTimestamp,!0;if(f&&f.hasOwnProperty("VideoContext"))return b=new h(b,d,g),q[d]=b,q[d].expandType="video",q[d].pageDoc=a.e.c.document,q[d].adWin=f,!0}},onLoop:function(a){var b=this.isAdExpanded(a);b&&!a.expandedIsOpen?e(a.expandedEl,"div",null,a.adNum):!b&&a.expandedIsOpen&&d(a,!0)}});l(["iframe[id^='ebBannerIFrame']",".../body/#eyeDiv/iframe[id^='ebAd'][id*='panel'][id*='iframe']",
["expandUnloads","useIsFoundAdKnown","runWithoutExpand","setProxyInLoop"],!1,".../body/#eyeDiv"],t);l(["[id^='envIpolli'][name^='envIpolli']","[id^='envIpolli'][name^='envIpolli']/$[id|envIpolli(\\d+)]/.../body/iframe[id='expIpolli$0_iframe']",["runWithoutExpand","expandUnloads","noCollapseValidation"]],t);l(["[id^='OriginPlatformAdUnit'][id$='inpage']","$[id|OriginPlatformAdUnit-(\\d+)-inpage]/...../[id='OriginPlatformAdUnit-$0-overthepage']",["expandUnloads","useIsFoundAdKnown","runWithoutExpand"]],
t);var q={};a.p.c=function(a){var b=q[a];b&&(b.collapsedEl=null,b.expandedEl=null,delete q[a])};a.p.d=function(a){return(a=q[a])&&!0===a.expandedIsOpen};a.p.e=function(a){return(a=q[a])&&!0===a.collapseUnloads};a.p.f=function(a,n){a=a.replace(/^on/,"");var g=q[n],f=x[n];if(g){var k=t[g.configIndex];if("mousedown"===a&&k.findExpanded&&!g.expandedIsOpen)r(k,n);else if("mouseover"===a&&k.onMouseOver&&!g.expandedIsOpen)k.onMouseOver(g);else if("loop"===a&&k.onLoop)k.onLoop(g);else if("departed"===a&&
g.expandedIsOpen)d(g);else if("collapseUnloads"===a&&g.expandedIsOpen)b(g.collapsedEl,null,null,n);else if("newad"===a&&k.onNewAd)k.onNewAd(g,f)}};a.p.g=function(a,b){for(var g=0;g<t.length;g++){var f=t[g],d=f.onFindAd&&f.onFindAd(a,b,g);if(d)return q[b]&&f.afterAdStateCreated&&f.afterAdStateCreated(q[b]),Ba=f.name,d}};a.p.h=function(b){if(b!==a.p.b&&b.aa&&b.ao&&!q[g])for(var d=b.aa,g=b.ao.adNum,f=0;f<t.length;f++)if((b=t[f])&&b.isFoundAdKnown&&b.isFoundAdKnown(d,g,f)){q[g]||(d=new h(d,g,f),q[g]=
d);b.afterAdStateCreated&&b.afterAdStateCreated(q[g]);Ba=b.name;break}};a.p.a=function(b){b=b.match(u);var d=!1;b&&(b=a.d.bd(function(a){return parseInt(a,10)},b),d={top:b[1],right:b[2],bottom:b[3],left:b[4]});return d};a.p.i=function(a){return"IMG"===a.tagName&&a.id&&a.id.match(/^pradi[0-9A-Z]+$/)&&a.onload&&"function"===typeof a.onload.toString&&a.onload.toString().match(/shockwave/)}})(s);(function(a){function h(b,f,c,d,n){("remove"===n?a.h.f:a.h.e)(b,f,function(f){f=f||this.event;var d=f.currentTarget||
b;try{var n=d[F]}catch(k){n=d[F]}if(n=x[n]){var l;l=f;var e=d.getBoundingClientRect();l=-1!=l.type.indexOf("touch")?{x:parseInt(l.changedTouches[0].clientX-e.left,10),y:parseInt(l.changedTouches[0].clientY-e.top,10)}:{x:parseInt(l.clientX-e.left,10),y:parseInt(l.clientY-e.top,10)};n.aj=l.x;n.ak=l.y;n.dm||(n.cb=2==a.focus.getFocusMethod()?n.counters.laxDwell.tCur:n.counters.strictDwell.tCur,n.dm=1);c.call(b,f,d,n)}},d)}function r(c,f,n){h(c,"click",q,f,n);h(c,"mousedown",d,f,n);ba?"mlb.com"===a.d.e()?
a.d.v()||a.d.w()||h(c,"touchstart",b,f,n):h(c,"touchstart",b,f,n):(h(c,"mousemove",e,f,n),h(c,"mouseover",u,f,n),h(c,"mouseout",t,f,n))}function e(b,f,d){b=b||window.event;f=b.target||b.srcElement;if(1!=d.ao.skin||!a.o.c(f,d.adContent,b)){if(!ba&&(d.aj!==d.al||d.ak!==d.am)){a.r.d(b,d);a.r.f(b,d);a.r.g(b,d);a.r.i(b,d);a.r.h(b,d);a.r.b(d);a.r.c(d);a.r.e(d);0===d.ar.length&&(d.ai=m(d));if(100>d.ar.length||100>d.as.length||100>d.at.length)d.ar.push(d.aj),d.as.push(d.ak),d.at.push(a.d.o(d));d.al=d.aj;
d.am=d.ak}d.ai!==m(d)&&1<d.ar.length&&c(d,"onMouseMove")}}function d(b,f,c){b=b||window.event;f=b.target||b.srcElement;1==c.ao.skin&&a.o.c(f,c.adContent,b)||(f={e:2},f.q=c.aq[2]++,f.x=c.aj,f.y=c.ak,a.k.b(c,f),a.p.f(b.type,c.zr))}function b(b,f,c){b=b||window.event;f=b.target||b.srcElement;if(1!=c.ao.skin||!a.o.c(f,c.adContent,b)){b={e:23};b.q=c.aq[23]++;b.x=c.aj;b.y=c.ak;f=(new w).getTime();if("undefined"===typeof c.ct)c.ct=f;else{var d=f-c.ct;c.ct=f;c.cu=v.min(c.cu,d)||d}b.bz=void 0;a.k.b(c,b)}}
function n(b,f,c){var d;if(2==b.an||b.hasIframeListener)d=!0;if(d){d=f.e;var n=b.ck;n==a.r.a.f.a&&6===d?(k(b,0),b.cl=a.d.o(b),b.ck=a.r.a.f.b):n==a.r.a.f.b?22===d?(l(b,f),k(b,c),b.cl=a.d.o(b)):7===d&&(1E3<a.d.o(b)-b.cl?(clearTimeout(b.cm),f.e=22,l(b,f),b.cn=0,b.ck=a.r.a.f.a):b.ck=a.r.a.f.c):n==a.r.a.f.c&&(6==d?(1E3<a.d.o(b)-b.cl&&(clearTimeout(b.cm),b.cn=0,b.cl=a.d.o(b),k(b,0)),b.ck=a.r.a.f.b):22==d&&(l(b,f),b.ck=a.r.a.f.a,b.cn=0))}}function k(b,f){var c=5>b.cn?1E3:2*f,d={e:22};b.cm=a.h.h(function(){n(b,
d,c)},c)}function l(b,f){f.q=b.aq[f.e]++;f.m=a.d.o(b);b.cl=f.m;a.k.b(b,f);b.cn++}function u(b,f,c){b=b||window.event;f=b.target||b.srcElement;1==c.ao.skin&&a.o.c(f,c.adContent,b)||(a.r.d(b,c),a.r.f(b,c),a.r.g(b,c),a.r.i(b,c),a.r.h(b,c),n(c,{e:6},0),a.p.f(b.type,c.zr))}function t(b,f,c){b=b||window.event;f=b.target||b.srcElement;1==c.ao.skin&&a.o.c(f,c.adContent,b)||(a.r.d(b,c),a.r.f(b,c),a.r.g(b,c),a.r.i(b,c),a.r.h(b,c),n(c,{e:7},0))}function q(b,f,c){b=b||window.event;f=b.target||b.srcElement;1==
c.ao.skin&&a.o.c(f,c.adContent,b)||(b={e:3},b.q=c.aq[3]++,b.x=c.aj,b.y=c.ak,a.k.b(c,b))}function c(b,f){b.ai=m(b);var c={e:1};c.q=b.aq[1]++;c.x=b.ar.join("a");c.y=b.as.join("a");for(var d=a.d.o(b),n=b.at,k=[],l=0;l<n.length;l++)isNaN(n[l])||k.push(v.abs(n[l]-d));c.c=k.join("a");c.m=d;a.k.b(b,c);b.ar=[];b.as=[];b.at=[]}function m(b){return v.floor(a.d.o(b)/1E3)}a.i={};a.i.a=function(a,b){if(!0===a.isSkin)for(var c=0;c<a.elements.length;c++)r(a.elements[c],a.zr+"-"+c,b);else r(a.aa,a.zr,b)};a.i.b=function(b){for(var f in x)x.hasOwnProperty(f)&&
(b=x[f])&&(a.r.g({type:"scooper"},b),a.r.i({type:"scooper"},b),a.r.h({type:"scooper"},b),1<b.ar.length&&b.ai!==m(b)&&c(b,"scooper"))}})(s);(function(a){a.l={};try{var h=-1<navigator.platform.indexOf("Mac")?102:117}catch(r){h=117}var e="undefined"!==typeof window.devicePixelRatio,d=e&&v.round(1E3*window.devicePixelRatio),b=a.e.a&&e&&"undefined"!==typeof window.innerHeight&&"undefined"!==typeof window.outerHeight&&v.round(window.devicePixelRatio*(a.e.c.outerHeight-a.e.c.innerHeight)),n=function(){var a=
!1;try{a="undefined"!==typeof window.mozInnerScreenX&&"undefined"!==typeof window.screenX}catch(b){}return a}();a.l.b=function(b,d){var n,t,q={isVisible:!1,isFullyVisible:!1,percv:0};try{var c=b.aa.getBoundingClientRect(),m=d||b.WINDOW||a.b.b(b.aa),g=a.e.ae(m),f=a.n.j(c,g),r=m.mozInnerScreenX,A=m.mozInnerScreenY,s=window.screenX,da=window.screenY,V=a.n.j({left:f.left+r,right:f.right+r,top:f.top+A,bottom:f.bottom+A},{left:s,right:s+window.outerWidth,top:da+h/(e?window.devicePixelRatio:1),bottom:da+
window.outerHeight}),R=c.width*c.height;n={area:R,percv:(V.right-V.left)*(V.bottom-V.top)/R};t=a.n.e(n,b)}catch(v){}"undefined"!==typeof n&&"undefined"!==typeof t&&(q.isVisible=n.percv>=t,q.isFullyVisible=.98<=n.percv,q.percv=n.percv,.8<=n.percv&&(q.isDentsuVisible=!0));return q};a.l.a=function(){return n};a.l.c=function(){var a={};a.dl=Number(n);"number"!==typeof d||isNaN(d)||(a.dm=d);"number"!==typeof b||isNaN(b)||(a.dn=b);return a}})(s);(function(a){function h(a){var d=0,k;return function(){var l=
(new w).getTime();150<l-d&&(k=a.apply(this,arguments),d=l);return k}}function r(b,d,k,l){var u=1E4;a.d.aa().isInApp&&(u=500);var h=[],q=0,c=0,m=0,g=0,f=0,r=0,A=0,s=(new w).getTime(),da=!1,V=!1,R=!1,ta=!1,Ca,O,G,x=0,y=0,z=0,C=0,D=!1,E=!1,J=!1,B=0,ia=0,F=0,U=!1,ua=!1,Da=!1,ja=!1,W=!1,$=!1,M=!1,ba=!1,ga=a.e.a,la;if(0===l)var ma="as",na="ag",oa="an",pa="ck",qa="kw",ka="ah",ra="aj",aa="pg",ha="pf",P="gi",H="gf",va="gg",wa="ez",D=!0,sa="dw",xa="ka",ya="kb";else 1===l?(ma="cc",na="bw",oa="bx",pa="ci",qa=
"jz",ka="bu",ra="dj",sa="dx"):2===l?(ma="cg",na="ce",oa="cf",pa="cj",qa="ts",ka="ah",ra="dk",P="gj",H="gb",va="ge",wa="ez",sa="dy",xa="ke",ya="kf"):3===l?(ma="cg",na="ce",oa="cf",pa="cj",qa="ts",ka="ah",ra="dk",P="gi",H="gf",va="gg",wa="ez",sa="dy",xa="ke",ya="kf"):5===l&&(ma="aa",na="ad",oa="cn",pa="co",qa="cp",ka="ah",ra="cq",P="gn",H="gk",va="gl",wa="ez",sa="cr",xa="ew",ya="ex");this.addListener=function(a){h.push(a)};this.hadOTS=function(){return R};this.hadFullOTS=function(){return ta};this.hadFIT=
function(){return 0<c};this.hadVideo2SecOTS=function(){return"undefined"!=typeof M&&M};this.hadDentsuVideoOTS=function(){return ua};this.hadDentsuDisplayOTS=function(){return U};this.getInViewTime=function(){return q};this.visible=function(){return da};this.fullyVisible=function(){return V};this.wasPartiallyInview=function(){return J};this.getFullInviewTimeTotal=function(){return c};this.getMaximumContinuousInViewTime=function(){return v.max(f,r)};this.getMaximumContinuousFullyInViewTime=function(){return v.max(0,
A)};this.update=function(g){var m=q||0,C=c||0,P=B||0,H=!1,K=b(g);K.rect&&(g.elementRect=K.rect);var Y=K.isVisible,ca=K.isFullyVisible,L=K.isDentsuVisible,fa=K.percv&&0<K.percv,S=d(g),Z=(new w).getTime(),N=v.max(v.min(Z-s,u),0);s=Z;var X;X=!k||a.focus.pageIsVisible()||g.video.videoIsFullscreen;g&&g.video?(S=g.video.videoIsFullscreen?!1:S,Y=(Y||g.video.videoIsFullscreen)&&X&&!S,ca=(ca||g.video.videoIsFullscreen)&&X&&!S,fa=(fa||g.video.videoIsFullscreen)&&X&&!S,ja=(L||g.video.videoIsFullscreen)&&X&&
!S):(Y=Y&&X&&!S,ca=ca&&X&&!S,fa=fa&&X&&!S,ja=L&&X&&!S);!J&&fa&&(J=!0);if(Y&&da)q+=N,f+=N;else if(Y||da)L=v.round(N/2),q+=L,f+=L;if(ca&&V)c+=N,A+=N;else if(ca||V)L=v.round(N/2),c+=L,A+=L;if(ja&&Da)B+=N,ia+=N;else if(ja||Da)L=v.round(N/2),B+=N,ia+=N;L=0;if((S=g.video.isPlayingAndAudible())&&W)L=N;else if(S||W)L=v.round(N/2);fa=v.max(B-P,0);L=v.max(v.min(L,fa),0);F=g.ao.duration&&0<g.ao.duration?v.min(g.ao.duration,F+L):F+L;W=S;g.ao.duration&&F&&F>=v.min(.5*g.ao.duration,15E3)&&(ua=!0);0<g.ao.duration&&
(q=v.min(g.ao.duration,q),c=v.min(g.ao.duration,c),B=v.min(g.ao.duration,B),!E&&.5<=c/g.ao.duration&&(H=E=!0));!R&&1E3<=f&&(H=R=!0,this.timeToView=Ca=g.counters.query()[ka],5E3>=Z-g.ao.startTime&&R&&($=!0));!ta&&1E3<=A&&(ta=!0);!M&&f>=a.v.a&&(H=M=!0,O=q,this.timeToView2Sec=g.counters.query()[ka],Z-g.videoAdStartTime<=a.v.b+a.v.c&&(ba=!0));"undefined"===typeof G&&(1E3>=g.counters.query().bu?Y&&(G=!0):G=!1);(g.FOLDMEASURABLE=ga)&&"undefined"===typeof la&&2!==l&&3!==l&&K.elGeo&&(a.d.aa().isInApp&&4===
a.d.ac()?Z=!1:(Z=e().y+K.elGeo.foldTop,L=K.elGeo.threshold*K.elGeo.elHeight,Z=Z>a.q.e()-L),0<K.elGeo.totalArea&&(la=Z,g.BELOWTHEFOLDAD=la));g=K.yMinMax;D&&X&&"undefined"!==typeof g&&K.elGeo&&0<=g.yMax&&0<=g.yMin&&0<K.visibleArea&&(x=v.max(g.yMax,x),y=v.min(g.yMin,y),z=v.min(1,v.max((x-y)/K.elGeo.elHeight,z)));r<f&&(r=f);Y||(f=0);ca||(A=0);da=Y;V=ca;1E3<=ia&&(U=!0);ja||(ia=0);Da=ja;var aa=this;a.d.forEach(h,function(a){var b=K&&K.percv,b="number"===typeof b&&100*b;if(a.onInViewTimeCount)a.onInViewTimeCount(N,
q-m,aa,b);if(a.onFullyInViewTimeCount){var f=v.max(c-C,0);a.onFullyInViewTimeCount(N,f,b)}a.onDentsuInViewTimeCount&&(f=v.max(B-P,0),ua=a.onDentsuInViewTimeCount(N,f,b))});return H};this.getQS=function(a){m>q&&(m=q);g>c&&(g=c);a[ma]=Number(R);a[na]=q;a[oa]=m;if(0===l||2===l||3===l||5===l)ta&&(a[P]=1),a[H]=c,a[va]=g,J&&(a[wa]=1);"undefined"!==typeof O&&(a[pa]=O);"undefined"!==typeof Ca&&(a[qa]=Ca);"undefined"!==typeof G&&(a[ra]=Number(G));if(!0===D){var b=v.round(100*z),f=v.round(100*C);a[aa]=b;a[ha]=
f;C=z}"undefined"!==typeof la&&(a.ib=Number(la));!0===$&&(a[sa]=1);if(0===l||2===l||3===l||5===l)!0===M&&(a[xa]=1),!0===ba&&(a[ya]=1);ua&&(a.nc=1);m=q;g=c}}function e(){var b=a.e.c,d=b.document;return{y:void 0!==b.pageYOffset?b.pageYOffset:(d.documentElement||d.body.parentNode||d.body).scrollTop}}a.q={};var d={};a.q.e=function(){return ba?a.e.ae(a.e.c).height:750};a.q.f=function(){return a.d.y()||a.d.z()?a.e.d():!1};a.q.g=function(){return a.q.f()?a.e.q():!1};a.q.h=function(b){var n=b.zr;d[n]={};
b.viewstats={isBigAd:!1};if(a.n.f()){var k=h(a.n.d),l;l=a.d.v()?new r(k,a.b.e,!1,0):new r(k,a.b.e,!0,0);d[n].strict=l;k=new r(k,a.b.e,!1,1);d[n].lax=k}else!0!==b.isSkin&&a.l&&a.l.a()&&(k=new r(a.l.b,a.b.e,!0,3),d[n].pscope=k);a.a&&a.a.o()&&!d[n].pscope&&(k=new r(a.a.z,a.b.e,!0,2),d[n].pscope=k);k=!1;k=a.e.u;if(a.e.s()||k)k=new r(a.t.a,a.b.e,!0,5),d[n].sframe=k;(a.d.y()||a.d.z())&&(n=a.q.i(b.zr))&&n.addListener({_wasAnyPixelInView:!1,onInViewTimeCount:function(d,n,k){return this._wasAnyPixelInView?
!1:b&&b.video&&b.video.isPlaying()?a.q.g()?(a.b.d(b),this._wasAnyPixelInView=!0,!1):!0:!0}})};a.q.j=function(a,n,k,l){return(a||l)&&n&&k?(a=l||d[a.zr])&&a[n]&&"function"==typeof a[n][k]&&a[n][k]():!1};a.q.d=function(b){var n=d[b.zr],k;a.e.u&&n&&!n.sframe&&(d[b.zr].sframe=new r(a.t.a,a.b.e,!0,5));for(var l in n)n.hasOwnProperty(l)&&n[l].update(b)&&(k=!0);k&&a.b.f(b);a.u.a(b);b.ao&&1==b.ao.skin&&"width"==a.o.a&&a.o.d()};a.q.k=function(b,d,k){"undefined"==typeof k&&(k=!1);var l=0;l=!k&&a.e.ao()?(b=b&&
"undefined"!=typeof b.zr&&a.q&&a.q.l&&a.q.l(b.zr))&&b.lax&&b.lax.getInViewTime()||0:a.q.m(b);return l>=d};a.q.m=function(b){var d=0,k=b&&"undefined"!=typeof b.zr&&a.q&&a.q.l&&a.q.l(b.zr);k&&(a.e.ao()?d=k.strict&&k.strict.getInViewTime()||0:a.e.ap()?d=k.sframe&&k.sframe.getInViewTime()||0:a.e.aq(b)&&(d=k.pscope&&k.pscope.getInViewTime()||0));return d};a.q.n=function(b,d,k){var l=!1;k=k?"hadVideo2SecOTS":"hadOTS";var e=b&&"undefined"!=typeof b.zr&&a.q&&a.q.l&&a.q.l(b.zr);e&&(a.e.ao()?l="lax"===d?e.lax&&
e.lax[k]():e.strict&&e.strict[k]():a.e.ap()?l=e.sframe&&e.sframe[k]():a.e.aq(b)&&(l=e.pscope&&e.pscope[k]()));return l};a.q.a=function(b,d){var k=a.q.l(b.zr);return a.a&&a.a.b&&k&&k.pscope&&k.pscope[d?"hadVideo2SecOTS":"hadOTS"]()};a.q.c=function(b,d){var k=a.q.l(b.zr);return a.a&&a.a.b&&k&&k.pscope&&k.pscope[d?"hadDentsuVideoOTS":"hadDentsuDisplayOTS"]()};a.q.b=function(b,d){var k=a.q&&a.q.l(b.zr);return a.a&&a.a.b&&k&&k.pscope&&k.pscope.getFullInviewTimeTotal()>=d};a.q.o=function(b){var d=0,k=b&&
"undefined"!=typeof b.zr&&a.q&&a.q.l&&a.q.l(b.zr);k&&(a.e.ao()?d=k.strict&&k.strict.getFullInviewTimeTotal()||0:a.e.ap()?d=k.sframe&&k.sframe.getFullInviewTimeTotal()||0:a.e.aq(b)&&(d=k.pscope&&k.pscope.getFullInviewTimeTotal()||0));return d};a.q.p=function(b,d,k){"undefined"==typeof k&&(k=!1);var l=0;l=!k&&a.e.ao()?(b=b&&"undefined"!=typeof b.zr&&a.q&&a.q.l&&a.q.l(b.zr))&&b.lax&&b.lax.getInViewTime()||0:a.q.o(b);return l>=d};a.q.q=function(a){delete d[a]};a.q.l=function(a){return d[a]||{}};a.q.i=
function(a){var n=null;(a=d[a])&&a.strict?n=a.strict:a&&a.sframe?n=a.sframe:a&&a.pscope&&(n=a.pscope);return n};a.q.r=function(a){var n={},k=d[a],l;for(l in k)k.hasOwnProperty(l)&&k[l].getQS(n);(a=x[a])&&a.viewstats&&a.viewstats.isBigAd&&(n.el=1);return n}})(s);(function(a){a.w={};a.w.a=function(a,r){var e;r.outerHTML?e=r.outerHTML:(e=document.createElement("div"),e.appendChild(r.cloneNode(!0)),e=e.innerHTML);e=[/flashvars\s*=\s*(".*?"|'.*?')/i.exec(e),/name\s*=\s*["']flashvars["']\s*value\s*=\s*(".*?"|'.*?')/i.exec(e),
/value\s*=\s*(".*?"|'.*?')\s*name\s*=\s*["']flashvars["']/i.exec(e),a];for(var d,b,n={},k=0;k<e.length;k++){if((d=e[k])&&"object"===typeof d&&d[1])d=d[1].replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/^"/g,"").replace(/"$/g,"").replace(/^'/g,"").replace(/'$/g,"");else if("string"===typeof d)d=d.split("?")[1];else continue;if(d){d=d.split("&");for(var l=0;l<d.length;l++)b=d[l].split("="),2>b.length||"function"==b[0].slice(0,8)||(n[b[0]]=[b[1]])}}return n}})(s);(function(a){function h(b,c,d,
g){t.hasOwnProperty(b)?t[b][c]&&a.d.be(t[b][c])?t[b][c].push(d):t[b][c]=[d]:(t[b]={},t[b][c]=[d],void 0!==g&&!0===g&&(q[b]=new r))}function r(){var b=!1;this.updateAndConditionallySend=function(a){!1===b&&(b=!0,this.sendNotification(a))};this.sendNotification=function(b){var f={e:14};f.q=b.aq[14]++;a.k.b(b,f)};this.getQS=function(a){!0===b&&(a.cv=Number(b))}}function e(a,b){var c=q[b];void 0!==c&&c.updateAndConditionallySend(a)}function d(b,c){var d=a.q&&a.q.l(b.zr),g=a.e.aq(b)&&d&&d.pscope&&d.pscope.hadOTS&&
d.pscope.hadOTS();if("strict"===c)var n=a.e.ao()&&d&&d.strict&&d.strict.hadOTS(),k=(a.e.u||a.e.s())&&d&&d.sframe&&d.sframe.hadOTS&&d.sframe.hadOTS();else"lax"===c&&(n=a.n&&a.n.f()&&d&&d.lax&&d.lax.hadOTS());return a.e.ao()?n:k||g}function b(a){return 500<=(2===a.an?a.be:a.bd)}function n(b,c){try{return a.x.b(b)>c}catch(d){return!1}}function k(a,b){try{return a.counters.laxDwell.tCur>b}catch(c){return!1}}function l(a,c){return b(a)?u(a)>=c:!1}function u(a){return"undefined"!==typeof a.bk&&b(a)?v.min(3E5,
a.bk):0}a.x={};var t={},q={},c=function(a){return a.FOLDMEASURABLE?a.BELOWTHEFOLDAD?!0:!1:!1},m=function(){var b=0;return function(){var c=a.e.c,d=c.document,g=d.body,c=(g.scrollTop||d.documentElement.scrollTop||c.pageYOffset||0)/g.offsetHeight;c>b&&(b=c);return b}}(),g={load:function(a){return!0},load2:function(a){return!0},measurable:function(b){return b&&b.video&&!b.video.started?!1:a.e.ar(b)},"full-measurable":function(b){return b&&b.video&&!b.video.started?!1:a.e.ar(b)},"full-inView":function(b){return a.q.p(b,
1,!0)},nhtReady:function(b){return a&&a.y&&a.y.a},nhtReadyLoaded:function(b){return b&&b.video&&!b.video.started?!1:a&&a.y&&a.y.a},inView100:function(b){return a.q.k(b,1E5,!0)},inView60:function(b){return a.q.k(b,6E4,!0)},inView45:function(b){return a.q.k(b,45E3,!0)},inView40:function(b){return a.q.k(b,4E4,!0)},inView35:function(b){return a.q.k(b,35E3,!0)},inView30:function(b){return a.q.k(b,3E4,!0)},inView25:function(b){return a.q.k(b,25E3,!0)},inView20:function(b){return a.q.k(b,2E4,!0)},inView15:function(b){return a.q.k(b,
15E3,!0)},inView10:function(b){return a.q.k(b,1E4,!0)},inView5:function(b){return a.q.k(b,5E3,!0)},inView3:function(b){return a.q.k(b,3E3,!0)},inView2:function(b){return a.q.k(b,2E3,!0)},inView1:function(b){return a.q.k(b,1E3,!0)},fullInView2:function(b){return a.q.p(b,2E3,!0)},fullInView15:function(b){return a.q.p(b,15E3,!0)},full_inview_05:function(b){return 600<=b.INITIAL_HEIGHT&&a.q.p(b,500,!0)},full_inview_1:function(b){return 600<=b.INITIAL_HEIGHT&&a.q.p(b,1E3,!0)},full_inview_5:function(b){return 600<=
b.INITIAL_HEIGHT&&a.q.p(b,5E3,!0)},full_inview_10:function(b){return 600<=b.INITIAL_HEIGHT&&a.q.p(b,1E4,!0)},fully_inView2:function(b){return a.q.p(b,2E3,!0)},fullViewActive:function(a){return this.active1(a)&&this.full_inview_1(a)},inner_height_1000:function(b){return 1E3<=a.e.ag},inner_height_1200:function(b){return 1200<=a.e.ag},inner_height_1300:function(b){return 1300<=a.e.ag},inner_height_1400:function(b){return 1400<=a.e.ag},inner_height_1000_1400:function(b){return 1E3<=a.e.ag&&1400>=a.e.ag},
inner_height_1100_1400:function(b){return 1100<=a.e.ag&&1400>=a.e.ag},audibleFullVisibleHalfDuration:function(a){return-1<a.ao.duration&&a.video.audibleFullyVisIvt>a.ao.duration/2},groupmAudVisHumanCap15:function(b){if(!(a&&a.y&&a.y.a&&b&&b.video&&b.ao))return!1;var c=!1;"number"==typeof b.ao.duration&&!isNaN(b.ao.duration)&&0<b.ao.duration&&(c=v.min(15E3,b.ao.duration));return c&&b.video.audibleFullyVisIvt>.5*c&&"undefined"===typeof a.y.a.a},scroll_measurable:function(b){return a.e.a},scroll:function(a){return"undefined"!==
typeof y.z},scrollfirst1:function(a){return 1E3<y.z},scrollfirst2:function(a){return 2E3<y.z},scrollfirst3:function(a){return 3E3<y.z},scrollfirst5:function(a){return 5E3<y.z},scroll_interaction:function(a){return this.scroll(a)&&this.interaction(a)},hover:function(a){return a.dm},laxOts:function(a){return d(a,"lax")},strictOts:function(a){return d(a,"strict")},strictVideoOts:function(b){return a.q.n(b,"strict",!0)},interaction_measurable:function(f){return!a.d.u()||b(f)},interaction:function(a){return b(a)},
btf_strictOts:function(a){return d(a,"strict")&&c(a)},btf_interaction:function(a){return b(a)&&c(a)},btf_inView5:function(b){return a.q.k(b,5E3,!0)&&c(b)},btf_inView15:function(b){return a.q.k(b,15E3,!0)&&c(b)},atf_970_728_inview20:function(b){return(970==b.INITIAL_WIDTH||728==b.INITIAL_WIDTH)&&!c(b)&&a.q.k(b,2E4,!0)},atf_300x250_inview20:function(b){return 300==b.INITIAL_WIDTH&&250==b.INITIAL_HEIGHT&&!c(b)&&a.q.k(b,2E4,!0)},atf_300x600_inview20:function(b){return 300==b.INITIAL_WIDTH&&600==b.INITIAL_HEIGHT&&
!c(b)&&a.q.k(b,2E4,!0)},btf_300_inview20:function(b){return 300==b.INITIAL_WIDTH&&c(b)&&a.q.k(b,2E4,!0)},btf_300_inview30:function(b){return 300==b.INITIAL_WIDTH&&c(b)&&a.q.k(b,3E4,!0)},btf_300_inview40:function(b){return 300==b.INITIAL_WIDTH&&c(b)&&a.q.k(b,4E4,!0)},inner_height_1000:function(b){return 1E3<=a.e.ag},contentA:function(a){return this.page5(a)&&.15<m()},contentB:function(a){return this.page10(a)&&.35<m()},contentC:function(a){return this.page15(a)&&.55<m()},activeAny:function(a){return l(a,
10)},active05:function(a){return l(a,500)},active1:function(a){return l(a,1E3)},active2:function(a){return l(a,2E3)},active3:function(a){return l(a,3E3)},active4:function(a){return l(a,4E3)},active5:function(a){return l(a,5E3)},active6:function(a){return l(a,6E3)},active8:function(a){return l(a,8E3)},active10:function(a){return l(a,1E4)},active13:function(a){return l(a,13E3)},active15:function(a){return l(a,15E3)},active20:function(a){return l(a,2E4)},page1:function(a){return n(a,1E3)},page3:function(a){return n(a,
3E3)},page5:function(a){return n(a,5E3)},page10:function(a){return n(a,1E4)},page15:function(a){return n(a,15E3)},page30:function(a){return n(a,3E4)},page45:function(a){return n(a,45E3)},page60:function(a){return n(a,6E4)},notmeasurable1:function(a){return this.page1(a)&&!this.measurable(a)},notmeasurable3:function(a){return this.page3(a)&&!this.measurable(a)},notmeasurable5:function(a){return this.page5(a)&&!this.measurable(a)},notmeasurable10:function(a){return this.page10(a)&&!this.measurable(a)},
strictOtsAndSession5:function(a){return this.strictOts(a)&&k(a,5E3)},inView5AndActive2:function(b){return a.q.k(b,5E3)&&2E3<=b.bg},MoatScoreA:function(a){return k(a,1E4)&&!this.strictOts(a)},MoatScoreB:function(a){return this.strictOts(a)},MoatScoreC:function(b){return a.q.k(b,15E3)},MoatScoreD:function(b){return a.q.k(b,25E3)&&this.scroll(b)},MoatScoreE:function(b){return a.q.k(b,3E4)&&l(b,500)&&this.scroll(b)},inView2AndScrollAndPage10:function(a){return this.inView2(a)&&this.page10(a)&&this.scroll(a)},
page5AndScroll:function(a){return this.page5(a)&&this.scroll(a)},page10AndScroll:function(a){return this.page10(a)&&this.scroll(a)},scroll5Page15:function(a){return this.page15(a)||this.scrollfirst5(a)},click:function(a){return 0<a.aq[2]},moatA:function(a){return k(a,15E3)&&this.inView10(a)},moatB:function(a){return k(a,6E4)&&this.scroll(a)&&this.inView15(a)},moatC:function(a){return k(a,15E4)&&this.scroll(a)&&this.inView20(a)},avoc:function(a){return a.reachedAvoc},quartile1AudVis:function(a){return"3"==
a.video.quartiles.eg},quartile2AudVis:function(a){return"3"==a.video.quartiles.eh},quartile3AudVis:function(a){return"3"==a.video.quartiles.ei},quartile1NotAudVis:function(a){return a.video.quartiles.eg&&"3"!=a.video.quartiles.eg},avocWidth:function(a){a.get_width()&&400<=a.get_width()&&this.avoc(a)},moatVideoA:function(b){return b.get_duration()&&a.q.k(b,.1*b.get_duration(),!0)},everAudibleVisible:function(a){return a.video._everAudibleAndVisible},visNeverAud:function(a){return a.video.reachedComplete&&
a.video._everVisible&&!a.video._everAudible},completeView:function(b){return a.q.n(b,"strict",!0)&&b.video.reachedComplete},moatVideoB:function(b){return b.get_duration()&&this.avoc(b)&&a.q.k(b,.95*b.get_duration(),!0)},moatVideoC:function(b){return b.get_duration()&&this.avoc(b)&&a.q.k(b,.5*b.get_duration(),!0)},moatVideoD:function(b){return b.get_duration()&&this.avoc(b)&&a.q.k(b,.7*b.get_duration(),!0)},moatVideoAWidth:function(a){return a.get_width()&&400<=a.get_width()&&a.get_duration()&&this.moatVideoA(a)},
moatVideoBWidth:function(b){return b.get_width()&&400<=b.get_width()&&b.get_duration()&&this.avoc(b)&&a.q.k(b,.95*b.get_duration(),!0)},moatVideoCWidth:function(b){return b.get_width()&&400<=b.get_width()&&b.get_duration()&&this.avoc(b)&&a.q.k(b,.5*b.get_duration(),!0)},moatVideoDWidth:function(b){return b.get_width()&&400<=b.get_width()&&b.get_duration()&&this.avoc(b)&&a.q.k(b,.7*b.get_duration(),!0)},moatVideoE:function(b){return b.get_duration()&&a.q.k(b,.6*b.get_duration(),!0)}};a.x.a=function(b){var c=
v.min(3E5,a.q.m(b));b=v.min(3E5,a.q.o(b));return{totalInviewTime:c,fullyInviewTime:b}};a.x.b=function(a){return a&&a.counters&&a.counters.strictDwell&&a.counters.strictDwell.tCur?v.min(3E5,a.counters.strictDwell.tCur):!1};a.x.c=function(a){return a&&a.counters&&a.counters.laxPlayTime&&a.counters.laxPlayTime.tCur?v.min(3E5,a.counters.laxPlayTime.tCur):!1};a.x.d=function(c,d){var g=a.x.a(c),n=a.x.e(c),k=a.d.c(),l;c.mindshareOrd?l=c.mindshareOrd:(l=(new w).getTime(),c.mindshareOrd=l);g="m"===d?{m:a.e.ar(c),
bfa:c.FOLDMEASURABLE?c.BELOWTHEFOLDAD?!0:!1:-1,ap:a.x.b(c),c:encodeURIComponent(c.ao.moatClientLevel1),p:encodeURIComponent(c.ao.moatClientSlicer2),a:encodeURIComponent(c.ao.moatClientLevel2),u:c.ao.zMoatUID?encodeURIComponent(c.ao.zMoatUID):"None",d:encodeURIComponent(k),t:d?d:"u",o:l}:{m:a.e.ar(c),i:1E3<=g.totalInviewTime,ti:g.totalInviewTime,ui:b(c),ut:u(c),h:!!c.cb,th:c.cb,bfa:c.FOLDMEASURABLE?c.BELOWTHEFOLDAD?!0:!1:-1,s:a.e.a?!!y.z:-1,ts:a.e.a?y.z:-1,tuv:1E3<=g.totalInviewTime?n:-1,ap:a.x.b(c),
c:encodeURIComponent(c.ao.moatClientLevel1),p:encodeURIComponent(c.ao.moatClientSlicer2),a:encodeURIComponent(c.ao.moatClientLevel2),u:c.ao.zMoatUID?encodeURIComponent(c.ao.zMoatUID):"None",d:encodeURIComponent(k),t:d?d:"u",o:l};n="";k=0;for(prop in g)g.hasOwnProperty(prop)&&(k++,!0===g[prop]?g[prop]="1":!1===g[prop]?g[prop]="0":"undefined"===typeof g[prop]&&(g[prop]=0),n+=(1<k?"&":"")+prop+"="+g[prop]);return n};a.x.f=function(c,d){var g=a.d.c(),n=a.x.g(c),k=a.x.h(c),l=a.x.e(c),e=a.x.a(c);return{m:a.e.ar(c),
iv:1E3<=e.totalInviewTime,tet:e.totalInviewTime,ui:b(c),uit:u(c),h:!!c.cb,th:c.cb,bfa:c.FOLDMEASURABLE?c.BELOWTHEFOLDAD?!0:!1:-1,s:a.e.a?!!y.z:-1,ts:a.e.a?y.z:-1,apd:a.x.b(c),tuv:1E3<=e.totalInviewTime?l:-1,fi:a.q.p(c,1,!0),L1id:k.moatClientLevel1,L2id:k.moatClientLevel2,L3id:k.moatClientLevel3,L4id:k.moatClientLevel4,S1id:k.moatClientSlicer1,S2id:k.moatClientSlicer2,d:encodeURIComponent(g),t:d?d:"unload",ord:n,r:c.RAND}};a.x.i=function(b,c){var d=a.d.c(),g=a.x.g(b),n=a.x.h(b),k=a.x.j(b),l=a.x.a(b);
a.x.k(b,c);var e=b.get_duration();c=a.x.l(b,c);return{m:a.e.ar(b),iv:2E3<=l.totalInviewTime,tuv:2E3<=l.totalInviewTime?k:-1,tet:l.totalInviewTime,fvt:l.fullyInviewTime,h:!!b.cb,th:b.cb,bfa:b.FOLDMEASURABLE?b.BELOWTHEFOLDAD?!0:!1:-1,apd:a.x.b(b),gmv:-1<e&&b.video.audibleFullyVisIvt>e/2,L1id:n.moatClientLevel1||"-",L2id:n.moatClientLevel2||"-",L3id:n.moatClientLevel3||"-",L4id:n.moatClientLevel4||"-",S1id:n.moatClientSlicer1||"-",S2id:n.moatClientSlicer2||"-",d:encodeURIComponent(d),sp:400>n.initWidth,
t:c?c:"unload",ord:g,r:n.rand}};a.x.m=function(b,c){a.d.c();a.x.g(b);a.x.h(b);a.x.e(b);a.x.j(b);a.x.a(b)};a.x.g=function(b){var c;b.Ord?c=b.Ord:(c=a.e.g?a.e.g:(new w).getTime(),b.Ord=c);return c};a.x.h=function(a){return a.ao.origLevels?a.ao.origLevels:a.ao};a.x.e=function(b){b=a.q.l(b.zr);return b.strict&&"undefined"!==typeof b.strict.timeToView?b.strict.timeToView:b.sframe&&"undefined"!==typeof b.sframe.timeToView?b.sframe.timeToView:b.pscope&&"undefined"!==typeof b.pscope.timeToView?b.pscope.timeToView:
-1};a.x.j=function(b){b=a.q.l(b.zr);return b.strict&&"undefined"!==typeof b.strict.timeToView2Sec?b.strict.timeToView2Sec:b.sframe&&"undefined"!==typeof b.sframe.timeToView2Sec?b.sframe.timeToView2Sec:b.pscope&&"undefined"!==typeof b.pscope.timeToView2Sec?b.pscope.timeToView2Sec:-1};a.x.k=function(b,c){var d={},g=["AdVideoFirstQuartile","AdVideoMidpoint","AdVideoThirdQuartile","AdVideoComplete"];c&&a.d.l(g,c)?(d.s=b.video.quartiles[a.v.d[c]],d.v=3===d.s||1===d.s,d.a=3===d.s||2===d.s):(d.v=-1,d.a=
-1);return d};a.x.l=function(a,b){switch(b){case "AdVideoFirstQuartile":b="Q1";break;case "AdVideoMidpoint":b="Q2";break;case "AdVideoThirdQuartile":b="Q3";break;case "AdVideoComplete":b="Q4",a.video.reachedComplete=!0}return b};a.x.n=function(b,c){var d=a.x.h(b),g=[];try{if(a.d.be(c))a.d.forEach(c,function(b){if(a.d.be(b)){var c={};c.src=b[0];c.customQueryParams=b[1]||!1;c.opt=b[2]||!1;c.customKey=d&&d[b[3]]||!1;c.customValues=b[4]||!1;c.customValues?a.d.l(c.customValues,c.customKey)&&g.push(c):
g.push(c)}else"string"===typeof b&&(c={},c.src=b,c.customQueryParams=!1,c.opt=!1,g.push(c))});else if("string"===typeof c){var n={};n.src=c;g.push(n)}}catch(k){}return g};a.x.o=function(a){var b="",c=0;for(prop in a)a.hasOwnProperty(prop)&&(c++,!0===a[prop]?a[prop]="1":!1===a[prop]?a[prop]="0":"undefined"===typeof a[prop]&&(a[prop]=0),b+=(1<c?"&":"")+prop+"="+a[prop]);return b};a.x.p=function(a){var b="",c=0;if(a&&"nosend"!==a)for(prop in a)a.hasOwnProperty(prop)&&(c++,!0===a[prop]?a[prop]="1":!1===
a[prop]?a[prop]="0":"undefined"===typeof a[prop]&&(a[prop]=0),b+=(1<c?"&":"")+prop+"="+a[prop]);else b="nosend";return b};a.x.q=function(a){"number"!=typeof a.aq.NHTDIRECTSEQUENCE?a.aq.NHTDIRECTSEQUENCE=1:a.aq.NHTDIRECTSEQUENCE++;return a.aq.NHTDIRECTSEQUENCE};a.x.r=function(a){"number"!=typeof a.aq.TTPSEQUENCE?a.aq.TTPSEQUENCE=1:a.aq.TTPSEQUENCE++;return a.aq.TTPSEQUENCE};a.x.s=function(b,c,d){var g=a.x.i(b,c),n=a.x.a(b);a.x.e(b);var k=a.x.j(b),l=a.x.m(b,c);d=a.x.o(g);a.x.p(l);a.x.h(b);if(!0===b.ao.zMoatNBRI){var g=
a.d.c(),e,m,l=b.ao.initWidth||b.INITIAL_WIDTH,h=b.ao.initHeight||b.INITIAL_HEIGHT;if(c&&"unload"!==c)e=b.video.quartiles[a.v.d[c]],m=3===e||1===e,e=3===e||2===e;else if(b.video.reachedComplete)return;switch(c){case "AdVideoStart":c="start";break;case "AdVideoFirstQuartile":c="firstQuartile";break;case "AdVideoMidpoint":c="secondQuartile";break;case "AdVideoThirdQuartile":c="thirdQuartile";break;case "AdVideoComplete":c="complete"}g={Measurable:a.e.ar(b),InView:2E3<=n.totalInviewTime,SmallPlayer:400>
l,Width:l,Height:h,Visible:m,Audible:e,TimeUntilInView:2E3<=n.totalInviewTime?k:-1,TotalExposureTime:n.totalInviewTime,Hover:!!b.cb,TimetoHover:b.cb,BelowFoldAd:b.FOLDMEASURABLE?b.BELOWTHEFOLDAD?!0:!1:-1,Domain:encodeURIComponent(g),ActivePageDwell:a.x.b(b),Type:c?c:"unload",Hostile:!a.e.a,Focus:a.focus.pageIsVisible()||b.video.videoIsFullscreen,Gm1:b.get_duration()&&b.video.audibleFullyVisIvt&&.5<b.video.audibleFullyVisIvt/b.get_duration(),Gm2:a.q.p(b,1,!0),Advertiser:b.ao.moatClientLevel1,IO:b.ao.moatClientLevel2,
LineItem:b.ao.moatClientLevel3,Creative:b.ao.moatClientLevel4,Publisher:b.ao.moatClientSlicer1,SitePlacement:b.ao.moatClientSlicer2,AuctionID:b.ao.zMoatAuctionID,BRDomain:b.ao.zMoatBRDomain};c=0;for(prop in g)g.hasOwnProperty(prop)&&(c++,!0===g[prop]?g[prop]="1":!1===g[prop]?g[prop]="0":"undefined"===typeof g[prop]&&(g[prop]=0),d+=(1<c?"&":"")+prop+"="+g[prop]);(c=a.e.protocol+"//mve.btrll.com/Pix-1x1.gif?"+d)&&a.x.t(b,c)}};a.x.t=function(b,c,d,g,n,k){"string"==typeof c?(new a.e.c.Image).src=c:a.d.forEach(c,
function(c){var l=c.src,e=c.opt,m=e&&a.d.l(e,"addCustom")?d+"&"+g:c.customQueryParams?g:d;c=e&&a.d.l(e,"secure")?"https:":a.e.protocol;m&&"nosend"!==m&&(n&&(m=m+"&q="+a.x.r(b)),k?a.y.b(c+l+m,{ga:!0})():a.d.l(e,"dfp")?(e=a.x.g(b),(new a.e.c.Image).src=c+l+"u="+m+";sz=1x1;ord="+e+"?"):(new a.e.c.Image).src=c+l+m)})};a.x.u=function(b,c){h(b,"strictVideoOts",function(b,d){var f=a.e.c,g=f.document.getElementsByTagName("script")[0],f=f.document.createElement("img");f.src=c;g.parentNode.insertBefore(f,g);
b.ocrPixelFired=1})};a.x.v=function(b,c){for(var d=x[b].ao,g=a.d.e(),n="6835534 6835637 6835346 6835131 6835010 6835124 6835650 6835554 6835548 6835119 6835692 6834875 6835572 6835108 6834985 6834981 6835204".split(" "),k=["ie-games.com"],l=!1,e=!1,m=0;m<n.length;m++)n.hasOwnProperty(m)&&d&&d.moatClientSlicer1==n[m]&&(l=!0);for(m=0;m<k.length;m++)k.hasOwnProperty(m)&&g==k[m]&&(e=!0);d=function(b){return function(){a.x.w=!0;(new Image(1,1)).src=a.e.protocol+b}};l||e||(h(b,"avoc",d("//segs.btrll.com/v1/tpix/-/-/-/-/-/sid.6559512")),
h(b,"moatVideoA",d("//segs.btrll.com/v1/tpix/-/-/-/-/-/sid.6559624")),h(b,"moatVideoB",d("//segs.btrll.com/v1/tpix/-/-/-/-/-/sid.6559621")),h(b,"moatVideoD",d("//segs.btrll.com/v1/tpix/-/-/-/-/-/sid.6559622")),h(b,"moatVideoC",d("//segs.btrll.com/v1/tpix/-/-/-/-/-/sid.6559623")),h(b,"avocWidth",d("//segs.btrll.com/v1/tpix/-/-/-/-/-/sid.6561737")),h(b,"moatVideoAWidth",d("//segs.btrll.com/v1/tpix/-/-/-/-/-/sid.6561738")),h(b,"moatVideoBWidth",d("//segs.btrll.com/v1/tpix/-/-/-/-/-/sid.6561739")),h(b,
"moatVideoCWidth",d("//segs.btrll.com/v1/tpix/-/-/-/-/-/sid.6561740")),h(b,"moatVideoDWidth",d("//segs.btrll.com/v1/tpix/-/-/-/-/-/sid.6561741")),h(b,"moatVideoE",d("//segs.btrll.com/v1/tpix/-/-/-/-/-/sid.6561742")));"161097"==c.moatClientLevel4&&h(b,"strictVideoOts",a.e.protocol+"//core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=312777&script=false&redir=http://core.insightexpressai.com/adserver/1pixel.gif");"161102"==c.moatClientLevel4&&h(b,"strictVideoOts",a.e.protocol+"//core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=312777&script=false&redir=http://core.insightexpressai.com/adserver/1pixel.gif");
"161103"==c.moatClientLevel4&&h(b,"strictVideoOts",a.e.protocol+"//core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=312775&script=false&redir=http://core.insightexpressai.com/adserver/1pixel.gif");"161098"==c.moatClientLevel4&&h(b,"strictVideoOts",a.e.protocol+"//core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=312775&script=false&redir=http://core.insightexpressai.com/adserver/1pixel.gif");"161104"==c.moatClientLevel4&&h(b,"strictVideoOts",a.e.protocol+"//core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=312773&script=false&redir=http://core.insightexpressai.com/adserver/1pixel.gif");
"161101"==c.moatClientLevel4&&h(b,"strictVideoOts",a.e.protocol+"//core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=312773&script=false&redir=http://core.insightexpressai.com/adserver/1pixel.gif");"160509"==c.moatClientLevel4&&h(b,"strictVideoOts",a.e.protocol+"//core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=315349&script=false&redir=http://core.insightexpressai.com/adserver/1pixel.gif");"160507"==c.moatClientLevel4&&h(b,"strictVideoOts",a.e.protocol+"//core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=315350&script=false&redir=http://core.insightexpressai.com/adserver/1pixel.gif");
"160470"==c.moatClientLevel4&&h(b,"strictVideoOts",a.e.protocol+"//core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=315347&script=false&redir=http://core.insightexpressai.com/adserver/1pixel.gif");"160472"==c.moatClientLevel4&&h(b,"strictVideoOts",a.e.protocol+"//core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=315348&script=false&redir=http://core.insightexpressai.com/adserver/1pixel.gif");"160511"==c.moatClientLevel4&&h(b,"strictVideoOts",a.e.protocol+"//core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=315345&script=false&redir=http://core.insightexpressai.com/adserver/1pixel.gif");
"160504"==c.moatClientLevel4&&h(b,"strictVideoOts",a.e.protocol+"//core.insightexpressai.com/adServer/adServerESI.aspx?bannerID=315346&script=false&redir=http://core.insightexpressai.com/adserver/1pixel.gif")};a.x.x=function(){for(var b in x)if(x.hasOwnProperty(b)){var c=x[b],d=t[b],n;for(n in d)d.hasOwnProperty(n)&&g[n](c)&&(a.d.forEach(d[n],function(b){var d=typeof b;"string"===d?a.x.y(b,c):"function"===d&&b(c)}),e(c,b),delete d[n])}};a.x.z=function(a){var b={};(a=q[a])&&a.getQS(b);return b};a.x.aa=
function(a,b){if(t.hasOwnProperty(a)&&t[a].hasOwnProperty(b))return!0};a.x.ab=function(a,b){t.hasOwnProperty(a)&&t[a].hasOwnProperty(b)&&delete t[a][b]};a.x.ac=h;a.x.y=function(b,c,d){var g;c.Ord?g=c.Ord:(g=a.e.g?a.e.g:(new w).getTime(),c.Ord=g);(new a.e.c.Image(1,1)).src=d?b:b+"&ord="+g}})(s);(function(a){a.o={};a.o.e={};a.o.a="divs";a.o.e.a||(a.o.a="width",a.o.e.a=function(a){return 1E3});a.o.d=function(){var h=a.e.c,r=a.e.o&&h.document||document,e=r.documentElement,r=r.getElementsByTagName("body")[0];
try{a.o.b=h&&h.innerWidth||e&&e.clientWidth||r&&r.clientWidth}catch(d){}};a.o.c=function(h,r,e){if("divs"==a.o.a){if(h._Mt_wIC)return!0;if(h._Mt_wOC)return!1;var d=e.currentTarget,b=h;for(e=0;1E3>e&&!a.d.l(r,b);e++){if(b==d||null==b)return h._Mt_wOC=!0,!1;b=b.parentElement}return h._Mt_wIC=!0}if("width"==a.o.a){h=r/2;d=a.o.b/2;b=e.clientX;e=e.clientY;var n=a.e.c.scrollY||a.e.c.document.documentElement.scrollTop;return a.o.b>r&&(b>d+h||b<d-h)||90>e+n?!1:!0}if("ad-els"===a.o.a){if(h._Mt_wIC)return!0;
if(h._Mt_wOC)return!1;d=e.currentTarget;b=h;for(e=0;1E3>e;e++){if(a.d.l(r,b))return h._Mt_wOC=!0,!1;if(b==d||null==b)break;b=b.parentElement}return h._Mt_wIC=!0}}})(s);(function(a){function h(b,c,d){if(void 0===d)d=1;else if(5<d)return;var g=a.e.c&&a.e.c.document&&a.e.c.document.head;if(g){b+="&callback="+a.e.h+"."+c;var f=document.createElement("script");g.insertBefore(f,g.firstChild);a.y.aq.push(f);f.src=b}else a.h.h(function(){h(b,c,d+1)},200)}a.y={};a.y.c=1;a.y.d=!1;a.y.e=[];a.y.f=[];var r=function(a){for(var b=
[],c=0,d=a.length;c<d;c++)b.push(new RegExp(a[c]));return b}(".*(Silk).*;.*(Kindle).*;.*(Opera) Mini.*;.*(OPR)/[0-9]+.*;.*(AOLBuild).*;.*(Chrome).*;.*(CriOS).*;.*(PlayBook).*;.*(Android).*;.*(BlackBerry).*;.*(BB10).*;.*(Safari).*;.*(Opera).*;.*(IEMobile).*;.*(Trident)/[0-9.]*.*rv:[0-9.]*.*;.*(MSIE).*;.*(Firefox).*;.*(NetNewsWire).*;.*FBAN/(FBForIPhone).*;.*(Moozilla).*;.* (Mobile)/[0-9A-Z]+.*".split(";"));a.y.g=function(a){a=a||navigator.userAgent||"";a:{for(var b=0,c=r.length;b<c;b++){var d=r[b].exec(a);
if(d){a=d[1];break a}}a="-"}a={CriOS:"Chrome",AOLBuild:"MSIE",Trident:"MSIE",Mobile:"InAppContent",BB10:"BlackBerry",PlayBook:"BlackBerryPlaybook",NetNewsWire:"RSSreader",OPR:"Opera"}[a]||a;var b={msie:"MSIE",chrome:"Chrome",firefox:"Firefox",opera:"Opera",safari:"Safari"},c={iphone:"iPhone",kindle:"Kindle",ipad:"iPad",ipod:"iPod",android:"Android",blackberry:"BlackBerry"},g;for(g in c)if(c.hasOwnProperty(g)&&(d=new RegExp(g,"i"),d.test(a)))return c[g];for(var f in b)if(b.hasOwnProperty(f)&&(d=new RegExp(f,
"i"),d.test(a)))return b[f];return!1};a.y.h=function(){var b=document&&document.documentElement&&document.documentElement.style||{},c=!!window.opera,d="undefined"!==typeof InstallTrigger||"MozAppearance"in b,g=0<Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor"),f=!!window.chrome&&!!window.chrome.webstore,n=!+"\v1"||!!document.documentMode||!!window.ActiveXObject||"-ms-scroll-limit"in b&&"-ms-ime-align"in b,l={Chrome:f,Firefox:d,Opera:c,Safari:g,MSIE:n};a.y.i=[!0===!!window.opera?
1:0,"undefined"!==typeof InstallTrigger===!0?1:0,!0===!!window.sidebar?1:0,!0==="MozAppearance"in b?1:0,!0===0<Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")?1:0,!0===!!window.chrome?1:0,!0===!(!window.chrome||!window.chrome.webstore)?1:0,!0===!+"\v1"?1:0,!0===!!document.documentMode?1:0,!0===!!window.ActiveXObject?1:0,!0==="-ms-scroll-limit"in b?1:0,!0==="-ms-ime-align"in b?1:0];a.y.j=[!0===f?1:0,!0===d?1:0,!0===c?1:0,!0===g?1:0,!0===n?1:0];for(k in l)if(l.hasOwnProperty(k)&&
l[k])return k;return!1};a.y.k=a.y.g();a.y.l=a.y.h();var e=["Chrome","Firefox","Opera","Safari","MSIE"];a.y.m=a.d.indexOf(e,a.y.l);a.y.n=a.d.indexOf(e,a.y.k);a.y.o=a.y.k&&a.y.l&&0<=a.y.n&&a.y.k!=a.y.l;var d=[[1,25],[7,1],[1,25],[-74,1],[1,9],[-24,1],[2,1],[1,3],[2,1],[1,4],[2,1],[1,1],[11,1],[1,6],[27,1],[2,1],[1,3],[27,1],[1,3],[-92,1]],b=65,n="",k=0,l=function(a){for(var b="",c=0;c<a.length;c++)var d=a.charCodeAt(c)^85,b=b+String.fromCharCode(d);a=b;for(var b="",g=d=c=0,f=0,k=0,l=0;l<a.length;++l)for(k=
a.charCodeAt(l),f=255<k?0:1;2>f;++f)c=0===f?c|(k&65280)/256<<d:c|(k&255)<<d,d+=8,13<d&&(g=c&8191,88<g?(c>>=13,d-=13):(g=c&16383,c>>=14,d-=14),b+=n.charAt(g%91),b+=n.charAt(g/91|0));0<d&&(b+=n.charAt(c%91),7<d||90<c)&&(b+=n.charAt(c/91|0));return b};a.y.p=l;e=function(b,c){var d=[];a.d.forEach(b,function(a,b){if(a&&"string"===typeof(c?a[c]:a)){var g=(c?a[c]:a).split("&").join("%26").split("=").join("%3D");d.push(("number"===typeof b?"":b+"=")+g)}},null,!0);d.sort();return d.join("&")};for(k=0;k<d.length;k++)for(var u=
0;u<d[k][1];u++)n+=String.fromCharCode(b),b+=d[k][0];var n=n+String.fromCharCode(b),u=function(a){for(var b="",c=0;c<a.length;c++)a.hasOwnProperty(c)&&(b+=n[a[c]]);return b},b=u([48,30,27,29,43,34,47,30,43]),t=u([30,47,26,37,46,26,45,30]),q=u([43,30,44,41,40,39,44,30]),c=[b,t].join("-"),m=[c,q].join("-");u([38,40,46,44,30,38,40,47,30]);var b=u([84,41,33,26,39,45,40,38]),u=u([28,26,37,37,15,33,26,39,45,40,38]),t=a.e.c,d=t.document,q=d.body,g=t.navigator;a.y.q=a.e.aa;a.y.r=a.e.ab;a.y.s=a.e.ac;a.y.t=
a.e.ad;try{a.y.u=t.innerWidth||d.documentElement.clientWidth||q.clientWidth,a.y.v=t.innerHeight||d.documentElement.clientHeight||q.clientHeight,a.y.w=t.outerWidth||q.offsetWidth,a.y.x=t.outerHeight||q.offsetHeight,a.y.y=t.screenX||t.screenLeft||t.screenX,a.y.z=t.screenY||t.screenTop||t.screenY}catch(f){}try{a.y.aa=l(e(g)),a.y.ab=l(e(g.plugins,"name"))}catch(s){}a.y.ac=(new w).getTimezoneOffset();a.y.j=a.y.j.join("");a.y.i=a.y.i.join("");a.y.ad=0;a.y.ae=!0===("undefined"!=typeof t[b]||"undefined"!=
typeof t[u])?1:0;a.y.af=0;a.y.ag=0;a.y.ah=function(b){var c={};c.ud=a.y.m;c.up=a.y.n;if(void 0===b||!1===b)c.qa=a.y.s,c.qb=a.y.t,c.qc=a.y.y,c.qd=a.y.z,c.qf=a.y.u,c.qe=a.y.v,c.qh=a.y.w,c.qg=a.y.x,c.qi=a.y.q,c.qj=a.y.r,c.qk=a.y.ag,c.ql=a.y.ab,c.qo=a.y.af;c.qm=a.y.ac;c.qn=a.y.aa;c.qp=a.y.j;c.qq=a.y.i;c.qr=a.y.ad;c.qt=a.y.ae;return c};var A=function(b){var c=d.getElementById("moatCap");if(!c||!c.gc&&(c=d.getElementById("moatCapEmbed"),!c||!c.gc))return!1;a.y.ag=l(unescape(c.gc()));var g=a.y.ah();b=a.k.a(35,
b,g,!1,!0).res;if(!b.shouldSendPixel)return!0;c.sm({fld:"pixel.moatads.com",qs:b.querystring});return!0};a.y.ai=function(b,c){var d=a.y.ah(),d="//bk6521.moatads.com/pixel.gif?"+a.k.a(c,b,d,!1,!0).res.querystring+"&qu=$_BK_UUID",d="//tags.bluekai.com/site/25856?redir="+encodeURIComponent(d);(new Image).src=d};a.y.aj=function(){};var x="nu ib dc ob oh lt ab n nm".split(" ");a.y.ak=function(b,c){c.ga?a.d.forEach(x,function(c,d){b=c in a.y.a?b+("&"+c+"=1"):b+("&"+c+"=0")}):c.APPEND_MANUAL&&a.d.forEach(x,
function(d,g){a.d.l(c.APPEND_MANUAL,d)&&(b=d in a.y.a?b+("&"+d+"=1"):b+("&"+d+"=0"))});c.gb?0==a.y.al&&((new a.e.c.Image).src=b):c.gc?1==a.y.al&&((new a.e.c.Image).src=b):(new a.e.c.Image).src=b};a.y.am=function(b,c){b(a.y.al)};a.y.b=function(b,c){return function(){if(void 0===a.y.al)return a.y.e.push({pixel:b,opts:c});a.y.ak(b,c)}};a.y.an=function(b,c){if(void 0===a.y.al)return a.y.f.push({callback:b,opts:c});a.y.am(b,c)};a.y.ao=function(){for(var b=0;b<a.y.f.length;b++)if(a.y.f.hasOwnProperty(b)){var c=
a.y.f[b];a.y.am(c.callback,c.opts)}};a.y.ap=function(){for(var b=0;b<a.y.e.length;b++)if(a.y.e.hasOwnProperty(b)){var c=a.y.e[b];a.y.ak(c.pixel,c.opts)}};a.y.aq=[];a.y.ar=function(b){var c=a.y.ah(!0);dataForNHT="//geo.moatads.com/n.js?"+a.k.a(35,b,c,!1,!0).res.querystring;h(dataForNHT,a.y.as)};a.y.at=function(b){y?(a.y.as="gna"+v.floor(1E6*v.random()),y[a.y.as]=function(b){a.y.au=new w-a.y.av;a.y.al="n"in b?1:0;a.y.a=b;a.y.ap();a.y.ao();y[a.y.as]=null},a.y.av=new w,a.h.h(function(){a.y.aw=new w-a.y.av},
0),a.y.ar(b)):a.h.h(a.y.at,200)};a.y.ax=function(b){if(1/a.y.c<v.random())return!1;var c=a.y.ah();a.v&&a.v.e&&a.v.e.imaSDK?b.moatClientLevel3&&a.k.a(34,b,c):a.k.a(34,b,c);return!0};a.y.ay=function(b){if(!0!==a.y.az&&(a.y.az=!0,a.y.ax(b))){try{a.d.ba("afs.moatads.com")}catch(g){}var f=function(){var c={};c.qr=a.y.ad;c.qo=a.y.af;a.k.a(36,b,c)};a.h.e(d,c,function(b){a.h.f(d,c,null,"mswe");a.y.ad=1;f()},"mswe");a.h.e(d,m,function(b){a.h.f(d,m,null,"mswer");a.y.ad=1;f()},"mswer");a.h.a(function(){return A(b)},
10,200)}};a.y.ba=function(){if(a.y.aq){for(var b=0,c=a.y.aq.length;b<c;b++)try{a.y.aq[b].parentNode&&a.y.aq[b].parentNode.removeChild(a.y.aq[b])}catch(d){}a.y.aq=null}};a.y.bb=function(){a.h.f(d,c,null,"mswe");a.h.f(d,m,null,"mswer");a.y.ba()}})(s);(function(a){function h(b){var d={window:0,transparent:1,opaque:2,direct:3,gpu:4};if("EMBED"===b.tagName)var k=a.d.getAttribute(b,"wmode");else if("OBJECT"===b.tagName){b=b.getElementsByTagName("param");for(var l=0;l<b.length;l++){var e=b[l],h=a.d.getAttribute(e,
"name"),e=a.d.getAttribute(e,"value");if("wmode"===h){k=e;break}}}return k&&d[k.toLowerCase()]||5}function r(b){try{if(!b)return!1;var d=b,k;if("DIV"===d.tagName||"A"===d.tagName)(d=b.getElementsByTagName("EMBED")[0])||(d=b.getElementsByTagName("OBJECT")[0]),d||(d=b.getElementsByTagName("IMG")[0]),d||(d=b);1===d.nodeType&&"IMG"!==d.nodeName&&"EMBED"!==d.nodeName&&"OBJECT"!==d.nodeName&&(d=b.getElementsByTagName("EMBED")[0]||b.getElementsByTagName("OBJECT")[0]||b.getElementsByTagName("IMG")[0]||b);
if("OBJECT"===d.tagName){for(var l=0;l<d.children.length;l++)if("movie"===d.children[l].name||"Movie"===d.children[l].name)k=d.children[l].value;d.object&&d.object.Movie?k=d.object.Movie:d.data&&-1!==d.data.indexOf("swf")&&(k=d.data)}"EMBED"!==d.tagName&&"IMG"!==d.tagName||!d.src||(k=d.src);k||(k=a.d.r(d));var e=a.w.a(k,d);if(!k)for(var h=a.z.a.a,d=0;d<h.length;d++){var q=h[d](b);q&&(k=q)}return{adURL:k,flashVars:e}}catch(c){return!1}}function e(b){var n=b.el,k=b.url,l=b.flashVars,e=b.adIds,t=b.opt_props;
this.adContent=b.adContent;(new w).getTime();this.ao=e;this.FIND_AD_TRIES=e.numTries||0;var q=r(n);if(q&&q.adURL&&l)for(p in q.flashVars)q.flashVars.hasOwnProperty(p)&&(l[p]=q.flashVars[p]);q&&q.flashVars&&(l=q.flashVars);if("string"!==typeof k||"div"===k.toLowerCase()||"a"===k.toLowerCase())k=q&&q.adURL||"-";k&&0!==k.toLowerCase().indexOf("http:")&&0!==k.toLowerCase().indexOf("https:")&&("//"===k.substring(0,2)?k=window.location.protocol+k:"/"===k[0]?k=window.location.protocol+"//"+window.location.host+
k:(q=window.location.pathname.split("/").slice(0,-1).join("/"),k=window.location.protocol+"//"+window.location.host+"/"+q+(q?"/":"")+k));"IFRAME"!==n.tagName&&"IMG"!==n.tagName&&-1===k.indexOf("googlesyndication")&&(k=k.split("?")[0]);this.zr=e.adNum;x[this.zr]=this;a.z.d(this.zr,[n]);this.ae=k;this.aa=n;this.WINDOW=a.b.b(this.aa);"undefined"===typeof this._calcVideoBasedOnContainer&&(this._calcVideoBasedOnContainer="EMBED"===n.nodeName&&n.parentNode&&"OBJECT"===n.parentNode.nodeName&&0==n.offsetWidth&&
0==n.offsetHeight?!0:!1);this._calcVideoBasedOnContainer?(this.INITIAL_WIDTH=n.parentNode.offsetWidth,this.INITIAL_HEIGHT=n.parentNode.offsetHeight):(this.INITIAL_WIDTH=n.offsetWidth,this.INITIAL_HEIGHT=n.offsetHeight);"undefined"===typeof l&&(l={});y.i[ga]=!0;this.eg=[];this.ee={};t&&t.IS_PAGE_LEVEL||(this.ed={},a.a.w(this));a.v.f(this);this.get_duration=function(){return"number"==typeof e.duration&&!isNaN(e.duration)&&0<e.duration&&e.duration};this.get_width=function(){return e.initWidth?e.initWidth:
this.INITIAL_WIDTH?this.INITIAL_WIDTH:!1};a.b.g(this);a.x.v(this.zr,this.ao);this.ag=l;this.ah=void 0;this.ai=0;this.an=this.am=this.al=this.ak=this.aj=void 0;this.ar=[];this.as=[];this.at=[];this.av=this.au=a.r.a.a.a;this.ax=a.r.a.b.a;this.ay=a.r.a.c.a;this.ba=this.az=a.r.a.d.a;this.bb=a.r.a.e.a;this.by=this.bx=this.bw=this.bv=this.bu=this.bt=this.bs=this.br=this.bq=this.bp=this.bo=this.bm=this.bl=this.bk=this.bi=this.bh=this.bg=this.bf=this.be=this.bd=this.bc=void 0;this.ca=this.bz=!1;this.cb=this.cu=
this.ct=void 0;this.cc=+new w+12E4;this.BEACON_LAST_SENT_AT=+new w;this.cl=this.cm=void 0;this.cn=0;this.ck=a.r.a.f.a;this.cd=!1;this.cy=void 0;this.dt=!1;this.db=void 0;this.cf=this.ce=!1;this.af=Number(this.ef);this.eq=!1;this.ds=this.ch=this.dr=this.cg=0;this.dq=this.bn=void 0;this.IR5={MIN:{x:void 0,y:void 0},MAX:{x:void 0,y:void 0},AREA:0};this.dm=0;this.ep=this.dd=!1;this.aq={};this.aq.g=0;this.aq[1]=0;this.aq[2]=0;this.aq[3]=0;this.aq[13]=0;this.aq[0]=0;this.aq[4]=0;this.aq[5]=0;this.aq[6]=
0;this.aq[7]=0;this.aq[9]=0;this.aq[8]=0;this.aq[15]=0;this.aq[16]=0;this.aq[21]=0;this.aq[22]=0;this.aq[23]=0;this.aq[37]=0;this.INVIEW_TIME_THRESHHOLDS=[5,10,15,30,60];this.DWELL_TIME_THRESHHOLDS=[5,10,15,30,60];this.aq[28]=0;this.aq[33]=0;this.aq[29]=0;this.aq[14]=0;this.an=b.adType||b.opt_props&&b.opt_props.adType||d(n);0===this.an&&(this.WMODE=h(n));b=a.d.s(this.aa,2);var c;b&&0<b.length&&(a.d.forEach(b,function(a){if(a&&a.style&&a.style.clip)return c=a,!1}),!c&&this.aa.style&&this.aa.style.clip&&
(c=this.aa),c&&(this.aa.CLIPCHECKINGTARGET=c));a.v.g(this)}function d(a){return"IFRAME"===a.tagName?2:"IMG"===a.tagName?1:"EMBED"===a.tagName||"OBJECT"===a.tagName?0:3}a.z={};a.z.a={};a.z.b=function(b,n,k,l,u,t,q){t||a.y.ay(u);var c;c=1==arguments.length?arguments[0]:{el:b,url:n,flashVars:l,adIds:u,opt_props:q};if(a.o.e.a&&1==u.skin){var m;m=a.o.e.a(b);c.adContent=m}if(t){if("function"===typeof t)return t(b,n,l,u);new w;t.em=!0;x[t.zr]=t;b[F]=t.zr;b[C]=!0;t.aa=b;t.INITIAL_WIDTH=b.offsetWidth;t.INITIAL_HEIGHT=
b.offsetHeight;t.ae=n;t.an=d(b);0===t.an&&(t.WMODE=h(b));t.ag=l||{};a.i.a(t);c={e:0};c.q=t.aq[0]++;a.k.b(t,c);q&&q.IS_PAGE_LEVEL||(t.periscopeManager&&t.periscopeManager.killAllPixels(),t.periscopeConfig=!1,a.a.w(t));return t}return new e(c)};a.z.c=function(b){b.de=b.ao.startTime;b.RAND=b.ao.rand;(new w).getTime();b.dd=!0;a.q.h(b);var d=a.q.i(b.zr);d&&d.addListener(b.video);a.aa.a(b);a.e.a||a.ab.a.a();a.q.d(b);d={e:0};d.q=b.aq[0]++;a.k.b(b,d);b._calcVideoBasedOnContainer?(d={aa:b.aa.parentNode,zr:b.zr},
b.aa.parentNode[F]=b.zr,a.i.a(d)):a.i.a(b);a.p.f("newad",b.zr);b.aa.parentNode&&"swiffycontainer"===b.aa.parentNode.id&&a.d.bt(["..../../iframe ~ #clicktag"],b,b.aa.parentNode)};a.z.a.a=[];a.z.e=function(b){var d=+new w,k=d-b.BEACON_LAST_SENT_AT;if(0<b.DWELL_TIME_THRESHHOLDS.length){var l=1E3*b.DWELL_TIME_THRESHHOLDS[0];if(b.counters.laxDwell.tCur>=l){b.DWELL_TIME_THRESHHOLDS.shift();var e=b.INVIEW_TIME_THRESHHOLDS.length?b.INVIEW_TIME_THRESHHOLDS[0]:60;if(l<e)return!1;if(5E3<k)return!0}}return 0<
b.INVIEW_TIME_THRESHHOLDS.length&&(e=1E3*b.INVIEW_TIME_THRESHHOLDS[0],a.q.k(b,e))?(b.INVIEW_TIME_THRESHHOLDS.shift(),!0):0===b.DWELL_TIME_THRESHHOLDS.length&&d>b.cc?(b.cc*=2,!0):!1};a.z.d=function(a,d){for(var k=0;k<d.length;k++){var l=d[k];l[F]=a;l[C]=!0}}})(s);(function(a){function h(a){var d=[];if("string"!==typeof a)return!1;var e;e=4>a.length?!1:".../"===a.substring(a.length-4);if(e)return!1;for(;a;){if(b(a,".../"))e=".../";else if(b(a,"...../"))e="...../";else if(b(a,"../")||b(a,"..../")){e=
b(a,"../")?"../":"..../";for(var h=e.length;b(a.substring(h),e);)h+=e.length;e=a.substring(0,h)}else b(a,"=>/")?e="=>/":b(a,"-/")?e="-/":(b(a,"$[")?(e=a.length,h=n(a,"]/")+2):(e=a.length,h=n(a,"/")+1),e=a.substring(0,v.min(e,h)));if(("../"===e||".../"===e)&&".../"===(d.length&&d[d.length-1])||".../"===e&&"../"===(d.length&&d[d.length-1]))return!1;if(a=a.substring(e.length)){if("/"!==e.substring(e.length-1))return!1;b(e,"../")||b(e,".../")||b(e,"..../")||b(e,"...../")||b(e,"=>/")||b(e,"-/")||b(e,"$[")||
(e=e.substring(0,e.length-1))}d.push(e)}return d}function r(b){if(!b)return!1;if(!a.e.l||10<a.d.j()||b.querySelectorAll&&b.querySelector&&(!b.MoatQSShimSet||b[d]))return!0;b.querySelector=function(a){a=this.querySelectorAll(a);return a.length?a[0]:null};b.querySelectorAll=function(a){var b=[],d=this.ownerDocument||document,n=d.createElement("style");(d=d.getElementsByTagName("head")[0])&&d.appendChild&&d.appendChild(n);n&&n.styleSheet&&(n.styleSheet.cssText=a+"{shimtest:bar}");a=this.getElementsByTagName("*");
for(var d=a.length,c=0;c<d;c++)a[c].currentStyle&&"bar"===a[c].currentStyle.shimtest&&(b[b.length]=a[c]);n.parentNode.removeChild(n);return b};b.MoatQSShimSet=!0;return b[d]=!0}function e(d,n){var e=function(b,c){if(!b||!c)return!1;if(b.matches)return b.matches(c);if(!r(b.parentNode))return!1;var d=b.parentNode.querySelectorAll(c);if(!d||!d.length)return!1;var g=!1;a.d.forEach(d,function(a){a===b&&(g=!0);return!g});return g},t=h(d);if(!t)return!1;for(var q=n,c=0,m=[],g=function(b){return b&&a.f.a(b)},
f=function(a){return a&&a.parentElement},s=function(b){return b?(b=a.f.b(b))&&b.body:!1},A=function(a,b,c){return a?(a=a.getAttribute(b))&&(c=(new RegExp(c)).exec(a))&&c.length&&0<c.length?c[c.length-1]:!1:!1},v=0;v<t.length&&100>c;v++){var w=t[v];if(b(w,"../")||b(w,"..../")){var x,y;b(w,"../")?(x="../",y=f):(x="..../",y=g);if(0!==w.length%x.length)return!1;for(var z=0;z<w.length/x.length;z++){if(!q||"HTML"===q.nodeName)return!1;q=y(q);c++}}else if(".../"===w)for(;100>c;){if(q&&e(q,t[v+1])){v++;break}if(!q||
"HTML"===q.nodeName)return!1;q=q.parentElement;c++}else if("...../"===w){q=a.e.c&&a.e.c.document&&a.e.c.document.body;if(!q)return!1;c++}else if("=>/"===w){q=s(q);if(!q)return!1;c++}else if("-/"===w){q=a.d.previousElementSibling(q);if(!q)return!1;c++}else if(b(w,"$["))if(w=(z=(w=w.substring(2,w.length-2))&&w.split("|"))&&z[0],z=z&&z[1],w&&z)if(w=A(q,w,z))m.push(w),c++;else return!1;else return!1;else{if(m&&0<m.length)for(x=m.length,z=0;z<x;z++)w=w.replace("$"+z,m[z]);if(!e(q,w)){if(!r(q))return!1;
q=q.querySelectorAll(w);if(!q||1!==q.length)return!1;q=q[0]}}}return q}a.j={};var d="MoatQSShimOrd_BROLLNETWORK1_"+a.e.g,b=function(a,b){return 0===a.indexOf(b)&&b},n=function(a,b){var d=a.indexOf(b);return 0>d?a.length+1:d};a.j.a=function(b,d){var n=[];a.d.forEach(b,function(a){(a=e(a,d))&&n.push(a)});return n}})(s);(function(a){function h(b,d,e,l,h){var r;a.d.forEach(b.childNodes,function(a){if(1===a.nodeType&&"celtra-ad-v3"===a.className)return r=a,!1});b=h.getElementById("celtra-banner");
if(r&&b&&(d=a.z.b(b,b.nodeName,!1,void 0,d,e)))return d}function r(b,d,e){if((b=a.d.getElementsByClassName("originplatform-ad","SCRIPT",b)[0])&&b.id&&(b=b.id.match(/embed_origin_(\d+)/))&&b[1]&&(b="OriginPlatformAdUnit-"+b[1]+"-inpage",b=document.getElementById(b)||a.e.o&&a.e.c.document.getElementById(b))&&(d=a.z.b(b,b.nodeName,!1,void 0,d,e)))return d}function e(b,d,e,l){l=l||function(){return!0};if(!b)return!1;var h=a.d.j(),r=null!==h&&11>h;if(!r)for(var q=b.getElementsByTagName("embed"),h=0;h<
q.length;h++){var c=q[h];if(!0!==c[C]&&-1===c.id.indexOf("moatPx")&&a.d.ak(c)&&c.getAttribute("src")&&l(c)){var m=c.getAttribute("src");l=a.w.a(m,c);return a.z.b(c,m,!1,l,d,e)}}for(var g=b.getElementsByTagName("object"),h=0;h<g.length;h++)if(q=g[h],a.d.ak(q)&&l(q)&&("undefined"===typeof q[C]||!0!==q[C])&&-1==q.id.indexOf("moatPx")){for(var f=0;f<q.children.length;f++)if("movie"===q.children[f].name||"Movie"===q.children[f].name)if(m=q.children[f].value,!m||!m.match("scorecardresearch"))for(var s=
0;s<q.children.length;s++){if(!r&&"EMBED"===q.children[s].tagName){c=q.children[s];if("undefined"!==typeof c[C]&&!0===c[C]||-1!=c.id.indexOf("moatPx"))continue;if(a.d.ak(c)&&l(c))return l=a.w.a(m,c),a.z.b(c,m,!1,l,d,e)}if("OBJECT"===q.children[s].tagName&&(c=q.children[s],a.d.ak(c)&&!0!==c[C]&&-1===c.id.indexOf("moatPx")&&l(c)))return a.z.b(c,void 0,!1,void 0,d,e)}q.object&&q.object.Movie?m=q.object.Movie:q.data&&(m=q.data);if(!m||!m.match("scorecardresearch"))return l=a.w.a(m,q),a.z.b(q,m,!1,l,d,
e)}if(h=a.s.l(b,d,e,l))return h;m=b.getElementsByTagName("img");for(h=0;h<m.length;h++)if(r=m[h],"undefined"===typeof r[C]||!0!==r[C]){if(a.d.ak(r)&&""!==r.src&&-1===document.location.href.indexOf(r.src)&&l(r))return a.z.b(r,r.getAttribute("src"),!1,void 0,d,e);var A;try{A=r.src}catch(v){A=r.getAttribute&&r.getAttribute("src")}aa["1"]=r.offsetWidth+"x"+r.offsetHeight+":"+A}if(b=b.getElementsByTagName("canvas")[0]){var w;l(b.parentNode)&&a.d.ak(b.parentNode)&&(w=a.z.b(b.parentNode,b.parentNode.nodeName,
!1,void 0,d,e));if(w)return w}return!1}function d(b,d){for(var e=[],l=a.d.be(b)?b:b.getElementsByTagName("iframe"),h,r=0;r<l.length;r++)if(h=l[r],!h[C]){var q=a.f.b(h)?!1:!0;(1===d&&q&&a.d.ak(h)||2===d&&!q)&&e.push(h)}return e}a.s={};a.s.d={};a.s.d.a=[];a.s.c=function(b,d,e,l,h){var r=a.s.e,q=a.s.f,c=0,m=function(){d.numTries=c++;var g=r(b,d,e,l),f;g&&a.p.h(g);(f=g&&g!==a.p.b)&&a.d.forEach(a.s.d.a,function(a){if(a&&"function"===typeof a)try{a(g)}catch(b){}});return f};if(d)var g="skin"in d&&1==d.skin,
f="format"in d&&"Wallpaper"==d.format;if(g||f){if(a.e.f&&!a.e.a)return!1;"width"==a.o.a&&a.o.d();d.skin=1;a.a&&(a.a.o=function(){return!1});m=function(){var b,g=a.e.c.document.body;d.numTries=c++;if(a.o.e.a(g))return g&&a.d.ak(g)&&(b=a.d.r(g),b=a.z.b(g,b||g.nodeName,!1,void 0,d,e)),b&&!0}}a.h.a(m,q,500,h)};a.s.l=function(b,n,e,l){l=l||function(){return!0};b=d(b,1);if(b[0]&&l(b[0]))return a.z.b(b[0],b[0].src,!1,void 0,n,e)};a.s.d.b=[];a.s.k=function(b,d,k,l){for(var r,t=a.s.a(l||b,a.s.b),q=0;q<t.length;q++){l=
t[q];var c=a.f.b(l);if(c&&c.documentElement){a:{r=b;for(var m=d,g=k,f=l,s=c,A=void 0,v=a.s.d.b,w=0;w<v.length;w++)if(A=v[w](r,m,g,f,s)){r=A;break a}r=void 0}if(r)return r;a:{r=d;m=k;f=c;if("MEDIALETS_FRAME"===l.className&&((g=f.getElementById("container"))||(g=f.getElementById("ad")),g||(g=f.getElementById("click")),g&&a.d.ak(g))){f=a.b.b(f.documentElement);f=(f=a.d.q(g,"background-image",f))&&f.match(/url\((.*)\)/);s=void 0;f&&2===f.length&&(s=f[1]);r=a.z.b(g,s||g.nodeName,!1,void 0,r,m);break a}r=
void 0}if(r)return r;a:{r=d;m=k;if(g=c.getElementById("celtra-banner"))if(g=a.d.getElementsByClassName("celtra-screen-container","*",g),1===g.length&&(r=a.z.b(g[0],g[0].nodeName,!1,void 0,r,m)))break a;r=void 0}if(r||(r=h(b,d,k,l,c))||(r=e(c.documentElement,d,k))||(r=a.s.m(c.documentElement,d,k))||(r=a.s.j(c.documentElement,d,k)))return r}}};a.s.m=function(b,d,k){var l,h;b=a.s.a(b,a.s.b);for(var r=0;r<b.length;r++){h=b[r];var q=a.f.b(h);if(q&&q.documentElement){if((l=a.s.j(q.documentElement,d,k,h))||
(l=e(q.documentElement,d,k)))return l;q=a.s.a(q.documentElement,a.s.b);for(h=0;h<q.length;h++){l=q[r];var c=a.f.b(l);if(c&&c.documentElement&&(l=a.s.j(c.documentElement,d,k,l)))return l}}}};a.s.j=function(b,d,e,l){b=b&&b.ownerDocument&&b.ownerDocument.body;var h;if((b=b&&b.children&&b.children[0])&&b.id.match(/flite-\d+$/)&&(b&&l&&l.parentNode&&l.parentNode.className&&l.parentNode.className.match("flite-div")?h=l.parentNode:b&&l&&l.parentNode&&l.parentNode.parentNode&&l.parentNode.parentNode.className.match("flite-lightbox")&&
(h=l.parentNode.parentNode),h&&a.d.ak(h)&&(d=a.z.b(h,h.nodeName,!1,void 0,d,e))))return a.d.bs(d,b),a.d.bs(d,l),d};a.s.h=function(b,d,e){if("function"!==typeof e&&(b=a.p.g(b,d.adNum)))return b===a.p.b?a.p.b:a.z.b(b,"div",!1,void 0,d,e)};a.s.i=function(b,d,e,l){b=a.j.a(b,d);var h;a.d.forEach(b,function(b){if(a.d.ak(b))return h=b,!1});if(h)return b=a.d.r(h)||h.src,a.z.b(h,b||"DIV",!1,void 0,e,l)};a.s.g=e;a.s.e=function(b,d,e,l,h){function t(b){if(!b)return!1;if(b&&b.children&&1===b.children.length&&
a.d.ak(b.children[0]))return b.children[0]}function q(b){if(!b)return!1;if(b&&b.children&&0<b.children.length){var c=[];a.d.forEach(b.children,function(a){a&&a.className&&a.className.match("jpstage")&&c.push(a)});if(c&&1===c.length&&a.d.ak(c[0]))return c[0]}}h=h||function(){return!0};var c=a.s.g,m=a.s.h;if("undefined"===typeof b)return!1;a.e.f&&"HEAD"===b.tagName&&(l=b.parentNode,"HTML"===l.tagName&&(l=l.getElementsByTagName("body"),0<l.length&&(b=l[0])));var g;if(b){if(window&&"number"==typeof window.ebAdID&&
window.gEbBanners&&a.d.be(window.gEbBanners)){var f=!1;a.d.forEach(window.gEbBanners,function(a){if(a&&a.adData&&a.adData.nAdID==window.ebAdID)return f=a,!1});if(f&&(l=f.displayUnit&&f.displayUnit.defaultPanel&&f.displayUnit.defaultPanel.panelDiv)&&l.nodeName&&"div"==l.nodeName.toLowerCase()&&(g=c(l,d,e,h)))return g}l=b.getElementsByTagName("div");l=a.d.bb(l);"DIV"===b.nodeName&&l.push(b);if(l&&0<l.length){var s=[];a.d.forEach(l,function(a){a&&a.id&&a.id.match(/ebDiv\d+/)&&s.push(a)});if(s&&0<s.length&&
a.e.c&&a.e.c.document){var A;a.d.forEach(s,function(b){var c=a.e.c.document.getElementById(b.id);if(c&&c!==b)return A=c,!1});if(A){if(g=c(A,d,e,h))return g;if(A&&a.d.ak(A)&&h(A)){if(g=a.z.b(A,A.nodeName,!1,void 0,d,e))return g}else{l=A.getElementsByTagName("iframe");g=A.id.split("ebDiv")[1];var v=new RegExp("ebBannerIFrame_\\d+_"+g),w=new RegExp("ebAd\\d+_.*"+g),x,y;if(l&&0<l.length&&(a.d.forEach(l,function(b){if(b&&b.id&&b.id.match(v)&&a.d.ak(b))return x=b,!1}),x&&h(x)&&(g=a.z.b(x,x.nodeName,!1,
void 0,d,e))))return g;if(l=a.e.c.document.getElementById("eyeDiv"))if(l=l.getElementsByTagName("div"),a.d.forEach(l,function(a){if(a&&a.id&&a.id.match(w))return y=a,!1}),y&&((g=c(y,d,e,h))||a.d.ak(y)&&h(y)&&(g=a.z.b(y,y.nodeName,!1,void 0,d,e))))return g}}}}}if(g=a.s.i([".../span[id^='GGADad_ii']"],b,d,e))return a.d.bt(["span[id^='GGADad_ii'] span[id$='BODY'] iframe"],g,g.aa),g;if((g=a.s.i(["#inGGUID"],b,d,e))||(g=a.s.i(["#GGUID"],b,d,e)))return g;l=a.d.getElementsByClassName("GG_ad","*",b);if(l[0]&&
a.d.ak(l[0])&&h(l[0])&&(g=a.z.b(l[0],l[0].src,!1,void 0,d,e)))return g;l=b.getElementsByTagName("span");var z;a.d.forEach(l,function(b){if(-1<b.id.indexOf("GGADad_ii")&&a.d.ak(b))return z=b,!1});if(z&&h(z)&&(g=a.z.b(z,z.nodeName,!1,void 0,d,e)))return g;var C=/ad_is_\d+/,O;a.d.forEach(b.getElementsByTagName("div"),function(a){if(a.id.match(C))return O=a,!1});if(O&&a.d.ak(O)&&h(O)&&(g=a.z.b(O,O.nodeName,!1,void 0,d,e)))return a.d.bt(["iframe/=>/div[id*='ad_is']"],g,O),g;if((l=b.ownerDocument.getElementById("gg-main"))&&
a.d.ak(l)&&h(l)&&(g=a.z.b(l,l.src,!1,void 0,d,e)))return g;l=(a.e.f?b.ownerDocument.documentElement:b).getElementsByTagName("script");var G={},ea,T;l&&0<l.length&&(G.jpd=/ads.jetpackdigital.com\/lineitems\/(\d+)\/jpd/,a.d.u()&&(G.kargo=/kargo.com\/ad\/campaign\/rm\/kargo\/kstream\/spritevideo/),G.adrcdn=/cntr.adrcntr.com.*\?id=([0-9a-z]*)&/,G.flite=/r.flite.com\/syndication\/uscript/,G.celtraV3=/celtra.com\/api\/creatives\/([0-9a-z]*)\/compiled/,a.d.forEach(l,function(a){for(var b in G)if(G.hasOwnProperty(b)){var c=
a&&a.getAttribute("src");if(c&&(ea=c.match(G[b])))return T=b,!1}}));l=b&&b.className;g=b&&b.id;l&&(l.match("jpeditorialunit")||l.match("jpbanner"))||g&&g.match("jpplatform")?(T="jpd",l=!0):l=!1;if(T&&"jpd"===T){if(l)I=q(b);else{var I;if(l=ea&&ea[1])I=a.d.getElementsByClassName("jpplatform_"+l,"DIV",a.e.c.document)[0],I||(l=a.e.c.document.getElementById("jpsuperheader"),I=t(l));I||(l=a.d.getElementsByClassName("jpeditorialunit","DIV",a.e.c.document.body)[0],I=q(l));I||(l=(l=a.e.c.document.getElementById("jp_overlay"))&&
a.d.getElementsByClassName("jppanel","DIV",l))&&1<=l.length&&a.d.forEach(l,function(b){if(b&&a.d.ak(b))return I=b,!1});I||(l=a.e.c.document.getElementById("jpd_expfooter"),I=q(l))}if(I&&a.d.ak(I)&&h(I)&&(g=a.z.b(I,I.nodeName,!1,void 0,d,e)))return g}if(T&&"kargo"===T){l=b.getElementsByTagName("iframe");var D,E,F;a.d.forEach(l,function(b){if((D=a.f.b(b))&&(E=D.getElementsByTagName("video")[0])&&E.parentNode&&a.d.ak(E.parentNode))return F=E.parentNode,!1});if(F&&h(F)&&(g=a.z.b(F,F.nodeName,!1,void 0,
d,e)))return g}if(T&&"flite"===T&&b&&b.innerHTML&&-1<b.innerHTML.indexOf("Interstitial")&&(g=(l=a.j.a([".flite-lightbox iframe"],a.e.c.document.body)[0])&&a.f.b(l))&&(g=a.s.j(g.documentElement,d,e,l))||(g=r(b,d,e))||(g=m(b,d,e))||(g=c(b,d,e,h))||a.e.f&&(l=b.ownerDocument.getElementById("celtra-banner"))&&a.d.ak(l)&&h(l)&&(g=a.z.b(l,l.nodeName,!1,void 0,d,e))||(g=a.s.k(b,d,e)))return g;if(l=a.f.d(b))if(g=a.s.k(l,d,e))return g;if((La||l)&&(l=l||a.f.d(b))&&(!a.e.a||"BODY"!==l.nodeName||a.b.b(l)!=a.e.c)&&
((g=m(l,d,e))||(g=c(l,d,e,h))))return g;var J,B;l=b.childNodes;g=!1;for(m=l.length-1;0<=m;m--){var H=l[m];"#comment"===H.nodeName&&/undertone/i.test(H.nodeValue)?g=!0:"STYLE"===H.nodeName&&(H=H.innerHTML.match(/(utpga\d+).+/i))&&2===H.length&&(B=H[1])}if(g){m=a.e.o?(l=a.f.d(b))&&l.ownerDocument?l.ownerDocument:document:document;B&&(J=m.getElementById(B),!J&&a.e.o&&(J=document.getElementsById(B)));J||(B=m.getElementsByTagName("div"),a.d.forEach(B,function(a){if(a&&a.id&&a.id.match("utpga"))return J=
a,!1}),!J&&a.e.o&&(B=document.getElementsByTagName("div"),a.d.forEach(B,function(a){if(a&&a.id&&a.id.match("utpga"))return J=a,!1})));if(J&&((g=c(J,d,e,h))||a.d.ak(J)&&h(J)&&(g=a.z.b(J,J.nodeName,!1,void 0,d,e)))||(B=document.getElementById("utbanner")||a.e.o&&a.e.c.document.getElementById("utbanner"))&&(B=a.f.b(B))&&B.body&&(g=c(B.body,d,e,h)))return g;if((c=a.d.getElementsByClassName("ut_container","DIV")[0]||a.e.o&&a.d.getElementsByClassName("ut_container","DIV",a.e.c.document)[0])&&a.d.ak(c)&&
h(c))return a.z.b(c,c.nodeName,!1,void 0,d,e,{adType:2});if(l=document.getElementById("eyeDiv")||a.e.o&&a.e.c.document.getElementById("eyeDiv"))for(c=l.getElementsByTagName("object"),m=0;m<c.length;m++)if(B=c[m],"fixed"==B.style.position&&a.d.ak(B)&&h(B))return a.z.b({el:B,adIds:d})}if(T&&"adrcdn"===T&&(c=ea[1])&&(m=a.e.o?a.f.a(b):b)&&(B=m.ownerDocument,(m=new a.n.h(m))&&(B=a.d.bv(m.left+(m.right-m.left)/2,m.top+(m.bottom-m.top)/2,B))&&B.parentNode&&B.parentNode.id&&B.parentNode.id.match(c)&&a.d.ak(B)&&
h(B)&&(g=a.z.b(B,B.nodeName,!1,void 0,d,e))))return g;if(T&&"celtraV3"===T){var P=ea&&ea[1];if(a.j.a([".celtra-ad-v3"],b)[0]&&ea){b=(B=a.e.c.document)&&B.getElementsByTagName("iframe");var M;a.d.forEach(b,function(b){if((b=a.f.b(b))&&b.documentElement){var c=a.b.b(b.documentElement);if(c&&c.urls&&c.urls.creativeUrl&&c.urls.creativeUrl.match(P)&&(b=b.getElementById("celtra-banner"))&&a.d.ak(b))return M=b,!1}});if(M&&h(M)&&(g=a.z.b(M,M.nodeName,!1,void 0,d,e)))return g}}return!1};a.s.a=d;a.s.n=1;a.s.b=
2;a.s.o=500;a.s.f=20;a.s.p={object:1,embed:1,img:1,iframe:1}})(s);(function(a){function h(h,e,d){d={};h=h.replace(/&amp;/g,"&").replace(/(^\s+|\s+$)/g,"");h=h.split("&");for(var b=0;b<h.length;b++){var n=h[b].split("=");if("string"===typeof n[1]){n[0]&&n[0].match("moatClient")&&(d["rawM"+n[0].slice(1)]=n[1]);var k=n,l,u=l=n[1];try{for(var t=0;100>t&&(l=decodeURIComponent(l),u!=l)&&!l.match(/^http(s)?\:/);t++)u=l}catch(q){}l=l.replace(/(^\s+|\s+$)/g,"");k[1]=l}else n[1]="";d[n[0]]=n[1]}"undefined"!==
typeof e&&(d.clientZone="undefined"!==e?e:"");return d=a.g.h(d)}a.g={};a.g.b={};a.g.b.a=[];a.g.c=function(a,e){if(!a)return!1;if("undefined"===typeof a.startTime||e)a.startTime=(new w).getTime();if("undefined"===typeof a.rand||e)a.rand=v.floor(v.random()*v.pow(10,12));"undefined"===typeof a.adNum&&(a.adNum=y.zr,y.zr++);a.duration=v.round(a.duration)};a.g.d=function(h){if(!h)return!1;var e=a.d.c(),d;d=a.d.e();e=decodeURIComponent(e);h.moatClientSlicer1=d;h.moatClientSlicer2=e;a.d.aa().isInApp&&!a.d.ae()&&
(d=h.moatClientSlicer1,e=h.moatClientSlicer2,d&&"-"!==d&&""!==d.replace(/^\s+|\s+$/gm,"")||(e=d="In App"),e||(e="In App"),h.moatClientSlicer1="In App / "+d,h.moatClientSlicer2="In App / "+e);return h};a.g.e=function(h){var e=a.g.a(h);e&&a.d.forEach(a.g.b.a,function(a){a(e)});return e};a.g.a=function(a){try{var e=a.className,d=a.getAttribute("src");e.split("\n").join(" ");if(-1!==e.indexOf("moatfooter"))return!1;var b=d.split("?"),n=d.split("#");a=!1;1<b.length&&1<n.length&&b[1].length<n[1].length&&
(a=!0);if(1==b.length||a)b=n;return 1<b.length?h(b[1],"undefined"):!1}catch(k){return!1}};a.g.f=function(a){if(!a)return!1;var e={};try{var d=a&&a.className.replace("amp;","").split("?")[1];return e=d&&h(d)}catch(b){return!1}};a.g.g=function(a){var e=/(level|slicer)([\d]*)/,d,b,n;if("undefined"!==typeof a.flashVars)for(d in a.flashVars)a.flashVars.hasOwnProperty(d)&&(a[d]=a.flashVars[d]);for(d in a)a.hasOwnProperty(d)&&d.match&&(b=d.match(e))&&(n="level"===b[1]?"moatClientLevel":"moatClientSlicer",
a[n+b[2]]=a[d],delete a[d])};a.g.h=function(a){if(a){for(var e in a)a.hasOwnProperty(e)&&e&&e.match("moatClientLevel")&&"string"===typeof a[e]&&(a[e]=a[e].replace(/\:/g,"_").replace(/%3A/gi,"_"));return a}};a.g.i=function(a){try{var e=zoneRegEx.exec(a.innerHTML);0<e.length&&(zone=e[1]);return zone}catch(d){}};a.g.j=function(a){return(a=unescape(unescape(unescape(unescape(a.innerHTML)))).match(/~fdr=(\d*).*?\/.*?;(\d*)/))?{adid:a&&a[1]||"-",cid:a&&a[2]||"-"}:!1};a.g.k=function(a,e){return e||{}}})(s);
(function(a){function h(d,b){var e,h=[],l,r=a.d.i()?2048:7750,t=b||{};l={};d.fs="64397";for(e in d)d.hasOwnProperty(e)&&(1!=d.e||"x"!==e&&"y"!==e&&"c"!==e?h.push(encodeURIComponent(e)+"="+encodeURIComponent(d[e])):l[e]=d[e].split("a"));e=h.join("&");var h=r-e.length,q=0;if("undefined"!==typeof l.x){for(var c=0,m=0;m<l.x.length;m++)if(c+=l.x[m].length+(l.y[m]?l.y[m].length:0)+(l.c[m]?l.c[m].length:0),c<h)q++;else break;0<q&&(e+="&x="+l.x.slice(0,q-1).join("a"),e+="&y="+l.y.slice(0,q-1).join("a"),e+=
"&c="+l.c.slice(0,q-1).join("a"))}for(var g in t)t.hasOwnProperty(g)&&(l="&"+encodeURIComponent(g)+"="+encodeURIComponent(t[g]),l.length+e.length<r&&(e+=l));try{var r=e,f;var t=e,s=new w,A=[s.getFullYear(),("0"+(s.getMonth()+1)).slice(-2),("0"+s.getDate()).slice(-2)].join("-"),t=t+("BROLLNETWORK1"+A),s=0;if(0==t.length)f=s;else{for(A=0;A<t.length;A++){var x=t.charCodeAt(A);g=s;g=(g<<5)-g+x;s=g&=g}f=v.abs(s)}e=r+("&na="+f)}catch(y){}return e}function r(d,b){d.j=25==b?"string"==typeof a.e.b&&a.e.b.slice(0,
500)||"":a.d.f(a.e.b);if(!a.e.a){var e=a.d.d();e&&(d.lp=e)}}a.k={};var e=["zMoatBRSegment","zMoatBRDomain"];a.k.a=function(d,b,n,k,l){a.g.c(b,k);var u={};u.e=d;a.d.au(u,n);u.i="BROLLNETWORK1";if(11===d){d=[];for(var t in aa)aa.hasOwnProperty(t)&&d.push(t+"="+aa[t]);u.k=d.join("&").slice(0,300)}if(!(u.e in Ia)){u.bq=a.e.i;u.f=Number(!Ea);r(u,u.e);u.o=3;u.t=b.startTime;u.de=b.rand;u.m=0;u.ar="9dd2cc3-clean";a.d.bc(u,"ai",y.z);u.q=y.m++;u.cb=ba?1:0;u.cu=Fa;u.ll=a.e.x||0;a.d.bc(u,"lm",a.e.y);u.ln=
a.e.f?1:0;u.r=a.a.j;a.d.au(u,a.focus.getQueryString());a.g.k(b,u);"undefined"!==typeof b&&(u.d=b.moatClientLevel1+":"+b.moatClientLevel2+":"+b.moatClientLevel3+":"+b.moatClientLevel4,a.d.forEach(e,function(a){u[a]=b[a]||"-"}),a.y&&(u.qs=a.y.c),u.bo=b.moatClientSlicer1,u.bd=b.moatClientSlicer2,u.fd="1");u.ac=1;u.it=a.s.o;a.d.aa().isInApp&&(u.lv=a.d.ac(),a.d.ae()||a.d.ag()&&(u.lx=1));d=h(u);t=M;d=a.k.c(b,d+"&cs=0",u);if(!0===l)return{qs:u,res:d};d.shouldSendPixel&&d.querystring&&(34==u.e?y.yh.yi(d.querystring,
t,"afs.moatads.com",!1):y.yh.yi(d.querystring,t,"afs.moatads.com",a.e.n))}};a.k.d=function(d){if(!0!==d.em){delete x[d.zr];clearTimeout(d.cc);d.periscopeManager&&d.periscopeManager.killAllPixels();var b;(b=D&&D.parentNode)&&a.s.c(b,d.ao,d,void 0,function(){a.b.a(d)})}};a.k.b=function(d,b,n){if(!d||!0===d.ep)return!1;if("undefined"!==typeof d.ao&&(2!==d.an||1!==b.e&&3!==b.e)&&!(b.e in Ia)){b.lo=d.FIND_AD_TRIES;d.ah&&(b.a=d.ah);var k=d.ag,l={};if(9===b.e&&2===b.q||25===b.e){for(var u in k)k.hasOwnProperty(u)&&
""!==u&&"undefined"!==typeof k[u]&&-1===u.indexOf("dvContains")&&-1===u.indexOf("indexOf")&&-1===u.toLowerCase().indexOf("clicktag")&&(l["z"+u]=k[u]);b.e=25}0===d.an&&(b.dc=d.WMODE);a.y&&(b.qs=a.y.c);"string"!==typeof d.ae||0!=b.e&&25!=b.e?b.ak="-":(k=a.e.l?700:1200,b.ak=d.ae.length<=k?d.ae:d.ae.slice(0,k));0!==b.e&&21!==b.e&&a.b.h(!0);d.bi>d.bg&&(d.bg=d.bi);d.bm>d.bk&&(d.bk=d.bm);b.i="BROLLNETWORK1";a.d.au(b,a.y.ah(!0));b.bq=a.e.i;b.g=d.aq.g++;k=d.INITIAL_WIDTH;b.h=d.INITIAL_HEIGHT;b.w=k;b.f=
Number(!Ea);r(b,b.e);b.o=3;b.t=d.de;b.de=d.RAND;b.cu=Fa;b.m=b.m||a.d.o(d);b.ar="9dd2cc3-clean";b.cb=ba?1:0;b.ll=a.e.x||0;a.d.bc(b,"lm",a.e.y);b.ln=a.e.f?1:0;b.r=a.a.j;a.d.au(b,a.l.c());a.e.a&&(b.gh=1);a.e.z();b.qa=a.e.ac;b.qb=a.e.ad;b.qi=a.e.aa;b.qj=a.e.ab;b.qf=a.e.af;b.qe=a.e.ag;b.qh=a.e.ah;b.qg=a.e.ai;b.lk=d&&d.elementRect&&d.elementRect.top+a.e.ak||"undefined";b.lb=a.e.aj;b.le=Ma?1:0;a.y&&void 0!==a.y.au&&(b.lf=a.y.au);a.y&&void 0!==a.y.bc&&(b.lj=a.y.bc);a.y&&void 0!==a.y.bd&&(b.li=a.y.bd);a.y&&
void 0!==a.y.al&&(b.lg=a.y.al);a.y&&void 0!==a.y.aw&&(b.lh=a.y.aw);a.q.f()&&(b.mn=1,a.q.g()&&(b.mo=1));if(a.e.s()||a.e.u)b.gm=1;a.e.u&&(b.fa=1);if(a.l&&a.l.a())b.ch=1,b.gh=1;else if(a.a&&a.a.b){b.ct=a.a.ag;if(d&&d.periscopeManager){k=!a.focus.pageIsVisible()&&d&&d.counters&&d.counters.strictDwell&&0==d.counters.strictDwell.tCur&&21==b.e;u="0"!=a.d.m();if(d.periscopeManager.measurable||!a.e.a&&k&&u)b.ch=1;d.periscopeManager.fullyMeasurable&&d.ao&&1!=d.ao.skin&&(b.ga=1)}else b.ch=1;"undefined"!==typeof a.a.ah&&
d&&d.ao&&d.ao.startTime&&!isNaN(d.ao.startTime)&&(k=a.a.ah-d.ao.startTime,b.fg=0<=k?k:0)}else b.ch=0;a.d.au(b,a.q.r(d.zr));a.d.au(b,a.focus.getQueryString());a.d.au(b,a.x.z(d.zr));a.d.au(b,d.counters.getQs());d.video.getQs(b);a.d.bc(b,"ai",y.z);a.d.bc(b,"ap",d.cb);a.d.bc(b,"ax",d.bg);a.d.bc(b,"ay",d.bi);a.d.bc(b,"az",d.bk);a.d.bc(b,"ba",d.bm);a.d.bc(b,"aw",d.bc);a.d.bc(b,"bg",d.bd);a.d.bc(b,"be",d.be);a.d.bc(b,"bc",d.bw);a.d.bc(b,"bf",d.by);a.d.bc(b,"bh",d.bx);a.d.bc(b,"bz",d.cu);b.cl=v.round(100*
d.IR5.AREA/(b.w*b.h));b.au=d.aq[2]-1;b.av=d.aq[3]-1;b.by=d.aq[23]-1;b.at=d.dm;a.g.k(d.ao,b);b.d=d.ao.moatClientLevel1+":"+d.ao.moatClientLevel2+":"+d.ao.moatClientLevel3+":"+d.ao.moatClientLevel4;b.bo=d.ao.moatClientSlicer1;b.bd=d.ao.moatClientSlicer2;a.d.forEach(e,function(a){b[a]=d.ao[a]||"-"});b.ab=d.an;b.ac=1;b.fd="1";d&&d.video&&("number"===typeof d.video.zGlobalVolume&&(b.zMoatDGV=d.video.zGlobalVolume),"number"===typeof d.video.zAdVolume&&(b.zMoatDADV=d.video.zAdVolume),"number"===typeof d.video.zActualVolume&&
(b.zMoatDACTV=d.video.zActualVolume));b.it=a.s.o;d.bi=d.bg;d.bm=d.bk;a.u.b(d)&&(b.fz=1);a.d.aa().isInApp&&(b.lv=a.d.ac(),a.d.ae()||a.d.ag()&&(b.lx=1));u=h(b,l);k=M;if(n)return b;n=a.k.c(d.ao,u+"&cs=0",b,l);n.shouldSendPixel&&n.querystring&&(34==b.e?y.yh.yi(n.querystring,k,"afs.moatads.com",!1):y.yh.yi(n.querystring,k,"afs.moatads.com",a.e.n))}};a.k.e=function(a,b){a.zMoatSrcd=a.d;a.zMoatSrcbo=a.bo;a.zMoatSrcbp=a.bp;a.zMoatSrcbd=a.bd;a.d=(b.moatClientLevel1||"")+":";a.d+=(b.moatClientLevel2||"")+":";
a.d+=(b.moatClientLevel3||"")+":";a.d+=b.moatClientLevel4||"";a.bo=b.moatClientSlicer1;a.bd=b.moatClientSlicer2;return a};a.k.f=function(d,b,e,k,l,r,t,q){d="extraPx_"+d;b[d]||(b[d]={});k=a.d.bu(k);k.zMoatSrci=k.i;k.i=e;q&&(k=a.k.e(k,q));if(a.y.be&&!b[d].timestampsReset)for(var c=0;c<a.y.be.length;c++){var m=a.y.be[c];m.zMoatSrci=m.i;m.i=e;q&&(m=a.k.e(m,q));m=h(m)+"&cs=0";y.yh.yi(m,l,r,!1)}b[d].timestampsReset||(b[d].timestampsReset=!0,k.am&&(k.am=0),k.an&&(k.an=0),k.ao&&(k.ao=0),k.aq&&(k.aq=0),k.ay&&
(k.ay=0),k.ba&&(k.ba=0),k.bx&&(k.bx=0),k.cd&&(k.cd=0),k.cf&&(k.cf=0),k.db&&(k.db=0),k.dr&&(k.dr=0),k.dt&&(k.dt=0),k.es&&(k.es=0),k.ev&&(k.ev=0),k.sa&&(k.sa=0),k.sq&&(k.sq=0),k.si&&(k.si=0),k.sm&&(k.sm=0),k.mc&&(k.mc=0),k.lc&&(k.lc=0),k.pf&&(k.pf=0),k.ge&&(k.ge=0),k.gg&&(k.gg=0),k.cn&&(k.cn=0),k.gl&&(k.gl=0),k.pn&&(k.pn=0),k.fj&&(k.fj=0));d=h(k,t);y.yh.yi(d+"&cs=0",l,r,a.e.n)};a.k.c=function(a,b,e,h){return{shouldSendPixel:!0,querystring:b}};a.k.g=function(a,b){if(2!==a.an||1!==b.e&&3!==b.e)(new Image(1,
1)).src=""};a.k.h=function(a,b){return h(a,b)};a.k.i=function(d){var b={e:16};b.q=d.aq[16]++;a.k.b(d,b)}})(s);(function(a){function h(e,d,b,h,k){var l=1E4;a.d.aa().isInApp&&(l=500);var r=(new w).getTime();this.tMaxContinuous=this.tContinuous=this.tLast=this.tCur=0;this.getMaxContinuous=function(){return v.max(this.tContinuous,this.tMaxContinuous)};this.reset=function(){this.tLast=this.tCur=0};this.update=function(a){var b=(new w).getTime();if(e(a)){a=v.min(b-r,l);var c=typeof h;a&&0>a&&(a=0);this.tCur+=
a;this.tContinuous+=a;"number"===c&&0<h?this.tCur>h&&(this.tCur=h):"function"===c&&(a=h(),"number"===typeof a&&this.tCur>a&&0<a&&(this.tCur=a))}else this.tMaxContinuous<this.tContinuous&&(this.tMaxContinuous=this.tContinuous),this.tContinuous=0;r=b;k&&k(this.tCur)};this.getQs=function(a){a=this.query(a);this.tLast=this.tCur;return a};this.query=function(a){a=a||{};this.tLast>this.tCur&&(this.tLast=this.tCur);d&&b&&(a[d]=this.tCur,a[b]=this.tLast);return a}}function r(){if(a.focus.pageIsVisible()&&
"undefined"===typeof y.z){y.z=new w-Fa;a:{var e=void 0,d;for(d in x)if(x.hasOwnProperty(d)&&(e=x[d])&&"undefined"!==typeof e.ao){if(e.ce)break a;var b={e:4};b.q=e.aq[4]++;b.ai=y.z;a.k.b(e,b);e.ce=!0}a.h.f(E,"scroll",r,"onScroll")}}}a.b={};a.b.i={};a.b.i.a=[];a.b.i.b=[];a.b.j=function(){a.h.e(E,"scroll",r,"onScroll");a.focus.setFocusListeners()};a.b.k=function(e,d){try{var b=e.aa,h=a.d.s(b,5),k=h&&(6==h.length||1<=h.length&&"HTML"===h[h.length-1].nodeName);d=d||e.WINDOW||a.b.b(b);return!(b&&d&&k)||
"Unicast Generic"===Ba&&a.p.d(e.zr)&&(3>b.offsetWidth||3>b.offsetHeight)||b.ownerDocument&&b.ownerDocument.body&&!b.ownerDocument.body.contains(b)?!1:!0}catch(l){return!1}};a.b.l=function(){var e;return function(){for(var d=0,b=W.length;d<b;d++)if(W[d]===e)return;e=a.h.g(function(){for(var b in x)if(x.hasOwnProperty(b)){var d=x[b];a.p.f("loop",b)}a.b.h();for(b in x)x.hasOwnProperty(b)&&(d=x[b],a.q.d(d),d.video.onLoop());a.x.x()},200)}}();a.b.h=function(e){var d,b;for(b in x)if(x.hasOwnProperty(b))if(d=
x[b],a.b.k(d,d.WINDOW))d.counters.update(d);else if(!e){var h=(new w).getTime()-d.ao.startTime;!0!==d.em&&5E3>h?a.k.d(d):a.b.a(d)}};a.b.a=function(e,d){var b=e.zr;if(a.p.d(b))a.p.e(b)?a.p.f("collapseUnloads",b):a.p.f("departed",b);else{"undefined"===typeof U||U||d||(U=!0,a.b.m(e));clearTimeout(e.cc);a.a.a(e);a.h.f(E,"scroll",r,"onScroll");e.ep=!0;e.video.remove();delete x[e.zr];a.i.a(e,"remove");a.q.q(e.zr);a.p.c(b);e&&e.aa&&(e.aa[F]=!1,e.aa[C]=!1);e.aa=null;b=0;for(prop in x)x.hasOwnProperty&&x.hasOwnProperty(prop)&&
b++;0===b&&(Ja(),a.y.bb(),a.h.f(window,"unload",H,"unloadFn"),a.h.f(window,"beforeunload",H,"beforeunloadFn"))}};a.b.f=function(e){e.eq||(e.eq=!0);var d={e:5};d.q=e.aq[5]++;a.k.b(e,d)};a.b.n=function(e){if(!e||!e.aq||!e.aq[0])return!1;var d={e:37};d.q=e.aq[37]++;a.k.b(e,d)};a.b.o=[];a.b.p=function(e,d){var b=!1;if(!e||!e.aq||!e.aq[29]||3>e.aq[29])return!1;for(var h=0;h<d.length;h++){var k=d[h];-1===a.d.indexOf(a.b.o,k)&&(b=!0,a.b.o.push(k))}b&&(b={e:37},b.q=e.aq[37]++,a.k.b(e,b))};a.b.e=function(e){var d,
b;b=e._calcVideoBasedOnContainer?e.aa.parentNode:e.aa;if(1==e.ao.skin)return!1;e.elementRect?(d=e.elementRect.right-e.elementRect.left,b=e.elementRect.bottom-e.elementRect.top):(d=b.offsetWidth,b=b.offsetHeight);return 3>d||3>b||a.focus.pageIsPrerendered()||!e.video.isPlaying()&&!e.video.pausedByMoat?!0:!1};a.b.q=function(a){var d=1;screen.deviceXDPI?d=screen.deviceXDPI/screen.systemXDPI:a.devicePixelRatio&&"undefined"!==typeof a.mozInnerScreenX&&(d=a.devicePixelRatio);return{w:d*screen.width,h:d*
screen.height}};a.b.b=function(a){try{var d=a&&a.ownerDocument;return d&&(d.defaultView||d.parentWindow)}catch(b){return!1}};a.b.g=function(e){e.counters={};e.counters.laxDwell=new h(function(){return!a.focus.pageIsPrerendered()},"bu","cd");e.counters.strictDwell=new h(function(b){return a.focus.pageIsVisible()||b&&b.video&&b.video.videoIsFullscreen},"ah","am");var d=function(b){return b&&b.video&&b.video.isPlaying(b)&&!a.focus.pageIsPrerendered()};e.counters.strictPlayTime=new h(function(b){return b&&
b.video&&b.video.isPlaying()&&(a.focus.pageIsVisible()||b.video.videoIsFullscreen)},"dq","dr",function(){return e.ao.duration});e.counters.laxPlayTime=new h(d,"ds","dt",function(){return e.ao.duration});e.counters.quartileDelta=new h(d,void 0,void 0);e.counters.query=function(){var a={},d;for(d in this)if(this.hasOwnProperty(d)){var e=this[d];"function"===typeof e.query&&e.query(a)}return a};e.counters.getQs=function(){var a={},d;for(d in this)if(this.hasOwnProperty(d)){var e=this[d];"function"===
typeof e.getQs&&e.getQs(a)}return a};e.counters.update=function(a){for(var d in this)if(this.hasOwnProperty(d)){var e=this[d];"function"===typeof e.update&&!0!==a.ep&&e.update(a)}}};a.b.c=function(e,d){if(!e||!d)return!1;for(var b=[],h,k=0;50>k;k++)if(d!=d.parent){if(h=a.f.a(e,d))b.push(h);else break;d=d.parent;e=h}else break;return b};a.b.r=function(){y.z=void 0;y.zs=!1;a.h.f(E,"scroll",r,"onScroll");a.d.forEach(a.b.i.a,function(a){if(a&&"function"===typeof a)try{a()}catch(d){}})};a.b.m=function(e){function d(b){a.y.bb();
if(b&&b.video&&!b.video.started)return!1;a.x&&a.x.s&&a.x.s(b);var d={e:21};d.q=b.aq[21]++;a.k.b(b,d);b.unloadPixelSent=!0;a.b.a(b,!0)}if(e&&!e.unloadPixelSent)d(e);else if(!e)for(var b in x)x.hasOwnProperty(b)&&(e=x[b])&&(e.unloadPixelSent||d(e))};a.b.d=function(e,d){var b={e:9};b.q=e.aq[9]++;e.BEACON_LAST_SENT_AT=+new w;d&&"object"===typeof d&&a.d.forEach(d,function(a,d){b[d]=a});a.k.b(e,b)};a.b.s=r})(s);(function(a){a.ac={};a.ac.a=function(h){h[a.e.h]=h[a.e.h]||{zs:!1,zr:0,h:0,m:0,i:{}}}})(s);(function(a){var h=
function(a,b){function e(a){return function(){try{a.sending&&(g=a.sending=!1,c=0,h())}catch(b){}}}function h(a,d,f,l){if(a){d={qs:a,jsd:d,fld:f,jso:l};if(0===a.indexOf("e=21&")){r(d,!0);return}q.push(d)}if(0===c&&0<q.length)if(c++,a=q.shift(),a.sending=!0,a.uid=b.Math.floor(1E10*b.Math.random()),a.timeoutId=setTimeout(e(a),2E3),w[a.uid]=a,a.fld&&!a.jso&&g&&m&&m.sendMessage)try{m.sendMessage(a)}catch(k){g=!1,r(a)}else r(a)}function l(){try{return new s(1,1)}catch(a){var b=window.document.createElement("img");
b.height=1;b.width=1;return b}}function r(a,b){var c=l();c.toSend=a;b||(c.onerror=function(){var a=this.toSend;a.failedAttempts="number"==typeof a.failedAttempts?a.failedAttempts+1:0;var b=(a.jsd+"/pixel.gif?"+a.qs).length;1>a.failedAttempts?r(a):y&&b>z&&t(a)},c.onload=function(){t(this.toSend)});c.src=a.jsd+"/pixel.gif?"+a.qs}function t(a){var b=a&&a.uid&&w&&w[a.uid];if(a&&a.qs&&"tracer="==a.qs)return!1;if(b){w[a.uid]=null;try{delete w[a.uid]}catch(d){}try{clearTimeout(b.timeoutId)}catch(g){}if("boolean"!=
typeof b.sending||b.sending)b.sending=!1;else return!1}0<c&&c--;h()}var q=[],c=0,m=!1,g=!1,f=!1,s,A=b[a],v=b.Math.floor(1E10*b.Math.random()),w={};A.yh={};A=A.yh;s=b.Image;A.yi=function(a,b,c,d){h(a,b,c,d)};A.yk=function(b,c){m=!0;var g=a+".yh.",f={};f.src="https:"===c?"https://z.moatads.com/swf/MessageSenderV4.swf":"http://z.moatads.com/swf/MessageSenderV4.swf";f.flashVars="r="+g+"zb&s="+g+"zc&e="+g+"zd&td="+b;return f};A.yj=function(){return!1===m};A.xq=function(){return v};A.qb=function(a,b){f=
!0;var c={};c.src="https:"===b?"https://z.moatads.com/swf/cap.swf":"http://z.moatads.com/swf/cap.swf";return c};A.qa=function(){return!1===f};A.zb=function(){try{if(!0===m){var a=b.document.getElementById("moatMessageSender"+v);a&&!a.sendMessage&&(a=b.document.getElementById("moatMessageSenderEmbed"+v));a&&a.sendMessage&&(g=!0,m=a)}}catch(c){}};A.zc=function(a){try{t(a)}catch(b){}};A.zd=function(a){try{g=!1,a&&a.jsd&&q.push(a),t(a)}catch(b){}};var x,y,z=2083;try{x=document.createElement("div"),x.innerHTML=
"\x3c!--[if IE 8]>x<![endif]--\x3e",y="x"===x.innerHTML}catch(C){y=!1}},r=null;a.ad={};a.ad.a=function(){try{if("undefined"!==typeof E.eval&&(E.eval("(function(win){ win['Moat#EVA'] = true; })(window)"),"undefined"!==typeof E["Moat#EVA"]))return!0}catch(a){}return!1};var e=function(d,b){if(a.d.bm(b.toString))return b.toString();if(a.d.bm(d&&d.Function.prototype.toString))return b.toString=d.Function.prototype.toString,b.toString();var e=a.e.c!==d&&a.e.c&&a.e.c.Function.prototype.toString;if(a.d.bm(e))return b.toString=
e,b.toString();if(a.e.l&&8>=a.d.j())return b.toString();var e=d||window,h=e.document.createElement("IFRAME");h.style.display="none";h.style.width="0px";h.style.height="0px";h.width="0";h.height="0";a.d.az(h,e.document.documentElement);h.contentWindow&&(b.toString=h.contentWindow.Function.prototype.toString);var l=b.toString();e.document.documentElement.removeChild(h);return l};a.ad.b=function(d){if(null===r)try{r=e(d,h)}catch(b){r=h.toString()}if(!y.yh)if(a.ad.a())d.eval("("+r+")('"+a.e.h+"',window)");
else{var n=d.document.createElement("script");n.type="text/javascript";n.text="("+r+")('"+a.e.h+"',window)";a.d.az(n,d.document.body)}}})(s);(function(a){a.t={};a.t.a=function(h){var r;r=!1;if(a.e.u)if(r=a.ab.a.c,"undefined"!=typeof a.ab.a.b&&r){h=a.n.m(h.aa);var e=h.rect;h=a.n.k(h.visibleRect,r.el,r.et);r=a.n.j(h,{left:r.vl,right:r.vr,top:r.vt,bottom:r.vb});r=100*(r.right-r.left)*(r.bottom-r.top)/((e.width||e.right-e.left)*(e.height||e.bottom-e.top))}else r=!1;else if(a.e.s()){e=a.d.bj(a.e.r(),["$sf",
"ext","inViewPercentage"]);r=a.d.bj(a.e.r(),["$sf","ext","geom"]);var d=e&&e(),e=r&&r();if(d&&e&&e.par)if(0===d)r=0;else{d=h.aa;r=d.getBoundingClientRect();h=h.WINDOW||a.b.b(d);h=a.n.i(h);h=a.n.j(r,h);h=a.n.k(h,e.self.l,e.self.t);h=a.n.k(h,-1*e.par.l,-1*e.par.t);var d=Number(e.win.l),b=Number(e.win.t),e={left:d,right:Number(e.win.r),top:b,bottom:Number(e.win.b)};h=a.n.k(h,d,b);e=a.n.j(h,e);r=100*(e.right-e.left)*(e.bottom-e.top)/((r.width||r.right-r.left)*(r.height||r.bottom-r.top))}else r=!1}e=r&&
!isNaN(r)&&50<=r;e={isVisible:e,isFullyVisible:e&&100<=r,percv:r};80<=r&&(e.isDentsuVisible=!0);return e}})(s);(function(a){function h(a){if(a instanceof Array||"[object Array]"==={}.toString.call(a))for(var b=0,d=a.length;b<d;b++)"MOAT_API_REQUEST_EVENT"!==a[b]&&r(a[b]);else r(a)}function r(b){var e;if("string"===typeof b)e={adIds:a.v.j,event:b,timestamp:(new w).getTime(),adVolume:-1};else{e={adIds:a.v.j,event:b.type,timestamp:(new w).getTime(),adVolume:-1};if("number"===typeof b.adVolume&&!isNaN(b.adVolume))e.adVolume=
b.adVolume;else if("string"===typeof b.adVolume){var h=parseFloat(b.adVolume,10);!isNaN(h)&&0<=h&&1>=h&&(e.adVolume=h)}e.soundTransform=b.soundTransform}d(e)}function e(e){this.ad=e;this.cbs=e.ao&&e.ao.cbs;this.state=1;this.volume=-1;this.audibleMeasurable=!1;this.cbPrefix="blahblahblacksheep";this.notifyCB="blahblahblacksheep_notifyMoatVideo";this.canMeasurePageLoad=a.e.a&&"undefined"!==typeof window.performance;this.audibleOnLastCheck=!1;this.audibleTimePrev=this.audibleTime=0;this.audibleFullyVisOnLastCheck=
!1;this.audibleFullyVisIvtPrev=this.audibleFullyVisIvt=0;this.videoIsFullscreen=!1;this._continuousFullyVisAudibleTime=this._maxContinuousFullVisAudibleTime=this._continuousAudibleTime=this._maxContinuousAudibleTime=0;this.receivedAdImpEvent=this._everAudibleAndVisible=this._everAudible=this._everVisible=!1;this.quartileDeltas={};this.adRemainingTimeDuration;this.maxContinuousAudibleTime=function(){return v.max(this._continuousAudibleTime,this._maxContinuousAudibleTime)};this.maxContinuousFullVisAudibleTime=
function(){return v.max(this._continuousFullyVisAudibleTime,this._maxContinuousFullVisAudibleTime)};this.tagLoadDelay=a.e.g-this.ad.ao.startTime;this.quartiles={};var h=this.durationSent=!1,k=!1,q=void 0,c=0,m=!1;this.onInViewTimeCount=function(a,b,c,d){d=0;this.isPlayingAndAudible()&&(this._everAudible=!0);0<b&&(this._everVisible=!0);if(this.isPlayingAndAudible()&&this.audibleOnLastCheck)d=v.max(a,0);else if(this.isPlayingAndAudible()||this.audibleOnLastCheck)d=v.max(v.round(a/2),0);this.audibleOnLastCheck=
this.isPlayingAndAudible();this._continuousAudibleTime+=d;this.audibleOnLastCheck?0<b&&(this._everAudibleAndVisible=!0):(this._maxContinuousAudibleTime<this._continuousAudibleTime&&(this._maxContinuousAudibleTime=this._continuousAudibleTime),this._continuousAudibleTime=0);this.audibleTime=this.ad.ao.duration&&0<this.ad.ao.duration?v.min(this.ad.ao.duration,this.audibleTime+d):this.audibleTime+d;this.poalEnabled&&this.disablePoalOnVis&&c&&c.hadVideo2SecOTS()&&(this.poalEnabled=!1,1==this.state&&this.pausedByMoat&&
(this.pausedByMoat=!1,this.triggerPlayerCallback(e.aa,this.cbs.resumeAd)));this.poalEnabled&&(!c.visible()&&0==this.state&&this.cbs?(this.pausedByMoat=!0,this.triggerPlayerCallback(e.aa,this.cbs.pauseAd)):c.visible()&&1==this.state&&this.pausedByMoat&&this.cbs&&(this.pausedByMoat=!1,this.triggerPlayerCallback(e.aa,this.cbs.resumeAd)))};this.onFullyInViewTimeCount=function(a,b,c){var d=0;if(this.isPlayingAndAudible()&&this.audibleFullyVisOnLastCheck)d=a;else if(this.isPlayingAndAudible()||this.audibleFullyVisOnLastCheck)d=
v.round(a/2);this.audibleFullyVisOnLastCheck=this.isPlayingAndAudible();d=v.max(v.min(d,b),0);this._continuousFullyVisAudibleTime+=d;this.audibleFullyVisOnLastCheck&&c||(this._maxContinuousFullVisAudibleTime<this._continuousFullyVisAudibleTime&&(this._maxContinuousFullVisAudibleTime=this._continuousFullyVisAudibleTime),this._continuousFullyVisAudibleTime=0);this.audibleFullyVisIvt=this.ad.ao.duration&&0<this.ad.ao.duration?v.min(this.ad.ao.duration,this.audibleFullyVisIvt+d):this.audibleFullyVisIvt+
d};this.isAudibleVolume=function(a){return-1===a||.1<=a};this.onLoop=function(){if(!this.onLoopCounterName)if(a.n.f())this.onLoopCounterName="strict";else if(a.l&&a.l.a()||a.a&&!0===a.a.b)this.onLoopCounterName="pscope";else return;if(!this.hadVideoOTS){var b=a.q.l(this.ad.zr);if(!b)return;b=b[this.onLoopCounterName];if(!b)return;5E3<=b.getInViewTime()&&(this.hadVideoOTS=!0,a.k.b(this.ad,{e:30,q:0}))}b=this.getGroupMQs();0<b.length&&a.b.p(this.ad,b)};this.checkVolume=function(b){if(!b)return!1;if("AdVolumeChange"===
b.event||"AdStarted"===b.event||"AdImpression"===b.event||-1!=a.d.indexOf(n,b.event)){var c=b.soundTransform&&b.soundTransform.volume;b=b.adVolume;var d=NaN;"number"==typeof c&&!isNaN(c)&&0<=c?d="number"!=typeof b||isNaN(b)||0>b?c:c*b:"number"!=typeof b&&isNaN(b)||(d=b);isNaN(d)||(this.volume=d);this.zGlobalVolume="number"!=typeof c||isNaN(c)?-1:c;this.zAdVolume="number"!=typeof b||isNaN(b)?-1:b;this.zActualVolume="number"!=typeof d||isNaN(d)?-1:d;this.audibleMeasurable=0<=this.volume}};this.findVideoTags=
function(b){var c=[];b&&"IFRAME"==b.nodeName?(b=a.f.b(b))&&(c=b.body.getElementsByTagName("video")):c=e.aa.getElementsByTagName("video");return c};this.findValidTagDuration=function(b){var c;a.d.forEach(b,function(a){if(a&&!a.paused&&"number"==typeof a.duration&&0<a.duration)return c=v.floor(1E3*a.duration),!1});return c};this.onJsVideoStart=function(b){function c(){var b;try{b=document.fullscreenElement||document.webkitFullscreenElement||document.webkitCurrentFullScreenElement||document.mozFullScreenElement||
document.msFullscreenElement}catch(g){}if(b){var f;if(b==d.ad.aa||(f=a.d.s(b))&&-1!==a.d.indexOf(f,d.ad.aa))d.videoIsFullscreen=!0}else d.videoIsFullscreen&&(d.videoIsFullscreen=!1)}this.ad.localVideoTags=this.findVideoTags(this.ad.aa);0==this.ad.localVideoTags.length?this.ad.allVideoTags=e.aa.ownerDocument&&e.aa.ownerDocument.getElementsByTagName("video"):(this.videoTagDuration=this.findValidTagDuration(this.ad.localVideoTags),this.ad.allVideoTags=this.ad.localVideoTags);var d=this;a.d.forEach(this.ad.allVideoTags,
function(b){a.h.e(b,"webkitbeginfullscreen",function(a){d.videoIsFullscreen=!0});a.h.e(b,"webkitendfullscreen",function(a){d.videoIsFullscreen=!1})});a.h.e(document,"fullscreenchange",c);a.h.e(document,"webkitfullscreenchange",c);a.h.e(document,"mozfullscreenchange",c);a.h.e(document,"MSFullscreenChange",c);c()};this.calculateDuration=function(a,b){var c="number"===typeof b&&!isNaN(b)&&0<b,d=4*a,e;if(c){var c=!(d<105*b/100&&d>95*b/100),h=4E3<v.abs(d-b);c&&h&&(e=d)}else e=d;return e||b};this.normalizeEventName=
function(b){var c=b.toLowerCase();a.d.forEach(a.v.h,function(a){if(a.toLowerCase()===c)return b=a,!1});return b};this.triggerPlayerCallback=function(b,c){var d=void 0,e=a.d.bb(arguments).splice(2);try{if(!c||!b||!b[c])return d;d=0<e.length?b[c].apply(b,e):b[c]()}catch(h){}return d};this.isValidAndUnmesDuration=function(){return!k&&"number"==typeof this.ad.ao.duration&&0<this.ad.ao.duration};this.update=function(c){c&&"string"==typeof c.event&&(c.event=this.normalizeEventName(c.event));this.receivedAdImpEvent||
"AdImpression"!=c.event||(this.receivedAdImpEvent=!0);c&&c.cbs&&(this.cbs=c.cbs,c.adIds&&c.adIds.flashVars&&c.adIds.flashVars.zpoal&&(this.poalEnabled="1"==c.adIds.flashVars.zpoal||"2"==c.adIds.flashVars.zpoal,this.disablePoalOnVis="2"==c.adIds.flashVars.zpoal));if("fullScreen"===c.event||"EnterFullscreen"===c.event)this.videoIsFullscreen=!0;if("exitFullscreen"===c.event||"ExitFullscreen"===c.event)this.videoIsFullscreen=!1;var d;d="AdStarted"===c.event||"AdLoaded"===c.event||"AdRemainingTimeChange"===
c.event||"AdVideoStart"===c.event||"AdImpression"===c.event;"number"!=typeof this.adRemainingTimeDuration&&d&&"number"===typeof c.adRemainingTime&&0<c.adRemainingTime&&(this.adRemainingTimeDuration=2700<=c.adRemainingTime?v.floor(c.adRemainingTime):1E3*v.floor(c.adRemainingTime));"AdImpression"===c.event&&(m=!0);!this.started&&-1<a.d.indexOf(["AdPlaying","AdImpression","AdStarted"],c.event)&&(c.cachedEvent=c.event,c.event="AdVideoStart");"AdVideoStart"!==c.event&&"AdStarted"!==c.event&&"AdImpression"!==
c.event||e.counters.quartileDelta.reset();this.checkVolume(c);if(!this.started&&"AdImpression"===c.cachedEvent&&!this.started){this.started=!0;this.timeAtStartEvent=(new w).getTime();if(a.v.j&&!1===a.v.j.a)this.onJsVideoStart(c);h=!0;this.state=0;a.x.x();a.z.c(this.ad)}this.started&&!this.reachedStart&&(this.videoIsFullscreen&&(this.ad.ao.initWidth=a.e.ac||400,this.ad.ao.initHeight=a.e.ad||400),this.reachedStart=!0);if("AdVideoComplete"===c.event||"AdPaused"===c.event)this.state=1;else if("AdVideoStart"===
c.event||"AdPlaying"===c.event||"AdImpression"===c.event)this.state=0;!this.ad.videoAdStartTime&&this.timeAtStartEvent&&(this.ad.videoAdStartTime=this.timeAtStartEvent);if("AdStarted"===c.event||"AdVideoStart"===c.event)if(this.hadFirstUpdate||(this.startEventDelay=(new w).getTime()-c.timestamp),this.canMeasurePageLoad)try{this.tSincePageLoad=(new w).getTime()-window.top.performance.timing.navigationStart}catch(n){}if(this.started&&b.hasOwnProperty(c.event)){this.quartileDeltas[c.event]=this.ad.counters.quartileDelta.tCur;
this.ad.counters.quartileDelta.reset();if("AdVideoFirstQuartile"===c.event&&!k){this.firstQuartileDuration=this.calculateDuration(this.quartileDeltas.AdVideoFirstQuartile,this.ad.ao.duration);if(a.v.j&&!1===a.v.j.a&&(this.videoTagDuration||(d=this.findVideoTags(this.ad.aa),this.videoTagDuration=this.findValidTagDuration(d)),!k&&this.videoTagDuration&&0<this.videoTagDuration)){var q=(d=this.calculateDuration(.25*this.videoTagDuration,this.ad.ao.duration))&&0<d&&(33E3<d&&d<=this.firstQuartileDuration||
33E3>=d);d==this.videoTagDuration&&q&&(this.ad.ao.duration=d,k=h=!0)}this.isValidAndUnmesDuration()&&this.firstQuartileDuration===this.ad.ao.duration&&0<this.firstQuartileDuration&&(this.ad.ao.duration=this.firstQuartileDuration,k=h=!0);this.isValidAndUnmesDuration()&&"number"==typeof this.adRemainingTimeDuration&&(d=this.calculateDuration(.25*this.adRemainingTimeDuration,this.ad.ao.duration))&&0<d&&d==this.ad.ao.duration&&(this.ad.ao.duration=v.floor(d),k=h=!0)}"AdVideoMidpoint"===c.event&&!k&&(this.midpointDuration=
this.calculateDuration(this.quartileDeltas.AdVideoMidpoint,this.ad.ao.duration),0<this.midpointDuration||0<this.firstQuartileDuration)&&(d=15E3<this.firstQuartileDuration&&15E3<this.midpointDuration?v.min(this.firstQuartileDuration,this.midpointDuration):15E3>=this.firstQuartileDuration||15E3>=this.midpointDuration?v.max(this.firstQuartileDuration,this.midpointDuration):0<this.midpointDuration?this.midpointDuration:this.firstQuartileDuration,this.ad.ao.duration=d,k=h=!0);this.state=0;var r=a.q.l(this.ad.zr);
d=!1;q=!0;r.strict?d=r.strict.visible():r.pscope?a.a&&a.a.b||a.l&&a.l.a()?d=r.pscope.visible():q=!1:q=!1;r=this.isAudibleVolume(this.volume);d=q?d&&r?3:d?1:r?2:0:4;q=b[c.event];"undefined"===typeof this.quartiles[q]&&(this.quartiles[q]=d,q={e:29},q.q=e.aq[29]++,a.k.b(e,q));c.calculatedQuartileState=d}this.started&&a.v.dispatchEvent(this,c);this.started&&"AdVideoComplete"===c.event&&(this.reachedComplete=!0,a.x.x());this.hadFirstUpdate||(hadFirstUpdate=!0);!this.durationSent&&h&&k&&(this.durationSent=
!0,q={e:9},q.q=e.aq[9]++,a.k.b(this.ad,q));!this.started||this.stopped||"AdStopped"!==c.event&&"AdVideoComplete"!==c.event&&"AdSkipped"!==c.event||(this.stopped="AdSkipped"!==c.event,q={},c=this.stopped?28:33,q.e=c,q.q=e.aq[c]++,a.k.b(this.ad,q),"undefined"===typeof U||U||(U=!0,a.b.m()),P())};this.isPlayingAndAudible=function(){return this.isPlaying()&&this.isAudible()};this.isPlaying=function(){return 0===this.state};this.isAudible=function(){return this.isAudibleVolume(this.volume)};this.getGroupMQs=
function(){var b,c="pscope";if(a.e.s()||a.e.u)c="sframe";b=a.e.a?"strict":c;c=a.q.j(this.ad,b,"getFullInviewTimeTotal");b=a.q.j(this.ad,b,"getInViewTime");var d=[];if(k){var e=98*this.ad.ao.duration/100;this.audibleFullyVisIvt>e/2&&d.push("hd");this.audibleFullyVisIvt>v.min(e/2,15E3)&&d.push("hl");this.audibleTime>=e&&d.push("he");b>=e&&d.push("hf");this.audibleTime>=e&&b>=e&&d.push("hg");0==this.audibleTime&&b>=e&&d.push("hi");c>=e/2&&d.push("hj");c>=e&&d.push("hm");this.audibleFullyVisIvt>=e&&d.push("hk")}return d};
this.getQs=function(b){data=b||{};this.receivedAdImpEvent&&(data.fc="1");b=this.getGroupMQs();for(var d=0;d<b.length;d++)data[b[d]]=1;k?(data.dh=this.ad.ao.duration,data.hc=1):(b=this.firstQuartileDuration||this.midpointDuration,21==data.e&&0<b?(data.dh=b,data.hc=1):data.hc=0);data.er=this.audibleTime;data.es=this.audibleTimePrev;this.audibleTimePrev=this.audibleTime;data.eu=this.audibleFullyVisIvt;data.ev=this.audibleFullyVisIvtPrev;this.audibleFullyVisIvtPrev=this.audibleFullyVisIvt;this.audibleMeasurable&&
(data.et=1);data.dp=this.tagLoadDelay;this.started&&(data.dz=1);this.stopped&&(data.ea=1);a.d.bc(data,"du",this.startEventDelay);this.canMeasurePageLoad&&(data.eb=1);a.d.bc(data,"ec",this.tSincePageLoad);"undefined"!=typeof this.ad.ao.gc&&"undefined"!=typeof this.ad.ao.gd&&"undefined"!=typeof this.ad.ao.gr&&"undefined"!=typeof this.ad.ao.gy&&(data.gc=this.ad.ao.gc,data.gd=this.ad.ao.gd,data.gr=this.ad.ao.gr,data.gy=this.ad.ao.gy);this.ad.ao.moatLoaderHash&&this.ad.ao.moatSwfHash&&(data.ed=this.ad.ao.moatLoaderHash,
data.ee=this.ad.ao.moatSwfHash);!0===this.hadVideoOTS&&(data.ek=1);(b=a.q.i(this.ad.zr))&&b.hadVideo2SecOTS()&&k&&(q||(q=b&&b.getInViewTime()),data.fh=q,data.fi=b&&b.getInViewTime(),data.fj=c,c=b&&b.getInViewTime());m&&(data.fk=1);this.ad.ao.initWidth&&this.ad.ao.initHeight&&(data.ha=this.ad.ao.initWidth,data.hb=this.ad.ao.initHeight);a.d.forEach(this.ad.ao,function(a,b){0==b.indexOf("zXID_")&&(data[b]=a)});for(var e in this.quartiles)this.quartiles.hasOwnProperty(e)&&(data[e]=this.quartiles[e])};
this.notify=function(){var a=this.ad.aa,b,c;this.cbs?(b=this.cbs.shiftVideoEvent,c=this.cbs.getQueueLength):(b=this.cbPrefix+"_shiftVideoEvent",c=this.cbPrefix+"_getQueueLength");for(var e=0;a[c]&&a[b]&&0<a[c]()&&50>e;)d(a[b]()),e++};this.remove=function(){window[e.video.notifyCB]=void 0;window.blahblahblacksheep_moatElToTrack=void 0;try{delete window[e.video.notifyCB],delete window.blahblahblacksheep_moatElToTrack}catch(a){}}}function d(a){for(var b in x)if(x.hasOwnProperty(b)){var d=x[b];a&&a.adIds&&d.ao.startTime===
a.adIds.startTime&&d.video.update(a)}}a.v={};a.v.h="AdStarted AdLoaded AdStopped AdSkipped AdRemainingTimeChange AdVolumeChange AdImpression AdVideoStart AdVideoFirstQuartile AdVideoMidpoint AdVideoThirdQuartile AdVideoComplete AdPaused AdPlaying".split(" ");var b={AdVideoStart:"ef",AdVideoFirstQuartile:"eg",AdVideoMidpoint:"eh",AdVideoThirdQuartile:"ei",AdVideoComplete:"ej"};a.v.d=b;var n=["AdVideoStart","AdVideoFirstQuartile","AdVideoMidpoint","AdVideoThirdQuartile","AdVideoComplete"];a.v.b=2E3;
a.v.a=2E3;a.v.i=2E3;a.v.c=500;a.v.k=function(b){var d={complete:"AdVideoComplete",firstquartile:"AdVideoFirstQuartile",impression:"AdImpression",loaded:"AdLoaded",midpoint:"AdVideoMidpoint",pause:"AdPaused",skip:"AdSkipped",start:"AdVideoStart",thirdquartile:"AdVideoThirdQuartile",volumeChange:"AdVolumeChange"},e;for(e in google.ima.AdEvent.Type)b.adsManager.addEventListener(google.ima.AdEvent.Type[e],function(e){if(!a.v.j.moatClientLevel3){var c=e&&e.getAd&&e.getAd(),h=x[a.v.j.adNum];c&&c.getAdId&&
(b.currentAd=c,a.v.j=h.ao=a.v.l(b,!0),a.y.ax(a.v.j),a.k.a(17,a.v.j))}a.v.e.sendEvent({type:d[e.type]||e.type,adVolume:b.adsManager.getVolume()})})};a.v.m=function(a){return!1};a.v.g=function(b){if(b.ao.isUsingVideoJsApi)a.v.e.sendEvent=h,a.v.e.imaSDK?a.v.e.sendEvent("MOAT_API_REQUEST_EVENT"):a.v.e.dispatchEvent("MOAT_API_REQUEST_EVENT");else{window[b.video.notifyCB]=function(){try{b.video.notify()}catch(a){}};var d=b.aa,e;e=b.ao.cbs?b.ao.cbs.registerCallback:b.video.cbPrefix+"_registerCallback";d[e]&&
d[e](b.video.notifyCB);b.video.notify()}};a.v.f=function(a,b){a.video=new e(a)};var k=[];a.v.dispatchEvent=function(a,b){for(var d=0,e=k.length;d<e;d++)k[d].call(null,a,b)};a.v.n=function(a){k.push(a)}})(s);(function(a){a.u={};a.u.c=242500;a.u.d=1;a.u.e=function(h){return a.e.a||a.l&&a.l.a&&a.l.a()||a.a&&a.a.b&&h&&h.periscopeManager&&h.periscopeManager.fullyMeasurable};a.u.f=function(h){return a.d.bq(h)>a.u.c};a.u.g=function(a){return a&&a.ao?"slave"==a.ao.moatClientAT?!0:!1:!1};a.u.h=function(a){return a&&
a.ao?"cpc"==a.ao.moatClientBT?!0:!1:!1};a.u.i=function(a){return a&&a.ao?"cpcv"==a.ao.moatClientBT?!0:!1:!1};a.u.j=function(a){return a&&a.ao?"flatrate"==a.ao.moatClientBT?!0:!1:!1};a.u.k=function(a){return a&&a.ao?"skin"==a.ao.moatClientAT||"hpto"==a.ao.moatClientAT?!0:!1:!1};a.u.b=function(h){if(!h||!h.aa)return!1;if("undefined"!=typeof h.gm)return h.gm;h.video?!a.u.e(h)||a.u.i(h)&&!h.video.reachedComplete||(h.gm=!0):a.u.g(h)||a.u.h(h)||a.u.j(h)?h.gm=!1:a.u.k(h)||a.u.f(h)?h.gm=!0:a.u.e(h)&&a.q.p(h,
a.u.d,!0)&&(h.gm=!0);return h.gm||!1};a.u.a=function(h){if(!h||h.SENT_FIT&&h.SENT_FULLOTS||!a.u.e(h))return!1;var r,e,d=a.e.a?"strict":"pscope";h.SENT_FIT||(r=a.q.j(h,d,"hadFIT"));h.SENT_FULLOTS||(e=a.q.j(h,d,"hadFullOTS"));if(r||e)a.b.n(h),h.SENT_FIT=h.SENT_FIT||!!r,h.SENT_FULLOTS=h.SENT_FULLOTS||!!e;return r||e}})(s);(function(a){a.v.n(function(h,r){({AdVideoStart:1,AdVideoFirstQuartile:1,AdVideoMidpoint:1,AdVideoThirdQuartile:1,AdVideoComplete:1})[r.event]&&a.x.s(h.ad,r.event)})})(s);(function(a){a.aa=
{};a.aa.b="1.1";a.aa.prefix="MSFAPI";a.aa.c={};a.aa.d={};a.aa.e=v.floor(v.random()*v.pow(10,12));a.aa.f=/([a-z]+)#([a-z0-9.-]+)#([0-9]+)#([a-z]+)#([0-9]+)#(.+)/i;a.aa.g=/@([a-z0-9]+)@@(.*)/i;a.aa.a=function(h){a.aa.h(window)};a.aa.h=function(h){!h||h&&h["Moat#PML#"+a.aa.e]||(h["Moat#PML#"+a.aa.e]=!0,a.h.e(h,"message",a.aa.i))};a.aa.j=function(h){h&&h&&h["Moat#PML#"+a.aa.e]&&(h["Moat#PML#"+a.aa.e]=!1,a.h.f(h,"message",a.aa.i))};a.aa.k=function(h){return a.aa.prefix+"#"+h+"#"};a.aa.l=function(h){var r=
h.match(a.aa.f);h=!1;r&&7==r.length&&(h={prefix:r[1],version:r[2],uid:r[3],type:r[4],request:r[5],data:r[6]},(r=h.data.match(a.aa.g))&&3==r.length&&(h.cmd=r[1],h.arg=r[2]));return h};a.aa.i=function(h){if(!(h&&h.origin&&h.data&&"string"===typeof h.data))return!1;if((msgData=a.aa.l(h.data))&&(!msgData||msgData.uid!=a.aa.e.toString())&&msgData.version==a.aa.b&&(h.msgData=msgData,msgData.request in a.aa.d&&(h.triggerCallback=function(){a.aa.d[msgData.request]&&(a.aa.d[msgData.request](h),a.aa.d[msgData.request]=
null,delete a.aa.d[msgData.request])}),a.aa.c[msgData.type]))for(var r=0,e=a.aa.c[msgData.type].length;r<e;r++)a.aa.c[msgData.type][r](h)};a.aa.m=function(h,r){a.aa.c[h]=[r]};a.aa.n=function(h,r,e,d){"object"==typeof r&&(r=a.d.an(r));d=d||v.floor(1E10*v.random());"function"==typeof e&&(a.aa.d[d]=e);h=a.aa.k(a.aa.b)+a.aa.e+"#"+h+"#"+d+"#"+r;return{request:d,msg:h}};a.aa.o=function(h,r,e,d,b){"object"==typeof e&&(e=a.d.an(e));return a.aa.n(h,"@"+r+"@@"+e,d,b)};a.aa.p=function(h,r,e){try{if(!h||!h||
!h.source)return!1;h.source.postMessage(a.aa.n(h.msgData.type,r,e,h.msgData.request).msg,"*")}catch(d){return!1}return!0};a.aa.q=function(h,r,e){try{var d=a.f.h(r||window.top);if(!d)return a.h.h(function(){a.aa.q(h,r,e)},200);for(var b=0;b<d.length;b++)e&&d[b]==window||d[b].postMessage(h,"*")}catch(n){}}})(s);(function(a){a.ab={};a.ab.b={};a.ab.b.a="CF";a.ab.b.b="CNF";a.ab.b.c="CNS";a.ab.a={};a.ab.a.d=!1;a.ab.a.e=[];a.ab.a.a=function(){if(!a.ab.a.d&&!a.e.a){var e=a.aa.n("moatframe","check",function(d){if((d=
a.d.ao(d.msgData.data))&&d.available&&!a.ab.a.d){a.e.u=!0;a.ab.a.d=!0;d="MoatFrame#perc#"+(new w).getTime();var b="MoatFrame#geom#"+(new w).getTime();a.h.b(a.ab.a.f,null,200,d);a.h.b(a.ab.a.g,null,200,b);a.ab.a.e.push(d);a.ab.a.e.push(b)}});a.aa.q(e.msg,!1,!0)}};var h=!1;a.ab.a.f=function(){if(!h){h=!0;var e=a.aa.n("moatframe","inViewPercentage",function(d){h=!1;a.ab.c(d.msgData.data)||(d=parseFloat(d.msgData.data),isNaN(d)||(a.ab.a.b=d))});a.aa.q(e.msg,!1,!0)}};var r=!1;a.ab.a.g=function(){if(!r){r=
!0;var e=a.aa.n("moatframe","geom",function(d){r=!1;a.ab.c(d.msgData.data)||(a.ab.a.c=a.d.ao(d.msgData.data))});a.aa.q(e.msg,!1,!0)}};a.ab.d=function(){a.aa.m("moatframe",a.ab.e);a.aa.q(a.aa.n("moatframe","ping").msg,!1,!0)};a.ab.f=function(){return a.e.a};a.ab.c=function(e){var d=!1;a.d.forEach(a.ab.b,function(a){if(a==e)return d=!0,!1});return d};a.ab.e=function(e){if(e.triggerCallback)e.triggerCallback(e);else if(a.ab.g[e.msgData.data])a.ab.g[e.msgData.data](e);else a.ab.c(e.msgData.data)||a.aa.p(e,
a.ab.b.b)};a.ab.g={};a.ab.g.check=function(e){var d={available:a.ab.h(window,e.source)&&a.ab.f()};a.aa.p(e,d)};a.ab.i={};a.ab.h=function(e,d,b){var h;if((h=a.ab.i[b])&&"boolean"==typeof h.isWithinReach)if(!h.win||a.f.g(h.win))h=!1;else return h.isWithinReach;h?h.isWithinReach=a.f.k(e,d):(h={win:e,isWithinReach:a.f.k(e,d)},a.ab.i[b]=h);return h.isWithinReach};a.ab.g.inViewPercentage=function(e){if(a.ab.h(window,e.source,e.msgData.uid)&&a.ab.f()){var d=e.source&&e.source.parent&&a.f.c(e.source.parent.document,
e.source);if(d&&(d=a.n.m(d))){a.aa.p(e,d.percv);return}a.aa.p(e,a.ab.b.a)}else a.aa.p(e,a.ab.b.c)};a.ab.g.ping=function(e){!a.e.a&&a.e.al()&&a.ab.a.a()};a.ab.g.geom=function(e){if(a.ab.h(window,e.source,e.msgData.uid)&&a.ab.f()){var d=e.source&&e.source.parent&&a.f.c(e.source.parent.document,e.source);if(d&&(d=a.n.m(d))&&d.visibleRect&&d.rect){a.aa.p(e,{w:d.cumulRect.width,h:d.cumulRect.height,vl:d.visibleRect.left,vt:d.visibleRect.top,vr:d.visibleRect.right,vb:d.visibleRect.bottom,el:d.cumulRect.left,
et:d.cumulRect.top,er:d.cumulRect.right,eb:d.cumulRect.bottom});return}a.aa.p(e,a.ab.b.a)}else a.aa.p(e,a.ab.b.c)}})(s);var La=s.e.o,Ea=s.e.a,ba=s.d.u(),Fa=s.e.g,E=s.e.c;if(s.d.ah()||s.d.ai())return!1;var Ma=s.focus.pageIsVisible();s.ac.a(E);var y=E[s.e.h];window[s.e.h]=y;var C="moatFoundBROLLNETWORK1",F="__moat__BROLLNETWORK1";s.aa.h(window);s.d.aa().isInApp||s.ab.d();var D=s.d.ar();s.e.protocol=s.d.aw(D);s.e.v&&(s.e.v=s.e.v.replace(/^js/i,"z"));"string"===typeof s.e.protocol&&(M=("https:"===
s.e.protocol?s.e.protocol:"http:")+"//video.moatads.com");M||(M="//video.moatads.com");s.ad.b(E);var Ga=s.d.ar(),Ha=!1,$;s.h.a(function(){if(Ha||Ga&&Ga.parentNode&&"HEAD"!==Ga.parentNode.nodeName)return s.d.ay("afs.moatads.com"),!0;if(document.body&&!Ha)return $=$||document.createElement("div"),$.style.position="absolute",$.style.overflow="hidden",document.body.insertBefore($,document.body.childNodes[0]||null),Ha=!0,document.body.removeChild&&document.body.removeChild($),s.d.ay("afs.moatads.com"),
!0},500,15);var H=function h(){s.h.f(window,"unload",h,"unloadFn");s.h.f(window,"beforeunload",h,"beforeunloadFn");U||(s.b.m(),U=!0)};s.d.p(Ea?E.location.href:E.document.referrer)||s.d.p(window.location.href);if(!D)return!1;s.m=D;s.d.ax(D);(function(h){function r(b){return b=1E3>parseFloat(b,10)?1E3*parseFloat(b,10):parseFloat(b,10)}function e(b){if(b.imaSDK)b=d(b);else{var e=b.adData.ids,h=r(b.adData.duration),e={moatClientLevel1:e.level1,moatClientLevel2:e.level2,moatClientLevel3:e.level3,moatClientLevel4:e.level4,
moatClientSlicer1:e.slicer1,moatClientSlicer2:e.slicer2,duration:h,startTime:s.e.g};b.adData.hasOwnProperty("fullScreen")?e.fullScreen=Number(b.adData.fullScreen):s.d.aa().isInApp&&(b=s.d.ab(),(h=document&&document.getElementById("mianahwvc"))&&b.w===h.offsetWidth&&b.h===h.offsetHeight&&(e.fullScreen=!0),h&&(10>=h.offsetWidth||10>=h.offsetHeight)&&(h.style.height="176px",h.style.width="320px"));s.g.c(e);b=e=s.g.h(e)}return b}function d(b,d){var e={},h=b.adsManager&&b.adsManager.getCurrentAd&&b.adsManager.getCurrentAd()||
!1,c,k,g;d&&(h=b.currentAd);if(!h)return s.g.c(e),e;c=h.getDuration();g=h.getAdId();(k=h.getWrapperAdSystems())&&k.length&&0<k.length&&"GDFP"===k[0]&&(h=h.getWrapperAdIds(),g=h[0]);e.moatClientLevel1="-";e.moatClientLevel2="-";e.moatClientLevel3=g||"-";e.moatClientLevel4="-";e.moatClientSlicer1=b.ids.slicer1||"-";e.moatClientSlicer2=b.ids.slicer2||"-";e.duration=r(c);e.startTime=s.e.g;s.g.c(e);return e}function b(b,d){var e,h,c;if(d){b&&b.moatCbs&&window[b.moatCbs]?(h=window[b.moatCbs],e=window[h.moatElToTrack]):
e=window.blahblahblacksheep_moatElToTrack;if(!e)return!1;if(h)if(h.getMoatIds&&e[h.getMoatIds])c=e[h.getMoatIds](),c.cbs=h;else return!1;else if(e.blahblahblacksheep_getMoatIds)c=e.blahblahblacksheep_getMoatIds();else return!1;c.isUsingVideoJsApi=!1;c.isFlashVideo=!0}else if(c=b.adData.ids,e=b.adData.ids.moateltotrack,c.cbs={pauseAd:c.cbPrefix+"_pauseAd",resumeAd:c.cbPrefix+"_resumeAd"},c.isUsingVideoJsApi=!0,c.isFlashVideo=!0,!e)return!1;s.g.c(c);s.g.g(c);c=s.g.h(c);s.v.j=c;s.y.ay(c);(c.usingWrapper||c.usingMoatWrapperSwf)&&
s.k.a(17,c);s.z.b(e,!1,!1,!1,c);return!0}ga=y.h;y.h++;y.i[ga]=!1;!1===y.zs&&(s.b.j(),y.zs=!0);s.b.l();s.h.e(window,"unload",H,"unloadFn");s.h.e(window,"beforeunload",H,"beforeunloadFn");s.h.g(s.i.b,100);s.d.i()&&s.h.h(P,3E5);"undefined"===typeof h&&(h=s.g.e(D));"undefined"===typeof h&&(h={});s.h.h(function(){!1===y.i[ga]&&(s.k.a(11,h),P())},1E4);s.v.l=d;s.v.n(function(b,d){"AdVideoComplete"==d.event&&3===d.calculatedQuartileState&&(b.ad.reachedAvoc=!0,s.x.x())});s.v.e=function(b){if(D){var d=D.src.match(/#(_moatTracker\d+|_moatApi\d+)/);
if(d&&d[1]){var e=b[d[1]];if(e)return b[d[1]]=!1,e}}}(window);if(s.v.e)if(s.v.e.adData&&s.v.e.adData.ids&&s.v.e.adData.ids.usingMoatWrapperSwf)b(s.v.e,!1);else if(s.v.e.adData&&s.v.e.adData.ids&&s.v.e.adData.ids.usingMoatAnalyticsSwf)b(s.v.e,!1);else{var n=e(s.v.e);n.isUsingVideoJsApi=!0;n.isFlashVideo=!1;s.v.j=n;s.v.e.imaSDK&&s.v.k(s.v.e);s.y.ay(n);s.v&&s.v.e&&s.v.e.imaSDK?s.v.j&&s.v.j.moatClientLevel3&&s.k.a(17,n):s.k.a(17,n);var k=window.blahblahblacksheep_moatElToTrack;k?(s.z.b(k,!1,!1,!1,n),window.blahblahblacksheep_moatElToTrack=
void 0):(k=s.v.m(D.parentNode))?s.z.b(k,!1,!1,!1,n):s.z.b(D.parentNode,!1,!1,!1,n)}else if(h.moatCbs){if(!b(h,!0))return!1}else if(window.blahblahblacksheep_moatElToTrack&&!b(h,!0))return!1})()})(Date,Math)}catch(e$$109){var ct=(new Date).getTime();window["Moat#ETS"]||(window["Moat#ETS"]=ct);window["Moat#EMC"]||(window["Moat#EMC"]=0);var et=ct-window["Moat#ETS"],hourElapsed=36E5<=et,msg=e$$109.name+" in closure (global): "+e$$109.message+", stack="+e$$109.stack;if(!hourElapsed&&10>window["Moat#EMC"]){window["Moat#EMC"]++;
try{var pixelDomain="video.moatads.com",pxSrc="//"+pixelDomain+"/pixel.gif?e=24&d=data%3Adata%3Adata%3Adata&i="+escape("undefined"===typeof AD_VIEW_HASH?"BROLLNETWORK1":AD_VIEW_HASH)+"&ac=1&k="+escape(msg)+"&ar="+escape("9dd2cc3-clean")+"&j="+escape(document.referrer)+"&cs="+(new Date).getTime(),px=new Image(1,1);px.src=pxSrc}catch(e$$110){}}else if(hourElapsed){window["Moat#EMC"]=1;window["Moat#ETS"]=ct;try{pixelDomain="video.moatads.com",pxSrc="//"+pixelDomain+"/pixel.gif?e=24&d=data%3Adata%3Adata%3Adata&i="+
escape("undefined"===typeof AD_VIEW_HASH?"BROLLNETWORK1":AD_VIEW_HASH)+"&ac=1&k="+escape(msg)+"&ar="+escape("9dd2cc3-clean")+"&j="+escape(document.referrer)+"&cs="+(new Date).getTime(),px=new Image(1,1),px.src=pxSrc}catch(e$$111){}}};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment