(function(){var l=this,aa=function(){},q=function(a){return"string"==typeof a},r="closure_uid_"+(1E9*Math.random()>>>0),ba=0,ca=function(a,b,c){return a.call.apply(a.bind,arguments)},da=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")?
ca:da;return t.apply(null,arguments)},ea=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)}},u=Date.now||function(){return+new Date},fa=function(){var a=v,b=w;function c(){}c.prototype=b.prototype;a.ua=b.prototype;a.prototype=new c;a.ta=function(a,c,f){for(var d=Array(arguments.length-2),e=2;e<arguments.length;e++)d[e-2]=arguments[e];return b.prototype[c].apply(a,d)}};var ga={CLOSE:"c",DIRECTIONS:"d",IN_APP_PURCHASE:"p",LOCATION:"l",TELEPHONE:"t",LOCATION_FORMAT_MAP:"l_m",LOCATION_FORMAT_LANDING_PAGE:"l_l",LOCATION_FORMAT_STORE_INFO:"l_s",LOCATION_FORMAT_DIRECTIONS:"l_d",LOCATION_FORMAT_CALL:"l_c",LOCATION_FORMAT_TEXT:"l_t",LOCATION_FORMAT_IMAGE:"l_i",QUERY:"q"};var x=function(a,b){var c=a.length-b.length;return 0<=c&&a.indexOf(b,c)==c},ha=String.prototype.trim?function(a){return a.trim()}:function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},y=function(a,b){return a<b?-1:a>b?1:0};var w=function(a,b){this.qa=a;this.H=b;var c=document.documentMode;this.U=c&&10>c;this.h={};this.B=!1},ka=function(a){a.B=!0;for(var b in a.h)a.h[b].K&&ia(a,b),ja(a,b)},la=function(a,b){var c=b.n;switch(b.t){case 1:var d=b.d,c=z(a,c);c.K(d);break;case 2:var d=a,e=z(d,c);e.L=!0;ja(d,c)}},z=function(a,b){a.h[b]||(a.h[b]={L:!1,D:[],K:null});return a.h[b]},ja=function(a,b){var c=z(a,b);if(c.L){for(var d=c.D.length,e=0;e<d;e++)a.sendMessage(b,c.D[e]);c.D=[]}},ia=function(a,b){if(a.B){var c={t:2};c.s=a.H;
c.n=b;a.send(c)}};w.prototype.F=function(a,b){var c=z(this,a);c.K=b;ia(this,a)};w.prototype.sendMessage=function(a,b){var c=z(this,a);this.B&&c.L?(c={t:1},c.s=this.H,c.n=a,c.d=b,this.send(c)):c.D.push(b)};w.prototype.ha=function(){return this.B};var ma=document,A=window;var na=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(q(a))return q(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},oa=Array.prototype.forEach?function(a,b,c){Array.prototype.forEach.call(a,b,c)}:function(a,b,c){for(var d=a.length,e=q(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},pa=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=q(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return!0;return!1};var qa=function(a,b){var c,d;for(d in a)b.call(c,a[d],d,a)},ra=function(a,b){var c,d={},e;for(e in a)b.call(c,a[e],e,a)&&(d[e]=a[e]);return d},sa=function(a,b){var c,d;for(d in a)if(b.call(c,a[d],d,a))return d};var B;a:{var ta=l.navigator;if(ta){var ua=ta.userAgent;if(ua){B=ua;break a}}B=""}var C=function(a){var b=B;return-1!=b.indexOf(a)},va=function(){var a="WebKit",b=B;return-1!=b.toLowerCase().indexOf(a.toLowerCase())};var D=function(a){D[" "](a);return a};D[" "]=aa;var xa=function(a,b){var c,d=wa;c=c?c(a):a;Object.prototype.hasOwnProperty.call(d,c)||(d[c]=b(a))};var ya=C("Opera"),E=C("Trident")||C("MSIE"),za=C("Edge"),F=C("Gecko")&&!(va()&&!C("Edge"))&&!(C("Trident")||C("MSIE"))&&!C("Edge"),Aa=va()&&!C("Edge"),Ba=function(){var a=B;if(F)return/rv\:([^\);]+)(\)|;)/.exec(a);if(za)return/Edge\/([\d\.]+)/.exec(a);if(E)return/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(a);if(Aa)return/WebKit\/(\S+)/.exec(a);if(ya)return/(?:Version)[ \/]?(\S+)/.exec(a)},Ca=function(){var a=l.document;return a?a.documentMode:void 0},G;
a:{var H="",I=Ba();I&&(H=I?I[1]:"");if(E){var J=Ca();if(null!=J&&J>parseFloat(H)){G=String(J);break a}}G=H}
var Da=G,wa={},Ea=function(a){xa(a,function(){var b,c=a;b=Da;var d=0;b=ha(String(b)).split(".");for(var c=ha(String(c)).split("."),e=Math.max(b.length,c.length),f=0;0==d&&f<e;f++){var g=b[f]||"",h=c[f]||"";do{g=/(\d*)(\D*)(.*)/.exec(g)||["","","",""];h=/(\d*)(\D*)(.*)/.exec(h)||["","","",""];if(0==g[0].length&&0==h[0].length)break;var d=0==g[1].length?0:parseInt(g[1],10),m=0==h[1].length?0:parseInt(h[1],10),d=y(d,m)||y(0==g[2].length,0==h[2].length)||y(g[2],h[2]),g=g[3],h=h[3]}while(0==d)}b=d;return 0<=
b})},Fa;var Ga=l.document,Ha=Ca();Fa=Ga&&E?Ha||("CSS1Compat"==Ga.compatMode?parseInt(Da,10):5):void 0;var Ia=Fa;var K;if(!(K=!F&&!E)){var L;if(L=E){var Ja=9;L=Number(Ia)>=Ja}K=L}K||F&&Ea("1.9.1");E&&Ea("9");var N=function(){var a=M;try{var b;if(b=!!a&&null!=a.location.href)a:{var c="foo";try{D(a[c]);b=!0;break a}catch(d){}b=!1}return b}catch(d){return!1}},Ka=function(a,b){var c,d;for(d in a)Object.prototype.hasOwnProperty.call(a,d)&&b.call(c,a[d],d,a)};var La=function(){var a=!1;try{var b=Object.defineProperty({},"passive",{get:function(){a=!0}});window.addEventListener("test",null,b)}catch(c){}return a},Ma=La(),Na=function(a,b,c){var d;a.addEventListener?a.addEventListener(b,c,Ma?d:d?d.capture||!1:!1):a.attachEvent&&a.attachEvent("on"+b,c)},Oa=function(a,b,c){var d;a.removeEventListener?a.removeEventListener(b,c,Ma?d:d?d.capture||!1:!1):a.detachEvent&&a.detachEvent("on"+b,c)};var Pa=function(a,b,c,d,e){this.R=c||4E3;this.j=a||"&";this.X=b||",$";this.I=void 0!==d?d:"trn";this.ra=e||null;this.W=!1;this.J={};this.ia=0;this.w=[]},Sa=function(a,b,c,d){var e="";b=b+"//"+c+d;var f=Qa(a)-d.length-e.length;if(0>f)return"";a.w.sort(function(a,b){return a-b});d=null;c="";for(var g=0;g<a.w.length;g++)for(var h=a.w[g],m=a.J[h],k=0;k<m.length;k++){if(!f){d=null==d?h:d;break}var n=Ra(m[k],a.j,a.X);if(n){n=c+n;if(f>=n.length){f-=n.length;b+=n;c=a.j;break}else a.W&&(c=f,n[c-1]==a.j&&--c,
b+=n.substr(0,c),c=a.j,f=0);d=null==d?h:d}}g="";a.I&&null!=d&&(d=a.ra||d,g=c+a.I+"="+d);return b+g+e},Qa=function(a){if(!a.I)return a.R;var b=1,c;for(c in a.J)b=c.length>b?c.length:b;return a.R-a.I.length-b-a.j.length-1},Ra=function(a,b,c,d,e){var f=[];Ka(a,function(a,h){var g=Ta(a,b,c,d,e);g&&f.push(h+"="+g)});return f.join(b)},Ta=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(Ta(a[g],
b,c,d+1,e));return f.join(c[d])}}else if("object"==typeof a)return e=e||0,2>e?encodeURIComponent(Ra(a,b,c,d,e+1)):"...";return encodeURIComponent(String(a))};var Va=function(){var a;a=Ua()?"http:":"https:";var b="pagead2.googlesyndication.com",c="/pagead/gen_204?id=",d=.01;this.ka=a;this.aa=b;this.ja=c;this.$=d;this.pa=Math.random()},Za=function(a,b,c,d,e){var f=Wa;if(Xa(f,!!c,d))try{var g;b instanceof Pa?g=b:(g=new Pa,Ka(b,function(a,b){var c=g,d=b,e=a,f=c.ia++,h={};h[d]=e;d=[h];c.w.push(f);c.J[f]=d}));var h=Sa(g,f.ka,f.aa,f.ja+a+"&");h&&("undefined"===typeof e?Ya(h):Ya(h,e))}catch(m){}},Xa=function(a,b,c){c=c||a.$;a=b?a.pa:Math.random();return a<c},
Ya=function(a,b){var c=l;c.google_image_requests||(c.google_image_requests=[]);var d=c.document.createElement("img");if(b){var e=function(a){b(a);Oa(d,"load",e);Oa(d,"error",e)};Na(d,"load",e);Na(d,"error",e)}d.src=a;c.google_image_requests.push(d)};var $a=function(a,b){var c,d;d=d||document;var e=d.createElement("script");e.type="text/javascript";b&&(void 0!==e.onreadystatechange?e.onreadystatechange=function(){if("complete"==e.readyState||"loaded"==e.readyState)try{b()}catch(g){}}:e.onload=b);c&&(e.id=c);e.src=a;var f=d.getElementsByTagName("head")[0];if(f)try{window.setTimeout(function(){f.appendChild(e)},0)}catch(g){}},Ua=function(){var a;return"http:"===(a||A).location.protocol},ab=!!window.google_async_iframe_id,M=ab&&window.parent||window,
bb=function(){if(ab&&!N()){var a="."+ma.domain;try{for(;2<a.split(".").length&&!N();)ma.domain=a=a.substr(a.indexOf(".")+1),M=window.parent}catch(b){}N()||(M=window)}return M};var O=function(a,b){this.Y=b;this.N=null;this.l="";this.a="1";$a(a,t(this.fa,this))};O.prototype.fa=function(){this.a=null;if(window.botguard)if(window.botguard.bg)try{this.N=new window.botguard.bg(this.Y)}catch(a){this.a="5"}else this.a="3";else this.a="2"};var cb=function(a){if(a.a)return"";if(!a.N.invoke)return a.a="4","";var b;try{b=a.N.invoke()}catch(c){return a.a="6",""}return b&&b.length?b:(a.a="6","")};
O.prototype.getError=function(){return this.a?this.a:this.l.length?3>this.l.length?"7":770<this.l.length?"8":null:null};var v=function(a,b,c,d){var e;try{e=!!document.cookie}catch(f){e=!1}if(e&&(e=window.location.origin||window.location.protocol+"//"+window.location.host,!0!==window.secureChannel_allowAnyParent&&b!==e&&-1===c.indexOf(e)))throw Error();window.postMessage&&(w.call(this,a,d),this.V=!!window.MessageChannel,this.G=b,this.b=this.C=null,window.addEventListener("message",t(this.ea,this),!1),window.addEventListener("load",t(this.ga,this),!1))};fa();
v.prototype.send=function(a){this.V?this.C&&this.C.postMessage(a):(a=this.U?JSON.stringify(a):a,this.b.contentWindow.postMessage(a,"*"))};
v.prototype.ga=function(){var a={t:0};a.s=this.H;if(this.V){var b=new MessageChannel;this.C=b.port1;this.C.onmessage=t(function(a){la(this,a.data)},this);this.qa.postMessage(a,this.G,[b.port2]);ka(this)}else this.b=document.createElement("iframe"),this.b.style.display="none",b='<!doctype html><html><head><script>window.addEventListener("message",function(e){e.source.parent.postMessage(e.data,'+JSON.stringify(this.G)+");},false);\x3c/script></head><body></body></html>",this.b.srcdoc=b,this.b.src="javascript:'"+
encodeURI(b)+"'",this.b.onload=t(function(){this.send(a);ka(this)},this),document.body.appendChild(this.b)};v.prototype.ea=function(a){var b;b=a.data;b=this.U?JSON.parse(b):b;b.s!==this.H||a.source!==window.parent||"*"!==this.G&&a.origin!==this.G||la(this,b)};var db=function(a,b,c,d){var e=null,f=null,g=null,h="";a&&(h+=a+":");c&&(h+="//",b&&(h+=b+"@"),h+=c,d&&(h+=":"+d));e&&(h+=e);f&&(h+="?"+f);g&&(h+="#"+g);return h},P=/^(?:([^:/?#.]+):)?(?:\/\/(?:([^/?#]*)@)?([^/#?]*?)(?::([0-9]+))?(?=[/#?]|$))?([^?#]+)?(?:\?([^#]*))?(?:#([\s\S]*))?$/,eb=function(a){var b=!0;return a?b?decodeURI(a):decodeURIComponent(a):a};var Q=function(a,b){this.g=a;this.v=b;this.O=[];this.M=Infinity;this.A=null;var c=this.v.bg;c&&(this.A=new O(c.u,c.c));this.g.F("event",t(this.da,this));window.addEventListener("click",t(this.la,this),!0);window.addEventListener("touchstart",t(this.ma,this),!0);fb(this);this.exit=this.ba;this.exitNonCharging=this.ca;this.RedirectType=ga;this.reportInteraction_=this.na;this.updateUrls_=this.sa;this.configureCloseButton=this.Z},fb=function(a){a.g.F("exit-pmcfg",t(function(a){this.S=a},a))};
Q.prototype.ba=function(a,b){gb(this,a,void 0,b)};Q.prototype.ca=function(a){gb(this,a,38)};Q.prototype.na=function(a){var b={};b.i=a;a={};a.i=b;R(this,a)||this.g.sendMessage("interactions",b)};Q.prototype.sa=function(a){var b={};b.f=a;a={};a.u=b;R(this,a)||this.g.sendMessage("url_update",b)};Q.prototype.Z=function(a){var b={};b.t=a;this.g.sendMessage("mb_close_btn",b)};
var gb=function(a,b,c,d){var e;if(1!=a.v.exit_strategy||d)e=!1;else{var f;if(f=b)f=(f=(f=a.v.google_template_data)&&f.adData)&&f[0]&&f[0][b];f=f||a.v.redirect_url;e=q(f)&&(f.match(P)[1]||null);e=q(e)&&0==e.toLowerCase().indexOf("http")?null!=A.open(f,"_blank"):!1}f={};f.f=b;f.c=c;f.r=d;f.d=a.O;f.o=e;a.A&&(b=a.A,b.l=cb(b),b=b.l,f.br=b,f.be=a.A.getError());R(a,f)||a.g.sendMessage("exit",f)},R=function(a,b){if(a.S&&A.parent.postMessage){var c={};c.n=a.S;c.er=b;A.parent.postMessage(c,"*");return!0}return!1},
hb=function(a,b,c,d){var e={};e.x=b;e.y=c;e.e=d;e.t=Date.now()-a.M;e.ts=Date.now();a.O.push(e)};Q.prototype.la=function(a){hb(this,a.clientX,a.clientY,0)};Q.prototype.ma=function(a){a.changedTouches&&0<a.changedTouches.length&&hb(this,a.changedTouches[0].clientX,a.changedTouches[0].clientY,1)};Q.prototype.da=function(a){switch(a.e){case "onshow":this.M=u()}};var jb=function(a){ib();this.enabled=Math.random()<a},ib=l.performance&&l.performance.now?t(l.performance.now,l.performance):u;jb.prototype.install=function(a){a=a||window;a.google_js_reporting_queue=a.google_js_reporting_queue||[]};var Wa,kb=new jb(1);Wa=new Va;kb.install(bb());var mb=function(a){var b,c=b||lb;return function(){var b=this||l,b=b.closure_memoize_cache_||(b.closure_memoize_cache_={}),e=c(a[r]||(a[r]=++ba),arguments);return b.hasOwnProperty(e)?b[e]:b[e]=a.apply(this,arguments)}},lb=function(a,b){for(var c=[a],d=b.length-1;0<=d;--d)c.push(typeof b[d],b[d]);return c.join("\x0B")};var nb=["googleads.g.doubleclick.net","adclick.g.doubleclick.net","www.googleadservices.com","adclick.googleadservices.com"];var ob=["destinationUrl","displayUrl"],pb="googlesyndication.com googleadservices.com googleusercontent.com doubleclick.net youtube.com googleapis.com gstatic.com google-analytics.com".split(" "),qb=mb(function(a,b,c,d){d=d||{};d.i=a.creativeId;d.t=a.templateId;d.c=b;d.m=c;d.lp=a.layoutPath;a.experimentId&&(d.e=a.experimentId);a.P&&(d.gqi=a.P);a.T&&(d.qqi=a.T);a.oa(d)}),rb=function(a,b){return function(c,d,e){var f={};e&&(f.jsl=e);d&&(f.jsf=d);qb(a,"j",c,f);b&&b(c,d,e)}},sb=function(a){var b=a.match(P),
c=function(a){return x(b[3],a)};return pa(pb,c)?a:db(b[1],b[2],b[3],b[4])},ub=function(a,b,c){var d={},e=0,f=function(a,b,c,f){d["a"+e]=a;null!=b&&(d["f"+e]=b);null!=c&&null!=f&&(d["s"+e]=c,d["d"+e]=f);e++};0!=b&&f("layout","layout",0,b.toFixed(4));if(b=window.performance&&window.performance.timing)b=b.responseEnd-b.navigationStart,f("http"+(Ua()?"":"s"),"layout_html",0,b.toFixed(4));window.performance&&window.performance.getEntries&&(oa(window.performance.getEntries(),function(b){var d=sa(c,function(a){return b.name&&
x(b.name,a)});d&&d in c&&delete c[d];if(tb(b.name)&&a.reportPerf){var e=0<b.startTime?b.startTime.toFixed(4):null,g=0<b.responseEnd?(b.responseEnd-b.startTime).toFixed(4):null;f(sb(b.name),d,e,g)}}),(a.reportPerf||a.reportErrors)&&qa(c,function(a,b){f(a,b,-1,-1)}));0<e&&qb(a,"p","",d)},vb=function(a){return ra(a,function(a,c){return q(a)&&tb(a)&&!(0<=na(ob,c))})},tb=function(a){var b;if(b=/^(https?:)?\/\//.test(a))(b=a)?(a=eb(b.match(P)[5]||null))?(b=b?(b=eb(b.match(P)[3]||null))?0<=na(nb,b):!1:!1,
a=b&&-1!=a.indexOf("/aclk")):a=!1:a=!1,b=!a;return b},wb=function(a,b,c,d,e){var f=t(Function.prototype.apply,b,c,Array.prototype.slice.call(arguments,3));if(d&&d.monitoring){var g;g=d.monitoring;g={creativeId:g.creativeId||-1,templateId:g.templateId||-1,experimentId:g.experimentId,reportErrors:g.reportErrors||!1,reportPerf:g.reportPerf||!1,oa:a,frameTiming:g.frameTiming||!1,layoutPath:g.layoutPath,P:g.gqi,T:g.qqi};var h=d.monitoring.loadTime?u()-d.monitoring.loadTime:0,m=d.google_template_data.adData[0],
k=g,m=vb(m),k=ea(ub,k,h,m);window.setTimeout(k,1E4);if(g.reportErrors){k=window.onerror;window.onerror=rb(g,k);try{f()}catch(p){var f=rb(g,k),n;g=p.toString();p.name&&-1==g.indexOf(p.name)&&(g+=": "+p.name);p.message&&-1==g.indexOf(p.message)&&(g+=": "+p.message);if(p.stack){k=p.stack;m=g;try{for(-1==k.indexOf(m)&&(k=m+"\n"+k);k!=n;)n=k,k=k.replace(/((https?:\/..*\/)[^\/:]*:\d+(?:.|\n)*)\2/,"$1");g=k.replace(/\n */g,"\n")}catch(Sb){g=m}}n=g;f(n,p.lineNumber,p.fileName)}}else f()}else f()},xb=function(a){var b,
c="html5-mon",d=1,e="jserror"!=c;Za(c,a,e,d,b)};for(var yb,zb=window.location.hash.substring(1),Ab={},Bb=zb.split("&"),S=0;S<Bb.length;S++){var Cb=Bb[S].split("=");Ab[Cb[0]]=decodeURIComponent(Cb[1])}var T=yb=Ab,Db=T.p&&0==T.p.indexOf("http")?T.p:"*",U;var Eb=window.parent,Fb=Db,Gb=["http://pagead2.googlesyndication.com","https://pagead2.googlesyndication.com","http://tpc.googlesyndication.com","https://tpc.googlesyndication.com","https://adwords-displayads.googleusercontent.com"],Hb=T.t;try{U=new v(Eb,Fb,Gb,Hb)}catch(a){U=null}var V=U;
if(V){V.F("adData",function(a){if(window.onAdData){var b;b=new Q(V,a);var c=Date.now();b.M=c;wb(xb,window.onAdData,window,a,b)}});var Ib,W=V,Jb=Ib||"secureChannel",Kb=W,Lb,Mb=Jb,Nb=Kb,Ob=Lb,X=Mb.split("."),Y=Ob||l;X[0]in Y||!Y.execScript||Y.execScript("var "+X[0]);for(var Z;X.length&&(Z=X.shift());)X.length||void 0===Nb?Y=Y[Z]?Y[Z]:Y[Z]={}:Y[Z]=Nb;var Pb=W;Pb.registerApplicationHandler=W.F;var Qb=W;Qb.sendMessage=W.sendMessage;var Rb=W;Rb.isInitialized=W.ha};}).call(this);
