(function(){var e=void 0,g=!0,h=null,i=!1,j,l=this,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)},n=function(a){return"string"==typeof a},p=function(a){return"number"==typeof a},r=function(a){return"function"==aa(a)};Math.floor(2147483648*Math.random()).toString(36);
var ba=function(a,b,c){return a.call.apply(a.bind,arguments)},ca=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)}},t=function(a,b,c){t=Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?ba:ca;return t.apply(h,arguments)},u=function(a,b){function c(){}
c.prototype=b.prototype;a.xb=b.prototype;a.prototype=new c};var v=function(){return l.googletag||(l.googletag={})},w=function(a,b,c){var d=v();if(!(a in d)||c)d[a]=b},x=function(a,b){a.attachEvent?a.attachEvent("onload",b):a.addEventListener&&a.addEventListener("load",b,i)};var A=function(a,b,c,d,f){this.X=new Date;this.Pa=d||h;this.Oa=c||h;this.ua=a;this.va=b;this.W=f||h};j=A.prototype;j.Ha=function(){return this.Pa};j.Ga=function(){return this.Oa};j.Fa=function(){return this.ua};j.Ba=function(){return this.X};j.gb=function(){return this.va};j.ib=function(){return this.W};var da=["Debug","Info","Warning","Error","Fatal"];
A.prototype.toString=function(){var a=this.X.toTimeString()+": "+da[this.ua]+": "+this.va;this.W&&(a+=" Duration: "+(this.X.getTime()-this.W.Ba().getTime())+"ms.");return a};A.prototype.getTimestamp=A.prototype.Ba;A.prototype.getService=A.prototype.Ga;A.prototype.getSlot=A.prototype.Ha;A.prototype.getLevel=A.prototype.Fa;A.prototype.getMessage=A.prototype.gb;A.prototype.getReference=A.prototype.ib;var B=function(){this.B=[]};B.prototype.Za=function(){return this.B};B.prototype.cb=function(a){return ea(this,function(b){return b.Ga()===a})};B.prototype.eb=function(a){return ea(this,function(b){return b.Ha()===a})};B.prototype.bb=function(a){return ea(this,function(b){return b.Fa()>=a})};var ea=function(a,b){for(var c=[],d=0;d<a.B.length;++d)b(a.B[d])&&c.push(a.B[d]);return c};B.prototype.log=function(a,b,c,d,f){a=new A(a,b,c,d,f);this.B.push(a);return a};
B.prototype.info=function(a,b,c,d){return this.log(1,a,b,c,d)};var C=function(a,b,c,d){a.log(2,b,c,d,e)};B.prototype.error=function(a,b,c,d){return this.log(3,a,b,c,d)};var D=function(){var a=v();return a.debug_log||(a.debug_log=new B)};w("getEventLog",D);B.prototype.getAllEvents=B.prototype.Za;B.prototype.getEventsByService=B.prototype.cb;B.prototype.getEventsBySlot=B.prototype.eb;B.prototype.getEventsByLevel=B.prototype.bb;var E=function(){this.Ca=this.ba=0};E.prototype.push=function(a){for(var b=D(),c=0;c<arguments.length;++c)try{r(arguments[c])&&(arguments[c](),this.ba++)}catch(d){this.Ca++,b.error("Exception invoking function: "+d.message)}b.info("Invoked queued function. Total: "+this.ba+" Errors: "+this.Ca);return this.ba};E.prototype.push=E.prototype.push;(function(){function a(a){this.t={};this.tick=function(a,b,c){this.t[a]=[c!=e?c:(new Date).getTime(),b]};this.tick("start",h,a)}var b=new a;window.GPT_jstiming={Timer:a,load:b};if(window.performance&&window.performance.timing){var c=window.performance.timing,b=window.GPT_jstiming.load,d=c.navigationStart,c=c.responseStart;0<d&&c>=d&&(b.tick("_wtsrt",e,d),b.tick("wtsrt_","_wtsrt",c))}try{b=h,window.chrome&&window.chrome.csi&&(b=Math.floor(window.chrome.csi().pageT)),b==h&&window.gtbExternal&&(b=window.gtbExternal.pageT()),
b==h&&window.external&&(b=window.external.pageT),b&&(window.GPT_jstiming.pt=b)}catch(f){}})();if(window.GPT_jstiming){window.GPT_jstiming.Ea={};window.GPT_jstiming.Qa=1;var fa=function(a,b,c){var d=a.t[b],f=a.t.start;if(d&&(f||c))return d=a.t[b][0],c!=e?f=c:f=f[0],d-f},ga=function(a,b,c){var d="";window.GPT_jstiming.pt&&(d+="&srt="+window.GPT_jstiming.pt,delete 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 k=
window.chrome;if(k&&(k=k.loadTimes)){k().wasFetchedViaSpdy&&(d+="&p=s");if(k().wasNpnNegotiated){var d=d+"&npn=1",o=k().npnNegotiatedProtocol;o&&(d+="&npnv="+(encodeURIComponent||escape)(o))}k().wasAlternateProtocolAvailable&&(d+="&apa=1")}var y=a.t,G=y.start,k=[],o=[],s;for(s in y)if("start"!=s&&0!=s.indexOf("_")){var q=y[s][1];q?y[q]&&o.push(s+"."+fa(a,s,y[q][0])):G&&k.push(s+"."+fa(a,s))}delete y.start;if(b)for(var z in b)d+="&"+z+"="+b[z];(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,o.length?"&it="+o.join(","):"","",d,"&rt=",k.join(",")].join("")},ha=function(a,b,c){a=ga(a,b,c);if(!a)return"";var b=new Image,d=window.GPT_jstiming.Qa++;window.GPT_jstiming.Ea[d]=b;b.onload=b.onerror=function(){window.GPT_jstiming&&delete window.GPT_jstiming.Ea[d]};b.src=a;b=h;return a};window.GPT_jstiming.report=function(a,b,c){if("prerender"==document.webkitVisibilityState){var d=i,f=function(){if(!d){b?
b.prerender="1":b={prerender:"1"};var k;"prerender"==document.webkitVisibilityState?k=i:(ha(a,b,c),k=g);k&&(d=g,document.removeEventListener("webkitvisibilitychange",f,i))}};document.addEventListener("webkitvisibilitychange",f,i);return""}return ha(a,b,c)}};var F,ia,H,ja,ka=function(){return l.navigator?l.navigator.userAgent:h};ja=H=ia=F=i;var I;if(I=ka()){var la=l.navigator;F=0==I.indexOf("Opera");ia=!F&&-1!=I.indexOf("MSIE");H=!F&&-1!=I.indexOf("WebKit");ja=!F&&!H&&"Gecko"==la.product}var J=ia,ma=ja,na=H,oa;
a:{var K="",L;if(F&&l.opera)var pa=l.opera.version,K="function"==typeof pa?pa():pa;else if(ma?L=/rv\:([^\);]+)(\)|;)/:J?L=/MSIE\s+([^\);]+)(\)|;)/:na&&(L=/WebKit\/(\S+)/),L)var qa=L.exec(ka()),K=qa?qa[1]:"";if(J){var ra,sa=l.document;ra=sa?sa.documentMode:e;if(ra>parseFloat(K)){oa=""+ra;break a}}oa=K}
var ta=oa,ua={},va=function(a){if(!ua[a]){for(var b=0,c=(""+ta).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),d=(""+a).replace(/^[\s\xa0]+|[\s\xa0]+$/g,"").split("."),f=Math.max(c.length,d.length),k=0;0==b&&k<f;k++){var o=c[k]||"",y=d[k]||"",G=RegExp("(\\d*)(\\D*)","g"),s=RegExp("(\\d*)(\\D*)","g");do{var q=G.exec(o)||["","",""],z=s.exec(y)||["","",""];if(0==q[0].length&&0==z[0].length)break;b=((0==q[1].length?0:parseInt(q[1],10))<(0==z[1].length?0:parseInt(z[1],10))?-1:(0==q[1].length?0:parseInt(q[1],
10))>(0==z[1].length?0:parseInt(z[1],10))?1:0)||((0==q[2].length)<(0==z[2].length)?-1:(0==q[2].length)>(0==z[2].length)?1:0)||(q[2]<z[2]?-1:q[2]>z[2]?1:0)}while(0==b)}ua[a]=0<=b}},wa={},xa=function(){return wa[9]||(wa[9]=J&&!!document.documentMode&&9<=document.documentMode)};!J||xa();!ma&&!J||J&&xa()||ma&&va("1.9.1");J&&va("9");var M=function(a,b){this.Sa=a;this.Ra=b};M.prototype.mb=function(){return this.Sa};M.prototype.fb=function(){return this.Ra};M.prototype.getWidth=M.prototype.mb;M.prototype.getHeight=M.prototype.fb;var N=function(a,b,c){this.s=a;this.ya=p(b)?b:0;this.f=this.s+"_"+this.ya;this.Na=c||"gpt_unit_"+this.f};j=N.prototype;j.o=function(){return this.f};j.getName=function(){return this.s};j.Aa=function(){return this.ya};j.toString=N.prototype.o;j.k=function(){return this.Na};N.prototype.getId=N.prototype.o;N.prototype.getName=N.prototype.getName;N.prototype.getDomId=N.prototype.k;N.prototype.getInstance=N.prototype.Aa;var ya=function(a){return a.replace(/[^a-zA-Z0-9]/g,function(a){return"&#"+a.charCodeAt()+";"})},za=function(){var a=document,b=h;try{b=a.location.protocol}catch(c){}return"https:"==b?"https:":"http:"};var O=function(a,b,c,d){this.s=a;var f=[];if(m(c))if(1<c.length&&p(c[0])&&p(c[1]))f.push(new M(c[0],c[1]));else for(var k=0;k<c.length;++k){var o=c[k];m(o)&&(1<o.length&&p(o[0])&&p(o[1]))&&f.push(new M(o[0],o[1]))}this.Ja=f;this.f=new N(a,b,d);this.c=[];this.h={};this.m=h;this.b=D();this.b.info("Created slot: "+this.f,h,this);this.r=this.F=h;this.ja=this.ia="";this.L=g;this.g={};this.ka=i};j=O.prototype;
j.set=function(a,b){var c=[" attribute ",a," with value ",b," for slot ",this.getName()].join("");a&&n(a)&&b?(this.h[a]=b,this.F||this.r?C(this.b,"Setting"+c+" after its contents have been loaded",h,this):this.b.info("Setting"+c,h,this)):C(this.b,"Unable to set"+c,h,this);return this};j.get=function(a){return a in this.h?this.h[a]:h};j.w=function(){var a=[],b;for(b in this.h)r(this.h[b])||a.push(b);return a};
j.wa=function(a){for(var b=0;b<this.c.length;++b)if(a==this.c[b])return C(this.b,"Service "+a.getName()+" is already associated with slot "+this.f,a,this),this;this.c.push(a);a.T(this);return this};j.getName=function(){return this.s};j.i=function(){return this.f};j.jb=function(){return this.c};j.kb=function(){return this.Ja};j.u=function(){return!!document.getElementById(this.f.k())};j.K=function(a){this.m=a};j.xa=function(a){this.ja=a;return this};j.P=function(){return this.ja};
j.ca=function(a,b){var c=[];m(b)?c=b:b&&c.push(b.toString());var d=[" targeting attribute ",a," with value ",c.join()," for slot ",this.getName()].join("");if(a&&n(a)){if(this.b.info("Setting"+d,h,this),this.g[a]=c,this.F||this.r)for(d=0;d<this.c.length;++d){var f=this.c[d];f.isEnabled()&&f.na(this,a,c)}}else C(this.b,"Unable to set"+d,h,this);return this};j.Ta=function(){this.b.info("Clearing slot targeting.",h,this);this.g={};for(var a=0;a<this.c.length;++a){var b=this.c[a];b.isEnabled()&&b.clearSlotTargeting(this)}return this};
j.hb=function(){return this.ka};var Aa=function(a){if(!a.u())return a.b.error("Unable to write to slot "+a.f+". It has not yet been rendered.",h,a),i;var b=l.document,c=a.f.k(),b=b&&b.getElementById(c);if(!b)return a.b.error("Unable to find the div container with id "+c+" for slot "+a.f,h,a),i;c=a.m;return n(c)&&0<c.length?(a.pa(),b.innerHTML=c,a.oa(),g):i};j=O.prototype;j.Ya=function(a){this.F=this.b.info("Fetching ad for slot "+this.getName(),h,this);this.ia=a};j.$a=function(){return this.ia};
j.Xa=function(){this.b.info("Receiving ad for slot "+this.getName(),h,this,this.F)};j.pa=function(){this.r=this.b.info("Rendering ad for slot "+this.getName(),h,this)};j.oa=function(){this.b.info("Completed rendering ad for slot "+this.getName(),h,this,this.r)};O.prototype.set=O.prototype.set;O.prototype.get=O.prototype.get;O.prototype.getName=O.prototype.getName;O.prototype.getSlotId=O.prototype.i;O.prototype.getSizes=O.prototype.kb;O.prototype.addService=O.prototype.wa;
O.prototype.getOutOfPage=O.prototype.hb;O.prototype.getServices=O.prototype.jb;O.prototype.getAttributeKeys=O.prototype.w;O.prototype.fetchStarted=O.prototype.Ya;O.prototype.fetchEnded=O.prototype.Xa;O.prototype.renderStarted=O.prototype.pa;O.prototype.renderEnded=O.prototype.oa;O.prototype.hasWrapperDiv=O.prototype.u;O.prototype.getContentUrl=O.prototype.$a;O.prototype.setClickUrl=O.prototype.xa;O.prototype.getClickUrl=O.prototype.P;O.prototype.clearTargeting=O.prototype.Ta;
O.prototype.setTargeting=O.prototype.ca;var P=function(){this.A={};this.G={};this.b=D()};P.prototype.add=function(a,b,c){if(!n(a)||0>=a.length||!b)return h;a in this.A||(this.A[a]=[]);b=new O(a,this.A[a].length,b,c);c=b.i().k();if(this.G[c])return this.b.error("Div element "+c+" is already associated with another slot"),h;this.A[a].push(b);return this.G[b.i().k()]=b};P.prototype.find=function(a,b){var c=b||0,d=n(a)&&this.A[a]||[];return 0<=c&&c<d.length&&(d=d[c],d.i().Aa()==c)?d:h};
var Q=function(){var a=v();return a.slot_manager_instance||(a.slot_manager_instance=new P)},R=function(a,b,c){var d=Q();return d&&d.add(a,b,c)};w("defineOutOfPageSlot",function(a,b){var c=Q();return!c?h:(c=c.add(a,[1,1],b))?(c.ka=g,c):h});w("defineSlot",R);w("defineUnit",R);P.prototype.find=P.prototype.find;P.getInstance=Q;var Ba=function(a){var b=D();if(n(a)){var c;c=Q();c.G[a]?c=c.G[a]:(C(c.b,"Ad unit lookup for div "+a+" failed."),c=h);if(c)if(a=c,a.L&&!a.u())C(a.b,"Slot "+a.s+" does not have a container div with id: "+a.f.k()+".",h,a);else for(b=0;b<a.c.length;++b)a.c[b].isEnabled()&&a.c[b].C(a);else b.error("Div "+a+" is not mapped to a known ad unit.")}else b.error("Unknown div id in display(): "+a.toString())};w("display",Ba,g);var S=function(){this.sa=[];this.ta={};this.Y=i;this.h={};this.log=D();this.log.info("Created service: "+this.getName(),this)};j=S.prototype;j.getName=function(){return"unknown"};j.set=function(a,b){var c=["attribute ",a," with value ",b," for service ",this.getName()].join("");n(a)&&0<a.length?(this.h[a]=b,this.log.info("Setting "+c,this,h)):C(this.log,"Unable to set "+c,this,h);return this};j.get=function(a){return this.h[a]};
j.w=function(){var a=[],b;for(b in this.h)"function"!=typeof this.h[b]&&a.push(b);return a};j.l=function(){return this.sa};j.Da=function(){return this.ta};j.isEnabled=function(){return this.Y};j.enable=function(){if(this.Y)this.log.info("Service is already enabled.",this);else{this.Y=g;try{this.aa()}catch(a){this.log.error("Failed to enable service: "+a,this)}}};j.display=function(a,b,c,d){this.enable();a=c?R(a,b,c):R(a,b);a.wa(this);d&&a.xa(d);Ba(a.i().k())};
j.T=function(a){this.sa.push(a);this.ta[a.i().o()]=a;this.log.info("Associated "+this.getName()+" service with slot "+a.getName(),this,a)};j.clearSlotTargeting=function(){};j.na=function(){};S.prototype.getSlots=S.prototype.l;S.prototype.getSlotIdMap=S.prototype.Da;S.prototype.enable=S.prototype.enable;S.prototype.set=S.prototype.set;S.prototype.get=S.prototype.get;S.prototype.getAttributeKeys=S.prototype.w;S.prototype.display=S.prototype.display;var Ca=function(a,b){this.name=a;this.$=b?b:new l.GPT_jstiming.Timer;this.$.name=a;this.Z=[]};j=Ca.prototype;j.getName=function(){return this.name};j.tick=function(a,b){this.$.tick(a,b)};j.za=function(a){a&&this.Z.push(a)};j.report=function(){var a="https:"==l.location.protocol?"https://www.google.com/csi":"http://csi.gstatic.com/csi",b={};this.Z.length&&(b.e=this.Z.join());return l.GPT_jstiming.report(this.$,b,a)};j.Ia=function(a){x(window,function(){setTimeout(a,10)})};
var T=function(a){this.name=a};u(T,Ca);T.prototype.tick=function(){};T.prototype.za=function(){};T.prototype.report=function(){return h};T.prototype.Ia=function(){};var Da=function(){var a=l.GPT_jstiming.load,b=0.01;b==e&&(b=0.01);return l.GPT_jstiming&&l.GPT_jstiming.load&&("http:"==l.location.protocol||"https:"==l.location.protocol)&&Math.random()<b?new Ca("global",a):new T("global")};
(function(){if(!v()._gpt_timer_&&l.GPT_jstiming){var a=Da();a.Ia(function(){a.tick("load");a.report()});w("_gpt_timer_",a)}return v()._gpt_timer_})();var U=function(){this.c={};this.M=i;this.b=D();this.La=this.b.info("Google service JS loaded");x(window,t(U.prototype.Ma,this))};U.prototype.add=function(a){this.c[a.getName()]=a};U.prototype.find=function(a){var b=h;a in this.c&&(b=this.c[a]);return b};U.prototype.Ma=function(){this.M=g;this.b.info("Page load complete",h,h,this.La)};var V=function(){var a=v();return a.service_manager_instance||(a.service_manager_instance=new U)};
w("enableServices",function(){var a=V(),b;for(b in a.c){var c=a.c[b];if(!r(c)){c.enable();var c=b,d=v()._gpt_timer_;d&&d.za(c)}}});var W=function(){S.call(this);this.la=g;this.V=i;this.I=0;this.J="";this.S=this.R=this.Q=this.z=e;this.ma=this.U=i;this.O={};this.H=i};u(W,S);j=W.prototype;
j.aa=function(){if(this.la){if(!this.ma){var a=document,b=document.createElement("script");b.async=g;b.type="text/javascript";b.src=this.n();try{var c=a.getElementsByTagName("script")[0];this.log.info("Fetching companion ads implementation",this);this.ma=g;c.parentNode&&c.parentNode.insertBefore(b,c)}catch(d){this.log.error("Unable to fetch companion ads implementation",this)}}}else this.U||(l.document.write('<script type="text/javascript" src="'+ya(this.n())+'"><\/script>'),this.U=g)};
j.Ua=function(){this.la=i};j.sb=function(a){"boolean"==typeof a&&(this.V=a)};j.ob=function(a){if(this.V){for(var b=this.Da(),c=[],d=0;d<a.length;++d){var f=a[d];f in b?c.push(b[f]):C(this.log,"Cannot find slot with id "+f+".",this)}Ea(this,c)}};j.qa=function(){var a=googletag.pubads();if(!a.isEnabled())return i;var a=a.l(),b=this.l();if(a.length!=b.length)return i;for(var c=0;c<b.length;++c){for(var d=i,f=0;f<a.length;++f)if(b[c]===a[f]){d=g;break}if(!d)return i}return g};
j.rb=function(){this.V&&Ea(this,h)};
j.ub=function(a,b,c,d,f,k,o){this.H=i;this.I=0;this.J="";this.S=this.R=this.Q=this.z=e;this.I=a;this.J=b;this.z=c;0==this.z.length&&(this.z=e);a:{a=d.split(",");b=[];for(c=0;c<a.length;++c){d=a[c].split("x");if(2!=d.length){this.log.error("The master ad size specified is invalid.");a=e;break a}d=[Number(d[0]),Number(d[1])];if(isNaN(d[0])||isNaN(d[1])){this.log.error("The master ad size specified is invalid.");a=e;break a}b.push(d)}a=b}this.Q=a;f!==e&&(this.R=f);k!==e&&(this.S=k);o!==e&&(this.H=o)};
j.ab=function(){return googletag.pubads().getCorrelator()};j.getVideoStreamCorrelator=function(){return googletag.pubads().getVideoStreamCorrelator()};j.vb=function(a){this.I=a};j.wb=function(a){this.J=a};
var Ea=function(a,b){var c=googletag.pubads();if(c.isEnabled()){if(a.H){if(!a.qa()){C(a.log,"Persistent roadblock requested, but ad slots are incorrectly configured. All ad slots on page must have both pubads and companionAds services attached. Skipping refresh.");return}c.clearNoRefreshState();c.clear()}c.ra(b,a.I,a.J,a.z,a.Q,a.R,a.S,a.H)}else a.log.error("Pubads service is not enabled, cannot use refresh feature.")};j=W.prototype;
j.isSlotAPersistentRoadblock=function(a){var b=googletag.pubads();if(b.isEnabled())return b.isSlotAPersistentRoadblock(a);this.log.error("Pubads service is not enabled, cannot check whether slot is a persistent roadblock.  Content writing allowed.");return i};j.getName=function(){return"companion_ads"};j.n=function(){return za()+"//pagead2.googlesyndication.com/pagead/show_companion_ad.js"};j.qb=function(){this.log.info("Companion ads implementation fetched.",this);this.U=g};
j.p=function(a){var b=a&&a.i().o();return b&&b in this.O&&a.u()&&this.isEnabled()&&!this.isSlotAPersistentRoadblock(a)?(a.K(this.O[b]),Aa(a)):i};j.C=function(a){this.p(a)};j.fillSlot=function(a,b){return a&&n(b)&&0<b.length?(this.O[a.i().toString()]=b,this.p(a)):i};w("companionAds",function(){var a=V(),b=a.find("companion_ads");b||(b=new W,a.add(b));return b});W.prototype.fillSlot=W.prototype.fillSlot;W.prototype.enableSyncLoading=W.prototype.Ua;W.prototype.isSlotAPersistentRoadblock=W.prototype.isSlotAPersistentRoadblock;
W.prototype.isRoadblockingSupported=W.prototype.qa;W.prototype.onImplementationLoaded=W.prototype.qb;W.prototype.notifyUnfilledSlots=W.prototype.ob;W.prototype.refreshAllSlots=W.prototype.rb;W.prototype.setRefreshUnfilledSlots=W.prototype.sb;W.prototype.setXfpCorrelator=W.prototype.vb;W.prototype.setXfpPreviousAdsToken=W.prototype.wb;W.prototype.setVideoSessionInfo=W.prototype.ub;W.prototype.getDisplayAdsCorrelator=W.prototype.ab;W.prototype.getVideoStreamCorrelator=W.prototype.getVideoStreamCorrelator;var X=function(){S.call(this);this.m={}};u(X,S);j=X.prototype;j.getName=function(){return"content"};j.p=function(a){var b=a&&a.i().o();return b in this.m&&this.isEnabled()&&a.u()&&!a.r?(a.K(this.m[b]),Aa(a)):i};j.aa=function(){for(var a=this.l(),b=0;b<a.length;++b)this.p(a[b])};j.C=function(a){this.p(a)};j.K=function(a,b){a&&(n(b)&&0<b.length)&&(this.m[a.i().o()]=b,this.p(a))};w("content",function(){var a=V(),b=a.find("content");b||(b=new X,a.add(b));return b});X.prototype.setContent=X.prototype.K;var Y=function(){S.call(this);this.v=i;this.a=h;this.g={};this.fa=i;this.ea=g;this.q=this.da=i;this.d=g;this.D=i;this.j=[];this.N=i;this.ga=this.ha=""};u(Y,S);
var Z={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"};j=Y.prototype;
j.aa=function(){if(this.d){if(!this.v){var a=document,b=a.createElement("script");V();b.async=g;b.type="text/javascript";b.src=this.n();(a=a.getElementsByTagName("head")[0]||a.getElementsByTagName("body")[0])?(this.log.info("Fetching GPT implementation",this),a.appendChild(b),this.v=g):this.log.error("Unable to fetch GPT implementation",this)}}else b=V(),!this.v&&!b.M&&(b=document,this.v=g,b.write('<script type="text/javascript" src="'+ya(this.n())+'"><\/script>'))};j.getName=function(){return"publisher_ads"};
j.n=function(){return za()+"//partner.googleadservices.com/gampad/google_ads_gpt.js"};
j.pb=function(){V();var a=v().impl;if(a&&a.pubads){this.a=a.pubads;this.log.info("GPT implementation fetched.",this);this.ea||this.a.disableFetch();this.D&&this.a.collapseEmptyDivs();if(this.q){this.d?this.a.enableAsyncSingleRequest():this.a.enableSingleRequest();Fa(this);for(var a=this.l(),b=0;b<a.length;++b)Ga(this,a[b])}else this.d&&this.a.enableAsyncRendering();this.da&&this.a.disableInitialLoad();Ha(this);if(0<this.j.length)for(b=0;b<this.j.length;++b)this.C(this.j[b])}else this.log.error("Unable to fetch pubads service implementation from "+
this.n(),this)};j.T=function(a){this.d||(a.L=i);S.prototype.T.call(this,a)};
j.C=function(a){if(V().M&&!this.d)this.log.error("Attempting to display ad in sync mode after page load is complete.",this);else if(this.a){if(Fa(this),this.q||Ga(this,a))this.log.info("Calling fillslot"),this.a.fillSlot(a)}else if(this.d||this.v&&0==this.j.length){for(var b=i,c=0;c<this.j.length;++c)a===this.j[c]&&(b=g);b||(this.log.info("Delaying rendering of ad slot "+a.getName()+" pending loading of the GPT implementation",this,a),this.j.push(a))}else this.log.error("Skipping rendering of slot "+
a.getName()+" due to missing GPT implementaition",this,a)};
var Ga=function(a,b){if(a.a&&a.a.addSlot(b)==h)return a.log.error("Unable to process name for slot "+b.getName(),a,b),i;for(var c=b.w(),d=0;d<c.length;++d)c[d]in Z?a.a.addAdSenseSlotAttribute(b,Z[c[d]],b.get(c[d])):C(a.log,"Ignoring unknown pubads attribute "+c[d]+" with value "+b.get(c[d])+" for slot "+b.getName(),a,b);if(r(a.a.addSlotTargeting)){var c=[],f;for(f in b.g)r(b.g[f])||c.push(f);for(f=0;f<c.length;++f)a.a.addSlotTargeting(b,c[f],c[f]in b.g?b.g[c[f]]:[])}b.P()&&r(a.a.Ka)&&a.a.Ka(b,b.P());
return g},Fa=function(a){if(!a.fa){a.fa=g;for(var b=a.w(),c=0;c<b.length;++c)b[c]in Z?a.a.addAdSensePageAttribute(Z[b[c]],a.get(b[c])):C(a.log,"Ignoring unknown pubads attribute "+b[c]+" with value "+a.get(b[c]),a);a.a.addAdSensePageAttribute("google_tag_info","v2");for(var d in a.g)if(b=a.g[d],m(b))for(c=0;c<b.length;++c)a.a.addAttribute(d,b[c])}};j=Y.prototype;
j.ca=function(a,b){var c=[];n(b)?c.push(b):c=b;var d=[" targeting attribute ",a," with value ",c.join()," for service ",this.getName()].join("");a&&n(a)?(this.g[a]=c,this.log.info("Setting"+d,this)):C(this.log,"Unable to set"+d,this);return this};j.nb=function(){this.a?C(this.log,"Ignoring noFetch since the pubads service is already enabled",this):this.ea=i};j.disableInitialLoad=function(){this.a?C(this.log,"Ignoring disableInitialLoad since the pubads service is already enabled",this):this.da=g};
j.enableSingleRequest=function(){this.isEnabled()&&!this.q?C(this.log,"Ignoring change to single request mode since the service is already enabled",this):(this.log.info("Using single request mode to fetch ads",this),this.q=g);return this.q};j.enableAsyncRendering=function(){this.isEnabled()&&!this.d?C(this.log,"Ignoring change to async-rendering mode since the service is already enabled",this):(this.log.info("Using async-rendering mode to fetch ads",this),this.d=g);return this.d};
j.Va=function(){if(this.isEnabled()&&this.d)C(this.log,"Ignoring change to async-rendering mode since the service is already enabled",this);else{this.log.info("Using sync-rendering mode to fetch ads",this);this.d=i;for(var a=this.l(),b=0;b<a.length;++b)a[b].L=i}return!this.d};
j.refresh=function(a){if(a&&!m(a))C(this.log,"Slots to refresh must be an array.",this);else if(this.a){var b=h;if(a){for(var b=[],c=0;c<a.length;++c){var d=a[c];d instanceof O?b.push(d):C(this.log,"Slot object at position "+c+" is of incorrect type.",this)}if(!b.length){this.log.error("No valid slot ids found, refresh aborted.",this);return}}this.log.info("Refreshing ads",this);this.a.refresh(b)}else C(this.log,"The ads cannot be refreshed because the GPT implementation Javascript is not yet loaded.",
this)};
j.ra=function(a,b,c,d,f,k,o,y){if(a&&!m(a))C(this.log,"Slots to refresh must be an array.",this);else if(b&&!p(b))C(this.log,"Correlator must be a number.",this);else if(c&&!n(c))C(this.log,"Pstok must be a string.",this);else if(d&&!n(d))C(this.log,"Video IU must be a string.",this);else if(f&&!m(f))C(this.log,"Video IU sizes must be an array.",this);else if(k&&!p(k))C(this.log,"Pod number must be a number.",this);else if(o&&!p(o))C(this.log,"Pod position must be a number.",this);else if(y&&"boolean"!=
typeof y)C(this.log,"Persistent roadblocks only must be a boolean.",this);else if(this.a){var G=h;if(a){for(var G=[],s=0;s<a.length;++s){var q=a[s];q instanceof O?G.push(q):C(this.log,"Slot object at position "+s+" is of incorrect type.",this)}if(!G.length){this.log.error("No valid slot ids found, refresh aborted.",this);return}}if(f)for(s=0;s<f.length;++s){a=f[s];if(!m(a)||2!=a.length){this.log.error("Video size array must have only two values, refresh aborted.",this);return}for(q=0;q<a.length;++q)if(!p(a[q])){this.log.error("Video size array must contain only numbers, refresh aborted.",
this);return}}this.log.info("Refreshing ads",this);this.a.refresh(G,b,c,d,f,k,o,y)}else C(this.log,"The ads cannot be refreshed because the GPT implementation Javascript is not yet loaded.",this)};j.Wa=function(){this.N=g;Ha(this)};j.tb=function(a,b){this.N=g;this.ha=a;this.ga=b;Ha(this)};j.lb=function(){return!this.a||this.a.getVideoContentInformation==h?h:this.a.getVideoContentInformation()};var Ha=function(a){a.N&&(a.a&&a.a.setVideoContentInformation)&&a.a.setVideoContentInformation(a.ha,a.ga)};
j=Y.prototype;j.getCorrelator=function(){return 0==this.l().length?"not_available":!this.a?"not_loaded":this.a.getCorrelator==h?"not_available":this.a.getCorrelator()};j.getVideoStreamCorrelator=function(){if(!this.a||this.a.getVideoStreamCorrelator==h)return 0;var a=this.a.getVideoStreamCorrelator();return isNaN(a)?0:a};j.isAdRequestFinished=function(){return!this.a?i:this.a.isAdRequestFinished!=h?this.a.isAdRequestFinished():h};
j.isSlotAPersistentRoadblock=function(a){return this.a&&this.a.isSlotAPersistentRoadblock!=h?this.a.isSlotAPersistentRoadblock(a):i};j.collapseEmptyDivs=function(){this.D?C(this.log,"Ignoring subsequent call to set div collapse mode (already set)",this):this.isEnabled()?C(this.log,"Ignoring change to div collapse mode since the service is already enabled",this):(this.log.info("Enabling collapsing of containers when there is no ad content",this),this.D=g);return this.D};
j.clear=function(){if(!this.a)return C(this.log,"The slot contents cannot be cleared because the GPT implementation Javascript is not yet loaded.",this),i;if(this.a.clearSlotContents!=h)return this.log.info("Clearing slot contents.",this),this.a.clearSlotContents();C(this.log,"The GPT implementation does not yet support clearing slots.");return i};
j.clearNoRefreshState=function(){this.a?this.a.clearNoRefreshState!=h?(this.log.info("Clearing no_refresh state.",this),this.a.clearNoRefreshState()):C(this.log,"The GPT implementation does not yet support clearNoRefreshState"):C(this.log,"The no_refresh state cannot be cleared because the GPT implementation Javascript is not yet loaded.",this)};j.clearSlotTargeting=function(a){this.a&&r(this.a.clearSlotTargeting)&&this.a.clearSlotTargeting(a)};
j.na=function(a,b,c){this.a&&r(this.a.addSlotTargeting)&&this.a.addSlotTargeting(a,b,c)};w("pubads",function(){var a=V(),b=a.find("publisher_ads");b||(b=new Y,a.add(b));return b});Y.prototype.clear=Y.prototype.clear;Y.prototype.clearNoRefreshState=Y.prototype.clearNoRefreshState;Y.prototype.collapseEmptyDivs=Y.prototype.collapseEmptyDivs;Y.prototype.enableAsyncRendering=Y.prototype.enableAsyncRendering;Y.prototype.enableSingleRequest=Y.prototype.enableSingleRequest;
Y.prototype.enableSyncRendering=Y.prototype.Va;Y.prototype.enableVideoAds=Y.prototype.Wa;Y.prototype.getCorrelator=Y.prototype.getCorrelator;Y.prototype.getVideoContent=Y.prototype.lb;Y.prototype.getVideoStreamCorrelator=Y.prototype.getVideoStreamCorrelator;Y.prototype.isAdRequestFinished=Y.prototype.isAdRequestFinished;Y.prototype.isSlotAPersistentRoadblock=Y.prototype.isSlotAPersistentRoadblock;Y.prototype.noFetch=Y.prototype.nb;Y.prototype.onGoogleAdsJsLoad=Y.prototype.pb;Y.prototype.refresh=Y.prototype.refresh;
Y.prototype.setTargeting=Y.prototype.ca;Y.prototype.setVideoContent=Y.prototype.tb;Y.prototype.videoRefresh=Y.prototype.ra;var Ia=/#|$/,Ja=function(a,b){var c=a.search(Ia),d;a:{d=0;for(var f=b.length;0<=(d=a.indexOf(b,d))&&d<c;){var k=a.charCodeAt(d-1);if(38==k||63==k)if(k=a.charCodeAt(d+f),!k||61==k||38==k||35==k)break a;d+=f+1}d=-1}if(0>d)return h;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 Ka=function(){var a=window,b=document;if(v()._pubconsole_disable_)return i;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 g;V();c=i;try{c=a.top.document.URL===b.URL}catch(d){}a=c?b.URL:b.referrer;return Ja(a,"google_debug")!==h||Ja(a,"google_console")!==h||Ja(a,"google_force_console")!==h};
x(window,function(){if(Ka()){var a=document,b=a.createElement("script");b.type="text/javascript";b.src=za()+"//publisherconsole.appspot.com/js/loader.js";b.async=g;(a=a.getElementsByTagName("script")[0])&&a.parentNode&&a.parentNode.insertBefore(b,a)}});w("disablePublisherConsole",function(){v()._pubconsole_disable_=g});var $=v().cmd;if(!$||m($)){var La=v().cmd=new E;$&&0<$.length&&La.push.apply(La,$)}(function(){var a=document.getElementsByTagName("script");0<a.length&&(a=a[a.length-1],a.src&&(0<=a.src.indexOf("/tag/js/gpt.js")&&a.innerHTML&&!a.googletag_executed)&&(a.googletag_executed=g,eval(a.innerHTML)))})();})()
