(function (){ var h,n=this,q=function(a){return void 0!==a},r=function(a,b,c){a=a.split(".");c=c||n;a[0]in c||!c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)!a.length&&q(b)?c[d]=b:c=c[d]?c[d]:c[d]={}},aa=function(a,b){for(var c=a.split("."),d=b||n,e;e=c.shift();)if(null!=d[e])d=d[e];else return null;return d},ba=function(){},ca=function(a){a.getInstance=function(){return a.wm?a.wm:a.wm=new a}},da=function(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof
Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==b&&"undefined"==typeof a.call)return"object";return b},
ea=function(a){return"array"==da(a)},fa=function(a){var b=da(a);return"array"==b||"object"==b&&"number"==typeof a.length},t=function(a){return"string"==typeof a},w=function(a){return"number"==typeof a},x=function(a){return"function"==da(a)},ga=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},ha=function(a,b,c){return a.call.apply(a.bind,arguments)},ia=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=
Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}},z=function(a,b,c){z=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ha:ia;return z.apply(null,arguments)},ja=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}},A=Date.now||function(){return+new Date},B=function(a,b){function c(){}
c.prototype=b.prototype;a.D=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.Su=function(a,c,f){for(var g=Array(arguments.length-2),k=2;k<arguments.length;k++)g[k-2]=arguments[k];return b.prototype[c].apply(a,g)}};var ka;var la=function(a,b){return 0==a.lastIndexOf(b,0)},ma=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},na=function(a){return/^[\s\xa0]*$/.test(a)},oa=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},pa=function(a){return decodeURIComponent(a.replace(/\+/g," "))},ya=function(a){if(!qa.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(ra,"&amp;"));-1!=a.indexOf("<")&&(a=a.replace(sa,"&lt;"));-1!=a.indexOf(">")&&(a=a.replace(ta,
"&gt;"));-1!=a.indexOf('"')&&(a=a.replace(ua,"&quot;"));-1!=a.indexOf("'")&&(a=a.replace(va,"&#39;"));-1!=a.indexOf("\x00")&&(a=a.replace(wa,"&#0;"));return a},ra=/&/g,sa=/</g,ta=/>/g,ua=/"/g,va=/'/g,wa=/\x00/g,qa=/[\x00&<>"']/,za=function(a,b){a.length>b&&(a=a.substring(0,b-3)+"...");return a},Aa=function(a,b){return-1!=a.toLowerCase().indexOf(b.toLowerCase())},Ba=String.prototype.repeat?function(a,b){return a.repeat(b)}:function(a,b){return Array(b+1).join(a)},Ca=function(a){a=q(void 0)?a.toFixed(void 0):
String(a);var b=a.indexOf(".");-1==b&&(b=a.length);return Ba("0",Math.max(0,2-b))+a},Da=function(a){return null==a?"":String(a)},Ea=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^A()).toString(36)},Ga=function(a,b){for(var c=0,d=oa(String(a)).split("."),e=oa(String(b)).split("."),f=Math.max(d.length,e.length),g=0;0==c&&g<f;g++){var k=d[g]||"",l=e[g]||"",m=RegExp("(\\d*)(\\D*)","g"),u=RegExp("(\\d*)(\\D*)","g");do{var v=m.exec(k)||
["","",""],K=u.exec(l)||["","",""];if(0==v[0].length&&0==K[0].length)break;c=Fa(0==v[1].length?0:parseInt(v[1],10),0==K[1].length?0:parseInt(K[1],10))||Fa(0==v[2].length,0==K[2].length)||Fa(v[2],K[2])}while(0==c)}return c},Fa=function(a,b){return a<b?-1:a>b?1:0},Ha=2147483648*Math.random()|0,Ia=function(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})},Ja=function(a){var b=t(void 0)?"undefined".replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08"):
"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})};var Ka=function(a,b,c,d,e,f,g){var k="";a&&(k+=a+":");c&&(k+="//",b&&(k+=b+"@"),k+=c,d&&(k+=":"+d));e&&(k+=e);f&&(k+="?"+f);g&&(k+="#"+g);return k},La=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,Ma=function(a){return a?decodeURI(a):a},Na=function(a,b){return b.match(La)[a]||null},Oa=function(a,b){if(a)for(var c=a.split("&"),d=0;d<c.length;d++){var e=c[d].indexOf("="),f,g=null;0<=e?(f=c[d].substring(0,e),g=c[d].substring(e+1)):f=
c[d];b(f,g?pa(g):"")}},Pa=function(a){if(a[1]){var b=a[0],c=b.indexOf("#");0<=c&&(a.push(b.substr(c)),a[0]=b=b.substr(0,c));c=b.indexOf("?");0>c?a[1]="?":c==b.length-1&&(a[1]=void 0)}return a.join("")},Qa=function(a,b,c){if(ea(b))for(var d=0;d<b.length;d++)Qa(a,String(b[d]),c);else null!=b&&c.push("&",a,""===b?"":"=",encodeURIComponent(String(b)))},Ra=function(a,b,c){for(c=c||0;c<b.length;c+=2)Qa(b[c],b[c+1],a);return a},Sa=function(a,b){return Pa(2==arguments.length?Ra([a],arguments[1],0):Ra([a],
arguments,1))},Ta=function(a,b,c,d){for(var e=c.length;0<=(b=a.indexOf(c,b))&&b<d;){var f=a.charCodeAt(b-1);if(38==f||63==f)if(f=a.charCodeAt(b+e),!f||61==f||38==f||35==f)return b;b+=e+1}return-1},Ua=/#|$/,Va=function(a,b){var c=a.search(Ua),d=Ta(a,0,b,c);if(0>d)return null;var e=a.indexOf("&",d);if(0>e||e>c)e=c;d+=b.length+1;return pa(a.substr(d,e-d))},Wa=/[?&]($|#)/,Xa=function(a,b,c){for(var d=a.search(Ua),e=0,f,g=[];0<=(f=Ta(a,e,b,d));)g.push(a.substring(e,f)),e=Math.min(a.indexOf("&",f)+1||d,
d);g.push(a.substr(e));a=[g.join("").replace(Wa,"$1"),"&",b];null!=c&&a.push("=",encodeURIComponent(String(c)));return Pa(a)};var Ya=Array.prototype.indexOf?function(a,b,c){return Array.prototype.indexOf.call(a,b,c)}:function(a,b,c){c=null==c?0:0>c?Math.max(0,a.length+c):c;if(t(a))return t(b)&&1==b.length?a.indexOf(b,c):-1;for(;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Za=Array.prototype.lastIndexOf?function(a,b,c){return Array.prototype.lastIndexOf.call(a,b,null==c?a.length-1:c)}:function(a,b,c){c=null==c?a.length-1:c;0>c&&(c=Math.max(0,a.length+c));if(t(a))return t(b)&&1==b.length?a.lastIndexOf(b,c):-1;for(;0<=
c;c--)if(c in a&&a[c]===b)return c;return-1},C=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=t(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},$a=Array.prototype.filter?function(a,b,c){return Array.prototype.filter.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=[],f=0,g=t(a)?a.split(""):a,k=0;k<d;k++)if(k in g){var l=g[k];b.call(c,l,k,a)&&(e[f++]=l)}return e},ab=Array.prototype.map?function(a,b,c){return Array.prototype.map.call(a,
b,c)}:function(a,b,c){for(var d=a.length,e=Array(d),f=t(a)?a.split(""):a,g=0;g<d;g++)g in f&&(e[g]=b.call(c,f[g],g,a));return e},bb=Array.prototype.some?function(a,b,c){return Array.prototype.some.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=t(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;return!1},db=function(a,b){var c=cb(a,b,void 0);return 0>c?null:t(a)?a.charAt(c):a[c]},cb=function(a,b,c){for(var d=a.length,e=t(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,
a))return f;return-1},D=function(a,b){return 0<=Ya(a,b)},fb=function(){var a=eb;if(!ea(a))for(var b=a.length-1;0<=b;b--)delete a[b];a.length=0},hb=function(a,b){var c=Ya(a,b),d;(d=0<=c)&&gb(a,c);return d},gb=function(a,b){Array.prototype.splice.call(a,b,1)},ib=function(a){return Array.prototype.concat.apply(Array.prototype,arguments)},jb=function(a){var b=a.length;if(0<b){for(var c=Array(b),d=0;d<b;d++)c[d]=a[d];return c}return[]},kb=function(a,b){for(var c=1;c<arguments.length;c++){var d=arguments[c];
if(fa(d)){var e=a.length||0,f=d.length||0;a.length=e+f;for(var g=0;g<f;g++)a[e+g]=d[g]}else a.push(d)}},lb=function(a,b,c){return 2>=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)},mb=function(a){for(var b=[],c=0;c<a;c++)b[c]=0;return b},nb=function(a){for(var b=[],c=0;c<arguments.length;c++){var d=arguments[c];if(ea(d))for(var e=0;e<d.length;e+=8192)for(var f=nb.apply(null,lb(d,e,e+8192)),g=0;g<f.length;g++)b.push(f[g]);else b.push(d)}return b};var ob=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},qb=function(a){var b=pb,c;for(c in b)if(a.call(void 0,b[c],c,b))return!0;return!1},rb=function(a){var b=0,c;for(c in a)b++;return b},sb=function(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b},tb=function(a){var b=[],c=0,d;for(d in a)b[c++]=d;return b},ub=function(a,b){for(var c=fa(b),d=c?b:arguments,c=c?0:1;c<d.length&&(a=a[d[c]],q(a));c++);return a},vb=function(a,b){return null!==a&&b in a},xb=function(a){var b=wb,c;for(c in b)if(a.call(void 0,
b[c],c,b))return c},yb=function(a){for(var b in a)return!1;return!0},zb=function(a,b,c){return null!==a&&b in a?a[b]:c},Ab=function(a){var b={},c;for(c in a)b[c]=a[c];return b},Bb="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),Cb=function(a,b){for(var c,d,e=1;e<arguments.length;e++){d=arguments[e];for(c in d)a[c]=d[c];for(var f=0;f<Bb.length;f++)c=Bb[f],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var Db;a:{var Eb=n.navigator;if(Eb){var Fb=Eb.userAgent;if(Fb){Db=Fb;break a}}Db=""}var E=function(a){return-1!=Db.indexOf(a)};var Gb=function(){return(E("Chrome")||E("CriOS"))&&!E("Edge")};var Ib=function(){this.Ln="";this.Wo=Hb},Hb={};Ib.prototype.Yq=function(a){this.Ln=a;return this};var Kb=function(){this.us="";this.Xo=Jb},Jb={};var Nb=function(){this.vs="";this.Yo=Lb},Lb={};var Ob=function(a){Ob[" "](a);return a};Ob[" "]=ba;var Pb=function(a,b){try{return Ob(a[b]),!0}catch(c){}return!1};var Qb=function(a){try{return!!a&&null!=a.location.href&&Pb(a,"foo")}catch(b){return!1}},Rb=function(a,b,c){for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&b.call(c,a[d],d,a)},Sb=/https?:\/\/[^\/]+/,Tb=function(){var a=n;try{for(var b=null;b!=a;b=a,a=a.parent)switch(a.location.protocol){case "https:":return!0;case "http:":case "file:":return!1}}catch(c){}return!0},Vb=function(){var a=Ub;if(!a)return"";var b=/.*[&#?]google_debug(=[^&]*)?(&.*)?$/;try{var c=b.exec(decodeURIComponent(a));if(c)return c[1]&&
1<c[1].length?c[1].substring(1):"true"}catch(d){}return""};var Wb=function(a,b){this.Fh=a;this.Gh=b},Xb=function(a,b,c){this.url=a;this.Wh=b;this.Km=!!c;this.depth=w(void 0)?void 0:null},Zb=function(a){a=a?a:Yb();for(var b=new Xb(n.location.href,n,!1),c=a.length-1,d=c;0<=d;--d){var e=a[d];if(e.url&&!e.Km){b=e;break}}d=null;e=a.length&&a[c].url;0!=b.depth&&e&&(d=a[c]);return new Wb(b,d)},Yb=function(){var a=n,b=[],c,d=null;do{var e=a;Qb(e)?(c=e.location.href,d=e.document&&e.document.referrer||null):(c=d,d=null);b.push(new Xb(c||"",e));try{a=e.parent}catch(f){a=
null}}while(a&&e!=a);a=0;for(e=b.length-1;a<=e;++a)b[a].depth=e-a;e=n;if(e.location&&e.location.ancestorOrigins&&e.location.ancestorOrigins.length==b.length-1)for(a=1;a<b.length;++a)c=b[a],c.url||(c.url=e.location.ancestorOrigins[a-1]||"",c.Km=!0);return b};var $b=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d||!1):a.attachEvent&&a.attachEvent("on"+b,c)},ac=function(a,b,c){a.removeEventListener?a.removeEventListener(b,c,!1):a.detachEvent&&a.detachEvent("on"+b,c)};var bc=function(a,b,c,d,e){this.Xm=c||4E3;this.wf=a||"&";this.lp=b||",$";this.Kh=q(d)?d:"trn";this.Ws=e||null;this.hl=!1;this.Je={};this.Ar=0;this.Ld=[]},cc=function(a,b){var c={};c[a]=b;return[c]},dc=function(a,b,c,d){a.Ld.push(b);a.Je[b]=cc(c,d)};
bc.prototype.getUrl=function(a,b,c,d){a=a+"//"+b+c;var e=ec(this)-c.length-d.length;if(0>e)return"";this.Ld.sort(function(a,b){return a-b});c=null;b="";for(var f=0;f<this.Ld.length;f++)for(var g=this.Ld[f],k=this.Je[g],l=0;l<k.length;l++){if(!e){c=null==c?g:c;break}var m=fc(k[l],this.wf,this.lp);if(m){m=b+m;if(e>=m.length){e-=m.length;a+=m;b=this.wf;break}else this.hl&&(b=e,m[b-1]==this.wf&&--b,a+=m.substr(0,b),b=this.wf,e=0);c=null==c?g:c}}f="";this.Kh&&null!=c&&(f=b+this.Kh+"="+(this.Ws||c));return a+
f+d};
var ec=function(a){if(!a.Kh)return a.Xm;var b=1,c;for(c in a.Je)b=c.length>b?c.length:b;return a.Xm-a.Kh.length-b-a.wf.length-1},fc=function(a,b,c,d,e){var f=[];Rb(a,function(a,k){var l=gc(a,b,c,d,e);l&&f.push(k+"="+l)});return f.join(b)},gc=function(a,b,c,d,e){if(null==a)return"";b=b||"&";c=c||",$";"string"==typeof c&&(c=c.split(""));if(a instanceof Array){if(d=d||0,d<c.length){for(var f=[],g=0;g<a.length;g++)f.push(gc(a[g],b,c,d+1,e));return f.join(c[d])}}else if("object"==typeof a)return e=e||
0,2>e?encodeURIComponent(fc(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))};var ic=function(a,b,c,d,e,f){try{var g;c instanceof bc?g=c:(g=new bc,Rb(c,function(a,b){var c=g,d=c.Ar++,e=cc(b,a);c.Ld.push(d);c.Je[d]=e}));if((d?a.Ls:Math.random())<(e||a.Gp)){var k=g.getUrl(a.ws,a.La,a.Lc+b+"&","");"undefined"===typeof f?hc(n,k):hc(n,k,f)}}catch(l){}},hc=function(a,b,c){a.google_image_requests||(a.google_image_requests=[]);var d=a.document.createElement("img");if(c){var e=function(a){c(a);ac(d,"load",e);ac(d,"error",e)};$b(d,"load",e);$b(d,"error",e)}d.src=b;a.google_image_requests.push(d)};var jc=function(a,b,c){this.An=a;this.Rp=b;this.wk=c;this.Zh=null;this.Qp=this.Pg;this.ro=!1},kc=function(a,b,c){this.message=a;this.fileName=b||"";this.lineNumber=c||-1},mc=function(a,b,c,d,e){var f;try{f=c()}catch(l){var g=a.wk;try{var k=lc(l),g=(e||a.Qp).call(a,b,k,void 0,d)}catch(m){a.Pg("pAR",m)}if(!g)throw l;}finally{}return f},oc=function(a,b,c,d){var e=nc;return function(){for(var f=[],g=0;g<arguments.length;++g)f[g]=arguments[g];return mc(e,a,function(){return b.apply(c,f)},d)}};
jc.prototype.Pg=function(a,b,c,d,e){try{var f=e||this.Rp,g=new bc;g.hl=!0;dc(g,1,"context",a);b instanceof kc||(b=lc(b));dc(g,2,"msg",b.message.substring(0,512));b.fileName&&dc(g,3,"file",b.fileName);0<b.lineNumber&&dc(g,4,"line",b.lineNumber.toString());b={};if(this.Zh)try{this.Zh(b)}catch(l){}if(d)try{d(b)}catch(l){}d=[b];g.Ld.push(5);g.Je[5]=d;var k=Zb();k.Gh&&dc(g,6,"top",k.Gh.url||"");dc(g,7,"url",k.Fh.url||"");ic(this.An,f,g,this.ro,c)}catch(l){try{ic(this.An,f,{context:"ecmserr",rctx:a,msg:pc(l),
url:k.Fh.url},this.ro,c)}catch(m){}}return this.wk};var lc=function(a){return new kc(pc(a),a.fileName,a.lineNumber)},pc=function(a){var b=a.toString();a.name&&-1==b.indexOf(a.name)&&(b+=": "+a.name);a.message&&-1==b.indexOf(a.message)&&(b+=": "+a.message);if(a.stack){a=a.stack;var c=b;try{-1==a.indexOf(c)&&(a=c+"\n"+a);for(var d;a!=d;)d=a,a=a.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");b=a.replace(/\n */g,"\n")}catch(e){b=c}}return b};var qc=function(){return E("iPhone")&&!E("iPod")&&!E("iPad")};var rc=E("Opera"),F=E("Trident")||E("MSIE"),sc=E("Edge"),tc=E("Gecko")&&!(Aa(Db,"WebKit")&&!E("Edge"))&&!(E("Trident")||E("MSIE"))&&!E("Edge"),uc=Aa(Db,"WebKit")&&!E("Edge"),vc=E("Macintosh"),wc=E("Android"),xc=qc(),yc=E("iPad"),zc=function(){var a=n.document;return a?a.documentMode:void 0},Ac;
a:{var Bc="",Cc=function(){var a=Db;if(tc)return/rv\:([^\);]+)(\)|;)/.exec(a);if(sc)return/Edge\/([\d\.]+)/.exec(a);if(F)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(uc)return/WebKit\/(\S+)/.exec(a);if(rc)return/(?:Version)[ \/]?(\S+)/.exec(a)}();Cc&&(Bc=Cc?Cc[1]:"");if(F){var Dc=zc();if(null!=Dc&&Dc>parseFloat(Bc)){Ac=String(Dc);break a}}Ac=Bc}var Ec=Ac,Fc={},Gc=function(a){return Fc[a]||(Fc[a]=0<=Ga(Ec,a))},Hc=n.document,Ic=Hc&&F?zc()||("CSS1Compat"==Hc.compatMode?parseInt(Ec,10):5):void 0;var G=function(a,b){this.x=q(a)?a:0;this.y=q(b)?b:0};G.prototype.clone=function(){return new G(this.x,this.y)};G.prototype.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this};G.prototype.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};G.prototype.scale=function(a,b){var c=w(b)?b:a;this.x*=a;this.y*=c;return this};var H=function(a,b){this.width=a;this.height=b};h=H.prototype;h.clone=function(){return new H(this.width,this.height)};h.ub=function(){return this.width*this.height};h.mp=function(){return this.width/this.height};h.md=function(){return!this.ub()};h.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};h.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};
h.scale=function(a,b){var c=w(b)?b:a;this.width*=a;this.height*=c;return this};var Jc=!F||9<=Number(Ic);!tc&&!F||F&&9<=Number(Ic)||tc&&Gc("1.9.1");var Kc=F&&!Gc("9");var Nc=function(a){return a?new Lc(Mc(a)):ka||(ka=new Lc)},Oc=function(a,b){var c=b&&"*"!=b?b.toUpperCase():"";return a.querySelectorAll&&a.querySelector&&c?a.querySelectorAll(c+""):a.getElementsByTagName(c||"*")},Qc=function(a,b){ob(b,function(b,d){"style"==d?a.style.cssText=b:"class"==d?a.className=b:"for"==d?a.htmlFor=b:Pc.hasOwnProperty(d)?a.setAttribute(Pc[d],b):la(d,"aria-")||la(d,"data-")?a.setAttribute(d,b):a[d]=b})},Pc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",
frameborder:"frameBorder",height:"height",maxlength:"maxLength",nonce:"nonce",role:"role",rowspan:"rowSpan",type:"type",usemap:"useMap",valign:"vAlign",width:"width"},Rc=function(a){a=a.document;a="CSS1Compat"==a.compatMode?a.documentElement:a.body;return new H(a.clientWidth,a.clientHeight)},Sc=function(a){var b=a.scrollingElement?a.scrollingElement:uc||"CSS1Compat"!=a.compatMode?a.body||a.documentElement:a.documentElement;a=a.parentWindow||a.defaultView;return F&&Gc("10")&&a.pageYOffset!=b.scrollTop?
new G(b.scrollLeft,b.scrollTop):new G(a.pageXOffset||b.scrollLeft,a.pageYOffset||b.scrollTop)},I=function(a){return a?a.parentWindow||a.defaultView:window},Uc=function(a,b,c){return Tc(document,arguments)},Tc=function(a,b){var c=b[0],d=b[1];if(!Jc&&d&&(d.name||d.type)){c=["<",c];d.name&&c.push(' name="',ya(d.name),'"');if(d.type){c.push(' type="',ya(d.type),'"');var e={};Cb(e,d);delete e.type;d=e}c.push(">");c=c.join("")}c=a.createElement(c);d&&(t(d)?c.className=d:ea(d)?c.className=d.join(" "):Qc(c,
d));2<b.length&&Vc(a,c,b);return c},Vc=function(a,b,c){function d(c){c&&b.appendChild(t(c)?a.createTextNode(c):c)}for(var e=2;e<c.length;e++){var f=c[e];!fa(f)||ga(f)&&0<f.nodeType?d(f):C(Wc(f)?jb(f):f,d)}},Xc=function(a){for(var b;b=a.firstChild;)a.removeChild(b)},Yc=function(a){a&&a.parentNode&&a.parentNode.removeChild(a)},Zc=function(a,b){if(!a||!b)return!1;if(a.contains&&1==b.nodeType)return a==b||a.contains(b);if("undefined"!=typeof a.compareDocumentPosition)return a==b||!!(a.compareDocumentPosition(b)&
16);for(;b&&a!=b;)b=b.parentNode;return b==a},Mc=function(a){return 9==a.nodeType?a:a.ownerDocument||a.document},$c=function(a){try{return a.contentWindow||(a.contentDocument?I(a.contentDocument):null)}catch(b){}return null},ad=function(a,b){if("textContent"in a)a.textContent=b;else if(3==a.nodeType)a.data=b;else if(a.firstChild&&3==a.firstChild.nodeType){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else Xc(a),a.appendChild(Mc(a).createTextNode(String(b)))},bd={SCRIPT:1,
STYLE:1,HEAD:1,IFRAME:1,OBJECT:1},cd={IMG:" ",BR:"\n"},dd=function(a,b,c){if(!(a.nodeName in bd))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in cd)b.push(cd[a.nodeName]);else for(a=a.firstChild;a;)dd(a,b,c),a=a.nextSibling},Wc=function(a){if(a&&"number"==typeof a.length){if(ga(a))return"function"==typeof a.item||"string"==typeof a.item;if(x(a))return"function"==typeof a.item}return!1},Lc=function(a){this.ia=a||n.document||document};
h=Lc.prototype;h.ef=Nc;h.oa=function(a){return t(a)?this.ia.getElementById(a):a};h.uc=function(a,b,c){return Tc(this.ia,arguments)};h.createElement=function(a){return this.ia.createElement(a)};h.createTextNode=function(a){return this.ia.createTextNode(String(a))};h.appendChild=function(a,b){a.appendChild(b)};h.On=Xc;h.contains=Zc;var ed=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};h=ed.prototype;h.getWidth=function(){return this.right-this.left};h.getHeight=function(){return this.bottom-this.top};h.clone=function(){return new ed(this.top,this.right,this.bottom,this.left)};h.contains=function(a){return this&&a?a instanceof ed?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1};
h.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};h.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this};h.scale=function(a,b){var c=w(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};var fd=function(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d};fd.prototype.clone=function(){return new fd(this.left,this.top,this.width,this.height)};var gd=function(a){return new ed(a.top,a.left+a.width,a.top+a.height,a.left)};h=fd.prototype;h.contains=function(a){return a instanceof fd?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height};
h.Na=function(){return new H(this.width,this.height)};h.floor=function(){this.left=Math.floor(this.left);this.top=Math.floor(this.top);this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};h.round=function(){this.left=Math.round(this.left);this.top=Math.round(this.top);this.width=Math.round(this.width);this.height=Math.round(this.height);return this};h.scale=function(a,b){var c=w(b)?b:a;this.left*=a;this.width*=a;this.top*=c;this.height*=c;return this};var J=function(a,b,c){if(t(b))(b=hd(a,b))&&(a.style[b]=c);else for(var d in b){c=a;var e=b[d],f=hd(c,d);f&&(c.style[f]=e)}},id={},hd=function(a,b){var c=id[b];if(!c){var d=Ia(b),c=d;void 0===a.style[d]&&(d=(uc?"Webkit":tc?"Moz":F?"ms":rc?"O":null)+Ja(d),void 0!==a.style[d]&&(c=d));id[b]=c}return c},jd=function(a,b){var c;a:{c=Mc(a);if(c.defaultView&&c.defaultView.getComputedStyle&&(c=c.defaultView.getComputedStyle(a,null))){c=c[b]||c.getPropertyValue(b)||"";break a}c=""}return c||(a.currentStyle?
a.currentStyle[b]:null)||a.style&&a.style[b]},ld=function(a,b,c){var d;b instanceof G?(d=b.x,b=b.y):(d=b,b=c);a.style.left=kd(d,!1);a.style.top=kd(b,!1)},md=function(a){var b;try{b=a.getBoundingClientRect()}catch(c){return{left:0,top:0,right:0,bottom:0}}F&&a.ownerDocument.body&&(a=a.ownerDocument,b.left-=a.documentElement.clientLeft+a.body.clientLeft,b.top-=a.documentElement.clientTop+a.body.clientTop);return b},nd=function(a){var b=Mc(a),c=new G(0,0),d;d=b?Mc(b):document;d=!F||9<=Number(Ic)||"CSS1Compat"==
Nc(d).ia.compatMode?d.documentElement:d.body;if(a==d)return c;a=md(a);b=Sc(Nc(b).ia);c.x=a.left+b.x;c.y=a.top+b.y;return c},od=function(a,b){var c=new G(0,0),d=I(Mc(a));if(!Pb(d,"parent"))return c;var e=a;do{var f;d==b?f=nd(e):(f=md(e),f=new G(f.left,f.top));c.x+=f.x;c.y+=f.y}while(d&&d!=b&&d!=d.parent&&(e=d.frameElement)&&(d=d.parent));return c},pd=function(a,b,c){if(b instanceof H)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");a.style.width=kd(b,!0);a.style.height=
kd(c,!0)},kd=function(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a},rd=function(a){var b=qd;if("none"!=jd(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a},qd=function(a){var b=a.offsetWidth,c=a.offsetHeight,d=uc&&!b&&!c;return q(b)&&!d||!a.getBoundingClientRect?new H(b,c):(a=md(a),new H(a.right-a.left,a.bottom-a.top))},td=function(a){a=
(new Ib).Yq(a);var b=Nc(void 0),c,d=b.ia;F&&d.createStyleSheet?(c=d.createStyleSheet(),sd(c,a)):(d=Oc(b.ia,"HEAD")[0],d||(c=Oc(b.ia,"BODY")[0],d=b.uc("HEAD"),c.parentNode.insertBefore(d,c)),c=b.uc("STYLE"),sd(c,a),b.appendChild(d,c));return c},ud=function(a){Yc(a.ownerNode||a.owningElement||a)},sd=function(a,b){var c;b instanceof Ib&&b.constructor===Ib&&b.Wo===Hb?c=b.Ln:(da(b),c="type_error:SafeStyleSheet");F&&q(a.cssText)?a.cssText=c:ad(a,c)};var vd=document,L=window;var wd=!!window.google_async_iframe_id,xd=wd&&window.parent||window,yd=function(){if(wd&&!Qb(xd)){var a="."+vd.domain;try{for(;2<a.split(".").length&&!Qb(xd);)vd.domain=a=a.substr(a.indexOf(".")+1),xd=window.parent}catch(b){}Qb(xd)||(xd=window)}return xd};var zd,nc;zd=new function(){this.ws="http:"===L.location.protocol?"http:":"https:";this.La="pagead2.googlesyndication.com";this.Lc="/pagead/gen_204?id=";this.Gp=.01;this.Ls=Math.random()};nc=new jc(zd,"jserror",!0);var Ad=nc.Pg,Bd=function(a){ic(zd,"jserror",a,!1,void 0,void 0)},Cd=function(a,b,c,d){return oc(a,b,c,d)},Dd=function(a,b){return oc(a,b,void 0,void 0)};var Ed=function(){this.Yd=this.Yd;this.ud=this.ud};Ed.prototype.Yd=!1;Ed.prototype.K=function(){this.Yd||(this.Yd=!0,this.A())};var Gd=function(a,b){var c=ja(Fd,b);a.Yd?c.call(void 0):(a.ud||(a.ud=[]),a.ud.push(q(void 0)?z(c,void 0):c))};Ed.prototype.A=function(){if(this.ud)for(;this.ud.length;)this.ud.shift()()};var Fd=function(a){a&&"function"==typeof a.K&&a.K()};var M=function(a,b){this.type=a;this.currentTarget=this.target=b;this.defaultPrevented=this.yd=!1;this.Un=!0};M.prototype.stopPropagation=function(){this.yd=!0};M.prototype.preventDefault=function(){this.defaultPrevented=!0;this.Un=!1};var Hd=function(a,b){this.$m=a;this.xn=b||{}},Id=function(a,b){M.call(this,a.$m,b);this.ra=a.xn||{}};B(Id,M);var Jd=function(a){return function(){return a}};var Kd="StopIteration"in n?n.StopIteration:{message:"StopIteration",stack:""},Ld=function(){};Ld.prototype.next=function(){throw Kd;};Ld.prototype.Ee=function(){return this};
var Md=function(a){if(a instanceof Ld)return a;if("function"==typeof a.Ee)return a.Ee(!1);if(fa(a)){var b=0,c=new Ld;c.next=function(){for(;;){if(b>=a.length)throw Kd;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");},Nd=function(a,b,c){if(fa(a))try{C(a,b,c)}catch(d){if(d!==Kd)throw d;}else{a=Md(a);try{for(;;)b.call(c,a.next(),void 0,a)}catch(d){if(d!==Kd)throw d;}}};var Od=function(a,b){this.hb={};this.P=[];this.Wf=this.O=0;var c=arguments.length;if(1<c){if(c%2)throw Error("Uneven number of arguments");for(var d=0;d<c;d+=2)this.set(arguments[d],arguments[d+1])}else a&&this.addAll(a)};h=Od.prototype;h.cb=function(){return this.O};h.R=function(){Pd(this);for(var a=[],b=0;b<this.P.length;b++)a.push(this.hb[this.P[b]]);return a};h.Ab=function(){Pd(this);return this.P.concat()};h.Za=function(a){return Qd(this.hb,a)};h.md=function(){return 0==this.O};
h.clear=function(){this.hb={};this.Wf=this.O=this.P.length=0};h.remove=function(a){return Qd(this.hb,a)?(delete this.hb[a],this.O--,this.Wf++,this.P.length>2*this.O&&Pd(this),!0):!1};var Pd=function(a){if(a.O!=a.P.length){for(var b=0,c=0;b<a.P.length;){var d=a.P[b];Qd(a.hb,d)&&(a.P[c++]=d);b++}a.P.length=c}if(a.O!=a.P.length){for(var e={},c=b=0;b<a.P.length;)d=a.P[b],Qd(e,d)||(a.P[c++]=d,e[d]=1),b++;a.P.length=c}};h=Od.prototype;h.get=function(a,b){return Qd(this.hb,a)?this.hb[a]:b};
h.set=function(a,b){Qd(this.hb,a)||(this.O++,this.P.push(a),this.Wf++);this.hb[a]=b};h.addAll=function(a){var b;a instanceof Od?(b=a.Ab(),a=a.R()):(b=tb(a),a=sb(a));for(var c=0;c<b.length;c++)this.set(b[c],a[c])};h.forEach=function(a,b){for(var c=this.Ab(),d=0;d<c.length;d++){var e=c[d],f=this.get(e);a.call(b,f,e,this)}};h.clone=function(){return new Od(this)};
h.Ee=function(a){Pd(this);var b=0,c=this.Wf,d=this,e=new Ld;e.next=function(){if(c!=d.Wf)throw Error("The map has changed since the iterator was created");if(b>=d.P.length)throw Kd;var e=d.P[b++];return a?e:d.hb[e]};return e};var Qd=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var Rd=function(a){if(a.R&&"function"==typeof a.R)return a.R();if(t(a))return a.split("");if(fa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return sb(a)},Sd=function(a){if(a.Ab&&"function"==typeof a.Ab)return a.Ab();if(!a.R||"function"!=typeof a.R){if(fa(a)||t(a)){var b=[];a=a.length;for(var c=0;c<a;c++)b.push(c);return b}return tb(a)}},Td=function(a,b,c){if(a.forEach&&"function"==typeof a.forEach)a.forEach(b,c);else if(fa(a)||t(a))C(a,b,c);else for(var d=Sd(a),e=Rd(a),f=e.length,
g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)};var N=function(a,b){this.La=this.Jd=this.Db="";this.se=null;this.zc=this.Lc="";this.Pa=this.hr=!1;var c;if(a instanceof N)this.Pa=q(b)?b:a.Pa,Ud(this,a.Db),c=a.Jd,Vd(this),this.Jd=c,Wd(this,a.La),Xd(this,a.se),c=a.getPath(),Vd(this),this.Lc=c,Yd(this,a.ma.clone()),c=a.zc,Vd(this),this.zc=c;else if(a&&(c=String(a).match(La))){this.Pa=!!b;Ud(this,c[1]||"",!0);var d=c[2]||"";Vd(this);this.Jd=Zd(d);Wd(this,c[3]||"",!0);Xd(this,c[4]);d=c[5]||"";Vd(this);this.Lc=Zd(d,!0);Yd(this,c[6]||"",!0);c=c[7]||"";
Vd(this);this.zc=Zd(c)}else this.Pa=!!b,this.ma=new $d(null,0,this.Pa)};
N.prototype.toString=function(){var a=[],b=this.Db;b&&a.push(ae(b,be,!0),":");var c=this.La;if(c||"file"==b)a.push("//"),(b=this.Jd)&&a.push(ae(b,be,!0),"@"),a.push(encodeURIComponent(String(c)).replace(/%25([0-9a-fA-F]{2})/g,"%$1")),c=this.se,null!=c&&a.push(":",String(c));if(c=this.getPath())this.La&&"/"!=c.charAt(0)&&a.push("/"),a.push(ae(c,"/"==c.charAt(0)?ce:de,!0));(c=this.ma.toString())&&a.push("?",c);(c=this.zc)&&a.push("#",ae(c,ee));return a.join("")};
N.prototype.resolve=function(a){var b=this.clone(),c=!!a.Db;c?Ud(b,a.Db):c=!!a.Jd;if(c){var d=a.Jd;Vd(b);b.Jd=d}else c=!!a.La;c?Wd(b,a.La):c=null!=a.se;d=a.getPath();if(c)Xd(b,a.se);else if(c=!!a.Lc){if("/"!=d.charAt(0))if(this.La&&!this.Lc)d="/"+d;else{var e=b.getPath().lastIndexOf("/");-1!=e&&(d=b.getPath().substr(0,e+1)+d)}e=d;if(".."==e||"."==e)d="";else if(-1!=e.indexOf("./")||-1!=e.indexOf("/.")){for(var d=la(e,"/"),e=e.split("/"),f=[],g=0;g<e.length;){var k=e[g++];"."==k?d&&g==e.length&&f.push(""):
".."==k?((1<f.length||1==f.length&&""!=f[0])&&f.pop(),d&&g==e.length&&f.push("")):(f.push(k),d=!0)}d=f.join("/")}else d=e}c?(Vd(b),b.Lc=d):c=""!==a.ma.toString();c?Yd(b,Zd(a.ma.toString())):c=!!a.zc;c&&(a=a.zc,Vd(b),b.zc=a);return b};N.prototype.clone=function(){return new N(this)};
var Ud=function(a,b,c){Vd(a);a.Db=c?Zd(b,!0):b;a.Db&&(a.Db=a.Db.replace(/:$/,""))},Wd=function(a,b,c){Vd(a);a.La=c?Zd(b,!0):b;return a},Xd=function(a,b){Vd(a);if(b){b=Number(b);if(isNaN(b)||0>b)throw Error("Bad port number "+b);a.se=b}else a.se=null};N.prototype.getPath=function(){return this.Lc};var Yd=function(a,b,c){Vd(a);b instanceof $d?(a.ma=b,a.ma.nk(a.Pa)):(c||(b=ae(b,fe)),a.ma=new $d(b,0,a.Pa))},Vd=function(a){if(a.hr)throw Error("Tried to modify a read-only Uri");};
N.prototype.nk=function(a){this.Pa=a;this.ma&&this.ma.nk(a);return this};
var ge=function(a){return a instanceof N?a.clone():new N(a,void 0)},Zd=function(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""},ae=function(a,b,c){return t(a)?(a=encodeURI(a).replace(b,he),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null},he=function(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)},be=/[#\/\?@]/g,de=/[\#\?:]/g,ce=/[\#\?]/g,fe=/[\#\?@]/g,ee=/#/g,$d=function(a,b,c){this.O=this.X=null;this.Ea=a||null;this.Pa=!!c},ie=function(a){a.X||
(a.X=new Od,a.O=0,a.Ea&&Oa(a.Ea,function(b,c){a.add(pa(b),c)}))};h=$d.prototype;h.cb=function(){ie(this);return this.O};h.add=function(a,b){ie(this);this.Ea=null;a=je(this,a);var c=this.X.get(a);c||this.X.set(a,c=[]);c.push(b);this.O+=1;return this};h.remove=function(a){ie(this);a=je(this,a);return this.X.Za(a)?(this.Ea=null,this.O-=this.X.get(a).length,this.X.remove(a)):!1};h.clear=function(){this.X=this.Ea=null;this.O=0};h.md=function(){ie(this);return 0==this.O};
h.Za=function(a){ie(this);a=je(this,a);return this.X.Za(a)};h.Ab=function(){ie(this);for(var a=this.X.R(),b=this.X.Ab(),c=[],d=0;d<b.length;d++)for(var e=a[d],f=0;f<e.length;f++)c.push(b[d]);return c};h.R=function(a){ie(this);var b=[];if(t(a))this.Za(a)&&(b=ib(b,this.X.get(je(this,a))));else{a=this.X.R();for(var c=0;c<a.length;c++)b=ib(b,a[c])}return b};h.set=function(a,b){ie(this);this.Ea=null;a=je(this,a);this.Za(a)&&(this.O-=this.X.get(a).length);this.X.set(a,[b]);this.O+=1;return this};
h.get=function(a,b){var c=a?this.R(a):[];return 0<c.length?String(c[0]):b};var ke=function(a,b,c){a.remove(b);0<c.length&&(a.Ea=null,a.X.set(je(a,b),jb(c)),a.O+=c.length)};$d.prototype.toString=function(){if(this.Ea)return this.Ea;if(!this.X)return"";for(var a=[],b=this.X.Ab(),c=0;c<b.length;c++)for(var d=b[c],e=encodeURIComponent(String(d)),d=this.R(d),f=0;f<d.length;f++){var g=e;""!==d[f]&&(g+="="+encodeURIComponent(String(d[f])));a.push(g)}return this.Ea=a.join("&")};
$d.prototype.clone=function(){var a=new $d;a.Ea=this.Ea;this.X&&(a.X=this.X.clone(),a.O=this.O);return a};var je=function(a,b){var c=String(b);a.Pa&&(c=c.toLowerCase());return c};$d.prototype.nk=function(a){a&&!this.Pa&&(ie(this),this.Ea=null,this.X.forEach(function(a,c){var d=c.toLowerCase();c!=d&&(this.remove(c),ke(this,d,a))},this));this.Pa=a};$d.prototype.extend=function(a){for(var b=0;b<arguments.length;b++)Td(arguments[b],function(a,b){this.add(b,a)},this)};var le,me,ne,oe,pe,qe,re,se=function(){return n.navigator?n.navigator.userAgent:""},te=function(a){return-1!=se().indexOf(a)},ue=te("(iPad")||te("(iPod")||te("(iPhone"),ve=te("Android"),we=te("MSIE")||te("IEMobile")||te("Windows Phone"),xe=function(){if(!q(le)){var a=/Android\s+([0-9.]+)/.exec(se());le=a&&2==a.length?a[1]:""}return le},ye=function(){if(!q(me)){var a=/CPU\s+(?:(?:i?OS)|(?:iPhone)|(?:iPhone\s+OS))\s+([0-9_|\.]+)/.exec(se());me=a&&2==a.length?a[1].replace(/_/g,"."):""}return me},ze=
function(a){var b=xe();return b?0<=Ga(b,a):!1},Ae=function(a){if(a&&la(a,"afma-")){var b=a.lastIndexOf("v");if(-1<b&&(a=a.substr(b+1).match(/^\d+\.\d+\.\d+$|^\d+\.\d+$|^\d+$/)))return a[0]}return"0.0.0"},Be=function(){var a;a=(new N(window.location.href)).ma.R("js");return Ae(a.length?a[0]:"")},Ce=function(){if(!q(ne)){if(ue&&!te("Safari"))return ne=!0;ne=!1}return ne},De=function(){q(oe)||(oe=te("afma-sdk-a")?!0:!1);return oe},Ee=function(){q(pe)||(pe=Ce()||De());return pe},Ge=function(a){var b=
Fe();return b?0<=Ga(b,a):!1},Fe=function(){if(!q(qe))if(De()){var a=se().match(/afma\-sdk\-a\-v\.?([\d+\.]+)/);qe=a?a[1]:""}else qe="";return qe},He=function(){q(re)||(re=Ce()?Be():"0.0.0");return re},Ie=function(a){if(!Ce())return!1;var b=He();return b?0<=Ga(b,a):!1};var Je=!F||9<=Number(Ic),Ke=F&&!Gc("9");!uc||Gc("528");tc&&Gc("1.9b")||F&&Gc("8")||rc&&Gc("9.5")||uc&&Gc("528");tc&&!Gc("8")||F&&Gc("9");var Le=function(a,b){M.call(this,a?a.type:"");this.relatedTarget=this.currentTarget=this.target=null;this.charCode=this.keyCode=this.button=this.screenY=this.screenX=this.clientY=this.clientX=this.offsetY=this.offsetX=0;this.metaKey=this.shiftKey=this.altKey=this.ctrlKey=!1;this.ab=this.state=null;a&&this.init(a,b)};B(Le,M);
Le.prototype.init=function(a,b){var c=this.type=a.type,d=a.changedTouches?a.changedTouches[0]:null;this.target=a.target||a.srcElement;this.currentTarget=b;var e=a.relatedTarget;e?tc&&(Pb(e,"nodeName")||(e=null)):"mouseover"==c?e=a.fromElement:"mouseout"==c&&(e=a.toElement);this.relatedTarget=e;null===d?(this.offsetX=uc||void 0!==a.offsetX?a.offsetX:a.layerX,this.offsetY=uc||void 0!==a.offsetY?a.offsetY:a.layerY,this.clientX=void 0!==a.clientX?a.clientX:a.pageX,this.clientY=void 0!==a.clientY?a.clientY:
a.pageY,this.screenX=a.screenX||0,this.screenY=a.screenY||0):(this.clientX=void 0!==d.clientX?d.clientX:d.pageX,this.clientY=void 0!==d.clientY?d.clientY:d.pageY,this.screenX=d.screenX||0,this.screenY=d.screenY||0);this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||("keypress"==c?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.state=a.state;this.ab=a;a.defaultPrevented&&this.preventDefault()};
Le.prototype.stopPropagation=function(){Le.D.stopPropagation.call(this);this.ab.stopPropagation?this.ab.stopPropagation():this.ab.cancelBubble=!0};Le.prototype.preventDefault=function(){Le.D.preventDefault.call(this);var a=this.ab;if(a.preventDefault)a.preventDefault();else if(a.returnValue=!1,Ke)try{if(a.ctrlKey||112<=a.keyCode&&123>=a.keyCode)a.keyCode=-1}catch(b){}};var Me="closure_listenable_"+(1E6*Math.random()|0),Ne=function(a){return!(!a||!a[Me])},Oe=0;var Pe=function(a,b,c,d,e){this.listener=a;this.gh=null;this.src=b;this.type=c;this.kg=!!d;this.Cg=e;this.key=++Oe;this.ue=this.ig=!1},Qe=function(a){a.ue=!0;a.listener=null;a.gh=null;a.src=null;a.Cg=null};var Re=function(a){this.src=a;this.ua={};this.Qf=0};Re.prototype.add=function(a,b,c,d,e){var f=a.toString();a=this.ua[f];a||(a=this.ua[f]=[],this.Qf++);var g=Se(a,b,d,e);-1<g?(b=a[g],c||(b.ig=!1)):(b=new Pe(b,this.src,f,!!d,e),b.ig=c,a.push(b));return b};Re.prototype.remove=function(a,b,c,d){a=a.toString();if(!(a in this.ua))return!1;var e=this.ua[a];b=Se(e,b,c,d);return-1<b?(Qe(e[b]),gb(e,b),0==e.length&&(delete this.ua[a],this.Qf--),!0):!1};
var Te=function(a,b){var c=b.type;c in a.ua&&hb(a.ua[c],b)&&(Qe(b),0==a.ua[c].length&&(delete a.ua[c],a.Qf--))};Re.prototype.kh=function(a){a=a&&a.toString();var b=0,c;for(c in this.ua)if(!a||c==a){for(var d=this.ua[c],e=0;e<d.length;e++)++b,Qe(d[e]);delete this.ua[c];this.Qf--}return b};Re.prototype.ff=function(a,b,c,d){a=this.ua[a.toString()];var e=-1;a&&(e=Se(a,b,c,d));return-1<e?a[e]:null};
var Se=function(a,b,c,d){for(var e=0;e<a.length;++e){var f=a[e];if(!f.ue&&f.listener==b&&f.kg==!!c&&f.Cg==d)return e}return-1};var Ue="closure_lm_"+(1E6*Math.random()|0),Ve={},We=0,O=function(a,b,c,d,e){if(ea(b)){for(var f=0;f<b.length;f++)O(a,b[f],c,d,e);return null}c=Xe(c);return Ne(a)?a.listen(b,c,d,e):Ye(a,b,c,!1,d,e)},Ye=function(a,b,c,d,e,f){if(!b)throw Error("Invalid event type");var g=!!e,k=Ze(a);k||(a[Ue]=k=new Re(a));c=k.add(b,c,d,e,f);if(c.gh)return c;d=$e();c.gh=d;d.src=a;d.listener=c;if(a.addEventListener)a.addEventListener(b.toString(),d,g);else if(a.attachEvent)a.attachEvent(af(b.toString()),d);else throw Error("addEventListener and attachEvent are unavailable.");
We++;return c},$e=function(){var a=bf,b=Je?function(c){return a.call(b.src,b.listener,c)}:function(c){c=a.call(b.src,b.listener,c);if(!c)return c};return b},cf=function(a,b,c,d,e){if(ea(b)){for(var f=0;f<b.length;f++)cf(a,b[f],c,d,e);return null}c=Xe(c);return Ne(a)?a.sj(b,c,d,e):Ye(a,b,c,!0,d,e)},df=function(a,b,c,d,e){if(ea(b))for(var f=0;f<b.length;f++)df(a,b[f],c,d,e);else c=Xe(c),Ne(a)?a.unlisten(b,c,d,e):a&&(a=Ze(a))&&(b=a.ff(b,c,!!d,e))&&ef(b)},ef=function(a){if(!w(a)&&a&&!a.ue){var b=a.src;
if(Ne(b))Te(b.Rb,a);else{var c=a.type,d=a.gh;b.removeEventListener?b.removeEventListener(c,d,a.kg):b.detachEvent&&b.detachEvent(af(c),d);We--;(c=Ze(b))?(Te(c,a),0==c.Qf&&(c.src=null,b[Ue]=null)):Qe(a)}}},af=function(a){return a in Ve?Ve[a]:Ve[a]="on"+a},gf=function(a,b,c,d){var e=!0;if(a=Ze(a))if(b=a.ua[b.toString()])for(b=b.concat(),a=0;a<b.length;a++){var f=b[a];f&&f.kg==c&&!f.ue&&(f=ff(f,d),e=e&&!1!==f)}return e},ff=function(a,b){var c=a.listener,d=a.Cg||a.src;a.ig&&ef(a);return c.call(d,b)},bf=
function(a,b){if(a.ue)return!0;if(!Je){var c=b||aa("window.event"),d=new Le(c,this),e=!0;if(!(0>c.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(l){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.currentTarget;f;f=f.parentNode)c.push(f);for(var f=a.type,g=c.length-1;!d.yd&&0<=g;g--){d.currentTarget=c[g];var k=gf(c[g],f,!0,d),e=e&&k}for(g=0;!d.yd&&g<c.length;g++)d.currentTarget=c[g],k=gf(c[g],f,!1,d),e=e&&k}return e}return ff(a,new Le(b,this))},
Ze=function(a){a=a[Ue];return a instanceof Re?a:null},hf="__closure_events_fn_"+(1E9*Math.random()>>>0),Xe=function(a){if(x(a))return a;a[hf]||(a[hf]=function(b){return a.handleEvent(b)});return a[hf]};var P=function(a){Ed.call(this);this.de=a;this.P={}};B(P,Ed);var jf=[];P.prototype.listen=function(a,b,c,d){return kf(this,a,b,c,d)};var kf=function(a,b,c,d,e,f){ea(c)||(c&&(jf[0]=c.toString()),c=jf);for(var g=0;g<c.length;g++){var k=O(b,c[g],d||a.handleEvent,e||!1,f||a.de||a);if(!k)break;a.P[k.key]=k}return a};P.prototype.sj=function(a,b,c,d){return lf(this,a,b,c,d)};
var lf=function(a,b,c,d,e,f){if(ea(c))for(var g=0;g<c.length;g++)lf(a,b,c[g],d,e,f);else{b=cf(b,c,d||a.handleEvent,e,f||a.de||a);if(!b)return a;a.P[b.key]=b}return a};P.prototype.unlisten=function(a,b,c,d,e){if(ea(b))for(var f=0;f<b.length;f++)this.unlisten(a,b[f],c,d,e);else c=c||this.handleEvent,e=e||this.de||this,c=Xe(c),d=!!d,b=Ne(a)?a.ff(b,c,d,e):a?(a=Ze(a))?a.ff(b,c,d,e):null:null,b&&(ef(b),delete this.P[b.key]);return this};
P.prototype.kh=function(){ob(this.P,function(a,b){this.P.hasOwnProperty(b)&&ef(a)},this);this.P={}};P.prototype.A=function(){P.D.A.call(this);this.kh()};P.prototype.handleEvent=function(){throw Error("EventHandler.handleEvent not implemented");};var Q=function(){Ed.call(this);this.Rb=new Re(this);this.ap=this;this.Xg=null};B(Q,Ed);Q.prototype[Me]=!0;h=Q.prototype;h.sh=function(a){this.Xg=a};h.addEventListener=function(a,b,c,d){O(this,a,b,c,d)};h.removeEventListener=function(a,b,c,d){df(this,a,b,c,d)};
h.dispatchEvent=function(a){var b,c=this.Xg;if(c)for(b=[];c;c=c.Xg)b.push(c);var c=this.ap,d=a.type||a;if(t(a))a=new M(a,c);else if(a instanceof M)a.target=a.target||c;else{var e=a;a=new M(d,c);Cb(a,e)}var e=!0,f;if(b)for(var g=b.length-1;!a.yd&&0<=g;g--)f=a.currentTarget=b[g],e=mf(f,d,!0,a)&&e;a.yd||(f=a.currentTarget=c,e=mf(f,d,!0,a)&&e,a.yd||(e=mf(f,d,!1,a)&&e));if(b)for(g=0;!a.yd&&g<b.length;g++)f=a.currentTarget=b[g],e=mf(f,d,!1,a)&&e;return e};
h.A=function(){Q.D.A.call(this);this.Rb&&this.Rb.kh(void 0);this.Xg=null};h.listen=function(a,b,c,d){return this.Rb.add(String(a),b,!1,c,d)};h.sj=function(a,b,c,d){return this.Rb.add(String(a),b,!0,c,d)};h.unlisten=function(a,b,c,d){return this.Rb.remove(String(a),b,c,d)};var mf=function(a,b,c,d){b=a.Rb.ua[String(b)];if(!b)return!0;b=b.concat();for(var e=!0,f=0;f<b.length;++f){var g=b[f];if(g&&!g.ue&&g.kg==c){var k=g.listener,l=g.Cg||g.src;g.ig&&Te(a.Rb,g);e=!1!==k.call(l,d)&&e}}return e&&0!=d.Un};
Q.prototype.ff=function(a,b,c,d){return this.Rb.ff(String(a),b,c,d)};var nf=function(a,b,c){this.pr=c;this.Cp=a;this.Mc=b;this.Sg=0;this.Dg=null};nf.prototype.get=function(){var a;0<this.Sg?(this.Sg--,a=this.Dg,this.Dg=a.next,a.next=null):a=this.Cp();return a};nf.prototype.put=function(a){this.Mc(a);this.Sg<this.pr&&(this.Sg++,a.next=this.Dg,this.Dg=a)};var of=function(a){n.setTimeout(function(){throw a;},0)},pf,qf=function(){var a=n.MessageChannel;"undefined"===typeof a&&"undefined"!==typeof window&&window.postMessage&&window.addEventListener&&!E("Presto")&&(a=function(){var a=document.createElement("IFRAME");a.style.display="none";a.src="";document.documentElement.appendChild(a);var b=a.contentWindow,a=b.document;a.open();a.write("");a.close();var c="callImmediate"+Math.random(),d="file:"==b.location.protocol?"*":b.location.protocol+"//"+b.location.host,
a=z(function(a){if(("*"==d||a.origin==d)&&a.data==c)this.port1.onmessage()},this);b.addEventListener("message",a,!1);this.port1={};this.port2={postMessage:function(){b.postMessage(c,d)}}});if("undefined"!==typeof a&&!E("Trident")&&!E("MSIE")){var b=new a,c={},d=c;b.port1.onmessage=function(){if(q(c.next)){c=c.next;var a=c.ol;c.ol=null;a()}};return function(a){d.next={ol:a};d=d.next;b.port2.postMessage(0)}}return"undefined"!==typeof document&&"onreadystatechange"in document.createElement("SCRIPT")?
function(a){var b=document.createElement("SCRIPT");b.onreadystatechange=function(){b.onreadystatechange=null;b.parentNode.removeChild(b);b=null;a();a=null};document.documentElement.appendChild(b)}:function(a){n.setTimeout(a,0)}};var rf=function(){this.Xh=this.Be=null},tf=new nf(function(){return new sf},function(a){a.reset()},100);rf.prototype.add=function(a,b){var c=tf.get();c.set(a,b);this.Xh?this.Xh.next=c:this.Be=c;this.Xh=c};rf.prototype.remove=function(){var a=null;this.Be&&(a=this.Be,this.Be=this.Be.next,this.Be||(this.Xh=null),a.next=null);return a};var sf=function(){this.next=this.scope=this.Ji=null};sf.prototype.set=function(a,b){this.Ji=a;this.scope=b;this.next=null};
sf.prototype.reset=function(){this.next=this.scope=this.Ji=null};var yf=function(a,b){uf||vf();wf||(uf(),wf=!0);xf.add(a,b)},uf,vf=function(){if(n.Promise&&n.Promise.resolve){var a=n.Promise.resolve(void 0);uf=function(){a.then(zf)}}else uf=function(){var a=zf;!x(n.setImmediate)||n.Window&&n.Window.prototype&&!E("Edge")&&n.Window.prototype.setImmediate==n.setImmediate?(pf||(pf=qf()),pf(a)):n.setImmediate(a)}},wf=!1,xf=new rf,zf=function(){for(var a;a=xf.remove();){try{a.Ji.call(a.scope)}catch(b){of(b)}tf.put(a)}wf=!1};var Bf=function(a,b){this.Pc=0;this.Tn=void 0;this.jg=this.Pd=this.J=null;this.Ag=this.Di=!1;if(a!=ba)try{var c=this;a.call(b,function(a){Af(c,2,a)},function(a){Af(c,3,a)})}catch(d){Af(this,3,d)}},Cf=function(){this.next=this.context=this.qe=this.tf=this.Qd=null;this.ai=!1};Cf.prototype.reset=function(){this.context=this.qe=this.tf=this.Qd=null;this.ai=!1};var Df=new nf(function(){return new Cf},function(a){a.reset()},100),Ef=function(a,b,c){var d=Df.get();d.tf=a;d.qe=b;d.context=c;return d};
Bf.prototype.then=function(a,b,c){return Ff(this,x(a)?a:null,x(b)?b:null,c)};Bf.prototype.then=Bf.prototype.then;Bf.prototype.$goog_Thenable=!0;var Hf=function(a,b){a.Pd||2!=a.Pc&&3!=a.Pc||Gf(a);a.jg?a.jg.next=b:a.Pd=b;a.jg=b},Ff=function(a,b,c,d){var e=Ef(null,null,null);e.Qd=new Bf(function(a,g){e.tf=b?function(c){try{var e=b.call(d,c);a(e)}catch(m){g(m)}}:a;e.qe=c?function(b){try{var e=c.call(d,b);a(e)}catch(m){g(m)}}:g});e.Qd.J=a;Hf(a,e);return e.Qd};
Bf.prototype.Xs=function(a){this.Pc=0;Af(this,2,a)};Bf.prototype.Ys=function(a){this.Pc=0;Af(this,3,a)};
var Af=function(a,b,c){if(0==a.Pc){a==c&&(b=3,c=new TypeError("Promise cannot resolve to itself"));a.Pc=1;var d;a:{var e=c,f=a.Xs,g=a.Ys;if(e instanceof Bf)Hf(e,Ef(f||ba,g||null,a)),d=!0;else{var k;if(e)try{k=!!e.$goog_Thenable}catch(m){k=!1}else k=!1;if(k)e.then(f,g,a),d=!0;else{if(ga(e))try{var l=e.then;if(x(l)){If(e,l,f,g,a);d=!0;break a}}catch(m){g.call(a,m);d=!0;break a}d=!1}}}d||(a.Tn=c,a.Pc=b,a.J=null,Gf(a),3!=b||Jf(a,c))}},If=function(a,b,c,d,e){var f=!1,g=function(a){f||(f=!0,c.call(e,a))},
k=function(a){f||(f=!0,d.call(e,a))};try{b.call(a,g,k)}catch(l){k(l)}},Gf=function(a){a.Di||(a.Di=!0,yf(a.Tp,a))},Kf=function(a){var b=null;a.Pd&&(b=a.Pd,a.Pd=b.next,b.next=null);a.Pd||(a.jg=null);return b};Bf.prototype.Tp=function(){for(var a;a=Kf(this);){var b=this.Pc,c=this.Tn;if(3==b&&a.qe&&!a.ai){var d;for(d=this;d&&d.Ag;d=d.J)d.Ag=!1}if(a.Qd)a.Qd.J=null,Lf(a,b,c);else try{a.ai?a.tf.call(a.context):Lf(a,b,c)}catch(e){Mf.call(null,e)}Df.put(a)}this.Di=!1};
var Lf=function(a,b,c){2==b?a.tf.call(a.context,c):a.qe&&a.qe.call(a.context,c)},Jf=function(a,b){a.Ag=!0;yf(function(){a.Ag&&Mf.call(null,b)})},Mf=of;var Nf=function(a,b){Q.call(this);this.Dc=a||1;this.ze=b||n;this.hi=z(this.Ns,this);this.qj=A()};B(Nf,Q);h=Nf.prototype;h.enabled=!1;h.V=null;h.Ns=function(){if(this.enabled){var a=A()-this.qj;0<a&&a<.8*this.Dc?this.V=this.ze.setTimeout(this.hi,this.Dc-a):(this.V&&(this.ze.clearTimeout(this.V),this.V=null),this.dispatchEvent("tick"),this.enabled&&(this.V=this.ze.setTimeout(this.hi,this.Dc),this.qj=A()))}};
h.start=function(){this.enabled=!0;this.V||(this.V=this.ze.setTimeout(this.hi,this.Dc),this.qj=A())};h.stop=function(){this.enabled=!1;this.V&&(this.ze.clearTimeout(this.V),this.V=null)};h.A=function(){Nf.D.A.call(this);this.stop();delete this.ze};var Of=function(a,b,c){if(x(a))c&&(a=z(a,c));else if(a&&"function"==typeof a.handleEvent)a=z(a.handleEvent,a);else throw Error("Invalid listener argument");return 2147483647<Number(b)?-1:n.setTimeout(a,b||0)};var Sf=function(){if(we&&window.external&&"notify"in window.external)return new Pf;if(ve&&window.googleAdsJsInterface&&"notify"in window.googleAdsJsInterface)try{return window.googleAdsJsInterface.notify("gmsg://mobileads.google.com/noop"),new Qf}catch(a){}return new Rf},Uf=function(){Tf||(Tf=Sf());return Tf},Tf=null,Vf=function(){};B(Vf,Ed);
var Wf=function(a){var b="gmsg://mobileads.google.com/"+a.$m,c=Ab(a.xn);c["google.afma.Notify_dt"]=(new Date).getTime();a={};for(var d in c)a[encodeURIComponent(String(d))]=c[d];var b=[b],e;for(e in a)Qa(e,a[e],b);return Pa(b)},Xf=function(a,b){this.Yh=a;this.Hp=b||1;this.kk=[];this.qh=new Nf(this.Hp);this.b=new P(this);this.b.listen(this.qh,"tick",this.Is);this.kr=!0};B(Xf,Vf);
Xf.prototype.sendMessage=function(a){this.kr?(this.kk.push(a),this.qh.enabled||(a=this.kk.shift(),this.Yh(a),this.qh.start())):this.Yh(a)};Xf.prototype.Is=function(){var a=this.kk.shift();a?this.Yh(a):this.qh.stop()};var Pf=function(){};B(Pf,Vf);Pf.prototype.sendMessage=function(a){a=Wf(a);window.external.notify(a)};var Rf=function(){Xf.call(this,this.Js);this.rd=null};B(Rf,Xf);
Rf.prototype.Js=function(a){if(!this.rd){var b=document.createElement("IFRAME");b.id="afma-notify-"+(new Date).getTime();b.style.display="none";this.rd=b}a=Wf(a);this.rd.src=a;this.rd.parentNode||document.body.appendChild(this.rd)};Rf.prototype.A=function(){Yc(this.rd);this.rd=null;Rf.D.A.call(this)};var Qf=function(){};B(Qf,Vf);Qf.prototype.sendMessage=function(a){a=Wf(a);window.googleAdsJsInterface.notify(a);window.googleAdsJsInterface.DEBUG&&console.log(a)};var Yf=null,Zf=function(){};Zf.prototype.Or=ba;Zf.prototype.receiveMessage=function(a){this.Or(a)};var $f=function(){Q.call(this);this.Pf=Uf();Yf||(Yf=new Zf);this.Pf=Uf();Gd(this,this.Pf);this.td={}};B($f,Q);$f.prototype.sendMessage=function(a,b){var c;t(a)?c=new Hd(a,b):a instanceof Hd&&(c=a);"loading"==document.readyState?(c=z(this.Pf.sendMessage,this.Pf,c),cf(n,"DOMContentLoaded",c,!1,this)):this.Pf.sendMessage(c)};
$f.prototype.receiveMessage=function(a,b){if("onshow"==a&&"loading"==document.readyState){var c=z(ag,n,a,b);cf(n,"DOMContentLoaded",c)}else this.dispatchEvent(new Id(new Hd(a,b),this))};$f.prototype.addObserver=function(a,b,c){var d=z(function(a){c(a.type,a.ra)},b);this.listen(a,d);this.td[a]||(this.td[a]={});this.td[a][b]=d};$f.prototype.removeObserver=function(a,b){this.td[a]&&this.td[a][b]&&(this.unlisten(a,this.td[a][b]),delete this.td[a][b])};
var R=function(a,b){n.AFMA_Communicator?n.AFMA_Communicator.sendMessage(a,b):bg(a,b)},bg=function(a,b){if("loading"==document.readyState){var c=z(bg,null,a,b);cf(n,"DOMContentLoaded",c,!1)}else c=new Hd(a,b),Uf().sendMessage(c)},ag=function(a,b){n.AFMA_Communicator.receiveMessage(a,b)},cg=function(a,b,c,d){n.AFMA_Communicator.removeEventListener(a,b,c,d)},dg=function(a,b,c,d){n.AFMA_Communicator.addEventListener(a,b,c,d)},eg=function(a,b,c){n.AFMA_Communicator.addObserver(a,b,c)},fg=function(a,b){n.AFMA_Communicator.removeObserver(a,
b)};
if(!n.AFMA_Communicator){r("AFMA_AddEventListener",dg,n);r("AFMA_RemoveEventListener",cg,n);r("AFMA_AddObserver",eg,n);r("AFMA_RemoveObserver",fg,n);r("AFMA_ReceiveMessage",ag,n);r("AFMA_SendMessage",R,n);var gg=new $f;r("AFMA_Communicator",gg,n);r("AFMA_Communicator.addEventListener",$f.prototype.addEventListener,void 0);r("AFMA_Communicator.removeEventListener",$f.prototype.removeEventListener,void 0);r("AFMA_Communicator.addObserver",$f.prototype.addObserver,void 0);r("AFMA_Communicator.removeObserver",$f.prototype.removeObserver,
void 0);r("AFMA_Communicator.receiveMessage",$f.prototype.receiveMessage,void 0);r("AFMA_Communicator.sendMessage",$f.prototype.sendMessage,void 0)};var hg=function(){this.L={}};ca(hg);var ig=function(a,b){if(q(a.L[b])){var c=a.L[b];return t(c)&&"true"===c.toLowerCase()||!0===c}return!1};var jg=E("Firefox"),kg=qc()||E("iPod"),lg=E("iPad"),mg=E("Android")&&!(Gb()||E("Firefox")||E("Opera")||E("Silk")),ng=Gb(),og=E("Safari")&&!(Gb()||E("Coast")||E("Opera")||E("Edge")||E("Silk")||E("Android"))&&!(qc()||E("iPad")||E("iPod"));var pg=function(a){if(mg||wc){if("/store/apps/details/"==Ma(Na(5,a))){var b="/store/apps/details";la(b,"/")||(b="/"+b);a=a.match(La);a=Ka(a[1],a[2],a[3],a[4],b,a[6],a[7])}return a.replace(/https?:\/\/(market.android.com|play.google.com\/store\/apps)\//,"market://")}return a},qg=function(a,b,c){return a.replace("?","?"+encodeURIComponent(String(b))+"="+encodeURIComponent(String(c))+"&")},rg="doubleclick.net 2mdn.net dartmotif.net doubleclick.net doubleclick.com gstatic.com app-measurement.com google-analytics.com".split(" "),
sg=function(a){var b=Ma(Na(3,a));return b?bb(rg,function(a){return ma(b,a)}):!0},tg=function(a){if(a.match(/[\?&]sa=L/)){var b;b=Na(1,a);!b&&n.self&&n.self.location&&(b=n.self.location.protocol,b=b.substr(0,b.length-1));b=b?b.toLowerCase():"";a=a.match(La);a=Ka(null,null,null,null,a[5],a[6],a[7]);var c=window.location.toString(),d=Ma(Na(3,c)),c=Na(1,c);"http"!=b&&"https"!=b&&(c=b);a=qg(c+"://"+d+(a||""),"rct","j");b=new XMLHttpRequest;b.open("GET",a,!1);window.jstiming&&x(window.jstiming.report)?
(a=new window.jstiming.Timer,b.send(),a.tick&&(a.tick("cr_csr"),window.jstiming.report(a))):b.send();var e;b.responseText&&(b=b.responseText.match(/URL=\'([^\']*)\'/),1<b.length&&(e=b[1].replace(/&amp;/g,"&")));return e}},wg=function(a){if(!a.sl||!a.ce||a.Mk&&sg(a.Mk)||!ug(a.ce)&&!vg(a.ce)||!a.ah||!a.tn)return!1;var b=a.tn,c=ug(a.ce),d=vg(a.ce),e=a.ce,f=a.sl,g=a.Mk;if(!f||"L"!=Va(f,"sa"))return a=new Bf(ba),Af(a,2,void 0),!1;if(c){ug(g)&&(e=g,g=void 0);if(void 0==g)return a.ah(f),b(e),!0;g=(c=tg(f))||
g;ug(g)&&(e=g,g=void 0);g&&(g=Xa(g,"urlloadedinbrowser","false"),a.ah(g));b(e);return!0}if(d){g=(c=tg(f))||g;c=Va(g,"referrer");d=Va(e,"referrer");vg(g)&&(e=g,g=void 0);f=[];d&&f.push(d);c&&f.push(c);f.push("network=d");if(c=f.join("&"))e=Xa(e,"referrer",c),g&&(g=Xa(g,"referrer",c));e=pg(e);g&&(g=Xa(g,"urlloadedinbrowser","false"),a.ah(g));b(e);return!0}return!1},vg=function(a){if(!a)return!1;var b=Ma(Na(3,a));a=Ma(Na(5,a));return"market.android.com"==b||"play.google.com"==b&&("/store/apps/details"==
a||"/store/apps/details/"==a)},ug=function(a){return a?"itunes.apple.com"==Ma(Na(3,a)):!1};var xg=function(a,b,c){Ed.call(this);this.qf=a;this.Dc=b||0;this.de=c;this.ji=z(this.Zd,this)};B(xg,Ed);h=xg.prototype;h.pa=0;h.A=function(){xg.D.A.call(this);this.stop();delete this.qf;delete this.de};h.start=function(a){this.stop();this.pa=Of(this.ji,q(a)?a:this.Dc)};h.stop=function(){this.Zq()&&n.clearTimeout(this.pa);this.pa=0};h.Ii=function(){this.stop();this.Zd()};h.Zq=function(){return 0!=this.pa};h.Zd=function(){this.pa=0;this.qf&&this.qf.call(this.de)};F&&Gc(8);var yg={},zg={},Ag={},Bg={},Cg=function(){throw Error("Do not instantiate directly");};Cg.prototype.xl=null;Cg.prototype.getContent=function(){return this.content};Cg.prototype.toString=function(){return this.content};var Dg=function(a){if(!ga(a))return String(a);if(a instanceof Cg){if(a.We===yg)return a.getContent();if(a.We===Bg)return ya(a.getContent())}return"zSoyz"};var Eg=function(){Cg.call(this)};B(Eg,Cg);Eg.prototype.We=yg;var Fg=function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a,d){var e=new b(String(a));void 0!==d&&(e.xl=d);return e}}(Eg),Gg={},Hg=function(a,b){var c="key_"+a+":"+b,d=Gg[c];if(void 0===d||0>d)Gg[c]=0;else if(0==d)throw Error('Encountered two active delegates with the same priority ("'+a+":"+b+'").');};
(function(a){function b(a){this.content=a}b.prototype=a.prototype;return function(a,d){var e=String(a);if(!e)return"";e=new b(e);void 0!==d&&(e.xl=d);return e}})(Eg);
var Ig={"\x00":"&#0;","\t":"&#9;","\n":"&#10;","\x0B":"&#11;","\f":"&#12;","\r":"&#13;"," ":"&#32;",'"':"&quot;","&":"&amp;","'":"&#39;","-":"&#45;","/":"&#47;","<":"&lt;","=":"&#61;",">":"&gt;","`":"&#96;","\u0085":"&#133;","\u00a0":"&#160;","\u2028":"&#8232;","\u2029":"&#8233;"},Jg=function(a){return Ig[a]},Kg={"\x00":"%00","\u0001":"%01","\u0002":"%02","\u0003":"%03","\u0004":"%04","\u0005":"%05","\u0006":"%06","\u0007":"%07","\b":"%08","\t":"%09","\n":"%0A","\x0B":"%0B","\f":"%0C","\r":"%0D",
"\u000e":"%0E","\u000f":"%0F","\u0010":"%10","\u0011":"%11","\u0012":"%12","\u0013":"%13","\u0014":"%14","\u0015":"%15","\u0016":"%16","\u0017":"%17","\u0018":"%18","\u0019":"%19","\u001a":"%1A","\u001b":"%1B","\u001c":"%1C","\u001d":"%1D","\u001e":"%1E","\u001f":"%1F"," ":"%20",'"':"%22","'":"%27","(":"%28",")":"%29","<":"%3C",">":"%3E","\\":"%5C","{":"%7B","}":"%7D","\u007f":"%7F","\u0085":"%C2%85","\u00a0":"%C2%A0","\u2028":"%E2%80%A8","\u2029":"%E2%80%A9","\uff01":"%EF%BC%81","\uff03":"%EF%BC%83",
"\uff04":"%EF%BC%84","\uff06":"%EF%BC%86","\uff07":"%EF%BC%87","\uff08":"%EF%BC%88","\uff09":"%EF%BC%89","\uff0a":"%EF%BC%8A","\uff0b":"%EF%BC%8B","\uff0c":"%EF%BC%8C","\uff0f":"%EF%BC%8F","\uff1a":"%EF%BC%9A","\uff1b":"%EF%BC%9B","\uff1d":"%EF%BC%9D","\uff1f":"%EF%BC%9F","\uff20":"%EF%BC%A0","\uff3b":"%EF%BC%BB","\uff3d":"%EF%BC%BD"},Lg=function(a){return Kg[a]},Mg=/[\x00\x22\x27\x3c\x3e]/g,Ng=/[\x00- \x22\x27-\x29\x3c\x3e\\\x7b\x7d\x7f\x85\xa0\u2028\u2029\uff01\uff03\uff04\uff06-\uff0c\uff0f\uff1a\uff1b\uff1d\uff1f\uff20\uff3b\uff3d]/g,
Og=/^(?![^#?]*\/(?:\.|%2E){2}(?:[\/?#]|$))(?:(?:https?|mailto):|[^&:\/?#]*(?:[\/?#]|$))/i,Pg=/<(?:!|\/?([a-zA-Z][a-zA-Z0-9:\-]*))(?:[^>'"]|"[^"]*"|'[^']*')*>/g,Qg=/</g;var Rg=function(a){a=a instanceof N?a.clone():new N(a);a.ma.extend({});hc(window,a.toString(),void 0)};var Sg=!1;dg("onshow",function(){Sg=!0});dg("onhide",function(){Sg=!1});var Tg=function(a){return a.match(/^\/\//)?"http:"+a:a},Ug=function(){var a=ye();if(!(a&&0<=Ga(a,"8.0")))return!1;var b=window.location.toString(),a=Va(b,"js"),b=Va(b,"submodel");if(void 0==a||void 0==b)return!1;b=b.match(/([a-zA-Z]+)(\d+)/);if(void 0==b)return!1;a=b[1].toLowerCase();b=parseInt(b[2],10);return"ipad"==a&&4<=b||"iphone"==a&&6<=b||"ipod"==a&&7<=b},Vg=function(a){a&&(a=Tg(a),Ug()?a&&(a=Tg(a),Rg(a)):R("click",{u:a}))};
r("google.afma.support.blockPageLoaded",function(){R("delayPageLoaded",{start:1})},void 0);var Wg=function(){R("delayPageLoaded",{stop:1})};r("google.afma.support.unblockPageLoaded",Wg,void 0);var Xg=function(){De()?Wg():R("delayPageLoaded",{cancel:1})};r("google.afma.support.cancelPageLoaded",Xg,void 0);var Yg=function(a){R("backButton",{disabled:a})};r("google.afma.support.disableBackButton",Yg,void 0);
r("google.afma.support.notifyRewardedVideoStart",function(){R("reward",{action:"video_start"})},void 0);r("google.afma.support.grantReward",function(a){var b={action:"grant"};a&&(b.amount=a.amount,b.type=a.type);R("reward",b)},void 0);
var Zg=["www.googleadservices.com","googleads.g.doubleclick.net","adclick.g.doubleclick.net"],$g=function(a,b){if(a){var c=Ma(Na(5,a)),d=Ma(Na(3,a));if(0>Ya(Zg,d)||"/aclk"!=c&&"/pagead/aclk"!=c)return a;c=Va(a,"ai");d=Va(a,"ms");Va(a,"adurl");if(!na(Da(d))||!b&&na(Da(c)))return a;if(!(d=b))a:{if(window.googleAdsJsInterface&&"getClickSignals"in window.googleAdsJsInterface)try{d=window.googleAdsJsInterface.getClickSignals(c);break a}catch(e){}d=""}c=d;if(na(Da(c)))return a;d=a.indexOf("&adurl=");return 0>
d?a:a.substring(0,d)+"&ms="+c+a.substring(d,a.length)}},ah=function(){R("customClose",{custom_close:1})},bh=function(a){var b=document.createElement("IMG");b.style.visibility="hidden";b.style.width="0px";b.style.height="0px";b.src=a;b.onload=function(){b.src=""};document.body.appendChild(b)},ch=function(a){if(De()){var b={a:"intent",u:a.url};a.action&&(b.i=a.action);a.bn&&(b.m=a.bn);a.wn&&(b.p=a.wn);a.qa&&(b.f=a.qa);R("open",b)}},dh=function(a,b,c){a={a:"webapp",html:a};b&&(a.o=b);c&&(a.custom_close=
c?1:0);R("open",a)},eh=function(a,b){var c={name:a};b&&(c.info=b);R("appEvent",c)},fh=function(a){R("open",{a:"browser",u:a})},gh=function(a){a=Tg(a);R("open",{a:"app",u:a})},hh=function(a){a=Tg(a);a={a:"app",u:a};Ge("8400000.0.0")&&Cb(a,{system_browser:!0,use_first_package:!0,use_running_process:!0});R("open",a)},ih=function(a){a=Tg(a);if(ug(a)){var b;b=(b=a.match(/^https?:\/\/itunes[.]apple[.]com\/[^\/]+\/(?:[^\/]+\/)*id(\d+)/))?b[1]:void 0;var c=Va(a,"pid"),d=Va(a,"cid");if(b&&!d&&!c){c=!1;q(c)||
(c=!0);b={a:"in_app_store",product_id:b,wait_for_fetch:c};a&&(a=Tg(a),b.u=a);R("open",b);return}}gh(a)},jh=function(a){if(Ce())a(!1);else if(De()&&!ze("4.4"))a(!1);else{var b=!1,c=function(d){b||(b=!0,"checkSupport"==d.ra.event&&(a(d.ra.supports),cg("appStreaming",c)))};(new xg(function(){b||(b=!0,a(!1),cg("appStreaming",c))},1E3)).start();dg("appStreaming",c);R("appStreaming",{action:"checkSupport"})}},kh=function(a,b,c){var d=c||function(){},e;e=a instanceof Array?a:[a];if(ue&&0<=Ga(ye(),9)){a=
{};for(c=0;c<e.length;++c)a[e[c]]=!0;b("openableURLs",a)}else{a=e.join(",");var f=!1,g=function(a){cg("openableURLs",g);if(!f){f=!0;for(var c=Ab(a.ra),d=0;d<e.length;++d){var u=e[d],v=pa(u),v=c[v];null!=v&&(c[u]=v)}b(a.type,c)}};dg("openableURLs",g);R("canOpenURLs",{urls:a});setTimeout(function(){f||(f=!0,d())},2E3)}},lh=function(){R("refresh",{action:"pause"})},mh=function(){R("refresh",{action:"resume"})},nh=function(a){var b=hg.getInstance();R("videoMeta",{playbackState:a,aspectRatio:parseFloat(b.L.video_aspect_ratio)||
0,currentTime:0,duration:0,muted:0})};var oh=function(){this.pc=new XMLHttpRequest};oh.prototype.get=function(a,b){if(this.pc&&(0==this.pc.readyState||4==this.pc.readyState))try{this.pc.onreadystatechange=z(this.sp,this,b),this.pc.open("GET",a,!0),this.pc.send(null)}catch(c){b()}};oh.prototype.sp=function(a){4==this.pc.readyState&&a()};var ph=function(a,b,c){var d=function(){window.top.location=b},e=new oh;c?e.get(a,c):e.get(a,d)},qh=function(a,b,c,d){this.Al=a;this.Ep=b;this.Bl=null;this.Sj=c;this.Il=d;this.wc=this.ri=this.Sd=this.ed=this.Rd=!1;this.si=void 0;this.fb=this.Te=this.gf=null;this.Cl=this.nj=this.Sm=this.Up=this.Sn=this.zg=this.mg=this.Fk=this.am=this.ql=this.fo=0};qh.prototype.wp=function(){this.mg=A();this.Rd=!1;rh(this)};
qh.prototype.$l=function(){try{this.fb&&4==this.fb.readyState&&this.ed&&(this.zg=A(),this.ed=!1,this.fb.responseText&&0<this.fb.responseText.length&&(this.gf="tel:"+this.fb.responseText))}finally{rh(this)}};qh.prototype.Qs=function(){this.Fk=A();this.wc=!1;rh(this)};
var rh=function(a){a.Sd||(a.Rd||a.ed?a.wc||sh(a):(a.wc&&(a.wc=!1,window.clearTimeout(a.si),a.si=void 0),sh(a)))},sh=function(a){if(!a.Sd){a.Sd=!0;a.ri=!0;var b=0==a.mg?0:a.mg-a.ql,c=0==a.zg?0:a.zg-a.am,d=0==a.Fk?0:a.Fk-a.fo,e=a.Te&&a.Te.pc?a.Te.pc.status:"noreq",f=a.fb?a.fb.status:"noreq",g=/&ctype=\d+/.exec(a.Al),g=g?g[0]:"";a.Sn++;var k=0;0!=a.Sm&&0!=a.nj&&(k=a.nj-a.Sm);a.Bl=["//googleads.g.doubleclick.net/pagead/gen_204?id=ctc_metrics",g,"&dc="+a.Cl,"&ec="+a.Up,"&rc="+a.Sn,"&ct="+k,"&ctc_num="+
a.Sj,"&ctc_gvn="+a.gf,"&ctc_cs_time="+b,"&ctc_gv_time="+c,"&ctc_to_time="+d,"&ctc_cs_status="+e,"&ctc_gv_status="+f].join("");(new oh).get(a.Bl,z(a.Pn,a));window.setTimeout(z(a.Pn,a),2E3)}};qh.prototype.Pn=function(){this.ri&&(this.wc=this.ed=this.Rd=this.ri=!1,null!=this.Il?this.Il(this.gf||this.Sj):window.top.location=this.gf||this.Sj)};r("ctc_bd",ph,void 0);r("init_gvc",function(a,b,c,d){return new qh(a,b,c,d)},void 0);
r("ctc_bd_gv",function(a){var b=A();a.Rd||a.ed||a.wc?a.Cl++:a.nj=b;var c=!1,d=!1,e=!1;a.Rd||(a.Rd=!0,a.Sd=!1,a.ql=b,a.mg=b,d=!0);a.ed||null!=a.gf||(a.ed=!0,a.Sd=!1,a.am=b,a.zg=b,e=!0);a.wc||(a.wc=!0,a.Sd=!1,a.fo=b,c=!0);c&&(a.si=window.setTimeout(z(a.Qs,a),2E3));d&&(a.Te=new oh,a.Te.get(a.Al,z(a.wp,a)));if(e)try{a.fb=new XMLHttpRequest,a.fb.onreadystatechange=z(a.$l,a),a.fb.open("GET",a.Ep,!0),a.fb.send(null)}catch(f){a.$l()}},void 0);var th=function(){return ig(hg.getInstance(),"uses_octagon_sdk")};var uh=0,vh=function(a,b,c){var d;d=hg.getInstance();d=parseInt(d.L.ignore_clicks_during_sjax_duration,10)||-Infinity;if(A()-uh<d)return!0;if(!th()||!a)return!1;b=qg(b,"ctype","55");if(kg||xc||lg||yc)return Vg(b),gh(c),!0;if(mg||wc){a:{a=new N(b);uh=A();if(th()&&a.toString().match(/[\?&]sa=L/)&&(window.location.host&&(a=Wd(a,window.location.host)),b=a,d=window.location.mockProtocol||window.location.protocol,"https:"==d?Ud(b,"https"):"http:"==d&&Ud(b,"http"),d=ig(hg.getInstance(),"async_click_ping_for_cto"),
b=new XMLHttpRequest,b.open("GET",qg(a.toString(),"rct","j"),d),window.jstiming&&x(window.jstiming.report)?(a=new window.jstiming.Timer,b.send(),a.tick("cr_csr"),window.jstiming.report(a)):b.send(),b.responseText&&(a=b.responseText.match(/URL=\'([^\']*)\'/))&&1<a.length&&(a=a[1].replace(/&amp;/g,"&"),a=new N(a),a.ma.get("referrer")))){a=pa(a.ma.get("referrer"));break a}a=void 0}a&&(c=Xa(c,"referrer",a));c=c.match(/^[^:]+\:\/\/.*/)?c:c.split(/:(.+)?/,2).join("://");gh(c);return!0}return!1},wh=function(a){var b=
window.location.mockProtocol||window.location.protocol;la(a,"http:")&&"https:"==b?a="https:"+a.substring(5):la(a,"https:")&&"http:"==b?a="http:"+a.substring(6):la(a,"//")&&(a=b+a);return a},xh=function(a,b){if(!a||!b||!b.match(/^tel:/))return!1;a=qg(a,"ctype","9");a=wh(a);var c;th()&&(c=function(){var a=b;0==a.indexOf("tel://")&&(a=a.substring(6));0==a.indexOf("tel:")&&(a=a.substring(4));a=a.replace(/ /g,"");R("open",{a:"call",u:"tel:"+a})});ph(a,b,c);return!0},yh=function(a,b){if(!th()||!b)return!1;
hg.getInstance();if(b.match(/^https?:\/\/itunes[.]apple[.]com/))return Vg(a),gh(b),!0;if(b.match("/play[.]google[.]com/redeem?"))return Vg(a),ch({action:"android.intent.action.VIEW",id:"OpenRedeemIntent",wn:"com.android.vending",url:b}),!0;var c;if(th())if(c=a,c.match(/market[.]android[.]com|play[.]google[.]com/)&&c.match(/[\?&]sa=L/)&&!c.match(/googleadservices[.]com/)){var d=window.location.host;if(d){for(var e=1,f=d.split(":"),d=[];0<e&&f.length;)d.push(f.shift()),e--;f.length&&d.push(f.join(":"));
e=d[0];d=d[1];c=new N(c);Wd(c,e);Xd(c,d);c=c.toString()}c=qg(c,"rct","j");e=new XMLHttpRequest;e.open("GET",c,!1);window.jstiming&&x(window.jstiming.report)?(d=new window.jstiming.Timer,e.send(),d.tick&&(d.tick("cr_csr"),window.jstiming.report(d))):e.send();e.responseText&&(e=e.responseText.match(/URL=\'([^\']*)\'/),1<e.length&&(c=e[1].replace(/&amp;/g,"&")));c=pg(c)}else c=null;else c=null;b=c;if(!b)return!1;gh(b);return!0};var zh={1007:!0,1008:!0,2009:!0,2010:!0},Ah={1099:!0,2099:!0},Bh={1001:"0",1002:"7",1003:"8",1004:"6",1005:"9",1006:"11",1099:"2",2001:"0",2002:"8",2003:"11",2004:"7",2005:"13",2006:"15",2007:"9",2008:"16",2099:"2"},Ch={},Eh=function(a){void 0==a&&(a="legacyId");Ch[a]||(Ch[a]=new Dh);return Ch[a]},Dh=function(){this.tm=0};
Dh.prototype.En=function(a){Fh(this,a,z(function(a){a=JSON.stringify(a);for(var c="",d=0;d<a.length;++d)var e=a.charAt(d),f=e.charCodeAt(0),c=c+(127>f?e:"\\u"+("0000"+f.toString(16)).slice(-4));eh("native_ad_content",c)},this),function(){eh("native_ad_failure")})};Dh.prototype.preProcessJsonAppEvent=Dh.prototype.En;Dh.prototype.Fn=function(a,b){Fh(this,a,function(a){var b={};b.success=JSON.stringify(a);R("nativeAdPreProcess",b)},function(){R("nativeAdPreProcess",{failure:!0})},b)};
Dh.prototype.preProcessJsonGmsg=Dh.prototype.Fn;Dh.prototype.hm=function(a){if(a=a.ad.tracking_urls_and_actions.impression_tracking_urls){this.tm=A();for(var b=0;b<a.length;b++)Rg(a[b])}};Dh.prototype.handleImpressionPing=Dh.prototype.hm;Dh.prototype.gm=function(a){Gh(this,a,function(a){var c={};c.asset=a;R("nativeAdCustomClick",c)},function(a,c,d){var e={};e.overlayHtml=a;e.baseUrl=c;e.id=d;R("loadHtml",e)})};Dh.prototype.handleClickGmsg=Dh.prototype.gm;
Dh.prototype.em=function(a){Gh(this,a,function(a){eh("native_ad_custom_click",a)},function(){})};Dh.prototype.handleClickAppEvent=Dh.prototype.em;Dh.prototype.dm=function(a){Gh(this,a,function(){},function(){})};Dh.prototype.handleClick=Dh.prototype.dm;
var Fh=function(a,b,c,d,e){var f,g;try{var k=b.ads;b.ads=[k[0]];Hh(.01,{id:"gmob-apps",event:"native-ads",type:"response",templateId:k[0].template_id});f=k[0].tracking_urls_and_actions;g=f.click_actions;if(!(g&&g instanceof Array)){Hh(.01,{id:"gmob-apps",event:"native-ads",type:"error",subType:"field-missing",templateId:k[0].template_id,fieldMissing:"click_actions"});d();return}}catch(u){d();return}b["utf-8"]="\u2713";f.base_url=location.href;(k=f.google_click_tracking_url)&&(k=Va(k,"ai"))&&(f.click_string=
k);Ih(b.ads[0]);Jh(b.ads[0]);Kh(b.ads[0],e||{});Lh(b.ads[0]);if(f.one_point_five_click?Ce()||Ge("6167000.0.0"):1){var l=[],m=z(function(){var a=function(){f.click_actions=l;c(b)};if(0==g.length)0==l?d():a();else{var e=g[0],k=function(){g.shift();m()},p=function(){l.push(e);a()};if(1==e.type){var y=pg(e.url);la(y,"market://")?Mh(y,p,k):p()}else 3==e.type?(l.push(e),k()):2==e.type?(y=e.url||"")?Mh(y,p,k):k():4==e.type?(e.expand_data||{}).html?jh(function(a){a?p():k()}):k():k()}},a);m()}else d()},Ih=
function(a){if(2==a.template_id){var b=a.rating;b&&(a.rating=Math.round(2*b)/2);a.price=a.price||"";a.store=a.store||"";a.rating=a.rating||0}},Kh=function(a,b){1==a.template_id&&Ce()&&0>Ga(b.sdk_version||"0.0.0","7.5.0")&&(a.secondary_image||(a.secondary_image=a.image))},Jh=function(a){if(2==a.template_id||1==a.template_id){var b,c;b=a.image;c=a.images;if(null!=b||null!=c){null==b&&null!=c?(b=c[0],a.image=b):null==c&&null!=b&&(c=[b],a.images=c);for(a=0;a<c.length;a++)Nh(c[a]);Nh(b)}}},Nh=function(a){var b=
a.url;null!=b&&la(b,"//")&&(b=location.protocol.concat(b));a.url=b},Lh=function(a){var b=a.template_id;2==b?Oh(a,["headline","images","body","app_icon","call_to_action"]):1==b?Oh(a,["headline","images","body","call_to_action","advertiser"]):3==b?Oh(a,["custom_template_id","custom_assets"]):Hh(.01,{id:"gmob-apps",event:"native-ads",type:"error",subType:"invalid-template-id",templateId:b})},Oh=function(a,b){for(var c=0;c<b.length;c++){var d=b[c];void 0==a[d]&&Hh(.01,{id:"gmob-apps",event:"native-ads",
type:"error",subType:"field-missing",templateId:a.template_id,fieldMissing:d})}},Hh=function(a,b){if(Math.random()<a){var c=new N("https://pagead2.googlesyndication.com/pagead/gen_204"),d=Sd(b);if("undefined"==typeof d)throw Error("Keys are undefined");for(var e=new $d(null,0,void 0),f=Rd(b),g=0;g<d.length;g++){var k=d[g],l=f[g];ea(l)?ke(e,k,l):e.add(k,l)}Yd(c,e);Vd(c);d=Ea();Vd(c);c.ma.set("zx",d);Rg(c)}},Mh=function(a,b,c){kh(a,function(d,e){e[a]?b():c()},function(){c()})},Gh=function(a,b,c,d){var e=
b.ad,f=e.tracking_urls_and_actions,g=b.click,k=g.asset;if(zh[k]){if(c=e.attribution)if(g=(e.overlay||{}).mute||{},b=g.html,g=g.base_url,c=c.url,b)c=Ea(),d(b,g,c),Ph(a,c);else if(c)if(!/^https?:\/\//.test(c)||/^https?:\/\/((itunes)|(phobos))\.apple\.com\//.test(c)||/^https?:\/\/market\.android\.com\//.test(c)||/^https?:\/\/play\.google\.com\//.test(c)||/^https?:\/\/maps\.google\.com\//.test(c)&&Ce())gh(c);else{if(a=De())a=Ma(Na(5,c)),a=/\.(3gp|m3u8|mkv|mov|mp4|m4v|ts|webm)$/i.test(a);if(a)if(De())ch({id:Ea(),
action:"android.intent.action.VIEW",url:c,bn:"video/*"});else if(Ce()){var l;l=l||{};a='<!DOCTYPE html><meta charset="utf-8"><meta name="viewport" content="user-scalable=no initial-scale=1.0 width=device-width"><script'+(l.Ob?' nonce="'+l.Ob+'"':"")+">function resizeVid() {var vid = document.getElementById('vid'); var windowHeight = window.innerHeight; vid.style.height = String(windowHeight) + 'px';}window.addEventListener('orientationchange', resizeVid, false);\x3c/script><style"+(l.Ob?' nonce="'+
l.Ob+'"':"")+'>body {margin: 0px; padding: 0px;}video {position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px; margin: 0px; padding: 0px;}</style><video width="100%" controls autoplay webkit-playsinline id="vid" onloadedmetadata="'+(l.Ob?"/*"+l.Ob+"*/":"")+'resizeVid();"><source src="';null!=c&&c.We===zg||null!=c&&c.We===Ag?d=String(c).replace(Ng,Lg):c instanceof Kb?(c instanceof Kb&&c.constructor===Kb&&c.Xo===Jb?d=c.us:(da(c),d="type_error:SafeUrl"),d=String(d).replace(Ng,Lg)):c instanceof
Nb?(c instanceof Nb&&c.constructor===Nb&&c.Yo===Lb?d=c.vs:(da(c),d="type_error:TrustedResourceUrl"),d=String(d).replace(Ng,Lg)):(d=String(c),d=Og.test(d)?d.replace(Ng,Lg):"#zSoyz");d=null!=d&&d.We===yg?String(String(d.getContent()).replace(Pg,"").replace(Qg,"&lt;")).replace(Mg,Jg):ya(String(d));a=Fg(a+d+'"></video>');dh(a.toString())}else R("open",{a:"webapp",u:c});else fh(c)}Hh(.01,{id:"gmob-apps",event:"native-ads",type:"click",asset:"attribution"})}else{var m;l=b.click_point;var u=b.view_rectangles;
if(l&&u){var v=u["1007"],K=u["1008"],p=u["2009"],u=u["2010"];if(v||K)m=Qh(Rh(v),Rh(K));else if(p||u)m=Qh(Rh(p),Rh(u));m?(v=new G(l.x,l.y),l=v.x<m.left?m.left-v.x:Math.max(v.x-(m.left+m.width),0),m=v.y<m.top?m.top-v.y:Math.max(v.y-(m.top+m.height),0),m=10>=Math.sqrt(l*l+m*m)):m=!1}else m=!1;if(!(m||(m=f.clickability||{},l=m.blocked_click_assets,l&&D(l,k)||Ah[k]&&!m.enable_background_clicks||(l=m.click_delay_ms,l&&A()-a.tm<l||(m=m.edge_click_buffer,(l=!m)||(l=b.native_view_rectangle,v=b.click_point,
l&&v&&m?(l=l.width,v=v.x,m=m.vertical||0,m=v<=m||v+m>=l?!0:!1):m=!1,l=!m),!l))))){m=(e.overlay||{}).one_point_five_click||{};e=m.html;m=m.base_url;l=f.one_point_five_click||{};v=l.assets;(f=l.timeout_ms)||(f=2E3);l=l.text;k=!v||D(v,k);if(v=e&&k)g=g.sdk_version||"0.0.0",v=Ce()&&0<=Ga(g,"7.5.0")||Ge("7800000.0.0");v?(g=Ea(),d(e,m,g),Ph(a,g,f),Sh(b,c,g)):l&&k?a.confirm(l)&&Th(b,c):Th(b,c)}}},Th=function(a,b){hg.getInstance().L.uses_octagon_sdk=!0;var c=a.ad.tracking_urls_and_actions,d=c.click_actions,
e=d[0],f=c.third_party_click_tracking_urls||[],g=c.u2_click_handling||!1,k=c.for_sure_open_browser||!1,c=c.use_app_store_overlay||!1,l=a.click.asset,m=2==e.type,u=3==e.type,v=4==e.type,K=a.has_custom_click_handler,p=e.url,y;y=a.click||{};var xa=a.ad.tracking_urls_and_actions.google_click_tracking_url;if(xa){var xa=qg(xa,"nb",Bh[l]||"17"),Mb=a.native_view_rectangle;Mb&&(xa=qg(xa,"dim",Mb.width+"x"+Mb.height));xa=$g(xa,y.click_signals)}else Hh(.05,{id:"gmob-apps",event:"native-ads",type:"error",subType:"click-params-error",
message:"google_click_tracking_url not present"});y=xa;xa=e.u2_final_url;Mb=e.u2_tracking_url;y&&(y=y.replace(/^https?:/,location.protocol));if(u&&K)for(b(l),Vg(y),e=0;e<f.length;e++)Vg(f[e]);else if(v)dh((e.expand_data||{}).html,"p",!0);else{for(e=0;e<f.length;e++)Vg(f[e]);if(u){d.shift();if(0==d.length)return;e=d[0];m=2==e.type;p=e.url}if(y){y.match(/adurl=$/)&&(y+=p);try{if(vh(m,y,p)||g&&wg({sl:y,Mk:Mb,ce:xa,ah:Vg,tn:c?ih:gh})||yh(y,p)||xh(y,p))return}catch(bl){Hh(.05,{id:"gmob-apps",event:"native-ads",
type:"error",subType:"click-error",message:bl.message})}}d=y?y:p;k?hh(d):gh(d)}},Ph=function(a,b,c){var d=z(function(a){var f=a.ra.id;"htmlLoaded"==a.ra.messageType&&b==f&&(cg("sendMessageToNativeJs",d),R("showOverlay",{}),w(c)&&Uh(this,c))},a);dg("sendMessageToNativeJs",d)},Uh=function(a,b){var c=new xg(z(function(){R("hideOverlay",{});c.stop()},a),b);c.start()},Qh=function(a,b){var c;if(a&&b)if(a&&b){c=a.clone();var d=Math.max(c.left+c.width,b.left+b.width),e=Math.max(c.top+c.height,b.top+b.height);
c.left=Math.min(c.left,b.left);c.top=Math.min(c.top,b.top);c.width=d-c.left;c.height=e-c.top}else c=null;else c=a?a:b?b:null;return c},Rh=function(a){return a?new fd(a.x,a.y,a.width,a.height):null},Sh=function(a,b,c){var d=function(e){var f=e.ra.id;"onePointFiveClick"==e.ra.messageType&&c==f&&(cg("sendMessageToNativeJs",d),Th(a,b),R("hideOverlay",{}))};dg("sendMessageToNativeJs",d)};
Dh.prototype.confirm=function(a){var b=document.createElement("IFRAME");b.setAttribute("src","data:text/plain,");document.documentElement.appendChild(b);a=b.contentWindow.confirm(a);b.parentNode.removeChild(b);return a};r("AFMA_notifyJsLoaded",function(){setTimeout(function(){R("jsLoaded")},100)},void 0);r("google.afma.nativeAds.preProcessJsonGmsg",function(a,b){Eh(a.ads_id).Fn(a,b)},void 0);r("google.afma.nativeAds.preProcessJsonAppEvent",function(a){Eh(a.ads_id).En(a)},void 0);
r("google.afma.nativeAds.handleImpressionPing",function(a){Eh(a.ads_id).hm(a)},void 0);r("google.afma.nativeAds.handleClickGmsg",function(a){Eh(a.ads_id).gm(a)},void 0);r("google.afma.nativeAds.handleClick",function(a){Eh(a.ads_id).dm(a)},void 0);r("google.afma.nativeAds.handleClickAppEvent",function(a){Eh(a.ads_id).em(a)},void 0);window.addEventListener("error",function(a){nc.Pg("admob::nativeadsjs",new kc(a.message,a.fileName,a.lineNumber),void 0,void 0)});
(function(a){nc.Zh=function(b){C(a,function(a){a(b)})}})([function(a){a.shv="20160607_RC00"}]);var Vh=function(a,b,c){M.call(this,a);this.jp=b;this.cp=null!=c?c:null};B(Vh,M);Vh.prototype.getAd=function(){return this.jp};Vh.prototype.getAdData=function(){return this.cp};var Wh=function(){};h=Wh.prototype;h.contentId=null;h.disableClickThrough=!1;h.enablePreloading=!1;h.mimeTypes=null;h.restoreCustomPlaybackStateOnAdBreakComplete=!1;h.useStyledLinearAds=!1;h.useVideoAdUi=!0;h.loadVideoTimeout=15E3;var Xh=function(a){this.dd=a},$h=function(){var a=Yh(S);return Zh(a,"disableExperiments")};Xh.prototype.po=function(){return Zh(this,"useCompanionsAsEndSlate")};var Zh=function(a,b){if(vb(a.dd,b)){var c=a.dd[b];if("boolean"==typeof c)return c}return!1},ai=function(a){if(vb(a.dd,"forceExperimentIds")){a=a.dd.forceExperimentIds;var b=[],c=0;ea(a)&&C(a,function(a){w(a)&&(b[c++]=a)});return b}return null};var bi=function(a){a=String(a);if(/^\s*$/.test(a)?0:/^[\],:{}\s\u2028\u2029]*$/.test(a.replace(/\\["\\\/bfnrtu]/g,"@").replace(/(?:"[^"\\\n\r\u2028\u2029\x00-\x08\x0a-\x1f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?)[\s\u2028\u2029]*(?=:|,|]|}|$)/g,"]").replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,"")))try{return eval("("+a+")")}catch(b){}throw Error("Invalid JSON string: "+a);},di=function(a){return(new ci(void 0)).gc(a)},ci=function(a){this.mh=a};
ci.prototype.gc=function(a){var b=[];ei(this,a,b);return b.join("")};
var ei=function(a,b,c){if(null==b)c.push("null");else{if("object"==typeof b){if(ea(b)){var d=b;b=d.length;c.push("[");for(var e="",f=0;f<b;f++)c.push(e),e=d[f],ei(a,a.mh?a.mh.call(d,String(f),e):e,c),e=",";c.push("]");return}if(b instanceof String||b instanceof Number||b instanceof Boolean)b=b.valueOf();else{c.push("{");f="";for(d in b)Object.prototype.hasOwnProperty.call(b,d)&&(e=b[d],"function"!=typeof e&&(c.push(f),fi(d,c),c.push(":"),ei(a,a.mh?a.mh.call(b,d,e):e,c),f=","));c.push("}");return}}switch(typeof b){case "string":fi(b,
c);break;case "number":c.push(isFinite(b)&&!isNaN(b)?String(b):"null");break;case "boolean":c.push(String(b));break;case "function":c.push("null");break;default:throw Error("Unknown type: "+typeof b);}}},gi={'"':'\\"',"\\":"\\\\","/":"\\/","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\u000b"},hi=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g,fi=function(a,b){b.push('"',a.replace(hi,function(a){var b=gi[a];b||(b="\\u"+(a.charCodeAt(0)|65536).toString(16).substr(1),
gi[a]=b);return b}),'"')};var ii=function(){this.xp="always";this.Br=4;this.rt=1;this.pp=!0;this.$f=null;this.ve=this.qo=!1;this.oo=!0;this.wj="en";this.oc=!1;this.Uf=this.Id=!0;this.mr=this.lr=this.dr=this.Gm=this.Am=!1;this.ir=!0;this.$q=!1;this.Gn=this.qs=this.Ga="";this.al=!1;this.yh=null},ji={St:"flash",ou:"shake"},ki="af am ar bg bn ca cs da de el en en_gb es es_419 et eu fa fi fil fr fr_ca gl gu he hi hr hu id in is it iw ja kn ko lt lv ml mr ms nb nl no pl pt_br pt_pt ro ru sk sl sr sv sw ta te th tr uk ur vi zh_cn zh_hk zh_tw zu".split(" ");
h=ii.prototype;h.getCompanionBackfill=function(){return this.xp};h.getNumRedirects=function(){return this.Br};h.getPpid=function(){return this.Zj};h.getVpaidMode=function(){return this.rt};h.isAutoPlayAdBreaks=function(){return this.pp};h.po=function(){return this.qo};h.setRestrictToCustomPlayback=function(a){this.ve=a};h.Wb=function(){return this.Am};h.ar=function(){return this.Gm};h.isNative=function(){return this.dr};h.Qm=function(){return this.lr};h.pd=function(){return this.mr};h.bj=function(){return this.$q};
h.getPlayerType=function(){return this.Ga};h.getPlayerVersion=function(){return this.qs};var Yh=function(a){if(null==a.yh){var b={},c;c=(new N(I().location.href)).ma;if(c.Za("tcnfp"))try{b=bi(c.get("tcnfp"))}catch(d){}a.yh=new Xh(b)}return a.yh},S=new ii;var li=function(){};var mi=function(){};B(mi,li);mi.prototype.th=!1;var ni;
ni={Rt:["BC","AD"],Qt:["Before Christ","Anno Domini"],fu:"JFMAMJJASOND".split(""),wu:"JFMAMJJASOND".split(""),au:"January February March April May June July August September October November December".split(" "),vu:"January February March April May June July August September October November December".split(" "),qu:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),yu:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),Qu:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),Au:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),
su:"Sun Mon Tue Wed Thu Fri Sat".split(" "),zu:"Sun Mon Tue Wed Thu Fri Sat".split(" "),gu:"SMTWTFS".split(""),xu:"SMTWTFS".split(""),ru:["Q1","Q2","Q3","Q4"],nu:["1st quarter","2nd quarter","3rd quarter","4th quarter"],Dt:["AM","PM"],Mt:["EEEE, MMMM d, y","MMMM d, y","MMM d, y","M/d/yy"],Eu:["h:mm:ss a zzzz","h:mm:ss a z","h:mm:ss a","h:mm a"],Nt:["{1} 'at' {0}","{1} 'at' {0}","{1}, {0}","{1}, {0}"],Mo:6,Ru:[5,6],No:5};var qi=function(a,b,c){w(a)?(this.F=oi(a,b||0,c||1),pi(this,c||1)):ga(a)?(this.F=oi(a.getFullYear(),a.getMonth(),a.getDate()),pi(this,a.getDate())):(this.F=new Date(A()),a=this.F.getDate(),this.F.setHours(0),this.F.setMinutes(0),this.F.setSeconds(0),this.F.setMilliseconds(0),pi(this,a))},oi=function(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b};h=qi.prototype;h.sg=ni.Mo;h.tg=ni.No;h.clone=function(){var a=new qi(this.F);a.sg=this.sg;a.tg=this.tg;return a};
h.getFullYear=function(){return this.F.getFullYear()};h.getYear=function(){return this.getFullYear()};h.getMonth=function(){return this.F.getMonth()};h.getDate=function(){return this.F.getDate()};h.getTime=function(){return this.F.getTime()};h.getUTCHours=function(){return this.F.getUTCHours()};h.getUTCMinutes=function(){return this.F.getUTCMinutes()};h.getTimezoneOffset=function(){return this.F.getTimezoneOffset()};
var ri=function(a){a=a.getTimezoneOffset();if(0==a)a="Z";else{var b=Math.abs(a)/60,c=Math.floor(b),b=60*(b-c);a=(0<a?"-":"+")+Ca(c)+":"+Ca(b)}return a};h=qi.prototype;h.set=function(a){this.F=new Date(a.getFullYear(),a.getMonth(),a.getDate())};h.setFullYear=function(a){this.F.setFullYear(a)};h.setMonth=function(a){this.F.setMonth(a)};h.setDate=function(a){this.F.setDate(a)};
h.add=function(a){if(a.tt||a.wr){var b=this.getMonth()+a.wr+12*a.tt,c=this.getYear()+Math.floor(b/12),b=b%12;0>b&&(b+=12);var d;a:{switch(b){case 1:d=0!=c%4||0==c%100&&0!=c%400?28:29;break a;case 5:case 8:case 10:case 3:d=30;break a}d=31}d=Math.min(d,this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.Fp&&(a=new Date((new Date(this.getYear(),this.getMonth(),this.getDate(),12)).getTime()+864E5*a.Fp),this.setDate(1),this.setFullYear(a.getFullYear()),this.setMonth(a.getMonth()),
this.setDate(a.getDate()),pi(this,a.getDate()))};h.Dh=function(a,b){return[this.getFullYear(),Ca(this.getMonth()+1),Ca(this.getDate())].join(a?"-":"")+(b?ri(this):"")};h.toString=function(){return this.Dh()};var pi=function(a,b){a.getDate()!=b&&a.F.setUTCHours(a.F.getUTCHours()+(a.getDate()<b?1:-1))};qi.prototype.valueOf=function(){return this.F.valueOf()};var si=function(a,b,c,d,e,f,g){this.F=w(a)?new Date(a,b||0,c||1,d||0,e||0,f||0,g||0):new Date(a&&a.getTime?a.getTime():A())};B(si,qi);h=si.prototype;
h.getHours=function(){return this.F.getHours()};h.getMinutes=function(){return this.F.getMinutes()};h.getSeconds=function(){return this.F.getSeconds()};h.getUTCHours=function(){return this.F.getUTCHours()};h.getUTCMinutes=function(){return this.F.getUTCMinutes()};h.getUTCSeconds=function(){return this.F.getUTCSeconds()};h.setHours=function(a){this.F.setHours(a)};h.setMinutes=function(a){this.F.setMinutes(a)};h.setSeconds=function(a){this.F.setSeconds(a)};h.setMilliseconds=function(a){this.F.setMilliseconds(a)};
h.setUTCHours=function(a){this.F.setUTCHours(a)};h.setUTCMinutes=function(a){this.F.setUTCMinutes(a)};h.setUTCSeconds=function(a){this.F.setUTCSeconds(a)};h.add=function(a){qi.prototype.add.call(this,a);a.Vq&&this.setUTCHours(this.F.getUTCHours()+a.Vq);a.vr&&this.setUTCMinutes(this.F.getUTCMinutes()+a.vr);a.Hs&&this.setUTCSeconds(this.F.getUTCSeconds()+a.Hs)};
h.Dh=function(a,b){var c=qi.prototype.Dh.call(this,a);return a?c+" "+Ca(this.getHours())+":"+Ca(this.getMinutes())+":"+Ca(this.getSeconds())+(b?ri(this):""):c+"T"+Ca(this.getHours())+Ca(this.getMinutes())+Ca(this.getSeconds())+(b?ri(this):"")};h.toString=function(){return this.Dh()};h.clone=function(){var a=new si(this.F);a.sg=this.sg;a.tg=this.tg;return a};var ti=function(a){this.Pp=a;Object.defineProperty(this,"length",{get:function(){return 1}})};r("google.afma.TimeRanges",ti,void 0);ti.prototype.start=function(){return 0};ti.prototype.start=ti.prototype.start;ti.prototype.end=function(){return this.Pp};ti.prototype.end=ti.prototype.end;var ui=function(a){this.code=a};r("google.afma.MediaError",ui,void 0);ui.MEDIA_ERR_ABORTED=1;ui.MEDIA_ERR_NETWORK=2;ui.MEDIA_ERR_DECODE=3;ui.MEDIA_ERR_SRC_NOT_SUPPORTED=4;ui.prototype.code=null;ui.prototype.code=ui.prototype.code;
var xi=function(a){Ed.call(this);this.J=a;Gd(this,this.J);Object.defineProperty(this,"display",{get:function(){return this.J.Ca?"inline":"none"},set:function(a){vi(this.J,"none"!=a)}});Object.defineProperty(this,"height",{get:function(){return 0>this.J.Oa?"100%":this.J.Oa+"px"},set:function(a){this.J.height=a}});Object.defineProperty(this,"left",{get:function(){return this.J.Ce+"px"},set:function(a){this.J.Ce=parseInt(a,10);wi(this.J)}});Object.defineProperty(this,"opacity",{get:function(){return String(Number(this.J.Ca))},
set:function(a){vi(this.J,!!parseInt(a,10))}});Object.defineProperty(this,"top",{get:function(){return this.J.De+"px"},set:function(a){this.J.De=parseInt(a,10);wi(this.J)}});Object.defineProperty(this,"visibility",{get:function(){return this.J.Ca?"visible":"hidden"},set:function(a){vi(this.J,"hidden"!=a)}});Object.defineProperty(this,"width",{get:function(){return 0>this.J.Xa?"100%":this.J.Xa+"px"},set:function(a){this.J.width=a}})};B(xi,Ed);r("google.afma.VideoStyle",xi,void 0);
var yi=function(a){M.call(this,"precacheCanceled");this.nb=a||null};B(yi,M);yi.prototype.yg=function(a){return this.nb&&this.nb[a]?this.nb[a]:""};var zi=function(a){M.call(this,"precacheProgress");this.nb=a||null};B(zi,M);
var U=function(){Q.call(this);this.ii=new ti(0);this.fa=!1;this.Ga=0;this.yk=!1;this.kc={};this.Re=this.Fa=this.jo=!1;this.$b="";this.pn=z(this.Zr,this);this.Kr=z(this.Lr,this);this.ti=this.El=this.$j=!1;this.In=0;this.dc=new Od;this.ao=new xi(this);Gd(this,this.ao);this.Ao=this.vo=0;this.tb=1;this.G=!1;this.ck=null;this.rj=new Nf(500);this.Od=null;this.b=new P(this);Gd(this,this.b);Ai(this);this.b.listen(this.rj,"tick",this.Kr);this.aa=document.createElement("div");this.aa.style.opacity="0";this.aa.style.padding=
"0px";this.aa.style.margin="0px";this.aa.style.position="relative";Bi(this);this.b.listen(this.aa,"click",function(a){this.Ca&&T(this,"click",{x:a.offsetX,y:a.offsetY});return!1});window.addEventListener("resize",this.pn);dg("onPrecacheEvent",this.on,!1,this);dg("onVideoEvent",this.mb,!1,this);dg("onshow",this.rn,!1,this);dg("onhide",this.kn,!1,this)};B(U,Q);r("google.afma.VideoPlayer",U,void 0);var Ci=["application/x-mpegurl","video/3gpp","video/mp4"];
U.prototype.A=function(){this.rj.stop();this.g=this.aa=null;window.removeEventListener("resize",this.pn);cg("onPrecacheEvent",this.on,!1,this);cg("onVideoEvent",this.mb,!1,this);cg("onshow",this.rn,!1,this);cg("onhide",this.kn,!1,this);U.D.A.call(this)};
var Ai=function(a){Object.defineProperty(a,"buffered",{get:function(){return this.ii}});Object.defineProperty(a,"controls",{get:function(){return this.tc},set:function(a){this.tc=a;T(this,"controls",{enabled:this.tc})}});Object.defineProperty(a,"currentSrc",{get:function(){return this.Ia||""}});Object.defineProperty(a,"currentTime",{get:function(){return this.wb},set:function(a){0>a?a=0:a>this.ja&&(a=this.ja);this.dispatchEvent("seeking");this.Oc(a);this.dispatchEvent("seeked")}});Object.defineProperty(a,
"defaultMuted",{get:function(){return!1},set:function(){}});Object.defineProperty(a,"defaultPlaybackRate",{get:function(){return 1},set:function(){}});Object.defineProperty(a,"duration",{get:function(){return this.ja}});Object.defineProperty(a,"ended",{get:function(){return this.bf}});Object.defineProperty(a,"error",{get:function(){return this.$d}});Object.defineProperty(a,"height",{get:function(){return 0>this.Oa?100:this.Oa},set:function(a){this.Oa=Di(a);wi(this)}});Object.defineProperty(a,"initialTime",
{get:function(){return 0}});Object.defineProperty(a,"muted",{get:function(){return this.Fa},set:function(a){var c=this.Fa!=a;this.Fa=a;T(this,"muted",{muted:this.Fa});c&&this.dispatchEvent("volumechange")}});Object.defineProperty(a,"networkState",{get:function(){return this.Cb}});Object.defineProperty(a,"paused",{get:function(){return this.Va}});Object.defineProperty(a,"playbackRate",{get:function(){return 1},set:function(){}});Object.defineProperty(a,"played",{get:function(){return new ti(this.wb)}});
Object.defineProperty(a,"poster",{get:function(){return null},set:function(){}});Object.defineProperty(a,"preload",{get:function(){return"auto"},set:function(){}});Object.defineProperty(a,"readyState",{get:function(){return this.Ef}});Object.defineProperty(a,"seekable",{get:function(){return new ti(0)}});Object.defineProperty(a,"seeking",{get:function(){return!1}});Object.defineProperty(a,"src",{get:function(){return this.Ia},set:function(a){(this.Ia=a)?T(this,"src",{src:this.Ia}):T(this,"src");(a=
this.dc.get(this.Ia))&&a.cacheReady?T(this,"load"):this.load()}});Object.defineProperty(a,"style",{get:function(){return this.ao}});Object.defineProperty(a,"videoHeight",{get:function(){return this.vo}});Object.defineProperty(a,"videoWidth",{get:function(){return this.Ao}});Object.defineProperty(a,"volume",{get:function(){return this.tb},set:function(a){0>a?a=0:1<a&&(a=1);var c=this.tb!=a;this.tb=a;T(this,"volume",{volume:this.tb});c&&this.dispatchEvent("volumechange")}});Object.defineProperty(a,
"webkitDisplayingFullscreen",{get:function(){return!1}});Object.defineProperty(a,"webkitSupportsFullscreen",{get:function(){return!1}});Object.defineProperty(a,"width",{get:function(){return 0>this.Xa?100:this.Xa},set:function(a){this.Xa=Di(a);wi(this)}})},Gi=function(a,b){var c=t(a)?document.getElementById(a):a;if(c)if(De()&&!ze("4.0.0")){var d=c,c=new U;c.g=d;Ei(c,d);Bi(c);b&&Fi(c)}else c.setPosition=function(a,b,d,k){c.style.left=w(a)?a+"px":a;c.style.top=w(b)?b+"px":b;c.style.width=w(d)?d+"px":
d;c.style.height=w(k)?k+"px":k};return c};U.initVideo=Gi;r("AFMA_InitVideo",Gi,void 0);
var Hi=function(a){a.jo||(a.jo=!0,a.b.listen(a.aa,"touchstart",function(a){for(var c=a.ab.changedTouches,d=0;d<c.length;d++)this.kc[c[d].identifier]={x:c[d].clientX,y:c[d].clientY};a.stopPropagation();a.preventDefault()}),a.b.listen(a.aa,"touchmove",function(a){for(var c=a.ab.changedTouches,d=0;d<c.length;d++){var e=c[d],f=e.identifier;if(f in this.kc){c=Math.round(e.clientX-this.kc[f].x);e=Math.round(e.clientY-this.kc[f].y);T(this,"touchMove",{dx:c,dy:e});this.kc[f].x+=c;this.kc[f].y+=e;break}}a.stopPropagation();
a.preventDefault()}),a.b.listen(a.aa,["touchend","touchcancel"],function(a){for(var c=a.ab.changedTouches,d=0;d<c.length;d++)delete this.kc[c[d].identifier];a.stopPropagation();a.preventDefault()}))},Ii=function(a,b,c){var d=new U;d.Nb=t(a)?document.getElementById(a):a;Ei(d,b);d.yk&&Hi(d);Bi(d);c&&Fi(d);return d};U.initAfmaVideo=Ii;
var Ei=function(a,b){b&&(null!=b.dg&&(a.Ga=b.dg),null!=b.th&&(a.yk=b.th),null!=b.autoplay&&(a.autoplay=b.autoplay),null!=b.controls&&(a.tc=b.controls),null!=b.loop&&(a.loop=b.loop),null!=b.muted&&(a.Fa=b.muted),null!=b.te&&(a.$j=b.te),null!=b.Dl&&(a.El=b.Dl),null!=b.Hn&&(a.In=b.Hn),null!=b.src&&(a.Ia=b.src),null!=b.volume&&(a.tb=b.volume),null!=b.jh&&(a.ck=b.jh),b.style.left&&(a.Ce=parseInt(b.style.left,10)),b.style.top&&(a.De=parseInt(b.style.top,10)),b.style.height?a.Oa=Di(b.style.height):b.height&&
(a.Oa=Di(b.height)),b.style.width?a.Xa=Di(b.style.width):b.width&&(a.Xa=Di(b.width)),a.Ca="none"!=b.style.display&&!!parseInt(b.style.opacity||"1",10)&&"hidden"!=b.style.visibility)},Di=function(a){return"100%"==a?-1:parseInt(a,10)};U.HAVE_NOTHING=0;U.HAVE_METADATA=1;U.HAVE_CURRENT_DATA=2;U.HAVE_FUTURE_DATA=3;U.HAVE_ENOUGH_DATA=4;U.NETWORK_EMPTY=0;U.NETWORK_IDLE=1;U.NETWORK_LOADING=2;U.NETWORK_NO_SOURCE=3;var Ji=function(a){M.call(this,"error");this.nb=a||null};B(Ji,M);
Ji.prototype.yg=function(a){return this.nb&&this.nb[a]?this.nb[a]:""};U.prototype.autoplay=!1;U.prototype.autoplay=U.prototype.autoplay;h=U.prototype;h.Nb=null;h.tc=!1;h.wb=0;h.ja=Number.NaN;h.aa=null;h.bf=!1;h.$d=null;h.Oa=-1;h.loop=!1;U.prototype.loop=U.prototype.loop;h=U.prototype;h.Cb=0;h.Va=!0;h.Ef=0;h.Ia=null;h.g=null;h.Ca=!0;h.Xa=-1;h.Ce=0;h.De=0;
var T=function(a,b,c){"new"==b&&(a.fa=!0);c=c||{};if(a.$j&&"src"==b){var d=c.src;a.fa?(d=a.dc.get(c.src))&&d.cacheReady?c.src=d.cachedSrc:R("precache",{src:a.Ia,abort:""}):d&&(c.player=a.Ga,a.$b&&(c.mimetype=a.$b),R("precache",c),a.dc.set(d,{}),a.dispatchEvent("precacheStarted"))}a.fa&&("play"==b&&(a.G=!0),c.action=b,R("video",c))};U.prototype.canPlayType=function(a){return Ce()&&!D(Ci,Da(a).toLowerCase())?"":"maybe"};U.prototype.canPlayType=U.prototype.canPlayType;
U.prototype.rh=function(a){(this.$b=a)&&T(this,"mimetype",{mimetype:this.$b})};U.prototype.setMimeType=U.prototype.rh;U.prototype.load=function(){2==this.Cb&&this.dispatchEvent("abort");this.Mc();Ki(this)};U.prototype.load=U.prototype.load;U.prototype.play=function(){0==this.Cb&&Ki(this);this.bf&&(this.Oc(0),this.bf=!1);this.Va&&(this.Va=!1,this.dispatchEvent("play"),3>this.Ef?this.dispatchEvent("waiting"):(T(this,"play"),this.dispatchEvent("playing")))};U.prototype.play=U.prototype.play;
U.prototype.pause=function(){0==this.Cb&&Ki(this);this.Va||(3<=this.Ef&&T(this,"pause"),this.Va=!0,this.dispatchEvent("pause"))};U.prototype.pause=U.prototype.pause;U.prototype.Mc=function(){this.Va||(this.Va=!0,T(this,"pause"));0!=this.wb&&this.Oc(0);this.ii=new ti(0);this.Re=!1;this.ja=Number.NaN;this.bf=!1;this.$d=null;this.Ef=0;0!=this.Cb&&(this.Cb=0,this.dispatchEvent("emptied"))};var Ki=function(a){a.Ia?(a.Cb=2,T(a,"load"),a.dispatchEvent("loadstart")):a.Cb=3};
U.prototype.Oc=function(a){this.wb=a;T(this,"currentTime",{time:this.wb});this.dispatchEvent("timeupdate")};U.prototype.Zr=function(){T(this,"position",Li(this))};U.prototype.setPosition=function(a,b,c,d){this.Ce=parseInt(a,10);this.De=parseInt(b,10);this.Xa=Di(c);this.Oa=Di(d);wi(this)};U.prototype.setPosition=U.prototype.setPosition;U.prototype.webkitEnterFullscreen=function(){};U.prototype.webkitEnterFullscreen=U.prototype.webkitEnterFullscreen;U.prototype.webkitExitFullscreen=function(){};
U.prototype.webkitExitFullscreen=U.prototype.webkitExitFullscreen;var Li=function(a){var b={},c;a.ck?c=a.ck():a.aa&&x(a.aa.getBoundingClientRect)&&Zc(Mc(a.aa),a.aa)&&(c=a.aa.getBoundingClientRect());c?(b.h=Math.round(c.height)+(0!=c.height?1:0),b.w=Math.round(c.width)+(0!=c.width?1:0),b.x=Math.floor(c.left),b.y=Math.floor(c.top)):(0<=a.Oa&&(b.h=a.Oa),0<=a.Xa&&(b.w=a.Xa),b.x=a.Ce,b.y=a.De);return b};
U.prototype.on=function(a){a=a.ra;var b=a.event,c=a.cachedSrc;if(a.src){if("precacheCanceled"==b)c=a.src,b=a.reason,this.dc.remove(c),c==this.Ia&&(c={},a.type&&(c.type=a.type),a.reason&&(c.reason=a.reason),a.message&&(c.message=a.message),this.dispatchEvent(new yi(c)),"badUrl"==b?(this.Mc(),this.$d=new ui(2),this.dispatchEvent(new Ji({name:"precacheCancel",reason:b}))):this.fa||Mi(this));else if("precacheComplete"==b)c&&(b=a.src,c=this.dc.get(b)||{},c.cachedSrc=a.cachedSrc,c.cacheReady=!0,this.dc.set(b,
c),b==this.Ia&&(this.dispatchEvent("precacheComplete"),this.fa||Mi(this)));else if("precacheProgress"==b&&c){var b=1==parseInt(a.cacheReady,10),c=a.src,d=new si,e=this.dc.get(c)||{},f=!1;if(b){var g=parseFloat(a.bufferedDuration)||0,k=parseFloat(a.totalDuration)||0;g>this.In?f=!0:1E3<g&&null!=e.startTime&&(d.getTime()-e.startTime)/g*(k-g)<k&&(f=!0)}e.cachedSrc=a.cachedSrc;e.cacheReady=b;null!=e.startTime||(e.startTime=d.getTime());this.dc.set(c,e);c==this.Ia&&(this.dispatchEvent(new zi({cacheReady:b})),
!this.fa&&f&&Mi(this))}!this.fa&&this.ti&&Fi(this)}};
U.prototype.mb=function(a){a=a.ra;var b=a.event;if("canplaythrough"==b){this.vo=parseFloat(a.videoHeight)||0;this.Ao=parseFloat(a.videoWidth)||0;if(a=a.duration)this.ja=parseFloat(a),this.ii=new ti(this.ja),this.dispatchEvent("durationchange");Mi(this)}else"ended"==b?this.loop?(this.Oc(0),T(this,"play"),this.dispatchEvent("seeking"),this.dispatchEvent("progress"),this.dispatchEvent("seeked")):(this.Va=this.bf=!0,this.dispatchEvent("ended")):"error"==b?"no_video_view"==a.what?Fi(this):(this.Mc(),this.$d=
new ui(2),b={},a.what&&(b.name=a.what),a.extra&&(b.reason=a.extra),this.dispatchEvent(new Ji(b))):"pause"==b?!this.Re&&Ce()||this.Va||(this.Va=!0,this.dispatchEvent("pause")):"timeupdate"==b&&this.G&&(a=a.time)&&(this.wb=parseFloat(a),this.dispatchEvent("timeupdate"))};
var Mi=function(a){a.Re||2!=a.Cb||(a.Cb=1,a.Ef=4,a.dispatchEvent("loadedmetadata"),a.dispatchEvent("loadeddata"),a.dispatchEvent("canplay"),a.dispatchEvent("canplaythrough"),a.fa&&(a.Va?a.autoplay&&a.play():(T(a,"play"),a.dispatchEvent("playing"))),a.dispatchEvent("progress"),a.Re=!0)};U.prototype.kn=function(){this.pause()};U.prototype.rn=function(){this.fa?wi(this):Fi(this)};
var Fi=function(a){if(a.El&&a.src){var b=a.dc.get(a.src);if(b&&!b.cacheReady){a.ti=!0;return}}a.ti=!1;a.g&&a.g.parentNode?(b=a.g,b.parentNode&&b.parentNode.insertBefore(a.aa,b),Yc(a.g)):a.Nb&&a.Nb.appendChild(a.aa);Bi(a);b=Li(a);b.player=a.Ga;a.yk&&(b.spherical=!0);T(a,"new",b);a.tc&&(a.controls=a.tc);a.Fa&&(a.muted=a.Fa);1!=a.tb&&(a.volume=a.tb);a.$b&&a.rh(a.$b);a.src=a.Ia;a.Ca||vi(a,a.Ca);a.Re&&(a.Va?a.autoplay&&a.play():(T(a,"play"),a.dispatchEvent("playing")));a.rj.start()},vi=function(a,b){a.Ca=
b;a.Ca?T(a,"show"):(a.pause(),T(a,"hide"))},Bi=function(a){a.aa&&(ld(a.aa,a.Ce,a.De),a.aa.style.width=0>a.Xa?kd("100%",!0):kd(a.Xa,!0),a.aa.style.height=0>a.Oa?kd("100%",!0):kd(a.Oa,!0))},wi=function(a){Bi(a);T(a,"position",Li(a))};U.prototype.Lr=function(){Bi(this);var a=Li(this);if(null===this.Od||this.Od.x!=a.x||this.Od.y!=a.y||this.Od.w!=a.w||this.Od.h!=a.h)this.Od=a,wi(this)};var Ni=function(){if(!ve)return 0;var a=xe();return parseFloat(a)||0};var Oi=function(a){if(a.classList)return a.classList;a=a.className;return t(a)&&a.match(/\S+/g)||[]},Pi=function(a,b){return a.classList?a.classList.contains(b):D(Oi(a),b)},Qi=function(a,b){a.classList?a.classList.add(b):Pi(a,b)||(a.className+=0<a.className.length?" "+b:b)},Ri=function(a){a.classList?a.classList.remove("canvas-component-video-movie-hidden"):Pi(a,"canvas-component-video-movie-hidden")&&(a.className=$a(Oi(a),function(a){return"canvas-component-video-movie-hidden"!=a}).join(" "))};var Si=function(){this.L=[];var a;if(a=hg.getInstance().L.video_client_side_flags)this.L=a.split(",")};ca(Si);var Ti=function(){this.Lf=!1;De()?this.Lf=Ge("8000000.0.0"):Ce()&&(this.Lf=Ie("7.5.1"))};Ti.prototype.Wa=function(a,b){if(this.Lf){var c={action:"extra"};c.name=a;c.value=b;Ui(c)}};Ti.prototype.tick=function(a,b){if(this.Lf){var c={action:"tick"};c.timestamp=(new si).getTime();c.label=a;c.start_label=b?b:"native:view_create";Ui(c)}};var Ui=function(a){R("instrument",a)};if(window.jstiming){window.jstiming.kl={};window.jstiming.As=1;var Vi=function(a,b,c){var d=a.t[b],e=a.t.start;if(d&&(e||c))return d=a.t[b][0],void 0!=c?e=c:e=e[0],Math.round(d-e)},Wi=function(a,b,c){var d="";window.jstiming.srt&&(d+="&srt="+window.jstiming.srt);window.jstiming.pt&&(d+="&tbsrt="+window.jstiming.pt);var e=window.chrome;if(e&&(e=e.loadTimes)){e().wasFetchedViaSpdy&&(d+="&p=s");if(e().wasNpnNegotiated){var d=d+"&npn=1",f=e().npnNegotiatedProtocol;f&&(d+="&npnv="+(encodeURIComponent||
escape)(f))}e().wasAlternateProtocolAvailable&&(d+="&apa=1")}window.jstiming.jsError&&(d+="&je=1");var g=a.t,k=g.start,e=[],f=[],l;for(l in g)if("start"!=l&&0!=l.indexOf("_")){var m=g[l][1];m?g[m]&&f.push(l+"."+Vi(a,l,g[m][0])):k&&e.push(l+"."+Vi(a,l))}if(b)for(var u in b)d+="&"+u+"="+b[u];(b=c)||(b="https:"==document.location.protocol?"https://csi.gstatic.com/csi":"http://csi.gstatic.com/csi");return[b,"?v=3","&s="+(window.jstiming.sn||"gmob")+"&action=",a.name,f.length?"&it="+f.join(","):"",d,"&rt=",
e.join(",")].join("")},Xi=function(a,b,c){a=Wi(a,b,c);if(!a)return"";b=new Image;var d=window.jstiming.As++;window.jstiming.kl[d]=b;b.onload=b.onerror=function(){window.jstiming&&delete window.jstiming.kl[d]};b.src=a;b=null;return a};window.jstiming.report=function(a,b,c){return Xi(a,b,c)}};var Yi=function(){this.$h=new Ti;this.L=hg.getInstance();this.Nl=[];this.Sb={};this.Kl=!1;this.Yg=null;this.zn=0;var a=this.L.L.csi_experiment_ids||void 0||"";if(a){if(this.$h.Lf){var b={action:"experiment"};b.value=a;Ui(b)}this.Sb.e=a}(a=this.L.L.gws_query_id||void 0||"")&&this.Wa("j_e_gqi",a);(a=this.L.L.query_id||void 0||"")&&this.Wa("j_e_qqi",a);(a=Ce()?He():De()?Fe():"")&&this.Wa("j_e_afma_sdk",a);this.Sb.s_e_id=Ea()},Zi=function(a){a.Kl&&(a.Yg&&window.clearTimeout(a.Yg),a.Yg=window.setTimeout(z(function(){this.report("js_webview_partial");
this.Yg=null},a),500))};Yi.prototype.tick=function(a,b){var c=D(this.Nl,a);if(b||!c)this.$h.tick(a),window.jstiming&&window.jstiming.load&&x(window.jstiming.load.tick)&&window.jstiming.load.tick(a),c||this.Nl.push(a);Zi(this)};Yi.prototype.Wa=function(a,b,c){var d=vb(this.Sb,a);if(c||!d)this.$h.Wa(a,b),this.Sb[a]=b;Zi(this)};
Yi.prototype.report=function(a){var b=this.Sb.j_e_ad_format;b&&(this.Sb.j_e_ad_format="js_"+b);this.Sb.s_e_seq=""+this.zn;this.zn++;a=a||"js_webview_close";window.jstiming&&window.jstiming.load&&x(window.jstiming.report)&&(window.jstiming.load.name=a,window.jstiming.report(window.jstiming.load,this.Sb));this.Sb.j_e_ad_format=b};var aj=function(a,b,c,d,e,f){Ed.call(this);this.hp=a;this.Cs=td(".video-container-rotate-90 {transform-origin: left top;-ms-transform: rotate(90deg);-ms-transform-origin: left top;-webkit-transform: rotate(90deg);-webkit-transform-origin: left top;-o-transform: rotate(90deg);-o-transform-origin: left top;-moz-transform: rotate(90deg);-moz-transform-origin: left top;}");this.Ds=td(".video-container-rotate-neg-90 {transform: rotate(-90deg);transform-origin: left top;-ms-transform: rotate(-90deg);-ms-transform-origin: left top;-webkit-transform: rotate(-90deg);-webkit-transform-origin: left top;-o-transform: rotate(-90deg);-o-transform-origin: left top;-moz-transform: rotate(-90deg);-moz-transform-origin: left top;}");
this.Ya=b;Qi(this.Ya,"container");J(this.Ya,"position","relative");this.language=c||"en";this.qa=hg.getInstance();if(f&&(a=this.qa,f=f.flags))for(a.L={},b=0;b<f.length;b++)a.L[f[b].name]=f[b].value;this.tl=Si.getInstance();this.Jg=!!ig(this.qa,"isPreview");f=this.qa.L.afma_sdk_version||"";Ce()&&(re=f?Ae(f):Be());this.T=new Yi;this.Wd=this.Jg?0:parseInt(this.qa.L.delay_page_loaded_timeout,10)||0;this.Fl=this.Jg?null:this.qa.L.delay_page_loaded_timeout_action||void 0;this.Jn=!this.Jg&&!!ig(this.qa,
"enable_preloading_in_ima");this.$s=!!ig(this.qa,"use_companions_as_end_slate");this.zi=!this.Jg&&(Ie("7.2.0")||4.1<=Ni()&&Ge("7200000.0.0"))&&!!ig(this.qa,"use_afma_video_player");!this.zi&&ue&&(f=ye(),0>Ga(f,"7.0")||0<=Ga(f,"8.0")&&Ga(f,"8.1"));this.Um=parseInt(this.qa.L.load_video_timeout,10)||-1;this.Rf=null;this.Ll=this.ki=!1;this.fi=null;this.Gl=this.Zi=this.Pm=this.Gg=this.Cm=this.ge=this.gi=!1;f=new mi;f.Zc=this.zi;f.Zc&&(Ge("8200000.0.0")?f.dg=parseInt(this.qa.L.afma_video_player_type,10)||
0:f.dg=0);f.autoplay=Ce()&&!this.zi;f.controls=!1;f.te=f.Zc&&this.Jn&&!Ce();if(f.te){(a=parseInt(this.qa.L.afma_precache_min_buffer,10)||void 0)&&0<=a&&(f.Hn=a);if(a=f.te&&D($i,f.dg))a=Fe(),!a||0>Ga(a,"3000000.0.0")?a=!1:(a=oa(String(a)).split("."),a=2<a.length&&0==a[2]?!1:1<a.length&&a[0]>=a[1]?!0:!1);f.Dl=a?!0:!1}ig(this.qa,"is_spherical_video")&&(f.th=!0);f.Kf="";f.Ts=!0;this.Uc=f;f=new Wh;f.disableClickThrough=!0;f.enablePreloading=this.Jn;f.useStyledLinearAds=!0;-1!=this.Um&&(f.loadVideoTimeout=
this.Um);this.cl=f;a:if(a=this.language,f=S,null!=a){a=a.toLowerCase().replace("-","_");if(!D(ki,a)&&(a=(a=a.match(/^\w{2,3}([-_]|$)/))?a[0].replace(/[_-]/g,""):"",!D(ki,a)))break a;f.wj=a}S.Am=!0;S.Id=!1;S.Uf=!1;S.qo=this.$s;"CN"==(this.qa.L.geo_country||"")&&(S.Gm=!0);f=document.createElement("div");f.setAttribute("id","play_img_container");J(f,"display","none");this.Ya.appendChild(f);this.bh=f;ig(this.qa,"use_spinner")&&(Ce()||ze("4.1.0"))?(f=document.createElement("div"),f.setAttribute("id","spinner_container"),
a={},f.innerHTML=Dg('<img id="spinner_image" src="//googleads.g.doubleclick.net/pagead/images/gmob/video_loading.svg"/><style'+(a.Ob?' nonce="'+a.Ob+'"':"")+">#spinner_container {position: absolute; left: 50%; top: 50%; opacity:0.6; pointer-events:none;}#spinner_image {height: 100%; width: 100%;}</style>"),J(f,"display","none"),this.Ya.appendChild(f)):f=null;this.uh=f;Ee()&&ah();O(n,"resize",this.mm,!1,this);ue&&O(n,"orientationchange",this.mm,!1,this);dg("onhide",this.Oi,!1,this);dg("onshow",this.jm,
!1,this);this.Uc.Zc&&dg("volume",this.Tq,!1,this);0<this.Wd&&(this.Rf=new xg(this.fq,this.Wd,this),this.Rf.start())};B(aj,Ed);aj.prototype.A=function(){bj(this);ud(this.Cs);ud(this.Ds);cg("onhide",this.Oi,!1,this);cg("onshow",this.jm,!1,this);this.gi&&this.gi&&(this.fi&&(cg("onbackblocked",this.fi,!1,this),this.fi=null),Yg(!1),this.gi=!1);aj.D.A.call(this)};var $i=[1,2],bj=function(a){a.Rf&&(Fd(a.Rf),a.Rf=null)};h=aj.prototype;
h.bq=function(a){switch(a.type){case "adCanPlay":this.T.tick("j_vi_cpl");0<this.Wd&&(cj(this),bj(this));break;case "click":a=a.getAd().Qb.clickThroughUrl;(a=$g(a))&&(D(this.tl.L,"use_system_browser")?hh(a):fh(a));break;case "loaded":this.Ni(a);break;case "start":this.Ri();break;case "pause":this.Pi();break;case "resume":this.Qi();break;case "skippableStateChanged":this.T.tick("j_vi_ssh");break;case "skip":this.T.tick("j_vi_skp");break;case "complete":this.T.tick("j_vi_cp");break;case "allAdsCompleted":this.Li();
break;case "urlNavigationRequested":(a=(a=a.getAdData())?a.url:"")&&(D(this.tl.L,"use_system_browser")?hh(a):fh(a));break;case "video_card_endcap_impression":this.Ll=!0,O(document,"visibilitychange",this.Sq,!1,this)}};
h.sq=function(a){switch(a.type){case "precacheStarted":this.T.tick("j_pc_st");break;case "precacheCanceled":a=a.yg("reason");this.T.tick("j_pc_ca");this.T.Wa("j_e_pc_reason",a);break;case "precacheComplete":this.T.tick("j_pc_cp");break;case "precacheProgress":a.nb&&a.nb.cacheReady&&a.nb.cacheReady&&this.T.tick("j_pc_rd")}};h.Sq=function(){this.Ll&&!document.hidden&&this.Aa&&this.G&&this.Aa.pause()};
h.handleError=function(a,b){this.T.tick("j_vi_fa");0<this.Wd&&(this.ge||(this.ge=!0,Xg()),bj(this));b&&(this.Zi=!0,Ee()&&!Sg||!Ee()||R("close",void 0))};h.Oi=function(a){a&&a.ra&&"0"==a.ra.closetype&&this.T.tick("j_ad_bb");this.T.tick("j_ad_cl");this.Gl||(this.T.report(),this.Gl=!0)};h.jm=function(){this.T.tick("j_ad_ws");this.Zi?(this.Zi=!0,Ee()&&!Sg||!Ee()||R("close",void 0)):(Ee()&&ah(),this.ki||this.start())};
h.Tq=function(a){if(a&&a.ra){var b=a.ra.app_volume;b&&this.T.Wa("j_e_app_volume",b.toString());(a=a.ra.device_volume)&&this.T.Wa("j_e_dev_volume",a.toString())}};h.start=function(){Ee()&&!Sg||!this.Cm||this.Pm||(dj(this),this.Pm=!0,this.uh&&setTimeout(z(function(){this.Gg||J(this.uh,"display","block")},this),1E3))};h.Ri=function(){this.T.tick("j_vi_st");this.Gg=!0;this.uh&&J(this.uh,"display","none")};
h.Ni=function(a){this.T.tick("j_vi_ld");this.Cm=!0;(a=a.getAd())&&(a=a.getAdSystem())&&this.T.Wa("j_e_ad_system",a);this.ki||this.start()};h.Pi=function(){this.bh&&this.Gg&&(J(this.bh,"display","block"),this.T.tick("j_vi_pab"))};h.Qi=function(){this.bh&&this.Gg&&(J(this.bh,"display","none"),this.T.tick("j_vi_plb"))};h.fq=function(){0<this.Wd&&("start_ad"==this.Fl?cj(this):"cancel_ad"==this.Fl?this.ge||(this.ge=!0,Xg()):cj(this));bj(this)};var cj=function(a){a.ge||(a.ge=!0,Wg())};var ej=function(a,b,c,d,e,f){this.Aa=b;this.Fa=!1;this.Kn=1;this.ac=a;Qi(this.ac,"mute_button_container");f&&Qi(this.ac,"no_background");a=this.ac;b={};a.innerHTML=Dg('<div id="mute_button_background"></div><div id="mute_button_img_container"><img id="mute_button_image"/><img id="unmute_button_image"/></div><style'+(b.Ob?' nonce="'+b.Ob+'"':"")+">#mute_button_background {background-color: #000; border-radius: 50%; height: 100%; opacity: 0.5; width: 100%;}.no_background > #mute_button_background {opacity: 0;}#mute_button_img_container {position: absolute; top: 50%; left: 50%;}#mute_button_image {height: 100%; width: 100%;}#unmute_button_image {height: 100%; width: 100%;}.mute_button_container {border: 1px solid #fff; border-radius: 50%;}.no_background {border: none;}</sytle>");
this.oe=document.getElementById("mute_button_img_container");this.Rg=document.getElementById("mute_button_image");this.Lh=document.getElementById("unmute_button_image");this.Nk=this.Fj="";this.ya=d||null;this.bg=e;c?(this.Fj="//googleads.g.doubleclick.net/pagead/images/gmob/video_ctd_mute.svg",this.Nk="//googleads.g.doubleclick.net/pagead/images/gmob/video_ctd_unmute.svg"):(this.Fj="//googleads.g.doubleclick.net/pagead/images/gmob/video_mute_icon_38x38.png",this.Nk="//googleads.g.doubleclick.net/pagead/images/gmob/video_unmute_icon_38x38.png");
this.Rg.setAttribute("src",this.Fj);this.Lh.setAttribute("src",this.Nk);J(this.Rg,"display","none");J(this.Lh,"display","block");O(this.ac,"click",this.nq,!1,this)},hj=function(a,b){b&&!a.Fa?fj(a):!b&&a.Fa&&gj(a)},ij=function(a,b){J(a.ac,"height",b+"px");J(a.ac,"width",b+"px");var c=.6*b;J(a.oe,"height",c+"px");J(a.oe,"width",c+"px");J(a.oe,"margin-bottom","0px");J(a.oe,"margin-right","0px");J(a.oe,"margin-left",0-c/2+"px");J(a.oe,"margin-top",0-c/2+"px")},fj=function(a){a.Kn=a.Aa.getVolume();a.Aa.setVolume(0);
a.Fa=!0;J(a.Rg,"display","block");J(a.Lh,"display","none")},gj=function(a){a.Aa.setVolume(a.Kn);a.Fa=!1;J(a.Rg,"display","none");J(a.Lh,"display","block")};
ej.prototype.nq=function(a){a.stopPropagation();if(a.target.id==this.ac.id||"mute_button_background"==a.target.id||"mute_button_img_container"==a.target.id||"mute_button_image"==a.target.id||"unmute_button_image"==a.target.id)this.Fa?(gj(this),this.ya&&this.ya.tick("j_vi_ubc"),this.bg&&this.bg("clk_on_muted")):(fj(this),this.ya&&this.ya.tick("j_vi_mbc"),this.bg&&this.bg("clk_on_unmuted"))};var jj=function(a,b,c){this.Ej=b;this.Ci=c;this.Ae=a;this.tk=!0};h=jj.prototype;h.If=function(a){this.Xi=a};h.getInnerError=function(){return this.Xi};h.getMessage=function(){return this.Ej};h.getErrorCode=function(){return this.Ci};h.toString=function(){return"AdError "+this.getErrorCode()+": "+this.getMessage()+(null!=this.getInnerError()?" Caused by: "+this.getInnerError():"")};var kj=function(a){M.call(this,"adError");this.$d=a};B(kj,M);kj.prototype.getError=function(){return this.$d};var lj="://secure-...imrworldwide.com/ ://cdn.imrworldwide.com/ ://aksecure.imrworldwide.com/ ://[^.]*.moatads.com ://youtube[0-9]+.moatpixel.com www.google.com/pagead/sul www.youtube.com/pagead/sul".split(" "),mj=/\bocr\b/,nj=0,oj={},pj=function(a){return na(Da(a))?!1:0<=a.indexOf("://pagead2.googlesyndication.com/pagead/gen_204?id=yt3p&sr=1&")||(new N(a)).zc.match(mj)?!0:null!=db(lj,function(b){return null!=a.match(b)})},sj=function(a,b){if(a){var c='javascript:"data:text/html,<body><img src=\\"'+
a+'\\"></body>"';b?qj(function(b){rj(b?c:'javascript:"data:text/html,<body><object data=\\"'+a+'\\" width=1 height=1 style=\\"visibility:hidden;\\"></body>"')}):rj(c)}},rj=function(a){var b=Uc("iframe",{src:a,style:"display:none"});a=Mc(b).body;var c,d=Of(function(){ef(c);Yc(b)},15E3);c=cf(b,["load","error"],function(){Of(function(){n.clearTimeout(d);Yc(b)},5E3)});a.appendChild(b)},qj=function(a){var b=oj.imageLoadingEnabled;if(null!=b)a(b);else{var c=!1;tj(function(b,e){delete oj[e];c||(c=!0,null!=
oj.imageLoadingEnabled||(oj.imageLoadingEnabled=b),a(b))})}},tj=function(a){var b=new Image,c,d=""+nj++;oj[d]=b;b.onload=function(){clearTimeout(c);a(!0,d)};c=setTimeout(function(){a(!1,d)},300);b.src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="},uj=function(a){if(a){var b=document.createElement("OBJECT");b.data=a;b.width=1;b.height=1;b.style.visibility="hidden";var c=""+nj++;oj[c]=b;b.onload=b.onerror=function(){delete oj[c]};document.body.appendChild(b)}},
vj=function(a){if(a){var b=new Image,c=""+nj++;oj[c]=b;b.onload=b.onerror=function(){delete oj[c]};b.src=a}},wj=function(a,b){a&&(b?qj(function(b){b?vj(a):uj(a)}):vj(a))};var xj=function(a,b){return a.replace(/(\[|%5B)([a-zA-Z0-9_]+)(\]|%5D)/g,function(a,d,e){try{var f=zb(b,e),f=f.toString();if(!na(Da(f)))return encodeURIComponent(f).replace(/%2C/g,",")}catch(g){}return a})};var yj={cu:"video/mp4",eu:"video/mpeg",Yt:"application/x-mpegURL",iu:"video/ogg",Cu:"video/3gpp",Pu:"video/webm",bu:"audio/mpeg",du:"audio/mp4"};var zj=function(a,b,c,d){this.pa=a;this.Ql=Math.min(Math.max(c||0,0),1);this.tk=null!=d?d:!0};zj.prototype.zb=function(){return this.pa};var Aj=function(a){this.pa=a;this.Ol=new Od;this.Nc=null};Aj.prototype.zb=function(){return this.pa};var Bj=function(a){var b=Math.random(),c=0,d=a.Ol.R();C(d,function(a){c+=a.Ql},a);var e=1<c?c:1;a.Nc=null;for(var f=0,g=0;g<d.length;++g)if(f+=d[g].Ql,f/e>=b){a.Nc=d[g];break}};Aj.prototype.Ec=function(a){return!!this.Nc&&this.Nc.zb()==a};var Ej=function(){this.pg=null!=n.G_testRunner;this.gd=new Od;V(this,31061770,.05);V(this,31061771,.05);V(this,31061772,.05);V(this,31061773,.05);V(this,31061774,.01);V(this,31061775,.01);V(this,41351016,.05);V(this,41351017,.05);V(this,41351020,.01);V(this,41351021,.01);V(this,41351088,.01);V(this,41351089,.01);V(this,136961001,.01);V(this,136961002,.01);V(this,41351032,.05);V(this,41351033,.05);V(this,41351078,.1);V(this,41351079,.1);V(this,231422001,.05);V(this,231422002,.05);V(this,420706002,
.01);V(this,420706003,.01);Cj(this);var a;a=Yh(S);a=ai(a);null!=a&&(this.pg=!1,Dj(this,a.map(String)))},Fj=null,Gj=function(){Fj||(Fj=new Ej);return Fj},V=function(a,b,c){na(Da("GvnExternalLayer"))||isNaN(b)||0>=b||(b=new zj(b,0,c),Hj(a,"GvnExternalLayer").Ol.set(b.zb(),b))},Cj=function(a){$h()||S.bj()||C(a.gd.R(),function(a){Bj(a)},a)},Dj=function(a,b){C(b,function(a){var b=Number(a);a="FORCED_PUB_EXP_LAYER_"+a;isNaN(b)||0>=b||na(Da(a))||(Hj(this,a).Nc=new zj(b,0,0,!0))},a)},Ij=function(){var a=
Gj(),b={};C(a.gd.R(),function(a){var d=a.Nc;if(d){var e={};e.experimentId=d.zb();e.shouldReport=d.tk;b[a.zb()]=e}else b[a.zb()]={}});return b};Ej.prototype.Ec=function(a){return this.pg?!1:bb(this.gd.R(),function(b){return b.Ec(a)})};var Jj=function(){var a=Gj();if(a.pg)return"";var b=[];C(a.gd.R(),function(a){(a=a.Nc)&&a.tk&&b.push(a.zb())});return b.sort().join(",")};Ej.prototype.Mc=function(){C(this.gd.R(),function(a){a.Nc=null});this.pg=null!=n.G_testRunner};
var Hj=function(a,b){var c=a.gd.get(b);null==c&&(c=new Aj(b),a.gd.set(b,c));return c};var Kj=["*.googlesyndication.com","gcdn.2mdn.net"],Lj=["*.youtu.be","*.youtube.com"],Mj="ad.doubleclick.net bid.g.doubleclick.net corp.google.com ggpht.com google.co.uk google.com googleads.g.doubleclick.net googleads4.g.doubleclick.net googleadservices.com googlesyndication.com googleusercontent.com gstatic.com gvt1.com prod.google.com pubads.g.doubleclick.net s0.2mdn.net static.doubleclick.net static.doubleclick.net surveys.g.doubleclick.net youtube.com ytimg.com".split(" "),Nj=["c.googlesyndication.com"],
Pj=function(a,b){try{var c=(new N(b)).La,c=c.replace(/^www./i,"");return bb(a,function(a){return Oj(a,c)})}catch(d){return!1}},Oj=function(a,b){if(na(Da(b)))return!1;a=a.toLowerCase();b=b.toLowerCase();return"*."==a.substr(0,2)?(a=a.substr(2),a.length>b.length?!1:b.substr(-a.length)==a&&(b.length==a.length||"."==b.charAt(b.length-a.length-1))):a==b},Qj=function(a,b){return(new RegExp("^https?://([a-z0-9-]{1,63}\\.)*("+b.join("|").replace(/\./g,"\\.")+")(:[0-9]+)?([/?#]|$)","i")).test(a)};var Rj=function(a){try{a:{var b=a,c=void 0,d=b.length-11-2;if(!(-1==b.indexOf("URL_SIGNALS")||2048<=d||!c&&!window.Goog_AdSense_Lidar_getUrlSignalsArray))for(var c=c||window.Goog_AdSense_Lidar_getUrlSignalsArray(),d={},e=0;e<c.length;++e){d.URL_SIGNALS=c[e];var f=xj(b,d);if(2048>f.length){a=f;break a}}a=b}}catch(l){}try{b=a;c=!1;Qj(b,Nj)?c=!1:null!=b&&Pj(Lj,b)?c=!0:"https:"==window.location.protocol&&(Qj(b,Mj)||S.pd())&&(c=!0);if(c){var g=new N(b);"https"==g.Db?a=b:(Ud(g,"https"),a=g.toString())}else a=
b;var k=!S.pd()||Gj().Ec(41351089);S.ir?a&&(pj(a)?sj(a,k):wj(a,k)):wj(a,k)}catch(l){}};var Sj=function(a,b){this.message=a;this.errorCode=b};Sj.prototype.getErrorCode=function(){return this.errorCode};Sj.prototype.getMessage=function(){return this.message};
var Tj=new Sj("Invalid usage of the API. Cause: {0}",900),Uj=new Sj("Failed to initialize ad playback element before starting ad playback.",400),Vj=new Sj("The provided {0} information: {1} is invalid.",1101),Wj=function(a,b,c){var d;d=b||null;if(!(d instanceof jj)){var e=a.errorCode,f=a.message,g=lb(arguments,2);if(0<g.length)for(var k=0;k<g.length;k++)f=f.replace(new RegExp("\\{"+k+"\\}","ig"),g[k]);e=new jj("adPlayError",f,e);e.If(d);d=e}return d};var Yj=function(){return!Xj()&&(E("iPod")||E("iPhone")||E("Android")||E("IEMobile"))},Xj=function(){return E("iPad")||E("Android")&&!E("Mobile")||E("Silk")};var Zj=function(a){return(a=a.exec(Db))?a[1]:""},ak=function(){if(jg)return Zj(/Firefox\/([0-9.]+)/);if(F||sc||rc)return Ec;if(ng)return Zj(/Chrome\/([0-9.]+)/);if(og&&!(qc()||E("iPad")||E("iPod")))return Zj(/Version\/([0-9.]+)/);if(kg||lg){var a=/Version\/(\S+).*Mobile\/(\S+)/.exec(Db);if(a)return a[1]+"."+a[2]}else if(mg)return(a=Zj(/Android\s+([0-9.]+)/))?a:Zj(/Version\/([0-9.]+)/);return""}();var bk="abort canplay canplaythrough durationchange emptied loadstart loadeddata loadedmetadata progress ratechange seeked seeking stalled suspend waiting".split(" ");var ck={},dk="",ek=/OS (\S+) like/,fk=/Android ([\d\.]+)/,hk=function(){return!gk()&&(Yj()||Xj())},ik=function(){return xc&&!yc||Aa(Db,"iPod")},jk=function(){return ik()||yc},kk=function(a,b){if(null==ck[b]){var c;na(dk)&&(c=a.exec(Db))&&(dk=c[1]);(c=dk)?(c=c.replace(/_/g,"."),ck[b]=0<=Ga(c,b)):ck[b]=!1}return ck[b]},gk=function(){return S.Wb()||S.isNative()},lk=function(){var a=Db;return a?Aa(a,"Nintendo WiiU"):!1},mk=function(){var a;(a=Aa(Db,"CrKey")||Aa(Db,"PlayStation")||Aa(Db,"Roku"))||(a=(a=
Db)?Aa(a,"AppleTV")||Aa(a,"GoogleTV")||Aa(a,"HbbTV")||Aa(a,"NetCast.TV")||Aa(a,"Opera TV")||Aa(a,"POV_TV")||Aa(a,"SMART-TV")||Aa(a,"SmartTV"):!1);return a||Aa(Db,"Xbox")},nk=function(){return mg||gk()&&wc&&!(wc&&kk(fk,4.4))},ok=function(){return S.oc||gk()||S.Qm()&&hk()||jk()||wc&&(!wc||!kk(fk,4))||mk()?!0:!1};var pk=function(){this.sm=-1;this.bi=null;this.ym="";this.Zj=this.Gi=null},qk=new pk;pk.prototype.clear=function(){this.Mc()};pk.prototype.getPpid=function(){return this.Zj};var rk=function(){if(S.oc){var a="h.3.0.0";S.Wb()&&(a+="/o.0.0.0");return a}a="h."+qk.ym;null!=qk.Gi?(a+="/n."+qk.Gi,null!=qk.bi&&(a+="/"+qk.bi)):S.Wb()&&(a+="/o.0.0.0");return a};pk.prototype.Mc=function(){this.bi=null;this.ym="";this.Zj=this.Gi=null};var sk=function(){this.qr=.01>Math.random();this.zp=Math.floor(4503599627370496*Math.random())};ca(sk);sk.prototype.report=function(a,b,c){if(this.qr||c){b=b||{};b.lid=a;b.sdkv=rk();a=Jj();na(Da(a))||(b.e=a);b=tk(this,b);var d=new N("http://pagead2.googlesyndication.com/pagead/gen_204");ob(b,function(a,b){var c=null!=a?"boolean"==typeof a?a?"t":"f":""+a:"";Vd(d);d.ma.set(b,c)},this);a=uk();Ud(d,a.Db);S.bj()||Rj(d.toString())}};
var tk=function(a,b){b.id="";var c=uk();b.c=a.zp;b.domain=c.La;return b},uk=function(){var a=I(),b=document;return new N(a.parent==a?a.location.href:b.referrer)};window.console&&"function"===typeof window.console.log&&z(window.console.log,window.console);var vk=function(){return Math.round(A()/1E3)},wk=function(a){var b;b=window.performance&&window.performance.timing&&window.performance.timing.domLoading&&0<window.performance.timing.domLoading?Math.round(window.performance.timing.domLoading/1E3):null;return null!=b?b:null!=a?a:vk()};var xk=function(a){for(var b=[],c=a=I(a.ownerDocument);c!=a.top;c=c.parent)if(c.frameElement)b.push(c.frameElement);else break;return b};var yk=null,zk=function(){this.Gd={};this.Kg=0},Ak=function(a,b){this.xr=a;this.Yn=!0;this.rb=b};Ak.prototype.getName=function(){return this.xr};Ak.prototype.getValue=function(){return this.rb};Ak.prototype.gc=function(){return this.Yn?this.mk():""};Ak.prototype.mk=function(){return String(this.rb)};var Bk=function(a,b){Ak.call(this,String(a),b);this.qp=a;this.rb=!!b};B(Bk,Ak);Bk.prototype.mk=function(){return this.rb?"1":"0"};var Ck=function(a,b){Ak.call(this,a,b)};B(Ck,Ak);
Ck.prototype.mk=function(){return this.rb?Math.round(this.rb.top)+"."+Math.round(this.rb.left)+"."+(Math.round(this.rb.top)+Math.round(this.rb.height))+"."+(Math.round(this.rb.left)+Math.round(this.rb.width)):""};var Dk=function(a){if(a.match(/^-?[0-9]+\.-?[0-9]+\.-?[0-9]+\.-?[0-9]+$/)){a=a.split(".");var b=Number(a[0]),c=Number(a[1]);return new Ck("",new fd(c,b,Number(a[3])-c,Number(a[2])-b))}return new Ck("",new fd(0,0,0,0))},Ek=function(){yk||(yk=new zk);return yk};
zk.prototype.setItem=function(a){this.Gd[a.getName()]=a};zk.prototype.getItem=function(a){return zb(this.Gd,a,null)};zk.prototype.gc=function(a){var b=[];a||(a=0);for(var c in this.Gd){var d=this.Gd[c];d instanceof Bk?d.getValue()&&(a|=d.qp):(d=this.Gd[c].gc())&&b.push(c+d)}b.push("eb"+String(a));return b.join("_")};var Fk=function(a){var b=new fd(-Number.MAX_VALUE/2,-Number.MAX_VALUE/2,Number.MAX_VALUE,Number.MAX_VALUE),c=new fd(0,0,0,0);if(!a||0==a.length)return c;for(var d=0;d<a.length;d++){var e;a:{e=b;var f=a[d],g=Math.max(e.left,f.left),k=Math.min(e.left+e.width,f.left+f.width);if(g<=k){var l=Math.max(e.top,f.top),f=Math.min(e.top+e.height,f.top+f.height);if(l<=f){e.left=g;e.top=l;e.width=k-g;e.height=f-l;e=!0;break a}}e=!1}if(!e)return c}return b},Gk=function(a,b){var c=a.getBoundingClientRect(),d=od(a,
b);return new fd(Math.round(d.x),Math.round(d.y),Math.round(c.right-c.left),Math.round(c.bottom-c.top))},Hk=function(a,b,c){if(b&&c){var d;a:{d=Math.max(b.left,c.left);var e=Math.min(b.left+b.width,c.left+c.width);if(d<=e){var f=Math.max(b.top,c.top),g=Math.min(b.top+b.height,c.top+c.height);if(f<=g){d=new fd(d,f,e-d,g-f);break a}}d=null}e=d?d.height*d.width:0;f=d?b.height*b.width:0;d=d&&f?Math.round(e/f*100):0;a.setItem(new Ak("vp",d));d&&0<d?(e=gd(b),f=gd(c),e=e.top>=f.top&&e.top<f.bottom):e=!1;
a.setItem(new Bk(512,e));d&&0<d?(e=gd(b),f=gd(c),e=e.bottom<=f.bottom&&e.bottom>f.top):e=!1;a.setItem(new Bk(1024,e));d&&0<d?(e=gd(b),f=gd(c),e=e.left>=f.left&&e.left<f.right):e=!1;a.setItem(new Bk(2048,e));d&&0<d?(b=gd(b),c=gd(c),c=b.right<=c.right&&b.right>c.left):c=!1;a.setItem(new Bk(4096,c))}};var Ik=function(a){return ab(a,function(a){a=a.toString(16);return 1<a.length?a:"0"+a}).join("")};var Jk=null,Kk=null;var Lk=function(){this.Kb=-1};var Mk=function(a){this.ia=a||{cookie:""}},Nk=/\s*;\s*/;h=Mk.prototype;h.set=function(a,b,c,d,e,f){if(/[;=\s]/.test(a))throw Error('Invalid cookie name "'+a+'"');if(/[;\r\n]/.test(b))throw Error('Invalid cookie value "'+b+'"');q(c)||(c=-1);e=e?";domain="+e:"";d=d?";path="+d:"";f=f?";secure":"";c=0>c?"":0==c?";expires="+(new Date(1970,1,1)).toUTCString():";expires="+(new Date(A()+1E3*c)).toUTCString();this.ia.cookie=a+"="+b+e+d+c+f};
h.get=function(a,b){for(var c=a+"=",d=(this.ia.cookie||"").split(Nk),e=0,f;f=d[e];e++){if(0==f.lastIndexOf(c,0))return f.substr(c.length);if(f==a)return""}return b};h.remove=function(a,b,c){var d=this.Za(a);this.set(a,"",0,b,c);return d};h.Ab=function(){return Ok(this).keys};h.R=function(){return Ok(this).values};h.md=function(){return!this.ia.cookie};h.cb=function(){return this.ia.cookie?(this.ia.cookie||"").split(Nk).length:0};h.Za=function(a){return q(this.get(a))};
h.clear=function(){for(var a=Ok(this).keys,b=a.length-1;0<=b;b--)this.remove(a[b])};var Ok=function(a){a=(a.ia.cookie||"").split(Nk);for(var b=[],c=[],d,e,f=0;e=a[f];f++)d=e.indexOf("="),-1==d?(b.push(""),c.push(e)):(b.push(e.substring(0,d)),c.push(e.substring(d+1)));return{keys:b,values:c}},Pk=new Mk("undefined"==typeof document?null:document);Pk.Zt=3950;var Qk=function(){this.Kc={};return this};Qk.prototype.remove=function(a){var b=this.Kc;a in b&&delete b[a]};Qk.prototype.set=function(a,b){this.Kc[a]=b};var Rk=function(a,b){a.Kc.eb=zb(a.Kc,"eb",0)|b};Qk.prototype.get=function(a){return zb(this.Kc,a,null)};Qk.prototype.extend=function(a){Cb(this.Kc,a)};Qk.prototype.gc=function(){var a=[],b;for(b in this.Kc)a.push(b+this.Kc[b]);return a.join("_")};var Sk=function(a,b){var c=0;ub(I(),"ima","video","client","tagged")&&(c=1);var d;d=null;a&&(d=a());if(d){var e=d;d=Ek();d.Gd={};var f=new Bk(32,!0);f.Yn=!1;d.setItem(f);f=I().document;f=f.webkitVisibilityState||f.mozVisibilityState||f.visibilityState||f.msVisibilityState||"";d.setItem(new Bk(64,"hidden"!=f.toLowerCase().substring(f.length-6)?!0:!1));var g;try{var k;var l=I().top;try{k=!!l.location.href||""===l.location.href}catch(v){k=!1}if(k){var m=xk(e);g=m&&0!=m.length?"1":"0"}else g="2"}catch(v){g=
"2"}d.setItem(new Bk(256,"2"==g));d.setItem(new Bk(128,"1"==g));m=k=I().top;"2"==g&&(m=I());l=Gk(e,m);d.setItem(new Ck("er",l));var u;try{u=m.document&&!m.document.body?null:Rc(m||window)}catch(v){u=null}u?(m=Sc(Nc(m.document).ia),d.setItem(new Bk(16384,!!m)),u=m?new fd(m.x,m.y,u.width,u.height):null):u=null;d.setItem(new Ck("vi",u));if(u&&"1"==g){g=xk(e);e=[];for(m=0;m<g.length;m++)(f=Gk(g[m],k))&&e.push(f);e.push(u);u=Fk(e)}Hk(d,l,u);d.Kg&&(g=vk()-d.Kg,d.setItem(new Ak("ts",g)));d.Kg=vk()}else d=
Ek(),d.Gd={},d.Kg=vk(),d.setItem(new Bk(32,!1));this.qn=d;this.gb=new Qk;this.gb.set("ve",4);c&&Rk(this.gb,1);ub(I(),"ima","video","client","crossdomainTag")&&Rk(this.gb,4);ub(I(),"ima","video","client","sdkTag")&&Rk(this.gb,8);ub(I(),"ima","video","client","jsTag")&&Rk(this.gb,2);b&&zb(b,"fullscreen",!1)&&Rk(this.gb,16);this.Ib=d=null;if(c&&(c=ub(I(),"ima","video","client"),c.getEData)){this.Ib=c.getEData();if(c=ub(I(),"ima","video","client","getLastSnapshotFromTop"))if(g=c())this.Ib.extendWithDataFromTopIframe(g.tagstamp,
g.playstamp,g.lactstamp),c=this.qn,d=g.er,g=g.vi,d&&g&&(d=Dk(d).getValue(),g=Dk(g).getValue(),e=null,c.getItem("er")&&(e=c.getItem("er").getValue(),e.top+=d.top,e.left+=d.left,c.setItem(new Ck("er",e))),c.getItem("vi")&&(u=c.getItem("vi").getValue(),u.top+=d.top,u.left+=d.left,k=[],k.push(u),k.push(d),k.push(g),d=Fk(k),Hk(c,e,d),c.setItem(new Ck("vi",g))));d=this.Zp()}this.gb.set("td",vk()-wk(d))};
Sk.prototype.Zp=function(){if(this.Ib){if(this.Ib.getTagLoadTimestamp)return this.Ib.getTagLoadTimestamp();if(this.Ib.getTimeSinceTagLoadSeconds)return this.Ib.getTimeSinceTagLoadSeconds()}return null};Sk.prototype.gc=function(){var a=[],b=Number(this.gb.get("eb"));this.gb.remove("eb");var c=this.gb.gc();c&&a.push(c);this.Ib&&(c=this.Ib.serialize())&&a.push(c);(c=this.qn.gc(b))&&a.push(c);this.gb.set("eb",b);return a.join("_")};var Tk=new Nf(200),Uk=function(a,b){try{return(new Sk(a,b)).gc()}catch(c){return"tle;"+za(c.name,12)+";"+za(c.message,40)}},Vk=function(a){O(Tk,"tick",function(){var b=Uk(a),c=aa("ima.common.updateEngagementDetectionValue");c&&x(c)&&c(b)});Tk.start();Tk.dispatchEvent("tick")};var Wk={currentTime:1,duration:2,isVpaid:4,volume:8,isYouTube:16,isPlaying:32},wb={$k:"start",FIRST_QUARTILE:"firstquartile",MIDPOINT:"midpoint",THIRD_QUARTILE:"thirdquartile",COMPLETE:"complete",To:"metric",Zk:"pause",Vo:"resume",SKIPPED:"skip",$o:"viewable_impression",Uo:"mute",Zo:"unmute",FULLSCREEN:"fullscreen",Lo:"exitfullscreen",Qo:"fully_viewable_audible_half_duration_impression",So:"measurable_impression",Ho:"abandon",Ko:"engagedview",IMPRESSION:"impression",Jo:"creativeview",LOADED:"loaded"},
Xk="start firstquartile midpoint thirdquartile resume loaded".split(" "),Yk=["abandon"],Zk={Mu:-1,$k:0,FIRST_QUARTILE:1,MIDPOINT:2,THIRD_QUARTILE:3,COMPLETE:4,To:5,Zk:6,Vo:7,SKIPPED:8,$o:9,Uo:10,Zo:11,FULLSCREEN:12,Lo:13,Qo:14,So:15,Ho:16,Ko:17,IMPRESSION:18,Jo:19,LOADED:20},$k={Nu:1,Gt:2,Et:4,FULLSCREEN:8,It:16,Ht:32,Ft:64,Lt:128,mu:256};var al=function(a){a=(a||n).context;try{if(a&&"pageViewId"in a&&"canonicalUrl"in a)return a}catch(b){}return null};var cl=function(a){this.$e={};this.Jc={};a=a||[];for(var b=0,c=a.length;b<c;++b)this.Jc[a[b]]=""},el=function(){var a=dl(),b=new cl;Rb(a.$e,function(a,d){b.$e[d]=a});Rb(a.Jc,cl.prototype.Vp,b);return b};cl.prototype.Vp=function(a,b){this.Jc[b]=a};var fl=function(a){cl.call(this,a);this.dfltBktExt=this.$e;this.lrsExt=this.Jc};B(fl,cl);var gl=function(a){for(var b=0,c=a,d=0;a&&a!=a.parent;)a=a.parent,d++,Qb(a)&&(c=a,b=d);return{Wh:c,level:b}};var il=function(a){this.S=a;hl(this,3,null);hl(this,4,0);hl(this,5,0);hl(this,6,0);hl(this,15,0);a=yd();var b=al(a);b?((a=b||al())?(b=a.pageViewId,t(a.clientId)&&(b+=a.clientId.replace(/\D/g,"").substr(0,6)),a=b):a=null,a=+a):(a=gl(a).Wh,(b=a.google_global_correlator)||(a.google_global_correlator=b=1+Math.floor(Math.random()*Math.pow(2,43))),a=b);hl(this,7,a);hl(this,8,{});hl(this,9,{});hl(this,10,{});hl(this,11,[]);hl(this,12,0);hl(this,14,{});hl(this,17,!1);hl(this,18,!1);hl(this,19,{})},jl={},
kl=function(){var a=al(window);if(a&&ga(a.master))var a=a.master,b="google_persistent_state_async",c={};else{a=yd();b=wd?"google_persistent_state_async":"google_persistent_state";if(jl[b])return jl[b];c="google_persistent_state_async"==b?{}:a}var d=a[b];return null!=d&&"object"==typeof d&&null!=d.S&&"object"==typeof d.S?jl[b]=d:a[b]=jl[b]=new il(c)},ll={3:"google_exp_persistent",4:"google_num_sdo_slots",5:"google_num_0ad_slots",6:"google_num_ad_slots",7:"google_correlator",8:"google_prev_ad_formats_by_region",
9:"google_prev_ad_slotnames_by_region",10:"google_num_slots_by_channel",11:"google_viewed_host_channels",12:"google_num_slot_to_show",14:"gaGlobal",15:"google_num_reactive_ad_slots",17:"google_ose_setup_performed",18:"google_predictive_sra_request_sent",19:"google_removed_debug_exp_ids"},ml=function(a){if(a in ll)return ll[a];throw Error("unexpected state");},nl={14:"gaGlobal",8:"google_prev_ad_formats_by_region",9:"google_prev_ad_slotnames_by_region"},ol=function(a){return nl[a]||"google_ps_"+a},
pl=function(a,b,c){var d=a[ml(b)];a=a[ol(b)];d!==a&&(b={context:"ps_ckncc",url:yd().location.href,key:b,clr:c,old:String(d),"new":String(a),mgr:!0},Bd(b))},hl=function(a,b,c){a=a.S;var d=ml(b),e=ol(b);pl(a,b,2);d!==e&&void 0===a[e]&&(a[e]=c);void 0===a[d]&&(a[d]=c)};var ql=null,rl=function(){if(ql)return!0;var a=kl(),b,c;c=ol(3);var a=a.S,d=a[c];void 0===d?(a[c]=null,c=a[ol(3)]=null):(pl(a,3,1),c=d);if(c){a=c&&c.dfltBktExt&&c.lrsExt;b:if(c&&ga(c)){for(b in cl.prototype)if(Object.prototype.hasOwnProperty.call(cl.prototype,b)&&(d=cl.prototype[b],!(b in c)||typeof d!==typeof c[b])){b=!1;break b}b=!0}else b=!1;b&&a||(a?(b=new fl,b.$e=c.dfltBktExt,b.dfltBktExt=b.$e,b.Jc=c.lrsExt,b.lrsExt=b.Jc,c=b):c=null);c||(c=new fl,b={context:"ps::gpes::cf",url:yd().location.href},
Bd(b))}return(b=c)?(ql=b,!0):!1},dl=function(){if(rl())return ql;var a=kl(),b=new fl([2,1,3,4,5,7,12,13,14,17,19,29,31,35,41,42,44,45,46,48,49,51,53,54,55,56,58,59,60,61,62,63,64]),a=a.S;a[ol(3)]=b;return ql=a[ml(3)]=b},sl=null;var tl=function(a){return{visible:1,hidden:2,prerender:3,preview:4}[a.webkitVisibilityState||a.mozVisibilityState||a.visibilityState||""]||0},ul=function(){var a;vd.mozVisibilityState?a="mozvisibilitychange":vd.webkitVisibilityState?a="webkitvisibilitychange":vd.visibilityState&&(a="visibilitychange");return a};var vl=!1,wl="",xl=function(a){a=a.match(/[\d]+/g);if(!a)return"";a.length=3;return a.join(".")};
(function(){if(navigator.plugins&&navigator.plugins.length){var a=navigator.plugins["Shockwave Flash"];if(a&&(vl=!0,a.description)){wl=xl(a.description);return}if(navigator.plugins["Shockwave Flash 2.0"]){vl=!0;wl="2.0.0.11";return}}if(navigator.mimeTypes&&navigator.mimeTypes.length&&(a=navigator.mimeTypes["application/x-shockwave-flash"],vl=!!a&&a.enabledPlugin)){wl=xl(a.enabledPlugin.description);return}try{var b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");vl=!0;wl=xl(b.GetVariable("$version"));
return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");vl=!0;wl="6.0.21";return}catch(c){}try{b=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),vl=!0,wl=xl(b.GetVariable("$version"))}catch(c){}})();var yl=wl;var zl={},Al=null;zl.le=0;zl.nt=2;zl.Fr=3;
var Bl=function(a,b){var c=a||L;c.top!=c&&(c=c.top);try{return c.document&&!c.document.body?new H(-1,-1):b?(new H(c.innerWidth,c.innerHeight)).round():Rc(c||window).round()}catch(d){return new H(-12245933,-12245933)}},Cl=0,Il=function(){var a=W.getInstance().Wj,b=0<=Dl?El()-Dl:-1,c=Fl?El()-Gl:-1,d=0<=Hl?El()-Hl:-1,e;if(79463068==a)return 500;if(947190538==a)a=[4E3],e=[250,1E3];else if(947190541==a)a=[4E3],e=[100,1E3];else{if(947190542==a)return 100;if(79463069==a)return 200;a=[2E3,4E3];e=[250,500,
1E3]}var f=b;-1!=c&&c<b&&(f=c);for(var g,b=0;b<a.length;++b)if(f<a[b]){g=e[b];break}void 0===g&&(g=e[a.length]);return-1!=d&&1500<d&&4E3>d?500:g},Jl=(new Date).getTime(),Dl=-1,Fl=!1,Gl=-1,Hl=-1,El=function(){return(new Date).getTime()-Jl},Kl=function(){var a=Uc("div");a.style.cssText="position:relative;left:0px;top:0px;width:0;height:0;";return a},Ll=function(a){for(var b;a&&a!=a.parentElement;){if(b=a.style){b=a;var c=b.style[Ia("display")];b="none"==("undefined"!==typeof c?c:b.style[hd(b,"display")]||
"")}if(b)return!0;b=a;a=a.parentElement}if(b&&(a=Mc(b))){var d,e;try{if(d=I(a))e=d.frameElement}catch(f){return!1}if(d&&e&&d!=d.parent)return Ll(e)}return!1};zl.Po=5;zl.me=1;zl.om=4;var Ml=function(a){zl.e=-1;zl.i=6;zl.n=7;zl.t=8;if(!Al){var b=[];C(tb(zl),function(a){b[zl[a]+1]=a});var c=b.join("");Al=(c=a&&a[c])&&z(c,a)}return Al},Nl=function(){var a;if(a=vc&&og)a=0<=Ga(ak,"6.0.1");return a&&0<=Ga(yl,"10.1")?!0:!1};var Ol=function(){this.Ek=[0,0,0,0,0];this.Og=[0,0,0,0,0];this.Ud=[0,0,0,0,0];this.Go=[0,0,0,0,0];this.ie=this.Ps=this.bo=this.pf=-1;this.Da=0;this.xj=-1};Ol.prototype.Tf=function(a,b){-1!=a&&(this.Ek[a]+=b)};Ol.prototype.Sf=function(a,b){-1!=a&&(this.Ud[a]+=b,this.Ud[a]>this.Og[a]&&(this.Og[a]=this.Ud[a]))};Ol.prototype.Ff=function(a){-1!=a&&(this.Ud[a]=0)};if(vd&&vd.URL){var Ub=vd.URL,Pl=!(Ub&&0<Vb().length);nc.wk=Pl}var Ql=function(a,b,c,d){c=oc(d||"osd_or_lidar::"+b,c,void 0,void 0);$b(a,b,c,void 0);return c};var Rl=function(a,b){this.qc=null;this.ej=a;this.cn=b||1;this.ha="u"},Sl=function(a,b){var c=b.right-b.left,d=b.bottom-b.top,e=Math.floor(c/2),f=Math.floor(d/2);switch(a.cn){case 4:return a.ej?(e=Math.floor(.3*c),f=Math.floor(.3*d),[new G(e,f),new G(c-e,f),new G(e,d-f),new G(c-e,d-f)]):[new G(e,0),new G(0,f),new G(e,d-1),new G(c-1,f)];case 3:return[new G(c-1,0),new G(e,f),new G(0,d-1)];default:return[new G(e,f)]}},Tl=function(a,b){var c;try{c=b||a.qc.getBoundingClientRect()}catch(e){c=new ed(0,0,
0,0)}var d=Sl(a,c);C(d,function(a){a.x+=c.left;a.y+=c.top});return d},Ul=function(a,b){Rl.call(this,a,b);this.xa=[];this.Yc=!1;this.nf=-1;this.ng=this.oj=0};B(Ul,Rl);
var Vl=function(a,b,c){this.Zn=a;this.or=b;this.Ip=c},Xl=function(a,b,c){if(!(b&&b.getBoundingClientRect&&0<=Ga(yl,"11")&&c)||F&&9>Ec||0<a.xa.length)return!1;try{var d=b.getBoundingClientRect()}catch(m){return!1}var e="DIV"==b.tagName||"INS"==b.tagName,f=Mc(b),g=[];if(e){var k=Kl(),d=Sl(a,d);C(d,function(a,b){var d=new Wl("e",f,c,String(b));this.xa.push(d);g.push(z(d.vm,d,k,a))},a);b.insertBefore(k,b.childNodes[0]||null)}else d=Tl(a,d),C(d,function(a,d){var e=new Wl("e",f,c,String(d));this.xa.push(e);
g.push(z(e.um,e,b,a))},a);var l=!0;C(g,function(a){l=l&&a()});l?(a.ha="l",a.qc=b,a.Yc=!e):(C(a.xa,function(a){a.remove()}),a.xa=[]);return l},Yl=function(a){if(a.qc&&a.Yc){var b=Tl(a);C(b,function(a,b){this.xa[b]&&this.xa[b].setPosition(a)},a)}},Zl=function(a){C(a.xa,function(a){a.remove()});a.xa=[];a.ha="d"},em=function(a){var b=A(),c=a.oj?b-a.oj:0,d=-1,e=ab(a.xa,function(a){return $l(a,b)});4==a.xa.length?d=a.ej?am(e):bm(e):3==a.xa.length?d=cm(e):1==a.xa.length&&(d=[-1,0,1,2,3,5][$l(a.xa[0],b)+
1]);a.ng=d==a.nf?a.ng+c:0;c=new Vl(d,a.nf,c);a.nf=d;a.oj=b;dm(a,d);Yl(a);return c},gm=function(a){var b=mb(rb(fm));C(a,function(a){0<=a&&++b[a]});return b},bm=function(a){a=gm(a);return 4==a[4]?6:3<=a[4]?5:0<a[4]?4:4==a[2]?2:4==a[1]?1:4==a[0]?0:3},cm=function(a){var b=gm(a);return 4==a[0]&&4==a[2]?6:4==a[1]?5:0<b[4]?4:3==b[2]?2:3==b[1]?1:3==b[0]?0:3},am=function(a){a=gm(a);return 3<=a[4]?5:2==a[4]?8:0<a[4]?7:4==a[2]?2:4==a[1]?1:4==a[0]?0:3},dm=function(a,b){if(0==b&&hm(a))a.ha="n";else switch(b){case -1:a.ha=
"d";break;case 0:a.ha="l";break;case 1:a.ha="f";break;case 2:a.ha="c";break;case 3:case 4:case 5:case 6:a.ha="r"}},hm=function(a){return"n"==a.ha?!0:"l"==a.ha&&3E3<=a.ng},Wl=function(a,b,c,d){this.module=null;this.Ae=a;this.pa="e"==a?String(c)+"~"+String(d):"";this.Dd=[];this.he=-1;this.pj=0;this.ih=mb(rb(im));this.Ms=mb(rb(fm));"e"==this.Ae&&(jm[this.pa]=z(this.wq,this));F?(a=b.createElement("div"),a.innerHTML='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" style="opacity:0;-ms-filter:\'progid:DXImageTransform.Microsoft.Alpha(opacity=0)\';filter:alpha(opacity=0)"><param name="movie" value="'+
km(this,!0)+'"></param><param name="allowscriptaccess" value="always"></param><param name="wmode" value="transparent"></param></object>',a=a.firstChild,a.id=String(Math.random())):a=lm(this,b);a.width=1;a.height=1;a.style.zIndex=-999999;this.module=a},fm={Lu:-1,LOADING:0,Oo:1,Io:2,Ro:3,VISIBLE:4},im={LOADING:0,Oo:1,Io:2,Hu:3,hu:4,Ju:5,Ku:6,Iu:7,ju:8,Gu:9},jm={},lm=function(a,b){var c=function(a,c,d){var e=b.createElement("param");e.name=c;e.value=d;a.appendChild(e)},d=km(a),e=b.createElement("object");
e.type="application/x-shockwave-flash";e.data=d;c(e,"movie",d);c(e,"allowscriptaccess","always");c(e,"wmode","opaque");e.style.visibility="s"==a.Ae?"":"hidden";e.style.opacity=0;return e},km=function(a,b){var c=Sa("//pagead2.googlesyndication.com/osd/hbe.swf","id",a.pa);"s"==a.Ae&&(c="//pagead2.googlesyndication.com/osd/hbts.swf");b&&(c=Sa(c,"delay","1"));return c};h=Wl.prototype;
h.vm=function(a,b){if(!this.module)return!1;this.module.style.position="absolute";this.setPosition(b);var c=!0;try{a.appendChild(this.module)}catch(d){c=!1}return c};h.um=function(a,b){if(!this.module||!a.parentNode)return!1;this.module.style.position="fixed";this.setPosition(b);var c=!0;try{a.parentNode&&a.parentNode.insertBefore(this.module,a.nextSibling)}catch(d){c=!1}return c};
h.setPosition=function(a){var b;if(b=this.module)b=this.module,b=new G(b.offsetLeft,b.offsetTop),b=!(a==b||a&&b&&a.x==b.x&&a.y==b.y);b&&ld(this.module,a)};h.remove=function(){if(this.module)try{Yc(this.module)}catch(a){}this.module=null};h.wq=function(a){this.he=a?3:4};
var $l=function(a,b){if("e"==a.Ae){var c=null;try{c=a.module.it()}catch(f){}null===c?(c=0,0<a.he&&(c=2)):c=c?3:4;++a.Ms[c+1];a.he=c}else{var d=Number(b),e=mm(a);nm(a,e,d);c=a.Dd[a.Dd.length-1];if(null===e){if(e=d=0,0<a.he||w(c.Ch))e=d=2}else null===c.Ch||c.Dk>=d?(d=10<=e?4:0,e=0):e>c.Ch?(c=(e-c.Ch)/(d-c.Dk)*1E3,d=10<=c?4:3,c=0==c?1:1>c?3:4>c?4:23>c?6:26>c?8:9,6==a.pj&&6==c&&(c=7),e=c):e=d=1;6==a.pj&&(--a.ih[6],4==e||8==e?++a.ih[5]:++a.ih[7]);++a.ih[e];a.he=d;a.pj=e}return a.he},mm=function(a){var b=
null;try{b=a.module.fc()}catch(c){}return b},nm=function(a,b,c){var d=c-1E3,e=a.Dd.length;C(a.Dd,function(a,b){a.Dk<=d&&(e=Math.min(e,b+1))});var f=a.Dd.length-e;0<f&&a.Dd.splice(e,f);a.Dd.unshift({Ch:b,Dk:c})};r("gteh",Cd("osd_or_lidar::gteh_ex",function(a,b){var c=jm[a];x(c)&&c(b)}),void 0);
var om=function(){this.Xb=!0;this.Tb=new Wl("s",vd);this.Yc=!1;this.Ra=this.qd=this.fh=this.Xj=this.Yj=this.rf=this.xc=this.qc=null;this.tr=0;this.lh=this.Fg=this.co=null},pm={Ro:0,VISIBLE:1},qm=new G(-99999,0);
om.prototype.qk=function(a,b,c){if(null!==this.Fg)return!1;var d="DIV"==a.tagName||"INS"==a.tagName;this.Yc=!d;this.qc=a;var e=rm(this);if(null!=c){e=c;c=new G(0,0);if(this.Yc){var f=this.qc.getBoundingClientRect();c.x+=f.left;c.y+=f.top}this.Xj=new G(e.x-c.x,e.y-c.y)}this.rf=b;d?(this.xc=Kl(),a.insertBefore(this.xc,a.childNodes[0]||null),a=this.Tb.vm(this.xc,e)):a=this.Tb.um(a,e);if(!a)return this.Tb.remove(),this.xc&&Yc(this.xc),!1;this.Fg=A();this.Yj=e;return!0};
var sm=function(a,b){b!==a.Ra&&(a.Ra=b,a.rf(b),a.tr++)},tm=function(a){var b=mm(a.Tb);null===a.co&&null!==b&&null!==a.Fg&&(a.co=A()-a.Fg);return b},rm=function(a){var b=a.qc.getBoundingClientRect(),c;c=null!=a.Xj?a.Xj.clone():new G(Math.floor((b.right-b.left)/2),Math.floor((b.bottom-b.top)/2));a.Yc&&(c.x+=b.left,c.y+=b.top);return c},um=function(a){a.Yc&&(a.Yj=rm(a));a.Tb.setPosition(a.Yj);a.fh=L.setTimeout(Dd("osd_or_lidar::sfm_tpto",z(a.ts,a)),125)};h=om.prototype;
h.ts=function(){var a=tm(this);if(null===a)um(this);else if(null===this.qd)this.qd=a,um(this);else{var b=a-this.qd;this.qd=a;0==(4<=b?1:0)?(um(this),sm(this,0)):(this.Tb.setPosition(qm),this.fh=L.setTimeout(Dd("osd_or_lidar::sfm_cpto",z(this.rs,this)),125))}};h.rs=function(){var a=tm(this),b=a-this.qd;this.qd=a;a=4<=b?1:0;um(this);sm(this,0==a?1:0)};
h.vh=function(){if(this.Xb){var a=z(function(){1===tl(vd)?(this.qd=null,um(this)):(L.clearTimeout(this.fh),sm(this,0))},this),b=ul();if(b){var c=Ql(vd,b,a,"osd_or_lidar::sfm_pv");this.lh=function(){ac(vd,b,c);this.lh=null}}this.Xb=!1;this.Ra=null;a()}};h.yf=function(){this.Xb||(L.clearTimeout(this.fh),null===this.lh||this.lh(),this.Xb=!0)};h.Mf=function(){this.yf();this.Tb&&(this.Tb.remove(),this.Tb=null);this.xc&&(Yc(this.xc),this.xc=null)};
var vm=function(a,b){Rl.call(this,a,b);this.ec=[];this.rk=this.rf=null;this.Xb=!0;this.Ra=null};B(vm,Rl);vm.prototype.qk=function(a,b){if(null!==this.rk)return!1;this.qc=a;this.rf=b;for(var c=a.getBoundingClientRect(),c="DIV"==a.tagName||"INS"==a.tagName?Sl(this,c):Tl(this,c),d=0;d<c.length;++d){var e=c[d],f=new om;if(!f.qk(a,z(this.rq,this),e))return this.Mf(),this.ha="c",!1;this.ec.push(f)}this.rk=A();this.ha="l";return!0};
var xm=function(a){var b=mb(rb(pm));C(a.ec,function(a){null!=a.Ra&&0<=a.Ra&&++b[a.Ra]});switch(a.cn){case 4:return wm(a,b);case 3:return 1==a.ec[0].Ra&&1==a.ec[2].Ra?3:1==a.ec[1].Ra?2:0<b[1]?1:0;default:return 1==b[1]?2:0}},wm=function(a,b){var c=b[1];if(a.ej){if(3<=c)return 2;if(2==c)return 5;if(0<c)return 4}else{if(4==c)return 3;if(3==c)return 2;if(0<c)return 1}return 0};vm.prototype.rq=function(){var a=xm(this);this.Ra!=a&&(this.Ra=a,this.rf(a))};
vm.prototype.vh=function(){this.Xb&&null!==this.rk&&"d"!=this.ha&&(C(this.ec,function(a){a.vh()}),this.ha="r",this.Xb=!1)};vm.prototype.yf=function(){this.Xb||(C(this.ec,function(a){a.yf()}),this.Xb=!0)};vm.prototype.Mf=function(){this.yf();C(this.ec,function(a){a.Mf()});this.ec=[];this.ha="d"};var W=function(){this.Wj=void 0;this.ee=!Qb(L.top);var a=Yb();this.domain=0<a.length&&null!=a[a.length-1]&&null!=a[a.length-1].url?Ma(Na(3,a[a.length-1].url))||"":"";this.qg=this.Pe=this.Lb=null;this.yr=0;this.Ig=this.Fc=!1};ca(W);var zm=function(a,b,c,d){this.position=ym.clone();this.ub=0;this.Y=new Ol;this.uj=-2;this.Os=(new Date).getTime();this.io=-1;this.Mg=c;this.Bd=-1!=c;this.Ne=-1;this.Xk=this.Yk=null;this.Bs=d;this.Aj=ba;this.mo=function(){};this.yc=this.element=b;this.la=null;this.sd=1;this.ug=!1;this.Ha=null;this.Qk=this.mf=this.Fs=this.Es=this.Gs=!1;this.xi=1;this.dt=!1;this.uk=!0;this.Mp=this.fr=!1;this.bp=W.getInstance().yr++},ym=new ed(0,0,0,0),Am=function(a,b,c,d,e){if(a.Bd){var f=L.innerWidth,g=L.innerHeight,
k=new ed(Math.round(L.mozInnerScreenY),Math.round(L.mozInnerScreenX+f),Math.round(L.mozInnerScreenY+g),Math.round(L.mozInnerScreenX));c=new ed(L.screenY+d,L.screenX+c.width,L.screenY+c.height,L.screenX);e||(d=new ed(k.top-c.top,k.right-c.left,k.bottom-c.top,k.left-c.left),d.top>a.position.top?a.position=d:(a.position.right=a.position.left+f,a.position.bottom=a.position.top+g),a.ub=f*g);a.nc(k,c,b,e,!0,!0)}},Dm=function(a,b,c){if(a.Bd){var d=Ml(L&&L.document);if(d){c||Bm(a,L,!0);if(a.Qk)var e=Cm(a,
d),d=!0;else var e=Math.floor((a.position.left+a.position.right)/2),f=Math.floor((a.position.top+a.position.bottom)/2),g=Sc(document),e=d(e-g.x,f-g.y)?.5:0,d=!1;a.nc(a.position,e,b,c,!0,d)}}},Em=function(a,b,c){var d;if(c(b))return b;for(;;){d=Math.floor((a+b)/2);if(d==a||d==b)return a;c(d)?a=d:b=d}},Cm=function(a,b){var c=Sc(document),d=a.xi,e=Math.floor(a.position.left-c.x)+1,f=Math.floor(a.position.top-c.y)+1,g=Math.floor(a.position.right-c.x)-d,k=Math.floor(a.position.bottom-c.y)-d,c=(k-f)*(g-
e);if(f>k||e>g)return 0;var d=!!b(e,f),l=!!b(g,k);if(d&&l)return 1;var m=!!b(g,f),u=!!b(e,k);if(d)k=Em(f,k,function(a){return!!b(e,a)}),g=Em(e,g,function(a){return!!b(a,f)});else if(m)k=Em(f,k,function(a){return!!b(g,a)}),e=Em(g,e,function(a){return!!b(a,f)});else if(u)f=Em(k,f,function(a){return!!b(e,a)}),g=Em(e,g,function(a){return!!b(a,k)});else if(l)f=Em(k,f,function(a){return!!b(g,a)}),e=Em(g,e,function(a){return!!b(a,k)});else{var v=Math.floor((e+g)/2),K=Math.floor((f+k)/2);if(!b(v,K))return 0;
f=Em(K,f,function(a){return!!b(v,a)});k=Em(K,k,function(a){return!!b(v,a)});e=Em(v,e,function(a){return!!b(a,K)});g=Em(v,g,function(a){return!!b(a,K)})}return(k-f)*(g-e)/c},Fm=function(a,b,c,d,e){a.Bd&&(d||Bm(a,L,e),a.nc(a.position,c,b,d,!1,!0))};zm.prototype.Zm=ba;zm.prototype.Ym=ba;zm.prototype.cm=ba;zm.prototype.Mh=ba;var Gm=function(a,b,c){a.Bd&&a.nc(a.position,a.Y.Da,b,c,!0,!0)};
zm.prototype.nc=function(a,b,c,d,e,f,g){g=this.Vl(c,g||{});var k=this.Y,l=null;if(w(b))var m=this.Ue(b);else l=b,m=this.Ue(a,l);k.Da=m;f&&(k.xj=Math.max(k.xj,k.Da));f=tl(vd);this.Ne=0==f?-1:1==f?0:1;f=Hm(k.Da);w(b)||(this.Yk=l.right-l.left,this.Xk=l.bottom-l.top);this.Pk(f,g,k.ie,e,d,l);k.ie=d?-1:f;this.Mg=c;-1!=f&&(0>k.bo&&(k.bo=c),k.Ps=c);-1==this.io&&this.Ic()&&(this.io=c);-2==this.uj&&(this.uj=a!=ym&&0!=this.ub&&this.Xk&&this.Yk?this.Ue(a,new ed(0,this.Yk,this.Xk,0)):-1);this.Aj(this)};
zm.prototype.Vl=function(a){a=a-this.Mg||1;return 1E4<a?1:a};
zm.prototype.Ue=function(a,b){if(!w(a)&&q(b)){var c;c=null===a||null===b?ym.clone():new ed(Math.max(a.top,b.top),Math.min(a.right,b.right),Math.min(a.bottom,b.bottom),Math.max(a.left,b.left));var d=0>=this.ub||0>=c.getWidth()||0>=c.getHeight();if(!d&&this.dt){var e=(c.left+c.right)/2,f=(c.top+c.bottom)/2,g=yd(),e=Ml(g&&g.document)(e,f);e!=this.yc&&e!=this.yc.ownerDocument.defaultView.frameElement&&(d=!0)}if(d)return 0;c=(c.bottom-c.top)*(c.right-c.left);d=c/this.ub;this.Mp&&this.fr&&(e=(b.bottom-
b.top)*(b.right-b.left),0<e&&(d=Math.max(d,c/e)));return d}return w(a)?a:0};var Hm=function(a){var b=-1;1<=a?b=0:.75<=a?b=1:.5<=a?b=2:.3<=a?b=3:0<a&&(b=4);return b};zm.prototype.Tf=function(a,b){this.Y.Tf(a,b)};zm.prototype.Sf=function(a,b){this.Y.Sf(a,b)};zm.prototype.Ff=function(a){this.Y.Ff(a)};
zm.prototype.Pk=function(a,b,c,d,e,f){var g=-1==c||-1==a?-1:Math.max(c,a);c=d&&-1!=c&&2>=c?g:c;-1!=c&&this.Tf(c,b);d=this.Y;f=f||null;var g=this.ub,k=-1!=c&&2>=c;f?(k&&-1!=d.pf&&(d.Go[d.pf]+=b),f=100*g/((f.bottom-f.top)*(f.right-f.left)),d.pf=20<=f?0:10<=f?1:5<=f?2:2.5<=f?3:4):d.pf=-1;for(;0<=c&&4>=c;c++)this.Sf(c,b);for(c=0;4>=c;++c)(c<a||e||-1==a)&&this.Ff(c)};
var Im=function(a,b){a.sd=3;if(!a.yc||Nl()||Nl())return a.ug=!0,!1;var c=new Ul(!1,a.sd),d=Xl(c,a.yc,String(a.bp));d?(a.mo=b,a.la=c):a.ug=!0;return d},Km=function(a,b){if(!a.element||!Nl())return!1;a.sd=3;var c=new vm(!1,a.sd),d=c.qk(a.element,z(function(a){Jm(this,El(),!1,b,[0,.01,.5,1,.01,.3][a])},a));d?(a.Ha=c,c.vh()):a.Gs=!0;return d},Jm=function(a,b,c,d,e){a.Bd&&Lm(a)&&(c?a.Ha&&a.Ha.yf():(Bm(a,d,!0),a.Ha&&a.Ha.vh()),d=e||0,w(e)||-1==a.Y.ie||(d=[1,.75,.5,.3,.01][a.Y.ie]||0),a.nc(a.position,d,
b,c,!1,!1),b=a.Es||a.Fs,!a.Ic()||a.dj()||a.uk&&b||a.Ha&&a.Ha.Mf())},Lm=function(a){return null!==a.Ha&&"d"!=a.Ha.ha},Bm=function(a,b,c){b=c?b:b.top;try{var d=ym.clone(),e=new G(0,0);if(a.yc){if(c||1!=a.Bs||!Ll(a.yc))d=a.yc.getBoundingClientRect();e=od(a.yc,b)}var f=e.x,g=e.y;a.position=new ed(Math.round(g),Math.round(f+(d.right-d.left)),Math.round(g+(d.bottom-d.top)),Math.round(f))}catch(k){a.position=ym.clone()}a.ub=(a.position.bottom-a.position.top)*(a.position.right-a.position.left)};
zm.prototype.dj=function(){return!1};zm.prototype.Ic=function(){return!1};var Mm=function(a,b){var c=Math.pow(10,b);return Math.floor(a*c)/c},Nm=function(a){a.la&&Zl(a.la);a.Ha&&a.Ha.Mf()};var Om=function(){this.ae={};for(var a in $k)this.ae[$k[a]]=0},Pm=function(a,b){0==a.ae[b]&&(a.ae[b]=1)},Qm=function(a){var b=0,c;for(c in a.ae){var d=parseInt(c,10);1==a.ae[d]&&(b+=d,a.ae[d]=2)}return b};var Rm=function(){this.Sk=this.og=0;this.Nf=-1;this.hg=this.fg=this.ei=this.zj=this.Ze=0;this.di=!1;this.gg=[0,0,0,0,0]},Sm=function(a,b,c){var d=a.Sk;Fl||c||-1==a.Nf||(d+=b-a.Nf);return d},Tm=function(a){var b=a.og;a.og=0;return b},Um=function(a){var b=a.hg;a.hg=0;return b},Vm=function(a){var b=a.fg;a.fg=0;return b};var Wm=function(a,b,c,d){zm.call(this,0,b,c,d);this.Gb=new Rm;this.Cj=[0,0,0,0,0];this.Bj=[0,0,0,0,0];this.sf=[0,0,0,0,0];this.wi=this.je=0;this.Eb={};this.Bb=new Om;this.Do={};this.we=this.sa="";this.no=!1;this.Vh=[];this.Tc=void 0;this.bm=this.yo=this.zo=this.Uk=!1;this.Hb=void 0;this.ja=-1;this.Ye=this.Zb=this.xe=this.mj=void 0;this.Qg=this.Lg=this.ke=0;this.Ah=1>Math.random()?1:0;this.Uh=0;this.Th=-1;this.Tk=!1;this.xg=this.Ki=0;this.kf=!1;this.Vc=this.lo=0;this.Gj=!1;this.Rm=this.Tm=-1;this.Qe=
this.Hj=this.Rh=this.Yf=this.$=0;this.Bf=-1;this.Ij=this.dn=0;this.xo=this.br=this.Eo=this.Qa=!1;this.en=0;this.Ac=ba;b=W.getInstance();Bm(this,a,b.ee)};B(Wm,zm);h=Wm.prototype;h.Zm=function(a){if(!this.Gj||1E3<a-this.Tm){var b=aa("ima.bridge.getNativeViewability");x(b)&&(b(this.sa,z(this.pq,this)),this.Gj=!0,this.Tm=a)}};h.Ym=function(a){500<a-this.Rm&&(a=aa("ima.admob.getViewability"),x(a)&&a(this.sa))};h.pq=function(a){this.Gj=!1;yb(a)&&this.Ij++;this.Mh(a)};h.cm=function(a){this.Rm=El();this.Mh(a)};
h.Mh=function(a){var b=a.opt_nativeViewBounds||{},c=a.opt_nativeViewVisibleBounds||{},d=a.opt_nativeTime||-1,e=a.opt_nativeVolume,b=new ed(b.top||0,b.left+b.width||0,b.top+b.height||0,b.left||0);a=a.opt_nativeViewHidden?ym.clone():new ed(c.top||0,c.left+c.width||0,c.top+c.height||0,c.left||0);c={};c.volume=e;this.ub=(b.bottom-b.top)*(b.right-b.left);this.position=b;this.nc(b,a,d,!1,!0,!0,c)};
h.nc=function(a,b,c,d,e,f,g){g=g||this.Ac(this)||{};this.ja=g.duration||this.ja;this.mj=g.isVpaid||this.mj;this.Ye=f;this.xe=g.volume;Xm(this.xe)||(this.lo++,Xm(this.Zb)&&(this.xe=this.Zb));Wm.D.nc.call(this,a,b,c,d,e,f,g);-1==this.Th&&this.Tk&&(this.Th=this.Uh);(a=this.Ic())&&Pm(this.Bb,1);Xm(this.Zb)&&Pm(this.Bb,2);this.kf&&Pm(this.Bb,4);this.Qa&&Pm(this.Bb,8);-1!=this.Ne&&(Pm(this.Bb,16),1==this.Ne&&Pm(this.Bb,32));this.kf&&a&&Pm(this.Bb,64);this.Ye&&Pm(this.Bb,128);this.Ye&&0<this.Y.Da&&Pm(this.Bb,
256)};var Xm=function(a){return q(a)&&0<=a&&1>=a};
Wm.prototype.Vl=function(a,b){var c=q(b.currentTime)?b.currentTime:this.Lg,d=Ym(this,a),e=c-this.Lg,f=b.isYouTube,g=q(b.isPlaying)?b.isPlaying:!0;2!=this.Ah?(0<=e?(this.Qg+=d,this.Qe+=Math.max(d-e,0),this.ke=Math.min(e,this.Qg)):(this.Hj+=Math.abs(e),this.ke=0),0!=e&&(this.Qg=0),-1==this.Bf&&0<e&&(this.Bf=0<=Hl?El()-Hl:-1)):(g||this.Tc||(this.Qe+=d),-1==this.Bf&&g&&(this.Bf=0<=Hl?El()-Hl:-1));this.Lg=c;if(f){if(1==this.Ah)return this.ke;if(2==this.Ah)return g?d:0}return Ym(this,a)};
var Ym=function(a,b){var c=b-a.Mg||1,d=1E4;q(a.ja)&&-1!=a.ja&&(d=Math.max(d,a.ja/3));return c>d?1:c},Zm=function(a){var b=0;.5<=a.Y.Da&&(b+=1);Xm(a.Zb)&&(b+=2);a.kf&&(b+=4);a.Qa&&(b+=8);-1!=a.Ne&&(b+=16,1==a.Ne&&(b+=32));a.Ye&&(b+=128);a.Ye&&0<a.Y.Da&&(b+=256);return b};h=Wm.prototype;h.Ue=function(a,b){return this.br?0:this.Qa?1:Wm.D.Ue.call(this,a,b)};h.Tf=function(a,b){Wm.D.Tf.call(this,a,b);this.Cj[a]+=this.ke;if(2>=a){var c=this.Gb;c.og+=b;this.je+=this.ke}};
h.Sf=function(a,b){Wm.D.Sf.call(this,a,b);this.sf[a]+=this.ke;this.sf[a]>this.Bj[a]&&(this.Bj[a]=this.sf[a])};h.Ff=function(a){Wm.D.Ff.call(this,a);this.sf[a]=0};
h.Pk=function(a,b,c,d,e,f){if(!this.Tc){Wm.D.Pk.call(this,a,b,c,d,e,f);a=-1==c||-1==a?-1:Math.max(c,a);this.Uh+=b;this.Eo&&(this.Ki+=b,this.xg+=b);this.Eo=this.Qa;e=d&&-1!=c&&2>=c?a:c;this.kf=(c=Xm(this.xe)&&.1<=this.xe)&&Xm(this.Zb)&&.1<=this.Zb;d=this.Gb;a=-1!=e&&2>=e;if(this.kf){d.ei+=b;for(d.fg+=b;0<=e&&4>=e;e++)d.gg[e]+=b;a?d.hg+=b:d.Ze+=b;d.Ze>d.zj&&(d.zj=d.Ze)}else d.di=!1;if(a||!c)d.Ze=0;b=this.xe;this.Zb=q(b)?Number(b)?Mm(b,3):0:b}};h.dj=function(){return!0};
h.Ic=function(){var a=this.Y;return 2E3<=Math.max(a.Ud[2],a.Og[2])};
var $m=function(a){a.Qk=!0;a.xi=2},an=function(a,b){kb(a.Vh,mb(b-a.Vh.length+1));a.Vh[b]=Mm(a.Y.Da,2)},en=function(a,b){var c=a.Do[b];if(null!=c)return c;if(a.mf)return{"if":0};c=a.position.clone();c.round();var d=ab(a.Vh,function(a){return 100*a|0}),e=W.getInstance(),f=a.Gb,g={};g["if"]=e.ee?1:void 0;g.sdk=a.Hb?a.Hb:void 0;g.t=a.Os;g.p=[c.top,c.left,c.bottom,c.right];g.tos=a.Y.Ek;g.mtos=a.Y.Og;g.ps=void 0;g.pt=d;g.vht=Sm(f,El(),!!a.Tc);g.mut=f.zj;g.a=a.Zb;g.ns=a.en;g.fs=a.Qa?1:0;g.ft=a.Ki;g.at=f.ei;
g.as=f.di?1:0;g.atos=f.gg;g.uac=a.lo;g.vpt=a.Uh;g.is=Zm(a);g.ic=Qm(a.Bb);if("h"==a.Hb||"as"==a.Hb)g.gmm="2";"fully_viewable_audible_half_duration_impression"==b&&(g.std="csm");a.Qk&&(g.efpf=a.xi);a.la&&(g.swf=a.la.ha,g.px=a.sd);a.Ha&&(g.sfm=a.Ha.ha,g.px=a.sd);0<a.Ij&&(g.nnut=a.Ij);g.tcm=a.Ah;g.nmt=a.Hj;g.bt=a.Qe;g.pst=a.Bf;g.mmct=a.dn;g.vpaid=a.mj;g.dur=a.ja;g.vmtime=a.Lg;g.vmtos=a.Cj;g.vmmtos=a.Bj;bn(a,b)&&(a.Ic()&&(g.dtos=Tm(f),g.vmdtos=a.je,a.je=0,g.dav=Um(f),a.wi++,g.dtoss=a.wi),g.dat=Vm(f),g.dft=
a.xg,a.xg=0);!a.Ic()&&2E3<=a.je&&(g.vmdtos=a.je);e.qg&&(g.ps=[e.qg.width,e.qg.height]);g.dom=e.domain;a.ug&&(g.fmf="1",g.px=a.sd);a.Uk&&(g.ven="1");a.zo&&(g.veh="1");a.Vc&&(g.vds=a.Vc);a.$&&(g.vmer=a.$);a.Yf&&(g.vmmk=a.Yf);a.Rh&&(g.vmiec=a.Rh);cn()?(g.c=Mm(a.Y.Da,2),g.ss=Mm(dn(a),2)):g.tth=El()-Cl;g.mc=Mm(a.Y.xj,2);g.lte=Mm(a.uj,2);return g},dn=function(a){if(a.Qa)return 1;var b=L.screen.width*L.screen.height;return 0>=b?-1:a.ub*a.Y.Da/b},bn=function(a,b){if(D(Yk,b))return!0;var c=a.Eb[b];return q(c)&&
(a.Eb[b]=!0,!c)?!0:!1};var fn=function(a,b,c){Ed.call(this);this.qf=null!=c?z(a,c):a;this.Dc=b;this.ji=z(this.hs,this);this.ci=[]};B(fn,Ed);h=fn.prototype;h.ye=!1;h.xf=0;h.V=null;h.Ii=function(a){this.ci=arguments;this.V||this.xf?this.ye=!0:this.Zd()};h.stop=function(){this.V&&(n.clearTimeout(this.V),this.V=null,this.ye=!1,this.ci=[])};h.pause=function(){this.xf++};h.resume=function(){this.xf--;this.xf||!this.ye||this.V||(this.ye=!1,this.Zd())};h.A=function(){fn.D.A.call(this);this.stop()};
h.hs=function(){this.V=null;this.ye&&!this.xf&&(this.ye=!1,this.Zd())};h.Zd=function(){this.V=Of(this.ji,this.Dc);this.qf.apply(null,this.ci)};var gn=null,hn=null,jn=null,kn=null,ln=null,mn=!1,nn=!1,sn=function(){if(!mn){mn=!0;var a=n.requestAnimationFrame||n.webkitRequestAnimationFrame||n.mozRequestAnimationFrame||n.oRequestAnimationFrame||n.msRequestAnimationFrame;if(!gn){var b;if(a){var c=oc("osd_or_lidar::throttled_scroll_raf_callback",on,void 0,void 0);b=function(){a(function(){L.setTimeout(c,0)})}}else b=on;hn=new fn(oc("osd_or_lidar::throttled_scroll_timeout",b,void 0,void 0),100);b=z(hn.Ii,hn);gn=Ql(L,"scroll",b,"osd_or_lidar::throttled_scroll")}if(!jn){if(a){var d=
oc("osd_or_lidar::throttled_resize_raf_callback",pn,void 0,void 0);b=function(){a(function(){L.setTimeout(d,0)})}}else b=pn;kn=new fn(oc("osd_or_lidar::throttled_resize_timeout",b,void 0,void 0),100);b=z(kn.Ii,kn);jn=Ql(L,"resize",b,"osd_or_lidar::throttled_resize")}qn();rn()}},pn=function(){tn(!1);on()},on=function(){un(vn(),!1)},Fn=function(){var a=W.getInstance();wn&&(a.Lb=Bl(L,wn));if(a.Fc){var b=new xn;b.Fc=!0;return b}if(nn)return b=new xn,b.zm=!0,b;if(yn)return b=new xn,b.Im=!0,b;if(zn)return b=
new xn,b.Bm=!0,b;if(An){b=Bn;tn(!1);var c=W.getInstance(),d=c.Pe,a=d.height-b;0>=a&&(a=d.height,b=0);c.Lb=new H(d.width,a);a=new xn;a.Em=!0;a.Lb=c.Lb;a.Pe=d;a.nl=b;return a}if(Cn)return b=new xn,b.Dm=!0,b;if(Dn)return b=new xn,b.Fm=!0,b;if(En)return b=new xn,b.Nm=!0,b;a:{var a=a.Lb,e=new xn;e.Lb=a;e.cj=!1;if(null!=a&&-1!=a.width&&-1!=a.height&&-12245933!=a.width&&-12245933!=a.height){try{var f=wn,g=L||L,g=g.top,c=a||Bl(g,f),d=Sc(Nc(g.document).ia),b=-1==c.width||-12245933==c.width?new ed(c.width,
c.width,c.width,c.width):new ed(d.y,d.x+c.width,d.y+c.height,d.x)}catch(k){b=e;break a}e.Bo=b;e.cj=!0}b=e}return b},un=function(a,b,c){if(!Gn)if(window.clearTimeout(Hn),Hn=null,0==a.length)b||In();else{var d=Fn();try{var e=El();if(d.Fc)for(var f=0;f<a.length;f++)Gm(a[f],e,b);else if(d.cr)for(f=0;f<a.length;f++)q(c)?a[f].Mh(c):a[f].Zm(e);else if(d.zm)for(f=0;f<a.length;f++)q(c)?a[f].cm(c):a[f].Ym(e);else if(d.Bm)for(f=0;f<a.length;f++)Gm(a[f],e,b);else if(d.Im)for(f=0;f<a.length;f++)Gm(a[f],e,b);else if(d.Em)for(f=
0;f<a.length;f++)Am(a[f],e,d.Pe,d.nl,b);else if(d.Dm)for(f=0;f<a.length;f++)Dm(a[f],e,b);else if(d.Fm)C(a,function(a){if(b){if(a.la){var c=a.la;3<=c.nf&&(c.nf=3);a.Y.ie=-1}}else if(a.la&&"d"!=a.la.ha){var c=em(a.la),d=[0,0,0,0,0,.01,.5,1,.01,.3],e=d[c.Zn+1];a.Y.ie=Hm(d[c.or+1]);a.nc(a.position,e,a.Mg+c.Ip,!1,!0,!1);!a.Ic()||a.dj()||a.uk||a.la&&Zl(a.la);(c=2==c.Zn||hm(a.la))||(c=a.la,c="f"==c.ha&&3E3<=c.ng);c&&(a.mo(a),a.uk=!1,a.la&&Zl(a.la))}});else if(d.Nm)for(f=0;f<a.length;f++)Jm(a[f],e,b,L);else if(d.cj)for(var g=
W.getInstance(),f=0;f<a.length;f++)Fm(a[f],e,d.Bo,b,g.ee);++Jn}finally{b?C(a,function(a){a.Y.Da=0}):In()}}},qn=function(){var a=rn,b=ul();b&&(ln=ln||Ql(vd,b,a,"osd_or_lidar::visibility"))},rn=function(){var a=cn(),b=El();a?(Fl||(Gl=b,C(X,function(a){var d=a.Gb;d.Sk=Sm(d,b,!!a.Tc)})),Fl=!0,tn(!0)):(Fl=!1,Cl=b,C(X,function(a){a.Bd&&(a.Gb.Nf=b)}));un(vn(),!a)},cn=function(){if(Kn())return!0;var a=tl(L.document);return 1==a||0==a},In=function(){L&&(Hn=L.setTimeout(Dd("osd_or_lidar::psamp_to",function(){un(vn(),
!1)}),Il()))},Ln=function(a){return bb(X,function(b){return b.element==a})},Mn=function(a){return db(X,function(b){return b.sa==a})},X=[],Nn=[],vn=function(){return 0==X.length?Nn:0==Nn.length?X:ib(Nn,X)},Gn=!1,Hn=null,Bn=0,An=!1,Cn=!1,zn=!1,yn=!1,Dn=!1,En=!1,wn=Xj()||Yj(),Jn=0,On=function(){var a=L.document;return a.body&&a.body.getBoundingClientRect?!0:!1},tn=function(a){var b=W.getInstance();b.Lb=Bl(L,wn);if(!a){b.Pe=L&&L.outerWidth?new H(L.outerWidth,L.outerHeight):new H(-12245933,-12245933);
var c;a=L;a.top!=a&&(a=a.top);var d=0,e=0,f=W.getInstance().Lb;try{var g=a.document,k=g.body,l=g.documentElement;if("CSS1Compat"==g.compatMode&&l.scrollHeight)d=l.scrollHeight!=f.height?l.scrollHeight:l.offsetHeight,e=l.scrollWidth!=f.width?l.scrollWidth:l.offsetWidth;else{var m=l.scrollHeight,u=l.scrollWidth,v=l.offsetHeight,K=l.offsetWidth;l.clientHeight!=v&&(m=k.scrollHeight,u=k.scrollWidth,v=k.offsetHeight,K=k.offsetWidth);m>f.height?m>v?(d=m,e=u):(d=v,e=K):m<v?(d=m,e=u):(d=v,e=K)}c=new H(e,d)}catch(p){c=
new H(-12245933,-12245933)}b.qg=c}},Pn=function(a,b){var c=!1;C(X,function(b){b=Km(b,a);c=c||b});(En=c)&&C(X,function(a){Lm(a)||b(a)});return c},Qn=function(a){var b=!1;C(X,function(c){c=Im(c,a);b=b||c});(Dn=b)&&C(X,function(b){b.la||a(b)});return b},Rn=function(a){C(a,function(a){Ln(a.element)||X.push(a)})},Sn=function(a){C(a,function(a){null==db(X,function(c){return c.element==a.element&&c.we==a.we})&&X.push(a)})},Kn=function(){return bb(X,function(a){return a.Qa})},xn=function(){this.Pe=this.Lb=
null;this.nl=0;this.Bo=null;this.cj=this.Nm=this.Fm=this.Dm=this.Em=this.Bm=this.Im=this.zm=this.cr=this.Fc=!1};var Tn=function(){this.Kb=-1;this.Kb=64;this.na=Array(4);this.rp=Array(this.Kb);this.Hh=this.Oe=0;this.reset()};B(Tn,Lk);Tn.prototype.reset=function(){this.na[0]=1732584193;this.na[1]=4023233417;this.na[2]=2562383102;this.na[3]=271733878;this.Hh=this.Oe=0};
var Un=function(a,b,c){c||(c=0);var d=Array(16);if(t(b))for(var e=0;16>e;++e)d[e]=b.charCodeAt(c++)|b.charCodeAt(c++)<<8|b.charCodeAt(c++)<<16|b.charCodeAt(c++)<<24;else for(e=0;16>e;++e)d[e]=b[c++]|b[c++]<<8|b[c++]<<16|b[c++]<<24;b=a.na[0];c=a.na[1];var e=a.na[2],f=a.na[3],g;g=b+(f^c&(e^f))+d[0]+3614090360&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[1]+3905402710&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[2]+606105819&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^
e&(f^b))+d[3]+3250441966&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[4]+4118548399&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[5]+1200080426&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[6]+2821735955&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[7]+4249261313&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[8]+1770035416&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[9]+2336552879&4294967295;f=b+(g<<12&4294967295|g>>>20);
g=e+(c^f&(b^c))+d[10]+4294925233&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[11]+2304563134&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(f^c&(e^f))+d[12]+1804603682&4294967295;b=c+(g<<7&4294967295|g>>>25);g=f+(e^b&(c^e))+d[13]+4254626195&4294967295;f=b+(g<<12&4294967295|g>>>20);g=e+(c^f&(b^c))+d[14]+2792965006&4294967295;e=f+(g<<17&4294967295|g>>>15);g=c+(b^e&(f^b))+d[15]+1236535329&4294967295;c=e+(g<<22&4294967295|g>>>10);g=b+(e^f&(c^e))+d[1]+4129170786&4294967295;b=c+(g<<5&4294967295|
g>>>27);g=f+(c^e&(b^c))+d[6]+3225465664&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[11]+643717713&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[0]+3921069994&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[5]+3593408605&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[10]+38016083&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[15]+3634488961&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[4]+3889429448&4294967295;c=e+(g<<20&4294967295|
g>>>12);g=b+(e^f&(c^e))+d[9]+568446438&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[14]+3275163606&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[3]+4107603335&4294967295;e=f+(g<<14&4294967295|g>>>18);g=c+(f^b&(e^f))+d[8]+1163531501&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(e^f&(c^e))+d[13]+2850285829&4294967295;b=c+(g<<5&4294967295|g>>>27);g=f+(c^e&(b^c))+d[2]+4243563512&4294967295;f=b+(g<<9&4294967295|g>>>23);g=e+(b^c&(f^b))+d[7]+1735328473&4294967295;e=f+(g<<14&4294967295|
g>>>18);g=c+(f^b&(e^f))+d[12]+2368359562&4294967295;c=e+(g<<20&4294967295|g>>>12);g=b+(c^e^f)+d[5]+4294588738&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[8]+2272392833&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[11]+1839030562&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[14]+4259657740&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[1]+2763975236&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[4]+1272893353&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^
b^c)+d[7]+4139469664&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[10]+3200236656&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[13]+681279174&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[0]+3936430074&4294967295;f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[3]+3572445317&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[6]+76029189&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(c^e^f)+d[9]+3654602809&4294967295;b=c+(g<<4&4294967295|g>>>28);g=f+(b^c^e)+d[12]+3873151461&4294967295;
f=b+(g<<11&4294967295|g>>>21);g=e+(f^b^c)+d[15]+530742520&4294967295;e=f+(g<<16&4294967295|g>>>16);g=c+(e^f^b)+d[2]+3299628645&4294967295;c=e+(g<<23&4294967295|g>>>9);g=b+(e^(c|~f))+d[0]+4096336452&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[7]+1126891415&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[14]+2878612391&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[5]+4237533241&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[12]+1700485571&4294967295;b=c+
(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[3]+2399980690&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[10]+4293915773&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[1]+2240044497&4294967295;c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[8]+1873313359&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[15]+4264355552&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[6]+2734768916&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[13]+1309151649&4294967295;
c=e+(g<<21&4294967295|g>>>11);g=b+(e^(c|~f))+d[4]+4149444226&4294967295;b=c+(g<<6&4294967295|g>>>26);g=f+(c^(b|~e))+d[11]+3174756917&4294967295;f=b+(g<<10&4294967295|g>>>22);g=e+(b^(f|~c))+d[2]+718787259&4294967295;e=f+(g<<15&4294967295|g>>>17);g=c+(f^(e|~b))+d[9]+3951481745&4294967295;a.na[0]=a.na[0]+b&4294967295;a.na[1]=a.na[1]+(e+(g<<21&4294967295|g>>>11))&4294967295;a.na[2]=a.na[2]+e&4294967295;a.na[3]=a.na[3]+f&4294967295};
Tn.prototype.update=function(a,b){q(b)||(b=a.length);for(var c=b-this.Kb,d=this.rp,e=this.Oe,f=0;f<b;){if(0==e)for(;f<=c;)Un(this,a,f),f+=this.Kb;if(t(a))for(;f<b;){if(d[e++]=a.charCodeAt(f++),e==this.Kb){Un(this,d);e=0;break}}else for(;f<b;)if(d[e++]=a[f++],e==this.Kb){Un(this,d);e=0;break}}this.Oe=e;this.Hh+=b};
Tn.prototype.digest=function(){var a=Array((56>this.Oe?this.Kb:2*this.Kb)-this.Oe);a[0]=128;for(var b=1;b<a.length-8;++b)a[b]=0;for(var c=8*this.Hh,b=a.length-8;b<a.length;++b)a[b]=c&255,c/=256;this.update(a);a=Array(16);for(b=c=0;4>b;++b)for(var d=0;32>d;d+=8)a[c++]=this.na[b]>>>d&255;return a};var Wn=function(){var a=Yb(),b=a.length-1,c=Zb(a),a=c.Fh,d=c.Gh,c=[];d?(a&&c.push(Vn(b,[d.url,2],0,[a.url,0],a.depth)),c.push(Vn(b,[d.url,2],0))):a.url&&(c.push(Vn(b,void 0,void 0,[a.url,0],a.depth)),(d=(d=Sb.exec(a.url))&&d[0]||"")&&c.push(Vn(b,[d,1],a.depth)));c.push(Vn(b));return c},Vn=function(a,b,c,d,e){a=[a];if(q(b)&&q(c)){for(var f=0;f<c;f++)a.push("");a.push(b)}if(q(d)&&q(e)){b=e-a.length+1;for(f=0;f<b;f++)a.push("");a.push(d)}return a},Xn=function(){var a=Wn();return ab(a,function(a){return gc(a)})};var Yn=function(a){return function(b){return!q(b[a])&&q(0)?0:b[a]}},Zn=function(){return function(a){if(!q(a.tth))return"1"}},ao=function(){var a=[0,2,4];return function(b){b=b.tos;if(ea(b)){for(var c=Array(b.length),d=0;d<b.length;d++)c[d]=0<d?c[d-1]+b[d]:b[d];return q(a)?$n(c,a):c}}},bo=function(a,b){return function(c){c=c[a];if(ea(c))return $n(c,b)}},$n=function(a,b){return $a(a,function(a,d){return D(b,d)})};var co={v:"v",e:"e",nas:"nas",msg:"msg","if":"if",sdk:"sdk",p:"p",tos:"tos",mtos:"mtos",ps:"ps",pt:"pt",vht:"vht",mut:"mut",a:"a",ns:"ns",ft:"ft",dft:"dft",at:"at",dat:"dat",as:"as",uac:"uac",vpt:"vpt",gmm:"gmm",std:"std",efpf:"efpf",swf:"swf",px:"px",fm:"sfm",nnut:"nnut",vmer:"vmer",vmmk:"vmmk",vmiec:"vmiec",nmt:"nmt",mmct:"mmct",tcm:"tcm",bt:"bt",pst:"pst",vpaid:"vpaid",dur:"dur",vmtime:"vmtime",vmtos:"vmtos",vmmtos:"vmmtos",dtos:"dtos",vmdtos:"vmdtos",dtoss:"dtoss",dom:"dom",fmf:"fmf",ven:"ven",
veh:"veh",vds:"vds",is:"is",ic:"ic",c:"c",mc:"mc",lte:"lte",tth:"tth"},eo={c:Yn("c"),at:"at",atos:bo("atos",[0,2,4]),ta:Zn(),a:"a",dur:"dur",p:"p",tos:ao(),j:"dom",mtos:bo("mtos",[0,2,4]),gmm:"gmm",ss:Yn("ss"),vsv:Jd("w1"),t:"t"},fo={vmtime:"vmtime",vmtos:"vmtos",vmmtos:"vmmtos",vmdtos:"vmdtos",tcm:"tcm",vmer:"vmer",vmmk:"vmmk",vmiec:"vmiec",bt:"bt",pst:"pst",nmt:"nmt",mmct:"mmct",c:Yn("c"),at:"at",atos:bo("atos",[0,2,4]),avt:bo("atos",[2]),dav:"dav",ta:Zn(),a:"a",dur:"dur",p:"p",tos:ao(),j:"dom",
mtos:bo("mtos",[0,2,4]),gmm:"gmm",ss:Yn("ss"),vsv:Jd("w1"),t:"t"},go={a:"a",tos:ao(),at:"at",c:Yn("c"),mtos:bo("mtos",[0,2,4]),dur:"dur",fs:"fs",p:"p",vpt:"vpt",vsv:Jd("ias_w1"),dom:"dom",gmm:"gmm",t:"t"},ho={tos:ao(),at:"at",c:Yn("c"),mtos:bo("mtos",[0,2,4]),p:"p",vpt:"vpt",vsv:Jd("dv_w1"),gmm:"gmm",dom:"dom",t:"t"};var io=null,jo="",ko=!1,lo=function(a){if(!a)return"";var b=a.document,c=[];c.push("url="+encodeURIComponent(a.location.href.substring(0,512)));b&&b.referrer&&c.push("referrer="+encodeURIComponent(b.referrer.substring(0,512)));return c.join("&")};var mo=function(){this.od=!1;this.ct=!0;this.Jl=this.Ai=this.yi=!1;this.ea={};this.ea.start=this.Oq;this.ea.firstquartile=this.Eq;this.ea.midpoint=this.Jq;this.ea.thirdquartile=this.Pq;this.ea.complete=this.Aq;this.ea.pause=this.Lq;this.ea.resume=this.Mq;this.ea.skip=this.Nq;this.ea.viewable_impression=this.Rq;this.ea.mute=this.Kq;this.ea.unmute=this.Qq;this.ea.fullscreen=this.Fq;this.ea.exitfullscreen=this.Dq;this.ea.fully_viewable_audible_half_duration_impression=this.Gq;this.ea.measurable_impression=
this.Iq;this.ea.abandon=this.zq;this.ea.engagedview=this.Cq;this.ea.impression=this.Hq;this.ea.creativeview=this.Bq};h=mo.prototype;h.Wl=function(){};h.im=ba;h.Qn=ba;h.pl=ba;h.Ac=ba;
var no=function(a,b,c){c||(b=-1);return new Wm(L,a,b,7)},po=function(a){if(!a.od){a.od=!0;try{if(Dl=El(),1>Math.random()&&(a.Jl=!0),io=gl(L).Wh,tn(!1),On()){window.setTimeout(function(){},1);var b=W.getInstance();b.ee&&!b.Fc?oo(a):sn()}else ko=!0}catch(c){throw X=[],Nn=[],c;}}},oo=function(a){var b;if(tc&&w(L.screenX)&&w(L.mozInnerScreenX)&&w(L.outerWidth)){b=L.navigator.userAgent;var c=b.indexOf("Firefox/");if(0<=c){var c=Math.floor(b.substr(c+8))||-1,d=b.indexOf("Mac OS X 10."),e=-1;0<=d&&(e=Number(b.substr(d+
12,1))||-1);var f=0<e?-1:b.indexOf("Windows NT "),d=-1;0<=f&&(d={"6.0":0,"6.1":1,"6.2":2}[b.substr(f+11,3)]||-1);b=148;5<=e?b=4<=c?108:3<=c?127:108:0<=d&&(16==c||17==c||18==c)&&(b=[[146,146,146],[148,147,148],[131,130,136]][d][c-16])}else b=null;null!==b&&(Bn=b,An=!0);b=!0}else b=!1;if(b)sn();else if(b=L&&L.document,b=F&&Gc(8)&&x(Ml(b))?Cn=!0:!1,b)sn();else{if(Nl()){if(Pn(L,z(a.Si,a))){sn();a.Ai=!0;return}}else if(Qn(z(a.Si,a))){sn();a.yi=!0;return}window.clearTimeout(Hn);Hn=null;jo="i";Gn=!0}};
h=mo.prototype;h.Si=function(a){if(a){if(!a.no){var b=en(a,"start"),b=qo(b,co),c=io||L,d=[];d.push("v=444v");d.push("r=fp");d.push("efm="+(this.yi?1:0));d.push("esfm="+(this.Ai?1:0));d.push(b);d.push(lo(c));hc(L,("//pagead2.googlesyndication.com/pagead/gen_204?id=lidarvf&"+d.join("&")).substring(0,2E3),void 0);a.no=!0}a.mf=!0;this.lk(a)}};h.Oq=function(a){a.en++;an(a,0);.1<=a.Zb&&(a.Gb.di=!0);return en(a,"start")};h.Eq=function(a,b){an(a,1);un([a],!cn(),b);return en(a,"firstquartile")};
h.Jq=function(a,b){an(a,2);a.Tk=!0;un([a],!cn(),b);return en(a,"midpoint")};h.Pq=function(a,b){an(a,3);un([a],!cn(),b);return en(a,"thirdquartile")};h.Aq=function(a,b){an(a,4);un([a],!cn(),b);var c=en(a,"complete");a.Qa=!1;ro(a.sa);return c};h.Lq=function(a,b){return so(a,"pause",b)};h.zq=function(a,b){return so(a,"abandon",b)};h.Mq=function(a,b){var c=cn();a.Tc&&!c&&(a.Gb.Nf=El());un([a],!c,b);a.Tc=!1;return en(a,"resume")};h.Rq=function(a){var b=en(a,"viewable_impression");a.zo=!0;return b};
h.Nq=function(a,b){var c=!cn();un([a],c,b);c=en(a,"skip");a.Qa=!1;ro(a.sa);return c};h.Kq=function(a,b){un([a],!cn(),b);return en(a,"mute")};h.Qq=function(a,b){un([a],!cn(),b);return en(a,"unmute")};h.Fq=function(a,b){a.Qa=!0;un([a],!cn(),b);return en(a,"fullscreen")};h.Dq=function(a,b){a.Qa=!1;un([a],!cn(),b);return en(a,"exitfullscreen")};h.Gq=function(a){return en(a,"fully_viewable_audible_half_duration_impression")};h.Iq=function(a){return en(a,"measurable_impression")};
h.Cq=function(a){return en(a,"engagedview")};h.Hq=function(a){return en(a,"impression")};h.Bq=function(a){return en(a,"creativeview")};
var so=function(a,b,c){var d=a.Gb;d.Sk=Sm(d,El(),!!a.Tc);d=!cn();un([a],d,c);a.Tc=!0;return en(a,b)},to=function(a,b,c){if(!b.xo){b.xo=!0;"i"!=jo&&(Gn=!1);!a.yi||b.la||b.ug||Im(b,z(a.Si,a));a.Ai&&!Lm(b)&&Km(b,L);b.Eb={};b.Eb.firstquartile=!1;b.Eb.midpoint=!1;b.Eb.thirdquartile=!1;b.Eb.complete=!1;b.Eb.pause=!1;b.Eb.skip=!1;b.Eb.viewable_impression=!1;b.wi=0;a=q(c)?c.opt_nativeTime:void 0;Hl=a=w(a)?a:El();b.Bd=!0;var d=!1;cn()||(d=!0,b.Gb.Nf=a);un([b],d,c)}},ro=function(a){if(t(a)){var b=cb(X,function(b){return b.sa==
a});0<=b&&(Nm(X[b]),gb(X,b))}},vo=function(a,b,c){var d=db(X,function(a){return a.element==c});null!==d&&d.sa!=b&&(ro(d.sa),d=null);d||(d=uo(a,c),d.sa=b,d.Hb="h");return d},uo=function(a,b){var c=no(b,El(),!1);c.Aj=z(a.Bg,a);W.getInstance().Wj=79463069;Sn([c]);sn();return c};mo.prototype.Bg=function(a){a.Ic()&&!a.Uk&&this.Qn(a);this.pl(a)};
var wo=function(a,b){var c=xb(function(b){return b==a}),c={v:"444v",e:Zk[c]},d=en(b,a);Cb(c,d);b.Do[a]=d;return qo(c,co)},qo=function(a,b,c,d,e){var f={};if(q(a))for(var g in b){var k=b[g];g in Object.prototype||null!=k&&(x(k)?f[g]=k(a):f[g]=a[k])}q(c)&&Cb(f,c);a=xo(f);0!=a.length&&q(d)&&q(e)&&(e=e(a),a+="&"+d+"="+e);return a},yo=function(a,b,c,d){var e=b.toLowerCase();if(b=xb(function(a){return a==e})){b={v:"444v",e:Zk[b]};if(ko)return b.msg="ue",b;c=a.Wl(c,d);b.nas=X.length;if(!c)return b.msg="nf",
b;po(a);"i"==jo&&(c.mf=!0,a.lk(c));a.ct&&$m(c);var f=d.opt_fullscreen;q(f)&&(c.Qa=!!f);D(Xk,e)&&(to(a,c,d),a.Jl&&a.im(c));if(f=a.ea[e])if(a=f.call(a,c,d),q(a))return Cb(b,a),b}};mo.prototype.lk=ba;var zo=function(a,b){var c=a[b];q(c)&&(a[b]=Math.floor(1E3*c))},xo=function(a){var b=[];ob(a,function(a,d){d in Object.prototype||"undefined"==typeof a||(ea(a)&&(a=a.join(",")),b.push([d,"=",a].join("")))});return b.join("&")};var Ao=(new Date).getTime(),Bo=!1,Co=!1,Do=!1,Y=function(a){return!a||"function"!==typeof a||0>String(Function.prototype.toString).indexOf("[native code]")?!1:0<=String(a).indexOf("[native code]")&&!0||!1},Eo=function(a){return!!(1<<a&Ao)},Fo=[function(a){return!(!a.chrome||!a.chrome.webstore)},function(a){return!!a.document.documentMode},function(a){return!!a.document.fonts.ready},function(){return Eo(0)},function(a){return!!a.ActiveXObject},function(a){return!!a.chrome},function(a){return!!a.navigator.serviceWorker},
function(a){return!!a.opera},function(a){return!!a.sidebar},function(){return!+"\v1"},function(){return Eo(1)},function(a){return!a.ActiveXObject},function(a){return"-ms-ime-align"in a.document.documentElement.style},function(a){return"-ms-scroll-limit"in a.document.documentElement.style},function(a){return"-webkit-font-feature-settings"in a.document.body.style},function(){return Eo(2)},function(a){return"ActiveXObject"in a},function(a){return"MozAppearance"in a.document.documentElement.style},function(a){return"_phantom"in
a},function(a){return"callPhantom"in a},function(a){return"content"in a.document.createElement("template")},function(a){return"getEntriesByType"in a.performance},function(){return Eo(3)},function(a){return"image-rendering"in a.document.body.style},function(a){return"object-fit"in a.document.body.style},function(a){return"open"in a.document.createElement("details")},function(a){return"orientation"in a.screen},function(a){return"performance"in a},function(a){return"shape-image-threshold"in a.document.body.style},
function(){return Eo(4)},function(a){return"srcset"in a.document.createElement("img")},function(){return Co},function(){return Do},function(){return Eo(5)},function(a){a=a.document.createElement("div");a.style.width="1px";a.style.width="-webkit-min-content";a.style.width="min-content";return"1px"!=a.style.width},function(a){a=a.document.createElement("div");a.style.width="1px";a.style.width="calc(1px - 1px)";a.style.width="-webkit-calc(1px - 1px)";return"1px"!=a.style.width},function(){var a=!1;eval('var DummyFunction1 = function(x){ "use strict"; var a = 12; b = a + x*35; }');
try{DummyFunction1()}catch(b){a=!0}return a},function(){var a=!1;try{DummyFunction2()}catch(b){a=!0}return a},function(){var a=(new AudioContext).createBufferSource();a.detune.value=100;return 100==a.detune.value},function(){return Eo(6)},function(a){var b=a.document.createElement("canvas");b.width=b.height=1;b=b.getContext("2d");b.globalCompositeOperation="multiply";b.fillStyle="rgb(0,255,255)";b.fillRect(0,0,1,1);b.fill();b.fillStyle="rgb(255,255,0)";b.fillRect(0,0,1,1);b.fill();b=b.getImageData(0,
0,1,1).data;return b[0]==b[2]&&b[1]==b[3]||Y(a.navigator.vibrate)},function(a){a=a.document.createElement("canvas");a.width=a.height=1;a=a.getContext("2d");a.globalCompositeOperation="multiply";a.fillStyle="rgb(0,255,255)";a.fillRect(0,0,1,1);a.fill();a.fillStyle="rgb(255,255,0)";a.fillRect(0,0,1,1);a.fill();a=a.getImageData(0,0,1,1).data;return a[0]==a[2]&&a[1]==a[3]},function(a){return Y(a.document.createElement("div").matches)},function(a){a=a.document.createElement("input");a.setAttribute("type",
"range");return"text"!==a.type},function(a){return a.CSS.supports("image-rendering","pixelated")},function(a){return a.CSS.supports("object-fit","contain")},function(){return Eo(7)},function(a){return a.CSS.supports("object-fit","inherit")},function(a){return a.CSS.supports("shape-image-threshold","0.9")},function(a){return a.CSS.supports("word-break","keep-all")},function(){return eval("1 == [for (item of [1,2,3]) item][0]")},function(a){return Y(a.CSS.supports)},function(){return Y(Intl.Collator)},
function(a){return Y(a.document.createElement("dialog").show)},function(){return Eo(8)},function(a){return Y(a.document.createElement("div").animate([{transform:"scale(1)",Lp:"ease-in"},{transform:"scale(1.3)",Lp:"ease-in"}],{duration:1300,Tu:1}).reverse)},function(a){return Y(a.document.createElement("div").animate)},function(a){return Y(a.document.documentElement.webkitRequestFullScreen)},function(a){return Y(a.navigator.getBattery)},function(a){return Y(a.navigator.permissions.query)},function(){return Y((new AudioContext).createBuffer)},
function(){return Eo(9)},function(){return Y(webkitRequestAnimationFrame)},function(a){return Y(a.BroadcastChannel.call)},function(a){return Y(a.FontFace)},function(a){return Y(a.Gamepad)},function(){return Eo(10)},function(a){return Y(a.MutationEvent)},function(a){return Y(a.MutationObserver)},function(a){return Y(a.crypto.getRandomValues)},function(a){return Y(a.document.body.createShadowRoot)},function(a){return Y(a.document.body.webkitCreateShadowRoot)},function(a){return Y(a.fetch)},function(){return Eo(11)},
function(a){return Y(a.navigator.serviceWorker.register)},function(a){return Y(a.navigator.webkitGetGamepads)},function(a){return Y(a.speechSynthesis.speak)},function(a){return Y(a.webkitRTCPeerConnection)},function(a){return a.CSS.supports("--fake-var","0")},function(){return Eo(12)},function(a){return a.CSS.supports("cursor","grab")},function(a){return a.CSS.supports("cursor","zoom-in")},function(a){return a.CSS.supports("image-orientation","270deg")},function(){return Eo(13)},function(a){return a.CSS.supports("position",
"sticky")},function(a){return void 0===a.document.createElement("style").scoped},function(a){return a.performance.getEntriesByType("resource")instanceof Array},function(){return"undefined"==typeof InstallTrigger},function(){return"object"==typeof(new Intl.Collator).resolvedOptions()},function(a){return"boolean"==typeof a.navigator.onLine},function(){return Eo(14)},function(a){return"undefined"==typeof a.navigator.Vu},function(a){return"number"==typeof a.performance.now()},function(){return 0==(new Uint16Array(1))[0]},
function(a){return-1==a.ActiveXObject.toString().indexOf("native")},function(a){return-1==Object.prototype.toString.call(a.HTMLElement).indexOf("Constructor")}],Go=[function(a){a=a.document.createElement("div");var b=null,c=["{45EA75A0-A269-11D1-B5BF-0000F8051515}","{3AF36230-A269-11D1-B5BF-0000F8051515}","{89820200-ECBD-11CF-8B85-00AA005B4383}"];try{a.style.behavior="url(#default#clientcaps)"}catch(e){}for(var d=0;d<c.length;d++){try{b=a.getComponentVersion(c[d],"componentid").replace(/,/g,".")}catch(e){}if(b)return b.split(".")[0]}return!1},
function(){return(new Date).getTimezoneOffset()},function(a){return(a.innerWidth||a.document.documentElement.clientWidth||a.document.body.clientWidth)/(a.innerHeight||a.document.documentElement.clientHeight||a.document.body.clientHeight)},function(a){return(a.outerWidth||a.document&&a.document.body&&a.document.body.offsetWidth)/(a.outerHeight||a.document&&a.document.body&&a.document.body.offsetHeight)},function(a){return a.screen.availWidth/a.screen.availHeight},function(a){return a.screen.width/
a.screen.height}],Ho=[function(a){return a.navigator.userAgent},function(a){return a.navigator.platform},function(a){return a.navigator.vendor}],Jo=function(){try{Io()}catch(d){}var a="a=1&b="+Ao+"&",b=[],c=99;C(Fo,function(a,c){var f=!1;try{f=a(L)}catch(g){}b[c/32>>>0]|=f<<c%32});C(b,function(b,e){a+=String.fromCharCode(c+e)+"="+(b>>>0).toString(16)+"&"});c=105;C(Go,function(b){var e="false";try{e=b(L)}catch(f){}a+=String.fromCharCode(c++)+"="+e+"&"});C(Ho,function(b){var e="";try{var f=b(L);b=[];
for(var g=0,k=0;k<f.length;k++){for(var l=f.charCodeAt(k);255<l;)b[g++]=l&255,l>>=8;b[g++]=l}if(!Jk)for(Jk={},Kk={},f=0;65>f;f++)Jk[f]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(f),Kk[f]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_.".charAt(f);f=Kk;l=[];for(g=0;g<b.length;g+=3){var m=b[g],u=g+1<b.length,v=u?b[g+1]:0,K=g+2<b.length,p=K?b[g+2]:0,k=m>>2,y=(m&3)<<4|v>>4,xa=(v&15)<<2|p>>6,Mb=p&63;K||(Mb=64,u||(xa=64));l.push(f[k],f[y],f[xa],f[Mb])}e=
l.join("")}catch(bl){}a+=String.fromCharCode(c++)+"="+e+"&"});return a.slice(0,-1)},Io=function(){if(!Bo){var a=function(){Co=!0;L.document.removeEventListener("webdriver-evaluate",a,!0)};L.document.addEventListener("webdriver-evaluate",a,!0);var b=function(){Do=!0;L.document.removeEventListener("webdriver-evaluate-response",b,!0)};L.document.addEventListener("webdriver-evaluate-response",b,!0);Bo=!0}};var Ko=function(){mo.call(this)};B(Ko,mo);ca(Ko);Ko.prototype.Wl=function(a,b){var c=W.getInstance();nn?(c=Mn(a))||(c=Lo(this,a,"a",b.opt_nativeTime||-1)):c.Fc?(c=Mn(a))||(c=Lo(this,a,"h",-1)):b.opt_adElement?c=vo(this,a,b.opt_adElement):(c=Mo(this,a,b.opt_sdkID||""))||(c=Mn(a)||void 0);c&&c.Ac==ba&&(c.Ac=z(this.Ac,this));return c};
Ko.prototype.Ac=function(a){var b=W.getInstance();a.$=0;a.Rh=0;var c;if("as"==a.Hb)if(b="getVideoMetadata"+a.we,x(a.element[b]))try{c=a.element[b]()}catch(e){a.$|=4}else a.$|=2;else if("h"==a.Hb)if(b=aa(b.Fc?"ima.bridge.getVideoMetadata":"ima.common.getVideoMetadata"),x(b))try{c=b(a.sa)}catch(e){a.$|=4}else a.$|=2;else a.$|=1;a.$||(q(c)?null===c?a.$|=16:yb(c)?a.$|=32:null!=c.errorCode&&(a.Rh=c.errorCode,a.$|=64):a.$|=8);null!=c||(c={});b=c;a.Yf=0;for(var d in Wk)null==b[d]&&(a.Yf|=Wk[d]);null!=b.currentTime||
a.dn++;zo(b,"currentTime");zo(b,"duration");return c};
var Lo=function(a,b,c,d){d=no(null,d,!0);d.Hb=c;d.Aj=z(a.Bg,a);Rn([d]);d.sa=b;return d},Mo=function(a,b,c){var d=db(X,z(function(a){return a.element?No(a.element,c)==b&&a.we==c:!1},a));null!==d&&d.sa!=b&&(ro(d.sa),d=void 0);if(d)return d;d=Oo(c);if(d=db(d,z(function(a){return No(a,c)==b},a)))return d=uo(a,d),d.Hb="as",d.sa=b,d.we=c,d},Oo=function(a){var b=L.document,c=nb(ab(["embed","object"],function(a){return jb(b.getElementsByTagName(a))})),d="metricID"+a;return c=$a(c,function(a){if(!a||!ga(a)||
1!=a.nodeType||!x(a.getBoundingClientRect))return!1;var b=a.getBoundingClientRect();return 0!=b.width&&0!=b.height&&a[d]&&x(a[d])?!0:!1})},No=function(a,b){var c="metricID"+b;if(!a||!a[c]||!x(a[c]))return null;var d;try{d=a[c]()}catch(e){return null}return d.queryID},Po=function(a,b){var c=W.getInstance(),d;switch(a.Hb){case "h":d=aa(c.Fc?"ima.bridge.triggerExternalActivityEvent":"ima.common.triggerExternalActivityEvent");break;case "a":d=aa("ima.common.triggerExternalActivityEvent");break;case "n":d=
aa("ima.bridge.triggerExternalActivityEvent");break;case "as":var e="triggerExternalActivityEvent"+a.we;a.element&&x(a.element[e])&&(d=function(b,c,d){a.element[e](d)});break;default:return a.Vc|=4,!1}if(x(d)){c=wo(b,a);try{return d(a.sa,c,b),!0}catch(f){a.Vc|=2}}else a.Vc|=1;return!1};Ko.prototype.Qn=function(a){Po(a,"viewable_impression")&&(a.Uk=!0)};
Ko.prototype.pl=function(a){var b=a.Gb.gg[0];(15E3<=b||a.Tk&&(-1!=a.ja?b>=a.ja/2:-1!=a.Th&&b>=a.Th))&&!a.bm&&Po(a,"fully_viewable_audible_half_duration_impression")&&(a.bm=!0)};Ko.prototype.im=function(a){var b=W.getInstance();a.yo||a.mf||b.Ig||!Po(a,"measurable_impression")||(a.yo=!0)};
Ko.prototype.Ti=function(a,b,c){var d={};var e={};Cb(e,{opt_adElement:void 0,opt_fullscreen:void 0},c||{});a=e.opt_bounds?{v:"444v",e:a,msg:"ol"}:yo(this,a,b,e);d.viewability=qo(a,co);b=Ao=(new Date).getTime();c=Eo(5);b=(Co?!c:c)?b|2:b&-3;c=Eo(2);b=(Do?!c:c)?b|8:b&-9;b={s1:(b>>>0).toString(16)};d.moatViewability=qo(a,eo,b,"h",Qo("kArwaWEsTs"));d.integralAdsViewability=qo(a,go,{},"h",Qo("b96YPMzfnx"));d.doubleVerifyViewability=qo(a,ho,{},"h",Qo("yb8Wev6QDg"));d.googleViewability=qo(a,fo,b);return d};
var Qo=function(a){return function(b){var c=new Tn;c.update(b+a);return Ik(c.digest()).slice(-8)}},Ro=function(a,b,c){return Ko.getInstance().Ti(a,b,c)};Ko.prototype.Bg=function(a){W.getInstance().Ig?So(a):Ko.D.Bg.call(this,a)};Ko.prototype.lk=function(a){W.getInstance().Ig&&So(a)};var So=function(a){var b=aa("ima.common.triggerViewabilityMeasurementUpdate");if(x(b)){var c=a.sa,d={};d.insideIframe=W.getInstance().ee;d.unmeasurable=a.mf;d.position=a.position;d.coverage=a.Y.Da;b(c,d)}};
r("Goog_AdSense_Lidar_sendVastEvent",Cd("lidar::handlevastevent_ex",Ro,void 0,function(){return{v:"444","if":W.getInstance().ee?"1":"0",nas:String(X.length)}}),void 0);r("Goog_AdSense_Lidar_getInitSignals",Cd("lidar::getinitsignals_ex",function(){var a={};a.moatInit=Jo();return a}),void 0);r("Goog_AdSense_Lidar_getUrlSignalsArray",Cd("lidar::geturlsignalsarray_ex",function(){return Xn()}),void 0);
r("Goog_AdSense_Lidar_getUrlSignalsList",Cd("lidar::geturlsignalslist_ex",function(){return di(Xn())}),void 0);var To=function(){Q.call(this);this.wa=null;this.b=new P(this);Gd(this,this.b);this.Wc=new Od;this.Hi=null;this.Tg=new Od;this.vn=null;this.od=!1;var a;a=S.$f;this.$f=x(a)?a:null;S.Wb()&&(nn=!0,W.getInstance().Wj=79463068)};B(To,Q);var Uo=null,Vo=function(){null!=Uo||(Uo=new To);return Uo};To.prototype.destroy=function(){this.b.unlisten(this.wa,"activityMonitor",this.fn);this.od=!1;this.Wc.clear()};To.prototype.A=function(){this.destroy();To.D.A.call(this)};To.prototype.yb=function(){return this.wa};
To.prototype.init=function(a){if(!this.od){if(this.wa=a||null)this.b.listen(this.wa,"activityMonitor",this.fn),Wo(this);if(S.Uf&&!(n.ima&&n.ima.video&&n.ima.video.client&&n.ima.video.client.tagged)){r("ima.video.client.sdkTag",!0,void 0);var b=n.document;a=b.createElement("script");var c=b.location.protocol;"http:"!=c&&"https:"!=c&&(c="");a.src=c+"//s0.2mdn.net/instream/video/client.js";a.async=!0;a.type="text/javascript";b=b.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}this.od=
!0}};
var Yo=function(a){if(null==a)return!1;if(ik()&&null!=a.webkitDisplayingFullscreen)return a.webkitDisplayingFullscreen;var b=window.screen.availWidth||window.screen.width,c=window.screen.availHeight||window.screen.height;a=Xo(a);return 0>=b-a.width&&42>=c-a.height},Xo=function(a){return x(a.getBoundingClientRect)&&Zc(Mc(a),a)?a.getBoundingClientRect():{left:a.offsetLeft,top:a.offsetTop,width:a.offsetWidth,height:a.offsetHeight}},Zo=function(a,b,c,d,e){if(a.od){if(a.$f)return a.$f(b,c,e);e=e||{};if(d=
d?a.Tg.get(d):S.lb)null!=e.opt_fullscreen||(e.opt_fullscreen=Yo(d)),null!=e.opt_adElement||(e.opt_adElement=d);null==e.opt_bounds&&a.vn&&(e.opt_bounds=Xo(a.vn));return mc(nc,"lidar::handlevast_html5",ja(Ro,b,c,e),void 0,Ad)||{}}return{}},$o=function(a,b){var c=String(Math.floor(1E9*Math.random()));a.Tg.set(c,b);if(Gj().Ec(31061775))try{Vk(function(){return b})}catch(d){}return c},ap=function(a,b,c){c?a.Wc.get(c)==b&&a.Wc.remove(c):(c=[],a.Wc.forEach(ja(function(a,b,c,g){c==b&&a.push(g)},c,b)),C(c,
a.Wc.remove,a.Wc),a.Hi==b&&(a.Hi=null))};To.prototype.Ac=function(a){a=this.Wc.get(a,this.Hi);return x(a)?a():{}};var Wo=function(a){if(x(window.Goog_AdSense_Lidar_getUrlSignalsArray)){var b={};b.pageSignals=window.Goog_AdSense_Lidar_getUrlSignalsArray();a.wa.send("activityMonitor","pageSignals",b)}};
To.prototype.fn=function(a){var b=a.Z,c=b.queryId,d={};d.eventId=b.eventId;switch(a.ga){case "getPageSignals":Wo(this);break;case "reportVastEvent":var e=b.vastEvent;a=b.osdId;var f={};f.opt_fullscreen=b.isFullscreen;b.isOverlay&&(f.opt_bounds=b.overlayBounds);d.viewabilityData=Zo(this,e,c,a,f);this.wa.send("activityMonitor","viewability",d);break;case "fetchAdTagUrl":d={},d.eventId=b.eventId,a=b.osdId,c=null,vb(b,"isFullscreen")&&(c=b.isFullscreen),vb(b,"loggingId")&&(b=b.loggingId,d.loggingId=b,
sk.getInstance().report(43,{step:"beforeLookup",logid:b,time:A()},!0)),d.engagementString=bp(this,a,c),this.wa.send("activityMonitor","engagement",d)}};var bp=function(a,b,c){if(!S.Uf)return"";var d=b?a.Tg.get(b):S.lb;a={};null!=c&&(a.fullscreen=c);c="";try{c=Uk(function(){return d},a)}catch(e){c="sdktle;"+za(e.name,12)+";"+za(e.message,40)}return c};r("ima.common.getVideoMetadata",function(a){return Vo().Ac(a)},void 0);
r("ima.common.triggerViewEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=Vo().yb();d?d.send("activityMonitor","viewableImpression",c):Vo().dispatchEvent(new Vh("viewable_impression",null,c))},void 0);r("ima.common.triggerViewabilityMeasurementUpdate",function(a,b){var c=Vo().yb(),d={};d.queryId=a;d.viewabilityData=b;c&&c.send("activityMonitor","viewabilityMeasurement",d)},void 0);
r("ima.common.triggerMeasurableEvent",function(a,b){var c={};c.queryId=a;c.viewabilityString=b;var d=Vo().yb();d?d.send("activityMonitor","measurableImpression",c):Vo().dispatchEvent(new Vh("measurable_impression",null,c))},void 0);r("ima.common.triggerExternalActivityEvent",function(a,b,c){var d={};d.queryId=a;d.viewabilityString=b;d.eventName=c;(a=Vo().yb())?a.send("activityMonitor","externalActivityEvent",d):Vo().dispatchEvent(new Vh("externalActivityEvent",null,d))},void 0);
r("ima.common.updateEngagementDetectionValue",function(a){if(S.Uf){var b=Vo().yb();if(b){var c={};c.engagementString=a;b.send("activityMonitor","engagementData",c)}}},void 0);var cp=function(){Q.call(this);this.Cc=this.Hc=this.aj=this.Yb=!1;this.Ta=0;this.lc=[];this.nd=!1;this.Hk=this.Gk=Infinity;this.af=0;this.vp=!1;this.lg=new P(this);this.Ih={}};B(cp,Q);cp.prototype.Ja=function(a){null==a||this.Yb||(this.be=a,this.eg(),this.Yb=!0)};cp.prototype.da=function(){null!=this.be&&this.Yb&&(dp(this),this.Cc=this.Hc=this.Yb=!1,this.Ta=0,this.lc=[],this.nd=!1)};
cp.prototype.eg=function(){dp(this);!(this.be instanceof Q)&&"ontouchstart"in document.documentElement&&jk()?(this.Ih={touchstart:z(this.Wg,this),touchmove:z(this.Vg,this),touchend:z(this.Ug,this)},ob(this.Ih,function(a,b){this.be.addEventListener(b,a,!1)},this)):this.lg.listen(this.be,"click",this.ib)};var dp=function(a){a.lg.unlisten(a.be,"click",a.ib);ob(a.Ih,function(a,c){this.be.removeEventListener(c,a,!1)},a);a.Ih={}};h=cp.prototype;
h.Wg=function(a){this.Hc=!0;this.Ta=a.touches.length;this.af&&(window.clearTimeout(this.af),this.af=0,this.aj=!0);(this.nd=this.Ve(a.touches)||1!=a.touches.length)?this.Hk=this.Gk=Infinity:(this.Gk=a.touches[0].clientX,this.Hk=a.touches[0].clientY);this.pk(a.touches)};h.Vg=function(a){this.Ta=a.touches.length;if(!jk()||!kk(ek,8)||Math.pow(a.changedTouches[0].clientX-this.Gk,2)+Math.pow(a.changedTouches[0].clientY-this.Hk,2)>Math.pow(5,2))this.Cc=!0};
h.Ug=function(a){this.vp?this.Xd():(this.Yi(a.changedTouches)&&(this.af=window.setTimeout(z(this.Xd,this),300)),this.Ta=a.touches.length,0==this.Ta&&(this.Cc=this.Hc=!1,this.lc=[]),this.aj=!1)};h.ib=function(){this.Xd()};h.Yi=function(a){return this.Hc&&1==this.Ta&&!this.Cc&&!this.aj&&!this.nd&&this.Ve(a)};h.pk=function(a){this.lc=[];C(a,function(a){var c=this.lc;a=a.identifier;D(c,a)||c.push(a)},this)};h.Ve=function(a){return bb(a,function(a){return D(this.lc,a.identifier)},this)};
h.Xd=function(){this.af=0;this.dispatchEvent(new M("click"))};h.A=function(){this.da();this.lg.K();this.lg=null;cp.D.A.call(this)};var ep=function(a){if(na(Da(a)))return null;var b=a.match(/^https?:\/\/[^\/]*youtu\.be\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];b=a.match(/^https?:\/\/[^\/]*youtube.com\/video\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];b=a.match(/^https?:\/\/[^\/]*youtube.com\/watch\/([a-zA-Z0-9_-]+)$/);if(null!=b&&2==b.length)return b[1];a=(new N(a)).ma;return a.Za("v")?a.get("v").toString():a.Za("video_id")?a.get("video_id").toString():null};var fp=function(a){this.pe=0;this.yj=a||100;this.Mb=[]};h=fp.prototype;h.add=function(a){var b=this.Mb[this.pe];this.Mb[this.pe]=a;this.pe=(this.pe+1)%this.yj;return b};h.get=function(a){a=gp(this,a);return this.Mb[a]};h.set=function(a,b){a=gp(this,a);this.Mb[a]=b};h.cb=function(){return this.Mb.length};h.md=function(){return 0==this.Mb.length};h.clear=function(){this.pe=this.Mb.length=0};h.R=function(){for(var a=this.cb(),b=this.cb(),c=[],a=this.cb()-a;a<b;a++)c.push(this.get(a));return c};
h.Ab=function(){for(var a=[],b=this.cb(),c=0;c<b;c++)a[c]=c;return a};h.Za=function(a){return a<this.cb()};var gp=function(a,b){if(b>=a.Mb.length)throw Error("Out of bounds exception");return a.Mb.length<a.yj?b:(a.pe+Number(b))%a.yj};var hp=function(){Q.call(this)};B(hp,Q);var ip={Jt:"beginFullscreen",CLICK:"click",Ot:"end",Pt:"endFullscreen",ERROR:"error",LOADED:"loaded",$t:"mediaLoadTimeout",Zk:"pause",PLAY:"play",tu:"skip",uu:"skipShown",pu:"shareClicked",$k:"start",Fu:"timeUpdate",Kt:"cardsStateChange",Du:"timedMetadata",Ou:"volumeChange"};hp.prototype.Mm=function(){return!0};hp.prototype.addInfoCardXml=ba;var jp=function(a){Q.call(this);this.l=a;this.Wn="";this.nh=-1;this.qb=new fp(4);this.Td=-1;this.Sa=0;this.hk=this.G=this.vj=this.Hg=!1;this.Fb=this.Na();this.hd=this.Gc();this.wo=15E3;this.jj=!1};B(jp,hp);h=jp.prototype;h.Ul=function(){return $a(sb(yj),function(a){return!na(this.l.canPlayType(a))},this)};h.Xn=function(a){this.wo=0<a.Bh?a.Bh:15E3};h.Vm=function(a){this.l.seekable.length?this.l.seekable.end(0)>this.nh&&(this.l.currentTime=this.nh,a()):setTimeout(z(this.Vm,this,a),100)};
h.Vn=function(){this.Wn=this.l.currentSrc;this.nh=this.l.ended?-1:this.l.currentTime};h.Rn=function(a){if(0<=this.nh){var b=this;this.l.addEventListener("loadedmetadata",function d(){b.Vm(a);b.l.removeEventListener("loadedmetadata",d,!1)},!1);this.l.src=this.Wn;this.l.load()}};h.load=function(a,b){this.Gf();b&&S.Wb()&&x(this.l.rh)&&this.l.rh(b);this.l.src=a;this.l.load()};h.setVolume=function(a){this.l.volume=a};h.getVolume=function(){return this.l.volume};h.M=function(){return this.l};
h.play=function(){this.jj=!1;Of(this.l.play,0,this.l);this.Qh||(this.Qh=Of(this.up,this.wo,this))};h.pause=function(){this.jj=!0;this.l.pause()};h.lf=function(){return this.l.paused?jk()||ng?this.l.currentTime<this.l.duration:!0:!1};h.isMuted=function(){return this.l.muted};h.Ei=function(){ik()&&this.l.webkitDisplayingFullscreen&&this.l.webkitExitFullscreen()};h.Gc=function(){return Yo(this.l)};h.vc=function(a){return this.jd()>=a};h.Ed=function(a){this.l.currentTime=a};h.getCurrentTime=function(){return this.l.currentTime};
h.getDuration=function(){return isNaN(this.l.duration)?-1:this.l.duration};h.jd=function(){for(var a=this.qb.R();a.length;){var b=a.pop();if(0<b)return b}return-1};h.fe=function(){return this.l.ended};h.kj=function(){return!isNaN(this.l.duration)&&0<this.l.duration&&0==this.l.currentTime};h.Na=function(){return new H(this.l.offsetWidth,this.l.offsetHeight)};h.hj=function(){return this.l.seeking};h.A=function(){this.da();this.l=null;jp.D.A.call(this)};h.getError=function(){return this.l.error};
h.Ja=function(){this.da();this.b=new P(this);this.b.listen(this.l,bk,this.Qr);this.b.listen(this.l,"canplay",this.Jj);this.b.listen(this.l,"ended",this.Hr);this.b.listen(this.l,"webkitbeginfullscreen",this.kb);this.b.listen(this.l,"webkitendfullscreen",this.bc);this.b.listen(this.l,"pause",this.Rr);this.b.listen(this.l,"playing",this.Xr);this.b.listen(this.l,"timeupdate",this.es);this.b.listen(this.l,"volumechange",this.wd);this.b.listen(this.l,"error",this.jb);this.b.listen(this.l,nk()||jk()&&(!jk()||
!kk(ek,8))?"loadeddata":"canplay",this.Nr);this.I=new cp;this.b.listen(this.I,"click",this.ib);this.I.Ja(this.l);this.Ub=new Nf(1E3);this.b.listen(this.Ub,"tick",this.uf);this.Ub.start()};h.da=function(){null!=this.I&&(this.I.da(),this.I=null);null!=this.Ub&&this.Ub.K();null!=this.b&&(this.b.K(),this.b=null);this.Gf()};h.Gf=function(){this.Td=-1;this.Hg=this.G=this.vj=!1;this.Sa=0;this.hk=!1;this.qb.clear();kp(this);Fd(this.Le)};h.Qr=function(a){this.dispatchEvent(a.type)};
h.vd=function(a){this.G||(this.G=!0,kp(this),this.dispatchEvent("start"),!(ik()&&!gk()||wc&&(!wc||!kk(fk,4))||!S.pd()&&mk())||!wc||wc&&kk(fk,3)||!(!ik()||jk()&&kk(ek,4))||this.kb(a))};h.xk=function(a){return a.width!=this.Fb.width||a.height!=this.Fb.height};h.Bi=function(a){return!this.hd&&a};h.Fi=function(a){return this.hd&&!a};h.Jj=function(){var a;if(a=og)a=Db,a=!(a&&(Aa(a,"SMART-TV")||Aa(a,"SmartTV")));a&&!this.hk&&(this.Ed(.001),this.hk=!0)};h.Nr=function(){this.vj||(this.vj=!0,this.dispatchEvent("loaded"))};
h.Xr=function(a){this.dispatchEvent("play");jk()||nk()||this.vd(a)};h.es=function(a){if(!this.G&&(jk()||nk())){if(0>=this.getCurrentTime())return;if(nk()&&this.fe()&&1==this.getDuration()){this.jb(a);return}this.vd(a)}if(jk()||lk()){if(1.5<this.getCurrentTime()-this.Sa){this.Hg=!0;this.Ed(this.Sa);return}this.Hg=!1;this.getCurrentTime()>this.Sa&&(this.Sa=this.getCurrentTime())}this.qb.add(this.l.currentTime);this.dispatchEvent("timeUpdate")};h.wd=function(){this.dispatchEvent("volumeChange")};
h.Rr=function(){var a;this.G&&jk()&&!this.jj&&2>lp(this)?(this.Le=new Nf(250),this.b.listen(this.Le,"tick",this.Dr),this.Le.start(),a=!0):a=!1;a||this.dispatchEvent("pause")};h.Hr=function(){var a=Gj().Ec(136961002),b=!0;if(jk()||lk()||a&&wc)b=this.Sa>=this.l.duration-1.5;!this.Hg&&b&&this.dispatchEvent("end")};h.kb=function(){this.dispatchEvent("beginFullscreen")};h.bc=function(){this.dispatchEvent("endFullscreen")};h.jb=function(){kp(this);this.dispatchEvent("error")};h.ib=function(){this.dispatchEvent("click")};
h.uf=function(){var a=this.Na(),b=this.Gc();this.xk(a)&&(this.Bi(b)?this.kb():this.Fi(b)&&this.bc(),this.Fb=a,this.hd=b)};h.up=function(){if(!this.G){try{sk.getInstance().report(16)}catch(a){}this.Gf();this.dispatchEvent("mediaLoadTimeout")}};h.Dr=function(){if(this.fe()||!this.lf())Fd(this.Le);else{var a=this.l.duration-this.l.currentTime,b=lp(this);0<b&&(2<=b||2>a)&&(Fd(this.Le),this.play())}};
var lp=function(a){var b;a:{for(b=a.l.buffered.length-1;0<=b;){if(a.l.buffered.start(b)<=a.l.currentTime){b=a.l.buffered.end(b);break a}b--}b=0}return b-a.l.currentTime},kp=function(a){a.Qh&&(n.clearTimeout(a.Qh),a.Qh=null)};var np=function(){Q.call(this);this.buffered=new mp;this.b=new P(this);var a=Yh(S);if(a){a:{if(vb(a.dd,"videoElementMockDuration")&&(a=a.dd.videoElementMockDuration,w(a)))break a;a=NaN}this.duration=a}};B(np,Q);var op=function(){var a=["video/mp4"],b=["video/ogg"],c=new np;c.canPlayType=function(c){return D(a,c)?"probably":D(b,c)?"maybe":""};c.width=0;c.height=0;c.offsetWidth=0;c.offsetHeight=0;return c},pp=function(a){this.startTime=0;this.endTime=a},mp=function(){this.length=0;this.hh=[]};
mp.prototype.start=function(a){return this.hh[a].startTime};mp.prototype.end=function(a){return this.hh[a].endTime};h=np.prototype;h.readyState=0;h.seeking=!1;h.currentTime=0;h.duration=NaN;h.paused=!0;h.ended=!1;h.autoplay=!1;h.loop=!1;h.controls=!1;h.volume=1;h.muted=!1;h.src="";h.currentSrc="";h.defaultPlaybackRate=1;h.playbackRate=0;h.jc=null;h.Ng=0;h.os=4;h.Me=null;h.zh=null;
h.play=function(){this.ended&&(this.currentTime=0,this.dispatchEvent("timeupdate"));this.paused&&(this.paused=!1,this.dispatchEvent("play"),this.readyState=this.os,2>=this.readyState?this.dispatchEvent("waiting"):this.dispatchEvent("playing"));if(null===this.jc||this.jc.Yd)this.jc=new Nf(10),this.jc.listen("tick",z(this.eo,this));this.Ng=A();this.jc.start();this.seeking=this.autoplay=!1};
h.pause=function(){this.autoplay=!1;this.paused||(this.jc.stop(),this.paused=!0,this.dispatchEvent("timeupdate"),this.dispatchEvent("pause"))};
h.load=function(){this.readyState=0;this.paused=!0;this.seeking=!1;this.dispatchEvent("loadstart");this.setProperty("duration",isNaN(this.duration)?10+20*Math.random():this.duration);var a=this.buffered;a.hh.push(new pp(this.duration));a.length=a.hh.length;this.dispatchEvent("loadedmetadata");0<this.currentTime&&this.dispatchEvent("timeupdate");this.dispatchEvent("loadeddata");this.dispatchEvent("canplay");this.dispatchEvent("canplaythrough");this.dispatchEvent("progress");this.playbackRate=this.defaultPlaybackRate};
h.setProperty=function(a,b){switch(a){case "currentTime":this.Oc(Number(b));break;case "duration":this.duration=Number(b);this.dispatchEvent("durationchange");break;case "volume":this.volume=Number(b),this.dispatchEvent("volumechange")}};h.Oc=function(a){this.seeking=!0;this.dispatchEvent("seeking");this.seeking=!1;this.currentTime=a;this.dispatchEvent("seeked");this.eo()};
h.eo=function(){var a=A()-this.Ng,b=this.currentTime+a/1E3;this.Ng+=a;2<this.readyState&&(this.currentTime=Math.min(b,this.duration));this.dispatchEvent("timeupdate");this.currentTime==this.duration&&(this.ended=this.paused=!0,this.jc.stop(),this.dispatchEvent("ended"))};h.A=function(){this.jc&&this.jc.K();this.b.K()};
h.mb=function(a){var b=null,c=null;switch(a.type){case "loadeddata":b="Loaded";break;case "playing":b="Playing";c="#00f";break;case "pause":b="Paused";break;case "ended":b="Ended",c="#000"}b&&this.zh&&(this.zh.innerText=b);c&&this.Me&&(this.Me.style.backgroundColor=c)};Hg("a","");Hg("a","redesign2014q4");Hg("b","");Hg("b","redesign2014q4");var qp=function(a,b,c){if(null==a||!Zc(Mc(a),a))throw Wj(Vj,null,"containerElement","element");this.Nb=a;this.Oh=this.Sc=null;this.cd=b;this.Ap=c||!1;this.Rk=null;this.Sc=Uc("div",{style:"display:none;"});var d;a=Yh(S);if(Zh(a,"useVideoElementMock")){a=op();b=Uc("div",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;"});for(d in a)b[d]=a[d];a.Me=Uc("div",{style:"position:absolute;width:100%;height:100%;top:0px;left:0px;background-color:#000"});a.zh=Uc("p",{style:"position:absolute;top:25%;margin-left:10px;font-size:24px;color:#fff;"});
a.Me.appendChild(a.zh);b.appendChild(a.Me);a.b.listen(a,["loadeddata","playing","pause","ended"],a.mb);d=b}else d=Uc("video",{style:"background-color:#000;position:absolute;width:100%;height:100%;",title:"Advertisement"});d.setAttribute("webkit-playsinline",!0);this.Oh=d;this.Nb.appendChild(this.Sc);this.Sc.appendChild(this.Oh);this.cd&&(d=Uc("div",{id:this.cd,style:"display:none;background-color:#000;position:absolute;width:100%;height:100%;"}),this.Sc.appendChild(d));this.Ap&&(this.Rk=Uc("div",
{style:"position:absolute;width:100%;height:100%;"}),this.Sc.appendChild(this.Rk))};B(qp,Ed);h=qp.prototype;h.initialize=function(){var a=this.Oh;hk()&&a.load()};h.A=function(){Yc(this.Sc);qp.D.A.call(this)};h.df=function(){return this.Rk};h.M=function(){return this.Oh};h.show=function(){var a=this.Sc;null!=a&&(a.style.display="block")};h.hide=function(){var a=this.Sc;null!=a&&(a.style.display="none")};var sp=function(a){Q.call(this);this.cd="ima-chromeless-video";var b=null;null!=a&&(t(a)?this.cd=a:b=a);this.b=new P(this);this.fd=null;this.G=!1;this.Fb=this.Na();this.hd=this.Gc();this.zf=-1;this.$g=!1;this.xd=-1;this.ca=this.Zg=this.Af=null;this.$b=this.Vk="";this.ka=!1;this.Nh=null!=b;this.Vj=this.Cf=this.eh=this.N=null;this.Ga=void 0;this.hf=this.Uj=null;this.Sa=0;this.Nh?(this.ka=!0,this.N=b,this.Ga=2):(a=z(this.Bp,this),rp?a():(eb.push(a),a=document.createElement("script"),a.src="https://www.youtube.com/iframe_api",
b=document.getElementsByTagName("script")[0],b.parentNode.insertBefore(a,b)))};B(sp,hp);var tp={el:"adunit",controls:0,html5:1,playsinline:1,ps:"gvn",showinfo:0},eb=[],rp=!1;h=sp.prototype;h.Xn=function(a){this.ca=a};h.load=function(a,b){null!==a&&(this.Vk=a,this.$b=b,this.ka?up(this,a,b):(this.Af=a,this.Zg=b))};h.setVolume=function(a){this.Nh?this.dispatchEvent("volumeChange"):this.ka?(a=Math.min(Math.max(100*a,0),100),this.N.setVolume(a),this.xd=-1,this.dispatchEvent("volumeChange")):this.xd=a};
h.getVolume=function(){return this.ka?this.N.getVolume()/100:this.xd};h.play=function(){if(!na(Da(this.Vk))){if(!this.G){vp(this);var a=15E3;null!=this.ca&&0<this.ca.Bh&&(a=this.ca.Bh);this.Bn=Of(this.Tr,a,this)}this.ka?(this.$g=!1,!this.G&&this.ca&&this.ca.enablePreloading()?this.N.loadVideoByPlayerVars(this.Uj):this.N.playVideo()):this.$g=!0}};h.pause=function(){this.ka&&this.G&&this.N.pauseVideo()};h.lf=function(){return this.ka?2==this.N.getPlayerState(this.Ga):!1};
h.isMuted=function(){return this.ka?this.N.isMuted():0==this.getVolume()};h.Ei=function(){};h.Gc=function(){var a=S.oc?S.lb:document.getElementById(this.cd);return a?Yo(a):!1};h.vc=function(a){return this.ka?this.N.getCurrentTime(this.Ga)>=a:!1};h.Ed=function(a){this.ka?this.N.seekTo(a,!1):this.zf=a};h.getCurrentTime=function(a){return this.ka?this.N.getCurrentTime(a||this.Ga):-1};h.getDuration=function(){return this.ka&&this.G?this.N.getDuration(this.Ga):-1};h.getError=function(){return null};
h.Ul=function(){return sb(yj)};h.fe=function(){return this.ka?0==this.N.getPlayerState(this.Ga):!1};h.kj=function(){return 0==this.getCurrentTime()};h.Na=function(){var a=S.oc?S.lb:document.getElementById(this.cd);return a?new H(a.offsetWidth,a.offsetHeight):new H(0,0)};h.hj=function(){return!1};h.Mm=function(){return this.ka?1==this.N.getPlayerState(this.Ga):!1};h.kb=function(){this.dispatchEvent("beginFullscreen")};h.bc=function(){this.dispatchEvent("endFullscreen")};
h.uf=function(){var a=this.Na(),b=this.Gc();this.xk(a)&&(this.Bi(b)?this.kb():this.Fi(b)&&this.bc(),this.Fb=a,this.hd=b)};
h.Ja=function(){this.eh=z(this.ln,this);this.Cf=z(this.Mj,this);this.Vj=z(this.mn,this);this.Dn=z(this.cs,this);this.Nh&&(this.N.addEventListener("onAdStateChange",this.Cf),this.N.addEventListener("onReady",this.eh),this.N.addEventListener("onStateChange",this.Cf),this.N.addEventListener("onVolumeChange",this.Vj),this.N.addEventListener("onSharePanelOpened",this.Dn));this.Ub=new Nf(1E3);this.b.listen(this.Ub,"tick",this.uf);this.Ub.start()};
h.da=function(){this.Nh&&(this.N.removeEventListener("onAdStateChange",this.Cf),this.N.removeEventListener("onReady",this.eh),this.N.removeEventListener("onStateChange",this.Cf),this.N.removeEventListener("onVolumeChange",this.Vj),this.N.removeEventListener("onSharePanelOpened",this.Dn));null!=this.Ub&&this.Ub.K()};
h.Bp=function(){var a=this.cd,b={playerVars:Ab(tp),events:{cardstatechange:z(this.Er,this),onError:z(this.Wr,this),onReady:z(this.ln,this),onAdStateChange:z(this.Mj,this),onStateChange:z(this.Mj,this),onVolumeChange:z(this.mn,this)}},c=aa("YT");this.N=null!=c&&null!=c.Player?new c.Player(a,b):null};
var up=function(a,b,c){var d={autoplay:"1"};if(null!=a.ca){var e=a.ca.gp;null!=e&&(d.agcid=e);e=a.ca.Sl();null!=e&&(d.adformat=e);e=a.ca.Tl();null!=e&&(d.ad_query_id=e);(e=a.ca.Dp)&&(d.cta_conversion_urls=e);a.ca.gr&&(d.is_pharma=1);d.iv_load_policy=a.ca.Ks?1:3;a.ca.Wq&&(d.noiba=1);a.ca.ot&&(d.utpsa=1);a.ca.Zs&&(d.autoplay="1");a.ca.yn&&Cb(d,a.ca.yn)}null!=b?Pj(Kj,b)?(e=b.match(/yt_vid\/([a-zA-Z0-9_-]{11})/),e=null!=e&&1<e.length?e[1]:null):e=null!=b&&Pj(Lj,b)?ep(b):null:e=null;null===e?d.url_encoded_third_party_media=
"url="+encodeURIComponent(b)+"&type="+encodeURIComponent(null===c?"":c):d.videoId=e;!S.pd()&&Gj().Ec(41351017)&&(d.enabled_engage_types="3,4,5");a.G=!1;a.ca&&a.ca.enablePreloading()?(a.Uj=d,a.N.preloadVideoByPlayerVars(a.Uj)):a.N.cueVideoByPlayerVars(d);a.dispatchEvent("loaded")};h=sp.prototype;h.Wr=function(){this.dispatchEvent("error")};h.xk=function(a){return a.width!=this.Fb.width||a.height!=this.Fb.height};h.Bi=function(a){return!this.hd&&a};h.Fi=function(a){return this.hd&&!a};
h.ln=function(){this.ka=!0;this.hf&&this.addInfoCardXml(this.hf.lt,this.hf.tp,this.hf.Vs);-1!=this.xd&&(this.setVolume(this.xd),this.xd=-1);null!=this.Af&&(up(this,this.Af,this.Zg),this.Zg=this.Af=null);-1!=this.zf&&(this.Ed(this.zf),this.zf=-1);this.$g&&this.play()};h.Er=function(){this.dispatchEvent("cardsStateChange")};
h.Mj=function(a){switch(a.data){case 0:this.G?this.dispatchEvent("end"):this.dispatchEvent("error");break;case 1:this.G||(vp(this),this.G=!0,this.Sa=0,this.dispatchEvent("start"));this.dispatchEvent("play");wp(this);this.fd=new Nf(100);this.b.listen(this.fd,"tick",this.jn);this.fd.start();break;case 2:this.dispatchEvent("pause"),wp(this)}};h.mn=function(){this.dispatchEvent("volumeChange")};h.cs=function(){this.dispatchEvent("shareClicked")};
var wp=function(a){a.b.unlisten(a.fd,"tick",a.jn);null!=a.fd&&(a.fd.stop(),a.fd=null)},vp=function(a){null!=a.Bn&&n.clearTimeout(a.Bn)};sp.prototype.jn=function(){if(kg||lk()){if(1.5<this.getCurrentTime()-this.Sa){this.ka&&this.N.seekTo(this.Sa,!0);return}this.getCurrentTime()>this.Sa&&(this.Sa=this.getCurrentTime())}this.dispatchEvent("timeUpdate")};sp.prototype.Tr=function(){this.dispatchEvent("mediaLoadTimeout")};
sp.prototype.addInfoCardXml=function(a,b,c){if(b||c)this.ka?this.N.addInfoCardXml(a,b,c):this.hf={lt:a,tp:b,Vs:c}};sp.prototype.A=function(){wp(this);vp(this);this.da();this.ka=!1;this.b.K();this.zf=-1;this.Zg=null;this.$g=!1;this.Af=null;this.xd=-1;this.eh=this.N=this.ca=null;this.G=!1;this.Vk="";sp.D.A.call(this)};r("onYouTubeIframeAPIReady",function(){rp=!0;C(eb,function(a){a()});fb()},window);var xp=function(a){Q.call(this);this.sessionId=a||"goog_"+Ha++;this.Dj=[]};B(xp,Q);xp.prototype.$i=!1;xp.prototype.connect=function(){for(this.$i=!0;0!=this.Dj.length;){var a=this.Dj.shift();this.sendMessage(a.name,a.type,a.data)}};xp.prototype.send=function(a,b,c){this.$i?this.sendMessage(a,b,c):this.Dj.push({name:a,type:b,data:c})};var yp=function(a,b,c,d,e){M.call(this,a);this.ga=b;this.Z=c;this.hc=d;this.un=e};B(yp,M);yp.prototype.toString=function(){return""};var zp=function(a,b){xp.call(this,b);this.Se=a;this.pb=null;this.b=new P(this);this.b.listen(I(),"message",this.xs)};B(zp,xp);var Ap=function(a){if(null==a||!t(a)||!la(a,"ima://"))return null;a=a.substr(6);try{return bi(a)}catch(b){return null}};zp.prototype.sendMessage=function(a,b,c){null!=this.pb&&null!=this.pb.postMessage&&this.pb.postMessage(this.encode(a,b,c),"*");null!=this.pb&&null==this.pb.postMessage&&sk.getInstance().report(11)};zp.prototype.A=function(){this.b.K();zp.D.A.call(this)};
zp.prototype.xs=function(a){a=a.ab;var b=Ap(a.data);if(Bp(this,b)){if(null==this.pb)this.pb=a.source,this.$i||this.connect();else if(this.pb!=a.source)return;Bp(this,b)&&this.dispatchEvent(new yp(b.name,b.type,b.data||{},b.sid,a.origin))}};zp.prototype.encode=function(a,b,c){var d={};d.name=a;d.type=b;null!=c&&(d.data=c);d.sid=this.sessionId;d.channel=this.Se;return"ima://"+di(d)};
var Bp=function(a,b){if(null==b)return!1;var c=b.channel;if(null==c||c!=a.Se)return!1;c=b.sid;return null==c||"*"!=a.sessionId&&c!=a.sessionId?!1:!0};var Cp=function(a,b){Q.call(this);this.ur=a;this.op=b;this.$c={};this.b=new P(this);this.b.listen(I(),"message",this.ys)};B(Cp,Q);Cp.prototype.send=function(a){var b=a.Se;this.$c.hasOwnProperty(b)&&this.$c[b].send(a.type,a.ga,a.Z)};var Ep=function(a,b,c,d){a.$c.hasOwnProperty(b)||(c=new zp(b,c),a.b.listen(c,a.ur,function(a){this.dispatchEvent(new Dp(a.type,a.ga,a.Z,a.hc,a.un,b))}),c.pb=d,c.connect(),a.$c[b]=c)};Cp.prototype.A=function(){this.b.K();for(var a in this.$c)Fd(this.$c[a]);Cp.D.A.call(this)};
Cp.prototype.ys=function(a){a=a.ab;var b=Ap(a.data);if(null!=b){var c=b.channel;if(this.op&&!this.$c.hasOwnProperty(c)){var d=b.sid;Ep(this,c,d,a.source);this.dispatchEvent(new Dp(b.name,b.type,b.data||{},d,a.origin,c))}}};var Dp=function(a,b,c,d,e,f){yp.call(this,a,b,c,d,e);this.Se=f};B(Dp,yp);var Gp=function(){var a=aa("google.ima.gptProxyInstance",I());if(null!=a)return a;P.call(this);this.Eg=new Cp("gpt",!0);Gd(this,this.Eg);this.listen(this.Eg,"gpt",this.Jr);this.kd=null;Fp()||I().top===I()||(this.kd=new Cp("gpt",!1),Gd(this,this.kd),this.listen(this.kd,"gpt",this.Ir))};B(Gp,P);var Fp=function(){return!!aa("googletag.cmd",I())},Hp=function(){var a=aa("googletag.console",I());return null!=a?a:null};
Gp.prototype.Jr=function(a){var b=a.un,c="//imasdk.googleapis.com".match(La),b=b.match(La);if(c[3]==b[3]&&c[4]==b[4])if(null!=this.kd)Ep(this.kd,a.Se,a.hc,I().parent),null!=this.kd&&this.kd.send(a);else if(c=a.Z,null!=c&&q(c.scope)){var b=c.scope,c=c.args,d;if("proxy"==b)c=a.ga,"isGptPresent"==c?d=Fp():"isConsolePresent"==c&&(d=null!=Hp());else if(Fp())if("pubads"==b||"companionAds"==b){d=a.ga;var e,f=I().googletag;if(null!=f&&null!=f[b]&&(f=f[b](),null!=f&&(d=f[d],null!=d)))try{e=d.apply(f,c)}catch(g){}d=
e}else if("console"==b){if(f=a.ga,e=Hp(),null!=e&&(f=e[f],null!=f))try{f.apply(e,c)}catch(g){}}else if(null===b){e=a.ga;d=I();if(D(["googleGetCompanionAdSlots","googleSetCompanionAdContents"],e)&&(e=d[e],null!=e))try{f=e.apply(d,c)}catch(g){}d=f}q(d)&&(a.Z.returnValue=d,this.Eg.send(a))}};Gp.prototype.Ir=function(a){this.Eg.send(a)};var Ip=function(a,b,c,d,e,f,g,k,l,m,u,v,K){this.ep=a;this.fp=m;this.gp=b;this.Dp=d;this.Wq=k;this.gr=v;this.Ks=e;this.ot=f;this.Zs=K;this.Bh=g;this.Op=l;this.yn=u};Ip.prototype.Sl=function(){return this.ep};Ip.prototype.Tl=function(){return this.fp};Ip.prototype.enablePreloading=function(){return this.Op};var Kp=function(a,b){var c=Array.prototype.slice.call(arguments),d=c.shift();if("undefined"==typeof d)throw Error("[goog.string.format] Template required");return d.replace(/%([0\-\ \+]*)(\d+)?(\.(\d+))?([%sfdiu])/g,function(a,b,d,k,l,m,u,v){if("%"==m)return"%";var K=c.shift();if("undefined"==typeof K)throw Error("[goog.string.format] Not enough arguments");arguments[0]=K;return Jp[m].apply(null,arguments)})},Jp={s:function(a,b,c){return isNaN(c)||""==c||a.length>=Number(c)?a:a=-1<b.indexOf("-",0)?
a+Ba(" ",Number(c)-a.length):Ba(" ",Number(c)-a.length)+a},f:function(a,b,c,d,e){d=a.toString();isNaN(e)||""==e||(d=parseFloat(a).toFixed(e));var f;f=0>Number(a)?"-":0<=b.indexOf("+")?"+":0<=b.indexOf(" ")?" ":"";0<=Number(a)&&(d=f+d);if(isNaN(c)||d.length>=Number(c))return d;d=isNaN(e)?Math.abs(Number(a)).toString():Math.abs(Number(a)).toFixed(e);a=Number(c)-d.length-f.length;return d=0<=b.indexOf("-",0)?f+d+Ba(" ",a):f+Ba(0<=b.indexOf("0",0)?"0":" ",a)+d},d:function(a,b,c,d,e,f,g,k){return Jp.f(parseInt(a,
10),b,c,d,0,f,g,k)}};Jp.i=Jp.d;Jp.u=Jp.d;var Mp=function(a,b){Q.call(this);this.b=new P(this);this.vl=!1;this.Rl="goog_"+Ha++;this.Fe=new Od;var c=this.Rl,d=S.Wb()?Lp()+Kp("//imasdk.googleapis.com/js/core/admob/bridge_%s.html",S.wj):Lp()+Kp("//imasdk.googleapis.com/js/core/bridge0.0.0_%s.html",S.wj),e;a:{var f=window;try{do{try{if(0==f.location.href.indexOf(d)||0==f.document.referrer.indexOf(d)){e=!0;break a}}catch(g){}f=f.parent}while(f!=f.top)}catch(g){}e=!1}e&&(d+="?f="+c);c=Uc("iframe",{src:d+"#"+c,style:"border:0; opacity:0; margin:0; padding:0; position:relative;"});
this.b.sj(c,"load",this.Xp);a.appendChild(c);this.ba=c;this.Nd=this.yb();this.B=b;this.U=this.B.C;this.I=null;this.b.listen(this.Nd,"mouse",this.mq);this.b.listen(this.Nd,"touch",this.xq);null!=this.U&&(this.b.listen(this.Nd,"displayContainer",this.gq),this.b.listen(this.Nd,"videoDisplay",this.uq),this.b.listen(this.U,sb(ip),this.re),this.b.listen(this.U,bk,this.re));c=I();d=aa("google.ima.gptProxyInstance",c);null==d&&(d=new Gp,r("google.ima.gptProxyInstance",d,c))};B(Mp,Q);
Mp.prototype.yb=function(a){a=a||"*";var b=this.Fe.get(a);null==b&&(b=new zp(this.Rl,a),this.vl&&(b.pb=$c(this.ba),b.connect()),this.Fe.set(a,b));return b};Mp.prototype.vk=function(){this.ba.style.opacity=1};Mp.prototype.A=function(){this.b.K();null!==this.I&&(this.I.K(),this.I=null);Nd(this.Fe.Ee(!1),function(a){a.K()});this.Fe.clear();Yc(this.ba);Mp.D.A.call(this)};var Lp=function(){return Gj().Ec(41351079)?Tb()?"https:":"http:":"https:"==document.location.protocol?"https:":"http:"};
Mp.prototype.mq=function(a){var b=a.Z,c=nd(this.ba),d=document.createEvent("MouseEvent");d.initMouseEvent(a.ga,!0,!0,window,b.detail,b.screenX,b.screenY,b.clientX+c.x,b.clientY+c.y,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,b.button,null);if(!og||jk()||0==document.webkitIsFullScreen)this.ba.blur(),window.focus();this.ba.dispatchEvent(d)};
var Np=function(a,b){var c=nd(a.ba),d=ab(b,function(a){return document.createTouch(window,this.ba,a.identifier,a.pageX+c.x,a.pageY+c.y,a.screenX,a.screenY)},a);return document.createTouchList.apply(document,d)};h=Mp.prototype;
h.xq=function(a){var b=a.Z,c=nd(this.ba),d=document.createEvent("TouchEvent");d.initTouchEvent(a.ga,!0,!0,window,b.detail,b.screenX,b.screenY,b.clientX+c.x,b.clientY+c.y,b.ctrlKey,b.altKey,b.shiftKey,b.metaKey,Np(this,b.touches),Np(this,b.targetTouches),Np(this,b.changedTouches),b.scale,b.rotation);this.ba.dispatchEvent(d)};
h.uq=function(a){if(null!=this.U){var b=a.Z;switch(a.ga){case "startTracking":this.U.Ja();break;case "stopTracking":this.U.da();break;case "exitFullscreen":this.U.Ei();break;case "play":this.U.play();break;case "pause":this.U.pause();break;case "load":this.U.load(b.videoUrl,b.mimeType);break;case "setCurrentTime":this.U.Ed(b.currentTime);break;case "setPlaybackOptions":a=b.playbackOptions;this.U.Xn(new Ip(a.adFormat,a.adSenseAgcid,0,a.ctaAnnotationTrackingEvents,a.showAnnotations,a.viewCountsDisabled,
a.loadVideoTimeout,a.ibaDisabled,a.enablePreloading,a.adQemId,null,a.isPharma,a.useAutoplayFlag));break;case "setVolume":this.U.setVolume(b.volume)}}};
h.re=function(a){var b={};switch(a.type){case "beginFullscreen":a="fullscreen";break;case "endFullscreen":a="exitFullscreen";break;case "click":a="click";break;case "end":a="end";break;case "error":a="error";break;case "loaded":a="loaded";break;case "mediaLoadTimeout":a="mediaLoadTimeout";break;case "pause":a="pause";b.ended=this.U.fe();break;case "play":a="play";break;case "skip":a="skip";break;case "start":a="start";break;case "timeUpdate":a="timeupdate";b.currentTime=this.U.getCurrentTime();b.duration=
this.U.getDuration();break;case "volumeChange":a="volumeChange";b.volume=this.U.getVolume();break;case "loadedmetadata":a=a.type;b.duration=this.U.getDuration();break;case "abort":case "canplay":case "canplaythrough":case "durationchange":case "emptied":case "loadstart":case "loadeddata":case "progress":case "ratechange":case "seeked":case "seeking":case "stalled":case "suspend":case "waiting":a=a.type;break;default:return}this.Nd.send("videoDisplay",a,b)};
h.gq=function(a){switch(a.ga){case "showVideo":this.zk();a=this.B;null!=a.va&&a.va.show();break;case "hide":null!==this.I&&(this.I.K(),this.I=null),this.B.hide()}};h.zk=function(){null!=this.I?this.I.da():(this.I=new cp,this.b.listen(this.I,"click",this.Pj));this.I.Ja(this.B.df())};h.Pj=function(){this.Nd.send("displayContainer","videoClick")};h.Xp=function(){Nd(this.Fe.Ee(!1),function(a){a.pb=$c(this.ba);a.connect()},this);this.vl=!0};var Op=function(a,b,c,d,e){if(!(e||null!=a&&Zc(Mc(a),a)))throw Wj(Vj,null,"containerElement","element");this.fa=!1;this.zd=a;e=null!=b||null!=d;if(!e&&S.ve)throw Wj(Tj,null,"Custom video element was not provided even though the setting restrictToCustomPlayback is set to true.");var f=e,g=!1;S.oc||S.ve||ok()&&e||(!S.oo||!gk()&&hk()||wc&&S.isNative()||gk()&&wc&&(!wc||!kk(fk,4.2))||mk()||(g=!0),f=!1);this.Kd=f;this.ht=(this.gt=g)||f&&null!=d;S.oc?a=null:(e=Uc("div",{style:"position:absolute"}),a.insertBefore(e,
a.firstChild),a=e);this.ob=a;this.va=!this.Kd&&this.ob&&!S.oc&&hk()?new qp(this.ob,null,!0):null;a=null;this.Kd?b?a=new jp(b):d&&(a=new sp(d)):this.va&&(a=new jp(this.va.M()));this.Pb=(this.C=a)?c||null:null;this.Vf=null!=this.Pb;sk.getInstance().report(8,{enabled:this.Kd,yt:null!=d,customClick:null!=this.Pb});null===this.ob?(b=this.zd,S.lb=b):this.Kd&&b?x(b.getBoundingClientRect)||(b=this.zd,S.lb=b):b=this.ob;this.lb=b;this.Ma=null==this.ob||S.oc?null:new Mp(this.ob,this);this.Fb=new H(0,0)};h=Op.prototype;
h.initialize=function(){this.fa=!0;null!=this.va&&this.va.initialize()};h.isInitialized=function(){return this.fa};h.destroy=function(){Fd(this.va);Fd(this.Ma);Fd(this.C);Yc(this.ob)};h.vk=function(){this.Ma.vk()};h.hide=function(){null!=this.va&&this.va.hide()};h.df=function(){return this.Vf&&this.Pb?this.Pb:null!=this.va?this.va.df():null};h.Rc=function(){return this.Kd};h.et=function(){return this.gt};h.so=function(){return this.ht};
h.setSize=function(a,b){var c=this.ob;null!=c&&(-1==a?(c.style.right="0",c.style.left="0"):c.style.width=a+"px",-1==b?(c.style.bottom="0",c.style.top="0"):c.style.height=b+"px");null!=this.Ma&&(c=this.Ma,c.ba.width=-1==a?"100%":a,c.ba.height=-1==b?"100%":b);this.Fb=new H(a,b)};h.Na=function(){return this.Fb};var Pp=function(){};h=Pp.prototype;
h.clone=function(){var a=new Pp;"auto"==this.videoPlayActivation?a.videoPlayActivation="auto":"click"==this.videoPlayActivation&&(a.videoPlayActivation="click");a.adTagUrl=this.adTagUrl;a.adSenseParams=Ab(this.adSenseParams);a.adsResponse=this.adsResponse;a.contentId=this.contentId;a.customMacros=Ab(this.customMacros);a.Wp=this.Wp;a.location=this.location;a.referrer=this.referrer;a.lastActivity=this.lastActivity;a.language=this.language;a.linearAdSlotWidth=this.linearAdSlotWidth;a.linearAdSlotHeight=
this.linearAdSlotHeight;a.nonLinearAdSlotWidth=this.nonLinearAdSlotWidth;a.nonLinearAdSlotHeight=this.nonLinearAdSlotHeight;a.videoAdKey=this.videoAdKey;a.tagForChildDirectedContent=this.tagForChildDirectedContent;a.usePostAdRequests=this.usePostAdRequests;a.supportsYouTubeHosted=this.supportsYouTubeHosted;a.youTubeAdType=this.youTubeAdType;a.youTubeExperimentIds=this.youTubeExperimentIds;a.youTubeVideoAdStartTime=this.youTubeVideoAdStartTime;a.wl=this.wl;a.dl=this.dl;a.sr=this.sr;a.rr=this.rr;a.forceNonLinearFullSlot=
this.forceNonLinearFullSlot;this.Fo&&(a.Fo=jb(this.Fo));a.Xl=this.Xl;a.Yl=this.Yl;a.Zl=this.Zl;a.liveStreamPrefetchSeconds=this.liveStreamPrefetchSeconds;return a};h.adSenseParams=null;h.customMacros=null;h.videoPlayActivation="unknown";h.liveStreamPrefetchSeconds=0;h.linearAdSlotWidth=0;h.linearAdSlotHeight=0;h.nonLinearAdSlotWidth=0;h.nonLinearAdSlotHeight=0;h.forceNonLinearFullSlot=!1;h.videoAdKey=null;h.tagForChildDirectedContent=!1;h.usePostAdRequests=!1;h.supportsYouTubeHosted=!0;h.Xl=function(){return!1};
h.Yl=function(){return NaN};h.Zl=function(){return""};h.youTubeVideoAdStartTime=0;h.Np=!0;h.wl=null;h.dl=!1;var Qp="ad_type vpos mridx pos vad_type videoad_start_delay".split(" ");var Rp=function(a,b,c){this.kt=c;0==b.length&&(b=[[]]);this.ms=ab(b,function(b){b=a.concat(b);for(var c=[],f=0,g=0;f<b.length;){var k=b[f++];if(128>k)c[g++]=String.fromCharCode(k);else if(191<k&&224>k){var l=b[f++];c[g++]=String.fromCharCode((k&31)<<6|l&63)}else if(239<k&&365>k){var l=b[f++],m=b[f++],u=b[f++],k=((k&7)<<18|(l&63)<<12|(m&63)<<6|u&63)-65536;c[g++]=String.fromCharCode(55296+(k>>10));c[g++]=String.fromCharCode(56320+(k&1023))}else l=b[f++],m=b[f++],c[g++]=String.fromCharCode((k&15)<<12|
(l&63)<<6|m&63)}return new RegExp(c.join(""))})};Rp.prototype.match=function(a){return bb(this.ms,function(b){b=a.match(b);return null==b?!1:!this.kt||1<=b.length&&"0.0.0"==b[1]||2<=b.length&&"0.0.0"==b[2]?!0:!1},this)};
var Sp=[104,116,116,112,115,63,58,47,47,105,109,97,115,100,107,92,46,103,111,111,103,108,101,97,112,105,115,92,46,99,111,109,47,106,115,47,40,115,100,107,108,111,97,100,101,114,124,99,111,114,101,41,47],Tp=[104,116,116,112,115,63,58,47,47,115,48,92,46,50,109,100,110,92,46,110,101,116,47,105,110,115,116,114,101,97,109,47,104,116,109,108,53,47],Up=[104,116,116,112,115,63,58,47,47,105,109,97,115,100,107,92,46,103,111,111,103,108,101,97,112,105,115,92,46,99,111,109,47,97,100,109,111,98,47,40,115,100,
107,108,111,97,100,101,114,124,99,111,114,101,41,47],Vp=[104,116,116,112,115,63,58,47,47,105,109,97,115,100,107,92,46,103,111,111,103,108,101,97,112,105,115,92,46,99,111,109,47,106,115,47,99,111,114,101,47,97,100,109,111,98,47],Wp=[104,116,116,112,115,63,58,47,47,105,109,97,115,100,107,92,46,103,111,111,103,108,101,97,112,105,115,92,46,99,111,109,47,112,114,101,114,101,108,101,97,115,101,47,106,115,47,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,47],Xp=[[105,109,97,51,92,46,106,115],[105,109,97,
51,95,100,101,98,117,103,92,46,106,115],[105,109,97,51,95,116,101,115,116,92,46,106,115],[105,109,97,51,95,108,111,97,100,101,114,92,46,106,115],[105,109,97,51,95,108,111,97,100,101,114,95,100,101,98,117,103,92,46,106,115]],Yp=[[98,114,105,100,103,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108],[98,114,105,100,103,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,95,100,101,98,117,103,
40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108],[98,114,105,100,103,101,40,91,48,45,57,93,43,92,46,91,48,45,57,92,46,93,43,41,95,116,101,115,116,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108],[98,114,105,100,103,101,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,104,116,109,108]],Zp=[[111,117,116,115,116,114,101,97,109,92,46,106,115],[111,117,116,115,116,114,101,97,109,
95,100,101,98,117,103,92,46,106,115]],$p=new Rp(Sp,Xp,!1),aq=new Rp(Sp,Yp,!0),bq=new Rp(Tp,Xp,!1),cq=new Rp(Tp,Yp,!0),dq=new Rp(Up,[],!1),eq=new Rp(Up,Yp,!0),fq=new Rp(Vp,Yp,!1),gq=new Rp(Vp,[[97,112,112,95,112,114,111,109,111,95,105,110,116,101,114,115,116,105,116,105,97,108,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,106,115],[97,112,112,95,112,114,111,109,111,95,105,110,116,101,114,115,116,105,116,105,97,108,95,99,97,110,97,114,121,40,95,40,91,97,45,122,48,45,
57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,106,115],[118,105,100,101,111,95,105,110,116,101,114,115,116,105,116,105,97,108,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,106,115],[118,105,100,101,111,95,105,110,116,101,114,115,116,105,116,105,97,108,95,99,97,110,97,114,121,40,95,40,91,97,45,122,48,45,57,93,41,123,50,44,51,125,41,123,48,44,50,125,92,46,106,115]],!1),hq=new Rp([104,116,116,112,115,63,58,47,47,103,111,111,103,108,101,97,100,115,92,46,103,92,
46,100,111,117,98,108,101,99,108,105,99,107,92,46,110,101,116,47,109,97,100,115,47,115,116,97,116,105,99,47],[],!1),iq=new Rp([104,116,116,112,115,63,58,47,47,119,119,119,92,46,103,115,116,97,116,105,99,92,46,99,111,109,47,97,100,109,111,98,47,106,115,47],[],!1),jq=new Rp([104,116,116,112,115,63,58,47,47,109,105,110,116,45,109,97,100,92,46,115,97,110,100,98,111,120,92,46,103,111,111,103,108,101,92,46,99,111,109,47,109,97,100,115,47,115,116,97,116,105,99,47,102,111,114,109,97,116,115,47],[],!1),kq=
new Rp([104,116,116,112,115,63,58,47,47,118,105,100,101,111,45,97,100,45,116,101,115,116,92,46,97,112,112,115,112,111,116,92,46,99,111,109,47],[],!1),lq=new Rp(Wp,Xp,!1),mq=new Rp([104,116,116,112,115,63,58,47,47,112,97,103,101,97,100,50,92,46,103,111,111,103,108,101,115,121,110,100,105,99,97,116,105,111,110,92,46,99,111,109,47,112,97,103,101,97,100,47,40,103,97,100,103,101,116,115,124,106,115,41,47],[],!1),nq=new Rp(Sp,Zp,!1),oq=new Rp(Wp,Zp,!1),pb={Ut:$p,Tt:aq,Xt:bq,Wt:cq,At:dq,wt:eq,vt:fq,xt:gq,
Bt:hq,zt:iq,ut:jq,Ct:kq,Vt:lq,Bu:mq,ku:nq,lu:oq};var pq=function(){Q.call(this);this.currentTime=0};B(pq,Q);var qq=function(a){pq.call(this);this.currentTime=a.currentTime;if(!("currentTime"in a)||isNaN(a.currentTime))throw Wj(Vj,null,"content","currentTime");this.oi=a;this.V=new Nf(250);this.ho=new P(this);kf(this.ho,this.V,"tick",this.gs,!1,this)};B(qq,pq);qq.prototype.start=function(){this.V.start()};qq.prototype.stop=function(){this.V.stop()};qq.prototype.A=function(){qq.D.A.call(this);this.ho.K();this.V.K()};
qq.prototype.gs=function(){if("currentTime"in this.oi&&!isNaN(this.oi.currentTime)){var a=this.currentTime;this.currentTime=this.oi.currentTime;a!=this.currentTime&&this.dispatchEvent(new M("currentTimeUpdate"))}else this.dispatchEvent(new M("contentWrapperError")),this.stop()};var rq=function(a){Vh.call(this,"adMetadata",a)};B(rq,Vh);var sq=function(){this.bb=[];this.vb=[]};h=sq.prototype;h.enqueue=function(a){this.vb.push(a)};h.cb=function(){return this.bb.length+this.vb.length};h.md=function(){return 0==this.bb.length&&0==this.vb.length};h.clear=function(){this.bb=[];this.vb=[]};h.contains=function(a){return D(this.bb,a)||D(this.vb,a)};h.remove=function(a){var b;b=this.bb;var c=Za(b,a);0<=c?(gb(b,c),b=!0):b=!1;return b||hb(this.vb,a)};
h.R=function(){for(var a=[],b=this.bb.length-1;0<=b;--b)a.push(this.bb[b]);for(var c=this.vb.length,b=0;b<c;++b)a.push(this.vb[b]);return a};var tq=function(a){this.Qb=a};tq.prototype.Tl=function(){return this.Qb.adQemId};var uq=function(a){return a.Qb.adQueryId};h=tq.prototype;h.getAdSystem=function(){return this.Qb.adSystem};h.getDuration=function(){return this.Qb.duration};h.getWidth=function(){return this.Qb.width};h.getHeight=function(){return this.Qb.height};h.Sl=function(){return""};var vq=tc||uc||F&&Gc(11),Aq=function(a,b){F&&Gc(7)&&!Gc(10)&&6>wq()&&xq(b)&&(b=yq(b));var c=function(){a.contentWindow.goog_content=b;a.contentWindow.location.replace("javascript:window.goog_content")},d;if(d=F){var e;try{e=Qb(a.contentWindow)}catch(f){e=!1}d=!e}d?zq(a,c):c()},wq=function(){var a=navigator.userAgent.match(/Trident\/([0-9]+.[0-9]+)/);return a?parseFloat(a[1]):0},Bq=0,zq=function(a,b){var c="goog_rendering_callback"+Bq++;window[c]=b;a.src="javascript:'<script>(function() {document.domain = \""+
document.domain+'";var continuation = window.parent.'+c+";window.parent."+c+" = null;continuation();})()\x3c/script>'"},xq=function(a){for(var b=0;b<a.length;++b)if(127<a.charCodeAt(b))return!0;return!1},yq=function(a){a=unescape(encodeURIComponent(a));for(var b=Math.floor(a.length/2),c=[],d=0;d<b;++d)c[d]=String.fromCharCode(256*a.charCodeAt(2*d+1)+a.charCodeAt(2*d));1==a.length%2&&(c[b]=a.charAt(a.length-1));return c.join("")};var Cq=function(a,b){this.B=a;this.g=null;this.to="";this.uo=0;this.Jf=this.ba=null;this.wa=b;this.b=null;this.hc=""};B(Cq,Q);
Cq.prototype.init=function(a){this.hc=a;a="about:self";F&&(a="");this.ba=Uc("IFRAME",{src:a,allowtransparency:!0,background:"transparent"});J(this.ba,{display:"none",width:"0",height:"0"});this.B.zd.appendChild(this.ba);a='<body><script src="//imasdk.googleapis.com/js/sdkloader/loader.js">\x3c/script><script>'+('loader = new VPAIDLoader(false, "'+this.hc+'");')+"\x3c/script></body>";null==this.b&&(this.b=new P(this));this.b.listen(window,"message",this.Uq);var b=this.ba;vq?(b=b.contentWindow.document,
b.open("text/html","replace"),b.write(a),b.close()):Aq(b,a)};
Cq.prototype.Uq=function(a){try{var b=a.ab.data;try{var c=bi(b)}catch(v){return}var d=c.session;if(null!=d&&this.hc==d){if("friendlyReady"==c.type){var e=Dq(this);if((Yj()||Xj())&&null!=e){this.g=e;this.to=e.currentSrc;this.uo=e.currentTime;var f=this.B;null!=f.va&&f.va.show()}else{var g=this.B.zd,k,l=this.B.Na();k="border: 0; margin: 0; padding: 0; position: absolute; "+("width:"+l.width+"px; ");k+="height:"+l.height+"px;";this.g=Uc("VIDEO",{style:k});g.appendChild(this.g)}var m=this.B.zd;a="border: 0; margin: 0; padding: 0;position: absolute; ";
var u=rd(this.g);a+="width:"+u.width+"px; ";a+="height:"+u.height+"px;";this.Jf=Uc("DIV",{style:a});m.appendChild(this.Jf);try{this.ba.contentWindow.loader.initFriendly(this.g,this.Jf)}catch(v){Eq(this)}}this.wa.send("vpaid","",b)}}catch(v){Eq(this)}};var Eq=function(a){var b={type:"error"};b.session=a.hc;a=di(b);window.postMessage(a,"*")},Dq=function(a){a=a.B.C;return a instanceof jp&&a.M()instanceof HTMLVideoElement?a.M():null};
Cq.prototype.A=function(){Q.D.A.call(this);Fd(this.Sp);this.Sp=null;Yc(this.Jf);this.Jf=null;Yc(this.ba);this.ba=null;var a=Dq(this);(Yj()||Xj())&&null!=a?(a.src=this.to,a.currentTime=this.uo,this.B.hide()):(Yc(this.g),this.g=null)};var Fq=function(a,b,c,d,e,f){Q.call(this);this.B=a;this.ag=b;this.vf=d;this.Jb=null;this.wa=f;this.tb=1;this.ja=this.wb=-1;this.I=this.$a=null;this.Ge=new sq;this.fa=!1;this.li=new Od;this.ni=this.gl=!1;this.Xc=null;this.Vf=e&&null!=this.B.Pb;this.Sh=z(this.$p,this);this.b=new P(this);this.b.listen(this.wa,"adsManager",this.eq)};B(Fq,Q);
Fq.prototype.eq=function(a){switch(a.ga){case "error":Gq(this,a.Z);break;case "contentPauseRequested":var b=this.B.C;this.B.Rc()&&null!=this.Jb&&this.Jb.restoreCustomPlaybackStateOnAdBreakComplete&&null!=b.Vn&&b.Vn();this.Cd(a.ga,a.Z);break;case "contentResumeRequested":a=z(Fq.prototype.Cd,this,a.ga,a.Z);b=this.B.C;this.B.Rc()&&null!=this.Jb&&this.Jb.restoreCustomPlaybackStateOnAdBreakComplete&&null!=b.Rn?b.Rn(a):a();break;case "remainingTime":b=a.Z;this.wb=b.currentTime;this.ja=b.duration;break;
case "skip":this.Cd(a.ga,a.Z);break;case "log":b=a.Z;this.Cd(a.ga,b.adData,b.logData);break;case "companionBackfill":a=aa("window.google_show_companion_ad");null!=a&&a();break;case "skipshown":this.Cd(a.ga,a.Z);break;case "vpaidEvent":try{switch(b=a.Z,b.vpaidEventType){case "createFriendlyIframe":this.Xc=new Cq(this.B,this.wa);this.Xc.init(b.session);break;case "destroyFriendlyIframe":null!=this.Xc&&(this.Xc.K(),this.Xc=null)}}catch(c){Gq(this,c.Z)}break;case "skippableStateChanged":this.Cd(a.ga,
a.Z);break;default:this.Cd(a.ga,a.Z)}};
Fq.prototype.Cd=function(a,b,c){if(null==b.companions){var d=this.li.get(b.adId);b.companions=null!=d?d:[]}this.$a=d=null!=b.adData?new tq(b.adData):null;switch(a){case "adBreakReady":case "trackingUrlPinged":a=new Vh(a,null,b);break;case "adMetadata":a=new rq(d);break;case "allAdsCompleted":this.$a=null;this.gl=!0;a=new Vh(a,d);break;case "contentPauseRequested":this.ni=!1;a=new Vh(a,d);break;case "contentResumeRequested":this.$a=null;this.ni=!0;a=new Vh(a,d);break;case "loaded":this.wb=0;this.ja=
d.getDuration();d.getDuration();S.Id&&(Vo().Wc.set(uq(d),this.Sh),S.al||Gj().Ec(41351021))&&(W.getInstance().Ig=!0,Zo(Vo(),"loaded",uq(d),this.vf));a=new Vh(a,d,b.adData);break;case "start":this.li.set(b.adId,b.companions);this.zk();a=new Vh(a,d);break;case "complete":null!=this.I&&this.I.da();S.Id&&ap(Vo(),this.Sh,uq(d));this.$a=null;this.li.remove(b.adId);a=new Vh(a,d);break;case "log":b={adError:Hq(c)};a=new Vh(a,d,b);break;case "urlNavigationRequested":a=new Vh(a,d,b.urlNavigationData);break;
default:a=new Vh(a,d)}this.dispatchEvent(a);this.gl&&this.ni&&this.destroy()};var Gq=function(a,b){var c=new kj(Hq(b));a.fa?(a.dispatchEvent(c),S.Id&&a.$a&&ap(Vo(),a.Sh,uq(a.$a)),a.$a=null):a.Ge.enqueue(c);sk.getInstance().report(7,{error:b.errorCode},!0)},Hq=function(a){var b=new jj(a.type,a.errorMessage,a.errorCode);null!=a.innerError&&b.If(Error(a.innerError));return b},Iq=function(a,b,c){a.wa.send("adsManager",b,c)};h=Fq.prototype;h.hn=function(){Iq(this,"contentTimeUpdate",{currentTime:this.yp.currentTime})};
h.init=function(a,b,c,d){if(this.Ge.md()){var e=this.B;if(null!=d){var f;(f=S.oc)||(f=S.ve);f||ok()?(e.Kd=!0,Fd(e.va),e.va=null,Fd(e.C),e.C=new jp(d),null!==e.ob&&(x(d.getBoundingClientRect)?e.lb=d:(e.lb=e.zd,S.lb=e.lb)),null!=e.Ma&&(d=e.Ma,e=e.C,null!=d.U&&(d.b.unlisten(d.U,sb(ip),d.re),d.b.unlisten(d.U,bk,d.re)),d.U=e,d.b.listen(d.U,sb(ip),d.re),d.b.listen(d.U,bk,d.re))):e.Kd=!1}this.fa=!0;this.resize(a,b,c);Iq(this,"init",{width:a,height:b,viewMode:c})}else{for(;!this.Ge.md();)b=a=this.Ge,0==b.bb.length&&
(b.bb=b.vb,b.bb.reverse(),b.vb=[]),a=a.bb.pop(),this.dispatchEvent(a);this.K()}};h.$p=function(){var a=null!=this.$a?this.$a.Qb.vpaid:!1,b=this.B.C,c=null!=b?b.getCurrentTime():this.wb,d=null!=b?b.getDuration():this.ja;return{currentTime:c,duration:d,isPlaying:null!=b?b.Mm():!1,isVpaid:a,isYouTube:S.pd(),volume:this.tb}};
h.start=function(){if(this.ag&&!S.Wb()){hk()&&!this.B.isInitialized()&&sk.getInstance().report(26,{adtagurl:this.ag,customPlayback:this.B.Rc()});Ll(this.B.ob)&&sk.getInstance().report(30,{adtagurl:this.ag,customPlayback:this.B.Rc()});var a=this.B.Pb,b=this.B.ob,c;if(c=a&&b&&!Ll(a))a=Xo(a),b=Xo(b),c=0<a.width&&0<a.height&&0<b.width&&0<b.height&&a.left<=b.left+b.width&&b.left<=a.left+a.width&&a.top<=b.top+b.height&&b.top<=a.top+a.height;c&&sk.getInstance().report(31,{adtagurl:this.ag,customPlayback:this.B.Rc()})}if(hk()&&
!this.B.isInitialized()&&!this.B.Rc())throw Wj(Uj);b=this.B;b.Vf=this.Vf&&null!=b.Pb;this.B.vk();Iq(this,"start")};h.zk=function(){null!=this.B.df()&&(null!=this.I?this.I.da():(this.I=new cp,this.b.listen(this.I,"click",this.Pr)),this.I.Ja(this.B.df()))};h.Pr=function(){if((null==this.Jb||!this.Jb.disableClickThrough)&&null!=this.$a){var a=this.$a.Qb.clickThroughUrl;null!=a&&window.open(a,"_blank")}};h.resize=function(a,b,c){this.B.setSize(a,b);Iq(this,"resize",{width:a,height:b,viewMode:c})};
h.stop=function(){Iq(this,"stop")};h.getVolume=function(){return this.tb};h.setVolume=function(a){this.tb=a;if(!S.Wb()){var b=this.B.C;null!=b&&b.setVolume(a)}Iq(this,"volume",{volume:a})};h.pause=function(){Iq(this,"pause")};h.resume=function(){Iq(this,"resume")};h.destroy=function(){null!=this.Xc&&(this.Xc.K(),this.Xc=null);this.K()};h.A=function(){Iq(this,"destroy");null!=this.I&&this.I.K();this.b.K();this.Ge.clear();this.Xe&&(this.Xe.stop(),this.Xe.K());S.Id&&ap(Vo(),this.Sh);Fq.D.A.call(this)};var Jq=function(a){M.call(this,"adsManagerLoaded");this.H=a};B(Jq,M);Jq.prototype.getAdsManager=function(a,b){var c=this.H;c.yp=a;null!=b&&(c.Jb=b);null!=a.currentTime&&(c.Xe=new qq(a),c.Xe.listen("currentTimeUpdate",c.hn,!1,c),c.Xe.start(),c.hn());var d={};null!=b&&Cb(d,b);c.Vf&&(S.pd()?d.useVideoAdUi=!1:d.useClickElement=!1,d.disableClickThrough=!0);Iq(c,"configure",{adsRenderingSettings:d});return this.H};(function(){if(!qb(function(a){return a.match(I().location.href)})){var a=Oc(document,"script");if(null==db(a,function(a){return qb(function(c){return c.match(a.src)})}))throw Error("IMA SDK is either not loaded from a google domain or is not a supported version.");}})();
var Kq=function(a){Q.call(this);this.B=a;this.ek=new Od;this.Ma=this.B.Ma;this.b=new P(this);this.Ma&&S.Id&&(a=Vo(),a.init(this.Ma.yb()),this.vf=$o(a,this.B.lb));var b;a:{try{b=window.top.location.href}catch(c){b=2;break a}b=null!=b?b==window.document.location.href?0:1:2}qk.sm=b};B(Kq,Q);h=Kq.prototype;h.A=function(){this.b.K();Vo().Tg.remove(this.vf);Kq.D.A.call(this)};h.destroy=function(){this.K()};
h.requestAds=function(a,b){a.adTagUrl&&sk.getInstance().report(8,{adtagurl:a.adTagUrl,customPlayback:this.B.Rc(),customClick:null!=this.B.Pb,restrict:S.ve});var c="",d=Zb(),e=d.Gh,d=d.Fh;e&&e.url?c=e.url:d&&d.url&&(c=d.url);a.location=c;a.referrer=window.document.referrer;a.supportsYouTubeHosted=this.B.so();var e=a.adTagUrl,d=this.B.zd,c=[],f="",g="";if(null!=d){for(var f=d,g=[],k=0;f&&25>k;++k){var l;a:{if(f&&f.nodeName&&f.parentElement){l=f.nodeName.toString().toLowerCase();for(var m=f.parentElement.childNodes,
u=0,v=0;v<m.length;++v){var K=m[v];if(K.nodeName&&K.nodeName.toString().toLowerCase()===l){if(f===K){l="."+u;break a}++u}}}l=""}g.push((f.nodeName&&f.nodeName.toString().toLowerCase())+""+l);f=f.parentElement}f=g.join();if(d){d=(d=d.ownerDocument)&&(d.defaultView||d.parentWindow)||null;g=[];if(d)try{for(var p=d.parent,k=0;p&&p!==d&&25>k;++k){var y=p.frames;for(l=0;l<y.length;++l)if(d===y[l]){g.push(l);break}d=p;p=d.parent}}catch(xa){}g=g.join()}else g=""}c.push(f,g);if(null!=e){for(p=0;p<Qp.length-
1;++p)c.push(Va(e,Qp[p])||"");p=Va(e,"videoad_start_delay");y="";p&&(p=parseInt(p,10),y=0>p?"postroll":0==p?"preroll":"midroll");c.push(y)}else for(p=0;p<Qp.length;++p)c.push("");c=c.join(":");p=c.length;if(0==p)c=0;else{y=305419896;for(e=0;e<p;e++)y^=(y<<5)+(y>>2)+c.charCodeAt(e)&4294967295;c=0<y?y:4294967296+y}a.videoAdKey=c.toString();a.Np?(c=a.adTagUrl,null!=c&&"ca-pub-6219811747049371"!=Va(c,"client")?c=null:(c=aa("window.yt.util.activity.getTimeSinceActive"),c=null!=c?c().toString():null)):
c="-1";null!=c&&(a.lastActivity=c);c=a.adTagUrl;null==c?c=!1:(p=new N(c),c=p.La,p=p.getPath(),c=ma(c,"googleads.g.doubleclick.net")&&(na(Da(p))?!1:/\/pagead\/(live\/)?ads/.test(p)));if(c){y=window;p=yd().document;c={};e=gl(window).Wh;d=e.location.href;e==e.top?d={url:d,Om:!0}:(f=!1,(g=e.document)&&g.referrer&&(d=g.referrer,e.parent==e.top&&(f=!0)),(g=e.location.ancestorOrigins)&&(g=g[g.length-1])&&-1==d.indexOf(g)&&(f=!1,d=g),d={url:d,Om:f});a:if(f=yd(),g=y.google_ad_width||f.google_ad_width,k=y.google_ad_height||
f.google_ad_height,f&&f.top==f)f=!1;else{l=p.documentElement;if(g&&k&&(u=m=1,f.innerHeight?(m=f.innerWidth,u=f.innerHeight):l&&l.clientHeight?(m=l.clientWidth,u=l.clientHeight):p.body&&(m=p.body.clientWidth,u=p.body.clientHeight),u>2*k||m>2*g)){f=!1;break a}f=!0}d=d.Om;g=yd();g=g.top==g?0:Qb(g.top)?1:2;k=4;f||1!=g?f||2!=g?f&&1==g?k=7:f&&2==g&&(k=8):k=6:k=5;d&&(k|=16);c.iframing=""+k;if(!y.google_page_url&&"ad.yieldmanager.com"==p.domain){for(d=p.URL.substring(p.URL.lastIndexOf("http"));-1<d.indexOf("%");)try{d=
decodeURIComponent(d)}catch(xa){break}y.google_page_url=d}y.google_page_url?(c.page_url=y.google_page_url,c.page_location=(f?p.referrer:p.URL)||"EMPTY"):(c.page_url=f?p.referrer:p.URL,c.page_location=null);c.last_modified_time=p.URL==c.page_url?Date.parse(p.lastModified)/1E3:null;c.referrer_url=e==e.top?e.document.referrer:"";if(c.referrer_url){if(y=(y=Ma(Na(3,c.referrer_url)))&&0<=y.indexOf("google.com")&&-1==c.referrer_url.indexOf("q="))sl||(sl=el()),y=sl,y="4087311"==(y.Jc.hasOwnProperty(35)?y.Jc[35]:
"");y&&(p=p.getElementsByTagName("title"),0<p.length&&(p=p[0],Kc&&null!==p&&"innerText"in p?p=p.innerText.replace(/(\r\n|\r|\n)/g,"\n"):(y=[],dd(p,y,!0),p=y.join("")),p=p.replace(/ \xAD /g," ").replace(/\xAD/g,""),p=p.replace(/\u200B/g,""),Kc||(p=p.replace(/ +/g," "))," "!=p&&(p=p.replace(/^\s*/,"")),c.referrer_url="https://www.google.com/?q="+p))}a.adSenseParams=c}p="goog_"+Ha++;this.ek.set(p,b||null);c={};Cb(c,a);c.settings={autoPlayAdBreaks:this.getSettings().isAutoPlayAdBreaks(),chromelessPlayer:this.getSettings().oo,
companionBackfill:this.getSettings().getCompanionBackfill(),engagementDetection:this.getSettings().Uf,isAdMob:this.getSettings().Wb(),isInChina:this.getSettings().ar()||!1,isFunctionalTest:this.getSettings().bj(),isVpaidAdapter:this.getSettings().Qm(),isYouTube:this.getSettings().pd(),numRedirects:this.getSettings().getNumRedirects(),onScreenDetection:this.getSettings().Id,playerType:this.getSettings().getPlayerType(),playerVersion:this.getSettings().getPlayerVersion(),ppid:this.getSettings().getPpid(),
preSkipFx:this.getSettings().Gn,activeViewPushUpdates:this.getSettings().al,restrictToCustomPlayback:this.getSettings().ve,useCompanionsAsEndSlate:this.getSettings().po(),vpaidMode:this.getSettings().getVpaidMode(),testingConfig:Yh(this.getSettings()).dd};y=this.B.C;c.videoEnvironment={customClickTrackingProvided:null!=this.B.Pb,iframeState:qk.sm,osdId:this.vf,supportedMimeTypes:null!=y?y.Ul():null,usesChromelessPlayer:this.B.et(),usesCustomVideoPlayback:this.B.Rc(),usesYouTubePlayer:this.B.so()};
c.experimentState=Ij();p=this.Ma.yb(p);this.b.listen(p,"adsLoader",this.cq);p.send("adsLoader","requestAds",c)};h.getSettings=function(){return S};
h.cq=function(a){var b=a.ga;switch(b){case "adsLoaded":b=a.Z;a=a.hc;b=new Fq(this.B,b.adTagUrl||"",0,this.vf,b.isCustomClickTrackingAllowed,this.Ma.yb(a));this.dispatchEvent(new Jq(b,this.ek.get(a)));break;case "error":b=a.Z;a=a.hc;var c=new jj(b.type,b.errorMessage,b.errorCode);null!=b.innerError&&c.If(Error(b.innerError));this.dispatchEvent(new kj(c,this.ek.get(a)));sk.getInstance().report(7,{error:b.errorCode},!0);break;case "trackingUrlPinged":this.dispatchEvent(new Vh(b,null,a.Z))}};var Lq={},Mq=/OS (\S+) like/,Nq=/Android (\S+);/,Oq=function(a,b){if(null==Lq[b]){var c=a.exec(Db);c?(c=c[1].replace(/_/g,"."),Lq[b]=0<=Ga(c,b)):Lq[b]=!1}return Lq[b]};var Pq=function(){Q.call(this);this.Cc=this.Hc=this.Yb=!1;this.Ta=0;this.lc=[];this.nd=!1};B(Pq,Q);h=Pq.prototype;h.Ja=function(a){null==a||this.Yb||(this.W=a,this.Hm=!kg&&!lg,this.Jm=kg||lg,this.Hm?this.W.addEventListener("click",z(this.ib,this),!1):this.Jm&&(this.W.addEventListener("touchstart",z(this.Wg,this),!1),this.W.addEventListener("touchmove",z(this.Vg,this),!1),this.W.addEventListener("touchend",z(this.Ug,this),!1)),this.Yb=!0)};
h.da=function(){null!=this.W&&this.Yb&&(this.Yb=!1,this.Hm?this.W.removeEventListener("click",z(this.ib,this),!1):this.Jm&&(this.W.removeEventListener("touchstart",z(this.Wg,this),!1),this.W.removeEventListener("touchmove",z(this.Vg,this),!1),this.W.removeEventListener("touchend",z(this.Ug,this),!1)))};h.Wg=function(a){this.Hc=!0;this.Ta=a.touches.length;this.nd=this.Ve(a.touches)||1!=a.touches.length;this.pk(a.touches)};h.Vg=function(a){this.Cc=!0;this.Ta=a.touches.length};
h.Ug=function(a){this.Yi(a.changedTouches)&&this.Xd();this.Ta=a.touches.length;0==this.Ta&&(this.Cc=this.Hc=!1)};h.ib=function(){this.Xd()};h.Yi=function(a){return this.Hc&&1==this.Ta&&!this.Cc&&!this.nd&&this.Ve(a)};h.pk=function(a){this.lc=[];C(a,function(a){var c=this.lc;a=a.identifier;D(c,a)||c.push(a)},this)};h.Ve=function(a){return bb(a,function(a){return D(this.lc,a.identifier)},this)};h.Xd=function(){this.dispatchEvent(new M("click"))};var Qq=function(a){M.call(this,a)};B(Qq,M);var Rq=function(){Q.call(this)};B(Rq,Q);var Sq=function(){Q.call(this);this.cf=new Od;this.I=new Pq;this.Ak="none"};B(Sq,Q);var Tq=function(a){this.width=a.Na().width;this.height=a.Na().height;this.paused=!1;this.mute=a.isMuted();this.wg=a.Gc();this.volume=a.getVolume()};Tq.prototype.muted=function(a,b){return!this.mute&&a||0<this.volume&&0==b};Sq.prototype.A=function(){this.da();Sq.D.A.call(this)};Sq.prototype.da=function(){null!=this.b&&this.b.K();null!=this.vg&&this.vg.K();null!=this.C&&this.C.da();this.cf.clear();this.I.da()};
Sq.prototype.Ja=function(a,b){this.da();this.C=a;this.C.Ja();this.Ba=new Tq(this.C);this.rl=b||null;this.b=new P(this);this.b.listen(this.C,"timeUpdate",this.Oj,!1);this.b.listen(this.C,"volumeChange",this.wd,!1);this.b.listen(this.C,"pause",this.Lj,!1);this.b.listen(this.C,"play",this.Ur,!1);this.b.listen(this.C,"end",this.Kj,!1);this.b.listen(this.C,"beginFullscreen",this.kb,!1);this.b.listen(this.C,"endFullscreen",this.bc,!1);this.b.listen(this.C,"start",this.vd,!1);this.b.listen(this.C,"error",
this.jb,!1);this.vg=new Nf(1E3);kf(this.b,this.vg,"tick",this.uf,!1,this);this.vg.start()};var Uq=function(a,b,c){c&&null!=a.cf.get(b)||(a.cf.set(b,!0),a.dispatchEvent(new Qq(b)))},Vq=function(a,b){null!=a.cf.get(b)&&a.cf.remove(b)};h=Sq.prototype;
h.Oj=function(){var a;a:{var b=this.C;if(b.g.seeking&&!b.Hf)b.Hf=!0,b.Td=b.jd();else{if(!b.g.seeking&&b.Hf){b.Hf=!1;a=0!=b.g.currentTime&&b.g.currentTime<b.Td;b.Td=-1;break a}if(!b.g.seeking&&0!=b.g.currentTime&&b.jd()>b.g.currentTime){a=.5<b.jd()-b.g.currentTime;break a}}a=!1}b=this.C.getDuration();if(a&&(Uq(this,"rewind",!1),-1!=b)){this.C.vc(.75*b)||Vq(this,"thirdquartile");this.C.vc(.5*b)||Vq(this,"midpoint");this.C.vc(.25*b)||Vq(this,"firstquartile");a:{a=this.C;for(var c=a.qb.R(),d=c.length-
1;0<=d;d--)if(.5>c[d]){c=a.qb;c=0==c.cb()?null:c.get(c.cb()-1);a.qb.clear();.5<=c&&a.qb.add(c);a=!0;break a}a=!1}a&&Uq(this,"replay",!1)}-1!=b&&(this.C.vc(.25*b)&&Uq(this,"firstquartile",!0),this.C.vc(.5*b)&&Uq(this,"midpoint",!0),this.C.vc(.75*b)&&Uq(this,"thirdquartile",!0))};
h.vd=function(){Uq(this,"creativeview",!0);null!=this.rl?(this.b.listen(this.I,"click",this.ib,!1),this.I.Ja(this.rl)):this.b.listen(this.C,"click",this.Pj);Uq(this,"start",!0);(this.C.isMuted()||0==this.C.getVolume())&&Uq(this,"mute",!1)};h.wd=function(){var a=this.C.isMuted(),b=this.C.getVolume(),c=this.Ba;c.mute&&!a||!a&&0==c.volume&&0<b?Uq(this,"unmute",!1):this.Ba.muted(a,b)&&Uq(this,"mute",!1);this.Ba.mute=a;this.Ba.volume=b};
h.Lj=function(){this.C.fe()?Uq(this,"complete",!0):"pausedAtBeginning"==this.Ak&&this.C.kj()?Uq(this,"stop",!0):this.C.lf()&&!this.C.hj()&&(this.Ba.paused=!0,Uq(this,"pause",!1))};h.Ur=function(){this.Ba.paused&&(this.Ba.paused=!1,Uq(this,"resume",!1))};h.Kj=function(){var a;a=this.C;if(!mg||mg&&Oq(Nq,2.3))a=!0;else{var b=a.g.duration-a.jd();a=0==a.g.currentTime&&1.5>=b}a?"pausedAtEnd"==this.Ak&&this.C.lf()?Uq(this,"stop",!0):Uq(this,"complete",!0):this.C.pause()};
h.ib=function(){Uq(this,"click",!1)};h.jb=function(){Uq(this,"error",!1)};h.Pj=function(){Uq(this,"click",!1)};h.kb=function(){this.Ba.wg=!0;Uq(this,"fullscreen",!1)};h.bc=function(){this.Ba.wg=!1};h.uf=function(){var a=this.C.Na(),b=this.C.Gc(),c=this.Ba;if(a.width!=c.width||a.height!=c.height)!this.Ba.wg&&b?this.kb():this.Ba.wg&&!b&&this.bc(),this.Ba.width=a.width,this.Ba.height=a.height};var Wq=function(a,b,c){this.Ej=b;this.Ci=c;this.Ae=a};h=Wq.prototype;h.If=function(a){this.Xi=a};h.getInnerError=function(){return this.Xi};h.getMessage=function(){return this.Ej};h.getErrorCode=function(){return this.Ci};h.toString=function(){return"AdError "+this.getErrorCode()+": "+this.getMessage()+(null!=this.getInnerError()?" Caused by: "+this.getInnerError():"")};var Z=function(a,b){this.message=a;this.errorCode=b};Z.prototype.getErrorCode=function(){return this.errorCode};Z.prototype.getMessage=function(){return this.message};new Z("Unable to request ads from server. Cause: {0}.",1005);new Z("Cannot parse the {0} value for the adslist response: {1}.",200);new Z("The ad slot is not fully visible on the page.",1008);new Z("Invalid usage of the API. Cause: {0}",1102);new Z("Companion ad failed to load.",603);
new Z("There was a problem requesting ads from the server.",1005);new Z("The provide ad type: {0} is not supported.",1005);new Z("The provided {0} information: {1} is invalid.",1101);new Z("The companion ad content was invalid.",603);new Z("The overlay ad content was invalid.",502);new Z("The response does not contain any valid ads.",200);new Z("The overlay ad content could not be rendered.",500);new Z("The overlay ad content could not be repositioned.",500);
new Z("Required fields in ads request object: {0} not found.",1005);new Z("The publisher doesn't have permission to access the method:{0}",1005);new Z("Ad response could not be understood.",200);new Z("The ad playlist response was malformed or empty.",1004);new Z("There was an error continuing the content from where it was paused. Restarting content instead.",400);new Z("The ad response was not understood and cannot be parsed: {0}",200);
new Z("An unexpected error occurred and the cause is not known. Refer to the inner error for more info.",900);new Z("Found unknown fields in ads request object: {0}",1005);new Z("The ad response contains unexpected element. Cause {0}.",200);new Z("Listener for at least one of the required vast events was not added:{0}",1006);new Z("Linear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",403);
new Z("Nonlinear assets were found in the VAST ad response, but none of them matched the video player's capabilities.",503);new Z("No assets were found in the VAST ad response.",1007);new Z("VAST response was malformed and could not be parsed.",100);new Z("Unable to parse VAST duration: {0}",100);new Z("The maximum number of VAST wrappers ({0}) have been reached.",302);new Z('Expected {0} but got "{1}"',100);new Z("Unknown node in <{0}>: {1}",100);new Z("Invalid VAST resource type: {0}",100);
new Z("A video element must be provided to the VideoAdsManager.",1202);new Z("Another VideoAdsManager is still using the <video>. It must be unloaded before another ad can play on the same element.",1201);var Xq=new Z("There was an error playing the video ad.",400),Yq=function(a,b,c){var d;d=b||null;if(!(d instanceof Wq)){var e=a.errorCode,f=a.message,g=lb(arguments,2);if(0<g.length)for(var k=0;k<g.length;k++)f=f.replace(new RegExp("\\{"+k+"\\}","ig"),g[k]);e=new Wq("adPlayError",f,e);e.If(d);d=e}return d};var Zq=function(a){Q.call(this);this.g=a;this.qb=new fp(4);this.Td=-1;this.G=this.Hf=!1};B(Zq,Rq);h=Zq.prototype;h.getDuration=function(){return isNaN(this.g.duration)?-1:this.g.duration};h.setVolume=function(a){this.g.volume=a};h.getVolume=function(){return this.g.volume};h.play=function(){Of(this.g.play,0,this.g)};h.pause=function(){this.g.pause()};h.lf=function(){return this.g.paused?kg||lg||ng?this.g.currentTime<this.g.duration:!0:!1};h.isMuted=function(){return this.g.muted};
h.Ei=function(){kg&&this.g.webkitSupportsFullscreen&&this.g.webkitDisplayingFullscreen&&this.g.webkitExitFullscreen()};h.Gc=function(){return kg?this.g.webkitSupportsFullscreen&&this.g.webkitDisplayingFullscreen:this.g.offsetWidth>=document.body.offsetWidth&&this.g.offsetHeight>=document.body.offsetHeight};h.vc=function(a){return this.jd()>=a};h.Ed=function(a){this.g.currentTime=a};h.getCurrentTime=function(){return this.g.currentTime};
h.jd=function(){for(var a=this.qb.R();a.length;){var b=a.pop();if(0<b)return b}return-1};h.fe=function(){return this.g.ended};h.kj=function(){return!isNaN(this.g.duration)&&0<this.g.duration&&0==this.g.currentTime};h.Na=function(){return new H(this.g.offsetWidth,this.g.offsetHeight)};h.hj=function(){return this.g.seeking};h.A=function(){Zq.D.A.call(this);this.da()};h.getError=function(){return Yq(Xq,this.g.error)};
h.Ja=function(){this.da();this.b=new P(this);this.b.listen(this.g,"canplay",this.Jj);this.b.listen(this.g,"ended",this.Kj);this.b.listen(this.g,"webkitbeginfullscreen",this.kb);this.b.listen(this.g,"webkitendfullscreen",this.bc);this.b.listen(this.g,"pause",this.Lj);this.b.listen(this.g,"playing",this.nn);this.b.listen(this.g,"timeupdate",this.Oj);this.b.listen(this.g,"volumechange",this.wd);this.b.listen(this.g,"error",this.jb);this.I=new Pq;this.b.listen(this.I,"click",this.ib,!1);this.I.Ja(this.g)};
h.da=function(){null!=this.I&&(this.I.da(),this.I=null);null!=this.b&&(this.b.K(),this.b=null);this.Gf()};h.Gf=function(){this.Td=-1;this.Hf=this.G=!1;this.qb.clear()};h.vd=function(a){this.G||(this.G=!0,this.dispatchEvent("start"),(mg||kg&&(!kg&&!lg||!Oq(Mq,4)))&&this.kb(a))};h.Jj=function(){og&&this.Ed(.001)};h.nn=function(a){this.dispatchEvent("play");kg||lg||this.vd(a)};h.Oj=function(a){this.G||((kg||lg)&&0<this.getCurrentTime()&&this.vd(a),tc&&this.nn(a));this.qb.add(this.g.currentTime);this.dispatchEvent("timeUpdate")};
h.wd=function(){this.dispatchEvent("volumeChange")};h.Lj=function(){this.dispatchEvent("pause")};h.Kj=function(){this.dispatchEvent("end")};h.kb=function(){this.dispatchEvent("beginFullscreen")};h.bc=function(){this.dispatchEvent("endFullscreen")};h.jb=function(){this.dispatchEvent("error")};h.ib=function(){this.dispatchEvent("click")};var $q=function(a,b,c,d){Q.call(this);this.Vb=a;this.mt=b;this.g=c;this.jr=!d;this.ko={};this.Ka={};this.Ka.start=this.nm;this.Ka.firstquartile=this.iq;this.Ka.midpoint=this.lq;this.Ka.thirdquartile=this.vq;this.Ka.complete=this.Mi;this.Ka.pause=this.lm;this.Ka.stop=this.lm;this.Ka.mute=this.oq;this.Ka.unmute=this.yq;this.Ka.replay=this.tq;this.jt=tb(this.Ka);this.Ph=new Sq;this.Ph.Ak="pausedAtBeginning";Gd(this,this.Ph);O(this.Ph,this.jt,this.Ti,!1,this);this.g.paused||this.nm();a=new Zq(c);this.Ph.Ja(a)};
B($q,Q);$q.prototype.Ti=function(a){a=a.type;this.Ka[a]&&this.Ka[a].call(this)};var ar=function(a){a.dispatchEvent("interaction")};h=$q.prototype;h.za=function(a,b){if(!this.ko[a]||w(b)){this.ko[a]=!0;var c=this.Vb,d=z(c.za,c,"Video",a,this.mt,b,void 0);br(c,d)}};h.nm=function(){this.jr&&ar(this);this.za("Progress Start")};h.iq=function(){this.za("Progress 25%")};h.lq=function(){this.za("Progress 50%")};h.vq=function(){this.za("Progress 75%")};h.Mi=function(){this.za("Progress 100%")};h.lm=function(){};
h.oq=function(){this.za("Volume mutes")};h.yq=function(){ar(this);this.za("Volume unmutes")};h.tq=function(){ar(this);this.za("Replays")};Va(window.location.href,"canvasLogLevel");Ee();var cr=function(){Q.call(this);this.Ca=this.fa=!1};B(cr,Q);var dr=["impurl","impurl3party"];cr.prototype.Kp=function(){this.fa=!0;this.dispatchEvent("init");this.Ca&&er(z(this.Hl,this))};cr.prototype.Hl=function(){this.Ca=!0;if(this.fa){var a;this.Mn||(this.Mn=(new N(n.location)).ma);if(a=this.Mn)for(var b=0;b<dr.length;b++){var c=dr[b],d=a.get(c);d&&(bh(d),a.remove(c))}this.dispatchEvent("visible")}};var er=function(a){"complete"===document.readyState?a():cf(I(),"load",a)};
cr.prototype.Jp=function(){this.Ca=!1;this.dispatchEvent("hidden")};cr.prototype.Rj=function(a,b){this.isVisible()?a.call(b):cf(this,"visible",a,void 0,b)};cr.prototype.isInitialized=function(){return this.fa};cr.prototype.isVisible=function(){return this.fa&&this.Ca};var fr=function(){Q.call(this);this.Ke=[];this.il=0};B(fr,Q);var gr=["abort","error","load"];fr.prototype.add=function(a){if("string"==typeof a)this.Ke.push(a);else for(var b=0;b<a.length;++b)this.Ke.push(a[b])};fr.prototype.start=function(){hr(this);for(var a=0;a<this.Ke.length;++a){var b=Uc("script",{type:"text/javascript",src:this.Ke[a]});cf(b,gr,this.np,void 0,this);document.getElementsByTagName("head")[0].appendChild(b)}};fr.prototype.np=function(){this.il++;this.dispatchEvent("progress");hr(this)};
var hr=function(a){a.il==a.Ke.length&&a.dispatchEvent("complete")};var ir=function(){fr.call(this)};B(ir,fr);var jr=function(a,b,c){this.fk=[];this.Eh=a;this.Rs=b;this.Ss=c};jr.prototype.G=!1;jr.prototype.start=function(){if(!this.G){this.G=!0;var a=1E3/this.Ss;setInterval(z(this.zs,this),a);kr(this)}};jr.prototype.zs=function(){this.Eh=Math.min(this.Eh+1,this.Rs);kr(this)};var kr=function(a){if(a.G)for(var b=Math.min(a.Eh,a.fk.length),c=0;c<b;c++)a.Eh--,a.fk.shift()()};var lr=function(a){Q.call(this);this.$n=A();this.aq=a;this.ik=new ir;this.Pl=ba;this.Nn=new jr(10,10,1);this.tj()};B(lr,Q);h=lr.prototype;h.Hd=null;h.rm=0;h.qm=0;h.tj=function(){this.ik.add(("https:"==n.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js");O(this.ik,"complete",this.Mi,void 0,this);this.ik.start()};
h.Mi=function(){var a;a=n.location.pathname;a=a.substr(0,a.lastIndexOf("/")+1);Pk.remove("__utmb");Pk.remove("__utmb",a);this.Hd=_gat._createTracker(this.aq);this.Hd._setCookiePath(a);this.Hd._setSessionCookieTimeout(0);a=se();var b=/\(([^)]+)\)/.exec(a);null===b?a=a.substr(0,62):(a=b[1],a=encodeURIComponent(a).replace(/(%..)+/g,"-"),62<a.length&&(a=a.replace(/like-/i,"").replace(/-U-/i,"-").replace(/Linux-/i,"")),62<a.length&&(a=a.replace(/-/g,"")),62<a.length&&(a=a.substr(0,62)));this.Hd._setCustomVar(1,
"ua",a,1);a=z(this.kq,this);this.Hd._set("hitCallback",a);this.Nn.start()};h.kq=function(){this.qm++;this.qm==this.rm&&(this.Pl(),this.Pl=ba)};h.Kk=function(a){this.Hd._trackPageview(a)};h.za=function(a,b,c,d,e){this.Hd._trackEvent(a,b,c,d,e)};var br=function(a,b){var c=A();c>=a.$n&&24E4>c-a.$n&&(a.rm++,c=a.Nn,c.fk.push(b),kr(c))};var mr=function(a){cr.call(this);this.Vb=null;this.zl={};this.Zf={};this.Co=this.xm=this.ml=this.kp=this.ll=this.Wm=!1;this.tj(a);a=z(this.Kp,this);"loading"===document.readyState?cf(document,"DOMContentLoaded",a):a();Ee()&&!Sg||this.km();dg("onshow",this.km,!1,this);dg("onhide",this.qq,!1,this);dg("onscreenstatechange",this.dispatchEvent,!1,this)};B(mr,cr);mr.prototype.tj=function(a){var b=n.location.href.match(/canvasGoogleAnalyticsId=(UA-([0-9\-]+))/);b&&(a=b[1]);a&&(this.Vb=new lr(a))};
mr.prototype.km=function(){w(this.Nj)||(this.Nj=A());nr(this);this.ll&&or(this);this.kp&&(this.Ik(),this.xm||(this.xm=!0,pr(this,"interactive")));er(z(this.Hl,this))};mr.prototype.qq=function(){var a=A();w(this.Nj)&&!this.Co&&(this.Co=!0,a=Math.round((a-this.Nj)/1E3),0<=a&&180>a&&this.za("Counters","View time",w(a)?a+"":void 0,a,!0,void 0));this.Rj(this.Jp,this)};var nr=function(a){a.Wm||(a.Wm=!0,pr(a,"loading"))};mr.prototype.Ik=function(){this.ll=!0;Ee()&&!Sg||or(this)};
var or=function(a){nr(a);a.ml||(a.ml=!0,pr(a,"branding"))},pr=function(a,b){var c=n.location,d=c.pathname;"/"!=c.pathname.charAt(c.pathname.length-1)&&(d+="/");a.Kk(d+b+c.search)};h=mr.prototype;h.getFilename=function(a){return a};h.Vi=function(a,b){this.za("Counters",a,w(void 0)?"undefined":void 0,void 0,void 0,b)};h.Jk=function(){this.Vi("Interacted impression")};h.Lk=function(a,b,c){this.Vb&&(this.Zf[a]||(this.Zf[a]=new $q(this.Vb,a,b,c)))};h.Ok=function(a){this.Zf[a]&&(this.Zf[a].K(),delete this.Zf[a])};
h.Kk=function(a){if(this.Vb){var b=this.Vb;a&&"/"!=a[0]&&(a="/"+a);a=z(b.Kk,b,a);br(b,a)}};h.za=function(a,b,c,d,e,f){f=f||!this.zl[a+b];this.Vb&&f&&(this.zl[a+b]=!0,e||this.Jk(),f=this.Vb,a=z(f.za,f,a,b,c,d,e),br(f,a))};var qr=function(a){Q.call(this);this.xb=a;this.xb.sh(this)};B(qr,Q);h=qr.prototype;h.Rj=function(a,b){this.xb.Rj(a,b)};h.isInitialized=function(){return this.xb.isInitialized()};h.isVisible=function(){return this.xb.isVisible()};h.getFilename=function(a){return this.xb.getFilename(a)};h.Ik=function(){this.xb.Ik()};h.Vi=function(a,b){this.xb.Vi(a,b)};h.Jk=function(){this.xb.Jk()};h.Lk=function(a,b,c){this.xb.Lk(a,b,c)};h.Ok=function(a){this.xb.Ok(a)};var rr=null,sr=function(){if(!rr)throw"rad.environment.getInstance() called before environment was initialized";return rr},tr=function(){var a=Uc("DIV",{id:"errorOverlay"});J(a,{display:"block",position:"absolute",top:"0",left:"0","background-color":"#666",height:"100%",width:"100%","pointer-events":"none","z-index":"2147483647"});var b=Uc("DIV");J(b,{width:"320px",color:"#8B0000",border:"2px solid #8B0000",padding:"20px","background-color":"#FFE4E1","font-weight":"bold","text-align":"center"});ad(b,
"This ad is not made for a non-webkit browser. Please use a webkit browser to view this ad (Chrome / Safari)");a.appendChild(b);document.body.appendChild(a)};var ur=function(){};ca(ur);ur.prototype.zr=0;var vr=function(a){Q.call(this);this.ui=a||Nc();this.pa=null;this.ld=!1;this.W=null;this.Bc=void 0;this.bd=this.sc=this.J=null;this.st=!1};B(vr,Q);vr.prototype.Xq=ur.getInstance();vr.prototype.zb=function(){return this.pa||(this.pa=":"+(this.Xq.zr++).toString(36))};vr.prototype.oa=function(){return this.W};var wr=function(a){a.Bc||(a.Bc=new P(a));return a.Bc};h=vr.prototype;h.getParent=function(){return this.J};
h.sh=function(a){if(this.J&&this.J!=a)throw Error("Method not supported");vr.D.sh.call(this,a)};h.ef=function(){return this.ui};h.uc=function(){this.W=this.ui.createElement("DIV")};h.dk=function(a){if(this.ld)throw Error("Component already rendered");this.W||this.uc();a?a.insertBefore(this.W,null):this.ui.ia.body.appendChild(this.W);this.J&&!this.J.ld||this.rg()};h.Vd=function(a){this.W=a};h.rg=function(){this.ld=!0;xr(this,function(a){!a.ld&&a.oa()&&a.rg()})};
var yr=function(a){xr(a,function(a){a.ld&&yr(a)});a.Bc&&a.Bc.kh();a.ld=!1};vr.prototype.A=function(){this.ld&&yr(this);this.Bc&&(this.Bc.K(),delete this.Bc);xr(this,function(a){a.K()});!this.st&&this.W&&Yc(this.W);this.J=this.W=this.bd=this.sc=null;vr.D.A.call(this)};var xr=function(a,b){a.sc&&C(a.sc,b,void 0)};
vr.prototype.removeChild=function(a,b){if(a){var c=t(a)?a:a.zb();a=this.bd&&c?zb(this.bd,c)||null:null;if(c&&a){var d=this.bd;c in d&&delete d[c];hb(this.sc,a);b&&(yr(a),a.W&&Yc(a.W));c=a;if(null==c)throw Error("Unable to set parent component");c.J=null;vr.D.sh.call(c,null)}}if(!a)throw Error("Child is not in parent component");return a};vr.prototype.On=function(a){for(var b=[];this.sc&&0!=this.sc.length;)b.push(this.removeChild(this.sc?this.sc[0]||null:null,a));return b};var zr=function(a,b){vr.call(this);if(this.J&&this.J.bd){var c=this.J.bd,d=this.pa;d in c&&delete c[d];c=this.J.bd;if(null!==c&&a in c)throw Error('The object already contains the key "'+a+'"');c[a]=this}this.pa=a;this.config=b||new li;this.config.style||(this.config.style={})};B(zr,vr);zr.prototype.uc=function(){var a=this.ef().uc("DIV");this.Vd(a)};zr.prototype.Vd=function(a){zr.D.Vd.call(this,a);a.id=this.zb()};
zr.prototype.dk=function(a){a=this.getParent()?this.getParent().W:a;try{zr.D.dk.call(this,a)}catch(b){if("Component already rendered"==b.message)this.Vd(this.oa());else throw b;}};zr.prototype.A=function(){zr.D.A.call(this)};var Ar=function(a,b){zr.call(this,a,b);this.rc=this.g=null;this.jl=null!=b.autoplay?b.autoplay:!0;this.tc=b.controls||!1;this.an=b.Uu||a;this.$j=b.te||!1;this.Us=b.Ts;this.Fd=[];ea(b.Kf)?this.Fd=b.Kf:t(b.Kf)&&b.Kf.length&&(this.Fd=[b.Kf]);var c;(c=null!=b.Zc&&b.Zc)||!(c=De())||(c=!Ge(6))||(ve?(c=xe(),c=parseInt(c,10)||0):c=0,c=4>c);this.Qc=c;this.fl=!1;this.pi="block";this.Bk=null};B(Ar,zr);h=Ar.prototype;h.HAVE_METADATA=1;h.HAVE_FUTURE_DATA=3;
h.Vd=function(a){Ar.D.Vd.call(this,a);this.oa()&&(this.oa().style.cssText="",J(this.oa(),this.config.style));this.Qc?this.fl||(this.fl=!0,this.rc=Ii(this.oa(),this.config,sr().isVisible()||Ce()),this.eg(),Br(this)):(a={autoplay:this.jl,controls:this.tc,preload:"auto",poster:""},this.g=this.ef().uc("video",a),this.g.setAttribute("webkit-playsinline",!0),this.g.setAttribute("x-webkit-airplay","allow"),pd(this.g,"100%","100%"),this.Bk=td(".canvas-component-video-movie-hidden { -webkit-transform:translateX(-10000px); }"),
this.oa().appendChild(this.g),(a=this.M())&&sr().Lk(this.an,a,this.Us))};h.hq=function(a){a.stopPropagation()};h.M=function(){return this.rc?this.rc:this.g};h.rg=function(){Ar.D.rg.call(this);this.Qc||this.eg()};
h.eg=function(){wr(this).listen(this.M(),"error",this.hq);wr(this).listen(this.M(),["playing","ended","stalled","play"],this.dispatchEvent);wr(this).listen(sr(),"visible",this.pm);sr().isVisible()&&this.pm();ve&&!Ee()&&4==Ni()&&this.Jh();this.__defineGetter__("currentTime",this.Yp);this.__defineSetter__("currentTime",this.Oc)};h.pm=function(){this.Qc&&Cr(this,!0);wr(this).listen(sr(),"hidden",this.jq);this.Qc||Br(this);this.jl&&this.M().paused&&this.M().play()};
h.jq=function(){this.M().src&&!this.M().paused&&this.M().pause()};var Br=function(a){if(1==a.Fd.length){var b;b=sr().getFilename(a.Fd[0]);var c=n.location.href;c instanceof N||(c=ge(c));b instanceof N||(b=ge(b));b=c.resolve(b);a.M().src=b.toString()}else if(!a.Qc)for(a.ef().On(a.g),c=0;c<a.Fd.length;c++)b=a.ef().uc("source",{src:sr().getFilename(a.Fd[c])}),a.g.appendChild(b)};h=Ar.prototype;
h.Jh=function(){if(this.M()){var a=ve?this.HAVE_FUTURE_DATA:this.HAVE_METADATA,b=ve?"durationchange":"loadedmetadata";this.M().readyState&&this.M().readyState>=a&&1<this.M().duration?this.gk():wr(this).listen(this.M(),b,this.gk)}};
h.gk=function(a){var b=this.M();a&&a.type&&wr(this).unlisten(b,a.type,this.gk);"-webkit-box"!=this.pi&&(this.pi="-webkit-box",J(this.oa(),{"-webkit-box-align":"center","-webkit-box-pack":"center"}),Cr(this,!0));a=b.videoWidth/b.videoHeight;var c=rd(this.oa()),d=c.width/c.height,e=c.width,f=c.height;this.config.th||(a>d?f=c.width/a:e=c.height*a);pd(b,e,f)};h.setPosition=function(a,b,c,d){this.M()&&(ld(this.oa(),a,b),pd(this.oa(),c,d),this.Qc&&this.rc.setPosition(a,b,c,d))};
h.hide=function(){this.Qc?(Cr(this,!1),J(document.body,"backgroundColor",""),J(this.oa(),"background-color","")):Qi(this.M(),"canvas-component-video-movie-hidden")};h.show=function(){this.Qc?(Cr(this,!0),J(document.body,"backgroundColor","transparent"),J(this.oa(),"background-color","transparent")):Ri(this.M())};var Cr=function(a,b){b?J(a.oa(),"display",a.pi):a.oa().style.display=b?"":"none";var c=a.M();c&&(c.style.display=b?"":"none")};
Ar.prototype.Oc=function(a){0<this.M().currentTime&&(this.M().currentTime=a);return this.M().currentTime};Ar.prototype.Yp=function(){return this.M().currentTime};Ar.prototype.A=function(){ud(this.Bk);sr().Ok(this.an);this.rc&&this.rc.K&&this.rc.K();this.Bk=this.rc=this.g=null;this.Fd=[];Ar.D.A.call(this)};var Dr=function(a){Q.call(this);this.g=a;this.dh=this.Tj=!1;this.ak=this.bk=0;this.Of=new Nf(1E3);O(this.Of,"tick",this.ds,!1,this);O(this.g,"pause",this.mb,!1,this);O(this.g,"playing",this.mb,!1,this);O(this.g,"ended",this.mb,!1,this);O(this.g,"timeupdate",this.mb,!1,this)};B(Dr,Q);Dr.prototype.mb=function(a){switch(a.type){case "playing":Er(this);break;case "pause":case "ended":this.Of.enabled&&this.Of.stop();break;case "timeupdate":!this.Tj&&0<this.g.currentTime&&(this.Tj=!0,Er(this))}};
var Er=function(a){!a.Of.enabled&&a.Tj&&(a.bk=1E3*a.g.currentTime,a.ak=A(),a.dh=!1,a.Of.start())};Dr.prototype.ds=function(){var a=A(),b=1E3*this.g.currentTime;b-this.bk<.5*(a-this.ak)?this.dh||(this.dh=!0,this.dispatchEvent("playbackStalled")):this.dh=!1;this.bk=b;this.ak=a};var Fr=function(a,b,c,d,e,f,g,k,l){Ed.call(this);this.ip=a;this.mi=b;this.nr=c;this.bl=g||null;this.Ml=k||null;this.Df=l||null;a=rd(this.mi);this.He=a.height;this.Ie=a.width;this.L=hg.getInstance();this.yl=this.G=!1;this.ya=d||null;this.Cn=null;this.Lm=!1;this.Xf=e||new mi;this.Jb=f||new Wh;this.Wi=null;te("WebKit")?(d=new mr(""),rr=new qr(d)):cf(I(),"DOMContentLoaded",tr);this.sb=new Ar("Video",this.Xf);this.sb.dk(this.mi);this.sb.hide();this.g=this.sb.M();this.Xf.autoplay&&O(this.g,"loadstart",
this.Mr,!1,this);this.g&&(this.Cn=new Dr(this.g),O(this.Cn,"playbackStalled",this.Vr,!1,this));O(this.g,"error",this.js,!1,this);this.Xf.te&&this.Df&&(O(this.g,"precacheStarted",this.Df,!1,this),O(this.g,"precacheCanceled",this.Df,!1,this),O(this.g,"precacheComplete",this.Df,!1,this),O(this.g,"precacheProgress",this.Df,!1,this))};B(Fr,Ed);h=Fr.prototype;h.sb=null;h.g=null;h.cg=null;h.H=null;h.jk=null;h.jb=function(a,b){this.Ml&&this.Ml(a,b)};
h.resize=function(a,b){this.Ie=a;this.He=b;this.H&&this.H.resize(a,b,"normal");Gr(this,a,b)};var Gr=function(a,b,c){if(a.sb){var d=a.sb.oa();d&&(pd(d,b,c),a.Xf.Zc&&pd(a.sb.M(),b,c));Ge(6)&&4==Ni()&&a.sb.Jh()}};h=Fr.prototype;
h.requestAds=function(){var a=Hr(this);if(0!=a.length){var b={};b.forceExperimentIds=a;S.yh=new Xh(b)}S.setRestrictToCustomPlayback(!0);this.jk=new Op(this.mi,this.g?this.g:void 0);this.jk.initialize();if(a=this.L.L.blocked_back_button_animation||"")if(a=a.split(","),a=1<=a.length?a[0]:""){var c;a:{for(c in ji)if(ji[c]==a){c=!0;break a}c=!1}c&&(S.Gn=a)}this.cg=new Kq(this.jk);O(this.cg,"adsManagerLoaded",this.Cr,!1,this);O(this.cg,"adError",this.gn,!1,this);c=new Pp;c.adsResponse=this.ip;c.linearAdSlotWidth=
this.Ie;c.linearAdSlotHeight=this.He;c.nonLinearAdSlotWidth=this.Ie;c.nonLinearAdSlotHeight=this.He;c.language=this.nr;try{this.cg.requestAds(c)}catch(d){this.jb(d.message,!0)}};
h.Cr=function(a){try{this.H=a.getAdsManager({},this.Jb)}catch(b){this.jb(b.message,!0);return}O(this.H,"adError",this.gn,!1,this);O(this.H,"adCanPlay",this.Ua,!1,this);O(this.H,"contentPauseRequested",this.Sr,!1,this);O(this.H,"contentResumeRequested",this.$r,!1,this);O(this.H,"click",this.Ua,!1,this);O(this.H,"loaded",this.Ua,!1,this);O(this.H,"start",this.Ua,!1,this);O(this.H,"pause",this.Ua,!1,this);O(this.H,"resume",this.Ua,!1,this);O(this.H,"skippableStateChanged",this.Ua,!1,this);O(this.H,"skip",
this.Ua,!1,this);O(this.H,"complete",this.Ua,!1,this);O(this.H,"allAdsCompleted",this.Ua,!1,this);O(this.H,"urlNavigationRequested",this.Ua,!1,this);O(this.H,"video_card_endcap_impression",this.Ua,!1,this);O(this.H,"volumeChange",this.wd,!1,this);O(this.H,"mute",this.ls,!1,this);try{this.H.init(this.Ie,this.He,"normal"),null!=this.Wi&&this.H.setVolume(this.Wi)}catch(b){this.jb(b.message,!0)}};h.start=function(){this.H&&(this.G=!0,this.H.start())};h.resume=function(){this.H&&this.H.resume()};
h.pause=function(){this.H&&this.H.pause()};h.stop=function(){this.H&&this.H.stop()};h.getVolume=function(){return this.H?this.H.getVolume():1};h.setVolume=function(a){this.H?this.H.setVolume(a):this.Wi=a};h.Vr=function(){this.Lm||(this.ya&&this.ya.tick("j_vi_stl"),this.Lm=!0)};h.js=function(a){a instanceof Ji&&this.ya&&(this.ya.Wa("j_e_err_name",a.yg("name")),this.ya.Wa("j_e_err_reason",a.yg("reason")))};h.Mr=function(a){this.Xf.autoplay&&!this.G&&a.target.pause()};
h.gn=function(a){this.jb(a.getError().getMessage(),!this.G||!this.yl)};h.Ua=function(a){"start"==a.type&&this.sb&&(Ge(6)&&4==Ni()&&Gr(this,this.Ie,this.He),this.sb.show());this.bl&&this.bl(a)};h.wd=function(){this.ya&&0<this.g.volume&&this.ya.tick("j_vi_unm")};h.ls=function(){this.ya&&this.ya.tick("j_vi_mu")};var Hr=function(a){var b=[],c=a.L.L.ima_experiment_ids||"";c&&C(c.split(","),function(a){a=parseInt(a,10);w(a)&&!isNaN(a)&&b.push(a)},a);return b};Fr.prototype.Sr=function(){this.yl=!0};
Fr.prototype.$r=function(){};Fr.prototype.Jh=function(){this.sb.Jh()};var Ir=function(a){this.ij=!1;this.listener=a};Ir.prototype.isViewable=function(){return this.lj||!1};Ir.prototype.xh=function(){this.ij||(this.ij=!0,this.listener&&this.listener.Qj(this.isViewable()))};var Jr=function(a,b){a.lj!=b&&(a.lj=b,a.ij&&a.listener&&a.listener.Qj(a.lj))},Lr=function(a,b){Ir.call(this,b);this.jf=a;for(var c=0;c<a.length;++c)this.jf[c].listener=this;Kr(this)};B(Lr,Ir);Lr.prototype.xh=function(){for(var a=0;a<this.jf.length;++a)this.jf[a].xh();Lr.D.xh.call(this)};
Lr.prototype.Qj=function(){Kr(this)};var Kr=function(a){for(var b=!0,c=0;c<a.jf.length;++c)b=b&&a.jf[c].isViewable();Jr(a,b)},Mr=function(a,b){Ir.call(this,b);this.qt=a;this.fj=this.gj=!1;this.oh=null;dg("onDefaultPositionReceived",this.Gr,!1,this);eg("onScreenInfoChanged",this,z(this.bs,this));eg("onAdVisibilityChanged",this,z(this.ks,this))};B(Mr,Ir);Mr.prototype.ks=function(a,b){this.fj="1"==b.isVisible||"1"==b.visible||"true"==b.isVisible||1==b.visible;Jr(this,this.fj&&this.gj)};
Mr.prototype.bs=function(a,b){this.oh=b};Mr.prototype.Gr=function(a){var b=a.ra,c=b.x,d=b.y;a=b.width;var b=b.height,e=void 0,f=void 0;"undefined"!==typeof mraid?(f=mraid.getScreenSize(),e=f.width,f=f.height):null!=this.oh&&(e=this.oh.maxSizeWidth,f=this.oh.maxSizeHeight);void 0!=e&&void 0!=f&&(c=Math.min(e,c+a)-Math.max(0,c),d=Math.min(f,d+b)-Math.max(0,d),a*=b,this.gj=(0==a?0:(0>d||0>c?0:c*d)/a)>=this.qt,Jr(this,this.fj&&this.gj))};
var Nr=function(a){Ir.call(this,a);this.ph=!0;eg("onVideoEvent",this,z(this.mb,this));Jr(this,this.ph)};B(Nr,Ir);Nr.prototype.mb=function(a,b){if("surfaceCreated"==b.event)this.ph=!0;else if("surfaceDestroyed"==b.event)this.ph=!1;else return;Jr(this,this.ph)};var Or={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",
darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",
ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",
lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",
moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",
seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};var Tr=function(a){var b={};a=String(a);var c="#"==a.charAt(0)?a:"#"+a;if(Pr.test(c)){a=c;if(!Pr.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(Qr,"#$1$1$2$2$3$3"));b.Ui=a.toLowerCase();b.type="hex";return b}c=Rr(a);if(c.length){var d=c[0];a=c[1];c=c[2];d=Number(d);a=Number(a);c=Number(c);if(d!=(d&255)||a!=(a&255)||c!=(c&255))throw Error('"('+d+","+a+","+c+'") is not a valid RGB color');d=Sr(d.toString(16));a=Sr(a.toString(16));c=Sr(c.toString(16));b.Ui="#"+d+a+
c;b.type="rgb";return b}if(Or&&(c=Or[a.toLowerCase()]))return b.Ui=c,b.type="named",b;throw Error(a+" is not a valid color string");},Qr=/#(.)(.)(.)/,Pr=/^#(?:[0-9a-f]{3}){1,2}$/i,Ur=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i,Rr=function(a){var b=a.match(Ur);if(b){a=Number(b[1]);var c=Number(b[2]),b=Number(b[3]);if(0<=a&&255>=a&&0<=c&&255>=c&&0<=b&&255>=b)return[a,c,b]}return[]},Sr=function(a){return 1==a.length?"0"+a:a};var $r=function(a,b,c,d){this.cc=document.createElement("div");J(this.cc,"position","relative");J(this.cc,"top","0px");J(this.cc,"left","0px");J(this.cc,"width","100%");J(this.cc,"height","100%");J(this.cc,"z-index","0");var e=document.createElement("div");J(e,"position","absolute");J(e,"z-index","1");document.body.appendChild(e);Vr(this,a);aj.call(this,b,e,c);b=d||[];a=rd(a);this.Ck=(a=Wr(b,a))?a.url:null;$b(window,"beforeunload",z(this.Oi,this));this.cl.useVideoAdUi=!1;this.ki=!0;this.Uc.autoplay=
!1;this.Uc.style={position:"absolute",top:"0px",left:"0px"};this.Uc.jh=z(function(){var a=this.cc.getBoundingClientRect(),a={left:a.left,top:a.top,height:Math.max(1,a.height),width:Math.max(1,a.width)};J(e,"top",a.top+"px");J(e,"left",a.left+"px");J(e,"width",a.width+"px");J(e,"height",a.height+"px");return a},this);this.G=!1;this.wh=!0;this.sk=this.ul=!1;this.Wk=new Lr([new Nr,new Mr(.5)],this);this.T.Kl=!0;this.T.Wa("j_e_ad_format","style_frame_video_controller");this.Aa=new Fr(this.hp,this.Ya,
this.language,this.T,this.Uc,this.cl,z(this.bq,this),z(this.handleError,this),z(this.sq,this));this.Aa.requestAds();a=document.createElement("div");e.appendChild(a);this.ne=new ej(a,this.Aa,!0,void 0,void 0,!0);a=this.Uc.jh().width;b=this.Uc.jh().height;ij(this.ne,Math.min(a,b));hj(this.ne,this.wh);Xr(this,{position:"absolute",top:"0px",left:"0px",width:"100%",height:"100%"});Yr(this);Zr(this);eg("pubVideoCmd",this,z(this.Yr,this));nh(2);0<this.Wd||cj(this)};B($r,aj);
var as=4/3,Vr=function(a,b){a.Nb&&a.Nb.removeChild(a.cc);a.Nb=b;a.Nb.appendChild(a.cc)};$r.prototype.Yr=function(a,b){"initialState"!=b.action||this.G||(this.wh="0"!=b.muteStart,hj(this.ne,this.wh))};
var Xr=function(a,b){for(var c in b)J(a.ne.ac,c,b[c])},bs=function(a){Xr(a,{"-webkit-transition":"opacity 2s ease-in",transition:"opacity 2s ease-in"});Xr(a,{opacity:"0"})},Yr=function(a){Xr(a,{"-webkit-transition":"",transition:""});Xr(a,{opacity:"1"})},Zr=function(a){if(a.Uc.Zc){var b;b=jd(document.body,"backgroundColor");a.Md=b;if(""!=a.Md&&"transparent"!=a.Md&&"rgba(0, 0, 0, 0)"!=a.Md){if(b=Ce()&&Ie("7.8.0")||De()&&Ge(9E6))b=a.Md,b=!!(Pr.test("#"==b.charAt(0)?b:"#"+b)||Rr(b).length||Or&&Or[b.toLowerCase()]);
b?(a.sk=!0,a=Tr(a.Md),R("video",{action:"background",color:a.Ui})):J(document.body,"background-color","rgba(0, 0, 0, 0)")}}},Wr=function(a,b){var c=as;0<b.width&&0<b.height&&(c=b.mp());for(var d=0,e=null,f=0;f<a.length;f++){var g=a[f];if(0<g.width&&0<g.height){var k=g.width/g.height,k=Math.min(k/c,c/k);d<k&&(e=g,d=k)}}return e},cs=function(a){a.Ck&&(J(a.Ya,"background-size","contain"),J(a.Ya,"background-repeat","no-repeat"),J(a.Ya,"background-position","center"),J(a.Ya,"background-image","url("+a.Ck+
")"))},dj=function(a){a.G?a.Aa.resume():(x(window.AFMA_ReceiveMessage)&&window.AFMA_ReceiveMessage("onshow",{}),a.Aa.start());a.G=!0;a.Ck&&J(a.Ya,"background-image","")};h=$r.prototype;h.handleError=function(a,b){$r.D.handleError.call(this,a,b);cs(this)};h.Li=function(){this.ul=!0;J(this.ne.ac,"display","none");this.sk&&J(document.body,"background-color",this.Md);cs(this);mh();nh(3);setTimeout(function(){R("video",{action:"hide"})},250)};
h.Ri=function(){$r.D.Ri.call(this);this.sk&&J(document.body,"background-color","rgba(0, 0, 0, 0)");bs(this);lh();nh(1);De()&&(this.Aa.pause(),setTimeout(z(function(){this.Wk.isViewable()&&this.Aa.resume()},this),250))};h.Ni=function(a){$r.D.Ni.call(this,a);this.Wk.xh()};h.Pi=function(){$r.D.Pi.call(this);De()&&!Ge(9E6)&&Jr(this.Wk,!1);mh();nh(2);Yr(this)};h.Qi=function(){$r.D.Qi.call(this);lh();nh(1);bs(this)};h.mm=function(){};
h.Qj=function(a){this.ul||(a?dj(this):(this.Aa&&this.G&&this.Aa.pause(),this.wh&&hj(this.ne,!0)))};var ds=function(a){var b=a.flags;if(b)for(var c=hg.getInstance(),d=0;d<b.length;d++){var e=b[d];c.L[e.key]=e.value}(b=document.getElementById("video-div"))&&$r.call(this,b,a.vast_xml,a.lang,a.thumbnails)};B(ds,$r);ds.prototype.Li=function(){ds.D.Li.call(this);this.Ya.addEventListener("click",function(){R("videoClicked",{})})};r("google.afma.nativeAds.renderVideo",function(a){new ds(a)},void 0); })();AFMA_notifyJsLoaded();
