(function(){var e,h=this,k=function(a){return void 0!==a},aa=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},m=function(a){return"array"==aa(a)},ba=function(a){var b=aa(a);return"array"==b||"object"==b&&"number"==typeof a.length},n=function(a){return"string"==typeof a},p=function(a){return"boolean"==typeof a},q=function(a){return"number"==typeof a},ca=function(a){var b=typeof a;return"object"==b&&null!=a||"function"==b},da="closure_uid_"+(1E9*Math.random()>>>0),ea=
0,fa=function(a,b,c){return a.call.apply(a.bind,arguments)},ga=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)}},ha=function(a,b,c){ha=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?fa:ga;return ha.apply(null,arguments)},ia=function(a){var b=
t;function c(){}c.prototype=b.prototype;a.S=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.R=function(a,c,g){return b.prototype[c].apply(a,Array.prototype.slice.call(arguments,2))}};var u=function(a,b){var c=parseFloat(a);return isNaN(c)||1<c||0>c?b:c},ja=function(a,b){var c=parseInt(a,10);return isNaN(c)?b:c},ka=/^([\w-]+\.)*([\w-]{2,})(\:[0-9]+)?$/,la=function(a,b){if(!a)return b;var c=a.match(ka);return c?c[0]:b};var ma=u("0.02",0),na=u("0.0",0);var oa=u("0.005",0),pa=u("0",0),qa=u("0.001",0),ra=ja("1500",1500),sa=u("0.01",0),ta=u("1.0",0),ua=u("0.5",0),va=u("",.001),wa=ja("",200),xa=u("0.01",0),
ya=u("0.01",0),za=/^true$/.test("")?!0:!1,Aa=u("0.05",0),Ba=u("0.01",0),Ca=u("0.1",0),Da=u("0.01",0),Ea=u("1",0),Fa=u("",.001);var Ga=function(a){return/^[\s\xa0]*$/.test(a)},Ha=function(a,b){return a<b?-1:a>b?1:0};var v=function(a,b,c){for(var d in a)Object.prototype.hasOwnProperty.call(a,d)&&b.call(c,a[d],d,a)};var w=function(){return h.googletag||(h.googletag={})},x=function(a,b,c){var d=w();a in d&&!c||(d[a]=b)},Ia=function(a,b){a.addEventListener?a.addEventListener("load",b,!1):a.attachEvent&&a.attachEvent("onload",b)};var y={};y["#1#"]=la("","pagead2.googlesyndication.com");y["#2#"]=la("","pubads.g.doubleclick.net");y["#3#"]=la("","securepubads.g.doubleclick.net");y["#4#"]=la("","partner.googleadservices.com");y["#5#"]="http://pagead2.googlesyndication.com/pagead/show_ads.js";var Ja;
t:{var Ka=null,z=window,La=null;try{for(;null!=z&&z!==Ka;){La=z.location.protocol;if("https:"===La)break;else if("http:"===La||"file:"===La){Ja=!1;break t}Ka=z;z=z.parent}}catch(Ma){}Ja=!0}y["#6#"]=Ja;y["#7#"]=ma;y["#10#"]=pa;y["#11#"]=qa;y["#12#"]=oa;y["#13#"]=ra;y["#16#"]=sa;y["#17#"]=ta;y["#18#"]=ua;y["#20#"]=na;y["#23#"]=va;y["#24#"]=wa;y["#25#"]=xa;y["#27#"]=ya;y["#28#"]=Aa;y["#29#"]=Ba;y["#31#"]=Ca;y["#33#"]=la("","pagead2.googlesyndication.com");
y["#34#"]=Ea;y["#36#"]=za;y["#37#"]=Da;y["#38#"]=Fa;y["#39#"]="";x("_vars_",y);var Na=Array.prototype,Oa=function(a,b){if(n(a))return n(b)&&1==b.length?a.indexOf(b,0):-1;for(var c=0;c<a.length;c++)if(c in a&&a[c]===b)return c;return-1},Pa=function(a,b,c){for(var d=a.length,f=n(a)?a.split(""):a,g=0;g<d;g++)g in f&&b.call(c,f[g],g,a)},Qa=function(a,b){for(var c=a.length,d=Array(c),f=n(a)?a.split(""):a,g=0;g<c;g++)g in f&&(d[g]=b.call(void 0,f[g],g,a));return d},Ra=function(a,b){var c;t:{c=a.length;for(var d=n(a)?a.split(""):a,f=0;f<c;f++)if(f in d&&b.call(void 0,d[f],f,a)){c=
f;break t}c=-1}return 0>c?null:n(a)?a.charAt(c):a[c]},Sa=function(a,b){0<=Oa(a,b)||a.push(b)},Ta=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[]},Ua=function(a,b,c){return 2>=arguments.length?Na.slice.call(a,b):Na.slice.call(a,b,c)},Va=function(a){for(var b={},c=0,d=0;d<a.length;){var f=a[d++],g=ca(f)?"o"+(f[da]||(f[da]=++ea)):(typeof f).charAt(0)+f;Object.prototype.hasOwnProperty.call(b,g)||(b[g]=!0,a[c++]=f)}a.length=c},Xa=function(a,b){a.sort(b||Wa)},
Za=function(a){for(var b=Ya,c=0;c<a.length;c++)a[c]={index:c,value:a[c]};var d=b||Wa;Xa(a,function(a,b){return d(a.value,b.value)||a.index-b.index});for(c=0;c<a.length;c++)a[c]=a[c].value},Wa=function(a,b){return a>b?1:a<b?-1:0};var $a=function(a){return q(a)&&isFinite(a)&&0==a%1&&0<=a},ab=function(a){return a.replace(/[^a-zA-Z0-9]/g,function(a){return"&#"+a.charCodeAt()+";"})},bb=function(){return A("#6#")?"https:":"http:"},cb=function(a){var b=[],b=Qa(a,function(a){a=a.getName();var b=a.split("/");return"/"==a.charAt(0)&&2<=b.length?b[1]:"/"!=a.charAt(0)&&1<=b.length?b[0]:""});Va(b);return b},A=function(a){return w()._vars_[a]};var db=A("#36#");var C=function(a,b){this.b=a;this.a=b||[]};C.prototype.getMessageId=function(){return this.b};C.prototype.getMessageArgs=function(){return this.a};var eb=function(a,b,c,d,f){this.b=new Date;this.g=d||null;this.f=c||null;this.c=a;this.d=b;this.a=f||null};e=eb.prototype;e.getSlot=function(){return this.g};e.getService=function(){return this.f};e.getLevel=function(){return this.c};e.getTimestamp=function(){return this.b};e.getMessage=function(){return this.d};e.getReference=function(){return this.a};var fb=["Debug","Info","Warning","Error","Fatal"];
eb.prototype.toString=function(){var a=this.b.toTimeString()+": "+fb[this.c]+": "+this.d;this.a&&(a+=" Duration: "+(this.b.getTime()-this.a.getTimestamp().getTime())+"ms.");return a};var E=function(){this.a=[]};E.prototype.getAllEvents=function(){return this.a};E.prototype.getEventsByService=function(a){return gb(this,function(b){return b.getService()===a})};E.prototype.getEventsBySlot=function(a){return gb(this,function(b){return b.getSlot()===a})};E.prototype.getEventsByLevel=function(a){return gb(this,function(b){return b.getLevel()>=a})};var gb=function(a,b){for(var c=[],d=0;d<a.a.length;++d)b(a.a[d])&&c.push(a.a[d]);return c};
E.prototype.log=function(a,b,c,d,f){a=new eb(a,b,c,d,f);this.a.push(a);return a};var G=function(a,b,c,d,f){return a.log(1,b,c,d,f)},H=function(a,b,c,d){a.log(2,b,c,d,void 0)},I=function(a,b,c,d){a.log(3,b,c,d,void 0)},J=function(){var a=w();return a.debug_log||(a.debug_log=new E)};x("getEventLog",J);var K=function(a){return function(){return new C(a,[])}},L=function(a){return function(b){return new C(a,[b])}},M=function(a){return function(b,c){return new C(a,[b,c])}},N=function(a){return function(b,c,d){return new C(a,[b,c,d])}},hb=function(a){return"["+Qa(a,function(a){return n(a)?"'"+a+"'":m(a)?hb(a):String(a)}).join(", ")+"]"},ib=K(1),jb=L(2),kb=L(3),lb=L(4),mb=L(5),nb=L(6),ob=K(8),pb=N(9),qb=N(10),rb=M(12),sb=L(13),tb=L(14),ub=K(16),vb=N(17),wb=K(19),xb=L(20),yb=L(21),zb=M(22),Ab=M(23),Bb=
L(26),Cb=L(27),Db=L(28),Eb=L(30),Fb=M(31),Gb=K(34),Hb=L(35),Ib=N(36),Jb=N(37),Kb=K(38),Lb=L(39),Mb=M(40),Nb=K(42),Ob=M(43),Pb=K(44),Qb=K(45),Rb=L(46),Sb=L(47),Tb=L(48),Ub=K(49),Vb=K(50),Wb=K(52),Xb=M(53),Yb=M(54),Zb=L(55),$b=L(56),ac=M(57),bc=N(58),cc=L(59),dc=L(60),ec=M(61),fc=M(62),ic=L(63),jc=M(64),kc=L(65),lc=K(66),mc=K(67),nc=K(68),oc=K(69),pc=K(70),qc=K(71),rc=K(72),sc=L(75),tc=N(77),uc=L(78),vc=K(79),wc=L(80),xc=M(82),yc=M(84),zc=L(85),Ac=K(87),Bc=N(88),Cc=L(90),Dc=L(92),Ec=L(93),Fc=L(94),
Gc=L(95),O=function(a,b){var c=hb(Ta(b)),c=c.substring(1,c.length-1);return new C(96,[a,c])};x("getVersion",function(){return"55"});var Ic=function(a){this.b=a;this.a=Hc+"/pagead/gen_204?id="+encodeURIComponent(a)},Hc=A("#6#")?"https://"+A("#33#"):"http://"+A("#33#"),Jc=function(a,b,c){b&&b.match(/^\w+$/)&&c&&(a.a+="&"+b+"="+encodeURIComponent(c))},Kc=function(a,b){if(!k(b)||0>b||1<b)b=A("#23#");if(Math.random()<b&&a.b&&a.a){var c=a.a,d=window;d.google_image_requests||(d.google_image_requests=[]);var f=d.document.createElement("img");f.src=c;d.google_image_requests.push(f)}},Lc=function(a,b){Jc(a,"vrg","55");var c=cb(b);3>=c.length||
(c=Ua(c,0,3),c.push("__extra__"));Jc(a,"nw_id",c.join(","))};var Mc=A("#38#"),Nc=[],Oc=function(a,b){var c={methodId:a};b.name&&(c.name=b.name);b.message&&(c.message=b.message.substring(0,512));b.fileName&&(c.fileName=b.fileName);b.lineNumber&&(c.lineNumber=b.lineNumber);if(b.stack){var d;var f=b.stack;try{-1==f.indexOf("")&&(f="\n"+f);for(var g;f!=g;)g=f,f=f.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");d=f.replace(/\n */g,"\n")}catch(l){d=""}c.stack=d}return c},P=function(a,b){Pc(a,b,void 0);throw b;},Pc=function(a,b,c){if(!b.Q)try{b.Q=!0;var d=
Mc;k(c)&&0<=c&&1>=c&&(d=c);var f=Oc(a,b),g=new Ic("gpt_exception");try{Lc(g,Nc)}catch(l){}v(f,function(a,b){Jc(g,b,a)});Kc(g,d)}catch(r){}};var Qc=function(){this.b=this.a=0};Qc.prototype.push=function(a){try{for(var b=J(),c=0;c<arguments.length;++c)try{"function"==aa(arguments[c])&&(arguments[c](),this.a++)}catch(d){this.b++,I(b,Eb(String(d.message)))}G(b,Fb(String(this.a),String(this.b)));return this.a}catch(f){P(1001,f)}};(function(){function a(a){this.t={};this.tick=function(a,b,c){this.t[a]=[void 0!=c?c:(new Date).getTime(),b];if(void 0==c)try{window.console.timeStamp("CSI/"+a)}catch(d){}};this.tick("start",null,a)}var b;window.performance&&(b=window.performance.timing);var c=b?new a(b.responseStart):new a;window.GPT_jstiming={Timer:a,load:c};b&&(c=b.navigationStart,b=b.responseStart,0<c&&b>=c&&(window.GPT_jstiming.srt=b-c));try{b=null,window.chrome&&window.chrome.csi&&(b=Math.floor(window.chrome.csi().pageT)),null==
b&&window.gtbExternal&&(b=window.gtbExternal.pageT()),null==b&&window.external&&(b=window.external.pageT),b&&(window.GPT_jstiming.pt=b)}catch(d){}})();if(window.GPT_jstiming){window.GPT_jstiming.N={};window.GPT_jstiming.P=1;var Rc=function(a,b,c){var d=a.t[b],f=a.t.start;if(d&&(f||c))return d=a.t[b][0],void 0!=c?f=c:f=f[0],d-f};window.GPT_jstiming.getTick=Rc;var Sc=function(a,b,c){var d="";window.GPT_jstiming.srt&&(d+="&srt="+window.GPT_jstiming.srt);window.GPT_jstiming.pt&&(d+="&tbsrt="+window.GPT_jstiming.pt);try{window.external&&window.external.tran?d+="&tran="+window.external.tran:window.gtbExternal&&window.gtbExternal.tran?d+="&tran="+window.gtbExternal.tran():
window.chrome&&window.chrome.csi&&(d+="&tran="+window.chrome.csi().tran)}catch(f){}var g=window.chrome;if(g&&(g=g.loadTimes)){g().wasFetchedViaSpdy&&(d+="&p=s");if(g().wasNpnNegotiated){var d=d+"&npn=1",l=g().npnNegotiatedProtocol;l&&(d+="&npnv="+(encodeURIComponent||escape)(l))}g().wasAlternateProtocolAvailable&&(d+="&apa=1")}var r=a.t,Q=r.start,g=[],l=[],B;for(B in r)if("start"!=B&&0!=B.indexOf("_")){var D=r[B][1];D?r[D]&&l.push(B+"."+Rc(a,B,r[D][0])):Q&&g.push(B+"."+Rc(a,B))}if(b)for(var F in b)d+=
"&"+F+"="+b[F];(b=c)||(b="https:"==document.location.protocol?"https://csi.gstatic.com/csi":"http://csi.gstatic.com/csi");return[b,"?v=3","&s="+(window.GPT_jstiming.sn||"gpt")+"&action=",a.name,l.length?"&it="+l.join(","):"",d,"&rt=",g.join(",")].join("")},Tc=function(a,b,c){a=Sc(a,b,c);if(!a)return"";b=new Image;var d=window.GPT_jstiming.P++;window.GPT_jstiming.N[d]=b;b.onload=b.onerror=function(){window.GPT_jstiming&&delete window.GPT_jstiming.N[d]};b.src=a;b=null;return a};window.GPT_jstiming.report=
function(a,b,c){if("prerender"==document.webkitVisibilityState){var d=!1,f=function(){if(!d){b?b.prerender="1":b={prerender:"1"};var g;"prerender"==document.webkitVisibilityState?g=!1:(Tc(a,b,c),g=!0);g&&(d=!0,document.removeEventListener("webkitvisibilitychange",f,!1))}};document.addEventListener("webkitvisibilitychange",f,!1);return""}return Tc(a,b,c)}};var Uc=function(a,b){for(var c in a)if(b.call(void 0,a[c],c,a))return!0;return!1},Vc=function(a,b){for(var c in a)if(a[c]==b)return!0;return!1};var Wc=function(a,b){this.b=a;this.a=b};e=Wc.prototype;e.clone=function(){return new Wc(this.b,this.a)};e.isEmpty=function(){return!(this.b*this.a)};e.ceil=function(){this.b=Math.ceil(this.b);this.a=Math.ceil(this.a);return this};e.floor=function(){this.b=Math.floor(this.b);this.a=Math.floor(this.a);return this};e.round=function(){this.b=Math.round(this.b);this.a=Math.round(this.a);return this};var R;t:{var Xc=h.navigator;if(Xc){var Yc=Xc.userAgent;if(Yc){R=Yc;break t}}R=""};var Zc=-1!=R.indexOf("Opera")||-1!=R.indexOf("OPR"),S=-1!=R.indexOf("Trident")||-1!=R.indexOf("MSIE"),$c=-1!=R.indexOf("Gecko")&&-1==R.toLowerCase().indexOf("webkit")&&!(-1!=R.indexOf("Trident")||-1!=R.indexOf("MSIE")),ad=-1!=R.toLowerCase().indexOf("webkit"),bd=function(){var a=h.document;return a?a.documentMode:void 0},cd=function(){var a="",b;if(Zc&&h.opera)return a=h.opera.version,"function"==aa(a)?a():a;$c?b=/rv\:([^\);]+)(\)|;)/:S?b=/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/:ad&&(b=/WebKit\/(\S+)/);
b&&(a=(a=b.exec(R))?a[1]:"");return S&&(b=bd(),b>parseFloat(a))?String(b):a}(),dd={},ed=function(a){if(!dd[a]){for(var b=0,c=String(cd).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),d=String(a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),f=Math.max(c.length,d.length),g=0;0==b&&g<f;g++){var l=c[g]||"",r=d[g]||"",Q=RegExp("(\\d*)(\\D*)","g"),B=RegExp("(\\d*)(\\D*)","g");do{var D=Q.exec(l)||["","",""],F=B.exec(r)||["","",""];if(0==D[0].length&&0==F[0].length)break;b=Ha(0==D[1].length?0:parseInt(D[1],
10),0==F[1].length?0:parseInt(F[1],10))||Ha(0==D[2].length,0==F[2].length)||Ha(D[2],F[2])}while(0==b)}dd[a]=0<=b}},fd=h.document,gd=fd&&S?bd()||("CSS1Compat"==fd.compatMode?parseInt(cd,10):5):void 0;var hd;if(!(hd=!$c&&!S)){var id;if(id=S)id=S&&9<=gd;hd=id}hd||$c&&ed("1.9.1");S&&ed("9");var jd={T:"slotRenderEnded"},kd=function(a,b,c,d){this.slot=a;this.isEmpty=b;this.size=c;this.lineItemId=this.creativeId=null;this.serviceName=d};var t=function(){this.L=[];this.M={};this.b=!1;this.m={};this.log=J();G(this.log,Hb(this.getName()),this)};e=t.prototype;e.getName=function(){return"unknown"};e.getVersion=function(){return"unversioned"};e.getSlots=function(){return this.L};e.getSlotIdMap=function(){return this.M};e.enable=function(){if(this.b)G(this.log,Kb(),this);else{this.b=!0;try{this.B()}catch(a){Pc(1402,a),I(this.log,Lb(String(a)),this)}}};
e.A=function(a){this.L.push(a);this.M[a.getSlotId().getId()]=a;G(this.log,Mb(this.getName(),a.getName()),this,a)};e.addEventListener=function(a,b){try{if("function"!=aa(b)||!n(a)){var c=O("Service.addEventListener",arguments);H(this.log,c,this);return this}if(!Vc(jd,a))return H(this.log,Ec(a),this),this;c=a;m(this.m[c])||(this.m[c]=[]);this.m[c].push(b);return this}catch(d){P(1401,d)}};
var ld=function(a,b){var c=a.m.slotRenderEnded;m(c)&&Pa(c,function(a){try{a(b)}catch(c){a=c&&n(c.name)?c.name:null;var g=c&&n(c.message)?c.message:null,l="";a&&g?l=a+": "+g:a?l=a:g&&(l=g);H(this.log,Dc(l),this)}},a)};var md={load:!0,gpt_load:!0,_pubads_load_start:!0,pubads_load:!0},nd={ad_fetch_start:!0,ad_render_start:!0},od={pubads_load:"_pubads_load_start",ad_fetch_end:"ad_fetch_start",ad_render_end:"ad_render_start"},pd={},qd=function(){this.f=!1;h.GPT_jstiming&&h.GPT_jstiming.load&&("http:"==h.location.protocol||"https:"==h.location.protocol)&&Math.random()<A("#37#")&&(this.f=!0);this.a=this.d=null;this.j=!1;this.k=window.GPT_jstiming.getTick(window.GPT_jstiming.load,"start",0);this.c=window.GPT_jstiming.load;
this.c.name="global";this.b={};this.b.load=!1;this.b.gpt_load=!1;this.b._pubads_load_start=!1;this.b.pubads_load=!1;this.g=500;this.i=[];this.h={};this.m=!1},sd=function(a,b,c,d,f){c&&a.c?(a.c.tick(b,d,f),rd(a,!0)):c||(a.a||(a.a=new h.GPT_jstiming.Timer(a.k),a.a.name="ad_events"),a.a.tick(b,d,f),0!=b.indexOf("_")&&(a.j=!0))};qd.prototype.tick=function(a,b){try{if(this.f){var c=md.hasOwnProperty(a),d=b?".psbk":"";a+=d;var f=od[a];f&&(f+=d);c&&(this.b[a]=!0);sd(this,a,c,f)}}catch(g){P(2601,g)}};
var td=function(a){window.setTimeout(ha(function(){try{rd(this,!1)&&(this.g=32E3<2*this.g?32E3:2*this.g),td(this)}catch(a){P(2602,a)}},a),a.g)},rd=function(a,b){if(!a.f)return!1;var c="https:"==h.location.protocol?"https://www.google.com/csi":"http://csi.gstatic.com/csi",d={vrg:"55"};a.i.length&&(d.e=a.i.join());return b&&a.c&&null!=a.c&&(a.b.load||"complete"==document.readyState)&&a.b.gpt_load&&a.b._pubads_load_start==a.b.pubads_load?(h.GPT_jstiming.report(a.c,d,c),a.c=null,!0):!b&&a.a&&a.j?(h.GPT_jstiming.report(a.a,
d,c),a.a=null,a.j=!1,!0):!1};
qd.prototype.tickRepeated=function(a,b,c){if(this.f&&!(4<b)){var d=od[a],f=md.hasOwnProperty(a),g=a,l=d,r="";c&&(r=".psbk");d&&(l=this.d&&pd[d]?l+(".sra"+r):l+(r+"."+b));g=this.d&&pd[a]?g+(".sra"+r):g+(r+"."+b);l&&this.h.hasOwnProperty("_"+l)&&(l="_"+l,sd(this,l,!1,void 0,this.h[l]+this.k),delete this.h[l]);sd(this,g,f,l);f||"ad_fetch_start"!=a||this.m||(sd(this,"first_ad_fetch_start"+r,!1,void 0,window.GPT_jstiming.getTick(this.a,g)+this.k),this.m=!0);nd.hasOwnProperty(a)&&(a=window.GPT_jstiming.getTick(this.a,
g),this.h["_"+g]=a)}};qd.prototype.addFeature=function(a){0<a.length&&Sa(this.i,a)};qd.prototype.setSraMode=function(a){null===this.d&&((this.d=a)?this.addFeature("sra"):this.addFeature("non-sra"))};var vd=function(){return w()._tmanager_||ud()},ud=function(){var a=new qd;x("_tmanager_",a);td(a);Ia(window,function(){a.tick("load")});a.addFeature("v55");return a};var wd=function(){this.a={};this.b=!1;this.c=J();this.f=G(this.c,ob());Ia(window,ha(wd.prototype.d,this))},xd=function(a,b){var c=null;b in a.a&&(c=a.a[b]);return c},yd=function(){var a=T();v(a.a,function(a,c){a.enable();vd().addFeature(c)})};wd.prototype.d=function(){try{this.b=!0,G(this.c,ib(),null,null,this.f)}catch(a){P(1802,a)}};var T=function(){var a=w();return a.service_manager_instance||(a.service_manager_instance=new wd)};x("enableServices",function(){try{yd()}catch(a){P(1801,a)}});var zd=function(a){return m(a)&&2==a.length&&$a(a[0])&&$a(a[1])},Ad=function(a){return m(a)&&1<a.length&&q(a[0])&&q(a[1])};var Bd=function(a,b){this.b=a;this.a=b};Bd.prototype.getWidth=function(){return this.b};Bd.prototype.getHeight=function(){return this.a};var Cd=function(a){var b=[];if(m(a))if(Ad(a))b.push(new Bd(a[0],a[1]));else for(var c=0;c<a.length;++c){var d=a[c];Ad(d)&&b.push(new Bd(d[0],d[1]))}return b};var Dd=function(a,b){this.a=a;this.b=b};Dd.prototype.clone=function(){return new Dd(this.a,this.b)};var Ed=function(a){this.a=a},Fd=function(a,b){var c=Ra(a.a,function(a){a=a.a;return a.b<=b.b&&a.a<=b.a});return null==c?null:c.b},Gd=function(a){if(!m(a)||2!=a.length)throw Error("Each mapping entry has to be an array of size 2");var b;b=a[0];if(!zd(b))throw Error("Size has to be an array of two non-negative integers");b=new Wc(b[0],b[1]);if(m(a[1])&&0==a[1].length)a=[];else if(a=Cd(a[1]),0==a.length)throw Error("At least one slot size must be present");return new Dd(b,a)};var Hd=function(a,b,c){this.b=a;this.c=q(b)?b:0;this.a=this.b+"_"+this.c;this.d=c||"gpt_unit_"+this.a};e=Hd.prototype;e.getId=function(){return this.a};e.getName=function(){return this.b};e.getInstance=function(){return this.c};e.toString=Hd.prototype.getId;e.getDomId=function(){return this.d};var Id=function(a,b,c,d){this.j=a;this.w=Cd(c);this.l=null;this.b=new Hd(a,b,d);this.c=[];this.f={};this.h=null;this.a=J();G(this.a,jb(this.b.toString()),null,this);this.g=this.k=null;this.n=this.s="";this.m=!0;this.d={};this.i=[];this.u=!1;this.r=this.q=null;this.o=0;this.p=-1;this.v=0};e=Id.prototype;
e.set=function(a,b){try{if(!n(a)||!b)return H(this.a,O("Slot.set",arguments),null,this),this;var c=this.getName();this.f[a]=b;this.k||this.g?H(this.a,qb(a,String(b),c),null,this):G(this.a,pb(a,String(b),c),null,this);return this}catch(d){P(201,d)}};e.get=function(a){try{return n(a)?this.f.hasOwnProperty(a)?this.f[a]:null:(H(this.a,O("Slot.get",arguments),null,this),null)}catch(b){P(202,b)}};e.getAttributeKeys=function(){try{var a=[];v(this.f,function(b,d){a.push(d)});return a}catch(b){P(203,b)}};
e.addService=function(a){try{var b=T();if(!Vc(b.a,a))return H(this.a,Fc(this.b.toString()),null,this),this;for(b=0;b<this.c.length;++b)if(a==this.c[b])return H(this.a,rb(a.getName(),this.b.toString()),a,this),this;this.c.push(a);a.A(this);return this}catch(c){P(204,c)}};e.getName=function(){return this.j};e.getAdUnitPath=function(){try{return this.j}catch(a){P(215,a)}};e.getSlotId=function(){return this.b};e.getServices=function(){return this.c};
e.getSizes=function(a,b){return q(a)&&q(b)&&this.l?Fd(this.l,new Wc(a,b)):this.w};e.defineSizeMapping=function(a){try{if(!m(a))throw Error("Size mapping has to be an array");var b=Qa(a,Gd);this.l=new Ed(b)}catch(c){Pc(205,c),H(this.a,sb(c.message),null,this)}return this};e.hasWrapperDiv=function(){return!!document.getElementById(this.b.getDomId())};e.setClickUrl=function(a){try{if(!n(a))return H(this.a,O("Slot.setClickUrl",arguments),null,this),this;this.n=a;return this}catch(b){P(206,b)}};
e.getClickUrl=function(){return this.n};e.setCategoryExclusion=function(a){try{return n(a)&&!Ga(null==a?"":String(a))?(Sa(this.i,a),G(this.a,tb(a),null,this)):H(this.a,O("Slot.setCategoryExclusion",arguments),null,this),this}catch(b){P(207,b)}};e.clearCategoryExclusions=function(){try{return G(this.a,ub(),null,this),this.i=[],this}catch(a){P(208,a)}};e.getCategoryExclusions=function(){try{return Ta(this.i)}catch(a){P(209,a)}};
e.setTargeting=function(a,b){try{var c=[];m(b)?c=b:b&&c.push(b.toString());n(a)?(G(this.a,vb(a,c.join(),this.getName()),null,this),this.d[a]=c):H(this.a,O("Slot.setTargeting",arguments),null,this);return this}catch(d){P(210,d)}};e.clearTargeting=function(){try{return G(this.a,wb(),null,this),this.d={},this}catch(a){P(211,a)}};e.getTargetingMap=function(){var a=this.d,b={},c;for(c in a)b[c]=a[c];return b};
e.getTargeting=function(a){try{return n(a)?this.d.hasOwnProperty(a)?Ta(this.d[a]):[]:(H(this.a,O("Slot.getTargeting",arguments),null,this),[])}catch(b){P(212,b)}};e.getTargetingKeys=function(){try{var a=[];v(this.d,function(b,d){a.push(d)});return a}catch(b){P(213,b)}};e.getOutOfPage=function(){return this.u};e.getAudExtId=function(){return this.o};e.setTagForChildDirectedTreatment=function(a){if(0===a||1===a)this.p=a};e.gtfcd=function(){return this.p};
e.setCollapseEmptyDiv=function(a,b){try{if(!p(a)||b&&!p(b))return H(this.a,O("Slot.setCollapseEmptyDiv",arguments),null,this),this;this.r=(this.q=a)&&Boolean(b);b&&!a&&H(this.a,xb(this.b.toString()),null,this);return this}catch(c){P(214,c)}};e.getCollapseEmptyDiv=function(){return this.q};e.getDivStartsCollapsed=function(){return this.r};
var Jd=function(a,b){if(!a.hasWrapperDiv())return I(a.a,yb(a.b.toString()),null,a),!1;var c=h.document,d=a.b.getDomId(),c=c&&c.getElementById(d);if(!c)return I(a.a,zb(d,a.b.toString()),null,a),!1;d=a.h;return n(d)&&0<d.length?(a.renderStarted(),c.innerHTML=d,a.renderEnded(b),!0):!1};e=Id.prototype;e.fetchStarted=function(a){this.k=G(this.a,kb(this.getName()),null,this);this.s=a};e.getContentUrl=function(){return this.s};e.fetchEnded=function(){G(this.a,lb(this.getName()),null,this,this.k)};
e.renderStarted=function(){this.g=G(this.a,mb(this.getName()),null,this)};e.renderEnded=function(a){G(this.a,nb(this.getName()),null,this,this.g);Pa(this.c,function(b){b.getName()==a.serviceName&&ld(b,a)})};e.setFirstLook=function(a){if(!p(a))return H(this.a,O("Slot.setFirstLook",arguments),null,this),this;this.v=a?1:2;return this};e.getFirstLook=function(){return this.v};var Kd=function(){this.a={};this.b={};this.c=J()},Ld=function(a,b,c,d){if(!n(b)||0>=b.length||!c)return null;b in a.a||(a.a[b]=[]);c=new Id(b,a.a[b].length,c,d);d=c.getSlotId().getDomId();if(a.b[d])return I(a.c,Db(d)),null;a.a[b].push(c);a.b[c.getSlotId().getDomId()]=c;Nc.push(c);return c};Kd.prototype.d=function(a,b){var c=b||0,d=n(a)&&this.a[a]||[];return 0<=c&&c<d.length&&(d=d[c],d.getSlotId().getInstance()==c)?d:null};
var Md=function(a,b){return Uc(a.a,function(a){return 0<=Oa(a,b)})},U=function(){var a=w();return a.slot_manager_instance||(a.slot_manager_instance=new Kd)},V=function(a,b,c){try{var d=U();return d&&Ld(d,a,b,c)}catch(f){P(802,f)}};x("defineOutOfPageSlot",function(a,b){try{var c=U();if(!c)return null;var d=Ld(c,a,[1,1],b);return d?(d.u=!0,d):null}catch(f){P(801,f)}});x("defineSlot",V);x("defineUnit",V);Kd.prototype.find=Kd.prototype.d;Kd.getInstance=U;var Nd=function(a){try{var b=J();if(n(a)){var c,d=U();if(c=d.b[a]?d.b[a]:null)if(c.m&&!c.hasWrapperDiv())H(c.a,Ab(c.j,c.b.getDomId()),null,c);else for(a=0;a<c.c.length;++a)c.c[a].b&&c.c[a].p(c);else I(b,Cb(String(a)))}else I(b,Bb(String(a)))}catch(f){P(2201,f)}};x("display",Nd,!0);var Od=/#|$/,Pd=function(a,b){var c=a.search(Od),d;t:{d=0;for(var f=b.length;0<=(d=a.indexOf(b,d))&&d<c;){var g=a.charCodeAt(d-1);if(38==g||63==g)if(g=a.charCodeAt(d+f),!g||61==g||38==g||35==g)break t;d+=f+1}d=-1}if(0>d)return null;f=a.indexOf("&",d);if(0>f||f>c)f=c;d+=b.length+1;return decodeURIComponent(a.substr(d,f-d).replace(/\+/g," "))};var Qd=null,Rd=$c||ad||Zc||"function"==typeof h.atob;var Td=function(a,b,c){var d=Sd++;this.a=new Id(a,d,b);this.a.addService(c);this.b=c},Sd=1;e=Td.prototype;e.setClickUrl=function(a){try{return this.a.setClickUrl(a),this}catch(b){P(1202,b)}};e.setTargeting=function(a,b){try{return this.a.setTargeting(a,b),this}catch(c){P(1204,c)}};e.setAudExtId=function(a){try{return $a(a)&&(this.a.o=a),this}catch(b){P(1205,b)}};e.setTagForChildDirectedTreatment=function(a){try{return this.a.setTagForChildDirectedTreatment(a),this}catch(b){P(1203,b)}};
e.display=function(){try{Ud(this.b,this.a)}catch(a){P(1201,a)}};var Vd=function(a,b){this.a=a;this.b=b||{changeCorrelator:!0}},W=function(){t.call(this);this.g=!1;this.a=null;this.F=0;this.n=-1;this.o={};this.j={};this.u=[];this.C=this.v="";this.I=!1;this.H=!0;this.f=this.G=!1;this.c=db?!1:!0;this.w=db;this.q=this.i=!1;this.d=[];this.l=[];this.h=[];this.D={};this.s=!1;this.k=-1;this.J=this.K="";this.r=[];null!==Pd(window.location.href,"google_force_safeframe_image")&&this.r.push("108809020")};ia(W);
var Wd={adsense_ad_format:"google_ad_format",adsense_ad_types:"google_ad_type",adsense_allow_expandable_ads:"google_allow_expandable_ads",adsense_background_color:"google_color_bg",adsense_bid:"google_bid",adsense_border_color:"google_color_border",adsense_channel_ids:"google_ad_channel",adsense_content_section:"google_ad_section",adsense_cpm:"google_cpm",adsense_ed:"google_ed",adsense_encoding:"google_encoding",adsense_family_safe:"google_safe",adsense_feedback:"google_feedback",adsense_flash_version:"google_flash_version",
adsense_font_face:"google_font_face",adsense_font_size:"google_font_size",adsense_hints:"google_hints",adsense_host:"google_ad_host",adsense_host_channel:"google_ad_host_channel",adsense_host_tier_id:"google_ad_host_tier_id",adsense_keyword_type:"google_kw_type",adsense_keywords:"google_kw",adsense_line_color:"google_line_color",adsense_link_color:"google_color_link",adsense_relevant_content:"google_contents",adsense_reuse_colors:"google_reuse_colors",adsense_targeting:"google_targeting",adsense_targeting_types:"google_targeting",
adsense_test_mode:"google_adtest",adsense_text_color:"google_color_text",adsense_ui_features:"google_ui_features",adsense_ui_version:"google_ui_version",adsense_url_color:"google_color_url",alternate_ad_iframe_color:"google_alternate_color",alternate_ad_url:"google_alternate_ad_url",demographic_age:"google_cust_age",demographic_ch:"google_cust_ch",demographic_gender:"google_cust_gender",demographic_interests:"google_cust_interests",demographic_job:"google_cust_job",demographic_l:"google_cust_l",demographic_lh:"google_cust_lh",
demographic_u_url:"google_cust_u_url",demographic_unique_id:"google_cust_id",document_language:"google_language",geography_override_city:"google_city",geography_override_country:"google_country",geography_override_region:"google_region",page_url:"google_page_url"};e=W.prototype;e.set=function(a,b){try{if(!(n(a)&&0<a.length))return H(this.log,O("PubAdsService.set",arguments),this,null),this;this.o[a]=b;G(this.log,Ib(a,String(b),this.getName()),this,null);return this}catch(c){P(21,c)}};
e.get=function(a){try{return this.o[a]}catch(b){P(22,b)}};e.getAttributeKeys=function(){try{var a=[];v(this.o,function(b,d){a.push(d)});return a}catch(b){P(23,b)}};e.display=function(a,b,c,d){try{this.enable();var f=c?V(a,b,c):V(a,b);f.addService(this);d&&f.setClickUrl(d);Nd(f.getSlotId().getDomId())}catch(g){P(24,g)}};
e.B=function(){if(this.c){if(!this.g){var a=document,b=a.createElement("script");T();b.async=!0;b.type="text/javascript";b.src=Xd();(a=a.getElementsByTagName("head")[0]||a.getElementsByTagName("body")[0])?(G(this.log,Rb("GPT PubAds"),this),vd().tick("_pubads_load_start"),a.appendChild(b),this.g=!0):I(this.log,Sb("GPT PubAds"),this)}}else Yd(this)};e.getName=function(){return"publisher_ads"};
var Xd=function(){return bb()+"//partner.googleadservices.com/gpt/pubads_impl_55.js"},Yd=function(a){var b=T();a.g||b.b||(b=document,a.g=!0,vd().tick("_pubads_load_start"),b.write('<script type="text/javascript" src="'+ab(Xd())+'">\x3c/script>'))};W.prototype.fillSlot=function(a){G(this.log,Vb());this.a.fillSlot(a);this.D[a.getName()]=!0;if(this.a)for(a=0;a<this.h.length;a++){var b=this.h[a];b.a[0].getName()in this.D&&(this.refresh(b.a,b.b),Na.splice.call(this.h,a,1),a--)}else I(this.log,Ub(),this)};
W.prototype.onGoogleAdsJsLoad=function(a){this.a=a;G(this.log,Tb("GPT"),this);this.a.setCookieOptions(this.F);this.a.setTagForChildDirectedTreatment(this.n);Pa(this.r,function(a){this.a.setApiExperiment(a)},this);this.a.setCenterAds(this.w);db&&(this.f=!1,this.a.setMobilePlatform());this.H||this.a.disableFetch();this.i&&this.a.collapseEmptyDivs(this.q);if(this.f){this.c?this.a.enableAsyncSingleRequest():this.a.enableSingleRequest();Zd(this);a=this.getSlots();for(var b=0;b<a.length;++b)$d(this,a[b])}else this.c&&
this.a.enableAsyncRendering();this.G&&this.a.disableInitialLoad();ae(this);be(this);if(0<this.d.length)for(b=0;b<this.d.length;++b)this.p(this.d[b]);if(0<this.l.length)for(b=0;b<this.l.length;++b)Ud(this,this.l[b])};W.prototype.A=function(a){this.c||(a.m=!1);t.prototype.A.call(this,a)};
W.prototype.p=function(a){if(T().b&&!this.c)I(this.log,Wb(),this);else if(this.a)Zd(this),$d(this,a)&&this.fillSlot(a);else if(this.c||this.g&&0==this.d.length){for(var b=!1,c=0;c<this.d.length;++c)a===this.d[c]&&(b=!0);b||(G(this.log,Xb(a.getName(),"GPT"),this,a),this.d.push(a))}else I(this.log,Zb(a.getName()),this,a)};
var $d=function(a,b){if(a.a&&null==a.a.addSlot(b))return I(a.log,$b(b.getName()),a,b),!1;for(var c=b.getAttributeKeys(),d=0;d<c.length;++d)c[d]in Wd?a.a.addAdSenseSlotAttribute(b,Wd[c[d]],String(b.get(c[d]))):H(a.log,bc(String(c[d]),String(b.get(c[d])),b.getName()),a,b);return!0},Zd=function(a){if(!a.I){a.I=!0;for(var b=a.getAttributeKeys(),c=0;c<b.length;++c)b[c]in Wd?a.a.addAdSensePageAttribute(Wd[b[c]],String(a.get(b[c]))):H(a.log,ac(String(b[c]),String(a.get(b[c]))),a);a.a.addAdSensePageAttribute("google_tag_info",
"v2");v(a.j,function(a,b){if(m(a))for(var c=0;c<a.length;++c)this.a.addAttribute(b,a[c])},a);Pa(a.u,function(a){this.a.addPageCategoryExclusion(a)},a);a.a.setPublisherProvidedId(a.C);a.v&&a.a.setLocation(a.v)}};e=W.prototype;e.setCookieOptions=function(a){try{if(!q(a)||!$a(a))return H(this.log,cc(String(a)),this),this;this.F=a;this.a&&this.a.setCookieOptions(a);return this}catch(b){P(17,b)}};
e.setTagForChildDirectedTreatment=function(a){try{if(0!==a&&1!==a)return H(this.log,Cc(String(a)),this),this;this.n=a;this.a&&this.a.setTagForChildDirectedTreatment(a);return this}catch(b){P(18,b)}};e.clearTagForChildDirectedTreatment=function(){try{return this.n=-1,this.a&&this.a.setTagForChildDirectedTreatment(-1),this}catch(a){P(19,a)}};
e.setTargeting=function(a,b){try{var c=null;n(b)?c=[b]:m(b)?c=b:ba(b)&&(c=Ta(b));var d=c?c.join():String(b);if(!n(a)||Ga(null==a?"":String(a))||!c)return H(this.log,O("PubAdsService.setTargeting",arguments),this),this;this.j[a]=c;G(this.log,Bc(a,d,this.getName()),this);if(this.a)for(this.a.clearAttribute(a),d=0;d<c.length;++d)this.a.addAttribute(a,c[d]);return this}catch(f){P(1,f)}};
e.clearTargeting=function(a){try{if(!n(a)||Ga(null==a?"":String(a)))return H(this.log,O("PubAdsService.clearTargeting",arguments),this),this;if(!this.j[a])return H(this.log,yc(a,this.getName()),this),this;delete this.j[a];G(this.log,xc(a,this.getName()),this);this.a&&this.a.clearAttribute(a);return this}catch(b){P(2,b)}};
e.setCategoryExclusion=function(a){try{if(!n(a)||Ga(null==a?"":String(a)))return H(this.log,O("PubAdsService.setCategoryExclusion",arguments),this),this;Sa(this.u,a);G(this.log,zc(a),this);this.a&&this.a.addPageCategoryExclusion(a);return this}catch(b){P(3,b)}};e.clearCategoryExclusions=function(){try{return this.u=[],G(this.log,Ac(),this),this.a&&this.a.clearPageCategoryExclusions(),this}catch(a){P(4,a)}};
e.noFetch=function(){this.a?H(this.log,ec("noFetch","pubads"),this):this.H=!1;var a=new Ic("gpt_unrenamed_function_call");Jc(a,"method","34");Lc(a,this.getSlots());Kc(a)};e.disableInitialLoad=function(){try{this.a?H(this.log,ec("disableInitialLoad","pubads"),this):this.G=!0}catch(a){P(5,a)}};e.enableSingleRequest=function(){try{return this.b&&!this.f?H(this.log,dc("enableSingleRequest"),this):(G(this.log,ic("single request"),this),this.f=!0),this.f}catch(a){P(6,a)}};
e.enableAsyncRendering=function(){try{return this.b&&!this.c?H(this.log,dc("enableAsyncRendering"),this):(G(this.log,ic("asynchronous rendering"),this),this.c=!0),this.c}catch(a){P(7,a)}};e.enableSyncRendering=function(){try{if(this.b&&this.c)H(this.log,dc("enableSyncRendering"),this);else{G(this.log,ic("synchronous rendering"),this);this.c=!1;for(var a=this.getSlots(),b=0;b<a.length;++b)a[b].m=!1}return!this.c}catch(c){P(8,c)}};
e.setCentering=function(a){try{G(this.log,jc("centering",String(a)),this),this.w=a}catch(b){P(9,b)}};e.setPublisherProvidedId=function(a){try{return this.b?H(this.log,fc("setPublisherProvidedId",a),this):(G(this.log,jc("PPID",a),this),this.C=a),this}catch(b){P(20,b)}};e.definePassback=function(a,b){try{return!n(a)||0>=a.length||!Boolean(b)?(I(this.log,O("PubAdsService.definePassback",arguments)),null):new Td(a,b,this)}catch(c){P(10,c)}};
var Ud=function(a,b){Yd(a);a.a?a.a.passback(b):(G(a.log,Yb(b.getName(),"GPT"),a,b),a.l.push(b))};e=W.prototype;
e.refresh=function(a,b){try{if(a&&!m(a)||b&&(!ca(b)||b.changeCorrelator&&!p(b.changeCorrelator)))H(this.log,O("PubAdsService.refresh",arguments),this);else{var c=null;if(a&&(c=ce(this,a),!c.length)){H(this.log,O("PubAdsService.refresh",arguments),this);return}if(this.a){G(this.log,pc(),this);var d=!0;k(b)&&k(b.changeCorrelator)&&(d=b.changeCorrelator);this.a.refresh(c,{changeCorrelator:d})}else this.f?(G(this.log,oc(),this),c?Sa(this.h,new Vd(c,b)):Sa(this.h,new Vd(this.getSlots(),b))):H(this.log,
lc(),this)}}catch(f){P(11,f)}};
e.O=function(a,b){if(a&&!m(a)||b.videoStreamCorrelator&&!q(b.videoStreamCorrelator)||b.videoPodNumber&&!q(b.videoPodNumber)||b.videoPodPosition&&!q(b.videoPodPosition)||b.persistentRoadblocksOnly&&!p(b.persistentRoadblocksOnly)||b.clearUnfilledSlots&&!p(b.clearUnfilledSlots))H(this.log,O("PubAdsService.internalVideoRefresh",arguments),this);else if(this.a){var c=null;if(a&&(c=ce(this,a),!c.length)){I(this.log,kc("internalVideoRefresh"),this);return}G(this.log,pc(),this);this.a.refresh(c,b)}else H(this.log,
lc(),this)};e.enableVideoAds=function(){try{this.s=!0,ae(this)}catch(a){P(12,a)}};e.setVideoContent=function(a,b){try{this.s=!0,this.K=a,this.J=b,ae(this)}catch(c){P(13,c)}};e.getVideoContent=function(){try{return this.a?this.a.getVideoContentInformation():null}catch(a){P(30,a)}};var ae=function(a){a.s&&a.a&&a.a.setVideoContentInformation(a.K,a.J)},be=function(a){a.a&&a.a.setCorrelator(-1==a.k?void 0:a.k)};e=W.prototype;
e.getCorrelator=function(){try{return 0==this.getSlots().length?"not_available":this.a?this.a.getCorrelator():"not_loaded"}catch(a){P(27,a)}};e.setCorrelator=function(a){try{var b=window;if(b.top==b)return this;if(!$a(a)||0===a)return H(this.log,Gc(String(a)),this),this;this.k=a;be(this);return this}catch(c){P(28,c)}};e.updateCorrelator=function(){try{return this.k=-1,be(this),this}catch(a){P(25,a)}};
e.getVideoStreamCorrelator=function(){if(!this.a)return 0;var a=this.a.getVideoStreamCorrelator();return isNaN(a)?0:a};e.isAdRequestFinished=function(){try{return this.a?this.a.isAdRequestFinished():!1}catch(a){P(29,a)}};e.isSlotAPersistentRoadblock=function(a){return this.a?this.a.isSlotAPersistentRoadblock(a):!1};
e.collapseEmptyDivs=function(a){try{return this.i?H(this.log,vc(),this):this.b?H(this.log,dc("collapseEmptyDivs"),this):(this.q=Boolean(a),G(this.log,uc(String(this.q)),this),this.i=!0),this.i}catch(b){P(14,b)}};e.clear=function(a){try{if(!this.a)return H(this.log,nc(),this),!1;var b=null;if(a&&(b=ce(this,a),0==b.length))return H(this.log,O("PubAdsService.clear",arguments),this),!1;G(this.log,qc(),this);return this.a.clearSlotContents(b)}catch(c){P(15,c)}};
e.clearNoRefreshState=function(){this.a?(G(this.log,rc(),this),this.a.clearNoRefreshState()):H(this.log,mc(),this)};
e.setLocation=function(a,b,c){try{var d="role:1 producer:12";if(k(b)){if(!q(a))return H(this.log,sc("Latitude")),this;if(!q(b))return H(this.log,sc("Longitude")),this;d+=" latlng{ latitude_e7: "+Math.round(1E7*a)+" longitude_e7: "+Math.round(1E7*b)+"}";if(k(c)){if(isNaN(c))return H(this.log,sc("Radius")),this;d+=" radius:"+Math.round(c)}}else{if(50<a.length){var f=a.substring(0,50);H(this.log,tc(String(a),"50",f));a=f}d+=' loc:"'+a+'"'}var g;if(Rd)g=h.btoa(d);else{f=d;d=[];for(b=a=0;b<f.length;b++){for(var l=
f.charCodeAt(b);255<l;)d[a++]=l&255,l>>=8;d[a++]=l}if(!ba(d))throw Error("encodeByteArray takes an array as a parameter");if(!Qd)for(Qd={},l=0;65>l;l++)Qd[l]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".charAt(l);l=Qd;f=[];for(a=0;a<d.length;a+=3){var r=d[a],Q=a+1<d.length,B=Q?d[a+1]:0,D=a+2<d.length,F=D?d[a+2]:0;b=r>>2;c=(r&3)<<4|B>>4;var gc=(B&15)<<2|F>>6,hc=F&63;D||(hc=64,Q||(gc=64));f.push(l[b],l[c],l[gc],l[hc])}g=f.join("")}this.v="a "+g;return this}catch(ue){P(16,ue)}};
e.getVersion=function(){return this.a?this.a.getVersion():void 0};e.forceExperiment=function(a){this.b?H(this.log,fc("forceExperiment",a),this):this.r.push(a)};var X=function(){try{var a=T(),b=xd(a,"publisher_ads");if(!b){var c=b=new W;a.a[c.getName()]=c}return b}catch(d){P(26,d)}},ce=function(a,b){for(var c=[],d=0;d<b.length;++d){var f=b[d];f instanceof Id?c.push(f):H(a.log,wc(String(d)),a)}return c};x("pubads",X);var Y=function(){t.call(this);this.o=!0;this.d=this.l=!1;this.h=0;this.g=this.f=void 0;this.n=this.k=!1;this.i={};this.c={};this.a=!1;this.j={}};ia(Y);e=Y.prototype;e.set=function(a,b){n(a)&&0<a.length?(this.j[a]=b,G(this.log,Ib(a,String(b),this.getName()),this,null)):H(this.log,Jb(String(a),String(b),this.getName()),this,null);return this};e.get=function(a){return this.j[a]};e.getAttributeKeys=function(){var a=[];v(this.j,function(b,c){a.push(c)});return a};
e.display=function(a,b,c,d){this.enable();a=c?V(a,b,c):V(a,b);a.addService(this);d&&a.setClickUrl(d);Nd(a.getSlotId().getDomId())};
e.B=function(){if(this.o){if(!this.n){var a=document,b=document.createElement("script");b.async=!0;b.type="text/javascript";b.src=de();try{var c=a.getElementsByTagName("script")[0];G(this.log,Rb("GPT CompanionAds"),this);this.n=!0;c.parentNode&&c.parentNode.insertBefore(b,c)}catch(d){Pc(414,d),I(this.log,Sb("GPT CompanionAds"),this)}}}else this.k||(h.document.write('<script type="text/javascript" src="'+ab(de())+'">\x3c/script>'),this.k=!0)};
e.enableSyncLoading=function(){try{this.o=!1}catch(a){P(402,a)}};e.setRefreshUnfilledSlots=function(a){try{p(a)&&(this.l=a)}catch(b){P(403,b)}};e.setClearUnfilledSlots=function(a){try{p(a)&&(this.d=a)}catch(b){P(412,b)}};e.notifyUnfilledSlots=function(a){try{if(this.l)ee(this,fe(this,a));else if(this.d){var b=fe(this,a),c=X();if(c.b)for(c.clear(b),a=0;a<b.length;++a){var d=new kd(b[a],!0,null,c.getName());ld(c,d)}else I(this.log,Ob("PubAds","clear"))}}catch(f){P(413,f)}};
e.isRoadblockingSupported=function(){var a=X();if(!a.b)return!1;var a=a.getSlots(),b=this.getSlots();if(a.length!=b.length)return!1;for(var c=0;c<b.length;++c){for(var d=!1,f=0;f<a.length;++f)if(b[c]===a[f]){d=!0;break}if(!d)return!1}return!0};e.refreshAllSlots=function(){try{this.l&&ee(this,null)}catch(a){P(404,a)}};e.setVideoSessionInfo=function(a,b,c,d,f,g,l){try{this.a=!1,this.h=0,this.g=this.f=void 0,this.h=a,k(f)&&(this.f=f),k(g)&&(this.g=g),k(l)&&(this.a=l)}catch(r){P(405,r)}};
e.setVideoSession=function(a,b,c,d){this.setVideoSessionInfo(a,"","","",b,c,d)};e.getDisplayAdsCorrelator=function(){try{return X().getCorrelator()}catch(a){P(406,a)}};e.getVideoStreamCorrelator=function(){try{return X().getVideoStreamCorrelator()}catch(a){P(407,a)}};
var ee=function(a,b){var c=X();if(c.b){if(a.a){if(!a.isRoadblockingSupported()){H(a.log,Nb());return}c.clearNoRefreshState();c.clear()}var d={isVideoRefresh:!0};k(a.h)&&(d.videoStreamCorrelator=a.h);a.f&&(d.videoPodNumber=a.f);a.g&&(d.videoPodPosition=a.g);a.a&&(d.persistentRoadblocksOnly=a.a);a.d&&(d.clearUnfilledSlots=a.d);c.O(b,d)}else I(a.log,Ob("PubAds","refresh"))};
Y.prototype.isSlotAPersistentRoadblock=function(a){try{var b=X();if(b.b&&Md(U(),a))return b.isSlotAPersistentRoadblock(a);I(this.log,Pb());return!1}catch(c){P(408,c)}};var fe=function(a,b){for(var c=a.getSlotIdMap(),d=[],f=0;f<b.length;++f){var g=b[f];g in c?d.push(c[g]):H(a.log,Qb(),a)}return d};Y.prototype.getName=function(){return"companion_ads"};var de=function(){return bb()+"//pagead2.googlesyndication.com/pagead/show_companion_ad.js"};
Y.prototype.onImplementationLoaded=function(){try{G(this.log,Tb("GPT CompanionAds"),this),this.k=!0}catch(a){P(409,a)}};var ge=function(a,b){var c=b&&b.getSlotId().getId();if(c&&c in a.i&&b.hasWrapperDiv()&&a.b&&!a.isSlotAPersistentRoadblock(b)){b.h=a.i[c];var d=null;a.c.hasOwnProperty(c)&&(d=a.c[c],delete a.c[c]);c=new kd(b,!1,d,a.getName());return Jd(b,c)}return!1};Y.prototype.p=function(a){ge(this,a)};
Y.prototype.fillSlot=function(a,b,c,d){try{return Md(U(),a)&&n(b)&&0<b.length?(this.i[a.getSlotId().getId()]=b,null!=c&&null!=d&&(this.c[a.getSlotId().getId()]=[c,d]),ge(this,a)):!1}catch(f){P(410,f)}};Y.prototype.slotRenderEnded=function(a,b,c){try{var d=null;null!=b&&null!=c&&(d=[b,c]);var f=new kd(a,!1,d,this.getName());ld(this,f)}catch(g){P(411,g)}};x("companionAds",function(){try{var a=T(),b=xd(a,"companion_ads");if(!b){var c=b=new Y;a.a[c.getName()]=c}return b}catch(d){P(401,d)}});var Z=function(){t.call(this);this.a={};this.c={}};ia(Z);e=Z.prototype;e.getName=function(){return"content"};e.set=function(a,b){n(a)&&0<a.length?(this.a[a]=b,G(this.log,Ib(a,String(b),this.getName()),this,null)):H(this.log,Jb(String(a),String(b),this.getName()),this,null);return this};e.get=function(a){return this.a[a]};e.getAttributeKeys=function(){var a=[];v(this.a,function(b,c){a.push(c)});return a};
e.display=function(a,b,c,d){this.enable();a=c?V(a,b,c):V(a,b);a.addService(this);d&&a.setClickUrl(d);Nd(a.getSlotId().getDomId())};var he=function(a,b){var c=b&&b.getSlotId().getId();c in a.c&&a.b&&b.hasWrapperDiv()&&!b.g&&(b.h=a.c[c],c=new kd(b,!1,null,a.getName()),Jd(b,c))};Z.prototype.B=function(){for(var a=this.getSlots(),b=0;b<a.length;++b)he(this,a[b])};Z.prototype.p=function(a){he(this,a)};
Z.prototype.setContent=function(a,b){try{Md(U(),a)&&n(b)&&0<b.length&&(this.c[a.getSlotId().getId()]=b,he(this,a))}catch(c){P(602,c)}};x("content",function(){try{var a=T(),b=xd(a,"content");if(!b){var c=b=new Z;a.a[c.getName()]=c}return b}catch(d){P(601,d)}});var ie=function(){var a=window,b=document;if(w()._pubconsole_disable_)return!1;var c;c=document.cookie.split("google_pubconsole=");if(c=2==c.length?c[1].split(";")[0]:"")if(c=c.split("|"),0<c.length&&("1"==c[0]||"0"==c[0]))return!0;T();c=!1;try{c=a.top.document.URL===b.URL}catch(d){}a=c?b.URL:b.referrer;return null!==Pd(a,"google_debug")||null!==Pd(a,"google_console")||null!==Pd(a,"google_force_console")||null!==Pd(a,"googfc")},je=function(){try{if(ie()){var a=document,b=a.createElement("script");
b.type="text/javascript";b.src=bb()+"//publisherconsole.appspot.com/js/loader.js";b.async=!0;var c=a.getElementsByTagName("script")[0];c&&c.parentNode&&c.parentNode.insertBefore(b,c)}}catch(d){P(2002,d)}};"complete"===document.readyState?je():Ia(window,je);x("disablePublisherConsole",function(){try{w()._pubconsole_disable_=!0}catch(a){P(2001,a)}});var ke=function(){this.a=[];this.c=!1;this.b=J()};ke.prototype.addSize=function(a,b){try{var c;if(!(c=!zd(a))){var d=b,f;if(!(f=zd(d))){var g;if(m(d))t:{for(var l=d.length,r=n(d)?d.split(""):d,d=0;d<l;d++)if(d in r&&!zd.call(void 0,r[d])){g=!1;break t}g=!0}else g=!1;f=g}c=!f}if(c)return this.c=!0,H(this.b,O("SizeMappingBuilder.addSize",arguments)),this;this.a.push([a,b]);return this}catch(Q){P(1601,Q)}};
ke.prototype.build=function(){try{if(this.c)return H(this.b,Gb()),null;Za(this.a);return this.a}catch(a){P(1602,a)}};var Ya=function(a,b){var c;t:{c=b[0];for(var d=a[0],f=Wa,g=Math.min(c.length,d.length),l=0;l<g;l++){var r=f(c[l],d[l]);if(0!=r){c=r;break t}}c=Wa(c.length,d.length)}return c};x("sizeMapping",function(){try{return new ke}catch(a){P(1603,a)}});var me=function(){var a=le;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};function ne(){Pa(document.getElementsByTagName("script"),function(a){var b=a.src;b&&(0<=b.indexOf("/tag/js/gpt.js")||0<=b.indexOf("/tag/js/gpt_mobile.js"))&&a.innerHTML&&!a.googletag_executed&&(a.googletag_executed=!0,eval(a.innerHTML))})}
try{var oe=vd(),pe=w().cmd;if(!pe||m(pe)){var qe=w().cmd=new Qc;pe&&0<pe.length&&qe.push.apply(qe,pe)}ne();var re=A("#34#");if(Math.random()<re){var se=document,te=se.createElement("iframe"),le;le=se?se.parentWindow||se.defaultView:window;for(var ve="//tpc.googlesyndication.com/safeframe/1-0-1/html/container.html",we,xe=le,ye=0;xe!=xe.parent;)ye++,xe=xe.parent;(we=ye)&&(ve+="?n="+we);te.src=(me()?"https:":"http:")+ve;te.style.visibility="hidden";te.style.display="none";var ze=se.getElementsByTagName("script");
if(0<ze.length){var Ae=ze[ze.length-1];Ae.parentNode&&Ae.parentNode.insertBefore(te,Ae.nextSibling)}}oe.tick("gpt_load")}catch(Be){P(2801,Be)};})()
