if(!_.map_part){_.map_part=1;(function($){var xea=function(a,b){return a==b?!0:b?a.jd==b.jd&&a.Qe==b.Qe&&a.Bd==b.Bd&&a.Ce==b.Ce&&a.De==b.De&&a.vd==b.vd:!1},tM=function(a,b){var c=$.Cc(a,b,void 0);return c&&a[c]},uM=function(a){switch(String(a).toLowerCase()){case "hammeraitoff":case "hammer-aitoff":case "hammer":return"hammer";case "wagner":case "wagner6":return"wagner6";case "undefined":case "null":case "none":case "wsg84":case "base":case "+proj=longlat +datum=WGS84 +no_defs":return"wsg84"}return a},vM=function(a,b,c){$.Yv.call(this,a,
b);this.b=c||function(){return!0}},wM=function(){},xM=function(a){return 0<a?Math.sqrt(a):0},yM=function(){},zM=function(){},AM=function(){this.f=45*Math.PI/180;this.b=1/Math.tan(this.f)},BM=function(){},CM=function(){},DM=function(){},EM=function(){},FM=function(a,b){this.scale=a;this.angle=b},GM=function(){this.b=2;this.f=new FM(function(a){return Math.sqrt(2/(1+a))},function(a){return 2*Math.asin(a/2)})},HM=function(){},IM=function(){this.b=new FM(function(){return 1},Math.asin)},JM=function(a){this.f=
a;this.b=$.Vj.proj4},KM=function(){},LM=function(){},MM=function(a){var b=a(0,0);return $.B(b)?(a=b[0],b=b[1],!$.ea(a)||(0,window.isNaN)(a)||!$.ea(b)||(0,window.isNaN)(b)?!1:!0):!1},OM=function(a){if($.D(a)){var b=new wM;var c=($.E(a.forward)?a.forward:null)||($.E(a)?a:null),d=$.E(a.invert)?a.invert:null;c&&MM(c)&&(b.forward=function(a,b){a=$.ab(a);b=$.ab(b);return c(a,b)},d&&MM(d)&&(b.Ri=function(a,b){var c=d(a,-b);c[0]=$.bb(c[0]);c[1]=$.bb(c[1]);return c}));return b}switch(a){case "bonne":b=new AM;
break;case "eckert1":b=new BM;break;case "eckert3":b=new CM;break;case "fahey":b=new EM;break;case "hammer":b=new GM;break;case "aitoff":b=new yM;break;case "mercator":b=new HM;break;case "orthographic":b=new IM;break;case "robinson":b=new KM;break;case "wagner6":b=new LM;break;case "wsg84":b=new wM;break;case "equirectangular":b=new DM;break;case "august":b=new zM;break;default:try{$.Vj.proj4?b=new JM(a):(b=new wM,NM||($.Uj(19,null,null,!0),NM=!0))}catch(e){b=new wM}}return b},PM=function(a){a=String(a).toLowerCase();
switch(a){case "undefined":case "null":case "none":case "wsg84":return!0;case "bonne":case "eckert1":case "eckert3":case "fahey":case "hammer":case "aitoff":case "mercator":case "orthographic":case "robinson":case "wagner6":case "equirectangular":case "august":return!1;default:return!$.Vj.proj4}},QM=function(a){$.Bv.call(this,a);$.R(this.xa,[["zoomOnDoubleClick",0,0],["keyboardZoomAndMove",0,0],["drag",0,0],["copyFormat",0,0]])},RM=function(a,b,c,d){$.Vy.call(this,a,window.NaN);this.id=d;this.f=c;
this.b=b},SM=function(a,b){$.Wy.call(this,a,b)},TM=function(a,b,c,d,e){$.Hz.call(this,a,b,c,d,e);this.Cr=[];this.CU=[];$.R(this.xa,[["startSize",1024,1,4294967295],["endSize",1024,1,4294967295],["curvature",1024,1025,4294967295]]);this.op=!0;this.xM={};this.bG={};this.fD={};this.Cz={}},UM=function(a,b){a.g!=b&&(a.g=b,a.b||a.u(512,1))},VM=function(a){return a.b||a.g},WM=function(a,b){var c=!!(b&$.mn),d=!c&&!!(b&$.ln),e=a.aa(),f=e.get("normal");f=$.p(f)?f.label:void 0;var h=e.get("hovered");h=$.p(h)?
h.label:void 0;var k=e.get("selected");k=$.p(k)?k.label:void 0;f=$.On(f,e.get("label"));h=d?$.On(h,e.get("hoverLabel")):null;k=c?$.On(k,e.get("selectLabel")):null;e=f&&$.p(f.position)?f.position:void 0;h=h&&$.p(h.position)?h.position:void 0;k=k&&$.p(k.position)?k.position:void 0;f=a.Ta().labels();var l=a.lb().labels(),m=a.selected().labels();return d||c?d?$.p(h)?h:$.p(l.i("position"))?l.i("position"):$.p(e)?e:f.i("position"):$.p(k)?k:$.p(m.i("position"))?m.i("position"):$.p(e)?e:f.i("position"):$.p(e)?
e:f.i("position")},XM=function(a){a=$.$a(a);var b="center";a?90>a?b="left-bottom":90==a?b="left-center":180>a?b="left-top":180==a?b="center-top":270>a?b="right-top":270==a?b="right-center":270<a&&(b="right-bottom"):b="center-bottom";return b},yea=function(a,b){$.p(b)&&!$.Ra(a.f,b)&&(a.f=b,a.u(256,1))},YM=function(a){return 24==a.Le.type},zea=function(a,b,c){var d=b.Kd();var e=a.aa();c=WM(a,c);var f=a.Gi(c);c=b.Bc("rotation");var h=b.Bc("anchor");$.p(h)&&null!==h||(h=e.j("labelAnchor"));$.p(c)&&d.Lt(-c,
h);var k=b.Cc().value;f=f.value;var l=d.wd;d.translate(-l.Bd+f.x-k.x,-l.vd+f.y-k.y);(k=b.Lg)&&"offset"!=e.j("positionMode")&&(b=b.Nz||a.Nz,e=a.za.kf.og().clone(),b&&$.ub(e,$.Ib(b)),a=e.jd,b=e.Bd,e=e.vd,e=new $.Cb(a,0,0,a,b,e),$.Gb(e,$.Ib(d.wd)),a=e.jd,$.Nl(a,1,1E-6)?e=b=0:(b=e.Bd,e=e.vd),k.nc(a,0,0,a,b,e));$.p(c)&&d.Lt(c,h)},Aea=function(a,b,c){var d=b.Kd();var e=a.aa();var f=a.aa(),h=!!(c&$.mn);c=!h&&!!(c&$.ln);var k=f.get("normal");k=$.p(k)?k.marker:void 0;var l=f.get("hovered");l=$.p(l)?l.marker:
void 0;var m=f.get("selected");m=$.p(m)?m.marker:void 0;k=$.On(k,f.get("marker"));l=$.On(l,f.get("hoverMarker"));m=$.On(m,f.get("selectMarker"));f=k&&$.p(k.position)?k.position:a.Ta().Gb().i("position");k=a.lb().Gb().i("position");l=l&&$.p(l.position)?l.position:$.p(k)?k:f;k=a.selected().Gb().i("position");m=m&&$.p(m.position)?m.position:$.p(k)?k:f;c=a.Gi(c?l:h?m:f);a=b.Bc("rotation");if(!$.p(a)||null===a||(0,window.isNaN)(a))a=e.j("markerRotation");h=b.Bc("anchor");$.p(h)&&null!==h||(h=e.j("markerAnchor"));
$.p(a)&&d.Lt(-a,h);b=b.Cc().value;e=c.value;c=d.wd;d.translate((c?-c.Bd:0)+e.x-b.x,(c?-c.vd:0)+e.y-b.y);$.p(a)&&d.Lt(a,h)},Bea=function(a){var b=a.aa(),c=b.ka(),d=$.Hv(a.state,c);var e=!!(d&$.mn);var f=!e&&!!(d&$.ln);var h=a.Le.type;var k=b.j("shapes");if(k)if(a.Qj()||22==h){h=b.j("x");var l=b.j("value");var m=ZM(a,b);if(!m)return;var n=m.x;m=m.y;var q=k.path||k.circle||k.negative;q=q.wd;var r=(q?-q.Bd:0)+n-h;var t=(q?-q.vd:0)+m-l;$.yc(k,function(a){a.translate(r,t)})}else if(21==h){l=a.Nz;h=a.za.kf.og().clone();
l&&$.ub(h,$.Ib(l));var u=h.jd;var v=h.Bd;var w=h.vd;$.yc(k,function(a){a.nc(u,0,0,u,v,w)})}else 24==h&&(h=a.za.kf.og(),(k=k.hatchFill)&&k.nc(h.jd,h.Qe,h.Ce,h.De,h.Bd,h.vd));a.check(4194304)&&(q=b.get("normal"),q=$.p(q)?q.marker:void 0,m=b.get("hovered"),m=$.p(m)?m.marker:void 0,k=b.get("selected"),k=$.p(k)?k.marker:void 0,q=$.On(q,b.get("marker")),m=$.On(m,b.get("hoverMarker")),k=$.On(k,b.get("selectMarker")),h=a.Ta().Gb(),l=a.lb().Gb(),n=a.selected().Gb(),b=h.Bq(c),q=q&&$.p(q.enabled)?q.enabled:
null,m=m&&$.p(m.enabled)?m.enabled:null,k=k&&$.p(k.enabled)?k.enabled:null,(e=f||e?f?null===m?l&&null===l.enabled()?null===q?h.enabled():q:l.enabled():m:null===k?n&&null===n.enabled()?null===q?h.enabled():q:n.enabled():k:null===q?h.enabled():q)&&b&&b.Kd()&&b.Cc()&&Aea(a,b,d));(e=(c=a.Ta().labels().Wd(c))&&c.Kd()&&c.Cc()&&c.Bc("enabled"))&&zea(a,c,d)},aN=function(a){var b=a.aa();var c=(c=b.j("features"))&&c.length?c[0]:null;if(!c||!YM(a))return{x:0,y:0};var d=(c=c.properties)&&c.middleXYMode;var e=
b.get("middleXYMode");d=$.p(e)?e:d?d:"relative";"relative"==d?a=$M(a):"absolute"==d?(d=b.get("middle-x"),e=b.get("middle-y"),b=$.p(d)?d:c?c["middle-x"]:0,c=$.p(e)?e:c?c["middle-y"]:0,b=$.N(b),c=$.N(c),a=a.za.scale().transform(b,c),a={x:a[0],y:a[1]}):a={x:0,y:0};return a},ZM=function(a,b){var c=a.za.scale(),d=!1,e=a.fe(),f=b.get(e[0]),h=b.get(e[1]);e=b.get(e[2]);var k=$.sn(h)&&h==f;h=(0,window.parseFloat)(h);e=(0,window.parseFloat)(e);c=c.transform(h,e);(0,window.isNaN)(h)||(h=c[0]);(0,window.isNaN)(e)||
k||(e=c[1]);if((0,window.isNaN)(h)||(0,window.isNaN)(e))if((c=b.j("features"))&&c.length&&c[0].properties){if(b.j("regionId",f),f=$M(a),(0,window.isNaN)(h)&&(h=f.x),(0,window.isNaN)(e)||k)e=f.y}else d=!0;b.j("missing",d);return d?null:{x:h,y:e}},$M=function(a){var b=a.aa(),c=(a=(a=b.j("features"))&&a.length?a[0]:null)?a.properties:null,d=b.get("middle-x"),e=b.get("middle-y");b=$.p(d)?d:c&&$.p(c["middle-x"])?c["middle-x"]:.5;c=$.p(e)?e:c&&$.p(c["middle-y"])?c["middle-y"]:.5;(a=a?a.ea:null)?(a=a.wq(),
a={x:a.left+a.width*b,y:a.top+a.height*c}):a=null;return a},Cea=function(a){this.map=a;this.status=0;this.timeout=null;this.sx=(0,$.pa)(function(a){this.status=a;this.map.dispatchEvent("animationend");this.timeout=null},this)},cN=function(a,b){if(a.status^b)if(a.timeout&&b)(0,window.clearTimeout)(a.timeout),a.timeout=null;else if(b){a.status=b;var c=bN(a.map);a.map!=c&&a.map.qb(c);a.map.dispatchEvent("animationstart")}else a.timeout&&(0,window.clearTimeout)(a.timeout),a.timeout=(0,window.setTimeout)(a.sx,
Dea,b);else a.status&&b&&a.timeout&&((0,window.clearTimeout)(a.timeout),a.timeout=null)},dN=function(a,b,c,d,e,f){this.map=a;this.g=!!e;$.Lx.call(this,b,c,d,f)},eN=function(a,b,c,d,e,f,h){dN.call(this,a,[],[],e,f,h);this.Cr=b;this.zH=c;this.Hd=d;this.G=h},gN=function(a,b){$.E(a.G)&&(b=a.G(b));var c=(0,$.pa)(a.qP,{t:b,Hd:a.Hd,zH:a.zH,YQ:a.map.scale()});a.Hd.oo.ratio(b);$.U(a.map.scale());a.map.scale().fg(!1);fN(a.map,a.Cr,c,!1,!0);a.map.scale().ng();a.map.scale().da(!0)},hN=function(a,b,c,d,e,f){dN.call(this,
a,b,c,d,e,f);this.G=!1},lN=function(a,b){if(a.map.Cr()){var c=a.map.kf,d=c.tj().round(),e=c.kb().round(),f=a.map.Fc,h=a.map.zc,k=a.map.FN/a.map.JA;a.map.$q||(1>k&&!$.pb(e,d)&&(h=iN(a.map,d,e),f=h[1],h=h[2]),f<e.left?f=e.left:f>e.$a()&&(f=e.$a()),h<e.top?h=e.top:h>e.Ra()&&(h=e.Ra()));e=b/a.map.qg();c.scale(e,e,f,h);a.map.vp=b;c=c.wd;a.map.scale().zoom=c.jd;jN(a.map.scale(),c.Bd,c.vd);kN(a.map)}},mN=function(a,b,c){var d=a.map.kf.wd;a.map.kf.nc(d.jd,0,0,d.De,b,c);a.map.scale().zoom=d.jd;jN(a.map.scale(),
d.Bd,d.vd);kN(a.map)},nN=function(){$.X.call(this);delete this.ma.enabled;this.Ub=this.$=null;this.path=$.aj();this.path.op(!0);$.Ps(this,this.path);$.R(this.xa,[["stroke",0,1],["length",0,9],["position",0,9]])},oN=function(a){switch(a.orientation()){case "top":a.b=a.oa.Ip();break;case "right":a.b=a.oa.Hp();break;case "bottom":a.b=a.oa.Lp();break;case "left":a.b=a.oa.Kp()}return a.b},pN=function(a,b,c,d,e){switch(b){case "inside":b=$.Za(c,2*Math.PI)+1.5*Math.PI;"top"==a.orientation()||"left"==a.orientation()?
d[0]<e[0]&&(d[1]<=e[1]||d[1]>=e[1])&&(b=c+.5*Math.PI):d[0]>e[0]&&(d[1]<=e[1]||d[1]>=e[1])&&(b=c+.5*Math.PI);break;case "center":b=pN(a,"outside",c,d,e);d[0]+=Math.cos(b)*a.length()/2;d[1]+=Math.sin(b)*a.length()/2;b+=Math.PI;break;default:b=$.Za(c-Math.PI/2,2*Math.PI),"top"==a.orientation()||"left"==a.orientation()?d[0]>e[0]&&(d[1]<=e[1]||d[1]>=e[1])&&(b=c-1.5*Math.PI):d[0]<=e[0]&&(d[1]<=e[1]||d[1]>=e[1])&&(b=c-1.5*Math.PI)}return b},qN=function(a,b){a.oa.mb();b=(0,window.parseFloat)(b);var c=oN(a);
var d=a.i("position"),e=a.i("length");if(a.Fb()){var f=a.oa.transform(b,c,null);c=a.oa.transform(b+1,c,null)}else f=a.oa.transform(c,b,null),c=a.oa.transform(c,b+1,null);var h=Math.atan(-(f[1]-c[1])/(c[0]-f[0]));(0,window.isNaN)(h)&&(h=0);d=pN(a,d,h,f,c);return[f[0],f[1],f[0]+Math.cos(d)*e,f[1]+Math.sin(d)*e,d]},rN=function(a,b){var c=qN(a,b);return new $.I(Math.min(c[0],c[2]),Math.min(c[1],c[3]),Math.abs(c[0]-c[2]),Math.abs(c[1]-c[3]))},sN=function(){$.X.call(this);this.Hh=[];this.Uj=[];this.Ub=
this.$=null;this.qe=980;$.R(this.xa,[["stroke",16,1],["overlapMode",980,9],["drawFirstLabel",980,9],["drawLastLabel",980,9]])},tN=function(a,b){var c=(b?a.labels():a.jb()).i("position");if("center"==c)var d="center";else switch(a.Ug){case "top":d="center-bottom";break;case "right":d="left-center";break;case "bottom":d="center-top";break;case "left":d="inside"==c?"left-center":"right-center"}return d},uN=function(a,b){if(!a.Pp||a.J(4)){var c=a.fa(),d=a.scale();$.p(b)&&d.nf(b);d.mb();if(a.Fb()){var e=
a.scale().tw();var f=a.scale().ly()}else e=a.scale().uw(),f=a.scale().my();e=e.get();var h=f.get();f=a.title();var k=a.labels();var l=a.parent().labels(),m=k.md("enabled");var n=void 0==m?l.enabled():m;l=a.jb();m=a.parent().jb();var q=l.md("enabled");m=void 0==q?m.enabled():q;var r=a.Pa();r.oa=d;q=a.ob();q.oa=d;d=r.i("position");var t=$.xn(d);d=q.i("position");d=$.xn(d);var u;a.Id();if(n)for($.wt(k),k=0,n=e.length;k<n;k++)r=$.am(a.dd(k,!0,e)),u?$.ob(u,r):u=r;else if(r.enabled()&&0<=t)for(k=0,n=e.length;k<
n;k++)t=rN(r,(0,window.parseFloat)(e[k])),u?$.ob(u,t):u=t;if(m)for($.wt(l),k=0,n=h.length;k<n;k++)r=$.am(a.dd(k,!1,h)),u?$.ob(u,r):u=r;else if(q.enabled()&&0<=d)for(k=0,n=h.length;k<n;k++)t=rN(q,h[k]),u?$.ob(u,t):u=t;if(f.enabled()){f.O()||f.O(a.O());$.U(f);$.yu(f,a.Ug);f.fa(c);c=f.Xh();switch(a.Ug){case "top":u.top-=c.height;u.height+=c.height;break;case "right":u.width+=c.width;break;case "bottom":u.height+=c.height;break;case "left":u.left-=c.width,u.width+=c.width}f.da(!1)}u||(u=new $.I(0,0,0,
0));a.Pp=u;a.I(4)}return a.Pp.clone()},vN=function(a){return a.line?a.line:a.line=$.aj().td(!0).op(!0)},wN=function(a){$.Wp.call(this);this.D=a;this.G=[];this.Ub=this.$=null;this.I(4294967295);$.R(this.xa,[["stroke",0,1],["overlapMode",0,9],["drawFirstLabel",0,9],["drawLastLabel",0,9],["enabled",0,32768]])},xN=function(){function a(a){a.enabled(null)}$.X.call(this);this.Ia("defaultCallout");this.f=this.b=null;$.Qs(this,this);var b={};$.R(b,[["labels",0,0]]);this.ca=new $.Ew(this,b,$.Wk);this.ca.pa("labelsFactoryConstructor",
$.Gw);this.ca.pa("labelsAfterInitCallback",$.Kw);this.ya=new $.Ew(this,b,$.ln);this.ya.pa("labelsFactoryConstructor",$.Gw);this.ya.pa("labelsAfterInitCallback",a);this.Da=new $.Ew(this,b,$.mn);this.Da.pa("labelsFactoryConstructor",$.Gw);this.Da.pa("labelsAfterInitCallback",a);this.qe=448;$.R(this.xa,[["orientation",this.qe,9],["align",this.qe,9],["length",this.qe,9],["width",this.qe,9]])},yN=function(a,b,c,d){var e=b.ka(),f=b.Oe(),h=f.wc();h.select(e);d=$.p(d)?d:$.Hv(f.state,e);b.state=d;var k=f.aa(),
l=!!(d&$.mn),m=!l&&!!(d&$.ln),n=f.Ta().labels();b=(b=k.get("normal"))?b.label:void 0;b=$.On(b,k.get("label"));l?(l=(l=k.get("selected"))?l.label:void 0,l=$.On(l,k.get("selectLabel")),k=f.selected().labels()):m?(l=(l=k.get("hovered"))?l.label:void 0,l=$.On(l,k.get("hoverLabel")),k=f.lb().labels()):k=l=null;m=f.Ec(!0);m.b=f.Ad(e);c.Nf(m);$.xt(c,n);$.yt(c,k);c.gd(b,l);$.wt(n);b=!!(d&$.mn);d=!b&&!!(d&$.ln);e=a.Ta().labels();d=b?a.selected().labels():d?a.lb().labels():e;b=$.iK(e);b.enabled=e.enabled();
e=$.iK(d);e.enabled=null===d.enabled()?b.enabled:d.enabled();c.gd(b,c.state("pointState")?$.Kc(c.state("pointState"),e):e);e=a.Gi(c.ka());e.connectorPoint={value:aN(f)};c.Cc(e);a.Fb()?(c.width(a.b),c.height(a.f)):(c.width(a.f),c.height(a.b));switch(a.i("orientation")){case "top":c.anchor("center-bottom");break;case "right":c.anchor("left-center");break;case "bottom":c.anchor("center-top");break;case "left":c.anchor("right-center")}h.j("shapes")&&(a=h.j("fill"),h=h.j("stroke"),c.background().enabled(!0).fill(a).stroke(h));
return c},Eea=function(a){var b=a.Ta().labels();b.O()||b.O(a.O());b.fa(a.fa());b.clear();for(var c=0,d=a.g.length;c<d;c++){var e=a.g[c],f=b.add(null,null);yN(a,e,f);if(f.Bc("enabled")){f=f.Cc();e=f.value.x;f=f.value.y;switch(a.i("orientation")){case "top":e-=a.b/2;f-=a.f;var h=a.b;var k=a.f;break;case "right":f-=a.b/2;h=a.f;k=a.b;break;case "bottom":e-=a.f/2;h=a.b;k=a.f;break;case "left":e-=a.f,f-=a.b/2,h=a.f,k=a.b}if(a.o){var l=$.lA(a.o);l.moveTo(e,f).lineTo(e+h,f).lineTo(e+h,f+k).lineTo(e,f+k).close();
l.eda=c;l.stroke(null).fill($.Rk)}}}},zN=function(){$.Cy.call(this)},AN=function(){$.yx.call(this);this.oa=this.g=null;$.R(this.xa,[["minorStroke",16]])},BN=function(a){$.Wp.call(this);this.Ia("defaultGridSettings");this.$=null;this.g=a;this.o=[];this.Aa=this.Ub=null;this.I(4294967295);$.R(this.xa,[["stroke",0,1],["minorStroke",0,1],["fill",0,1],["drawFirstLine",0,9],["drawLastLine",0,9],["enabled",0,32768],["zIndex",0,65536]])},CN=function(a,b){$.K(b,$.xr)||$.D(b)&&"range"==b.type?a.Hc($.xr):($.K(b,
$.ur)||$.D(b)||null==a.Aa)&&a.Hc($.ur)},DN=function(a,b,c){this.b=c||0;this.f=a;this.oQ=b},EN=function(a){$.Wp.call(this);this.oa=a},FN=function(){$.Wp.call(this);this.Ia("map.geoScale");this.Lo=window.NaN;this.Ja=Number.MAX_VALUE;this.va=-Number.MAX_VALUE;this.Ma=Number.MAX_VALUE;this.Ea=-Number.MAX_VALUE;this.Si=Number.MAX_VALUE;this.Eh=-Number.MAX_VALUE;this.Bg=Number.MAX_VALUE;this.Re=-Number.MAX_VALUE;this.Za=this.eb=this.rb=this.Sb=!0;this.P=0;this.ga=this.U=this.la=this.ba=this.wm=this.Jp=
this.Gp=this.xm=window.NaN;this.yc=this.mc=1;this.Qc=!1;this.mr=0;this.Ht=this.Sq=!1;this.ub=null},Fea=function(a,b){a.Hd=b;a.Qc=!1},GN=function(a,b,c,d,e){a.la=b;a.ba=c;a.ga=d;a.U=e},jN=function(a,b,c){a.Zl=b;a.kn=c},HN=function(a){a.b||a.mb();return a.b},IN=function(a,b){a.Sq=!1;a.Ht=b},JN=function(a){return $.p(a.yj)?a.yj:a.Sq},KN=function(a){return $.p(a.ai)?a.ai:a.Ht},MN=function(a,b,c){var d=Number.MAX_VALUE,e=Number.MAX_VALUE,f=-Number.MAX_VALUE,h=-Number.MAX_VALUE;var k=a.precision();var l=
k[0];var m=k[1];if(c){c=a.f;l=a.o;if(a.Hd&&PM(a.Hd["default"].kg))c=LN(a,b,c),c[0]<d&&(d=c[0]),c[0]>f&&(f=c[0]),c[1]<e&&(e=c[1]),c[1]>h&&(h=c[1]);else for(k=c;k<l;)c=LN(a,b,k),c[0]<d&&(d=c[0]),c[0]>f&&(f=c[0]),c[1]<e&&(e=c[1]),c[1]>h&&(h=c[1]),k+=m;c=LN(a,b,l)}else{m=a.g;var n=a.D;if(a.Hd&&PM(a.Hd["default"].kg))c=LN(a,m,b),c[0]<d&&(d=c[0]),c[0]>f&&(f=c[0]),c[1]<e&&(e=c[1]),c[1]>h&&(h=c[1]);else if(m>n){for(k=m;180>k;)c=LN(a,k,b),c[0]<d&&(d=c[0]),c[0]>f&&(f=c[0]),c[1]<e&&(e=c[1]),c[1]>h&&(h=c[1]),
k+=l;for(k=-180;k<m;)c=LN(a,k,b),c[0]<d&&(d=c[0]),c[0]>f&&(f=c[0]),c[1]<e&&(e=c[1]),c[1]>h&&(h=c[1]),k+=l}else for(k=m;k<n;)c=LN(a,k,b),c[0]<d&&(d=c[0]),c[0]>f&&(f=c[0]),c[1]<e&&(e=c[1]),c[1]>h&&(h=c[1]),k+=l;c=LN(a,n,b)}c[0]<d&&(d=c[0]);c[0]>f&&(f=c[0]);c[1]<e&&(e=c[1]);c[1]>h&&(h=c[1]);return{xm:d,Jp:e,Gp:f,wm:h}},NN=function(a,b,c){a.mb();if(!a.ub)return[window.NaN,window.NaN];b=$.N(b);c=$.N(c);b=(b-a.xm)*a.ratio;c=(-c+a.wm)*a.ratio;return[JN(a)?a.ub.$a()-a.G-b:a.ub.left+a.G+b,KN(a)?a.ub.Ra()-
a.N-c:a.ub.top+a.N+c]},ON=function(a,b,c){a.mb();if(!a.ub)return[window.NaN,window.NaN];b=$.N(b);c=$.N(c);return[+(JN(a)?a.ub.$a()-a.G-b:b-a.ub.left-a.G)/a.ratio+a.xm,-(KN(a)?a.ub.Ra()-a.N-c:c-a.ub.top-a.N)/a.ratio+a.wm]},PN=function(a,b,c,d){a=a.Hd["default"];b=(d.oo||a.oo).forward(b,c);b[0]*=d.scale||a.scale;b[1]*=d.scale||a.scale;b[0]+=d.Sh||0;b[1]+=d.Ei||0;return[b[0],b[1]]},QN=function(a,b,c){var d,e=!1;var f=0;for(d=c.length-1;f<c.length;d=f++){var h=c[f][1]>b;var k=c[d][1]>b;h!==k&&a<(c[d][0]-
c[f][0])*(b-c[f][1])/(c[d][1]-c[f][1])+c[f][0]&&(e=!e)}return e},RN=function(a,b,c){if(!a.Hd)return null;var d=window.NaN,e=window.NaN,f=$.Cc(a.Hd,function(a,f){if("default"!=f&&a.ot){var h=PN(this,b,c,a),k=h[0];h=h[1];var n=a.ot;if(n=$.B(n)?QN(k,h,n):k>=n.left&&k<=n.left+n.width&&h<=n.top&&h>=n.top-n.height)d=k,e=h;return n}return!1},a)||"default";return[a.Hd[f],d,e]},SN=function(a,b,c,d){if(!a.Hd)return[];a.mb();if($.p(d))d=null!==d&&d in a.Hd?a.Hd[d]:a.Hd["default"];else{var e=RN(a,b,c);d=e[0];
var f=e[1];e=e[2]}(0,window.isNaN)(f)&&(b=PN(a,b,c,d),f=b[0],e=b[1]);if(!a.ub||(0,window.isNaN)(f)||(0,window.isNaN)(e))return[window.NaN,window.NaN];f=(+f-a.xm)*a.ratio;b=(-e+a.wm)*a.ratio;return[JN(a)?a.ub.$a()-a.G-f:a.ub.left+a.G+f,KN(a)?a.ub.Ra()-a.N-b:a.ub.top+a.N+b]},TN=function(a,b,c,d){if(!a.Hd)return[];var e=a.Hd["default"],f;$.p(d)?f=d in a.Hd?d:"default":f=$.Cc(a.Hd,function(a,d){if("default"!=d&&a.ot){var e=a.ot;return $.B(e)?QN(b,c,e):b>=e.left&&b<=e.left+e.width&&c<=e.top&&c>=e.top-
e.height}return!1},a)||"default";a=a.Hd[f];d=a.oo||e.oo;b-=a.Sh||e.Sh||0;c-=a.Ei||e.Ei||0;f=a.scale||e.scale;return a.kg||e.kg?d.Ri(b/f,c/f):[b/f,c/f]},LN=function(a,b,c){if((0,window.isNaN)(b)||(0,window.isNaN)(c))return[window.NaN,window.NaN];var d=window.NaN,e=window.NaN;if($.p(null))var f=a.Hd["default"];else e=RN(a,b,c),f=e[0],d=e[1],e=e[2];(0,window.isNaN)(d)?(a=a.Hd["default"],b=(f.oo||a.oo).forward(b,c),b[0]*=f.scale||a.scale,b[1]*=f.scale||a.scale,-620.8680523857!=f.Sh&&(b[0]+=f.Sh||0,b[1]+=
f.Ei||0),f=[b[0],b[1]]):f=[d,e];return f},VN=function(a,b){this.f=b||$.La;this.b=a;for(var c=Math.floor(a.length/2);c--;)UN(this,c)},UN=function(a,b){var c=2*b+1,d=2*b+2,e=b;c<=a.b.length&&0<a.f(a.b[c],a.b[e])&&(e=c);d<=a.b.length&&0<a.f(a.b[d],a.b[e])&&(e=d);e!=b&&(WN(a,b,e),UN(a,e))},WN=function(a,b,c){var d=a.b[b];a.b[b]=a.b[c];a.b[c]=d},XN=function(){},YN=function(a,b,c){var d;if(c&&!c["middle-x"]&&!c["middle-y"]){var e=tM(c,function(a,b){return/middle-x/.test(b)});var f=tM(c,function(a,b){return/middle-y/.test(b)})||
.5;c["middle-x"]=e||.5;c["middle-y"]=f}switch(b.type){case "Point":return{coordinates:[b.coordinates[0],b.coordinates[1]],properties:c};case "MultiPoint":var h=[];a=b.coordinates;b=0;for(e=a.length;b<e;b++)h.push(a[0],a[1]);return{coordinates:h,properties:c};case "LineString":h=[];a=b.coordinates;b=0;for(e=a.length;b<e;b++)f=a[b],h.push(f[0],f[1]);return{paths:[h],properties:c};case "MultiLineString":var k=[];var l=b.coordinates;b=0;for(e=l.length;b<e;b++){h=[];a=l[b];var m=0;for(d=a.length;m<d;m++)f=
a[m],h.push(f[0],f[1]);k.push(h)}return{paths:k,properties:c};case "Polygon":l=[];var n=[];var q=b.coordinates;b=0;for(e=q.length;b<e;b++){0!=b&&(h=[]);a=q[b];m=0;for(d=a.length;m<d;m++)f=a[m],b?h.push(f[0],f[1]):l.push(f[0],f[1]);h&&n.push(h)}return{polygones:[{outerPath:l,holes:n}],properties:c};case "MultiPolygon":k=[];var r=b.coordinates;b=0;for(e=r.length;b<e;b++){l=[];n=[];q=r[b];m=0;for(d=q.length;m<d;m++){0!=m&&(h=[]);a=q[m];for(var t=0,u=a.length;t<u;t++)f=a[t],m?h.push(f[0],f[1]):l.push(f[0],
f[1]);h&&n.push(h)}q={outerPath:l,holes:n};k.push(q)}return{polygones:k,properties:c};case "GeometryCollection":if(b.geometries){h=[];m=b.geometries;b=0;for(e=m.length;b<e;b++)if(f=YN(a,m[b],m[b].properties),$.p(f))h.push(f);else break;return{geometries:h,properties:c||null}}$.Sj(10,"GeometryCollection object missing 'geometries' member.");break;default:$.Sj(10,"Geometry object must be one of 'Point', 'LineString', 'Polygon' or 'MultiPolygon'.")}return null},Gea=function(a,b,c){var d={type:"FeatureCollection",
crs:b.crs||{type:"name",properties:{name:c["default"]["src-code"]}},features:[],"ac-tx":{}};$.yc(c,function(a,b){var c={};$.p(a.kg)&&(c.crs=a.kg);$.p(a.scale)&&(c.scale=a.scale);$.p(a.Sh)&&(c.xoffset=a.Sh);$.p(a.Ei)&&(c.yoffset=a.Ei);$.p(a.ot)&&(c.heatZone=a.ot.F());d["ac-tx"][b]=c});a=d.features;for(c=0;c<b.length;c++){for(var e=b[c],f={type:"Feature",properties:e.properties,geometry:{type:"MultiPolygon",coordinates:[]}},h=0;h<e.polygones.length;h++){for(var k=[],l=e.polygones[h],m=0;m<l.outerPath.length-
1;m+=2)k.push([l.outerPath[m],l.outerPath[m+1]]);f.geometry.coordinates.push([k])}a.push(f)}return d},Hea=function(a){this.f=a;this.b=0;this.g=this.f.length;this.o=null;ZN(this)},$N=function(a){a=a.f[a.b];return" ">=a&&(" "===a||"\n"===a||"\t"===a||"\r"===a||"\f"===a)},ZN=function(a){for(;a.b<a.g&&$N(a);)a.b+=1;return a.b<a.g},aO=function(a){a.b<a.g&&!$N(a)&&","!==a.f[a.b]||!(ZN(a)&&a.b<a.g)||","!==a.f[a.b]||(a.b+=1,ZN(a))},bO=function(a){var b=0,c=0,d=[],e=1,f=1,h=a.b;ZN(a);a.b<a.g&&"+"===a.f[a.b]?
a.b+=1:a.b<a.g&&"-"===a.f[a.b]&&(a.b+=1,e=-1);if(a.b===a.g||("0">a.f[a.b]||"9"<a.f[a.b])&&"."!==a.f[a.b])return null;for(var k=a.b;a.b<a.g&&"0"<=a.f[a.b]&&"9">=a.f[a.b];)a.b+=1;if(a.b!==k)for(var l=a.b-1,m=1;l>=k;)c+=m*(a.f[l]-0),--l,m*=10;if(a.b<a.g&&"."===a.f[a.b]){a.b+=1;if(a.b>=a.g||"0">a.f[a.b]||"9"<a.f[a.b])return null;for(;a.b<a.g&&"0"<=a.f[a.b]&&"9">=a.f[a.b];)d.push(a.f[a.b]-0),a.b+=1}if(a.b!==h&&a.b+1<a.g&&("e"===a.f[a.b]||"E"===a.f[a.b])&&"x"!==a.f[a.b+1]&&"m"!==a.f[a.b+1]){a.b+=1;"+"===
a.f[a.b]?a.b+=1:"-"===a.f[a.b]&&(a.b+=1,f=-1);if(a.b>=a.g||"0">a.f[a.b]||"9"<a.f[a.b])return null;for(;a.b<a.g&&"0"<=a.f[a.b]&&"9">=a.f[a.b];)b*=10,b+=a.f[a.b]-0,a.b+=1}c+=(0,window.parseFloat)("0."+d.join(""));c*=e;b&&(c*=Math.pow(10,f*b));if(h===a.b)return null;aO(a);return c},cO=function(a){if(a.b>=a.g)return null;var b=a.f[a.b];a.b+=1;if("0"===b)b=0;else if("1"===b)b=1;else return null;aO(a);return b},dO=function(){},iO=function(a,b,c,d){var e,f=$.Ee(b),h=[];var k=0;for(e=f.length;k<e;k++){var l=
f[k];if($.Ge(l)){var m=l.tagName.toLowerCase();var n=!c||"g"==m||"svg"==m&&c?{}:null;b=eO(a,l,n,d);if(n){if("g"==m||"svg"==m){var q=fO(l,d),r=gO(a,l,"group");l=hO(l);"g"==m?(m=r.id,$.p(m)?l.id=m:$.p(l.id)&&(m=l.id),n.tx=q,n.properties=l,n.attrs=r,n.id=m):(n.properties={},n.attrs={});n.type="group";n.features=b}else n=b;n&&h.push(n)}else c?b&&($.B(b)?h.push.apply(h,b):h.push(b)):("g"==m||"svg"==m)&&b&&h.push.apply(h,b)}}return h},eO=function(a,b,c,d){var e=b.getAttribute("id");if(e&&a.b[e])var f=$.Ak(a.b[e]);
else{var h=jO(a,b);switch(b.tagName.toLowerCase()){case "rect":var k=+b.getAttribute("x");var l=+b.getAttribute("y");var m=+b.getAttribute("width");var n=+b.getAttribute("height");f=kO(a,b,[{type:"M",values:[k,l]},{type:"L",values:[k+m,l]},{type:"L",values:[k+m,l+n]},{type:"L",values:[k,l+n]},{type:"Z"}],d);break;case "circle":var q=+b.getAttribute("cx");var r=+b.getAttribute("cy");var t=+b.getAttribute("r");var u=q-t,v=lO(a,[{type:"M",values:[u,r]},{type:"A",values:[t,t,0,1,0,u+2*t,r]},{type:"A",
values:[t,t,0,1,0,u,r]},{type:"Z"}]);f=kO(a,b,v,d);break;case "ellipse":var w=+b.getAttribute("cx");var x=+b.getAttribute("cy");var y=+b.getAttribute("rx");var A=+b.getAttribute("ry");var G=w-y,C=lO(a,[{type:"M",values:[G,x]},{type:"A",values:[y,A,0,1,0,G+2*y,x]},{type:"A",values:[y,A,0,1,0,G,x]},{type:"Z"}]);f=kO(a,b,C,d);break;case "polygon":for(var J=b.getAttribute("points").trim().split(/\s+|,/),P=[],Q=0,T=J.length-1;Q<T;Q+=2)Q?P.push({type:"L",values:[+J[Q],+J[Q+1]]}):P.push({type:"M",values:[+J[Q],
+J[Q+1]]});P.push({type:"Z"});f=kO(a,b,P,d);break;case "polyline":for(var wa=b.getAttribute("points").trim().split(/\s+|,/),Aa=[],Sa=0,wb=wa.length-1;Sa<wb;Sa+=2)Sa?Aa.push({type:"L",values:[+wa[Sa],+wa[Sa+1]]}):Aa.push({type:"M",values:[+wa[Sa],+wa[Sa+1]]});f=kO(a,b,Aa,d);break;case "path":var oc=b.getAttribute("d")||"";if(oc&&0!==oc.length){var eb=new Hea(oc),bc=[];if(eb.b<eb.g){var tb=eb.f[eb.b];var Mc=mO[tb]?mO[tb]:null;var pf="M"===Mc||"m"===Mc}else pf=!0;if(pf)for(;eb.b<eb.g;){b:{var Bb=eb,
nd=Bb.f[Bb.b],xc=mO[nd]?mO[nd]:null;if(null===xc){if(null===Bb.o){var Vf=null;break b}("+"===nd||"-"===nd||"."===nd||"0"<=nd&&"9">=nd)&&"Z"!==Bb.o?"M"===Bb.o?xc="L":"m"===Bb.o?xc="l":xc=Bb.o:xc=null;if(null===xc){Vf=null;break b}}else Bb.b+=1;Bb.o=xc;var Eg=null,fd=xc.toUpperCase();"H"===fd||"V"===fd?Eg=[bO(Bb)]:"M"===fd||"L"===fd||"T"===fd?Eg=[bO(Bb),bO(Bb)]:"S"===fd||"Q"===fd?Eg=[bO(Bb),bO(Bb),bO(Bb),bO(Bb)]:"C"===fd?Eg=[bO(Bb),bO(Bb),bO(Bb),bO(Bb),bO(Bb),bO(Bb)]:"A"===fd?Eg=[bO(Bb),bO(Bb),bO(Bb),
cO(Bb),cO(Bb),bO(Bb),bO(Bb)]:"Z"===fd&&(ZN(Bb),Eg=[]);Vf=null===Eg||0<=Eg.indexOf(null)?null:{type:xc,values:Eg}}if(null===Vf)break;else bc.push(Vf)}var pc=bc}else pc=[];var pi=lO(a,Iea(pc));f=kO(a,b,pi,d);break;case "line":var kg=+b.getAttribute("x1"),Dj=+b.getAttribute("x2"),Sg=+b.getAttribute("y1"),Ti=+b.getAttribute("y2");f=kO(a,b,[{type:"M",values:[kg,Sg]},{type:"L",values:[Dj,Ti]}],d);break;case "text":var Sh=fO(b,d),Tg=hO(b),lg=gO(a,b,"element");Tg.id=lg.id;var Ff=b.cloneNode(!0);Sh.$u&&Ff.setAttribute("transform",
Sh.$u.toString());Ff.removeAttribute("data-ac-wrapper-id");var Yd=lg.id;$.p(Yd)?Tg.id=Yd:$.p(Tg.id)&&(Yd=Tg.id);f={type:"text",text:b,cloneNode:Ff,tx:Sh,id:Yd,properties:Tg,attrs:lg};break;case "image":var Ej=fO(b,d),Hb=hO(b),th=gO(a,b,"element"),vh=+b.getAttribute("x"),nr=+b.getAttribute("y"),Ve=+b.getAttribute("width"),Ce=+b.getAttribute("height");Hb.id=th.id;var wh=b.cloneNode(!0);Ej.$u&&wh.setAttribute("transform",Ej.$u.toString());wh.removeAttribute("data-ac-wrapper-id");var Ug=th.id;$.p(Ug)?
Hb.id=Ug:$.p(Hb.id)&&(Ug=Hb.id);f={type:"image",sourceNode:b,cloneNode:wh,bounds:$.Zl(vh,nr,Ve,Ce),tx:Ej,id:Ug,properties:Hb,attrs:th};break;case "use":f=jO(a,b);break;case "clippath":for(var go=fO(b,d),Kp=iO(a,b,!0,go.$u),od=[],Vg=0,Ek=Kp.length;Vg<Ek;Vg++)od.push.apply(od,Kp[Vg].commands);f={clippath:kO(a,b,od,d)};break;case "lineargradient":var ri={};if(h){var si=h.gradientUnits;var Zd=h.transform;var We=+h.x1;var yl=+h.y1;var Kj=+h.x2;var xh=+h.y2;var Vh=(0,window.parseFloat)(h.opacity)}var or=
b.getAttribute("gradientUnits")||si,Em=fO(b).self||Zd,ho=+b.getAttribute("x1"),Fk=+b.getAttribute("y1"),Fm=+b.getAttribute("x2"),he=+b.getAttribute("y2"),io=(0,window.parseFloat)(b.getAttribute("opacity")),zl=$.p(ho)?ho:$.p(We)?We:0,Al=$.p(Fk)?Fk:$.p(yl)?yl:0,ti=$.p(Fm)?Fm:$.p(Kj)?Kj:0,Xe=$.p(he)?he:$.p(xh)?xh:0,jo=(0,window.isNaN)(io)?$.p(Vh)?Vh:1:io;zl=$.Kl(zl,7);Al=$.Kl(Al,7);ti=$.Kl(ti,7);Xe=$.Kl(Xe,7);var yh=ti-zl,De=Xe-Al;ri.mode=or&&"userspaceonuse"==or.toLowerCase()?$.Zl(Math.min(zl,ti),Math.min(Al,
Xe),Math.abs(yh),Math.abs(De)):!1;var $d=Math.round($.bb(Math.atan(De/yh)));0<yh&&0>De?$d=Math.abs($d):0>=yh&&0>=De?$d=180-Math.abs($d):0>=yh&&0<De?$d=180+Math.abs($d):0<yh&&0<De&&($d=360-Math.abs($d));ri.opacity=jo;var Lj=$.Ee(b);ri.keys=Lj.length?nO(b):h?h.keys:[];ri.angle=$d;ri.transform=Em;f=ri;break;case "radialgradient":var Wc={};if(h){var Wh=h.gradientUnits;var Gk=h.gradientTransform;var Gm=+h.r;var Lp=+h.cx;var Hk=+h.cy;var ko=+h.fx;var Ye=+h.fy;var Fg=(0,window.parseFloat)(h.opacity)}var zh=
b.getAttribute("gradientUnits")||Wh,Bl=fO(b).self||Gk,Hm=+b.getAttribute("r"),Ik=+b.getAttribute("cx"),Xi=+b.getAttribute("cy"),Wg=+b.getAttribute("fx"),Cl=+b.getAttribute("fy"),Jk=(0,window.parseFloat)(b.getAttribute("opacity")),Mp=$.p(Hm)?Hm:$.p(Gm)?Gm:0,Im=$.p(Ik)?Ik:$.p(Lp)?Lp:0,Rz=$.p(Xi)?Xi:$.p(Hk)?Hk:0,kJ=$.p(Wg)?Wg:$.p(ko)?ko:0,wD=$.p(Cl)?Cl:$.p(Ye)?Ye:0,ZR=(0,window.isNaN)(Jk)?$.p(Fg)?Fg:1:Jk;if(zh&&"userspaceonuse"==zh.toLowerCase()){var Sz=2*Mp,xD=$.Zl(Im-Mp,Rz-Mp,Sz,Sz);Wc.cx=.5;Wc.cy=
.5;Wc.fx=(kJ-xD.left)/Sz;Wc.fy=(wD-xD.top)/Sz;Wc.mode=xD}else Wc.cx=Im,Wc.cy=Rz,Wc.fx=kJ,Wc.fy=wD;Wc.opacity=ZR;Wc.transform=Bl;var yD=$.Ee(b);Wc.keys=yD.length?nO(b):h?h.keys:[];f=Wc;break;case "pattern":var Kk={},tt=+b.getAttribute("x"),$R=+b.getAttribute("y"),ut=+b.getAttribute("width"),zD=+b.getAttribute("height");Kk.type="pattern";Kk.bounds=$.Zl(tt,$R,ut,zD);Kk.properties=hO(b);Kk.attrs=gO(a,b,"group");Kk.features=iO(a,b,Kk);Kk.properties.id=Kk.id=Kk.attrs.id;f=Kk;break;case "defs":case "desc":break;
default:var aS=fO(b,d);f=iO(a,b,c,aS.$u)}f&&e&&(a.b[e]=f)}return f},jO=function(a,b){var c=b.getAttributeNS("http://www.w3.org/1999/xlink","href"),d=null;c&&(c=c.substring(1,c.length),d=$.Ak(a.b[c]),d||(c=a.g.getElementById(c))&&(d=eO(a,c)));return d},nO=function(a){if(!a)return null;if((a=$.Ee(a))&&a.length){var b=[];for(var c=0,d=a.length;c<d;c++){var e=a[c],f=$.$e(e,"stop-color"),h=(0,window.parseFloat)($.$e(e,"stop-opacity"));f=f?f:e.getAttribute("stop-color");h=(0,window.isNaN)(h)?(0,window.parseFloat)(e.getAttribute("stop-opacity")):
h;e=(0,window.parseFloat)(e.getAttribute("offset"));b.push({offset:e,color:f,opacity:(0,window.isNaN)(h)?1:h})}}return b},oO=function(a,b){for(var c=b?b.clear():$.aj(),d=0,e=a.length;d<e;d++){var f=a[d],h=f.values;switch(f.type){case "M":c.moveTo(+h[0],+h[1]);break;case "L":c.lineTo(+h[0],+h[1]);break;case "C":c.fk(+h[0],+h[1],+h[2],+h[3],+h[4],+h[5]);break;case "Z":c.close()}}return c},fO=function(a,b){var c=a.tagName.toLowerCase();c="lineargradient"==c||"radialgradient"==c?a.getAttribute("gradientTransform"):
a.getAttribute("transform");if(!c)return{self:null,$u:$.p(b)?b:null};c=$.Lb(c);var d=c.clone();b&&$.Gb(d,b);return{self:c,$u:d}},gO=function(a,b,c){var d={},e=b.attributes;d.fill={};d.stroke={};for(var f=0,h=e.length;f<h;f++){var k=e[f];k.name=k.name.toLowerCase();switch(k.name){case "clip-path":var l=k.value.replace(/^url\s*\("*#(.+)"*\)/g,"$1");(l=a.b[l])&&(d[k.name]=l.clippath);break;case "opacity":$.p(d.fill.opacity)||(d.fill.opacity=k.value);$.p(d.stroke.opacity)||(d.stroke.opacity=k.value);
break;case "fill":d.fill.color=k.value;break;case "fill-opacity":d.fill.opacity=k.value;break;case "stroke":d.stroke.color=k.value;break;case "stroke-opacity":d.stroke.opacity=k.value;break;case "stroke-linejoin":d.stroke.lineJoin=k.value;break;case "stroke-linecap":d.stroke.lineCap=k.value;break;case "stroke-width":d.stroke.thickness=k.value;break;case "stroke-dasharray":d.stroke.dash=k.value;break;default:"style"!=k.name&&"d"!=k.name&&"transform"!=k.name&&"data-ac-wrapper-id"!=k.name&&(d[k.name]=
k.value)}}"element"==c&&($.p(d.fill.color)||(b.style?(d.fill.color=$.$e(b,"fill"),$.Te(b,"fill","")):d.fill.color="black"),c=d.fill.color.trim(),$.ac(c,"url")&&(e=c.replace(/"/g,"").replace(/^url\s*\(#(.+)\)/g,"$1"),d.fill=a.b[e]),d.stroke.color||(b.style?(d.stroke.color=$.$e(b,"stroke"),$.Te(b,"stroke","")):d.stroke.color="none"),$.ac(d.stroke.color.trim(),"url")&&(c=c.replace(/"/g,"").replace(/^url\s*\(#(.+)\)/g,"$1"),d.stroke=a.b[c]));(a=b.getAttribute("style"))&&(d.style=a);return d},hO=function(a){var b=
{};a=$.Ee(a);for(var c=0,d=a.length;c<d;c++){var e=a[c];if("desc"==e.tagName){a=$.Ee(e);c=0;for(d=a.length;c<d;c++)e=a[c],b[e.tagName]=e.textContent;break}}return b},kO=function(a,b,c,d){d=fO(b,d);if(d.$u){var e=$.Zc(c);for(var f=0,h=e.length;f<h;f++){var k=e[f].values;k&&d.$u.transform(k,0,k,0,k.length/2)}}f=hO(b);a=gO(a,b,"element");b=a.id;$.p(b)?f.id=b:$.p(f.id)&&(b=f.id);return{type:"path",properties:f,id:b,commands:c,commands_tx:e,attrs:a,tx:d}},pO=function(a,b,c,d,e,f,h,k,l,m,n){function q(a,
b,c){return{x:a*Math.cos(c)-b*Math.sin(c),y:a*Math.sin(c)+b*Math.cos(c)}}var r=Math.PI*k/180,t=[];if(n){var u=n[0];l=n[1];var v=n[2];var w=n[3]}else{c=q(b,c,-r);b=c.x;c=c.y;e=q(d,e,-r);d=e.x;e=e.y;u=(b-d)/2;v=(c-e)/2;w=u*u/(f*f)+v*v/(h*h);1<w&&(w=Math.sqrt(w),f*=w,h*=w);w=f*f;var x=h*h;l=(l===m?-1:1)*Math.sqrt(Math.abs((w*x-w*v*v-x*u*u)/(w*v*v+x*u*u)));v=l*f*v/h+(b+d)/2;w=l*-h*u/f+(c+e)/2;u=Math.asin(((c-w)/h).toFixed(9));l=Math.asin(((e-w)/h).toFixed(9));b<v&&(u=Math.PI-u);d<v&&(l=Math.PI-l);0>u&&
(u=2*Math.PI+u);0>l&&(l=2*Math.PI+l);m&&u>l&&(u-=2*Math.PI);!m&&l>u&&(l-=2*Math.PI)}if(Math.abs(l-u)>120*Math.PI/180){x=l;var y=d,A=e;l=m&&l>u?u+120*Math.PI/180:u+120*Math.PI/180*-1;d=v+f*Math.cos(l);e=w+h*Math.sin(l);t=pO(a,d,e,y,A,f,h,k,0,m,[l,x,v,w])}a=Math.tan((l-u)/4);f=4/3*f*a;a*=4/3*h;h=[b,c];b=[b+f*Math.sin(u),c-a*Math.cos(u)];c=[d+f*Math.sin(l),e-a*Math.cos(l)];d=[d,e];b[0]=2*h[0]-b[0];b[1]=2*h[1]-b[1];if(n)return[b,c,d].concat(t);t=[b,c,d].concat(t).join().split(",");var G=[],C=[];t.forEach(function(a,
b){b%2?C.push(q(t[b-1],t[b],r).y):C.push(q(t[b],t[b+1],r).x);6===C.length&&(G.push(C),C=[])});return G},Iea=function(a){var b=[],c=null,d=null,e=null,f=null;a.forEach(function(a){switch(a.type){case "M":var h=a.values[0],l=a.values[1];b.push({type:"M",values:[h,l]});e=h;f=l;c=h;d=l;break;case "m":h=c+a.values[0];l=d+a.values[1];b.push({type:"M",values:[h,l]});e=h;f=l;c=h;d=l;break;case "L":h=a.values[0];l=a.values[1];b.push({type:"L",values:[h,l]});c=h;d=l;break;case "l":h=c+a.values[0];l=d+a.values[1];
b.push({type:"L",values:[h,l]});c=h;d=l;break;case "C":var m=a.values[0],n=a.values[1],q=a.values[2],r=a.values[3];h=a.values[4];l=a.values[5];b.push({type:"C",values:[m,n,q,r,h,l]});c=h;d=l;break;case "c":m=c+a.values[0];n=d+a.values[1];q=c+a.values[2];r=d+a.values[3];h=c+a.values[4];l=d+a.values[5];b.push({type:"C",values:[m,n,q,r,h,l]});c=h;d=l;break;case "Q":m=a.values[0];n=a.values[1];h=a.values[2];l=a.values[3];b.push({type:"Q",values:[m,n,h,l]});c=h;d=l;break;case "q":m=c+a.values[0];n=d+a.values[1];
h=c+a.values[2];l=d+a.values[3];b.push({type:"Q",values:[m,n,h,l]});c=h;d=l;break;case "A":h=a.values[5];l=a.values[6];b.push({type:"A",values:[a.values[0],a.values[1],a.values[2],a.values[3],a.values[4],h,l]});c=h;d=l;break;case "a":h=c+a.values[5];l=d+a.values[6];b.push({type:"A",values:[a.values[0],a.values[1],a.values[2],a.values[3],a.values[4],h,l]});c=h;d=l;break;case "H":h=a.values[0];b.push({type:"H",values:[h]});c=h;break;case "h":h=c+a.values[0];b.push({type:"H",values:[h]});c=h;break;case "V":l=
a.values[0];b.push({type:"V",values:[l]});d=l;break;case "v":l=d+a.values[0];b.push({type:"V",values:[l]});d=l;break;case "S":q=a.values[0];r=a.values[1];h=a.values[2];l=a.values[3];b.push({type:"S",values:[q,r,h,l]});c=h;d=l;break;case "s":q=c+a.values[0];r=d+a.values[1];h=c+a.values[2];l=d+a.values[3];b.push({type:"S",values:[q,r,h,l]});c=h;d=l;break;case "T":h=a.values[0];l=a.values[1];b.push({type:"T",values:[h,l]});c=h;d=l;break;case "t":h=c+a.values[0];l=d+a.values[1];b.push({type:"T",values:[h,
l]});c=h;d=l;break;case "Z":case "z":b.push({type:"Z",values:[]}),c=e,d=f}});return b},lO=function(a,b){var c=[],d=null,e=null,f=null,h=null,k=null,l=null,m=null;(0,$.ue)(b,function(a){switch(a.type){case "M":var b=a.values[0],n=a.values[1];c.push({type:"M",values:[b,n]});l=b;m=n;h=b;k=n;break;case "C":var t=a.values[0],u=a.values[1],v=a.values[2],w=a.values[3];b=a.values[4];n=a.values[5];c.push({type:"C",values:[t,u,v,w,b,n]});e=v;f=w;h=b;k=n;break;case "L":b=a.values[0];n=a.values[1];c.push({type:"L",
values:[b,n]});h=b;k=n;break;case "H":b=a.values[0];c.push({type:"L",values:[b,k]});h=b;break;case "V":n=a.values[0];c.push({type:"L",values:[h,n]});k=n;break;case "S":v=a.values[0];w=a.values[1];b=a.values[2];n=a.values[3];if("C"===d||"S"===d){var x=h+(h-e);var y=k+(k-f)}else x=h,y=k;c.push({type:"C",values:[x,y,v,w,b,n]});e=v;f=w;h=b;k=n;break;case "T":b=a.values[0];n=a.values[1];"Q"===d||"T"===d?(t=h+(h-e),u=k+(k-f)):(t=h,u=k);x=h+2*(t-h)/3;y=k+2*(u-k)/3;c.push({type:"C",values:[x,y,b+2*(t-b)/
3,n+2*(u-n)/3,b,n]});e=t;f=u;h=b;k=n;break;case "Q":t=a.values[0];u=a.values[1];b=a.values[2];n=a.values[3];x=h+2*(t-h)/3;y=k+2*(u-k)/3;c.push({type:"C",values:[x,y,b+2*(t-b)/3,n+2*(u-n)/3,b,n]});e=t;f=u;h=b;k=n;break;case "A":t=a.values[0];u=a.values[1];v=a.values[2];w=a.values[3];x=a.values[4];b=a.values[5];n=a.values[6];0===t||0===u?(c.push({type:"C",values:[h,k,b,n,b,n]}),h=b,k=n):h===b&&k===n||pO(this,h,k,b,n,t,u,v,w,x).forEach(function(a){c.push({type:"C",values:a});h=b;k=n});break;case "Z":c.push(a),
h=l,k=m}d=a.type},a);return c},qO=function(){},Jea=function(a){if(!a)return $.ia;var b,c,d=a.scale[0],e=a.scale[1],f=a.translate[0],h=a.translate[1];return function(a,l){l||(b=c=0);b+=a[0];c+=a[1];a[0]=b*d+f;a[1]=c*e+h}},Kea=function(a,b,c){return"GeometryCollection"===c.type?{type:"FeatureCollection",features:(0,$.Va)(c.geometries,function(a){return rO(b,a)},a)}:rO(b,c)},rO=function(a,b){var c={type:"Feature",id:b.id,properties:b.properties||{},geometry:Lea(a,b)};null==b.id&&delete c.id;return c},
Lea=function(a,b){function c(a){a=$.Ia(a,0);k(a,0);return a}function d(a){for(var b=[],c=0,d=a.length;c<d;++c){var e,f=a[c],h=b;h.length&&h.pop();for(var m=l[0>f?~f:f],n=0,A=m.length;n<A;++n)h.push(e=$.Ia(m[n],0)),k(e,n);0>f&&qO.zd().reverse(h,A)}2>b.length&&b.push($.Ia(b[0],0));return b}function e(a){for(a=d(a);4>a.length;)a.push($.Ia(a[0],0));return a}function f(a){return(0,$.Va)(a,e)}function h(a){var b=a.type;return"GeometryCollection"===b?{type:b,geometries:(0,$.Va)(a.geometries,h)}:b in m?{type:b,
coordinates:m[b](a)}:null}var k=Jea(a.transform),l=a.arcs,m={Point:function(a){return c(a.coordinates)},MultiPoint:function(a){return(0,$.Va)(a.coordinates,c)},LineString:function(a){return d(a.arcs)},MultiLineString:function(a){return(0,$.Va)(a.arcs,d)},Polygon:function(a){return f(a.arcs)},MultiPolygon:function(a){return(0,$.Va)(a.arcs,f)}};return h(b)},sO=function(a){this.$=a;this.b=!0;this.g=this.f=null},uO=function(){$.$x.call(this);this.Ia("map");this.$y=this.Ps=null;this.xS=[];this.Pk=null;
this.Dv=[];this.jK=this.Wm=null;this.Oq=0;this.Bx=!0;this.pa("zoomFactor",1.3);this.$k=window.NaN;this.V_=new Cea(this);$.yd(this,"animationstart",function(){this.T2=!0},!1,this);$.yd(this,"animationend",function(){this.T2=!1;for(var a,b=this.hb.length;b--;)a=this.hb[b],21==a.Le.type&&(a.Nz=this.kf.og().clone(),a.u(1024),a.X());this.cB=!0;this.zT||tO(this)},!1,this);this.$q=!1;this.r_=(0,$.pa)(this.U$,this);this.Mga=(0,$.pa)(function(){this.KH&&this.Np(this.MT);this.Ac.hc(this,["pointerdown","touchstart"],
this.p2,!1,this);this.p2=null;this.Ac.hc(this,["pointermove","touchmove"],this.o2,!1,this);this.o2=null;this.k2=!1},this);this.laa=(0,$.pa)(function(){this.iL||this.Np(this.MT);this.Ac.hc(this,["pointermove","mousemove"],this.m2,!1,this);this.m2=null;this.f0=!1},this);this.y6=(0,$.pa)(this.Np,this);this.qU=this.qJ=null;this.Qs=[];this.PC=null;this.Bn=[];this.qw(this.ma.unboundRegions||"as-is");this.pa("defaultSeriesType","choropleth");this.Ac.wa(this,["pointerdown","touchstart"],this.Lga);$.R(this.xa,
[["geoIdField",4194320,1],["overlapMode",8388608,1],["minZoomLevel",0,0],["maxZoomLevel",0,0]])},kN=function(a){a.Xe.nc(1,0,0,1,0,0);var b=a.kf.og(),c;a.vf&&a.vf.update();for(c=a.hb.length;c--;){var d=a.hb[c];d.enabled()&&d.ey()}for(c=a.Bn.length;c--;)d=a.Bn[c],d.enabled()&&d.ey();if($.hq(a,"axesSettings"))for(d=a.ep.Sl(),c=0;c<d.length;c++){var e=d[c];e.enabled()&&e.ey(b)}if($.hq(a,"gridsSettings"))for(a=a.px.Sl(),c=a.length;c--;)d=a[c],d.enabled()&&d.ey(b)},wO=function(a,b){var c;vO(a)?c=$.Zi():
c=new $.kA(a.Xy,a.ZX);c.parent(b);c.nc(1,0,0,1,0,0);return c},xO=function(a,b){for(var c=b.Ti(),d=0,e=c.length;d<e;d++){var f=c[d];$.K(f,$.bg)?a.ZX(f):$.K(f,$.gg)&&xO(a,f)}},vO=function(a){return a.PC?"svg"==a.PC.Qa():a.Wm?$.z(a.Wm)&&$.ac(a.Wm,"<")||$.te(a.Wm):!1},tO=function(a){var b,c,d,e,f,h,k;var l={};var m={};var n="allow-overlap"!=a.i("overlapMode");a.zT=!0;for(b=a.hb.length;b--;){var q=a.hb[b];var r=q.Qa();if($.da(a.cB)?a.cB:a.cB[r]){var t=q.aa();var u=t.Eb();var v=null===q.QL()&&n||"no-overlap"==
q.QL();r=l[r]?l[r]:l[r]=[];var w=0;for(c=u;w<c;w++){u={};u.W=q;u.ab=q.Kk(w,$.Wk);a.zT=a.zT&&!u.ab;u.index=w;u.Eo=[];u.state=!0;t.select(u.index);var x=t.j("currentPointElement"),y;x&&(y=x.properties);x=t.get("overlapMode");x=null!=x?x:y&&null!=y.overlapMode?y.overlapMode:null;u.IS=null==x&&v||null!=x&&"no-overlap"==$.zj(x);x=t.get("labelrank");u.gM=(0,window.parseFloat)($.p(x)?x:y&&$.p(y.labelrank)?y.labelrank:0);r.push(u)}m[q.ka()]=[]}}$.yc(l,function(a){b=0;for(c=a.length;b<c;b++){h=a[b];e=h.ab;
w=0;for(d=a.length;w<d;w++)k=a[w],f=k.ab,b!=w&&$.Tl(e,f)&&h.Eo.push(k);h.dS=h.Eo.length}for(var l=new VN(a,function(a,b){a=a?a.dS:window.NaN;b=b?b.dS:window.NaN;return a>b?1:0});a.length;){var n=l.pop();if(n.state&&n.IS){b=0;for(c=n.Eo.length;b<c;b++){var q=n.Eo[b];q.state&&n.state&&(n.IS&&!q.IS?n.state=!1:n.gM==q.gM?n.W.ka()<=q.W.ka()&&(n.state=!1):n.gM<q.gM&&(n.state=!1))}if(!n.state)for(b=0,c=n.Eo.length;b<c;b++)q=n.Eo[b],q.dS--,q=(0,$.xa)(a,q),-1!=q&&UN(l,q)}m[n.W.ka()][n.index]=n.state}});for(b=
a.hb.length;b--;)q=a.hb[b],$.U(q),yea(q,m[q.ka()]),q.X(),q.da(!1)},fN=function(a,b,c,d,e){var f,h,k;var l=0;for(h=b.length;l<h;l++)if(f=b[l]){if(d){var m={};$.Bc(f,"properties")&&(m.properties=$.Ic(f.properties))}else e&&(m=a.Pk[l]);if($.Bc(f,"geometries")){var n=f.geometries;d?k=[]:e&&(k=m.geometries);var q=n.length;for(f=0;f<q;f++){var r=d?k[f]={}:e?k[f]:null;yO(a,n[f],c,r,d)}}else yO(a,f,c,m,d);d&&(a.Pk[l]=m)}},zO=function(a,b,c,d){if(b){var e;if(vO(a)){if($.Bc(b,"type"))if("group"==b.type){b.ea||
(b.ea=wO(a,c));var f=b.features;var h=f.length;for(e=0;e<h;e++)zO(a,f[e],b.ea,d);$.yc(b.attrs,function(a,c){"id"==c?b.ea.id(a):"clip-path"==c?(a.ea=oO(a.commands,a.ea),b.ea.clip(a.ea)):b.ea.re(c,a)},a)}else"image"==b.type?(b.ea||(b.ea=c.Nj()),d=b.bounds,b.ea.x(d.left),b.ea.y(d.top),b.ea.width(d.width),b.ea.height(d.height),b.ea.src(b.attrs["xlink:href"])):"path"==b.type?(b.ea||(b.ea=a.Xy(c)),oO(b.commands,b.ea),$.yc(b.attrs,function(a,d){if("id"==d)b.ea.id(a);else if("clip-path"==d)a.ea=oO(a.commands,
a.ea),b.ea.clip(a.ea);else if("fill"==d){if($.D(a))if(a.type&&"pattern"==a.type){var k=a.bounds;if(!a.ea)for(a.ea=$.Qb(k),a.ea.parent(c),a.ea.nc(1,0,0,1,0,0),f=a.features,h=f.length,e=0;e<h;e++)zO(this,f[e],a.ea,null);k=a.ea}else k=a;else k=a;b.ea.fill(k)}else if("stroke"==d){if($.D(a))if(a.type&&"pattern"==a.type){k=a.bounds;if(!a.ea)for(a.ea=$.Qb(k),a.ea.parent(c),a.ea.nc(1,0,0,1,0,0),f=a.features,h=f.length,e=0;e<h;e++)zO(this,f[e],a.ea,null);k=a.ea}else k=a;else k=a;b.ea.stroke(k)}else b.ea.re(d,
a)},a)):"text"==b.type&&(b.ea||(b.ea=new $.sh),d=b.cloneNode.cloneNode(!0),d.removeAttribute("transform"),b.ea.content(d));b.ea&&((d=b.tx?b.tx.self:null)&&b.ea.nc(d.jd,d.Ce,d.Qe,d.De,d.Bd,d.vd),b.ea.parent(c),"group"!=b.type&&a.Dv.push(b.ea))}else if(d=$.lA(c),b.ea=d,a.Dv.push(d),$.Bc(b,"geometries"))for(d=b.geometries,h=d.length,e=0;e<h;e++)yO(a,d[e],a.GY);else yO(a,b,a.GY);if(a.J(262144)){for(d=a.hb.length;d--;)a.hb[d].Cr=a.Pk;a.I(262144)}}},yO=function(a,b,c,d,e){var f,h;if(b)if($.Bc(b,"polygones")){var k=
b.polygones;var l=k.length;e?h=[]:d&&(h=d.polygones);for(f=0;f<l;f++){var m=k[f];var n=m.outerPath;var q=m.holes;if(e){n=$.Ga(n);var r={outerPath:n,holes:[]}}else if(d){r=h[f];n=r.outerPath=$.Ga(n);var t=r.holes}var u=n.length;for(m=0;m<u-1;m+=2)c.call(a,n,m,b);u=q.length;for(m=0;m<u;m++){var v=q[m];e?(v=$.Ga(v),r.holes.push(v)):d&&(v=t[m]=$.Ga(v));for(n=0;n<v.length-1;n+=2)c.call(a,v,n,b)}e&&h.push(r)}e&&(d.polygones=h)}else if($.Bc(b,"paths")){r=b.paths;l=r.length;e?k=[]:d&&(k=d.paths);for(f=0;f<
l;f++)for(h=r[f],e?(h=$.Ga(h),k.push(h)):d&&(h=k[f]=$.Ga(h)),u=h.length,m=0;m<u-1;m+=2)c.call(a,h,m,b);e&&(d.paths=k)}else if($.Bc(b,"coordinates"))for(f=b.coordinates,u=f.length,e?(f=$.Ga(f),d.coordinates=f):d&&(f=d.coordinates=$.Ga(f)),m=0;m<u-1;m+=2)c.call(a,f,m,b);else if($.Bc(b,"type"))if("path"==b.type){if(e||d)d.type=b.type,d.commands=b.commands,d.commands_tx=b.commands_tx,d.attrs=b.attrs,d.properties=b.properties,d.tx=b.tx;c.call(a,null,0,b)}else if("image"==b.type){if(e||d)d.type=b.type,
d.bounds=b.bounds,d.attrs=b.attrs,d.properties=b.properties,d.sourceNode=b.sourceNode,d.cloneNode=b.cloneNode,d.tx=b.tx;c.call(a,null,0,b)}else if("text"==b.type){if(e||d)d.type=b.type,d.text=b.text,d.cloneNode=b.cloneNode,d.attrs=b.attrs,d.properties=b.properties,d.tx=b.tx;c.call(a,null,0,b)}else if("group"==b.type){u=b.features;h=u.length;e?f=[]:d&&(f=d.features);for(m=0;m<h;m++)r=u[m],e?(l={},$.Bc(r,"properties")&&(l.properties=r.properties)):d&&(l=r),yO(a,r,c,l,e),e&&f.push(l);e&&(d.features=
f);if(e||d)d.type=b.type,d.attrs=b.attrs,d.tx=b.tx}},AO=function(a,b,c,d){if("group"==b.type)for(var e=0,f=b.features.length;e<f;e++){var h=b.features[e];c.call(d,b);AO(a,h,c,d)}else c.call(d,b)},BO=function(a,b){if(!a.Pk)return null;for(var c=0,d=a.Pk.length;c<d;c++){var e=a.Pk[c];if(e.properties[a.i("geoIdField")]==b)return e}return null},bN=function(a){var b=a.qU;b||(a.gga={},b=a.gga.root=a,a.uU="root",a.qJ=b,a.qU=b);return b},CO=function(a){a=a.nz();return{type:"drillchange",path:a,current:a[a.length-
1]}},DO=function(a,b,c){if(a.O()){var d=bN(a),e=a.fh();d.Ku=!0;var f=BO(e,b);if(f){var h=f.ea.wq();f=f.properties}else $.Uj(301,null,[b]),h=(h=d.ag())?new $.I(h.left+h.width/2-1,h.top+h.height/2-1,1,1):new $.I(0,0,1,1),f={},f[e.i("geoIdField")]=b;var k=$.ml("map");c.i("maxZoomLevel")==k.maxZoomLevel&&c.pa("maxZoomLevel",e.i("maxZoomLevel"));c.i("minZoomLevel")==k.minZoomLevel&&c.pa("minZoomLevel",e.i("minZoomLevel"));c.jk()&&!c.Oe(0).pd()&&(k=e.Oe(0).pd(),c.Oe(0).pd(k));if(c.jk()&&"choropleth"==c.Oe(0).Ui()&&
!$.hq(c,"colorRange")&&$.hq(e,"colorRange")){k=e.Hj();c.Hj(k.F());var l=c.Hj();l.labels().format(k.labels().format());l.labels().positionFormatter(k.labels().positionFormatter());l.jb().format(k.jb().format());l.jb().positionFormatter(k.jb().positionFormatter())}!$.hq(c,"legend")&&$.hq(e,"legend")&&(k=e.Af(),c.Af(k.F()));c.rfa=e;c.qU=bN(a);c.enabled(!0).O(a.O()).X();c.Wc();c.uU=b;c.qb(d);b=iN(c,h,void 0,!0);c.$q=!0;c.$k=0;c.oj(1/b[0],b[1],b[2]);a.Ju(c,function(a,b,c,d,e){c.Ku&&(b.Ya().Wc(null),b.Wc(),
b.Cd(),c.qJ=a,c.Qs.push(new RM(b,a,e,this.uU)),a.show(),a.Ya().Wc(null),b=iN(a,d,void 0,!0),a.$k=400,a.$q=!0,a.oj(this.i("minZoomLevel"),b[1],b[2]),this.Ju(a,function(a){this.oj(this.i("minZoomLevel"));a.Ku=!1;(0,window.setTimeout)((0,$.pa)(function(){this.dispatchEvent(CO(this))},a),0)},c))},c,e,d,h,f)}},Mea=function(a){a=a.fh();var b=a.kf,c=a.i("minZoomLevel"),d=b.kb();b=b.Ao();var e=(d.left+d.width/2)*(1-c);d=(d.top+d.height/2)*(1-c);return $.Nl(a.qg(),c)&&$.Nl(b[4],e)&&$.Nl(b[5],d)},EO=function(a,
b,c){var d=bN(a),e=a.fh();if(e!=b){d.Ku=!0;e.$k=700;Mea(e)||e.oj(a.i("minZoomLevel"));var f=c||1;a.Ju(e,function(a,b){var c=BO(a,b.Qs[b.Qs.length-f].dx());if(c){var d=c.ea.wq();var e=iN(this,d);c=e[0];d=e[1];e=e[2]}else $.Uj(301,null,[this.uU]),c=10;this.$q=!0;this.$k=400;this.oj(1/c,d,e);this.Ju(this,function(a,b){this.oj(this.i("minZoomLevel"));this.Wc();this.Cd();this.enabled(!1);b.qJ=a;b.Ku=!1;$.Ba(b.Qs,b.Qs.length-f,f);a.Ya().Wc(null);this.Ya().Wc(null);a.show();(0,window.setTimeout)((0,$.pa)(function(){this.dispatchEvent(CO(this))},
b),0)},a,b)},b,d)}},FO=function(a,b){return{type:b,target:a.fh(),from:a.JA,current:a.vp,to:a.FN}},iN=function(a,b,c,d){a=a.fh();var e=b.left+b.width/2,f=b.top+b.height/2,h=$.p(c)?c:a.ag(),k=h.left+h.width/2;c=h.top+h.height/2;b=1/Math.max(b.width/h.width,b.height/h.height);d||(b=Math.max(Math.min(b*a.qg(),a.i("maxZoomLevel")),a.i("minZoomLevel"))/a.qg());$.Nl(b,1,1E-7)?(d=k-e,f=c-f):(d=(k-b*e)/(1-b),f=(c-b*f)/(1-b));b*=a.qg();return[b,d,f]},GO=function(a){$.$y.call(this,a)},HO=function(a){$.$y.call(this,
a)},IO=function(a){$.$y.call(this,a);this.b=$.zz("curvature",$.N,!1,"curvature");this.g=$.zz("startSize",$.mp,!1,"startSize");this.f=$.zz("endSize",$.mp,!1,"endSize")},JO=function(a,b,c,d,e,f,h,k,l,m,n,q,r,t){var u=Math.abs(d-f);var v=Math.abs(e-h);v=$.Kl($.bb(Math.atan(v/u)),7);var w;f<d&&h<e?w=v:f<d&&h>e?w=-v:f>d&&h>e?w=v-180:f>d&&h<e&&(w=180-v);var x=n/2;v=0>q?-90:90;var y=d+Math.cos($.ab(w+v))*x,A=e+Math.sin($.ab(w+v))*x;n=d+Math.cos($.ab(w-v))*x;w=e+Math.sin($.ab(w-v))*x;u=Math.abs(b-k);v=Math.abs(c-
l);v=$.Kl($.bb(Math.atan(v/u)),7);var G;k<b&&l<c?G=v-180:k<b&&l>c?G=180-v:k>b&&l>c?G=v:k>b&&l<c&&(G=-v);x=m/2;v=0>q?-90:90;u=b+Math.cos($.ab(G+v))*x;var C=c+Math.sin($.ab(G+v))*x;m=b+Math.cos($.ab(G-v))*x;G=c+Math.sin($.ab(G-v))*x;var J=$.Wl(u,C,y,A);v=J/2*q;var P=(u+y)/2+Math.cos($.ab(t))*v*1.2,Q=(C+A)/2+Math.sin($.ab(t))*v*1.2;v=J/2*q;x=0<q?1:-1;x=Math.abs(v)<J/4?J/4*x:Math.abs(v)>J/2?J/2*x:v;v=(0>q?90:-90)*r;J=P+Math.cos($.ab(t+v))*x;var T=Q+Math.sin($.ab(t+v))*x;v=(0>q?-90:90)*r;P+=Math.cos($.ab(t+
v))*x;v=Q+Math.sin($.ab(t+v))*x;a.moveTo(y,A);a.fk(J,T,P,v,u,C);u=$.Wl(m,G,n,w);A=u/2*q;y=(m+n)/2+Math.cos($.ab(t))*A*1.2;A=(G+w)/2+Math.sin($.ab(t))*A*1.2;v=u/2*q;x=0<q?1:-1;x=Math.abs(v)<u/4?u/4*x:Math.abs(v)>u/2?u/2*x:v;v=(0>q?90:-90)*r;u=y+Math.cos($.ab(t+v))*x;C=A+Math.sin($.ab(t+v))*x;v=(0>q?-90:90)*r;q=y+Math.cos($.ab(t+v))*x;t=A+Math.sin($.ab(t+v))*x;a.lineTo(m,G);a.fk(q,t,u,C,n,w);a.close();return[b,c,k,l,f,h,d,e]},KO=function(a){$.wA.call(this,a)},LO=function(){var a=new uO;a.pe();return a},
MO=function(a){var b=new uO;b.Ia("bubbleMap");b.pe();b.pa("defaultSeriesType","bubble");for(var c=0,d=arguments.length;c<d;c++)b.bubble(arguments[c]);return b},NO=function(a){var b=new uO;b.Ia("choropleth");b.pe();b.pa("defaultSeriesType","choropleth");for(var c=0,d=arguments.length;c<d;c++)b.choropleth(arguments[c]);return b},OO=function(a){var b=new uO;b.Ia("connector");b.pe();b.pa("defaultSeriesType","connector");for(var c=0,d=arguments.length;c<d;c++)b.connector(arguments[c]);return b},PO=function(a){var b=
new uO;b.Ia("markerMap");b.pe();b.pa("defaultSeriesType","marker");for(var c=0,d=arguments.length;c<d;c++)b.marker(arguments[c]);return b},QO=function(a){var b=new uO;b.Ia("seatMap");b.pe();b.pa("defaultSeriesType","choropleth");for(var c=0,d=arguments.length;c<d;c++)b.choropleth(arguments[c]);return b};$.pd.prototype.jZ=$.ca(0,function(){return this.Mk});var Nea={Rha:"as-is",Eja:"hide"},Oea={Bia:"choropleth",JN:"bubble",fu:"marker",Fia:"connector"},NM=!1;$.H(vM,$.Yv);
vM.prototype.handleEvent=function(a){this.b(a)&&(a.preventDefault(),vM.B.handleEvent.call(this,a))};vM.prototype.R=function(){vM.B.R.call(this);this.b=null};$.g=wM.prototype;$.g.asin=function(a){return 1<a?Math.PI/2:-1>a?-Math.PI/2:Math.asin(a)};$.g.acos=function(a){return 1<a?0:-1>a?Math.PI:Math.acos(a)};$.g.sinh=function(a){return.5*(Math.exp(a)-Math.exp(-a))};$.g.cosh=function(a){return.5*(Math.exp(a)+Math.exp(-a))};$.g.forward=function(a,b){return[a,b]};$.g.Ri=function(a,b){return[a,b]};$.H(yM,wM);yM.prototype.forward=function(a,b){a=$.ab(a);b=$.ab(b);var c=Math.cos(b);var d=(d=this.acos(c*Math.cos(a/=2)))?d/Math.sin(d):1;a=2*c*Math.sin(a)*d;b=Math.sin(b)*d;return[a,b]};
yM.prototype.Ri=function(a,b){if(a*a+4*b*b>Math.PI*Math.PI+1E-6)return[window.NaN,window.NaN];var c=a,d=b,e=25,f=0;do{var h=Math.sin(c),k=Math.sin(c/2),l=Math.cos(c/2),m=Math.sin(d),n=Math.cos(d),q=Math.sin(2*d),r=m*m,t=n*n,u=k*k,v=1-t*l*l,w=v?this.acos(n*l)*Math.sqrt(f=1/v):f=0;v=2*w*n*k-a;var x=w*m-b,y=f*(t*u+w*n*l*r),A=f*(.5*h*q-2*w*m*k);h=.25*f*(q*k-w*m*t*h);n=f*(r*l+w*u*n);l=A*h-n*y;if(!l)break;A=(x*A-v*n)/l;v=(v*h-x*y)/l;c-=A;d-=v}while((1E-6<Math.abs(A)||1E-6<Math.abs(v))&&0<--e);return[$.Ya($.bb(c),
-180,180),$.Ya($.bb(d),-180,180)]};$.H(zM,wM);zM.prototype.forward=function(a,b){a=$.ab(a);b=$.ab(b);var c=Math.tan(b/2),d=xM(1-c*c),e=1+d*Math.cos(a/=2);d=Math.sin(a)*d/e;c/=e;e=d*d;var f=c*c;return[4/3*d*(3+e-3*f),4/3*c*(3+3*e-f)]};
zM.prototype.Ri=function(a,b){a*=.375;b*=.375;if(!a&&1<Math.abs(b))return[window.NaN,window.NaN];var c=1+a*a+b*b,d=Math.sqrt(.5*(c-Math.sqrt(c*c-4*b*b)));c=this.asin(d)/3;d?(d=Math.abs(b/d),d=Math.log(d+xM(d*d-1))/3):(d=Math.abs(a),d=Math.log(d+xM(d*d+1))/3);var e=Math.cos(c),f=this.cosh(d),h=f*f-e*e;a=2*(0<a?1:0>a?-1:0)*Math.atan2(this.sinh(d)*e,.25-h);b=2*(0<b?1:0>b?-1:0)*Math.atan2(f*Math.sin(c),.25+h);return[$.bb(a),$.bb(b)]};$.H(AM,wM);AM.prototype.forward=function(a,b){a=$.ab(a);b=$.ab(b);var c=this.b+this.f-b,d=c?a*Math.cos(b)/c:c;a=c*Math.sin(d);b=this.b-c*Math.cos(d);return[a,b]};AM.prototype.Ri=function(a,b){var c=Math.sqrt(a*a+(b=this.b-b)*b),d=this.b+this.f-c;a=c/Math.cos(d)*Math.atan2(a,b);return[$.bb(a),$.bb(d)]};$.H(BM,wM);BM.prototype.forward=function(a,b){a=$.ab(a);b=$.ab(b);var c=Math.sqrt(8/(3*Math.PI));a=c*a*(1-Math.abs(b)/Math.PI);return[a,c*b]};BM.prototype.Ri=function(a,b){var c=Math.sqrt(8/(3*Math.PI)),d=b/c;a/=c*(1-Math.abs(d)/Math.PI);return[$.bb(a),$.bb(d)]};$.H(CM,wM);CM.prototype.forward=function(a,b){a=$.ab(a);b=$.ab(b);var c=Math.sqrt(Math.PI*(4+Math.PI));a=2/c*a*(1+Math.sqrt(1-4*b*b/(Math.PI*Math.PI)));return[a,4/c*b]};CM.prototype.Ri=function(a,b){var c=Math.sqrt(Math.PI*(4+Math.PI))/2;a=a*c/(1+xM(1-b*b*(4+Math.PI)/(4*Math.PI)));return[$.bb(a),$.bb(b*c/2)]};$.H(DM,wM);DM.prototype.forward=function(a,b){a=$.ab(a);b=$.ab(b);return[a,b]};DM.prototype.Ri=function(a,b){return[$.bb(a),$.bb(b)]};$.H(EM,wM);EM.prototype.forward=function(a,b){a=$.ab(a);b=$.ab(b);var c=Math.cos($.ab(35)),d=Math.tan(b/2);a=a*c*xM(1-d*d);return[a,(1+c)*d]};EM.prototype.Ri=function(a,b){var c=Math.cos($.ab(35)),d=b/(1+c);a=a?a/(c*xM(1-d*d)):0;b=2*Math.atan(d);return[$.bb(a),$.bb(b)]};$.H(FM,wM);FM.prototype.forward=function(a,b){var c=Math.cos(b),d=this.scale(Math.cos(a)*c);a=d*c*Math.sin(a);b=d*Math.sin(b);return[a,b]};FM.prototype.Ri=function(a,b){var c=$.Wl(0,0,a,b),d=this.angle(c),e=Math.sin(d);a=Math.atan2(a*e,c*Math.cos(d));b=Math.asin(c&&b*e/c);return[a,b]};$.H(GM,wM);GM.prototype.forward=function(a,b){a=$.ab(a);b=$.ab(b);var c=this.f.forward(a/2,b);c[0]*=this.b;a=c[0];b=c[1];return[a,b]};GM.prototype.Ri=function(a,b){var c=this.f.Ri(a/this.b,b);c[0]*=2;a=c[0];b=c[1];return[$.bb(a),$.bb(b)]};$.H(HM,wM);HM.prototype.forward=function(a,b){a=$.ab(a);b=$.ab(b);b=Math.log(Math.tan(Math.PI/4+b/2));return[a,b]};HM.prototype.Ri=function(a,b){b=2*Math.atan(Math.exp(b))-Math.PI/2;return[$.bb(a),$.bb(b)]};$.H(IM,wM);IM.prototype.forward=function(a,b){a=$.ab(a);b=$.ab(b);var c=this.b.forward(a,b);a=c[0];b=c[1];return[a,b]};IM.prototype.Ri=function(a,b){var c=this.b.Ri(a,b);a=c[0];b=c[1];return[$.bb(a),$.bb(b)]};$.H(JM,wM);JM.prototype.forward=function(a,b){return this.b(this.f).forward([a,b])};JM.prototype.Ri=function(a,b){return this.b(this.f).inverse([a,b])};$.H(KM,wM);var RO=[[.9986,-.062],[1,0],[.9986,.062],[.9954,.124],[.99,.186],[.9822,.248],[.973,.31],[.96,.372],[.9427,.434],[.9216,.4958],[.8962,.5571],[.8679,.6176],[.835,.6769],[.7986,.7346],[.7597,.7903],[.7186,.8435],[.6732,.8936],[.6213,.9394],[.5722,.9761],[.5322,1]];
KM.prototype.forward=function(a,b){if((0,window.isNaN)(a)||(0,window.isNaN)(b))return[window.NaN,window.NaN];a=$.ab(a);b=$.ab(b);var c,d=Math.min(18,36*Math.abs(b)/Math.PI),e=Math.floor(d);d-=e;var f=(c=RO[e])[0],h=c[1],k=(c=RO[++e])[0],l=c[1];e=(c=RO[Math.min(19,++e)])[0];c=c[1];b=(0<b?Math.PI/2:-Math.PI/2)*(l+d*(c-h)/2+d*d*(c-2*l+h)/2);return[a*(k+d*(e-f)/2+d*d*(e-2*k+f)/2),b]};
KM.prototype.Ri=function(a,b){if((0,window.isNaN)(a)||(0,window.isNaN)(b))return[window.NaN,window.NaN];var c=b/Math.PI/2,d=90*c,e=Math.min(18,Math.abs(d/5)),f=Math.max(0,Math.floor(e));do{var h=RO[f][1],k=RO[f+1][1],l=RO[Math.min(19,f+2)][1],m=l-h,n=2*(Math.abs(c)-k)/m;h=(l-2*k+h)/m;n*=1-h*n*(1-2*h*n);if(0<=n||1===f){d=(0<=b?5:-5)*(n+e);c=50;do e=Math.min(18,Math.abs(d)/5),f=Math.floor(e),n=e-f,h=RO[f][1],k=RO[f+1][1],l=RO[Math.min(19,f+2)][1],d-=$.bb(e=(0<=b?Math.PI/2:-Math.PI/2)*(k+n*(l-h)/2+n*
n*(l-2*k+h)/2)-b);while(1E-12<Math.abs(e)&&0<--c);break}}while(0<=--f);e=RO[f][0];c=RO[f+1][0];f=RO[Math.min(19,f+2)][0];b=$.ab(d);return[$.bb(a/(c+n*(f-e)/2+n*n*(f-2*c+e)/2)),$.bb(b)]};$.H(LM,wM);LM.prototype.forward=function(a,b){a=$.ab(a);b=$.ab(b);a*=Math.sqrt(1-3*b*b/(Math.PI*Math.PI));return[a,b]};LM.prototype.Ri=function(a,b){a/=Math.sqrt(1-3*b*b/(Math.PI*Math.PI));return[$.bb(a),$.bb(b)]};$.H(QM,$.Bv);var SO={};$.ep(SO,[[0,"zoomOnDoubleClick",$.op],[0,"keyboardZoomAndMove",$.op],[0,"drag",$.op],[0,"copyFormat",$.Tp]]);$.S(QM,SO);QM.prototype.F=function(){var a=QM.B.F.call(this);$.Bp(this,SO,a);return a};QM.prototype.Y=function(a,b){QM.B.Y.call(this,a,b);$.tp(this,SO,a)};$.H(RM,$.Vy);$.g=RM.prototype;$.g.get=function(a){return $.E(this.za.data)?this.za.data().get(this.index,a):void 0};$.g.dx=function(){return this.id};$.g.h8=function(){return this.f};$.g.qZ=function(){return this.b};$.g.Gba=function(){return this.sc()};var TO=RM.prototype;TO.getId=TO.dx;TO.getProperties=TO.h8;TO.getCurrentChart=TO.qZ;TO.getParentChart=TO.Gba;TO.get=TO.get;$.H(SM,$.Wy);$.g=SM.prototype;$.g.bx=function(){var a=this.W.aa();a.select(this.index);return a.j("features")[0].properties};$.g.Cba=function(){var a=this.W.aa();a.select(this.index);return a.j("features")[0].ea.wq()};$.g.Ida=function(a){if($.p(a))return this.set("middle-x",a),this;a=this.W.aa();a.select(this.index);a=(a=a.j("features"))&&a.length?a[0].properties:null;var b=this.get("middle-x");return $.p(b)?b:a?a["middle-x"]:.5};
$.g.Jda=function(a){if($.p(a))return this.set("middle-y",a),this;a=this.W.aa();a.select(this.index);a=(a=a.j("features"))&&a.length?a[0].properties:null;var b=this.get("middle-y");return $.p(b)?b:a?a["middle-y"]:.5};$.g.gha=function(a,b){var c=this.sc();return $.p(a)||$.p(b)?(c.JQ(this.bx()[VM(this.W)],a,b),this):c.JQ(this.bx()[VM(this.W)])};$.g.translate=function(a,b){this.sc().H2(this.bx()[VM(this.W)],a,b);return this};
$.g.kg=function(a){var b=this.sc();return $.p(a)?(b.HQ(this.bx()[VM(this.W)],a),this):b.HQ(this.bx()[VM(this.W)],a)};$.g.fga=function(a){var b=this.sc();return $.p(a)?(b.IQ(this.bx()[VM(this.W)],a),this):b.IQ(this.bx()[VM(this.W)],a)};var UO=SM.prototype;UO.getFeatureProp=UO.bx;UO.getFeatureBounds=UO.Cba;UO.middleX=UO.Ida;UO.middleY=UO.Jda;UO.translation=UO.gha;UO.translate=UO.translate;UO.crs=UO.kg;UO.scaleFactor=UO.fga;$.H(TM,$.Hz);$.g=TM.prototype;$.g.ra=$.Hz.prototype.ra|1152;$.g.qa=$.Hz.prototype.qa|4194304;$.g.TN=1.3E-5;$.g.ND={};$.g.Dr=function(){return 0};$.g.hE=null;
$.g.me=function(a,b,c){a=a||this.i("color")||"blue";var d,e=this.aa(),f={},h=this.pd();c=$.p(c)&&c;h&&!c&&(c=e.get(this.Le.Zk),$.p(c)&&(d=h.cq(c)),$.Kc(f,{scaledColor:d,colorScale:h}));YM(this)&&(d=e.j("currentPointElement"),h=(h=e.j("features"))&&h.length?h[0]:null,$.Kc(f,{properties:h?h.properties:null,attributes:d?d.attrs:null,element:d?d.domElement:null}));f.sourceColor=a;this.ts()&&(e=b?this.If():e,$.Kc(f,{index:e.ka(),sourceColor:a,iterator:e,referenceValueNames:this.fe()}));return f};
$.g.oi=function(a){var b=this.eh();return this.ts()?(a=a?this.If():this.aa(),{index:a.ka(),sourceHatchFill:b,iterator:a,referenceValueNames:this.fe()}):{sourceHatchFill:b}};$.g.TB=function(a){return $.p(a)?(a!=this.b&&(this.b=a,this.u(1536,5)),this):this.b||this.g};
$.g.Kk=function(a,b){var c=this.aa();c.select(a);var d=$.p(b)?b:$.Hv(this.state,a),e=!!(d&$.mn),f=!e&&!!(d&$.ln),h,k=c.get("normal");k=$.p(k)?k.label:void 0;var l=(k=$.On(k,c.get("label")))&&$.p(k.enabled)?k.enabled:null;var m=this.Ta().labels(),n=null;if(e){var q=c.get("selected");q=$.p(q)?q.label:void 0;var r=(q=$.On(q,c.get("selectLabel")))&&$.p(q.enabled)?q.enabled:null;n=this.selected().labels()}else f?(q=c.get("hovered"),q=$.p(q)?q.label:void 0,r=(q=$.On(q,c.get("hoverLabel")))&&$.p(q.enabled)?
q.enabled:null,n=this.lb().labels()):q=null;e||f?h=null===r?null===n.enabled()?null===l?m.enabled():l:n.enabled():r:h=null===l?m.enabled():l;return h?(c=WM(this,d),c=this.Gi(c),d=this.Ec(!0),e={},k&&$.Kc(e,k),n&&$.Kc(e,$.iK(n)),q&&$.Kc(e,q),q=e.anchor,$.p(q)&&null!==q||(e.anchor=this.aa().j("labelAnchor")),$.$l(m.measure(d,c,e,a))):null};
$.g.QL=function(a){return $.p(a)?(a=!1===a?"no-overlap":a,a=null===a?a:"allow-overlap"==$.zj(a),this.hE!=a&&(this.hE=a,this.u(256,1025)),this):null===this.hE?this.za.i("overlapMode"):this.hE?"allow-overlap":"no-overlap"};$.g.pf=function(a,b,c){var d=a.ka();this.f&&$.p(this.f[d])&&!this.f[d]||TM.B.pf.call(this,a,b,c)};$.g.uZ=function(){return this.ta};$.g.tC=function(){return!0};
$.g.Mz=function(a){if(22==this.Le.type||this.Qj()){var b=ZM(this,a);a.j("x",b?b.x:window.NaN);a.j("value",b?b.y:window.NaN)}this.Qj()&&a.j("size",this.DE(Number(a.get("size"))))};
$.g.An=function(){for(var a=-window.Infinity,b=window.Infinity,c=0,d=0,e=this.wc();e.advance();){var f=this.enabled()?[this.aa().get(this.Le.Zk)]:null;f&&(f=$.N(f[0]),(0,window.isNaN)(f)||(a=Math.max(a,f),b=Math.min(b,f),c+=f));d++}e=c/d;this.Fa("seriesMax",a);this.Fa("seriesMin",b);this.Fa("seriesSum",c);this.Fa("seriesAverage",e);this.Fa("seriesPointsCount",d);this.Fa("seriesPointCount",d)};
$.g.ey=function(){var a=this.wc(),b=this.O()?this.O().Ga():null,c=b&&!b.Ve();for(c&&b.suspend();a.advance()&&this.enabled();)Bea(this);c&&b.resume()};
$.g.Gj=function(a,b){var c=this.aa();if(this.Cg())if(YM(this)){var d=c.j("features");if(!d){c.j("beforeDrawState",a);return}for(var e=0,f=d.length;e<f;e++){var h=d[e];$.p(h.ea)&&AO(this.sc(),h,function(b){var d=b.ea;if(d&&$.K(d,$.Pf)){var e=c.j("beforeDrawState");$.ea(e)&&(a=e,c.j("beforeDrawState",null));e=a;var f="s"+$.oa(d),h=d.zIndex();switch(e){case $.ln:f in this.fD&&(h=this.fD[f]);f in this.Cz||(this.Cz[f]=h,d.zIndex(1E4),c.j("stateZIndex",1E4),this.bG[f]=d);break;case $.mn:f in this.Cz&&(h=
this.Cz[f],delete this.bG[f],delete this.Cz[f]);f in this.fD||(this.fD[f]=h,d.zIndex(1E3),c.j("stateZIndex",1E3),this.xM[f]=d);break;default:f in this.bG&&(this.bG[f].zIndex(this.Cz[f]),c.j("stateZIndex",null),delete this.bG[f],delete this.Cz[f]),f in this.xM&&(this.xM[f].zIndex(this.fD[f]),c.j("stateZIndex",null),delete this.xM[f],delete this.fD[f])}c.j("currentPointElement",b);d={foreignFill:d};b.k_&&(d.hatchFill=b.k_);this.Ff.em(a,d);this.Ff.DA(a,d)}},this)}}else d=c.j("shapes"),this.Ff.em(a,d),
this.Ff.DA(a,d);this.check(256)&&this.NJ(c,a,!0);this.Le.BD(c,a);this.check(4194304)&&this.rp(c,a,!0);this.check($.nE)&&this.pf(c,a,!0);return b};$.g.zp=$.ia;$.g.QX=function(){this.I(65536)};
$.g.mb=function(){YM(this)||this.I(65536);if(this.J(4194304)||this.J(65536)){var a=this.Xm(),b=this.fe();this.CU.length=0;var c=this.wc(),d=this.za.jG,e;for(d&&(e=d[this.TB()]);c.advance();){if(this.J(4194304)){if(!e)continue;d=c.get(b[0]);if(!d||!($.ea(d)||$.z(d)||$.B(d)))continue;d=$.B(d)?d:[d];c.j("features",void 0);for(var f=[],h=0,k=d.length;h<k;h++){var l=d[h],m=e[l];m&&(f.push(m),this.CU[c.ka()]=l)}c.j("features",f)}a&&this.J(65536)&&a.Oc(c.get(b[1]))}a&&this.J(65536)&&a.ng();this.I(65536);
this.I(4194304)}};$.g.od=function(){this.mb();this.Nz=this.za.kf.og().clone();TM.B.od.call(this)};$.g.Sm=function(a,b){if(this.J(4)&&YM(this)){var c=a.j("features");if(c){var d=a.j("beforeDrawState");$.ea(d)&&(b=d,this.Gj(b),a.j("beforeDrawState",null));d=0;for(var e=c.length;d<e;d++){var f=c[d];$.p(f.ea)&&$.Ps(this,f.ea)}}}TM.B.Sm.call(this,a,b)};
$.g.$B=function(a){var b=this.Ur();b.I(b.qa);var c=b.F(),d={sourceColor:this.i("color")};$.E(b.Pr())&&(c.iconFill=b.Pr().call(d,d));$.E(b.Rr())&&(c.iconStroke=b.Rr().call(d,d));$.E(b.Qr())&&(d.sourceColor=this.wE,c.iconHatchFill=b.Qr().call(d,d));b=this.xB();var e;$.E(a)&&(e=a.call(b,b));$.z(e)||(e=this.name());"marker"==c.iconType&&this.check(4194304)&&(a=this.Ta().Gb(),c.iconFill=a.fill(),c.iconStroke=a.stroke());c.iconType=this.ZB(c.iconType,b);e={text:e,iconEnabled:!0,iconStroke:void 0,iconFill:this.i("color"),
iconHatchFill:void 0,disabled:!this.enabled()};$.Kc(e,c);return e};$.g.SP=function(){return[this,this.sc()]};$.g.fR=function(){return{}};
$.g.pm=function(a,b){var c=this.Lk(),d={chart:{value:this.sc(),type:""},series:{value:this,type:""},scale:{value:c,type:""},index:{value:b.ka(),type:"number"},seriesName:{value:this.name(),type:"string"},id:{value:b.get("id"),type:"string"}},e=b.get("value");$.p(e)&&(d.value={value:e,type:"number"});c&&$.E(c.Qa)&&(d.xScaleType={value:c.Qa(),type:"string"});e=this.fe();for(c=0;c<e.length;c++){var f=e[c];f in d||(d[f]={value:b.get(f),type:"number"})}if(21==this.Le.type){var h=b.j("pointsWithoutMissing");
if(h&&h.length){d.startPoint={value:{lat:h[0],"long":h[1]},type:""};d.endPoint={value:{lat:h[h.length-2],"long":h[h.length-1]},type:""};f=[];c=0;for(e=h.length;c<e;c+=2)f.push({lat:h[c],"long":h[c+1]});d.connectorPoints={value:f,type:""}}}else if((c=b.j("regionId"))&&(d.id={value:c,type:"string"}),c=(c=b.j("features"))&&c.length?c[0].properties:null)for(h in d.regionProperties={value:c,type:""},c)!c.hasOwnProperty(h)||h in d||(d[h]={value:c[h]});return d};$.g.eR=function(){return $.Fz(this,new $.$u)};
$.g.wB=function(){return this.eR()};$.g.vT=function(){return!1};$.g.i8=function(a,b){var c=this.za.scale().transform(a,b);return{x:c[0],y:c[1]}};$.g.Ec=function(a){if(!this.o||a)this.o=new $.$u;return $.Fz(this,this.o)};
$.g.OJ=function(a,b,c,d,e,f){var h=a[0],k=a[1],l=a[2];a=a[3];if(!d.value)return null;var m=e?h.Wd(c):h.Bq(c);m?(e&&m.Nf(e),m.Cc(d)):m=e?h.add(e,d,c):h.add(d,c);m.yi();if(e)m.Dk(this.aa().j("labelAnchor")),b.unshift(m),this.SU.apply(this,b);else{$.yw(m,k||h);l=$.Ic(l||{});a=$.Ic(a||{});b=m.Bc("rotation");if(!$.p(b)||null===b||(0,window.isNaN)(b))b=this.aa().j("markerRotation"),"rotation"in l||(l.rotation=b),"rotation"in a||(a.rotation=b);b=m.Bc("anchor");$.p(b)&&null!==b||(b=this.aa().j("markerAnchor"),
"anchor"in l||(l.anchor=b),"anchor"in a||(a.anchor=b));m.gd(l,a)}f&&m.X();24==this.Le.type&&(m.Nz=this.za.kf.og().clone());return m};
$.g.Gi=function(a){var b=this.aa(),c={x:0,y:0};switch(this.Le.type){case 21:if(b.j("shapes").path){var d=b.j("sumDist"),e=b.j("connectorsDist"),f=b.j("points"),h=0;if($.z(a))switch(a){case "start":var k=0;break;case "middle":k=.5;break;case "end":k=1;break;default:$.kn(a)?k=(0,window.parseFloat)(a)/100:(k=$.N(a),(0,window.isNaN)(k)&&(k=.5))}else k=$.N(a),(0,window.isNaN)(k)&&(k=.5);d*=k;for(var l=0,m=f.length;l<m;l+=8){a=e[l/8];if(d>=h&&d<=h+a){var n=(d-h)/a,q=f[l+2],r=f[l+3],t=f[l+4],u=f[l+5],v=
f[l+6],w=f[l+7];c=t+(q-t)*(1-n);var x=u+(r-u)*(1-n);t=v+(t-v)*(1-n);u=w+(u-w)*(1-n);q=c+(q+(f[l]-q)*(1-n)-c)*(1-n);r=x+(r+(f[l+1]-r)*(1-n)-x)*(1-n);c=t+(c-t)*(1-n);t=u+(x-u)*(1-n);x=c+(q-c)*(1-n);n=t+(r-t)*(1-n);u=$.Kl($.bb(Math.atan(Math.abs(t-r)/Math.abs(c-q))),7);c<q&&t<r?u-=180:c<q&&t>r?u=180-u:c>q&&t>r||c>q&&t<r&&(u=-u);b.j("labelAnchor",XM($.$a(u+90)));b.j("markerRotation",u);b.j("markerAnchor",1==k?"right-center":k?"center":"left-center")}h+=a}this.za.T2||this.za.cea||21!=this.Le.type?(e=this.Nz,
b=this.za.kf.og().clone(),e&&$.ub(b,$.Ib(e)),e=b.jd,c={x:x*e+b.Bd,y:n*e+b.vd}):c={x:x,y:n}}else c={x:0,y:0};break;case 22:case 23:c=ZM(this,b);break;case 24:if(n=(x=b.j("features"))&&x.length?x[0]:null){x=aN(this);if(a=b.get("label"))l=a.positionMode,k=a.x,f=a.y;if(c=(c=n.properties)&&c.label)m=c&&c.positionMode,d=a.x,h=a.y;l=l||m||"relative";k=$.p(k)?k:d;h=$.p(f)?f:h;$.p(k)&&$.p(h)?(b.j("positionMode",l),e=x.x,f=x.y,"relative"==l?(k=$.on(k),h=$.on(h),k=$.kn(k)?(0,window.parseFloat)(k)/100:k,h=$.kn(h)?
(0,window.parseFloat)(h)/100:h,(n=n.ea)?(n=n.wq(),k=n.left+n.width*k,h=n.top+n.height*h):h=k=0):"absolute"==l?(h=this.za.scale().transform((0,window.parseFloat)(k),(0,window.parseFloat)(h)),k=h[0],h=h[1]):"offset"==l&&(n=$.ab((0,window.parseFloat)(k)-90),h=(0,window.parseFloat)(h),k=e+h*Math.cos(n),h=f+h*Math.sin(n)),n=$.Kl($.bb(Math.atan(Math.abs(f-h)/Math.abs(e-k))),7),e<k&&f<h?n-=180:e<k&&f>h?n=180-n:e>k&&f>h||e>k&&f<h&&(n=-n),e=XM($.$a(n-90)),b.j("labelAnchor",e),b.j("markerAnchor",e),e={x:k,
y:h}):(b.j("labelAnchor","center"),b.j("markerAnchor","center"))}else x=null;e?(e.connectorPoint={value:x},c=e):c=x;if(b=c&&c.connectorPoint)return delete c.connectorPoint,{connectorPoint:b,value:c}}return{value:c}};$.g.Ad=function(a){return YM(this)?new SM(this,a):TM.B.Ad.call(this,a)};var VO={};$.dp(VO,0,"startSize",$.mp);$.dp(VO,0,"endSize",$.mp);$.dp(VO,0,"curvature",$.mp);$.S(TM,VO);
TM.prototype.F=function(){var a=TM.B.F.call(this);$.Bp(this,VO,a);a.seriesType=this.Qa();a.overlapMode=this.hE;$.p(this.b)&&(a.geoIdField=this.b);return a};TM.prototype.Y=function(a,b){TM.B.Y.call(this,a,b);$.tp(this,VO,a);this.QL(a.overlapMode);this.TB(a.geoIdField)};var WO=TM.prototype;WO.overlapMode=WO.QL;WO.geoIdField=WO.TB;WO.transformXY=WO.i8;WO.getPoint=WO.Ad;$.H(dN,$.Lx);dN.prototype.Ov=function(){this.g||cN(this.map.V_,1);dN.B.Ov.call(this)};dN.prototype.Al=function(){this.g||cN(this.map.V_,0);dN.B.Al.call(this)};dN.prototype.R=function(){dN.B.R.call(this);this.map=null};$.H(eN,dN);eN.prototype.qP=function(a,b){var c=(a[b]-this.Hd.Sh)/this.Hd.scale;var d=(a[b+1]-this.Hd.Ei)/this.Hd.scale;this.zH&&(d=this.zH.Ri(c,d),c=d[0],d=d[1]);c=this.Hd.oo.forward(c,d);a[b]=c[0]*this.Hd.scale+this.Hd.Sh;a[b+1]=c[1]*this.Hd.scale+this.Hd.Ei;this.YQ.bK(a[b],a[b+1])};eN.prototype.stop=function(a){$.Jx(this);this.oc=$.Fx;a&&(this.qd=1);gN(this,this.qd);this.so("stop");this.Al()};
eN.prototype.SE=function(a){this.oc!=$.Fx&&(this.qd=(a-this.o)/(this.D-this.o),1<=this.qd&&(this.qd=1),gN(this,this.qd),1==this.qd?(this.oc=$.Fx,$.Jx(this),this.KC(),this.Al()):1==this.oc&&this.Am())};eN.prototype.R=function(){eN.B.R.call(this);this.Hd=this.zH=this.Cr=null};$.H(hN,dN);hN.prototype.Ov=function(){this.G=$.Nl(this.b[0],this.f[0],1E-5)&&this.map.kI;hN.B.Ov.call(this)};hN.prototype.Am=function(){this.G?mN(this,this.coords[1],this.coords[2]):lN(this,this.coords[0]);this.g||bN(this.map).dispatchEvent(FO(this.map,"zoom"));hN.B.Am.call(this)};
hN.prototype.KC=function(){if(this.map.Cr()){var a=this.coords[0],b=this.coords[1],c=this.coords[2];this.G?mN(this,b,c):(b=this.map.kf.wd,c=this.map.i("minZoomLevel"),!this.map.$q&&a<=c&&!$.xb(b)||this.map.FN==c?(this.map.kf.nc(c,0,0,c,0,0),this.map.vp=c,this.map.scale().zoom=c,jN(this.map.scale(),0,0),kN(this.map)):lN(this,a))}this.map.M_=this.map.$q;this.map.$q=!1;this.map.$k=window.NaN;hN.B.KC.call(this)};
hN.prototype.Al=function(){this.g||bN(this.map).dispatchEvent(FO(this.map,"zoomend"));hN.B.Al.call(this);this.map=this.map.Th=null;this.ad()};$.H(nN,$.X);$.g=nN.prototype;$.g.ra=$.X.prototype.ra;$.g.qa=$.X.prototype.qa;$.g.i=$.Vp;$.g.dg=function(a){$.p(a)&&(this.Ub=a);return this.Ub};$.g.Og=$.Up;$.g.Sd=function(){var a=[this.ma];this.$&&(a=$.Fa(a,this.$.Sd()));return a};$.g.Rd=function(){var a=[this.La];this.$&&(a=$.Fa(a,this.$.Rd()));return a};$.g.parent=function(a){return $.p(a)?(this.$!=a&&(this.$&&$.Xp(this.$,this.Nc,this),(this.$=a)&&$.L(this.$,this.Nc,this)),this):this.$};
$.g.Nc=function(a){var b=0;$.W(a,1)&&(b|=1);$.W(a,8)&&(b|=8);this.Ub=null;this.ua(b)};var Pea=nN.prototype,XO={};$.dp(XO,1,"stroke",$.xp);$.dp(XO,0,"length",$.N);$.dp(XO,0,"position",$.Bj);Pea.AI=XO;$.S(nN,nN.prototype.AI);$.g=nN.prototype;$.g.orientation=function(a){return $.p(a)?(a=$.qj(a),this.Ug!=a&&(this.Ug=a,this.uo=null),this):this.Ug};$.g.Fb=function(){var a=this.orientation();return"top"==a||"bottom"==a};$.g.remove=function(){this.path&&this.path.parent(null)};
$.g.X=function(){oN(this);this.path.clear();this.path.stroke(this.i("stroke"));if(!this.xc())return this;this.J(8)&&(this.path.zIndex(this.zIndex()),this.I(8));this.J(2)&&(this.path.parent(this.O()),this.I(2));return this};$.g.sp=function(a){a=qN(this,a);this.path.moveTo(a[0],a[1]);this.path.lineTo(a[2],a[3])};$.g.Y=function(a,b){nN.B.Y.call(this,a,b);b?$.sp(this.ma,this.AI,a):$.tp(this,this.AI,a)};$.g.F=function(){var a=nN.B.F.call(this);$.Bp(this,this.AI,a,"Map axis ticks props");return a};
$.g.R=function(){$.hd(this.path);this.path=null;nN.B.R.call(this)};$.H(sN,$.X);$.g=sN.prototype;$.g.qa=$.X.prototype.qa|976;$.g.ra=$.X.prototype.ra|32768;$.g.line=null;$.g.Qq="axis";$.g.Ca=null;$.g.gb=null;$.g.jc=null;$.g.Jc=null;$.g.oa=null;$.g.Tb=null;$.g.Hh=null;$.g.Uj=null;$.g.i=$.Vp;$.g.dg=function(a){$.p(a)&&(this.Ub=a);return this.Ub};$.g.Og=$.Up;$.g.Sd=function(){var a=[this.ma];this.$&&(a=$.Fa(a,this.$.Sd()));return a};$.g.Rd=function(){var a=[this.La];this.$&&(a=$.Fa(a,this.$.Rd()));return a};
$.g.parent=function(a){return $.p(a)?(this.$!=a&&(this.$&&$.Xp(this.$,this.Nc,this),(this.$=a)&&$.L(this.$,this.Nc,this)),this):this.$};$.g.Nc=function(a){var b=0,c=0;$.W(a,1)&&(b|=16,c|=1);$.W(a,8)&&(b|=this.qe,c|=8);$.W(a,32768)&&(b|=1,c|=9);this.Ub=null;this.u(b,c)};var YO={};$.dp(YO,1,"stroke",$.xp);$.dp(YO,0,"overlapMode",$.zj);$.dp(YO,0,"drawFirstLabel",$.op);$.dp(YO,0,"drawLastLabel",$.op);$.S(sN,YO);$.g=sN.prototype;
$.g.title=function(a){this.nb||(this.nb=new $.vu,this.nb.Me(),this.nb.padding().Me(),this.nb.margin().Me(),$.V(this,"title",this.nb),this.nb.qb(this),this.nb.parent(this.parent().title()),$.L(this.nb,this.Zp,this));return $.p(a)?(this.nb.K(a),this):this.nb};$.g.Zp=function(a){var b=0,c=0;$.W(a,8)?(b=this.qe,c=9):$.W(a,1)&&(b=64,c=1);this.u(b,c)};
$.g.labels=function(a){this.Ca||(this.Ca=new $.kt,this.Ca.Me(),$.V(this,"labels",this.Ca),this.Ca.qb(this),$.L(this.Ca,this.Fd,this));return $.p(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Ca.K(a),this):this.Ca};$.g.Fd=function(a){var b=0,c=0;$.W(a,8)?(b=this.qe,c=9):$.W(a,1)&&(b=384,c=1);this.Id();this.u(b,c)};
$.g.jb=function(a){this.jc||(this.jc=new $.kt,this.jc.Me(),$.V(this,"minorLabels",this.jc),this.jc.qb(this),$.L(this.jc,this.o8,this));return $.p(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.jc.K(a),this):this.jc};$.g.o8=function(a){var b=0,c=0;$.W(a,8)?(b=this.qe,c=9):$.W(a,1)&&(b=384,c=1);this.Id();this.u(b,c)};$.g.Gk=function(){var a=new nN;a.orientation(this.Ug);a.qb(this);$.L(a,this.p8,this);return a};
$.g.Pa=function(a){this.gb||(this.gb=this.Gk(),this.gb.Me(),$.V(this,"ticks",this.gb),this.gb.parent(this.parent().Pa()));return $.p(a)?(this.gb.K(a),this):this.gb};$.g.ob=function(a){this.Jc||(this.Jc=this.Gk(),this.Jc.Me(),$.V(this,"minorTicks",this.Jc),this.Jc.parent(this.parent().ob()));return $.p(a)?(this.Jc.K(a),this):this.Jc};$.g.p8=function(a){var b=0,c=0;$.W(a,8)?(b=this.qe,c=9):$.W(a,1)&&(b=384,c=1);this.Id();this.u(b,c)};
$.g.scale=function(a){return $.p(a)?(this.dn!=a&&(this.dn&&$.Xp(this.dn,this.Nh,this),(this.dn=a)&&$.L(this.dn,this.Nh,this),this.Id(),$.wt(this.labels()),$.wt(this.jb()),this.Pa().oa=this.dn,this.ob().oa=this.dn,this.u(this.qe,9)),this):this.dn};$.g.Nh=function(a){$.W(a,2)&&(this.Id(),$.wt(this.labels()),$.wt(this.jb()),this.u(this.qe,9))};$.g.orientation=function(a){return $.p(a)?(this.Ug=a,this):this.Ug};$.g.Fb=function(){return"top"==this.Ug||"bottom"==this.Ug};
$.g.ey=function(a){this.Va&&this.Va.nc(a.jd,a.Qe,a.Ce,a.De,a.Bd,a.vd)};
$.g.hx=function(){if(!this.Aj||this.J(512)){if("allow-overlap"==this.i("overlapMode"))return!1;var a=this.scale(),b=[],c=[];if(a){var d=-1,e=-1,f=-1,h=(this.Fb()?this.scale().tw():this.scale().uw()).get(),k=h.length,l,m,n,q=this.parent().labels(),r=this.labels().md("enabled");q=void 0==r?q.enabled():r;var t=this.Fb()?this.scale().ly():this.scale().my();r=this.i("drawFirstLabel");var u=this.i("drawLastLabel"),v=t.get();var w=t=0;var x=v.length,y=this.parent().jb();var A=this.jb().md("enabled");for(y=
void 0==A?y.enabled():A;t<k||w<x;){var G=(0,window.parseFloat)(h[t]);A=(0,window.parseFloat)(v[w]);if(this.Fb()){var C=a.Yq(G);var J=a.Yq(A)}else C=a.Yo(G),J=a.Yo(A);A=G=l=m=null;if(-1==e&&q)for(n=t;-1==e&&n<k;){!n&&r||n==k-1&&u||0!=n&&n!=k-1?A=this.dd(n,!0,h):A=null;-1!=d?G=this.dd(d,!0,h):G=null;n!=k-1&&u?l=this.dd(k-1,!0,h):l=null;if(A&&!$.Tl(A,G)&&!$.Tl(A,l)){var P=this.Fb()?a.Yq(h[n]):a.Yo(h[n]);0>=P&&r||1<=P&&u?e=n:0<P&&1>P&&(e=n)}n++}C<=J&&t<k||w==x?(q&&t==e?(d=t,e=-1,b.push(!0)):b.push(!1),
t++,C==J&&(q||this.Pa().enabled())&&(c.push(!1),w++)):(y?(A=this.dd(w,!1,v),-1!=d&&(G=this.dd(d,!0,h)),-1!=e&&(l=this.dd(e,!0,h)),-1!=f&&(m=this.dd(f,!1,v)),C=(C=this.jb().Wd(w))?$.p(C.enabled())?C.enabled():!0:!0,$.Tl(A,G)||$.Tl(A,l)||$.Tl(A,m)||!C?c.push(!1):(P=this.Fb()?a.Yq(v[w]):P=a.Yo(v[w]),0>=P&&r||1<=P&&u?(f=w,c.push(!0)):0<P&&1>P?(f=w,c.push(!0)):c.push(!1))):c.push(!1),w++)}y||(c=!1)}q||(b=!1);this.Aj={labels:b,jb:c};this.I(512)}return this.Aj};
$.g.yp=function(a,b){b=(0,window.parseFloat)(b);var c=Math.abs(b)%1;var d=Math.floor(Math.abs(b));var e=Math.floor(60*c);c=Math.floor(60*c%1*60);d+="°";if(c||e)10>e&&(e="0"+e),d+=e+"'";e=this.Fb()?0<b?"E":"W":0<b?"N":"S";d+=e;e=this.scale();e={axis:{value:this,type:""},scale:{value:e,type:""},index:{value:a,type:"number"},value:{value:d,type:"string"},tickValue:{value:b,type:"number"},max:{value:$.p(e.max)?e.max:null,type:"number"},min:{value:$.p(e.min)?e.min:null,type:"number"}};d={};d["%AxisName"]=
{value:this.title().text(),type:"string"};e=new $.$u(e);e.cm({"%AxisScaleMax":"max","%AxisScaleMin":"min"}).dm(d);return $.Lt(e)};$.g.sK=function(a,b){switch(this.Ug){case "top":var c=$.bb(a)+90;break;case "right":c=$.bb(a);break;case "bottom":c=$.bb(a)-90;break;case "left":c=$.bb(a)-180}var d=(b?this.Pa():this.ob()).i("position");if("inside"==d||"center"==d)c+=180;return c};
$.g.dd=function(a,b,c){var d=b?this.Hh:this.Uj;if($.p(d[a]))return d[a];var e=b?this.Pa():this.ob(),f=b?this.labels():this.jb(),h=b?this.parent().labels():this.parent().jb(),k=(0,window.parseFloat)(c[a]);c=qN(e,k);var l=f.i("position")||h.i("position");l=$.xn(l);var m=e.i("position");m=$.xn(m);e.enabled()?0<m*l?(e=c[2],l=c[3]):0>m*l||m?(e=c[0],l=c[1]):(e=c[0]+(c[2]-c[0])/2,l=c[1]+(c[3]-c[1])/2):(e=c[0],l=c[1]);k=this.yp(a,k);e={value:{x:e,y:l}};l=$.iK(h);f=$.iK(f);c=this.sK(c[4],b);b=tN(this,b);$.Kc(l,
f);$.p(l.rotation)||(l.rotation=c);$.p(l.anchor)||(l.anchor=b);h=h.Qk(k,e,l,a);return d[a]=h};$.g.nd=function(){var a=this.fa();return a?this.scale()&&this.i("enabled")?uN(this,a):a.clone():new $.I(0,0,0,0)};$.g.Sn=function(){this.Id();this.u(this.qe,9)};$.g.Id=function(){this.Hh.length=0;this.Uj.length=0;this.Aj=null};
$.g.Qd=function(a,b,c){var d=b?this.Pa():this.ob(),e=b?this.labels():this.jb(),f=b?this.parent().labels():this.parent().jb(),h=qN(d,a),k=e.i("position")||f.i("position");k=$.xn(k);var l=d.i("position");l=$.xn(l);if(d.enabled())if(!l&&!k){var m=h[0]+(h[2]-h[0])/2;var n=h[1]+(h[3]-h[1])/2}else if(0<l*k||!l&&0>k)m=h[2],n=h[3];else{if(0>l*k||!k||!l&&0<k)m=h[0],n=h[1]}else m=h[0],n=h[1];a=this.yp(c,a);c=e.add(a,{value:{x:m,y:n}},c);h=this.sK(h[4],b);$.p(h)&&(h=$.N(h),c.sd.rotation!==h&&(c.sd.rotation=
h,$.p(c.La.rotation)&&!(0,window.isNaN)(c.La.rotation)||c.u(16,9)));c.Dk(tN(this,b));b=$.iK(e);$.p(b.enabled)&&null==b.enabled&&delete b.enabled;$.At(c,[c,b,"auto",f,e.ma,f.ma])};
$.g.n8=function(){var a=this.scale(),b=a.precision()[0],c=a.Kp(),d=a.Hp(),e=a.Ip(),f=c;if(!(0,window.isNaN)(f))if(PM(a.Hd["default"].kg)){var h=a.transform(c,e,null);this.line.moveTo(h[0],h[1]);h=a.transform(d,e,null);this.line.lineTo(h[0],h[1])}else{for(;f<d;){h=a.transform(f,e,null);var k=h[0];h=h[1];f==c?this.line.moveTo(k,h):this.line.lineTo(k,h);f+=b}h=a.transform(d,e,null);k=Math.round(h[0]);h=Math.round(h[1]);this.line.lineTo(k,h)}};
$.g.m8=function(){var a=this.scale(),b=a.precision()[1],c=a.Hp(),d=a.Lp(),e=a.Ip(),f=d;if(!(0,window.isNaN)(f))if(PM(a.Hd["default"].kg)){var h=a.transform(c,d,null);this.line.moveTo(h[0],h[1]);h=a.transform(c,e,null);this.line.lineTo(h[0],h[1])}else{for(;f<e;){h=a.transform(c,f,null);var k=h[0];h=h[1];f==d?this.line.moveTo(k,h):this.line.lineTo(k,h);f+=b}h=a.transform(c,e,null);k=Math.round(h[0]);h=Math.round(h[1]);this.line.lineTo(k,h)}};
$.g.k8=function(){var a=this.scale(),b=a.precision()[0],c=a.Kp(),d=a.Hp(),e=a.Lp(),f=c;if(!(0,window.isNaN)(f))if(PM(a.Hd["default"].kg)){var h=a.transform(c,e,null);this.line.moveTo(h[0],h[1]);h=a.transform(d,e,null);this.line.lineTo(h[0],h[1])}else{for(;f<d;){h=a.transform(f,e,null);var k=h[0];h=h[1];f==c?this.line.moveTo(k,h):this.line.lineTo(k,h);f+=b}h=a.transform(d,e,null);k=Math.round(h[0]);h=Math.round(h[1]);this.line.lineTo(k,h)}};
$.g.l8=function(){var a=this.scale(),b=a.precision()[1],c=a.Kp(),d=a.Lp(),e=a.Ip(),f=d;if(!(0,window.isNaN)(f))if(PM(a.Hd["default"].kg)){var h=a.transform(c,d,null);this.line.moveTo(h[0],h[1]);h=a.transform(c,e,null);this.line.lineTo(h[0],h[1])}else{for(;f<e;){h=a.transform(c,f,null);var k=h[0];h=h[1];f==d?this.line.moveTo(k,h):this.line.lineTo(k,h);f+=b}h=a.transform(c,e,null);k=Math.round(h[0]);h=Math.round(h[1]);this.line.lineTo(k,h)}};
$.g.qp=function(){vN(this).clear();switch(this.Ug){case "top":var a=this.n8;break;case "right":a=this.m8;break;case "bottom":a=this.k8;break;case "left":a=this.l8}a.call(this);this.line.stroke(this.i("stroke"))};$.g.remove=function(){this.Va&&this.Va.parent(null)};$.g.xc=function(){if(this.zf())return!1;if(!this.i("enabled"))return this.J(1)&&(this.remove(),this.I(1),this.title().u(2),this.Pa().u(2),this.ob().u(2),this.labels().u(2),this.jb().u(2),this.u(2|this.qe)),!1;this.I(1);return!0};
$.g.X=function(){var a=this.scale();if(!a)return $.Sj(2),this;a.mb();if(!this.xc())return this;this.Va||(this.Va=$.Zi(),this.title().O(this.Va),vN(this).parent(this.Va),this.Pa().O(this.Va),this.ob().O(this.Va),this.labels().O(this.Va),this.jb().O(this.Va));var b=this.Ug;$.U(this.title());$.U(this.labels());$.U(this.jb());$.U(this.Pa());$.U(this.ob());this.J(16)&&(this.qp(),this.I(16));if(this.J(8)){var c=this.zIndex();this.Va.zIndex(c);vN(this).zIndex(1);this.I(8)}this.J(2)&&(c=this.O(),this.Va.parent(c),
this.I(2));this.J(64)&&(c=this.title(),c.i("enabled")&&c.fa(uN(this)),$.yu(c,b),c.X(),this.I(64));if(this.J(256)){var d=this.Pa();d.X();if(d.enabled())var e=d.sp;var f=this.ob();f.X();if(f.enabled())var h=d.sp;this.I(256)}if(this.J(128)){var k=this.labels();k.O()||k.O(this.O());k.fa(this.fa());k.clear();k=this.labels().md("enabled");k=void 0==k?this.parent().labels().enabled():k;var l=this.jb();l.O()||l.O(this.O());l.fa(this.fa());l.clear();l=this.jb().md("enabled");l=void 0==l?this.parent().jb().enabled():
l;this.I(128)}if($.p(e)||$.p(h)||k||l){b=(this.Fb()?this.scale().tw():this.scale().uw()).get();c=b.length;var m=this.hx();if($.D(m)){l=m.labels;var n=m.jb}else l=!m,n=!m;var q=(this.Fb()?this.scale().ly():this.scale().my()).get();var r=m=0;for(var t=q.length,u;m<c||r<t;){var v=(0,window.parseFloat)(b[m]);var w=(0,window.parseFloat)(q[r]);if(this.Fb()){var x=a.Yq(v);u=a.Yq(w)}else x=a.Yo(v),u=a.Yo(w);if(x<=u&&m<c||r==t){var y=$.B(l)?l[m]:l;$.da(l)&&(m||(y=y&&this.i("drawFirstLabel")),m==c-1&&(y=y&&
this.i("drawLastLabel")));(w=$.B(l)&&l[m]||$.da(l))&&e&&e.call(d,v);y&&this.Qd(v,!0,m);y=x;m++}else{if(!e&&!k||y!=u)x=$.B(n)?n[r]:n,(v=$.B(n)&&n[r]||$.da(n))&&h&&h.call(f,w),x&&this.Qd(w,!1,r);r++}}n&&($.wt(this.parent().jb()),$.wt(this.jb()),this.jb().X());$.wt(this.parent().labels());$.wt(this.labels());this.labels().X()}this.title().da(!1);this.labels().da(!1);this.jb().da(!1);this.Pa().da(!1);this.ob().da(!1);this.I(4);return this};
$.g.Y=function(a,b){sN.B.Y.call(this,a,b);$.tp(this,YO,a,b);this.title().ja(!!b,a.title);this.labels().ja(!!b,a.labels);this.jb().ja(!!b,a.minorLabels);this.Pa().ja(!!b,a.ticks);this.ob().ja(!!b,a.minorTicks)};
$.g.F=function(){var a=sN.B.F.call(this),b=this.title().F();$.Dc(b)||(a.title=b);b=this.Pa().F();$.Dc(b)||(a.ticks=b);b=this.ob().F();$.Dc(b)||(a.minorTicks=b);b=$.iK(this.labels());$.Dc(b)||(a.labels=b);b=$.iK(this.jb());$.Dc(b)||(a.minorLabels=b);$.Bp(this,YO,a,"Map "+this.Ug+" axis props");return a};$.g.R=function(){$.jd(this.nb,this.Ca,this.jc,this.gb,this.Jc);this.Jc=this.gb=this.jc=this.Ca=this.nb=null;sN.B.R.call(this)};var ZO=sN.prototype;ZO.title=ZO.title;ZO.labels=ZO.labels;
ZO.minorLabels=ZO.jb;ZO.ticks=ZO.Pa;ZO.minorTicks=ZO.ob;$.H(wN,$.Wp);$.g=wN.prototype;$.g.qa=985;$.g.ra=32777;$.g.i=$.Vp;$.g.dg=function(a){$.p(a)&&(this.Ub=a);return this.Ub};$.g.Og=$.Up;$.g.Sd=function(){var a=[this.ma];this.$&&(a=$.Fa(a,this.$.Sd()));return a};$.g.Rd=function(){var a=[this.La];this.$&&(a=$.Fa(a,this.$.Rd()));return a};var $O={};$.ep($O,[$.Y.jo,$.Y.NA,$.Y.MN,$.Y.NN,$.Y.NV]);$.S(wN,$O);$.g=wN.prototype;$.g.Sl=function(){return this.G};
$.g.top=function(a){this.o||(this.o=new sN,this.o.Me(),$.V(this,"top",this.o),this.o.orientation("top"),this.o.parent(this),$.L(this.o,this.D.FL,this.D),this.o.Ch=aP+0*bP,this.G[0]=this.o);return $.p(a)?(this.o.K(a),this):this.o};$.g.right=function(a){this.g||(this.g=new sN,this.g.Me(),$.V(this,"right",this.g),this.g.orientation("right"),this.g.parent(this),$.L(this.g,this.D.FL,this.D),this.g.Ch=aP+bP,this.G[1]=this.g);return $.p(a)?(this.g.K(a),this):this.g};
$.g.bottom=function(a){this.b||(this.b=new sN,this.b.Me(),$.V(this,"bottom",this.b),this.b.orientation("bottom"),this.b.parent(this),$.L(this.b,this.D.FL,this.D),this.b.Ch=aP+2*bP,this.G[2]=this.b);return $.p(a)?(this.b.K(a),this):this.b};$.g.left=function(a){this.f||(this.f=new sN,this.f.Me(),$.V(this,"left",this.f),this.f.orientation("left"),this.f.parent(this),$.L(this.f,this.D.FL,this.D),this.f.Ch=aP+3*bP,this.G[3]=this.f);return $.p(a)?(this.f.K(a),this):this.f};
$.g.title=function(a){this.nb||(this.nb=new $.vu,$.V(this,"title",this.nb),$.L(this.nb,this.Zp,this),this.nb.I(4294967295));return $.p(a)?(this.nb.K(a),this.nb.I(4294967295),this):this.nb};$.g.Zp=function(){this.nb.I(4294967295)};$.g.labels=function(a){this.Ca||(this.Ca=new $.kt,$.V(this,"labels",this.Ca),this.Ca.Y(this.Ca.ma,!0),$.L(this.Ca,this.Fd,this),this.Ca.I(4294967295));return $.p(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Ca.K(a),this.Ca.I(4294967295),this):this.Ca};
$.g.Fd=function(a){this.Ca.I(4294967295);var b=0;$.W(a,8)?b=9:$.W(a,1)&&(b=1);this.ua(b)};$.g.jb=function(a){this.jc||(this.jc=new $.kt,$.V(this,"minorLabels",this.jc),this.jc.Y(this.jc.ma,!0),$.L(this.jc,this.j8,this),this.jc.I(4294967295));return $.p(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.jc.K(a),this.jc.I(4294967295),this):this.jc};$.g.j8=function(a){this.jc.I(4294967295);var b=0;$.W(a,8)?b=9:$.W(a,1)&&(b=1);this.ua(b)};
$.g.Pa=function(a){this.gb||(this.gb=new nN,$.V(this,"ticks",this.gb),$.L(this.gb,this.Qh,this));return $.p(a)?(this.gb.K(a),this):this.gb};$.g.ob=function(a){this.Jc||(this.Jc=new nN,$.V(this,"minorTicks",this.Jc),$.L(this.Jc,this.Qh,this));return $.p(a)?(this.Jc.K(a),this):this.Jc};$.g.Qh=function(a){var b=0;$.W(a,8)?b=9:$.W(a,1)&&(b=1);this.ua(b)};$.g.Ee=function(a){return $.da(a)||null===a?{enabled:!!a}:null};
$.g.Fe=function(a,b){var c=this.Ee(b);return c?(a?this.ma.enabled=c.enabled:this.enabled(c.enabled),!0):!1};$.g.eg=function(a,b){var c=$.p(b)?b:{};this.left().ja(!!a,c.left);this.top().ja(!!a,c.top);this.right().ja(!!a,c.right);this.bottom().ja(!!a,c.bottom)};
$.g.Y=function(a,b){$.U(this.D);$.tp(this,$O,a,b);b||this.enabled("enabled"in a?a.enabled:!0);this.title().ja(!!b,a.title);this.Pa().ja(!!b,a.ticks);this.ob().ja(!!b,a.minorTicks);this.labels().ja(!!b,a.labels);this.jb().ja(!!b,a.minorLabels);this.eg(!!b,a);this.D.da(!0)};
$.g.F=function(){var a={};if(this.f){var b=this.f.F();$.Dc(b)||(a.left=b)}this.o&&(b=this.o.F(),$.Dc(b)||(a.top=b));this.g&&(b=this.g.F(),$.Dc(b)||(a.right=b));this.b&&(b=this.b.F(),$.Dc(b)||(a.bottom=b));a.title=this.title().F();a.ticks=this.Pa().F();a.minorTicks=this.ob().F();a.labels=this.labels().F();a.minorLabels=this.jb().F();$.Bp(this,$O,a,"Map axes props");return a};
$.g.R=function(){$.jd(this.o,this.g,this.b,this.f,this.nb,this.Ca,this.jc,this.gb,this.Jc);this.f=this.b=this.g=this.o=null;this.G.length=0;this.Jc=this.gb=this.jc=this.Ca=this.nb=null;wN.B.R.call(this)};var cP=wN.prototype;cP.left=cP.left;cP.top=cP.top;cP.right=cP.right;cP.bottom=cP.bottom;cP.title=cP.title;cP.ticks=cP.Pa;cP.minorTicks=cP.ob;cP.labels=cP.labels;cP.minorLabels=cP.jb;$.H(xN,$.X);$.rp(xN,["labels"],"normal");var dP=function(){var a={};$.ep(a,[[0,"orientation",function(a){return $.qj(a,"right")}],$.Y.cI,$.Y.eI,$.Y.fI]);return a}();$.S(xN,dP);$.g=xN.prototype;$.g.qa=$.X.prototype.qa|448;$.g.ra=$.X.prototype.ra;$.g.Ta=function(a){return $.p(a)?(this.ca.K(a),this):this.ca};$.g.lb=function(a){return $.p(a)?(this.ya.K(a),this):this.ya};$.g.selected=function(a){return $.p(a)?(this.Da.K(a),this):this.Da};
$.g.Fd=function(a){var b=0,c=0;$.W(a,8)?(b=this.qe,c=9):$.W(a,1)&&(b=128,c=1);this.u(b,c)};$.g.padding=function(a,b,c,d){this.Oa||(this.Oa=new $.dt,$.V(this,"padding",this.Oa),$.L(this.Oa,this.dk,this));return $.p(a)?(this.Oa.K.apply(this.Oa,arguments),this):this.Oa};$.g.margin=function(a,b,c,d){this.Ic||(this.Ic=new $.iu,$.V(this,"margin",this.Ic),$.L(this.Ic,this.dk,this));return $.p(a)?(this.Ic.K.apply(this.Ic,arguments),this):this.Ic};$.g.dk=function(a){$.W(a,2)&&this.u(4,9)};
$.g.items=function(a){return $.p(a)?(this.Ob!=a&&(this.Ob=a,this.u(16,1)),this):this.Ob||[]};$.g.background=function(a){this.Ha||(this.Ha=new $.Ws,$.V(this,"background",this.Ha),$.L(this.Ha,this.Qf,this));return $.p(a)?(this.Ha.K(a),this):this.Ha};$.g.Qf=function(a){$.W(a,1)&&this.u(256,1)};$.g.title=function(a){this.nb||(this.nb=new $.vu,$.V(this,"title",this.nb),$.L(this.nb,this.Zp,this));return $.p(a)?(this.nb.K(a),this):this.nb};
$.g.Zp=function(a){var b=0,c=0;$.W(a,8)?(b=this.qe,c=9):$.W(a,1)&&(b=64,c=1);this.u(b,c)};$.g.ey=function(){for(var a=0,b=this.Ta().labels().nL();a<b;a++){var c=this.Ta().labels().Wd(a),d=c.Lg,e=this.g[a],f=e.Oe();f.wc().select(e.ka());c=this.Gi(c.ka()).value;f=aN(f);d.clear().moveTo(c.x,c.y).lineTo(f.x,f.y)}};$.g.ih=function(a){var b=this.g[$.p(a.labelIndex)?a.labelIndex:a.domTarget.eda];a.domTarget.tag={W:b.Oe(),index:b.ka()};a.pointIndex=b.ka()};
$.g.Fb=function(){var a=this.i("orientation");return"top"==a||"bottom"==a};$.g.Ul=function(){this.Nd||(this.Nd=$.Zi());return this.Nd};$.g.nd=function(){var a=this.fa();if(a){a=a.clone();if(this.enabled()){var b=this.sb(),c=b.height;b=b.width;switch(this.i("orientation")){case "top":a.height-=c;a.top+=c;break;case "right":a.width-=b;break;case "bottom":a.height-=c;break;case "left":a.width-=b,a.left+=b}}return a}return new $.I(0,0,0,0)};
$.g.sb=function(){if(!this.N||this.J(4)){var a=this.fa();if(a){a.top=Math.round(a.top);a.left=Math.round(a.left);a.width=Math.round(a.width);a.height=Math.round(a.height);if(this.Fb()){var b=a.width;var c=a.height}else b=a.height,c=a.width;var d=0,e=0;this.f=this.b=null;for(var f=0,h=this.g.length;f<h;f++){var k=this.g[f],l=new $.pt;yN(this,k,l);$.wt($.xt(l));k=l.Bc("enabled")?$.xt(l).measure(l):$.Zl(0,0,0,0);$.wt($.xt(l));k.height>e&&(e=k.height);k.width>d&&(d=k.width)}this.Fb()||(f=d,d=e,e=f);f=
this.g.length;var m=null==this.i("length"),n=null==this.i("width"),q=null!=this.i("length")?$.M(this.i("length"),b):d*f,r=null!=this.i("width")?$.M(this.i("width"),c):e;d=e=0;var t=!1,u=!1;h=this.title();h.enabled()&&(h.O()||h.O(this.O()),$.U(h),h.fa(a),$.yu(h,this.i("orientation")),this.Fb()?(e=h.Xh().height,d=h.Xh().width):(e=h.Xh().width,d=h.Xh().height),t=h.i("orientation")||$.yu(h),"top"==t||"bottom"==t?(t=this.Fb(),u=!this.Fb()):(t=!this.Fb(),u=this.Fb()),h.da(!1));var v=this.padding();l=$.M(v.i("top"),
a.height);k=$.M(v.i("right"),a.width);var w=$.M(v.i("bottom"),a.height);v=$.M(v.i("left"),a.width);var x=this.margin(),y=$.M(x.i("top"),a.height),A=$.M(x.i("right"),a.width),G=$.M(x.i("bottom"),a.height);x=$.M(x.i("left"),a.width);m&&!n?(m=r-(t?e:0),q=Math.min(u?m*f+d:Math.max(m*f,d),b),this.b=(q-(u?d:0))/f,this.f=m):!m&&n?(m=(q-(u?d:0))/f,r=Math.min(t?m+e:Math.max(m,e),c),this.b=m,this.f=r-(t?e:0)):m&&n?(c=Math.min(q,b-(u?d:0))/f,q=Math.max(r,u?e:0),m=Math.max(c,q)*f+w+l+G+y>b?(b-(w+l+G+y)-(u?d:
0))/f:Math.max(c,q),q=u?m*f+d:Math.max(m*f,d),r=t?m+e:Math.max(m,e),this.f=this.b=m):(this.b=(q-(u?d:0))/f,this.f=r-(t?e:0));c=this.i("align");var C;this.Fb()?(q+k+v+A+x>b&&(q=b-(k+v+A+x)),"left"==c||"top"==c?C=v+x:"right"==c||"bottom"==c?C=b-q-k-A:"center"==c&&(C=(b-q)/2)):(q+w+l+G+y>b&&(q=b-(w+l+G+y)),"left"==c||"top"==c?C=l+y:"right"==c||"bottom"==c?C=b-q-w-G:"center"==c&&(C=(b-q)/2));switch(this.i("orientation")){case "top":var J=a.top+l+y;var P=a.left+C;var Q=r;var T=q;this.D=new $.I(P,J,this.b,
this.f);break;case "right":J=a.top+C;P=a.left+a.width-r-k-A;Q=q;T=r;this.D=new $.I(P,J,this.f,this.b);break;case "bottom":J=a.top+a.height-r-w-G;P=a.left+C;Q=r;T=q;this.D=new $.I(P,J,this.b,this.f);break;case "left":J=a.top+C,P=a.left+v+x,Q=q,T=r,this.D=new $.I(P,J,this.f,this.b)}if(h.enabled())switch(t=h.i("orientation")||$.yu(h),t){case "top":this.D.left=P;this.D.top=J+(this.Fb()?e:d);break;case "left":this.D.left=P+(this.Fb()?d:e),this.D.top=J}this.Mf=new $.I(Math.round(P),Math.round(J),Math.round(T),
Math.round(Q));this.G=new $.I(this.Mf.left-v,this.Mf.top-l,this.Mf.width+v+k,this.Mf.height+l+w);this.N=new $.I(this.G.left-x,this.G.top-y,this.G.width+x+A,this.G.height+y+G)}else this.N=new $.I(0,0,0,0);this.u(this.qe);this.I(4)}return this.N};
$.g.Gi=function(a){if(null===this.b||null===this.f)return{value:{x:0,y:0}};var b=this.D;switch(this.i("orientation")){case "top":var c=b.left+this.b*a+this.b/2;var d=b.top+this.f;break;case "right":c=b.left;d=b.top+this.b*a+this.b/2;break;case "bottom":c=b.left+this.b*a+this.b/2;d=b.top;break;case "left":c=b.left+this.f,d=b.top+this.b*a+this.b/2}return{value:{x:c,y:d}}};
$.g.X=function(){if(!this.xc())return this;var a=this.Ta().labels();!this.za&&this.g&&this.g.length&&(this.za=this.g[0].sc(),$.yd(this.za,"pointshover",function(b){b=b.seriesStatus;for(var c=0,d=this.g.length;c<d;c++)for(var h=this.g[c],k=h.ka(),l=0,m=b.length;l<m;l++){var n=b[l];var q=n.series;if(q==h.Oe()){var r=!1;n=n.points;for(var t=0,u=n.length;t<u;t++){var v=n[t];if(h.ka()==v.index){q=yN(this,h,a.Wd(c),$.Hv(q.state,k));q.X();$.wt($.xt(q));r=!0;break}}r||h.state!=$.ln||(q=yN(this,h,a.Wd(c),
$.Wk),q.X(),$.wt($.xt(q)))}}},!1,this),$.yd(this.za,"pointsselect",function(b){b=b.seriesStatus;for(var c=0,d=this.g.length;c<d;c++)for(var h=this.g[c],k=h.ka(),l=0,m=b.length;l<m;l++){var n=b[l],q=n.series;if(q==h.Oe()){var r=!1;n=n.points;for(var t=0,u=n.length;t<u;t++){var v=n[t];if(h.ka()==v.index){r=yN(this,h,a.Wd(c),$.Hv(q.state,k));r.X();$.wt($.xt(r));r=!0;break}}!r&&h.state&$.mn&&(r=yN(this,h,a.Wd(c),$.Hv(q.state,k)),r.X(),$.wt($.xt(r)))}}},!1,this));this.Ul();this.o||(this.o=new $.kA(function(){return $.aj()},
function(a){a.clear()},void 0,this),$.Ps(this,this.o),this.o.qb(this));$.U(this.title());$.U(a);if(this.J(8)){var b=this.zIndex();this.Nd.zIndex(b);this.title().zIndex(2);a.zIndex(1);this.background().zIndex(0);this.o.zIndex(1.1);this.I(8)}this.J(2)&&(b=this.O(),this.Nd.parent(b),this.title().O(this.Nd),a.O(this.Nd),this.background().O(this.Nd),this.o.parent(this.Nd),this.I(2));this.J(256)&&(b=this.background(),$.U(b),b.fa(this.G),b.O(this.Nd),b.X(),b.da(!1),this.I(256));this.J(64)&&(b=this.title(),
b.fa(this.Mf),b.X(),this.I(64));if(this.J(128)){this.o.clear();Eea(this);a.u(8);a.X();b=0;for(var c=a.nL();b<c;b++)$.wt($.xt(a.Wd(b)));this.I(128)}this.title().da(!1);a.da(!1);return this};$.g.remove=function(){this.nb&&this.nb.remove();this.Ca&&this.Ca.remove()};$.g.pe=function(){this.ca.Ia(this.ma);$.V(this,"normal",this.ca);this.ca.K(this.ca.ma);$.V(this,"hovered",this.ya);this.ya.K(this.ya.ma);$.V(this,"selected",this.Da);this.Da.K(this.Da.ma)};
$.g.F=function(){var a=xN.B.F.call(this);$.Bp(this,dP,a);a.title=this.title().F();a.background=this.background().F();a.padding=this.padding().F();a.margin=this.margin().F();a.items=this.items();a.normal=this.ca.F();a.hovered=this.ya.F();a.selected=this.Da.F();return a};
$.g.Y=function(a,b){$.U(this);xN.B.Y.call(this,a,b);$.tp(this,dP,a);"title"in a&&this.title(a.title);"background"in a&&this.background(a.background);"padding"in a&&this.padding(a.padding);"margin"in a&&this.margin(a.margin);this.ca.ja(!!b,a);this.ca.ja(!!b,a.normal);this.ya.ja(!!b,a.hovered);this.Da.ja(!!b,a.selected);this.items(a.items);this.da(!0)};$.g.R=function(){$.jd(this.Oa,this.Ic,this.Ha,this.nb);this.G=this.nb=this.Ha=this.Ic=this.Oa=null;xN.B.R.call(this)};var eP=xN.prototype;eP.title=eP.title;
eP.normal=eP.Ta;eP.hovered=eP.lb;eP.selected=eP.selected;eP.background=eP.background;eP.padding=eP.padding;eP.margin=eP.margin;eP.items=eP.items;$.H(zN,$.Cy);$.g=zN.prototype;
$.g.show=function(a){var b=[],c=$.Ky(this);if(a=c.Hr(a))if((0,$.ue)(a,function(a){a.series.enabled()&&0!=a.points.length&&b.push(a)},this),0==b.length)this.Wc();else{var d=b[0];(0,$.ue)(b,function(a){d.nearestPointToCursor.distance>a.nearestPointToCursor.distance&&(d=a)});a=this.i("xStroke");var e=this.i("yStroke"),f=d.series,h=f.aa();h.select(d.nearestPointToCursor.point.index);var k=$.N(h.j("x"));h=$.N(h.j("value"));if((0,window.isNaN)(k)||(0,window.isNaN)(h))h=$M(f).value,k=h.x,h=h.y;c=c.scale();
h=c.Kc(k,h);k=h[0];h=h[1];f=c.Yq(k);c=c.Yo(h);this.Ki($.Dy(this),!0,f,a,k);this.Ki($.Ey(this),!1,c,e,h)}};
$.g.update=function(a,b){if(this.enabled()){var c,d;$.p(a)?c=(0,window.parseFloat)(a):c=$.p(this.VS)?this.VS:0;$.p(b)?d=(0,window.parseFloat)(b):d=$.p(this.WS)?this.WS:0;c=$.Ky(this).HR(c,d);var e=$.Ky(this).Kc(c.x,c.y);c=e["long"];d=e.lat;var f=$.Ky(this).scale(),h=f.Yq(e.x);e=f.Yo(e.y);f=this.i("xStroke");var k=this.i("yStroke");0<h&&1>h&&0<e&&1>e?(this.Ki($.Dy(this),!0,h,f,c),this.Ki($.Ey(this),!1,h,k,d)):this.Wc()}};
$.g.cg=function(a){this.VS=a.clientX;this.WS=a.clientY;"sticky"!=this.i("displayMode")&&this.update(a.clientX,a.clientY)};$.g.rg=function(a){if(!$.jn($.Ky(this),a.relatedTarget)){this.VS=a.clientX;this.WS=a.clientY;a=$.Ky(this).HR(a.clientX,a.clientY);var b=$.Ky(this).Kc(a.x,a.y),c=$.Ky(this).scale();a=c.Yq(b.x);b=c.Yo(b.y);(0>a||1<a||0>b||1<b)&&this.Wc()}};
$.g.X=function(){if(!this.xc())return this;this.Va||(this.Va=$.Zi(),this.cr.parent(this.Va),this.fr.parent(this.Va));this.J(16)&&(this.cr.stroke(this.i("xStroke")),this.fr.stroke(this.i("yStroke")),this.I(16));var a=$.Fa($.Dy(this),$.Ey(this));if(this.J(2)){var b=this.O();this.Va.parent(b);$.Iy(a,this.Va);this.I(2)}this.J(8)&&(b=this.zIndex(),this.Va.zIndex(b),this.I(8));this.J(4)&&(b=this.fa(),$.Jy(a,b),this.I(4));return this};
$.g.qp=function(a,b,c){var d=$.Ky(this).scale(),e=0==this.cr.vk()%2?0:-.5,f=0==this.fr.vk()%2?0:-.5;b.clear();if(a.Fb()){var h=d.precision()[1];for(f=d.Lp();f<d.Ip();)a=d.transform(c,f,null),f==d.Lp()?b.moveTo(a[0]-e,a[1]):b.lineTo(a[0]-e,a[1]),f+=h;a=d.transform(c,d.Ip(),null);b.lineTo(a[0]-e,a[1])}else{h=d.precision()[0];for(e=d.Kp();e<d.Hp();)a=d.transform(e,c,null),e==d.Kp()?b.moveTo(a[0],a[1]-f):b.lineTo(a[0],a[1]-f),e+=h;a=d.transform(d.Hp(),c,null);b.lineTo(a[0],a[1]-f)}};
$.g.pf=function(a,b,c){var d=this.yp(a,c),e=b.format()||$.Un;b.text(e.call(d,d));b.Dk($.Hy(a));c=qN(a.Pa(),c);b.x(c[0]).y(c[1]);b.rotation(this.sK(a,c[4]));b.O(this.Va).X()};$.g.sK=function(a,b){switch(a.orientation()){case "top":var c=$.bb(b)+90;break;case "right":c=$.bb(b);break;case "bottom":c=$.bb(b)-90;break;case "left":c=$.bb(b)-180}return c};
$.g.yp=function(a,b){b=(0,window.parseFloat)(b);var c=Math.abs(b)%1;var d=Math.floor(Math.abs(b));var e=Math.floor(60*c);c=Math.floor(60*c%1*60);d+="°";if(c||e)10>e&&(e="0"+e),d+=e+"'";e=a.Fb()?0<b?"E":"W":0<b?"N":"S";d+=e;e=a.scale();e={axis:{value:a,type:""},scale:{value:e,type:""},index:{value:window.NaN,type:"number"},value:{value:d,type:"string"},tickValue:{value:b,type:"number"},max:{value:$.p(e.max)?e.max:null,type:"number"},min:{value:$.p(e.min)?e.min:null,type:"number"}};d={};d["%AxisName"]=
{value:a.title().text(),type:"string"};e=new $.$u(e);e.cm({"%AxisScaleMax":"max","%AxisScaleMin":"min"}).dm(d);return $.Lt(e)};$.g.Ki=function(a,b,c,d,e){var f=$.Ky(this),h,k=!1,l=b?f.kx:f.mx,m=b?this.fS:this.gS;b=b?this.cr:this.fr;var n=d&&"none"!=d;for(d=0;d<a.length;d++)if(h=a[d]){var q=h.i("axisIndex");(q=l.call(f,q))&&$.p(q.scale().Kc(0))&&0<c&&1>c?(!k&&n&&(this.qp(q,b,e),k=!0),h.enabled()&&this.pf(q,h,e)):m.call(this,h)}};$.H(AN,$.yx);var Qea=AN.prototype,fP=$.yx.prototype.wy;$.dp(fP,1,"minorStroke",$.xp);Qea.wy=fP;$.S(AN,AN.prototype.wy);$.g=AN.prototype;$.g.scale=function(a){$.p(a)&&this.oa!=a&&(this.oa&&$.Xp(this.oa,this.Xf,this),(this.oa=a)&&$.L(this.oa,this.Xf,this),this.u(68,9));return this.oa||this.b&&this.b.scale()||null};$.g.Xf=function(a){var b=0;$.W(a,4)&&(b|=4);$.W(a,2)&&(b|=1);this.u(20,b)};
$.g.wh=function(a){var b=a?this.o:this.g;b||(a?(b=this.o=$.aj(),b.zIndex(1)):(b=this.g=$.aj(),b.zIndex(0)),b.td(!0).op(!0),b.parent(this.ta));return b};$.g.QW=function(){var a=$.aj();a.parent(this.ta).zIndex(3).stroke("none");return a};$.g.ey=function(a){this.ta&&this.ta.nc(a.jd,a.Qe,a.Ce,a.De,a.Bd,a.vd)};$.g.vu=function(){this.ta||(this.ta=$.Zi())};$.g.OI=function(){var a=this.O();this.ta.parent(a)};$.g.dB=function(){var a=this.zIndex();this.ta.zIndex(a)};
$.g.saa=function(a,b,c,d){c=this.oa;var e=c.Kp(),f=c.Hp();if(PM(c.Hd["default"].kg)){var h=c.transform(e,a,null);b.moveTo(h[0],h[1]);h=c.transform(f,a,null);b.lineTo(h[0],h[1])}else{for(var k=e;k<f;)h=c.transform(k,a,null),k==e?b.moveTo(h[0],h[1]):b.lineTo(h[0],h[1]),k+=d;h=c.transform(f,a,null);b.lineTo(h[0],h[1])}};
$.g.raa=function(a,b,c,d){c=this.oa;var e=c.Lp(),f=c.Ip();if(PM(c.Hd["default"].kg)){var h=c.transform(a,e,null);b.moveTo(h[0],h[1]);h=c.transform(a,f,null);b.lineTo(h[0],h[1])}else{for(var k=e;k<f;)h=c.transform(a,k,null),k==e?b.moveTo(h[0],h[1]):b.lineTo(h[0],h[1]),k+=d;h=c.transform(a,f,null);b.lineTo(h[0],h[1])}};
$.g.qaa=function(a,b,c,d,e,f){c=this.oa;e=c.Kp();var h=c.Hp(),k=c.Lp();(0,window.isNaN)(b)&&a!=k&&(b=k);if(!(0,window.isNaN)(b)){var l;if(PM(c.Hd["default"].kg))k=c.transform(e,a,null),d.moveTo(k[0],k[1]),k=c.transform(h,a,null),d.lineTo(k[0],k[1]),k=c.transform(h,a,null),d.lineTo(k[0],k[1]),k=c.transform(h,b,null),d.lineTo(k[0],k[1]),k=c.transform(h,b,null),d.lineTo(k[0],k[1]),k=c.transform(e,b,null),d.lineTo(k[0],k[1]),k=c.transform(e,b,null),d.lineTo(k[0],k[1]);else{for(l=e;l<h;)k=c.transform(l,
a,null),l==e?d.moveTo(k[0],k[1]):d.lineTo(k[0],k[1]),l+=f;k=c.transform(h,a,null);d.lineTo(k[0],k[1]);for(l=a;l>b;)k=c.transform(h,l,null),d.lineTo(k[0],k[1]),l-=f;k=c.transform(h,b,null);d.lineTo(k[0],k[1]);for(l=h;l>e;)k=c.transform(l,b,null),d.lineTo(k[0],k[1]),l-=f;k=c.transform(e,b,null);d.lineTo(k[0],k[1]);for(l=b;l<a;)k=c.transform(e,l,null),d.lineTo(k[0],k[1]),l+=f}k=c.transform(e,a,null);d.lineTo(k[0],k[1]);d.close()}};
$.g.paa=function(a,b,c,d,e,f){c=this.oa;var h=c.Kp();e=c.Lp();var k=c.Ip();(0,window.isNaN)(b)&&a!=h&&(b=h);if(!(0,window.isNaN)(b)){var l;if(PM(c.Hd["default"].kg))h=c.transform(b,e,null),d.moveTo(h[0],h[1]),h=c.transform(a,e,null),d.lineTo(h[0],h[1]),h=c.transform(a,e,null),d.lineTo(h[0],h[1]),h=c.transform(a,k,null),d.lineTo(h[0],h[1]),h=c.transform(a,k,null),d.lineTo(h[0],h[1]),h=c.transform(b,k,null),d.lineTo(h[0],h[1]),h=c.transform(b,k,null),d.lineTo(h[0],h[1]);else{for(l=b;l<a;)h=c.transform(l,
e,null),l==b?d.moveTo(h[0],h[1]):d.lineTo(h[0],h[1]),l+=f;h=c.transform(a,e,null);d.lineTo(h[0],h[1]);for(l=e;l<k;)h=c.transform(a,l,null),d.lineTo(h[0],h[1]),l+=f;h=c.transform(a,k,null);d.lineTo(h[0],h[1]);for(l=a;l>b;)h=c.transform(l,k,null),d.lineTo(h[0],h[1]),l-=f;h=c.transform(b,k,null);d.lineTo(h[0],h[1]);for(l=k;l>e;)h=c.transform(b,l),d.lineTo(h[0],h[1]),l-=f}h=c.transform(b,e,null);d.lineTo(h[0],h[1]);d.close()}};$.g.oI=function(){this.wh(!0).stroke(this.i("stroke"));this.wh(!1).stroke(this.i("minorStroke"))};
$.g.remove=function(){this.ta&&this.ta.parent(null)};
$.g.Jj=function(){var a=this.oa,b=this.wh(!0),c=this.wh(!1);if(this.J(64)||this.J(4)){var d=window.NaN,e,f=a.precision();if(this.Fb()){var h=a.uw();var k=a.my();f=f[0];a=a.Ip();var l=[this.saa,this.qaa]}else h=a.tw(),k=a.ly(),f=f[1],a=a.Hp(),l=[this.raa,this.paa];h=h.get();k=k.get();this.Oy();b.clear();c.clear();var m=l[0],n=l[1];var q=-b.vk()%2/2;var r=0;for(e=h.length;r<e;r++){var t=h[r];r&&(l=$.Cx(this,r-1))&&n.call(this,t,d,null,l,q,f);(!r&&this.i("drawFirstLine")||r==e-1&&this.i("drawLastLine")||
0!=r&&r!=e-1)&&m.call(this,t,b,q,f);d=t}t!=a&&(l=$.Cx(this,r-1))&&n.call(this,a,d,null,l,q);q=-b.vk()%2/2;r=0;for(e=k.length;r<e;r++)t=k[r],m.call(this,t,c,q,f);this.I(64);this.I(4)}};$.g.R=function(){$.jd(this.o,this.g);this.g=this.o=null;AN.B.R.call(this)};$.H(BN,$.Wp);$.g=BN.prototype;$.g.qa=985;$.g.ra=98313;$.g.i=$.Vp;$.g.dg=function(a){$.p(a)&&(this.Ub=a);return this.Ub};$.g.Og=$.Up;$.g.Sd=function(){var a=[this.ma];this.$&&(a=$.Fa(a,this.$.Sd()));return a};$.g.Rd=function(){var a=[this.La];this.$&&(a=$.Fa(a,this.$.Rd()));return a};var gP={};$.ep(gP,[$.Y.NV,$.Y.jo,$.Y.MA,[1,"minorStroke",$.xp],[0,"drawFirstLine",$.op],[0,"drawLastLine",$.op],[0,"zIndex",$.N]]);$.S(BN,gP);$.g=BN.prototype;
$.g.Yb=function(a){this.Aa||(CN(this,this.ma.palette),$.V(this,"palette",this.Aa),this.Aa.Rp(!1));return $.p(a)?(CN(this,a),this.Aa.K(a),this):this.Aa};$.g.Hc=function(a){if(!$.K(this.Aa,a)){var b=!!this.Aa;$.hd(this.Aa);this.Aa=new a;$.L(this.Aa,this.Df,this);b&&this.ua(1)}};$.g.Df=function(a){$.W(a,2)&&this.ua(1)};$.g.Sl=function(){return this.o};
$.g.vertical=function(a){if(!this.f){this.f=new AN;$.Ax(this.f,"vertical");this.f.Me().parent(this);$.V(this,"vertical",this.f);var b=this.i("zIndex")+this.o.length*bP;this.f.Ch=b;$.L(this.f,this.g.u0,this.g);this.o.push(this.f)}return $.p(a)?(this.f.K(a),this):this.f};
$.g.m_=function(a){if(!this.b){this.b=new AN;$.Ax(this.b,"horizontal");this.b.Me().parent(this);$.V(this,"horizontal",this.b);var b=this.i("zIndex")+this.o.length*bP;this.b.Ch=b;$.L(this.b,this.g.u0,this.g);this.o.push(this.b)}return $.p(a)?(this.b.K(a),this):this.b};$.g.Ee=function(a){return $.da(a)||null===a?{enabled:!!a}:null};$.g.Fe=function(a,b){var c=this.Ee(b);return c?(a?this.ma.enabled=c.enabled:this.enabled(c.enabled),!0):!1};
$.g.eg=function(a,b){var c=$.p(b)?b:this.ma;this.m_().ja(!!a,c.horizontal);this.vertical().ja(!!a,c.vertical)};$.g.Y=function(a,b){$.U(this.g);$.tp(this,gP,a);b&&this.pa("enabled","enabled"in a?a.enabled:!0);a.palette&&this.Yb(a.palette);this.eg(!!b,a);this.g.da(!0)};$.g.F=function(){var a={};if(this.f){var b=this.f.F();$.Dc(b)||(a.vertical=b)}this.b&&(b=this.b.F(),$.Dc(b)||(a.horizontal=b));this.Aa&&(a.palette=this.Aa.F());$.Bp(this,gP,a,"Map grids props");return a};
$.g.R=function(){$.jd(this.f,this.b,this.Aa);this.Aa=this.b=this.f=null;this.o.length=0;this.g=null;BN.B.R.call(this)};var hP=BN.prototype;hP.horizontal=hP.m_;hP.vertical=hP.vertical;hP.palette=hP.Yb;$.H(DN,wM);DN.prototype.ratio=function(a){return $.p(a)?(a=$.N(a)||0,this.b!=a&&(this.b=a),this):this.b};DN.prototype.forward=function(a,b){var c=this.f.forward(a,b),d=this.oQ.forward(a,b);a=(1-this.b)*c[0]+this.b*d[0];b=(1-this.b)*c[1]+this.b*d[1];return[a,b]};DN.prototype.Ri=function(a,b){var c=this.f.Ri(a,b),d=this.oQ.Ri(a,b);a=(1-this.b)*c[0]+this.b*d[0];b=(1-this.b)*c[1]+this.b*d[1];return[a,b]};$.H(EN,$.Wp);$.g=EN.prototype;$.g.ra=2;$.g.bl=window.NaN;$.g.rh=4;$.g.Il=6;$.g.Bk=null;$.g.lo=null;$.g.Lc=0;$.g.r8=function(a){return null!=a?(this.bl!=a&&(a=$.N(a),0>=a?(this.rh=4,this.Il=6,this.bl=window.NaN):(this.Il=this.rh=window.NaN,this.bl=+a),this.lo=this.Bk=null,this.ua(2)),this):this.bl};
$.g.count=function(a,b){return $.p(a)?(this.rh!=a&&(this.bl=window.NaN,this.rh=Math.ceil($.N(a)),this.Il=Math.ceil($.N(b)),2<=this.rh||(this.rh=4),this.Il>=this.rh||(this.Il=this.rh),this.lo=this.Bk=null,this.ua(2)),this):[this.rh,this.Il]};$.g.zE=function(a){return $.p(a)?(a=+a||0,this.Lc!=a&&(this.Lc=a,this.lo=null,this.Bk||this.ua(2)),this):this.Lc};
$.g.set=function(a){$.Ra(this.Bk,a)||(this.bl=this.Il=this.rh=window.NaN,this.Bk=$.Ia(a,0),$.Ja(this.Bk),$.Oa(this.Bk,$.en),this.lo=null,this.ua(2));return this};$.g.get=function(){var a=this.Lj(),b="horizontal"==this.Ug?this.oa.Yq:this.oa.Yo;return(0,$.Be)(a,function(a){a=b.call(this,(0,window.parseFloat)(a));return 0<=a&&1>=a},this.oa)};$.g.Lj=function(){if(this.Bk)var a=this.Bk;else this.oa.mb(),a=this.lo;return a||[]};
$.g.nA=function(a,b,c,d){this.lo=null;var e=[a,b];if(this.Bk)c&&(e[0]=Math.min(a,this.Bk[0]||0)),d&&(e[1]=Math.max(b,this.Bk[this.Bk.length-1]||0));else{var f=[],h=this.bl,k=this.rh,l=this.Il;!(0,window.isNaN)(h)&&(b-a)/h>this.oa.Ko()&&(this.oa.HV||($.Uj(20,null,[b-a,h]),this.oa.HV=!0),h=window.NaN,k=4,l=6);if((0,window.isNaN)(h))for(var m=window.NaN,n=k;n<=l;n++){k=(b-a)/(n-1);var q=Math.log(k),r=Math.pow(10,Math.floor(q*Math.LOG10E)),t=Math.pow(10,Math.ceil(q*Math.LOG10E)),u=k<r+r?r/2:Number.POSITIVE_INFINITY;
q=$.Ol(k/t,2);(q=Math.min($.Fn(k,r)||window.Infinity,$.Fn(k,t)||window.Infinity,$.Fn(k,u)||window.Infinity,$.Fn(k,Math.pow(2,Math.floor(q))*t)||window.Infinity,$.Fn(k,Math.pow(2,Math.ceil(q))*t)||window.Infinity))&&(0,window.isFinite)(q)&&(k=q);q=$.Ml($.En(a,k,this.Lc))-a;q*=q;r=$.Ml($.Fn(b,k,this.Lc))-b;r*=r;q+=r;if((0,window.isNaN)(m)||q<m)m=q,h=k}l=$.Ll(h);m=$.Ml($.En(a,h,this.Lc,l));c?e[0]=a=m:1E-7<a-m&&(f.push(a),e[2]=m);c=$.Ml($.Fn(b,h,this.Lc,l));d?e[1]=b=c:1E-7<c-b&&(e[3]=c);for(a=$.Ml($.Fn(a,
h,this.Lc,l));a<=b;a=$.Ml(a+h))f.push(a);3 in e&&f.push(b);this.lo=f}return e};
$.g.oA=function(a,b,c){if(this.Bk)this.lo=null;else if(this.lo?this.lo.length=0:this.lo=[],!(2>a.length)){var d=this.q8,e=a.length-1,f=this.bl,h=this.rh;if(!(0,window.isNaN)(this.bl)){var k=a[e];var l=a[0];(k-l)/this.bl>this.oa.Ko()&&($.Uj(20,null,[k-l,this.bl]),this.bl=window.NaN,this.rh=4)}$.p(b)?(l=a[0],k=a[1],d.call(this,l,k,b,k),l=1):l=0;$.p(c)&&e--;for(b=l;b<=e-1;b++)l=a[b],k=a[b+1],d.call(this,l,k,l,k);$.p(c)&&(l=a[e],k=a[e+1],d.call(this,l,k,l,c));this.bl=f;this.rh=h}};
$.g.q8=function(a,b,c,d){var e=this.bl;(0,window.isNaN)(e)&&(e=(d-c)/(this.rh-1));e=Math.max(e,1E-7);c=this.lo[this.lo.length-1];b=$.Kl(b,7);for(a=$.Kl(a,7);a<=b;a=$.Kl(a+e,7))c!=a&&this.lo.push(a),c=a};$.g.F=function(){var a=EN.B.F.call(this);this.Bk?a.explicit=this.Bk:(this.rh==this.Il?(0,window.isNaN)(this.rh)||(a.count=this.rh):((0,window.isNaN)(this.rh)||(a.minCount=this.rh),(0,window.isNaN)(this.Il)||(a.maxCount=this.Il)),(0,window.isNaN)(this.bl)||(a.interval=this.bl));return a};
$.g.Fe=function(a,b){var c=arguments[1];return $.B(c)?(this.set(c),!0):$.Wp.prototype.Fe.apply(this,arguments)};
$.g.Y=function(a,b){EN.B.Y.call(this,a,b);(this.Bk=a.explicit||null)&&(0,$.ue)(this.Bk,function(a,b,e){e[b]=(0,window.parseFloat)(a)});this.rh=a.count||a.minCount||window.NaN;this.Il=a.count||a.maxCount||window.NaN;this.bl=a.interval||window.NaN;this.Bk?this.rh=this.Il=this.bl=window.NaN:this.bl?this.rh=this.Il=window.NaN:(this.rh=Math.ceil($.N(this.rh)),this.Il=Math.ceil($.N(this.Il)),2<=this.rh||(this.rh=4),this.Il>=this.rh||(this.Il=this.rh))};var iP=EN.prototype;iP.interval=iP.r8;iP.count=iP.count;
iP.set=iP.set;iP.get=iP.get;$.H(FN,$.Wp);$.g=FN.prototype;$.g.ra=6;$.g.Qa=function(){return"geo"};$.g.nB=function(a){var b=this.CN!=this.Ja||this.RH!=this.va||this.EN!=this.Ma||this.xN!=this.Ea;b&&(this.Qc=!1,a||this.ua(2));return b};$.g.kb=function(){return this.ub?this.ub.clone():$.Zl(0,0,0,0)};$.g.nf=function(a){this.ub=a;this.Qc=!1;return this};$.g.tw=function(a){this.Dd||(this.Dd=this.Gk(),this.Dd.Ug="horizontal");return $.p(a)?(this.Dd.K(a),this):this.Dd};
$.g.ly=function(a){this.Uc||(this.Uc=this.Gk(),this.Uc.Ug="horizontal");return $.p(a)?(this.Uc.K(a),this):this.Uc};$.g.uw=function(a){this.ke||(this.ke=this.Gk(),this.ke.Ug="vertical");return $.p(a)?(this.ke.K(a),this):this.ke};$.g.my=function(a){this.ee||(this.ee=this.Gk(),this.ee.Ug="vertical");return $.p(a)?(this.ee.K(a),this):this.ee};$.g.Qh=function(a){$.W(a,2)&&(this.Qc=!1,this.ua(2))};$.g.Gk=function(){var a=new EN(this);$.L(a,this.Qh,this);return a};
$.g.Ko=function(a){return $.p(a)?(a=$.tn(a,1E3,!1),this.Lo!=a&&(this.Lo=a,this.Qc=!1,this.ua(2)),this):this.Lo};$.g.precision=function(a,b){if(0<arguments.length){var c=0;a&&($.B(a)?(1<a.length&&(b=$.N(a[1])),a=$.N(a[0])):1==arguments.length&&(b=a=$.N(a)),0==a||(0,window.isNaN)(a)||this.yD==a||(this.yD=a,c=2));b&&(b=$.N(b))&&this.AD!=b&&(this.AD=b,c=2);this.ua(c);return this}return[this.yD,this.AD]};
$.g.xp=function(a){return $.p(a)?(a=+a||0,this.P!=a&&(this.P=a,this.Cf()&&(this.Qc=!1,this.ua(2))),this):this.P};$.g.Kp=function(a){if($.p(a)){a=$.Ya($.N(a),-180,180);var b=(0,window.isNaN)(a);if(b!=this.Sb||!b&&a!=this.g)a>=this.D?this.Hp(a):(this.Sb=b,this.g=a,this.Qc=!1,b?this.ua(4):this.ua(2));return this}this.mb();return this.g};
$.g.Hp=function(a){if($.p(a)){a=$.Ya($.N(a),-180,180);var b=(0,window.isNaN)(a);if(b!=this.eb||!b&&a!=this.D)a<=this.g?this.Kp(a):(this.eb=b,this.D=a,this.Qc=!1,b?this.ua(4):this.ua(2));return this}this.mb();return this.D};$.g.Lp=function(a){if($.p(a)){a=$.Ya($.N(a),-90,90);var b=(0,window.isNaN)(a);if(b!=this.rb||!b&&a!=this.f)a>=this.o?this.Ip(a):(this.rb=b,this.f=a,this.Qc=!1,b?this.ua(4):this.ua(2));return this}this.mb();return this.f};
$.g.Ip=function(a){if($.p(a)){a=$.Ya($.N(a),-90,90);var b=(0,window.isNaN)(a);if(b!=this.Za||!b&&a!=this.o)a<=this.f?this.Lp(a):(this.Za=b,this.o=a,this.Qc=!1,b?this.ua(4):this.ua(2));return this}this.mb();return this.o};$.g.Kf=function(a,b){if($.p(a)||$.p(b)){var c=0;$.p(a)&&($.B(a)&&(1<a.length&&(b=a[1]),a=a[0]),this.yj!=a&&(this.yj=!!a,c=2));$.p(b)?(b=!!b,this.ai!=b&&(this.ai=b,c=2)):1==arguments.length&&(a=!!a,this.ai!=a&&(this.ai=a,c=2));this.ua(c);return this}return[JN(this),KN(this)]};
$.g.Oc=function(a){for(var b=0;b<arguments.length-1;b+=2){var c=(0,window.parseFloat)(+arguments[b]),d=(0,window.parseFloat)(+arguments[b+1]);(0,window.isNaN)(c)||(0,window.isNaN)(d)||(c<this.Si&&(this.Si=c,this.Qc=!1),c>this.Eh&&(this.Eh=c,this.Qc=!1),d<this.Bg&&(this.Bg=d,this.Qc=!1),d>this.Re&&(this.Re=d,this.Qc=!1))}this.Qc||this.ua(2);return this};
$.g.bK=function(a){for(var b=arguments,c=0;c<b.length-1;c+=2){var d=+b[c],e=+b[c+1];(0,window.isNaN)(d)&&(d=(0,window.parseFloat)(b[c]));(0,window.isNaN)(e)&&(e=(0,window.parseFloat)(b[c+1]));if(this.Oo){var f=TN(this,d,e,null);this.Oc.apply(this,f)}d<this.Ja&&(this.Ja=d,this.Qc=!1);d>this.va&&(this.va=d,this.Qc=!1);e<this.Ma&&(this.Ma=e,this.Qc=!1);e>this.Ea&&(this.Ea=e,this.Qc=!1)}};
$.g.To=function(){this.Oo&&(this.Si=Number.MAX_VALUE,this.Eh=-Number.MAX_VALUE,this.Bg=Number.MAX_VALUE,this.Re=-Number.MAX_VALUE);this.CN=this.Ja;this.RH=this.va;this.EN=this.Ma;this.xN=this.Ea;this.Ja=Number.MAX_VALUE;this.va=-Number.MAX_VALUE;this.Ma=Number.MAX_VALUE;this.Ea=-Number.MAX_VALUE;this.Qc=!1};$.g.Cf=function(){return this.Sb&&(0,window.isNaN)(this.la)||this.rb&&(0,window.isNaN)(this.ga)||this.eb&&(0,window.isNaN)(this.ba)||this.Za&&(0,window.isNaN)(this.U)};
$.g.fg=function(a){this.Oo=$.p(a)?a:!0;this.mr||this.To();this.mr++;return this};$.g.ng=function(a){return(this.mr=Math.max(this.mr-1,0))?!0:this.nB(!!a)};
$.g.mb=function(){if(!this.Qc&&this.ub){this.Qc=!0;this.pQ();var a=[this.g,this.f],b=[this.D,this.o],c=this.tw().nA(a[0],b[0]);a=this.uw().nA(a[1],b[1]);this.ly().oA(this.tw().Lj(),c[2],c[3]);this.my().oA(this.uw().Lj(),a[2],a[3]);this.mc=this.Gp-this.xm;this.yc=this.wm-this.Jp;this.Vx=this.D-this.g;this.It=this.o-this.f;this.ratio=Math.min(this.ub.height/this.yc,this.ub.width/this.mc);this.G=(this.ub.width-this.mc*this.ratio)/2;this.N=(this.ub.height-this.yc*this.ratio)/2;c=MN(this,this.g,!0);a=
MN(this,this.D,!0);b=MN(this,this.f,!1);var d=MN(this,this.o,!1);this.xm=Math.min(c.xm,a.xm,b.xm,d.xm,c.Gp,a.Gp,b.Gp,d.Gp);this.Gp=Math.max(c.xm,a.xm,b.xm,d.xm,c.Gp,a.Gp,b.Gp,d.Gp);this.Jp=Math.min(c.Jp,a.Jp,b.Jp,d.Jp,c.wm,a.wm,b.wm,d.wm);this.wm=Math.max(c.Jp,a.Jp,b.Jp,d.Jp,c.wm,a.wm,b.wm,d.wm);this.mc=this.Gp-this.xm;this.yc=this.wm-this.Jp;this.Vx=this.D-this.g;this.It=this.o-this.f;this.ratio=Math.min(this.ub.height/this.yc,this.ub.width/this.mc);this.G=(this.ub.width-this.mc*this.ratio)/2;this.N=
(this.ub.height-this.yc*this.ratio)/2;a:{this.b||(this.b=$.aj());a=this.precision();c=a[0];a=a[1];b=this.Kp();d=this.Hp();var e=this.Lp(),f=this.Ip();this.b.clear();if(this.Hd&&PM(this.Hd["default"].kg)){var h=SN(this,b,e,null);this.b.moveTo(h[0],h[1]);h=SN(this,b,f,null);this.b.lineTo(h[0],h[1]);h=SN(this,d,f,null);this.b.lineTo(h[0],h[1]);h=SN(this,d,e,null);this.b.lineTo(h[0],h[1])}else{h=SN(this,b,e,null);if((0,window.isNaN)(h[0])||(0,window.isNaN)(h[1]))break a;this.b.moveTo(h[0],h[1]);for(var k=
e;k<f;)h=SN(this,b,k,null),this.b.lineTo(h[0],h[1]),k+=a;h=SN(this,b,f,null);this.b.lineTo(h[0],h[1]);for(k=b;k<d;)h=SN(this,k,f,null),this.b.lineTo(h[0],h[1]),k+=c;h=SN(this,d,f,null);this.b.lineTo(h[0],h[1]);for(k=f;k>e;)h=SN(this,d,k,null),this.b.lineTo(h[0],h[1]),k-=a;h=SN(this,d,e,null);this.b.lineTo(h[0],h[1]);for(k=d;k>b;)h=SN(this,k,e,null),this.b.lineTo(h[0],h[1]),k-=c}h=SN(this,b,e,null);this.b.lineTo(h[0],h[1]);this.b.close()}}};
$.g.pQ=function(){var a=(this.eb?(0,window.isNaN)(this.ba)?this.Eh:this.ba:this.D)-(this.Sb?(0,window.isNaN)(this.la)?this.Si:this.la:this.g),b=(this.Za?(0,window.isNaN)(this.U)?this.Re:this.U:this.o)-(this.rb?(0,window.isNaN)(this.ga)?this.Bg:this.ga:this.f);this.eb&&(this.D=(0,window.isNaN)(this.ba)?this.Eh+a*this.P:this.ba);this.Sb&&(this.g=(0,window.isNaN)(this.la)?this.Si-a*this.P:this.la);this.Za&&(this.o=(0,window.isNaN)(this.U)?this.Re+b*this.P:this.U);this.rb&&(this.f=(0,window.isNaN)(this.ga)?
this.Bg-b*this.P:this.ga);this.xm=this.Ja;this.Jp=this.Ma;this.Gp=this.va;this.wm=this.Ea};$.g.transform=function(a,b,c){a=SN(this,a,b,c);a[0]=a[0]*this.zoom+this.Zl;a[1]=a[1]*this.zoom+this.kn;return a};
$.g.Kc=function(a,b){this.mb();if(!this.ub||(0,window.isNaN)(a)||(0,window.isNaN)(b))return[window.NaN,window.NaN];a=$.N(a);b=$.N(b);a=(a-this.Zl)/this.zoom;b=(b-this.kn)/this.zoom;return TN(this,+(JN(this)?this.ub.$a()-this.G-a:a-this.ub.left-this.G)/this.ratio+this.xm,-(KN(this)?this.ub.Ra()-this.N-b:b-this.ub.top-this.N)/this.ratio+this.wm)};$.g.Yq=function(a){this.mb();a=$.N(a);a=$.Kl((a-this.g)/this.Vx,3);return JN(this)?1-a:a};
$.g.Yo=function(a){this.mb();a=$.N(a);a=$.Kl((a-this.f)/this.It,3);return KN(this)?1-a:a};$.g.F=function(){var a=FN.B.F.call(this);a.type=this.Qa();this.eb||(a.maximumX=this.D);this.Za||(a.maximumY=this.o);this.Sb||(a.minimumX=this.g);this.rb||(a.minimumY=this.f);a.precision=this.precision();a.gap=this.xp();a.xTicks=this.tw().F();a.xMinorTicks=this.ly().F();a.yTicks=this.uw().F();a.yMinorTicks=this.my().F();(0,window.isNaN)(this.Lo)||(a.maxTicksCount=this.Lo);return a};
$.g.Y=function(a,b){FN.B.Y.call(this,a,b);this.Kp(a.minimumX);this.Lp(a.minimumY);this.Hp(a.maximumX);this.Ip(a.maximumY);this.precision(a.precision);this.xp(a.gap);this.tw(a.xTicks);this.ly(a.xMinorTicks);this.uw(a.yTicks);this.my(a.yMinorTicks);this.Ko(a.maxTicksCount)};$.g.R=function(){$.jd(this.Dd,this.Uc,this.ke,this.ee);this.ee=this.ke=this.Uc=this.Dd=null;FN.B.R.call(this)};var jP=FN.prototype;jP.maxTicksCount=jP.Ko;jP.getType=jP.Qa;jP.gap=jP.xp;jP.xTicks=jP.tw;jP.xMinorTicks=jP.ly;
jP.yTicks=jP.uw;jP.yMinorTicks=jP.my;jP.extendDataRange=jP.Oc;jP.minimumX=jP.Kp;jP.maximumX=jP.Hp;jP.minimumY=jP.Lp;jP.maximumY=jP.Ip;jP.precision=jP.precision;VN.prototype.pop=function(){WN(this,0,this.b.length-1);var a=this.b.pop();UN(this,0);return a};$.ja(XN);XN.prototype.Qa=function(){return"geo-json"};
XN.prototype.f=function(a){var b,c=[];switch(a.type){case "FeatureCollection":if(a.features){var d=a.features;a=0;for(b=d.length;a<b;a++){var e=d[a];c.push(YN(this,e.geometry,e.properties))}}else $.Sj(10,"FeatureCollection object missing 'features' member.");break;case "GeometryCollection":if(a.geometries)for(d=a.geometries,a=0,b=d.length;a<b;a++)c.push(YN(this,d[a],d[a].properties));else $.Sj(10,"GeometryCollection object missing 'geometries' member.");break;case "Feature":a.properties&&a.geometry?
c.push(YN(this,a.geometry,a.properties)):$.Sj(10,"Feature object missing 'properties' or 'geometry' member.");break;case "Point":case "MultiPoint":case "LineString":case "MultiLineString":case "Polygon":case "MultiPolygon":a.coordinates?c.push(YN(this,a,null)):$.Sj(10,"Geometry object missing 'coordinates' member.");break;default:$.Sj(10,"GeoJSON object must be one of 'Point', 'LineString', 'Polygon', 'MultiPolygon', 'Feature', 'FeatureCollection' or 'GeometryCollection'.")}return c};var mO={Z:"Z",M:"M",L:"L",C:"C",Q:"Q",A:"A",H:"H",V:"V",S:"S",T:"T",z:"Z",m:"m",l:"l",c:"c",q:"q",a:"a",h:"h",v:"v",s:"s",t:"t"};$.ja(dO);dO.prototype.Qa=function(){return"svg"};dO.prototype.f=function(a){this.g=$.z(a)?(new window.DOMParser).parseFromString(a,"text/xml"):a;this.b={};a=this.g.getElementsByTagName("defs");var b,c;var d=0;for(b=a.length;d<b;d++){var e=a[d];var f=$.Ee(e);e=0;for(c=f.length;e<c;e++){var h=f[e];if($.Ge(h)){var k=h.getAttribute("id");this.b[k]||eO(this,h)}}}return iO(this,this.g,null,null)};$.ja(qO);qO.prototype.Qa=function(){return"topo-json"};qO.prototype.f=function(a){var b=[],c=XN.zd();$.yc(a.objects,function(d){d=Kea(this,a,d);b.push.apply(b,c.f(d))},this);return b};qO.prototype.reverse=function(a,b){for(var c,d=a.length,e=d-b;e<--d;)c=a[e],a[e++]=a[d],a[d]=c};$.g=sO.prototype;$.g.stroke=function(a,b,c,d,e){if($.p(a)){var f=$.Ub.apply(null,arguments);f!=this.g&&(this.g=f,this.$.u(16,1));return this}return this.g};$.g.fill=function(a,b,c,d,e,f,h){if($.p(a)){var k=$.Sb.apply(null,arguments);k!=this.f&&(this.f=k,this.$.u(16,1));return this}return this.f};$.g.enabled=function(a){return $.p(a)?(a=!!a,this.b!=a&&(this.b=a,this.$.u(16,1)),this):this.b};
$.g.K=function(a){$.p(a)&&($.U(this.$),$.da(a)||null===a?this.enabled(!!a):$.D(a)&&(this.stroke(a.stroke),this.fill(a.fill),this.enabled(a.enabled)),this.$.da(!0));return this};$.g.F=function(){var a={};a.fill=this.fill();a.enabled=this.enabled();a.stroke=this.stroke();return a};var kP=sO.prototype;kP.stroke=kP.stroke;kP.fill=kP.fill;kP.enabled=kP.enabled;$.H(uO,$.$x);var lP={},mP=$.nE|5767168;lP.connector={zb:21,Db:2,Ib:[$.nF,$.NE,{name:"eventHandler",Lb:"path",Pb:!0,Rb:null,Vb:!1,Ab:!1,zIndex:0}],Hb:null,Bb:null,vb:mP};lP.marker={zb:22,Db:2,Ib:[$.nF,$.NE],Hb:null,Bb:null,vb:$.nE|1572864};lP.bubble={zb:23,Db:2,Ib:[$.QE,$.RE,$.UE,$.WE],Hb:null,Bb:null,vb:mP,Cb:"value",wb:"value"};lP.choropleth={zb:24,Db:2,Ib:[{name:"foreignFill",Lb:"none",Pb:"fill",Rb:"stroke",Vb:!0,Ab:!1,zIndex:0},$.NE],Hb:null,Bb:null,vb:mP};uO.prototype.Bi=lP;$.ay(uO,uO.prototype.Bi);
var nP={};$.dp(nP,0,"geoIdField",$.np);$.dp(nP,0,"overlapMode",$.zj);$.dp(nP,0,"minZoomLevel",$.N);$.dp(nP,0,"maxZoomLevel",$.N);$.S(uO,nP);uO.prototype.qa=$.$x.prototype.qa|268238864;uO.prototype.ra=$.$x.prototype.ra|1024;var Dea=100,oP={"default":{crs:"wsg84",scale:1}},aP=20,bP=1E-5;$.g=uO.prototype;$.g.EL=0;$.g.py=1;$.g.vp=1;$.g.Tj=null;$.g.Qa=function(){return"map"};$.g.kx=function(a){return this.axes().Sl()[a]};$.g.mx=function(a){return this.axes().Sl()[a]};
$.g.U$=function(){if(!this.Ed){var a=this.O();if((a=a?a.Ga():null)&&this.ag()){a=a.ol();$.ad&&(a.style["-ms-touch-action"]="none");$.$B||($.$B=$.re("textarea"),$.$B.setAttribute("readonly","readonly"),$.Te($.$B,{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",left:0,top:0,width:"1px"}),window.document.body.appendChild($.$B),$.yd($.$B,["focus","focusin","select"],function(a){a.preventDefault()}));this.wa("pointsselect",function(a){$.$B.innerHTML=
this.Zc().i("copyFormat").call(a,a);$.$B.select()},!1,this);this.Yf=new $.ZA($.$B);this.Yf.N=!0;this.Yf.P=!0;this.Yf.G=!0;this.Yf.U=!0;this.Yf.Tk("zoom_in",187,8);this.Yf.Tk("zoom_out",189,8);this.Yf.Tk("zoom_full_out",48,8);this.Yf.Tk("zoom_in",187,2);this.Yf.Tk("zoom_out",189,2);this.Yf.Tk("zoom_full_out",48,2);this.Yf.Tk("zoom_in",107,8);this.Yf.Tk("zoom_out",109,8);this.Yf.Tk("zoom_full_out",96,8);this.Yf.Tk("zoom_in",107,2);this.Yf.Tk("zoom_out",109,2);this.Yf.Tk("zoom_full_out",96,2);this.Yf.Tk("move_left",
37);this.Yf.Tk("move_right",39);this.Yf.Tk("move_up",38);this.Yf.Tk("move_down",40);this.Yf.Tk("drill_up",8);this.Yf.Tk("drill_up",27);var b=this.i("minZoomLevel"),c=this.i("maxZoomLevel");this.Yf.wa("shortcut",function(a){if(this.sg.i("keyboardZoomAndMove")&&(!$.$B.za||$.$B.za==this)){var c=0;c=0;this.Bx=!0;this.$k=100;var d=$.$B.za.fh();switch(a.identifier){case "zoom_in":d.zs();break;case "zoom_out":d.As();break;case "zoom_full_out":d.yo();break;case "move_up":c=10*d.qg();d.move(0,c);break;case "move_left":c=
10*d.qg();d.move(c,0);break;case "move_down":c=-10*d.qg();d.move(0,c);break;case "move_right":c=-10*d.qg();d.move(c,0);break;case "drill_up":a=d.kf.wd,$.Nl(d.qg(),b)&&$.Nl(a.Bd,0)&&$.Nl(a.vd,0)?(d.kf.nc(b,0,0,b,0,0),this.Tw()):this.Ku||(d.Th&&d.Th.stop(),this.Ju(d,function(){this.gC=!0;this.$k=300;this.oj(b);this.Ju(this,function(){this.gC=!1})}))}}},!1,this);this.$ca=(0,$.pa)(function(a){if(!this.O())return!1;var d=$.Ii(this.O().Ga()),e=a.jZ?a.Mk:a,f=this.fh();e=$.Ya(1-e.deltaY/120,.7,2);var m=f.Zc().i("zoomOnMouseWheel"),
n=this.ag();return(n&&a.clientX>=n.left+d.x&&a.clientX<=n.left+d.x+n.width&&a.clientY>=n.top+d.y&&a.clientY<=n.top+d.y+n.height||!n)&&m&&!(1<e&&f.vp>=c||1>e&&f.vp<=b)},this);this.tT=new vM(a,!1,this.$ca);this.tT.wa("mousewheel",function(a){var d=this.fh(),e=d.kf;this.Bx=!0;var f=$.Ii(this.O().Ga()),m=this.ag();m=m&&a.clientX>=m.left+f.x&&a.clientX<=m.left+f.x+m.width&&a.clientY>=m.top+f.y&&a.clientY<=m.top+f.y+m.height;if(this.sg.i("zoomOnMouseWheel")&&m&&!d.gC){m=$.Ya(1-a.deltaY/120,.7,2);this.iH=
this.bI;this.bI=1<m?!0:1==m?!this.iH:!1;this.iH!=this.bI&&d.Th&&1==d.Th.oc&&d.Th.stop();var n=d.qg();1>m&&$.Nl(n,b)&&!$.xb(e.wd)?(e.nc(b,0,0,b,0,0),d.vp=b,d.gC=!1,d.Th&&1==d.Th.oc&&d.Th.stop(),d.scale().zoom=b,jN(d.scale(),0,0),kN(d)):1<=m&&($.Nl(n,c)||n>c)||1>=m&&($.Nl(n,b)||n<b)||d.zoom(m,a.clientX-f.x,a.clientY-f.y,20)}},!1,this);this.eT=function(a){if(this.O()&&this.O().Ga()){var b=$.Ii(this.O().Ga()),c=this.sb();if(c&&a.clientX>=c.left+b.x&&a.clientX<=c.left+b.x+c.width&&a.clientY>=c.top+b.y&&
a.clientY<=c.top+b.y+c.height&&this.Bx){var d=$.ne($.fe($.$B).b),e=d.scrollLeft,f=d.scrollTop;$.$B.select();$.$B.za=this;if($.$c){var q=d.scrollLeft,r=d.scrollTop;(0,window.setTimeout)(function(){d.scrollLeft==q&&d.scrollTop==r&&$.Vj.scrollTo(e,f)},0)}else $.Vj.scrollTo(e,f)}}};this.fT=function(a){if(this.sg.i("zoomOnDoubleClick")){var b=this.fh(),c=$.Ii(this.O().Ga()),d=b.ag();d&&a.clientX>=d.left+c.x&&a.clientX<=d.left+c.x+d.width&&a.clientY>=d.top+c.y&&a.clientY<=d.top+c.y+d.height&&(this.Bx=!0,
c=this.i("zoomFactor"),d=a.clientX,a=a.clientY,this.$k=100,b.zoom(c,d,a))}};this.FG=function(){this.NH=0;this.Vw();$.Gd(window.document,["pointermove","touchmove"],this.D2,!1,this)};this.gT=function(){this.lm||($.Gd(window.document,"mousemove",this.GC,!1,this),$.Gd(window.document,"mouseup",this.HC,!1,this))};$.yd(this.Af(),["drag","dragstart"],function(){this.rL=!0},!1,this);$.yd(this.Af(),"dragend",function(){this.rL=!1},!1,this);$.yd(a,"click",this.eT,!1,this);$.yd(a,"dblclick",this.fT,!1,this);
this.NH=0;$.yd(a,["pointerup","touchend"],this.FG,!1,this);var d,e;this.wa("mousedown",function(a){var b=$.Ii(this.O().Ga()),c=this.ag();c&&a.clientX>=c.left+b.x&&a.clientX<=c.left+b.x+c.width&&a.clientY>=c.top+b.y&&a.clientY<=c.top+b.y+c.height&&(this.Bx=!0,d=a.clientX,e=a.clientY,$.yd(window.document,"mousemove",this.GC,!0,this),$.yd(window.document,"mouseup",this.HC,!0,this))},!1,this);this.GC=function(a){var b=this.fh();this.sg.i("drag")&&1!=b.qg()&&!this.rL&&(b.Wk(),b.move(a.clientX-d,a.clientY-
e),this.dispatchEvent("drag"),d=a.clientX,e=a.clientY)};this.HC=function(){if(this.iL){this.Vw();for(var a=this.hb.length;a--;){var b=this.hb[a];21==b.Le.type&&(b.Nz=this.kf.og().clone(),b.u(1024,1),b.ey())}}$.Gd(window.document,"mousemove",this.GC,!0,this);$.Gd(window.document,"mouseup",this.HC,!0,this)};$.yd(a,"mouseleave",this.gT,!1,this)}else(0,window.setTimeout)(this.r_,100)}};$.g.Wk=function(){this.lm||(this.lm=!0,this.dispatchEvent("dragstart"))};
$.g.Vw=function(){this.lm&&(this.lm=!1,this.sg.i("drag")&&1!=this.fh().qg()&&!this.rL&&this.dispatchEvent("dragend"))};
$.g.Lga=function(a){this.cg(a);this.Bx=!1;var b=$.Ii(this.O().Ga()),c=this.ag();if(c&&a.clientX>=c.left+b.x&&a.clientX<=c.left+b.x+c.width&&a.clientY>=c.top+b.y&&a.clientY<=c.top+b.y+c.height){b=(a.OL||a).zk.Mk;c=b.touches.length;if(2==c)a=b.touches[0],b=b.touches[1],this.NH=$.Wl(a.pageX,a.pageY,b.pageX,b.pageY),this.KH=!1;else if(1==c){this.KH=!0;this.MT=a;if(!this.k2){this.p2=this.Ac.Ie(this,"touchstart",function(a){1<a.OL.zk.Mk.touches.length&&(this.KH=!1)});this.o2=this.Ac.Ie(this,"touchmove",
function(){this.KH=!1});if(this.sg.i("drag")&&1!=this.qg()){c=this.kf;var d=c.tj();$.pb(c.kb(),d)&&b.preventDefault()}this.k2=!0;(0,window.setTimeout)(this.Mga,10)}this.d2=a.clientX;this.e2=a.clientY;this.lm=!0}else this.KH=!1;$.yd(window.document,["pointermove","touchmove"],this.D2,!1,this);$.yd(window.document.body,["pointermove","touchmove"],function(){return!1},!1,this)}};
$.g.dj=function(a){this.iL=!1;this.MT=a;this.qg()==this.i("minZoomLevel")?(0,window.setTimeout)(this.y6,0,a):this.f0||(this.m2=this.Ac.Ie(this,"mousemove",function(){this.iL=!this.rL}),this.f0=!0,(0,window.setTimeout)(this.laa,70))};
$.g.Np=function(a){if("drill-down"==this.Zc().i("selectionMode")){var b=this.fh().BQ();if(b){var c=$.hn(a.domTarget),d;if($.K(a.target,$.kt)||$.K(a.target,$.vw)){a=a.target.ri();a.vi&&a.vi()&&(d=a);var e=c}else $.K(a.target,$.qv)||this.zu(a.target)?c&&(c.Ef?(d=c.Ef.W,e=c.Ef.kd):(d=c.W,e=c.index)):(d=c&&c.W,e=$.ea(c.index)?c.index:a.pointIndex);d&&(c=d.Ad(e).get("id"),b=b[c])&&($.K(b,uO)?this.vq(c,b):$.D(b)&&(this.lG[c]||(this.lG[c]=$.Jo(b)),this.vq(c,this.lG[c])))}}else uO.B.Np.call(this,a)};
$.g.rg=function(a){var b=this.fh(),c=b.Zc().i("hoverMode"),d=$.hn(a.domTarget),e=!1,f;if($.K(a.target,$.kt)||$.K(a.target,$.vw)){var h=a.target.ri();h.vi&&h.vi()&&(f=h);h=d}else $.K(a.target,$.qv)||b.zu(a.target)?(d&&(d.Ef?(f=d.Ef.W,h=d.Ef.kd,$.B(h)&&!h.length&&(h=window.NaN)):(f=d.W,h=d.index)),e=!0):(f=d&&d.W,h=$.ea(d.index)?d.index:a.pointIndex);if(f&&!f.Ed&&f.enabled()&&$.E(f.tg)&&(d=f.tg(a))){var k=$.hn(a.relatedDomTarget);k=$.N($.D(k)?k.index:k);$.jn(f,a.relatedTarget)&&k==h||!f.dispatchEvent(d)||
"single"!=c||(0,window.isNaN)(h)&&!$.B(h)||(f.Cd(),b.ez(),b.dispatchEvent(b.rk("hovered",a,[{W:f,kd:[],ie:{index:$.B(h)?h[0]:h,Rf:0}}],!1,e)))}"single"==c||$.jn(b,a.relatedTarget)||(b.Cd(),b.ez(),b.Sk&&b.dispatchEvent(b.rk("hovered",a,b.Sk,!0,e)),b.Sk=null)};$.g.ih=function(a){this.iL||uO.B.ih.call(this,a)};
$.g.D2=function(a){var b=a.Mk,c=b.touches?b.touches.length:0;this.Bx=!1;var d=this.fh(),e=d.kf;if(2==c){c=b.touches[0];var f=b.touches[1];b=$.Wl(c.pageX,c.pageY,f.pageX,f.pageY);a=Math.min(c.pageX,f.pageX)+Math.abs(c.pageX-f.pageX)/2;c=Math.min(c.pageY,f.pageY)+Math.abs(c.pageY-f.pageY)/2;var h=25<Math.abs(b-this.NH);f=this.i("minZoomLevel");var k=this.i("maxZoomLevel");this.sg.i("zoomOnMouseWheel")&&h&&(h=0<b-this.NH?1.3:1/1.3,this.NH=b,this.iH=this.bI,this.bI=1<h?!0:1==h?!this.iH:!1,this.iH!=this.bI&&
d.Th&&1==d.Th.oc&&d.Th.stop(),1>h&&$.Kl(d.qg(),2)==f&&!$.xb(e.wd)?(e.nc(f,0,0,f,0,0),d.vp=f,d.gC=!1,d.Th&&1==d.Th.oc&&d.Th.stop(),d.scale().zoom=f,jN(d.scale(),0,0),kN(d)):1<h&&d.qg()>=k||1>h&&d.qg()<=f||(e=$.nf(this.O().ea()),d.zoom(h,a-e.left,c-e.top)))}else 1==c&&(this.lm&&this.sg.i("drag")&&1!=this.qg()?(e=a.clientX-d.d2,b=a.clientY-d.e2,$.Te(window.document.body,"cursor","move"),d.move(e,b),d.d2=a.clientX,d.e2=a.clientY):$.Te(window.document.body,"cursor",""))};
$.g.Hr=function(a){if($.K(a.target,$.qv))return $.hn(a.domTarget).kd;var b=this.xf||$.Zl(0,0,0,0),c=a.clientX;a=a.clientY;var d=$.Ii(this.O().Ga());c-=d.x;a-=d.y;d=b.left;var e=b.top,f=b.width;b=b.height;if(c<d||c>d+f||a<e||a>e+b)return null;b=[];d=this.Zc();if("by-spot"==d.i("hoverMode")){var h=d.i("spotRadius");e=0;for(f=this.hb.length;e<f;e++){var k=this.hb[e];if(k.enabled()){var l=k.aa(),m=[];l.reset();for(var n=window.Infinity,q;l.advance();)if(l.j("shape")){var r=l.j("x"),t=l.j("value");d=l.ka();
r=$.Wl(r,t,c,a);r<=h&&(m.push(d),r<n&&(n=r,q=d))}m.length&&b.push({W:k,kd:m,fn:m[m.length-1],ie:{index:q,Rf:n}})}}}else this.Zc().i("hoverMode");return b};
$.g.OE=function(a,b){for(var c=[],d,e=0,f=a.length;e<f;e++){var h=a[e],k=h.W,l={series:k},m=k.aa(),n=[];if(!b)for(var q=0;q<h.kd.length;q++){var r=h.kd[q];m.select(r)&&((d=(d=m.j("features"))&&d.length?d[0].properties:null)?(r={id:d[VM(k)],index:m.ka(),properties:d},n.push(r)):n.push(r))}l.points=n;h.ie?(r=h.ie.index,m.select(r)&&(r={},(d=(d=m.j("features"))&&d.length?d[0].properties:null)?(r.id=d[VM(k)],r.index=m.ka(),r.properties=d):r.index=m.ka()),h={point:r,distance:h.ie.Rf}):h={index:window.NaN,
distance:window.NaN};l.nearestPointToCursor=h;c.push(l)}return c};$.g.GJ=function(a,b){var c=$.hq(this.fh(),"colorRange");a=$.B(a)?a.length?a[0]:window.NaN:a;if(c&&c.target()&&!(0,window.isNaN)(a)){var d=c.target();if(d==b){var e=d.aa();e.select(a);d=e.get(d.Le.Zk);$.qK(c,d)}}};$.g.ez=function(){var a=$.hq(this.fh(),"colorRange");a&&a.enabled()&&$.rK(a)};$.g.Tx=function(){this.ab().tq()&&this.u(4,9)};$.g.QP=function(){return new QM(this)};
$.g.VP=function(a,b){this.Fu||(this.Fu=new $.wv,$.V(this,"crsAnimation",this.Fu),$.L(this.Fu,this.Kea,this));return $.p(a)?(this.Fu.K.apply(this.Fu,arguments),this):this.Fu};$.g.Kea=function(){};$.g.Hj=function(a){this.Xb||(this.Xb=new $.lK,$.V(this,"colorRange",this.Xb),$.L(this.Xb,this.Qy,this),this.u(524292,1));return $.p(a)?(this.Xb.K(a),this):this.Xb};$.g.Qy=function(a){var b=0,c=0;$.W(a,1)&&(b|=557072,c|=1,this.tv());$.W(a,8)&&(b|=4,c|=8);$.W(a,2)&&(b|=524288,c|=8);this.u(b,c)};
$.g.zu=function(a){return $.K(a,$.lK)};$.g.SX=function(a,b){var c=$.N(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.Bn[c];e||(e=new xN,e.qb(this),e.Ia(this.wY()),e.pe(),this.Bn[c]=e,$.L(e,this.Eea,this),this.u(16777220,1));return $.p(d)?(e.K(d),this):e};$.g.Eea=function(a){var b=0,c=0;$.W(a,1)&&(b|=16777216,c|=1);$.W(a,8)&&(b|=4,c|=8);this.u(b,c)};$.g.wY=function(a){this.aQ||(this.aQ=$.ml("map.defaultCalloutSettings"));return $.p(a)?($.ra(this.aQ,a),this):this.aQ||{}};
$.g.axes=function(a){if(!this.ep){this.ep=new wN(this);$.V(this,"axesSettings",this.ep);this.ep.eg(!0);for(var b=this.scale(),c=this.ep.Sl(),d=0;d<c.length;d++){var e=c[d];e.scale()!==b&&e.scale(b)}}return $.p(a)?(this.ep.ja(!1,a),this):this.ep};$.g.FL=function(a){var b=0;$.W(a,8)?b|=4:$.W(a,1)&&(b|=33554432);this.u(b,1)};$.g.WR=function(a){this.px||(this.px=new BN(this),$.V(this,"gridsSettings",this.px),this.px.eg(!0));return $.p(a)?(this.px.ja(!1,a),this):this.px};
$.g.u0=function(){this.u(67108864,1)};$.g.Mg=function(a){this.vf||(this.vf=new zN,$.V(this,"crosshair",this.vf),$.Ky(this.vf,this),$.L(this.vf,this.Sz,this));return $.p(a)?(this.vf.K(a),this):this.vf};$.g.Sz=function(){this.u(134217728,1)};$.g.lK=function(a){return YM(a)?15:30};$.g.TU=function(a){UM(a,this.i("geoIdField"));this.Pk&&(a.Cr=this.Pk);uO.B.TU.call(this,a)};$.g.Os=function(a,b){return new TM(this,this,a,b,!0)};$.g.ds=function(a){return $.ij(Oea,a,"choropleth")};
$.g.DM=function(a){var b=0;$.W(a,32768)&&(b|=256);$.W(a,1)&&(b=32768,YM(a.target)&&(b|=16));$.W(a,1024)&&(b|=8388608);$.W(a,4)&&(b|=4194304);$.W(a,2048)&&(b=32);if($.W(a,16)){b|=8422144;YM(a.target)&&(b|=16);for(var c=this.hb.length;c--;)this.hb[c].u(4260356)}$.W(a,64)&&(b|=512,$.W(a,8)&&(b|=4));$.W(a,128)&&(b|=524288,a=$.hq(this,"colorRange"))&&(a.Id(),a.u(a.qe));this.u(b,1)};$.g.tv=function(){for(var a=this.hb.length;a--;)this.hb[a].u(4)};$.g.Xy=function(a){a=a?a.path():$.aj();a.op(!0);return a};
$.g.ZX=function(a){a.clear();a.parent(null);a.Uk();a.nc(1,0,0,1,0,0);delete a.tag};$.g.clear=function(){this.kf&&(vO(this)?xO(this,this.kf):this.kf.clear());this.Dv.length=0};$.g.ag=function(){return this.xf};
$.g.scale=function(a){if($.p(a))return a&&$.K(a,FN)?this.oa!=a&&(this.oa&&$.Xp(this.oa,this.kK,this),this.oa=a,$.L(this.oa,this.kK,this),this.u(65536,1)):(this.oa||(this.oa=new FN,this.oa.Y(this.oa.ma,!0),$.L(this.oa,this.kK,this)),this.oa.K(a)),this;this.oa||(this.oa=new FN,this.oa.Y(this.oa.ma,!0),$.L(this.oa,this.kK,this));return this.oa};$.g.kK=function(a){var b=0;$.W(a,4)&&(b|=65540);$.W(a,2)&&(b|=4);this.u(b,1)};$.g.Wa=function(){return null};$.g.bb=function(){return null};
$.g.qw=function(a){if($.p(a)){if($.D(a)){if(!this.OH||$.z(this.OH))this.OH=new sO(this);this.OH.K(a)}else this.OH=$.ij(Nea,a,"hide");this.u(16,1);return this}return this.OH};$.g.Cr=function(a){if($.p(a)){if($.z(a)&&!$.ac(a,"<")){this.jK=a;var b=a.split(".");a=$.Vj;for(var c=0,d=b.length;c<d;c++)a=a[b[c]]}else this.jK=null;this.Wm!=a&&(this.Wm=a,this.u(5095440,1));return this}return this.Wm};
$.g.GY=function(a,b,c){var d=NN(this.scale(),a[b],a[b+1]);a=d[0];d=d[1];$.Bc(c,"coordinates")?c.ea.moveTo(a,d).lineTo(a,d):b?c.ea.lineTo(a,d):c.ea.moveTo(a,d)};
$.g.qP=function(a,b,c){var d=this.YQ;if(vO(this.map))"image"==c.type||"text"==c.type?(a=$.Mf().iT(c.cloneNode),d.bK(a.tb(),a.$b(),a.$a(),a.Ra())):"path"==c.type&&(this.map.jT||(this.map.jT=$.aj()),oO(c.commands_tx?c.commands_tx:c.commands,this.map.jT),a=this.map.jT.kb(),d.bK(a.tb(),a.$b(),a.$a(),a.Ra()));else{if(this.R0){c=(a[b]-this.Hd.Sh)/this.Hd.scale;var e=(a[b+1]-this.Hd.Ei)/this.Hd.scale;this.Q0&&(e=this.Q0.Ri(c,e),c=e[0],e=e[1]);e=this.R0.forward(c,e);a[b]=e[0]*this.Hd.scale+this.Hd.Sh;a[b+
1]=e[1]*this.Hd.scale+this.Hd.Ei}d.bK(a[b],a[b+1])}};$.g.vQ=function(a){return this==bN(this)?uO.B.vQ.call(this,a):a};$.g.UB=function(a){var b=a.clone();if($.hq(this,"axesSettings")){var c=0,d=0,e=0,f=0;b=a.clone();for(var h=this.ep.Sl(),k,l=0;l<h.length;l++)if(k=h[l],k.i("enabled")){k.fa(a);var m=k.nd(),n=a.left-m.left;c<n&&m.left&&(c=n);n=a.top-m.top;d<n&&m.top&&(d=n);n=m.$a()-a.$a();e<n&&m.$a()&&(e=n);n=m.Ra()-a.Ra();f<n&&m.Ra()&&(f=n);k.u(4)}b.left+=c;b.top+=d;b.width-=c+e;b.height-=d+f}return b};
$.g.mb=function(){var a;var b=this.scale();var c=!1;if(this.J(262144)){var d=this.Cr();if(null!=d){d=$.z(this.Wm)&&!$.ac(d,"<")?$.Vj.anychart.maps[this.Wm]:this.Wm;$.z(d)&&$.ac(d,"<")||$.te(d)?this.PC=dO.zd():"topology"===d.type.toLowerCase()?this.PC=qO.zd():this.PC=XN.zd();this.xS=this.PC.f(d);$.hd(this.Pk);this.Pk=null;(c=d["ac-geoFieldId"])&&this.pa("geoIdField",c);this.Tj={};c=d["ac-tx"]||{};var e=c["default"];e||(e=c["default"]=$.Ic(oP["default"]));$.yc(c||oP,function(a,b){var c={};c.kg=$.p(a.crs)?
uM(a.crs):e.kg;c.yH=c.kg;c.oo=OM(c.kg);c.Z1=OM(c.yH);c.scale=a.scale||e.scale||1;c.Sh=$.p(a.xoffset)?(0,window.parseFloat)(a.xoffset):0;c.Ei=$.p(a.yoffset)?(0,window.parseFloat)(a.yoffset):0;$.p(a.heatZone)&&(c.ot=$.B(a.heatZone)?a.heatZone:$.bm(a.heatZone));this.Tj[b]=c},this);(c=d.scale)?GN(b,"minLon"in c?c.minLon:window.NaN,"maxLon"in c?c.maxLon:window.NaN,"minLat"in c?c.minLat:window.NaN,"maxLat"in c?c.maxLat:window.NaN):GN(b,window.NaN,window.NaN,window.NaN,window.NaN)}this.kf?this.clear():(this.kf=
wO(this,this.Ua),this.kf.zIndex(10),bN(this)==this&&this.r_());vO(this)&&!this.kw&&(this.kw=wO(this,this.kf));this.Xe||(this.Xe=this.Ua.Nd(),this.Xe.zIndex(30));c=!0;this.u(65540)}if(this.J(65536)){if(this.Tj){Fea(b,this.Tj);if(this.kf){var f=this.kf.wd;b.zoom=f.jd;jN(b,f.Bd,f.vd)}var h=this.Tj?this.Tj["default"]:null;var k=!this.$y,l=null===this.Ps?h.yH:this.Ps;f=!this.Pk;this.Rz=null;k&&this.Ps?this.Rz=this.Ps:this.$y==h.kg&&this.$y==l||k||vO(this)||(this.Rz=l);var m=!!this.Rz&&!vO(this);if(h.kg!=
this.Rz&&h.yH!=this.Rz||$.hq(this,"crsAnimation")&&this.Fu.i("enabled")){if(!PM(h.yH))var n=h.Z1;m&&(a=OM(this.Rz))}var q=h.oo;k&&(this.$y=l);m&&(this.qq&&1==this.qq.oc&&(this.qq.stop(),this.qq.ad(),this.qq=null),this.$y=this.Rz,h.kg=this.$y,h.oo=OM(h.kg));f?(d=this.xS,this.Pk=[]):m?d=this.xS:d=this.Pk;k=$.hq(this,"crsAnimation");if(this.qq&&this.qq.oc==$.Fx||!this.qq)k&&k.i("enabled")&&0<k.i("duration")&&!f&&m?(h.oo=new DN(q,a),this.qq=new eN(this,d,n,h,k.i("duration"),this!=this.fh()),this.qq.Ie("end",
function(){this.map.qq.stop();this.map.qq.ad();this.Hd.oo=this.Hd.oo.oQ},!0,{map:this,Hd:h}),this.qq.play()):(a=(0,$.pa)(this.qP,{Hd:h,Q0:n,R0:a,YQ:this.scale(),map:this}),vO(this),$.U(b),b.fg(c),fN(this,d,a,f,m),b.ng(),b.da(!0),vO(this)?(IN(b,!0),this.kw.parent(this.kf),this.kw.nc(1,0,0,1,0,0)):IN(b,!1));a=-window.Infinity;n=window.Infinity;f=c=0;for(b=this.hb.length;b--;)d=this.hb[b],d.u(512,1),d.An(),a=Math.max(a,d.Fa("seriesMax")),n=Math.min(n,d.Fa("seriesMin")),c+=d.Fa("seriesSum"),f+=d.Fa("seriesPointsCount");
m=c/f;for(b=0;b<this.hb.length;b++)d=this.hb[b],d.Fa("max",a),d.Fa("min",n),d.Fa("sum",c),d.Fa("average",m),d.Fa("pointsCount",f),d=$.Xb(d.stroke()),d>this.Oq&&(this.Oq=d)}this.I(65536)}if(this.J(4194304)){a=this.i("geoIdField");this.jG={};this.jG[a]={};if(this.Pk){for(b=this.hb.length;b--;)d=this.hb[b],$.p(d.TB())&&d.TB()!=a&&(this.jG[d.TB()]={});b=0;for(d=this.Pk.length;b<d;b++)a=this.Pk[b],AO(this,a,function(a){var b=a.properties;if(b)for(var c in this.jG)c in b&&(this.jG[c][b[c]]=a)},this)}this.I(4194304)}};
$.g.rD=function(){uO.B.rD.call(this,this.Mf);this.Gu().Gy(HN(this.scale()))};
$.g.Ji=function(a){bN(this);var b,c,d,e=this.i("maxZoomLevel"),f=this.i("minZoomLevel");var h=this.scale();this.mb();if(this.J(32768)){for(b=this.hb.length;b--;){var k=this.hb[b];$.U(k);k.O(this.Xe);YM(k)&&k.mb();k.da(!1)}this.cB={};$.by(this)}if(this.J(4)){b=0;for(d=this.Bn.length;b<d;b++){var l=this.Bn[b];l.u(4)}if($.hq(this,"axesSettings"))for(k=this.ep.Sl(),b=0,d=k.length;b<d;b++){var m=k[b];$.wt(m.labels());$.wt(m.jb());m.u(m.qe)}if($.hq(this,"gridsSettings"))for(l=this.px.Sl(),b=0,d=l.length;b<
d;b++)k=l[b],k.u(80);this.u(67108864);this.u(33554432);this.u(16777216)}if(this.J(524288)&&$.hq(this,"colorRange")){b=0;for(d=this.hb.length;b<d;b++)YM(this.hb[b])&&(c=this.hb[b]);c&&($.U(this.Xb),this.Xb.scale(c.pd()),this.Xb.target(c),this.Xb.qb(bN(this)),this.Xb.da(!1),this.u(4))}if(this.J(16777216))for(b=0,d=this.Bn.length;b<d;b++)if(l=this.Bn[b]){c=[];m=l.items();for(var n=0,q=0,r=m.length;q<r;q++)for(var t=m[q],u=0,v=this.hb.length;u<v;u++){k=this.hb[u];var w=(0,$.xa)(k.CU,t);if(k=-1!=w?k.Ad(w):
null)c[n]=k,n++}$.U(l);l.g=c;l.qb(bN(this));l.O(this.Ua);l.zIndex(60);l.da(!1)}l=this.kf;if(this.J(4)){if(this.Xb){this.Xb.fa(a.clone().round());var x=this.Xb.nd()}else x=a.clone();this.Ua.clip(this.sb());a=$.D(this.qw())?$.Xb(this.qw().stroke()):0;a>this.Oq&&(this.Oq=a);x.left=x.left+this.Oq/2;x.top=x.top+this.Oq/2;x.width=x.width-this.Oq;x.height=x.height-this.Oq;a=x;d=this.Bn;k=a.clone();q=n=m=c=0;for(b=d.length;b--;)(r=d[b])&&r.enabled()&&(r.fa(a),t=r.orientation(),"top"==t?(r=r.nd(),c=a.height-
r.height):"bottom"==t?(r=r.nd(),m=a.height-r.height):"left"==t?(r=r.nd(),n=a.width-r.width):"right"==t&&(r=r.nd(),q=a.width-r.width));k.left+=n;k.top+=c;k.width-=q+n;k.height-=m+c;a=this.UB(k).clone();a.left+=this.Oq/2;a.top+=this.Oq/2;a.width-=this.Oq;a.height-=this.Oq;h.nf(a);this.xf=a;if($.hq(this,"axesSettings"))for(k=this.ep.Sl(),b=0,d=k.length;b<d;b++)m=k[b],m.Id();this.kf&&this.Tj&&!this.Tj["default"].Sh&&this.kf.clip(HN(h));this.clear();vO(this)&&(h.mb(),this.kw.parent(this.kf),this.kw.nc(1,
0,0,1,0,0),this.kw.scale(h.ratio,h.ratio,0,0),h=NN(h,0,0),c=new $.Cb(1,0,0,1,h[0],h[1]),$.ub(c,this.kw.wd),this.kw.nc(c.jd,c.Ce,c.Qe,c.De,c.Bd,c.vd));if(this.Pk)for(a=vO(this)?this.kw:this.kf,b=0,d=this.Pk.length;b<d;b++)h=this.Pk[b],zO(this,h,a);for(b=this.hb.length;b--;)k=this.hb[b],k.fa(this.xf),k.u(4,1);h=8388608;vO(this)&&(h|=16);this.u(h)}if(this.J(2097152)){h=this.qg();b=this.py*h;c=this.kf.og();var y=c.Bd;var A=c.vd;if(!(h==f&&b<f||h==e&&b>e)&&l||this.$q){k=!($.p(this.Fc)&&$.p(this.zc));if((0,window.isNaN)(this.Fc)||
(0,window.isNaN)(this.zc))a=HN(this.scale()).tj(),m=a.top+a.height/2,d=(a.left+a.width/2-y)/c.jd,a=(m-A)/c.De,(0,window.isNaN)(this.Fc)&&(this.Fc=d),(0,window.isNaN)(this.zc)&&(this.zc=a);a=1>this.py;this.$q||(b>e?(this.py=e/this.qg(),b=this.py*h):b<f&&a&&(this.py=f/this.qg(),b=this.py*h));e=this.$k||200;this.Th&&this.Th.oc!=$.Fx||k||(this.JA=h,this.FN=b,((a=$.Nl(this.JA,this.FN,1E-5))&&this.kI||!a)&&this!=this.fh()||bN(this).dispatchEvent(FO(this,"zoomstart"))?($.Vj.anychart.ui.ContextMenu&&(a=this.contextMenu(),
a.jf()&&a.Wc()),a=this.kf,k=a.kb(),d=(this.Fc-y)/this.JA,a=(this.zc-A)/this.JA,this.$q||(d<k.left?d=k.left:d>k.$a()&&(d=k.$a()),a<k.top?a=k.top:a>k.Ra()&&(a=k.Ra())),this.Th=new hN(this,[h,y,A],[b,d*(1-this.JA),a*(1-this.JA)],e,this!=this.fh()),this.Th.play()):a&&(e=this.fh(),a=e.kf.kb(),d=a.left+a.width/2,a=a.top+a.height/2,y=d*(1-e.vp),A=a*(1-e.vp),this.kf.nc(e.vp,0,0,e.vp,y,A),this.scale().zoom=e.vp,jN(this.scale(),y,A),kN(this)))}this.kI=!1;this.$k=window.NaN;this.py=1;this.I(2097152)}this.J(1048576)&&
(this.qg()!=f&&l&&(f=l.tj(),k=l.dt(l.og()),this.M_?k.left+this.offsetX>=f.left&&0<this.offsetX?y=0:k.$a()+this.offsetX<=f.$a()&&0>this.offsetX?y=0:y=this.offsetX:k.left+this.offsetX>=f.left?y=f.left-k.left:k.$a()+this.offsetX<=f.$a()?y=f.$a()-k.$a():y=this.offsetX,this.M_?k.top+this.offsetY>=f.top&&0<this.offsetY?A=0:k.Ra()+this.offsetY<=f.Ra()&&0>this.offsetY?A=0:A=this.offsetY:k.top+this.offsetY>=f.top?A=f.top-k.top:k.Ra()+this.offsetY<=f.Ra()?A=f.Ra()-k.Ra():A=this.offsetY,y/=this.qg(),A/=this.qg(),
this.offsetY=this.offsetX=0,y||A)&&(this.cea=!0,l.rE(1,0,0,1,y,A),c=l.wd,jN(this.scale(),c.Bd,c.vd),kN(this)),this.I(1048576));if(this.J(33554432)){if($.hq(this,"axesSettings"))for(k=this.ep.Sl(),b=0;b<k.length;b++)m=k[b],$.U(m),m.O(this.Ua),m.X(),m.da(!1);this.I(33554432)}if(this.J(67108864)){if($.hq(this,"gridsSettings"))for(l=this.px.Sl(),b=0,d=l.length;b<d;b++)k=l[b],$.U(k),k.scale(this.scale()),k.O(this.Ua),k.X(),k.da(!1);this.I(67108864)}this.J(134217728)&&(y=this.Mg(),$.U(y),y.fa(x),y.O(this.Ua),
y.X(),y.da(!1),this.I(134217728));if(this.J(16)){y=this.qw();if("as-is"==y)for(b=0,d=this.Dv.length;b<d;b++)x=this.Dv[b],x.visible(!0),x.Uk(),delete x.tag;else if($.D(y)&&y.enabled())for(b=0,d=this.Dv.length;b<d;b++)x=this.Dv[b],x.visible(!0),x.Uk(),delete x.tag,$.K(x,$.Pf)&&x.fill(y.fill()).stroke(y.stroke());else for(b=0,d=this.Dv.length;b<d;b++)x=this.Dv[b],x.visible(!1),x.Uk(),delete x.tag;this.tv();this.u(32768);this.I(16)}if(this.J(32768)){for(b=this.hb.length;b--;)k=this.hb[b],x=k.Qa(),this.cB[x]=
this.cB[x]||!k.zf(),$.U(k),k.qb(bN(this)),UM(k,this.i("geoIdField")),k.X(),k.da(!1);this.I(32768)}this.J(8388608)&&(tO(this),this.I(8388608));this.J(524288)&&($.hq(this,"colorRange")&&($.U(this.Xb),this.Xb.O(this.Ua),this.Xb.zIndex(50),this.Xb.X(),this.Xb.da(!1)),this.I(524288));if(this.J(16777216)){b=0;for(d=this.Bn.length;b<d;b++)if(l=this.Bn[b])$.U(l),l.O(this.Ua),l.zIndex(60),l.X(),l.da(!1);this.I(16777216)}};
$.g.H2=function(a,b,c){var d=BO(this,a);if(d&&!vO(this)){var e=d.ea.tj();var f=this.scale().Kc(e.left+e.width/2,e.top+e.height/2);f=RN(this.scale(),f[0],f[1])[0];a=f==this.Tj["default"]?this.Tj[a]={}:f;b/=this.qg();c/=this.qg();var h=ON(this.scale(),e.left,e.top),k=ON(this.scale(),e.left+b,e.top+c);f=k[0]-h[0];h=k[1]-h[1];k=0;for(var l=d.polygones.length;k<l;k++){for(var m=d.polygones[k],n=m.outerPath,q=0;q<n.length-1;q+=2)n[q]+=f,n[q+1]+=h;m=m.holes;for(q=0;q<m.length-1;q+=2)m[q]+=f,m[q+1]+=h}a.Sh=
a.Sh?a.Sh+f:f;a.Ei=a.Ei?a.Ei+h:h;e.left+=b;e.top+=c;b=ON(this.scale(),e.left,e.top);e=ON(this.scale(),e.left+e.width,e.top+e.height);a.ot=$.Zl(b[0],b[1],Math.abs(e[0]-b[0]),Math.abs(e[1]-b[1]));this.u(65540,1)}return this};
$.g.JQ=function(a,b,c){var d=BO(this,a);if(d){var e=d.ea.tj();var f=this.scale().Kc(e.left+e.width/2,e.top+e.height/2);f=RN(this.scale(),f[0],f[1])[0];f=f==this.Tj["default"]?this.Tj[a]={}:f}if($.p(b)||$.p(c)){if(d&&!vO(this)){var h=f.Ei||0;a=(f.Sh||0)*this.scale().ratio;h*=this.scale().ratio;b=$.p(b)?b:a;c=$.p(c)?c:h;b/=this.qg();c/=this.qg();for(var k=(b-a)/this.scale().ratio,l=(c-h)/this.scale().ratio,m=0,n=d.polygones.length;m<n;m++){for(var q=d.polygones[m],r=q.outerPath,t=0;t<r.length-1;t+=
2)r[t]+=k,r[t+1]+=l;q=q.holes;for(t=0;t<q.length-1;t+=2)q[t]+=k,q[t+1]+=l}f.Sh=f.Sh?f.Sh+k:k;f.Ei=f.Ei?f.Ei+l:l;e.left+=b-a;e.top+=c-h;b=ON(this.scale(),e.left,e.top);e=ON(this.scale(),e.left+e.width,e.top+e.height);f.ot=$.Zl(b[0],b[1],Math.abs(e[0]-b[0]),Math.abs(e[1]-b[1]));this.u(65540,1)}return this}return d?[f.Sh*this.scale().ratio||0,f.Ei*this.scale().ratio||0]:[window.NaN,window.NaN]};
$.g.IQ=function(a,b){var c=BO(this,a);if(c){var d=this.scale();var e=c.ea.kb();var f=d.Kc(e.left+e.width/2,e.top+e.height/2);f=RN(d,f[0],f[1])[0];f=f==this.Tj["default"]?this.Tj[a]={}:f}if($.p(b)){if(c&&!vO(this)){var h=$.N(b)||1,k=f.Sh||0,l=f.Ei||0,m=this.Tj["default"].scale||oP["default"].scale;m=f.scale?f.scale:m;var n=ON(d,e.left,e.top),q=ON(d,e.left+e.width,e.top+e.height),r=(q[0]-k)/m*h+k;q=(q[1]-l)/m*h+l;n=NN(d,(n[0]-k)/m*h+k,(n[1]-l)/m*h+l);q=NN(d,r,q);q=$.Zl(n[0],n[1],Math.abs(q[0]-n[0]),
Math.abs(q[1]-n[1]));n=ON(d,q.left+q.width/2,q.top+q.height/2);r=ON(d,e.left+e.width/2,e.top+e.height/2);e=r[0]-n[0];r=r[1]-n[1];n=ON(d,q.left,q.top);q=ON(d,q.left+q.width,q.top+q.height);n[0]+=e;n[1]+=r;q[0]+=e;q[1]+=r;d=0;for(var t=c.polygones.length;d<t;d++){for(var u=c.polygones[d],v=u.outerPath,w=0;w<v.length-1;w+=2)v[w]=(v[w]-k)/m*h+k+e,v[w+1]=(v[w+1]-l)/m*h+l+r;u=u.holes;for(w=0;w<u.length-1;w+=2)u[w]=(u[w]-k)/m*h+k+e,u[w+1]=(u[w+1]-l)/m*h+l+r}f.ot=$.Zl(n[0],n[1],Math.abs(q[0]-n[0]),Math.abs(q[1]-
n[1]));f.Sh=f.Sh?f.Sh+e:e;f.Ei=f.Ei?f.Ei+r:r;f.scale=h;this.u(65540,1)}return this}return c?f.scale||this.Tj["default"].scale||1:window.NaN};
$.g.HQ=function(a,b){var c=BO(this,a);if(c){var d=this.scale();var e=c.ea.kb(),f=d.Kc(e.left+e.width/2,e.top+e.height/2);f=RN(d,f[0],f[1])[0];if($.p(b)){if(!vO(this)){c.ea.clear();var h=c.properties[this.i("geoIdField")];var k=f==this.Tj["default"]?this.Tj[h]={}:f,l=k.kg||this.Tj["default"].kg||oP["default"].crs;f=OM(l);h=OM(b);for(var m=k.Sh||0,n=k.Ei||0,q=k.scale||this.Tj["default"].scale||oP["default"].scale,r=0,t=c.polygones.length;r<t;r++){for(var u=c.polygones[r],v=u.outerPath,w=0;w<v.length-
1;w+=2){var x=(v[w]-m)/q;var y=(v[w+1]-n)/q;x=f.Ri(x,y);x=h.forward(x[0],x[1]);v[w]=x[0]*q+m;v[w+1]=x[1]*q+n;y=NN(d,v[w],v[w+1]);x=y[0];y=y[1];w?c.ea.lineTo(x,y):c.ea.moveTo(x,y)}u=u.holes;for(w=0;w<u.length-1;w+=2)x=(u[w]-m)/q,y=(u[w+1]-n)/q,x=f.Ri(x,y),x=h.forward(x[0],x[1]),u[w]=x[0]*q+m,u[w+1]=x[1]*q+n,y=NN(d,u[w],u[w+1]),x=y[0],y=y[1],w?c.ea.lineTo(x,y):c.ea.moveTo(x,y)}n=c.ea.tj();r=ON(d,n.left+n.width/2,n.top+n.height/2);t=ON(d,e.left+e.width/2,e.top+e.height/2);m=t[0]-r[0];q=t[1]-r[1];r=0;
for(t=c.polygones.length;r<t;r++){u=c.polygones[r];v=u.outerPath;for(w=0;w<v.length-1;w+=2)v[w]+=m,v[w+1]+=q;u=u.holes;for(w=0;w<u.length-1;w+=2)u[w]+=m,u[w+1]+=q}c.ea.setPosition(e.left+e.width/2-n.width/2,e.top+e.height/2-n.height/2);n=c.ea.kb();c=ON(d,n.left,n.top);d=ON(d,n.left+n.width,n.top+n.height);k.ot=$.Zl(c[0],c[1],Math.abs(d[0]-c[0]),Math.abs(d[1]-c[1]));k.Sh=k.Sh?k.Sh+m:m;k.Ei=k.Ei?k.Ei+q:q;k.kg=b;k.oo=h;k.yH=l;k.Z1=f;this.u(65540,1)}d=this}else d=$.p(f.kg)?f.kg:this.Tj["default"].kg}else d=
null;return d};$.g.kg=function(a){return $.p(a)?(a=uM(a),this.Ps!=a&&(this.Ps=a,this.u(65540,1)),this):this.Ps||this.$y||oP["default"].crs};$.g.show=function(){this.Ua.visible(!0)};$.g.Wc=function(){this.Ua.visible(!1);var a=bN(this);a.Sk&&(a.dispatchEvent(this.rk("hovered",{target:this},a.Sk,!0,!0)),a.Sk=null);a.hc("mousemove",a.QH);(a=$.hq(this,"colorRange"))&&a.enabled()&&$.rK(a)};$.g.fh=function(){return bN(this).qJ};
$.g.BQ=function(a){return $.p(a)?($.D(a)&&(this.Uw=a,this.lG&&$.yc(this.lG,function(a){a.ad()}),this.lG={}),this):this.Uw};$.g.Ju=function(a,b,c){var d=$.Ia(arguments,2);a.Th?a.Th.Ie("end",function(){b.apply(this,d)},!1,a):b.apply(a,d)};$.g.nz=function(){var a=bN(this),b=[new RM(null,this,null,null)];b.push.apply(b,$.Ia(a.Qs,0));return b};
$.g.vq=function(a,b){var c=bN(this),d=this.fh();if(b==d||c.Ku)return this;if(null===a||"null"==a)return EO(this,c,c.Qs.length),this;if($.p(b))DO(this,a,b);else if(this.Uw&&this.Uw[a])DO(this,a,this.Uw[a]);else{for(d=c.Qs.length;d--;){var e=c.Qs[d];if(e.dx()==a){var f=e.qZ();break}}f?EO(this,f,c.Qs.length-1-d):$.Uj(301,null,[a])}return this};$.g.Tw=function(){var a=bN(this),b=this.fh().rfa;if(!b||a.Ku)return a.Ku=!1,this;EO(this,b);return this};$.g.qg=function(){return this.vp};
$.g.oj=function(a,b,c,d){this.$q||(a=$.Ya(a,this.i("minZoomLevel"),this.i("maxZoomLevel")));return this.zoom(a/this.qg(),b,c,d)};
$.g.Cha=function(a,b){var c=this.fh(),d=[];$.B(a)||(a=[a]);for(var e,f,h="",k=0,l=a.length;k<l;k++){var m=a[k];if(f=BO(c,m))h+=m+";",d.push(f)}if(d.length){m=c.kf.og();var n=this.ZL&&h==this.ZL&&this.YL&&xea(m,this.YL);k=0;for(l=d.length;k<l;k++)f=d[k],f=f.ea,e?$.ob(e,n?f.kb():f.wq()):e=n?f.kb():f.wq();var q=m.jd,r=m.Bd,t=m.vd;d=iN(c,e,void 0,n);var u=d[0],v=d[1],w=d[2];this.Ju(c,function(){this.kI=!0;this.$k=$.p(b)?b:(0,window.isNaN)(this.$k)?500:this.$k;n?($.Nl(q,u,1E-5)?bN(this).dispatchEvent(FO(this,
"zoomstart"))&&(this.Th=new hN(this,[1,r,t],[1,r+v,t+w],this.$k),this.Th.play()):this.oj(this.i("minZoomLevel"),v,w,this.$k),this.YL=this.ZL=null):($.Nl(q,u,1E-5)?bN(this).dispatchEvent(FO(this,"zoomstart"))&&(this.Th=new hN(this,[1,r,t],[1,r+v,t+w],this.$k),this.Th.play()):this.oj(u,v,w,this.$k),this.ZL=h,this.Th&&this.Th.Ie("end",function(){this.ZL?this.YL=this.fh().kf.og().clone():this.YL=null},!1,this))})}else $.Uj(301,null,[a])};
$.g.zs=function(a){return this.zoom(this.i("zoomFactor"),void 0,void 0,a)};$.g.As=function(a){return this.zoom(1/this.i("zoomFactor"),void 0,void 0,a)};$.g.yo=function(){this.Ku||(this.Th&&this.Th.stop(),this.Ju(this,function(){this.gC=!0;this.$k=300;var a=this.fh();a.oj(a.i("minZoomLevel"));this.Ju(this,function(){this.gC=!1})}));return this};
$.g.zoom=function(a,b,c,d){if($.p(a)){var e=0,f=0;$.p(d)&&(this.$k=d);a=$.N(a);if((this.qg()==this.i("minZoomLevel")&&1>a||this.qg()==this.i("maxZoomLevel")&&1<a)&&!this.$q)return this;1!=a&&(this.py=a,e=2097152,f=1);b=$.N(b);c=$.N(c);if(this.Fc!=b||this.zc!=c)this.Fc=b,this.zc=c,e=2097152,f=1;this.kI=!0;this.u(e,f)}return this};
$.g.move=function(a,b){if($.p(a)||$.p(b)){var c=0,d=0;$.p(a)&&(a=$.N(a),(0,window.isNaN)(a)||(this.offsetX=a,c=1048576,d=1));$.p(b)&&(b=$.N(b),(0,window.isNaN)(b)||(this.offsetY=b,c=1048576,d=1));this.u(c,d)}return this};$.g.transform=function(a,b){var c=this.scale().transform(a,b);return{x:c[0],y:c[1]}};$.g.Kc=function(a,b){var c=this.scale().Kc(a,b);return{x:c[0],"long":c[0],y:c[1],lat:c[1]}};
$.g.Nl=function(a,b){var c,d=[];if("default"==a){var e=0;for(c=this.hb.length;e<c;e++){var f=this.hb[e];var h=f.pd();var k=f.$B(b);k.sourceUid=$.oa(this);k.sourceKey=f.id();k.meta={scale:h};d.push(k)}}else if("categories"==a){if(this.Xb&&this.Xb.enabled()&&this.Xb.target()&&$.K(this.Xb.scale(),$.wx))h=this.Xb.scale(),f=this.Xb.target();else for(e=0,c=this.hb.length;e<c;e++)if(f=this.hb[e],$.K(f.pd(),$.wx)){h=f.pd();break}if(h)for(k=h.Dq(),e=0,c=k.length;e<c;e++){var l=k[e];"default"!==l.name&&d.push({text:l.name,
iconEnabled:!0,iconType:"square",iconFill:l.color,disabled:!this.enabled(),sourceUid:$.oa(this),sourceKey:e,meta:{W:f,scale:h,te:l}})}}return d};$.g.Vr=function(a){return"default"==a||"categories"==a};
$.g.Lq=function(a,b){var c=a.j();var d=this.Af().i("itemsSourceMode");if("default"==d){if(d=a.ei(),d=this.Oe(d))d.enabled(!d.enabled()),d.enabled()?d.nk():d.Cd()}else if("categories"==d){d=c.W;var e=c.scale;if(e&&d){var f=[];c=c.te;for(var h=d.wc();h.advance();){var k=h.get(d.Le.Zk);c==e.Zm(k)&&f.push(h.ka())}"single"==this.Zc().i("hoverMode")?b.Ef={W:d,kd:f}:b.Ef=[{W:d,kd:f,fn:f[f.length-1],ie:{index:f[f.length-1],Rf:0}}]}}};
$.g.Ep=function(a,b){var c=a.j();var d=this.Af().i("itemsSourceMode");if("default"==d)d=a.ei(),(!a||null!=d||(0,window.isNaN)(d))&&(d=this.Oe(d))&&d.nk();else if("categories"==d){d=c.W;var e=c.scale;if(e&&d){c=c.te;for(var f=d.wc(),h=[];f.advance();){var k=f.get(d.Le.Zk);c==e.Zm(k)&&h.push(f.ka())}if(e=$.hn(b.domTarget))"single"==this.Zc().i("hoverMode")?e.Ef={W:d,kd:h}:e.Ef=[{W:d,kd:h,fn:h[h.length-1],ie:{index:h[h.length-1],Rf:0}}];this.Xb&&this.Xb.enabled()&&this.Xb.target()&&$.qK(this.Xb,(c.start+
c.end)/2)}}};$.g.Dp=function(a,b){var c=a.j(),d=this.Af().i("itemsSourceMode");"default"==d?(c=a.ei(),(!a||null!=c||(0,window.isNaN)(c))&&(c=this.Oe(c))&&c.Cd()):"categories"==d&&("single"==this.Zc().i("hoverMode")&&(d=$.hn(b.domTarget))&&(d.W=c.W),this.Xb&&this.Xb.enabled()&&this.Xb.target()&&$.rK(this.Xb))};$.g.Xj=function(a,b){var c=$.Uv(this);return $.Yn(c.headers,c.data,b)};$.g.aha=function(){return Gea(XN.zd(),this.Pk,this.Tj)};
$.g.Y=function(a,b){uO.B.Y.call(this,a,b);"defaultSeriesSettings"in a&&this.wr(a.defaultSeriesSettings);"defaultCalloutSettings"in a&&this.wY(a.defaultCalloutSettings);"colorRange"in a&&this.Hj().ja(!!b,a.colorRange);"unboundRegions"in a&&this.qw(a.unboundRegions);$.tp(this,nP,a);var c=a.geoData;c&&this.Cr($.ac(c,"{")?JSON.parse(c):c);this.VP(a.crsAnimation);this.kg(a.crs);var d;if(a.geoScale){var e=new FN;e.K(a.geoScale);this.scale(e)}if("callouts"in a){c=a.callouts;var f=0;for(var h=c.length;f<
h;f++)(e=c[f])&&this.SX(f,e)}"axesSettings"in a&&this.axes().ja(!!b,a.axesSettings);"gridsSettings"in a&&this.WR().ja(!!b,a.gridsSettings);"crosshair"in a&&this.Mg(a.crosshair);h=a.colorScales;c={};if($.D(h))for(d in h)if(h.hasOwnProperty(d)){f=h[d];e=$.z(f)?f:f.type;e=String(e).toLowerCase();switch(e){case "ordinal-color":e=$.xx();break;case "linear-color":e=$.ux();break;default:e=$.ux()}$.D(f)&&e.K(f);c[d]=e}h=a.series;if($.B(h))for(d=0;d<h.length;d++)if(f=h[d],e=(f.seriesType||this.i("defaultSeriesType")).toLowerCase(),
e=this.de(e,f.data))e.K(f),$.D(f)&&"colorScale"in f&&(f=f.colorScale,$.ea(f)?e.pd(c[f]):(e=$.z(f)?f:f.type,(e=$.Pr(e,null))&&$.D(f)&&e.K(f)));d=a.drillDownMap;$.D(d)&&(this.Uw={},$.yc(d,function(a,b){this.BQ()[b]=$.Jo(a)},this))};
$.g.F=function(){var a=uO.B.F.call(this);a.unboundRegions=$.z(this.qw())?this.qw():this.qw().F();$.hq(this,"colorRange")&&(a.colorRange=this.Hj().F());a.geoScale=this.scale().F();$.Bp(this,nP,a);var b;this.jK?b=this.jK:vO(this)?$.z(this.Wm)?b=this.Wm:b="#document"==this.Wm.nodeName?this.Wm.documentElement.outerHTML:this.Wm.outerHTML:b=JSON.stringify(this.Wm);$.p(b)&&(a.geoData=b);a.crsAnimation=this.VP().F();$.D(this.Ps)?$.Uj(8,null,["Map crs"]):this.Ps&&(a.crs=this.Ps);b=[];for(var c={},d=[],e=0;e<
this.hb.length;e++){var f=this.hb[e],h=f.F();if(f=f.pd()){var k=$.oa(f);c[k]?h.colorScale=(0,$.xa)(d,c[k]):(c[k]=f.F(),d.push(c[k]),h.colorScale=d.length-1)}b.push(h)}c=[];e=0;for(h=this.Bn.length;e<h;e++)(f=this.Bn[e])&&(c[e]=f.F());c.length&&(a.callouts=c);b.length&&(a.series=b);d.length&&(a.colorScales=d);$.hq(this,"axesSettings")&&(a.axesSettings=this.axes().F());$.hq(this,"gridsSettings")&&(a.gridsSettings=this.WR().F());$.hq(this,"crosshair")&&(a.crosshair=this.Mg().F());this.Uw&&(a.drillDownMap=
{},$.yc(this.Uw,function(b,c){var d=$.K(b,uO)?b.F():b;a.drillDownMap[c]=d},this.Uw));return{map:a}};
$.g.R=function(){$.jd(this.Yf,this.tT,this.vf,this.Xb,this.Bn,this.ep,this.$ba,this.Fu);this.Xb=this.vf=this.tT=this.Yf=null;this.Bn.length=0;this.Fu=this.$ba=this.ep=null;if(this.O()&&this.O().Ga()){var a=this.O().Ga().ol();this.eT&&$.Gd(a,"click",this.eT,!1,this);this.fT&&$.Gd(a,"dblclick",this.fT,!1,this);this.FG&&$.Gd(a,"pointerup",this.FG,!1,this);this.FG&&$.Gd(a,"touchend",this.FG,!1,this);this.gT&&$.Gd(a,"mouseleave",this.gT,!1,this)}uO.B.R.call(this)};var pP=uO.prototype;
$.F("anychart.mapModule.Chart.DEFAULT_TX",oP);pP.getType=pP.Qa;pP.geoData=pP.Cr;pP.unboundRegions=pP.qw;pP.toGeoJSON=pP.aha;pP.toCsv=pP.Xj;pP.getSeries=pP.Oe;pP.addSeries=pP.Ak;pP.getSeriesAt=pP.Zh;pP.getSeriesCount=pP.jk;pP.removeSeries=pP.Vn;pP.removeSeriesAt=pP.nn;pP.removeAllSeries=pP.Ro;pP.colorRange=pP.Hj;pP.callout=pP.SX;pP.axes=pP.axes;pP.grids=pP.WR;pP.crosshair=pP.Mg;pP.palette=pP.Yb;pP.markerPalette=pP.lf;pP.hatchFillPalette=pP.be;pP.getPlotBounds=pP.ag;pP.crsAnimation=pP.VP;
pP.featureTranslation=pP.JQ;pP.translateFeature=pP.H2;pP.featureScaleFactor=pP.IQ;pP.featureCrs=pP.HQ;pP.crs=pP.kg;pP.transform=pP.transform;pP.inverseTransform=pP.Kc;pP.zoom=pP.zoom;pP.move=pP.move;pP.zoomToFeature=pP.Cha;pP.zoomTo=pP.oj;pP.getZoomLevel=pP.qg;pP.getCurrentScene=pP.fh;pP.fitAll=pP.yo;pP.zoomIn=pP.zs;pP.zoomOut=pP.As;pP.drillTo=pP.vq;pP.drillUp=pP.Tw;pP.drillDownMap=pP.BQ;pP.getDrilldownPath=pP.nz;$.H(GO,$.pA);$.mE[23]=GO;GO.prototype.type=23;GO.prototype.$o=["id","long","lat","size"];GO.prototype.Zk="size";$.H(HO,$.$y);$.mE[24]=HO;$.g=HO.prototype;$.g.type=24;$.g.flags=532;$.g.$o=["id","value"];$.g.lh={foreignFill:"none",hatchFill:"path"};$.g.Pf=function(a,b){var c=a.j("features");if(c)for(var d=0,e=c.length;d<e;d++){var f=c[d];$.p(f.ea)&&AO(this.W.sc(),f,function(c){var d=c.ea;if(d&&$.K(d,$.Pf)){d.visible(!0);a.j("currentPointElement",c);var e=this.Pc.Sc(b,void 0,void 0,d),f=e.foreignFill;f&&(a.j("fill",f.fill()),a.j("stroke",f.stroke()));e=e.hatchFill;e.Vd($.ag(d));c.k_=e}},this)}};$.H(IO,$.$y);$.mE[21]=IO;$.g=IO.prototype;$.g.type=21;$.g.flags=528;$.g.$o=["points"];$.g.lh={path:"path",hatchFill:"path"};
$.g.Pf=function(a,b){var c=this.g(this.W,a,b),d=this.f(this.W,a,b),e={};e.eventHandler=10>c||10>d;e.path=!0;e.hatchFill=!0;e=this.Pc.Sc(b,e);var f=this.b(this.W,a,0),h=0,k=0,l=[],m=[],n=0,q=10>c||10>d;var r=this.fe();var t=this.W.sc().scale();if((r=a.get(r[0]))&&$.B(r)){var u=[];var v=[];for(var w,x,y,A=0,G=r.length;A<G;A+=2){var C=$.N(r[A]);w=$.N(r[A+1]);y=t.transform(w,C);x=y[0];y=y[1];(0,window.isNaN)(x)||(0,window.isNaN)(y)||(u.push(x,y),v.push(C,w))}a.j("pointsWithoutMissing",v);C=u}else C=null;
t=0;for(r=C.length;t<r;t+=2){w=e.path;x=e.hatchFill;u=C[t];v=C[t+1];var J;q&&(J=e.eventHandler);if(!(0,window.isNaN)(u)&&!(0,window.isNaN)(v)){if(0!=t){A=$.Wl(h,k,u,v);var P=A/2*f;y=(h+u)/2;var Q=(k+v)/2;var T=$.Kl($.bb(Math.atan(Math.abs(k-v)/Math.abs(h-u))),7);G=1;if(u<=h&&v<=k)var wa=T-90;else u<=h&&v>=k?wa=270-T:u>=h&&v>=k?(wa=T-90,G=-1):u>=h&&v<=k&&(wa=180-T+90,G=-1);y+=Math.cos($.ab(wa))*P*1.2;P=Q+Math.sin($.ab(wa))*P*1.2;Q=A/2*f;T=0<f?1:-1;var Aa=Math.abs(Q)<A/4?A/4*T:Math.abs(Q)>A/2?A/2*T:
Q;var Sa=(0>f?90:-90)*G;Sa=$.ab(wa+Sa);Q=y+Math.cos(Sa)*Aa;T=P+Math.sin(Sa)*Aa;Sa=(0>f?-90:90)*G;Sa=$.ab(wa+Sa);y+=Math.cos(Sa)*Aa;P+=Math.sin(Sa)*Aa;Aa=JO(w,h,k,u,v,Q,T,y,P,c,d,f,G,wa);q&&JO(J,h,k,u,v,Q,T,y,P,20,20,f,G,wa);x.Vd($.ag(w));l.push.apply(l,Aa);m.push(A);n+=A}h=C[t];k=C[t+1]}}a.j("points",l).j("sumDist",n).j("connectorsDist",m)};$.H(KO,$.wA);$.mE[22]=KO;KO.prototype.type=22;KO.prototype.$o=["id","long","lat"];KO.prototype.EA=function(a,b){KO.B.EA.call(this,a,b);var c=a.j("shapes");this.Pc.Hs(b,c)};KO.prototype.Pf=function(a,b){var c=this.Pc,d=a.get(this.W.fe()[0]),e=this.Pg(d,this.prevValue),f={};f[e.path]=!0;f[e.Xd]=!0;a.j("names",e);c=c.Sc(b,f,b);$.xA(this,a,b,c,e);this.prevValue=d};$.Io.map=LO;$.Io.bubble=MO;$.Io.choropleth=NO;$.Io.connector=OO;$.Io.marker=PO;$.Io["seat-map"]=QO;$.F("anychart.map",LO);$.F("anychart.bubbleMap",MO);$.F("anychart.choropleth",NO);$.F("anychart.connector",OO);$.F("anychart.markerMap",PO);$.F("anychart.seatMap",QO);}).call(this,$)}
