text: /**
   * AnyChart is lightweight robust charting library with great API and Docs, that works with your stack and has tons of chart types and features.
   *
   * Modules: color-scales, theme-color-scales, map-part, theme-map
   * Version: 8.4.0.1922 (2018-10-04)
   * License: https://www.anychart.com/buy/
   * Contact: sales@anychart.com
   * Copyright: AnyChart.com 2018. All rights reserved.
   */
  (function(global,factory){if(typeof module==='object'&&typeof module.exports==='object'){var wrapper=function(w){if(!w.document){throw Error('AnyChart requires a window with a document');}factory.call(w,w,w.document);try{w.acgraph.isNodeJS=Object.prototype.toString.call(global.process)=="[object process]";}catch(e){};return w.anychart;};module.exports=global.document?wrapper(global):wrapper;}else{factory.call(global,window,document)}})(typeof window!=='undefined'?window:this,function(window,document,opt_noGlobal){var $,_,$_=this.anychart;if($_&&(_=$_._)){$=$_.$}else{throw Error('anychart-base.min.js module should be included first. See modules explanation at https://docs.anychart.com/Quick_Start/Modules for details');$={};_={}}if(!_.color_scales){_.color_scales=1;(function($){var bJ,eJ,fJ,gJ,jJ;$.ZI=function(a,b){var c=a.i("fontSize")!=b;null===b?delete a.ed.fontSize:a.ed.fontSize=b;c&&a.u(4)};$.$I=function(a){var b={};$.sc(a.ca,function(a,d){if($.n(a)){if("adjustByHeight"==d||"adjustByWidth"==d)d="adjustFontSize";b[d]=this.ye(d)}},a);return b};$.aJ=function(a,b){return $.cj(pea,a,b||"clip")};bJ=function(){$.fw.call(this)};$.cJ=function(){$.hw.call(this);this.o=window.NaN;$.js(this,this,this.Fg,this.$g,null,this.Fg);this.Cc.qa(this,"mousedown",this.zJ);this.qe|=1024};
  $.dJ=function(a){a.line&&(a.line.dl(),a.line.remove(),a.line=null);a.lines&&(a.lines.length=0)};eJ=function(a){if(a.b){var b=a.scale();if(b&&$.K(b,$.tw)){a.K={};for(var c=a.b,d=c.tc();d.advance();){var e=($.n(c.ta)?d.j(c.ta):null)||d.get(c.te?c.te.Ek:c.P[1]);if(e=b.zm(e))a.K[e.sourceIndex]||(a.K[e.sourceIndex]=[]),a.K[e.sourceIndex].push(d.ja())}}}};
  fJ=function(a,b,c){var d=0;b.enabled()&&(d=b.i("length"),b=b.i("position"),d="center"==b?Math.max((d-a.o)/2,0):$.n(c)?0<c?"outside"==b?0:d:0>c?"inside"==b?0:d:d:d);return d};gJ=function(a){var b=0;if(a.Be&&a.Be.enabled()){var c=a.i("orientation");b=2*a.Be.size();var d=$.n(a.Be.offsetX())?a.Be.offsetX():0;a=$.n(a.Be.offsetY())?a.Be.offsetY():0;switch(c){case "top":b+=a;break;case "right":b-=d;break;case "bottom":b-=a;break;case "left":b+=d}}return b};
  $.hJ=function(a,b){if(a.b){var c=a.scale(),d=a.b,e=d.se()||(d.xm?d.xm():void 0),f=a.Be&&a.Be.enabled();d=d.enabled()&&e==c;if(a.enabled()&&f&&c&&d&&(c=a.line.eb(),f=$.Ya(a.scale().transform(b,.5),0,1),!(0,window.isNaN)(f))){switch(a.i("orientation")){case "top":var h=c.left+c.width*f;var k=c.top+c.height+a.Be.size();var l=180;break;case "bottom":h=c.left+c.width*f;k=c.top-a.Be.size();l=0;break;case "left":h=c.left+c.width+a.Be.size();k=c.top+c.height-c.height*f;l=90;break;case "right":h=c.left-a.Be.size(),
  k=c.top+c.height-c.height*f,l=-90}$.V(a.Be).rotation(l).rc({value:{x:h,y:k}}).ba(!1).W();a.Be.Le().visible(!0)}}};$.iJ=function(a){a.scale()&&a.Be&&a.Be.Le().visible(!1)};jJ=function(){$.cJ.call(this)};$.pv.prototype.xm=$.ca(20,function(){return this.$b});$.Tu.prototype.Lr=$.ca(8,function(a){return $.n(a)?(a=!!a,a!=this.D&&(this.D=a),this):this.D});var pea={rfa:"always-show",lga:"clip",Qga:"drop"};$.H(bJ,$.fw);
  bJ.prototype.EW=function(a,b,c,d,e){b=Math.round(b.left+a*b.width);b=1==a?b+e:b-e;a=this.i("length");e=this.i("position");if("outside"==e){var f=c.top-d/2;var h=-a}else"center"==e?(f=c.top+(c.height-a)/2,h=a):"inside"==e&&(f=c.Na()+d/2,h=a);this.path.moveTo(b,f);this.path.lineTo(b,f+h)};
  bJ.prototype.BW=function(a,b,c,d,e){b=Math.round(b.top+b.height-a*b.height);b=1==a?b-e:b+e;a=this.i("length");e=this.i("position");"outside"==e?(c=c.Wa()+d/2,d=a):"center"==e?(c=c.left+(c.width-a)/2,d=a):(c=c.left-d/2,d=-a);this.path.moveTo(c,b);this.path.lineTo(c+d,b)};
  bJ.prototype.yW=function(a,b,c,d,e){b=Math.round(b.left+a*b.width);b=1==a?b+e:b-e;a=this.i("length");e=this.i("position");if("outside"==e){var f=c.Na()+d/2;var h=a}else"center"==e?(f=c.top+(c.height-a)/2,h=a):"inside"==e&&(f=c.top-d/2,h=-a);this.path.moveTo(b,f);this.path.lineTo(b,f+h)};
  bJ.prototype.AW=function(a,b,c,d,e){b=Math.round(b.top+b.height-a*b.height);b=1==a?b-e:b+e;a=this.i("length");e=this.i("position");if("outside"==e){var f=c.left-d/2;var h=-a}else"center"==e?(f=c.left+(c.width-a)/2,h=a):"inside"==e&&(f=c.Wa()+d/2,h=a);this.path.moveTo(f,b);this.path.lineTo(f+h,b)};$.H($.cJ,$.hw);$.g=$.cJ.prototype;$.g.oa=$.hw.prototype.oa|1024;$.g.Pk=function(){return new bJ};$.g.hN=function(){this.line||($.K(this.scale(),$.qw)?this.line=$.Vi():$.K(this.scale(),$.tw)&&(this.line=$.Ti(),this.lines=[]),this.line.zIndex(this.zIndex()),this.line.parent(this.O()),this.line.cursor("pointer"),$.is(this,this.line));return this.line};$.g.MH=function(a){return $.n(a)?(a=$.O(a),this.o!=a&&(this.o=a,this.u(this.qe,9)),this):this.o};
  $.g.align=function(a){return $.n(a)?(a=$.jj(a),this.f!=a&&(this.f=a,this.u(this.qe,9)),this):this.f};$.g.length=function(a){return $.n(a)?(this.Tj!=a&&(this.Tj=a,this.u(this.qe,9)),this):this.Tj};$.g.Vu=function(a){this.Be||(this.Be=new $.yv,this.Be.rc({value:{x:0,y:0}}),$.U(this.Be,this.O4,this));return $.n(a)?(this.Be.N(a),this.u(1024,1),this):this.Be};$.g.O4=function(a){$.W(a,1)&&this.u(1024,1)};
  $.g.target=function(a){return $.n(a)?(this.b!=a&&(this.b=a,eJ(this),$.U(this.b,this.wea,this)),this):this.b};$.g.wea=function(a){$.W(a,132)&&eJ(this)};
  $.g.So=function(a,b){var c=this.scale(),d={};if($.K(c,$.qw)){var e=(0,window.parseFloat)(b);var f=c.XB(e);var h="number"}else if($.K(c,$.tw)){e=b;f=c.Ka().names()[a];h="string";var k=c.zm(b);k&&(d.colorRange={value:{color:k.color,end:k.end,name:k.name,start:k.start,index:k.sourceIndex},type:""})}d.index={value:a,type:"number"};d.value={value:f,type:h};d.tickValue={value:e,type:"number"};d.max={value:$.n(c.max)?c.max:null,type:"number"};d.min={value:$.n(c.min)?c.min:null,type:"number"};d.scale={value:c,
  type:""};return $.ct(new $.ru(d))};
  $.g.gN=function(a,b,c,d,e){c=a.top+a.height+c/2-d;var f=this.scale();if($.K(f,$.qw))this.line.moveTo(a.left+b,c).lineTo(a.left-b+a.width,c).lineTo(a.left-b+a.width,c-e).lineTo(a.left+b,c-e).close();else if($.K(f,$.tw)){d=f.Zp();f=f.Nk();for(var h=a.width/d.length,k=0,l=d.length;k<l;k++){var m=d[k];m=m.color||f[m.sourceIndex]||f[f.length-1];var p=this.lines[k]?this.lines[k].clear():this.lines[k]=this.line.path(),q=a.left+b+h*k;p.moveTo(q,c).lineTo(q+h,c).lineTo(q+h,c-e).lineTo(q,c-e).close();p.stroke(this.i("stroke"));
  p.fill(m)}}};
  $.g.fN=function(a,b,c,d,e){c=a.left-c/2+d;var f=this.scale();if($.K(f,$.qw))this.line.moveTo(c,a.top+b).lineTo(c,a.top-b+a.height).lineTo(c+e,a.top-b+a.height).lineTo(c+e,a.top+b).close();else if($.K(f,$.tw)){d=f.Zp();f=f.Nk();for(var h=a.height/d.length,k=0,l=d.length;k<l;k++){var m=d[k];m=m.color||f[m.sourceIndex]||f[f.length-1];var p=this.lines[k]?this.lines[k].clear():this.lines[k]=this.line.path(),q=a.top+b+h*(d.length-1-k);p.moveTo(c,q).lineTo(c,q+h).lineTo(c+e,q+h).lineTo(c+e,q).close();p.stroke(this.i("stroke"));
  p.fill(m)}}};
  $.g.dN=function(a,b,c,d,e){c=a.top-c/2+d;var f=this.scale();if($.K(f,$.qw))this.line.moveTo(a.left+b,c).lineTo(a.left-b+a.width,c).lineTo(a.left-b+a.width,c+e).lineTo(a.left+b,c+e).close();else if($.K(f,$.tw)){d=f.Zp();f=f.Nk();for(var h=a.width/d.length,k=0,l=d.length;k<l;k++){var m=d[k];m=m.color||f[m.sourceIndex]||f[f.length-1];var p=this.lines[k]?this.lines[k].clear():this.lines[k]=this.line.path(),q=a.left+b+h*k;p.moveTo(q,c).lineTo(q+h,c).lineTo(q+h,c+e).lineTo(q,c+e).close();p.stroke(this.i("stroke"));p.fill(m)}}};
  $.g.eN=function(a,b,c,d,e){c=a.left+a.width+c/2-d;var f=this.scale();if($.K(f,$.qw))this.line.moveTo(c,a.top+b).lineTo(c,a.top-b+a.height).lineTo(c-e,a.top-b+a.height).lineTo(c-e,a.top+b).close();else if($.K(f,$.tw)){d=f.Zp();f=f.Nk();for(var h=a.height/d.length,k=0,l=d.length;k<l;k++){var m=d[k];m=m.color||f[m.sourceIndex]||f[f.length-1];var p=this.lines[k]?this.lines[k].clear():this.lines[k]=this.line.path(),q=a.top+b+h*(d.length-1-k);p.moveTo(c,q).lineTo(c,q+h).lineTo(c-e,q+h).lineTo(c-e,q).close();
  p.stroke(this.i("stroke"));p.fill(m)}}};
  $.g.Yt=function(){var a=this.hN(),b=this.scale();b||this.scale($.rw());if($.K(b,$.qw))a.clear(),a.stroke(this.i("stroke")),b=$.Lb(b.Nk()),this.Ab()?b.angle=0:b.angle=90,a.fill(b);else if($.K(b,$.tw))for(a=0,b=this.lines.length;a<b;a++)this.lines[a].clear();switch(this.i("orientation")){case "top":var c=this.gN;break;case "right":c=this.fN;break;case "bottom":c=this.dN;break;case "left":c=this.eN}a=this.i("stroke");a=$.Ob(a);a=!a||$.Bn(a)?0:a.thickness?(0,window.parseFloat)(a.thickness):1;b=0==a%2?
  0:.5;var d=this.ob(),e=gJ(this),f=Math.round(this.o),h=fJ(this,this.Ka(),1),k=fJ(this,this.ib(),1);c.call(this,d,b,a,Math.max(h,k,e),f)};
  $.g.ob=function(){if(!this.op||this.J(4)){var a=this.ka();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.Ab()){var b=a.width;var c=a.height}else b=a.height,c=a.width;var d=this.Vg(b);c=this.width()?$.M(this.width(),c):$.lw(this,a,d);var e=this.padding(),f=$.M(e.i("top"),a.height),h=$.M(e.i("right"),a.width),k=$.M(e.i("bottom"),a.height);e=$.M(e.i("left"),a.width);var l=this.align(),m;this.Ab()?(d+h+e>b&&(d=b-(h+e)),"left"==
  l||"top"==l?m=e:"right"==l||"bottom"==l?m=b-d-h:"center"==l&&(m=(b-d-h-e)/2)):(d+k+f>b&&(d=b-(k+f)),"left"==l||"top"==l?m=f:"right"==l||"bottom"==l?m=b-d-k:"center"==l&&(m=(b-d-k-f)/2));switch(this.i("orientation")){case "top":var p=a.top+f;var q=a.left+m;var r=c;var t=d;break;case "right":p=a.top+m;q=a.left+a.width-c-h;r=d;t=c;break;case "bottom":p=a.top+a.height-c-k;q=a.left+m;r=c;t=d;break;case "left":p=a.top+m,q=a.left+e,r=d,t=c}this.op=new $.J(Math.round(q),Math.round(p),Math.round(t),Math.round(r))}else this.op=
  new $.J(0,0,0,0);this.I(4)}return this.op};$.g.Vg=function(a){return $.M(this.Tj,a)};
  $.g.HV=function(a,b){var c=this.Ka(),d=this.ib(),e=c.i("position"),f=d.i("position");c=fJ(this,c);var h=fJ(this,d);d=gJ(this);"outside"==e?"outside"==f?e=Math.max(a+c,b+h):(e="inside"==f?Math.max(a+c,b):Math.max(a+c,b+h),d=Math.max(h,d)):"inside"==e?"outside"==f?(e=Math.max(a,b+h),d=Math.max(c,d)):(e="inside"==f?Math.max(a,b):Math.max(a,b+h),d=Math.max(c,h,d)):"outside"==e?(e=Math.max(a+c,b+h),d=Math.max(c,d)):(e="inside"==f?Math.max(a+c,b):Math.max(a+c,b+h),d=Math.max(c,h,d));f=this.i("stroke");
  return e+d+(Math.round(this.o)+(!f||$.Bn(f)?0:f.thickness?(0,window.parseFloat)(f.thickness):1))};$.g.scale=function(a){(a=$.cJ.B.scale.call(this,a))||(this.la||(this.la=$.rw(),this.la.Nk("#fff","#000")),a=this.la);return a};$.g.vP=function(){return 48};$.g.sg=function(a){$.W(a,2)&&$.dJ(this);$.cJ.B.sg.call(this,a)};
  $.g.W=function(){if(!this.Bc())return this;this.J(1024)&&(this.Be&&(this.Be.O(this.O()),this.Be.zIndex(this.zIndex()+1),this.Be.W(),this.Be.Le().visible(!1)),this.I(1024));this.J(2)&&this.Be&&this.Be.O(this.O());if(this.J(8)&&this.Be){var a=this.zIndex();this.Be.zIndex(a+1)}return $.cJ.B.W.call(this)};
  $.g.zJ=function(a){if(this.b){var b=this.scale(),c=this.b,d=c&&(c.se()||(c.xm?c.xm():void 0));if(this.enabled()&&b&&c.enabled()&&d==b){d=this.line.eb();if(this.Ab()){var e=a.clientX;var f=d.left+$.Ei(this.O().Da()).x;d=(e-f)/d.width}else e=a.clientY,f=d.top+$.Ei(this.O().Da()).y,d=(d.height-(e-f))/d.height;d=b.Rc(d);a.metaKey||a.shiftKey||!c.map||c.map.Bd();if($.K(b,$.tw))d=b.zm(d),b&&c&&(e=this.K[d.sourceIndex],b=c.ic(),b=b.fe(),"single"==b.i("hoverMode")?this.pf={U:c,$c:e}:this.pf=[{U:c,$c:e,Gm:e[e.length-
  1],Ud:{index:e[e.length-1],Af:0}}]);else if($.K(b,$.qw)){a=c.tc();e=window.Infinity;for(var h=window.NaN,k=b.Eh(),l=b.ki();a.advance();){f=a.get(c.te?c.te.Ek:c.P[1]);f=$.Ya(f,k,l);var m=Math.abs(d-f);e>m&&(e=m,h=f)}e=[];a=c.tc();for(d=h;a.advance();)f=a.get(c.te?c.te.Ek:c.P[1]),f=$.Ya(f,k,l),f==d&&e.push(a.ja());b&&c&&(b=c.ic(),b=b.fe(),"single"==b.i("hoverMode")?this.pf={U:c,$c:e}:this.pf=[{U:c,$c:e,Gm:e[e.length-1],Ud:{index:e[e.length-1],Af:0}}])}}}};
  $.g.Fg=function(a){if(this.b){var b=this.scale(),c=this.b,d=c.se()||(c.xm?c.xm():void 0);if(this.enabled()&&b&&c.enabled()&&d==b){d=this.line.eb();if(this.Ab()){var e=a.clientX;var f=d.left+$.Ei(this.O().Da()).x;d=(e-f)/d.width}else e=a.clientY,f=d.top+$.Ei(this.O().Da()).y,d=(d.height-(e-f))/d.height;d=b.Rc(d);if($.K(b,$.tw)){a=b.zm(d);var h=this.K[a.sourceIndex];b=c.ic();f=b.fe();"single"==f.i("hoverMode")?this.pf={U:c,$c:h}:this.pf=[{U:c,$c:h,Gm:h[h.length-1],Ud:{index:h[h.length-1],Af:0}}]}else if($.K(b,
  $.qw)&&c){f=c.tc();h=window.Infinity;for(var k=window.NaN,l=b.Eh(),m=b.ki();f.advance();){e=f.get(c.te?c.te.Ek:c.P[1]);e=$.Ya(e,l,m);var p=Math.abs(d-e);h>p&&(h=p,k=e)}h=[];f=c.tc();for(d=k;f.advance();)e=f.get(c.te?c.te.Ek:c.P[1]),e=$.Ya(e,l,m),e==d&&h.push(f.ja());b&&c&&(b=c.ic(),f=b.fe(),"single"==f.i("hoverMode")?(this.pf&&!(0,$.oA)(h,function(a){return $.za(this.pf.$c,a)},this)&&b.dispatchEvent(b.Uj("hovered",a,[{U:c,$c:[],Ud:{index:this.pf.$c[this.pf.$c.length-1],Af:0}}],!1)),this.pf={U:c,$c:h}):
  this.pf=[{U:c,$c:h,Gm:h[h.length-1],Ud:{index:h[h.length-1],Af:0}}])}$.hJ(this,d)}}};$.g.$g=function(){$.iJ(this);var a=this.b;a&&(this.Ca=a)};$.g.remove=function(){$.cJ.B.remove.call(this);this.Be&&this.Be.remove()};$.g.F=function(){var a=$.cJ.B.F.call(this);a.marker=this.Vu().F();a.colorLineSize=this.MH();a.length=this.length();a.align=this.align();return a};$.g.Y=function(a,b){$.cJ.B.Y.call(this,a,b);this.Vu(a.marker);this.MH(a.colorLineSize);this.length(a.length);this.align(a.align)};$.H(jJ,$.cJ);
  $.os(jJ,$.cJ);var kJ=$.cJ.prototype;kJ.marker=kJ.Vu;kJ.colorLineSize=kJ.MH;kJ.length=kJ.length;kJ.align=kJ.align;kJ=jJ.prototype;$.G("anychart.standalones.colorRange",function(){var a=new jJ;a.fa(!0,$.Qk("standalones.colorRange"));return a});kJ.padding=kJ.padding;kJ.draw=kJ.W;kJ.parentBounds=kJ.ka;kJ.container=kJ.O;kJ.colorLineSize=kJ.MH;}).call(this,$)}
  if(!_.theme_color_scales){_.theme_color_scales=1;(function($){$.sa($.fa.anychart.themes.defaultTheme,{defaultColorRange:{enabled:!1,stroke:"#B9B9B9",orientation:"bottom",title:{enabled:!1},colorLineSize:10,padding:{top:10,right:0,bottom:0,left:0},margin:0,align:"center",length:"50%",marker:{padding:3,positionFormatter:$.DI,enabled:!0,disablePointerEvents:!1,position:"center",rotation:0,anchor:"center",offsetX:0,offsetY:0,type:"triangle-down",fill:"#333 0.85",stroke:"none",size:7},labels:{offsetX:0,offsetY:0,fontSize:11,padding:0},ticks:{stroke:"#B9B9B9",position:"outside",
  length:5,enabled:!0},minorTicks:{stroke:"#B9B9B9",position:"outside",length:3,enabled:!1}},defaultOrdinalColorScale:{inverted:!1,ticks:{maxCount:100},autoColors:function(a){return $.pk("#90caf9","#01579b",a)}},defaultLinearColorScale:{maxTicksCount:1E3,colors:["#90caf9","#01579b"],minimumGap:0,maximumGap:0}});$.sa($.fa.anychart.themes.defaultTheme.standalones,{colorRange:{enabled:!0,zIndex:50}});}).call(this,$)}
  if(!_.map_part){_.map_part=1;(function($){var Aea=function(a,b){return a==b?!0:b?a.Dd==b.Dd&&a.Pe==b.Pe&&a.Ed==b.Ed&&a.Fe==b.Fe&&a.Ae==b.Ae&&a.Fd==b.Fd:!1},dL=function(a,b){var c=$.wc(a,b,void 0);return c&&a[c]},eL=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},fL=function(a,b,c){$.sv.call(this,a,
  b);this.b=c||function(){return!0}},gL=function(){},hL=function(a){return 0<a?Math.sqrt(a):0},iL=function(){},jL=function(){},kL=function(){this.f=45*Math.PI/180;this.b=1/Math.tan(this.f)},lL=function(){},mL=function(){},nL=function(){},oL=function(){},pL=function(a,b){this.scale=a;this.angle=b},qL=function(){this.b=2;this.f=new pL(function(a){return Math.sqrt(2/(1+a))},function(a){return 2*Math.asin(a/2)})},rL=function(){},sL=function(){this.b=new pL(function(){return 1},Math.asin)},tL=function(a){this.f=
  a;this.b=$.Sj.proj4},uL=function(){},vL=function(){},wL=function(a){var b=a(0,0);return $.A(b)?(a=b[0],b=b[1],!$.ea(a)||(0,window.isNaN)(a)||!$.ea(b)||(0,window.isNaN)(b)?!1:!0):!1},yL=function(a){if($.D(a)){var b=new gL;var c=($.E(a.forward)?a.forward:null)||($.E(a)?a:null),d=$.E(a.invert)?a.invert:null;c&&wL(c)&&(b.forward=function(a,b){a=$.I(a);b=$.I(b);return c(a,b)},d&&wL(d)&&(b.ii=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 kL;
  break;case "eckert1":b=new lL;break;case "eckert3":b=new mL;break;case "fahey":b=new oL;break;case "hammer":b=new qL;break;case "aitoff":b=new iL;break;case "mercator":b=new rL;break;case "orthographic":b=new sL;break;case "robinson":b=new uL;break;case "wagner6":b=new vL;break;case "wsg84":b=new gL;break;case "equirectangular":b=new nL;break;case "august":b=new jL;break;default:try{$.Sj.proj4?b=new tL(a):(b=new gL,xL||($.Rj(19,null,null,!0),xL=!0))}catch(e){b=new gL}}return b},zL=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!$.Sj.proj4}},AL=function(a){$.Tu.call(this,a)},BL=function(a,b,c,d){$.Vx.call(this,a,window.NaN);this.id=d;this.f=c;this.b=b},CL=function(a,b){$.Wx.call(this,a,b)},DL=function(a,b,c,d,e){$.Gy.call(this,a,b,c,d,e);this.Vq=
  [];this.IS=[];$.T(this.za,[["startSize",1024,1,4294967295],["endSize",1024,1,4294967295],["curvature",1024,1025,4294967295]]);this.Ko=!0},EL=function(a,b){a.g!=b&&(a.g=b,a.b||a.u(512,1))},FL=function(a){return a.b||a.g},GL=function(a,b){var c=!!(b&2),d=!c&&!!(b&1),e=a.aa(),f=e.get("normal");f=$.n(f)?f.label:void 0;var h=e.get("hovered");h=$.n(h)?h.label:void 0;var k=e.get("selected");k=$.n(k)?k.label:void 0;f=$.zn(f,e.get("label"));h=d?$.zn(h,e.get("hoverLabel")):null;k=c?$.zn(k,e.get("selectLabel")):
  null;e=f&&$.n(f.position)?f.position:void 0;h=h&&$.n(h.position)?h.position:void 0;k=k&&$.n(k.position)?k.position:void 0;f=a.Ma().labels();var l=a.fb().labels(),m=a.selected().labels();return d||c?d?$.n(h)?h:$.n(l.i("position"))?l.i("position"):$.n(e)?e:f.i("position"):$.n(k)?k:$.n(m.i("position"))?m.i("position"):$.n(e)?e:f.i("position"):$.n(e)?e:f.i("position")},HL=function(a){a=$.ab(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},Bea=function(a,b){$.n(b)&&!$.Sa(a.f,b)&&(a.f=b,a.u(256,1))},IL=function(a){return 24==a.te.type},Cea=function(a,b,c){var d=b.Le();var e=a.aa();c=GL(a,c);var f=a.Jj(c);c=b.qc("rotation");var h=b.qc("anchor");$.n(h)&&null!==h||(h=e.j("labelAnchor"));$.n(c)&&d.dt(-c,h);var k=b.rc().value;f=f.value;var l=d.od;d.translate(-l.Ed+f.x-k.x,-l.Fd+f.y-k.y);(k=b.Tg)&&"offset"!=e.j("positionMode")&&(b=b.Vy||a.Vy,e=a.ya.df.Sf().clone(),
  b&&$.qb(e,$.Ab(b)),a=e.Dd,b=e.Ed,e=e.Fd,e=new $.xb(a,0,0,a,b,e),$.zb(e,$.Ab(d.od)),a=e.Dd,$.El(a,1,1E-6)?e=b=0:(b=e.Ed,e=e.Fd),k.nc(a,0,0,a,b,e));$.n(c)&&d.dt(c,h)},Dea=function(a,b,c){var d=b.Le();var e=a.aa();var f=a.aa(),h=!!(c&2);c=!h&&!!(c&1);var k=f.get("normal");k=$.n(k)?k.marker:void 0;var l=f.get("hovered");l=$.n(l)?l.marker:void 0;var m=f.get("selected");m=$.n(m)?m.marker:void 0;k=$.zn(k,f.get("marker"));l=$.zn(l,f.get("hoverMarker"));m=$.zn(m,f.get("selectMarker"));f=k&&$.n(k.position)?
  k.position:a.Ma().Bb().position();k=a.fb().Bb().position();l=l&&$.n(l.position)?l.position:$.n(k)?k:f;k=a.selected().Bb().position();m=m&&$.n(m.position)?m.position:$.n(k)?k:f;c=a.Jj(c?l:h?m:f);a=b.qc("rotation");if(!$.n(a)||null===a||(0,window.isNaN)(a))a=e.j("markerRotation");h=b.qc("anchor");$.n(h)&&null!==h||(h=e.j("markerAnchor"));$.n(a)&&d.dt(-a,h);b=b.rc().value;e=c.value;c=d.od;d.translate((c?-c.Ed:0)+e.x-b.x,(c?-c.Fd:0)+e.y-b.y);$.n(a)&&d.dt(a,h)},Eea=function(a){var b=a.aa(),c=b.ja(),d=
  $.Zu(a.state,c);var e=!!(d&2);var f=!e&&!!(d&1);var h=a.te.type;var k=b.j("shapes");if(k)if(a.pj()||22==h){h=b.j("x");var l=b.j("value");var m=JL(a,b);if(!m)return;var p=m.x;m=m.y;var q=k.path||k.circle||k.negative;q=q.od;var r=(q?-q.Ed:0)+p-h;var t=(q?-q.Fd:0)+m-l;$.sc(k,function(a){a.translate(r,t)})}else if(21==h){l=a.Vy;h=a.ya.df.Sf().clone();l&&$.qb(h,$.Ab(l));var u=h.Dd;var v=h.Ed;var x=h.Fd;$.sc(k,function(a){a.nc(u,0,0,u,v,x)})}else 24==h&&(h=a.ya.df.Sf(),(k=k.hatchFill)&&k.nc(h.Dd,h.Pe,h.Fe,
  h.Ae,h.Ed,h.Fd));a.check(4194304)&&(q=b.get("normal"),q=$.n(q)?q.marker:void 0,m=b.get("hovered"),m=$.n(m)?m.marker:void 0,k=b.get("selected"),k=$.n(k)?k.marker:void 0,q=$.zn(q,b.get("marker")),m=$.zn(m,b.get("hoverMarker")),k=$.zn(k,b.get("selectMarker")),h=a.Ma().Bb(),l=a.fb().Bb(),p=a.selected().Bb(),b=h.Yp(c),q=q&&$.n(q.enabled)?q.enabled:null,m=m&&$.n(m.enabled)?m.enabled:null,k=k&&$.n(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?p&&null===p.enabled()?null===q?h.enabled():q:p.enabled():k:null===q?h.enabled():q)&&b&&b.Le()&&b.rc()&&Dea(a,b,d));(e=(c=a.Ma().labels().Od(c))&&c.Le()&&c.rc()&&c.qc("enabled"))&&Cea(a,c,d)},LL=function(a){var b=a.aa();var c=(c=b.j("features"))&&c.length?c[0]:null;if(!c||!IL(a))return{x:0,y:0};var d=(c=c.properties)&&c.middleXYMode;var e=b.get("middleXYMode");d=$.n(e)?e:d?d:"relative";"relative"==d?a=KL(a):"absolute"==d?(d=b.get("middle-x"),e=b.get("middle-y"),b=$.n(d)?d:c?c["middle-x"]:0,c=$.n(e)?
  e:c?c["middle-y"]:0,b=$.O(b),c=$.O(c),a=a.ya.scale().transform(b,c),a={x:a[0],y:a[1]}):a={x:0,y:0};return a},JL=function(a,b){var c=a.ya.scale(),d=!1,e=a.ee(),f=b.get(e[0]),h=b.get(e[1]);e=b.get(e[2]);var k=$.en(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=KL(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}},KL=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=$.n(d)?d:c&&$.n(c["middle-x"])?c["middle-x"]:.5;c=$.n(e)?e:c&&$.n(c["middle-y"])?c["middle-y"]:.5;(a=a?a.da:null)?(a=a.Sp(),a={x:a.left+a.width*b,y:a.top+a.height*c}):a=null;return a},Fea=function(a){this.map=a;this.status=0;this.timeout=null;this.Aw=(0,$.qa)(function(a){this.status=
  a;this.map.dispatchEvent("animationend");this.timeout=null},this)},NL=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=ML(a.map);a.map!=c&&a.map.lb(c);a.map.dispatchEvent("animationstart")}else a.timeout&&(0,window.clearTimeout)(a.timeout),a.timeout=(0,window.setTimeout)(a.Aw,Gea,b);else a.status&&b&&a.timeout&&((0,window.clearTimeout)(a.timeout),a.timeout=null)},OL=function(a,b,c,d,e,f){this.map=a;this.g=!!e;$.Jw.call(this,
  b,c,d,f)},PL=function(a,b,c,d,e,f,h){OL.call(this,a,[],[],e,f,h);this.Vq=b;this.sG=c;this.vd=d;this.G=h},RL=function(a,b){$.E(a.G)&&(b=a.G(b));var c=(0,$.qa)(a.YN,{t:b,vd:a.vd,sG:a.sG,sP:a.map.scale()});a.vd.In.ratio(b);$.V(a.map.scale());a.map.scale().Mg(!1);QL(a.map,a.Vq,c,!1,!0);a.map.scale().Ug();a.map.scale().ba(!0)},SL=function(a,b,c,d,e,f){OL.call(this,a,b,c,d,e,f);this.G=!1},WL=function(a,b){if(a.map.Vq()){var c=a.map.df,d=c.Ri().round(),e=c.eb().round(),f=a.map.zc,h=a.map.pc,k=a.map.mM/a.map.Vz;
  a.map.vq||(1>k&&!$.nb(e,d)&&(h=TL(a.map,d,e),f=h[1],h=h[2]),f<e.left?f=e.left:f>e.Wa()&&(f=e.Wa()),h<e.top?h=e.top:h>e.Na()&&(h=e.Na()));e=b/a.map.Uf();c.scale(e,e,f,h);a.map.Po=b;c=c.od;a.map.scale().zoom=c.Dd;UL(a.map.scale(),c.Ed,c.Fd);VL(a.map)}},XL=function(a,b,c){var d=a.map.df.od;a.map.df.nc(d.Dd,0,0,d.Ae,b,c);a.map.scale().zoom=d.Dd;UL(a.map.scale(),d.Ed,d.Fd);VL(a.map)},YL=function(){$.X.call(this);delete this.pa.enabled;this.Rb=this.X=null;this.path=$.Vi();this.path.Ko(!0);$.is(this,this.path);
  $.L(this,this.path);$.T(this.za,[["stroke",0,1],["length",0,9],["position",0,9]])},ZL=function(a){switch(a.orientation()){case "top":a.f=a.ma.hp();break;case "right":a.f=a.ma.gp();break;case "bottom":a.f=a.ma.kp();break;case "left":a.f=a.ma.jp()}return a.f},$L=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=
  $L(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},aM=function(a,b){a.ma.kb();b=(0,window.parseFloat)(b);var c=ZL(a);var d=a.i("position"),e=a.i("length");if(a.Ab()){var f=a.ma.transform(b,c,null);c=a.ma.transform(b+1,c,null)}else f=a.ma.transform(c,
  b,null),c=a.ma.transform(c,b+1,null);var h=Math.atan(-(f[1]-c[1])/(c[0]-f[0]));(0,window.isNaN)(h)&&(h=0);d=$L(a,d,h,f,c);return[f[0],f[1],f[0]+Math.cos(d)*e,f[1]+Math.sin(d)*e,d]},bM=function(a,b){var c=aM(a,b);return new $.J(Math.min(c[0],c[2]),Math.min(c[1],c[3]),Math.abs(c[0]-c[2]),Math.abs(c[1]-c[3]))},cM=function(){$.X.call(this);this.oh=[];this.uj=[];this.Rb=this.X=null;this.qe=980;$.T(this.za,[["stroke",16,1],["overlapMode",980,9],["drawFirstLabel",980,9],["drawLastLabel",980,9]])},dM=function(a,
  b){var c=(b?a.labels():a.ab()).i("position");if("center"==c)var d="center";else switch(a.Hf){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},eM=function(a,b){if(!a.op||a.J(4)){var c=a.ka(),d=a.scale();$.n(b)&&d.yf(b);d.kb();if(a.Ab()){var e=a.scale().Hv();var f=a.scale().vx()}else e=a.scale().Iv(),f=a.scale().wx();e=e.get();var h=f.get();f=a.title();var k=a.labels();var l=a.parent().labels(),
  m=k.enabled();var p=void 0==m?l.enabled():m;l=a.ab();m=a.parent().ab();var q=l.enabled();m=void 0==q?m.enabled():q;var r=a.Ka();r.ma=d;q=a.ib();q.ma=d;d=r.i("position");var t=$.kn(d);d=q.i("position");d=$.kn(d);var u;a.Kd();if(p)for($.Os(k),k=0,p=e.length;k<p;k++)r=$.Sl(a.Wc(k,!0,e)),u?$.mb(u,r):u=r;else if(r.enabled()&&0<=t)for(k=0,p=e.length;k<p;k++)t=bM(r,(0,window.parseFloat)(e[k])),u?$.mb(u,t):u=t;if(m)for($.Os(l),k=0,p=h.length;k<p;k++)r=$.Sl(a.Wc(k,!1,h)),u?$.mb(u,r):u=r;else if(q.enabled()&&
  0<=d)for(k=0,p=h.length;k<p;k++)t=bM(q,h[k]),u?$.mb(u,t):u=t;if(f.enabled()){f.O()||f.O(a.O());$.V(f);$.Qt(f,a.Hf);f.ka(c);c=f.zh();switch(a.Hf){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.ba(!1)}u||(u=new $.J(0,0,0,0));a.op=u;a.I(4)}return a.op.clone()},fM=function(a){return a.line?a.line:a.line=$.Vi().gd(!0).Ko(!0)},gM=function(a){$.Dp.call(this);this.hb($.Mp["map.axisSettings"]);
  this.D=a;this.G=[];this.Rb=this.X=null;this.I(4294967295);$.T(this.za,[["stroke",0,1],["overlapMode",0,9],["drawFirstLabel",0,9],["drawLastLabel",0,9],["enabled",0,32768]])},hM=function(){function a(a){a.enabled(null)}$.X.call(this);this.g=this.b=null;$.js(this,this);var b={};$.T(b,[["labels",0,0]]);this.ia=new $.Gv(this,b,$.Jk);this.ia.ca.labelsAfterInitCallback=$.Lv;this.Ba=new $.Gv(this,b,1);this.Ba.ca.labelsFactoryConstructor=$.Iv;this.Ba.ca.labelsAfterInitCallback=a;this.Ga=new $.Gv(this,b,2);
  this.Ga.ca.labelsFactoryConstructor=$.Iv;this.Ga.ca.labelsAfterInitCallback=a;this.qe=448},iM=function(a,b,c,d){var e=b.ja(),f=b.Te(),h=f.tc();h.select(e);d=$.n(d)?d:$.Zu(f.state,e);b.state=d;var k=f.aa(),l=!!(d&2),m=!l&&!!(d&1),p=f.Ma().labels();b=(b=k.get("normal"))?b.label:void 0;b=$.zn(b,k.get("label"));l?(l=(l=k.get("selected"))?l.label:void 0,l=$.zn(l,k.get("selectLabel")),k=f.selected().labels()):m?(l=(l=k.get("hovered"))?l.label:void 0,l=$.zn(l,k.get("hoverLabel")),k=f.fb().labels()):k=l=
  null;m=f.Ec(!0);m.b=f.ud(e);c.vf(m);$.Ps(c,p);$.Qs(c,k);c.Yc(b,l);$.Os(p);b=!!(d&2);d=!b&&!!(d&1);e=a.Ma().labels();d=b?a.selected().labels():d?a.fb().labels():e;b=$.$I(e);b.enabled=e.enabled();e=$.$I(d);e.enabled=null===d.enabled()?b.enabled:d.enabled();c.Yc(b,c.state("pointState")?$.Ec(c.state("pointState"),e):e);e=a.Jj(c.ja());e.connectorPoint={value:LL(f)};c.rc(e);a.Ab()?(c.width(a.b),c.height(a.g)):(c.width(a.g),c.height(a.b));switch(a.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},Hea=function(a){var b=a.Ma().labels();b.O()||b.O(a.O());b.ka(a.ka());b.clear();for(var c=0,d=a.o.length;c<d;c++){var e=a.o[c],f=b.add(null,null);iM(a,e,f);if(f.qc("enabled")){f=f.rc();e=f.value.x;f=f.value.y;switch(a.orientation()){case "top":e-=a.b/2;f-=a.g;var h=a.b;var k=a.g;
  break;case "right":f-=a.b/2;h=a.g;k=a.b;break;case "bottom":e-=a.g/2;h=a.b;k=a.g;break;case "left":e-=a.g,f-=a.b/2,h=a.g,k=a.b}if(a.D){var l=$.oz(a.D);l.moveTo(e,f).lineTo(e+h,f).lineTo(e+h,f+k).lineTo(e,f+k).close();l.Taa=c;l.stroke(null).fill($.Ek)}}}},jM=function(){$.Dx.call(this)},kM=function(){$.vw.call(this);delete this.pa.enabled;this.ma=this.f=null;$.T(this.za,[["minorStroke",16]])},lM=function(a){$.Dp.call(this);this.hb("map.gridsSettings");this.X=null;this.g=a;this.o=[];this.Fa=this.Rb=
  null;this.I(4294967295);$.T(this.za,[["stroke",0,1],["minorStroke",0,1],["fill",0,1],["drawFirstLine",0,9],["drawLastLine",0,9],["enabled",0,32768],["zIndex",0,65536]]);this.b||this.yQ();this.f||this.vertical()},mM=function(a,b){$.K(b,$.ar)||$.D(b)&&"range"==b.type?a.Tc($.ar):($.K(b,$.Yq)||$.D(b)||null==a.Fa)&&a.Tc($.Yq)},nM=function(a,b,c){this.b=c||0;this.f=a;this.RO=b},oM=function(a){$.Dp.call(this);this.ma=a},pM=function(){$.Dp.call(this);this.jo=window.NaN;this.Ha=Number.MAX_VALUE;this.ra=-Number.MAX_VALUE;
  this.Ra=Number.MAX_VALUE;this.Ia=-Number.MAX_VALUE;this.Qf=Number.MAX_VALUE;this.Vd=-Number.MAX_VALUE;this.Je=Number.MAX_VALUE;this.Ld=-Number.MAX_VALUE;this.Ya=this.rb=this.Xb=this.oc=!0;this.P=0;this.la=this.$=this.ta=this.ea=this.$l=this.ip=this.fp=this.bm=window.NaN;this.bd=this.Hc=1;this.Jc=!1;this.Bq=0;this.at=this.Ws=!1;this.yc=null},Iea=function(a,b){a.vd=b;a.Jc=!1},qM=function(a,b,c,d,e){a.ta=b;a.ea=c;a.la=d;a.$=e},UL=function(a,b,c){a.eo=b;a.Ts=c},rM=function(a){a.b||a.kb();return a.b},
  sM=function(a,b){a.Ws=!1;a.at=b},tM=function(a){return $.n(a.Xl)?a.Xl:a.Ws},uM=function(a){return $.n(a.kg)?a.kg:a.at},wM=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.vd&&zL(a.vd["default"].Of))c=vM(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=vM(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=vM(a,
  b,l)}else{m=a.g;var p=a.D;if(a.vd&&zL(a.vd["default"].Of))c=vM(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>p){for(k=m;180>k;)c=vM(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=vM(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<p;)c=vM(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=vM(a,p,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{bm:d,ip:e,fp:f,$l:h}},xM=function(a,b,c){a.kb();if(!a.yc)return[window.NaN,window.NaN];b=$.O(b);c=$.O(c);b=(b-a.bm)*a.ratio;c=(-c+a.$l)*a.ratio;return[tM(a)?a.yc.Wa()-a.G-b:a.yc.left+a.G+b,uM(a)?a.yc.Na()-a.K-c:a.yc.top+a.K+c]},yM=function(a,b,c){a.kb();if(!a.yc)return[window.NaN,window.NaN];b=$.O(b);c=$.O(c);return[+(tM(a)?a.yc.Wa()-a.G-b:b-a.yc.left-a.G)/a.ratio+a.bm,-(uM(a)?a.yc.Na()-a.K-c:c-a.yc.top-a.K)/a.ratio+a.$l]},zM=function(a,b,c,d){a=a.vd["default"];
  b=(d.In||a.In).forward(b,c);b[0]*=d.scale||a.scale;b[1]*=d.scale||a.scale;b[0]+=d.vh||0;b[1]+=d.bi||0;return[b[0],b[1]]},AM=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},BM=function(a,b,c){if(!a.vd)return null;var d=window.NaN,e=window.NaN,f=$.wc(a.vd,function(a,f){if("default"!=f&&a.Fs){var h=zM(this,b,c,a),k=h[0];h=h[1];var p=a.Fs;if(p=$.A(p)?AM(k,h,p):k>=p.left&&
  k<=p.left+p.width&&h<=p.top&&h>=p.top-p.height)d=k,e=h;return p}return!1},a)||"default";return[a.vd[f],d,e]},CM=function(a,b,c,d){if(!a.vd)return[];a.kb();if($.n(d))d=null!==d&&d in a.vd?a.vd[d]:a.vd["default"];else{var e=BM(a,b,c);d=e[0];var f=e[1];e=e[2]}(0,window.isNaN)(f)&&(b=zM(a,b,c,d),f=b[0],e=b[1]);if(!a.yc||(0,window.isNaN)(f)||(0,window.isNaN)(e))return[window.NaN,window.NaN];f=(+f-a.bm)*a.ratio;b=(-e+a.$l)*a.ratio;return[tM(a)?a.yc.Wa()-a.G-f:a.yc.left+a.G+f,uM(a)?a.yc.Na()-a.K-b:a.yc.top+
  a.K+b]},DM=function(a,b,c,d){if(!a.vd)return[];var e=a.vd["default"],f;$.n(d)?f=d in a.vd?d:"default":f=$.wc(a.vd,function(a,d){if("default"!=d&&a.Fs){var e=a.Fs;return $.A(e)?AM(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.vd[f];d=a.In||e.In;b-=a.vh||e.vh||0;c-=a.bi||e.bi||0;f=a.scale||e.scale;return a.Of||e.Of?d.ii(b/f,c/f):[b/f,c/f]},vM=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($.n(null))var f=a.vd["default"];else e=BM(a,b,c),f=e[0],d=e[1],e=e[2];(0,window.isNaN)(d)?(a=a.vd["default"],b=(f.In||a.In).forward(b,c),b[0]*=f.scale||a.scale,b[1]*=f.scale||a.scale,-620.8680523857!=f.vh&&(b[0]+=f.vh||0,b[1]+=f.bi||0),f=[b[0],b[1]]):f=[d,e];return f},FM=function(a,b){this.f=b||$.Ma;this.b=a;for(var c=Math.floor(a.length/2);c--;)EM(this,c)},EM=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&&(GM(a,
  b,e),EM(a,e))},GM=function(a,b,c){var d=a.b[b];a.b[b]=a.b[c];a.b[c]=d},HM=function(){},IM=function(a,b,c){var d;if(c&&!c["middle-x"]&&!c["middle-y"]){var e=dL(c,function(a,b){return/middle-x/.test(b)});var f=dL(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 p=[];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&&p.push(h)}return{polygones:[{outerPath:l,
  holes:p}],properties:c};case "MultiPolygon":k=[];var r=b.coordinates;b=0;for(e=r.length;b<e;b++){l=[];p=[];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&&p.push(h)}q={outerPath:l,holes:p};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=IM(a,m[b],m[b].properties),$.n(f))h.push(f);else break;return{geometries:h,properties:c||
  null}}$.Pj(10,"GeometryCollection object missing 'geometries' member.");break;default:$.Pj(10,"Geometry object must be one of 'Point', 'LineString', 'Polygon' or 'MultiPolygon'.")}return null},Jea=function(a,b,c){var d={type:"FeatureCollection",crs:b.crs||{type:"name",properties:{name:c["default"]["src-code"]}},features:[],"ac-tx":{}};$.sc(c,function(a,b){var c={};$.n(a.Of)&&(c.crs=a.Of);$.n(a.scale)&&(c.scale=a.scale);$.n(a.vh)&&(c.xoffset=a.vh);$.n(a.bi)&&(c.yoffset=a.bi);$.n(a.Fs)&&(c.heatZone=
  a.Fs.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},Kea=function(a){this.f=a;this.b=0;this.g=this.f.length;this.o=null;JM(this)},KM=function(a){a=a.f[a.b];return" ">=a&&(" "===a||"\n"===a||"\t"===a||
  "\r"===a||"\f"===a)},JM=function(a){for(;a.b<a.g&&KM(a);)a.b+=1;return a.b<a.g},LM=function(a){a.b<a.g&&!KM(a)&&","!==a.f[a.b]||!(JM(a)&&a.b<a.g)||","!==a.f[a.b]||(a.b+=1,JM(a))},MM=function(a){var b=0,c=0,d=[],e=1,f=1,h=a.b;JM(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;LM(a);return c},NM=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;LM(a);return b},OM=function(){},TM=function(a,b,c,d){var e,f=$.te(b),h=[];var k=0;for(e=f.length;k<e;k++){var l=f[k];if($.ve(l)){var m=l.tagName.toLowerCase();var p=!c||"g"==m||"svg"==m&&c?{}:null;b=PM(a,l,p,d);if(p){if("g"==m||"svg"==m){var q=QM(l,d),r=RM(a,l,"group");l=SM(l);"g"==m?(m=r.id,$.n(m)?l.id=m:$.n(l.id)&&(m=l.id),p.tx=q,p.properties=l,p.attrs=
  r,p.id=m):(p.properties={},p.attrs={});p.type="group";p.features=b}else p=b;p&&h.push(p)}else c?b&&($.A(b)?h.push.apply(h,b):h.push(b)):("g"==m||"svg"==m)&&b&&h.push.apply(h,b)}}return h},PM=function(a,b,c,d){var e=b.getAttribute("id");if(e&&a.b[e])var f=$.uk(a.b[e]);else{var h=UM(a,b);switch(b.tagName.toLowerCase()){case "rect":var k=+b.getAttribute("x");var l=+b.getAttribute("y");var m=+b.getAttribute("width");var p=+b.getAttribute("height");f=VM(a,b,[{type:"M",values:[k,l]},{type:"L",values:[k+
  m,l]},{type:"L",values:[k+m,l+p]},{type:"L",values:[k,l+p]},{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=WM(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=VM(a,b,v,d);break;case "ellipse":var x=+b.getAttribute("cx");var w=+b.getAttribute("cy");var y=+b.getAttribute("rx");var B=+b.getAttribute("ry");var F=x-y,C=WM(a,[{type:"M",values:[F,w]},{type:"A",
  values:[y,B,0,1,0,F+2*y,w]},{type:"A",values:[y,B,0,1,0,F,w]},{type:"Z"}]);f=VM(a,b,C,d);break;case "polygon":for(var N=b.getAttribute("points").trim().split(/\s+|,/),P=[],Q=0,S=N.length-1;Q<S;Q+=2)Q?P.push({type:"L",values:[+N[Q],+N[Q+1]]}):P.push({type:"M",values:[+N[Q],+N[Q+1]]});P.push({type:"Z"});f=VM(a,b,P,d);break;case "polyline":for(var oa=b.getAttribute("points").trim().split(/\s+|,/),xa=[],La=0,sb=oa.length-1;La<sb;La+=2)La?xa.push({type:"L",values:[+oa[La],+oa[La+1]]}):xa.push({type:"M",
  values:[+oa[La],+oa[La+1]]});f=VM(a,b,xa,d);break;case "path":var bc=b.getAttribute("d")||"";if(bc&&0!==bc.length){var $a=new Kea(bc),cc=[];if($a.b<$a.g){var Eb=$a.f[$a.b];var Ac=XM[Eb]?XM[Eb]:null;var sf="M"===Ac||"m"===Ac}else sf=!0;if(sf)for(;$a.b<$a.g;){b:{var Qb=$a,Ld=Qb.f[Qb.b],Nb=XM[Ld]?XM[Ld]:null;if(null===Nb){if(null===Qb.o){var Kf=null;break b}("+"===Ld||"-"===Ld||"."===Ld||"0"<=Ld&&"9">=Ld)&&"Z"!==Qb.o?"M"===Qb.o?Nb="L":"m"===Qb.o?Nb="l":Nb=Qb.o:Nb=null;if(null===Nb){Kf=null;break b}}else Qb.b+=
  1;Qb.o=Nb;var Lf=null,Kc=Nb.toUpperCase();"H"===Kc||"V"===Kc?Lf=[MM(Qb)]:"M"===Kc||"L"===Kc||"T"===Kc?Lf=[MM(Qb),MM(Qb)]:"S"===Kc||"Q"===Kc?Lf=[MM(Qb),MM(Qb),MM(Qb),MM(Qb)]:"C"===Kc?Lf=[MM(Qb),MM(Qb),MM(Qb),MM(Qb),MM(Qb),MM(Qb)]:"A"===Kc?Lf=[MM(Qb),MM(Qb),MM(Qb),NM(Qb),NM(Qb),MM(Qb),MM(Qb)]:"Z"===Kc&&(JM(Qb),Lf=[]);Kf=null===Lf||0<=Lf.indexOf(null)?null:{type:Nb,values:Lf}}if(null===Kf)break;else cc.push(Kf)}var Wb=cc}else Wb=[];var wi=WM(a,Lea(Wb));f=VM(a,b,wi,d);break;case "line":var dg=+b.getAttribute("x1"),
  Vk=+b.getAttribute("x2"),eg=+b.getAttribute("y1"),Wk=+b.getAttribute("y2");f=VM(a,b,[{type:"M",values:[dg,eg]},{type:"L",values:[Vk,Wk]}],d);break;case "text":var ih=QM(b,d),Kg=SM(b),Mf=RM(a,b,"element");Kg.id=Mf.id;var tf=b.cloneNode(!0);ih.ou&&tf.setAttribute("transform",ih.ou.toString());tf.removeAttribute("data-ac-wrapper-id");var Ed=Mf.id;$.n(Ed)?Kg.id=Ed:$.n(Kg.id)&&(Ed=Kg.id);f={type:"text",text:b,cloneNode:tf,tx:ih,id:Ed,properties:Kg,attrs:Mf};break;case "image":var gj=QM(b,d),md=SM(b),jh=
  RM(a,b,"element"),jg=+b.getAttribute("x"),cp=+b.getAttribute("y"),He=+b.getAttribute("width"),Xb=+b.getAttribute("height");md.id=jh.id;var Lg=b.cloneNode(!0);gj.ou&&Lg.setAttribute("transform",gj.ou.toString());Lg.removeAttribute("data-ac-wrapper-id");var Mg=jh.id;$.n(Mg)?md.id=Mg:$.n(md.id)&&(Mg=md.id);f={type:"image",sourceNode:b,cloneNode:Lg,bounds:$.Ql(jg,cp,He,Xb),tx:gj,id:Mg,properties:md,attrs:jh};break;case "use":f=UM(a,b);break;case "clippath":for(var Jn=QM(b,d),Fd=TM(a,b,!0,Jn.ou),al=[],
  lj=0,bl=Fd.length;lj<bl;lj++)al.push.apply(al,Fd[lj].commands);f={clippath:VM(a,b,al,d)};break;case "lineargradient":var Ai={};if(h){var wf=h.gradientUnits;var wg=h.transform;var Vh=+h.x1;var em=+h.y1;var fm=+h.x2;var kg=+h.y2;var Bh=(0,window.parseFloat)(h.opacity)}var xg=b.getAttribute("gradientUnits")||wf,Kn=QM(b).self||wg,mj=+b.getAttribute("x1"),Bi=+b.getAttribute("y1"),Ln=+b.getAttribute("x2"),cl=+b.getAttribute("y2"),gm=(0,window.parseFloat)(b.getAttribute("opacity")),Ci=$.n(mj)?mj:$.n(Vh)?
  Vh:0,yg=$.n(Bi)?Bi:$.n(em)?em:0,nj=$.n(Ln)?Ln:$.n(fm)?fm:0,jd=$.n(cl)?cl:$.n(kg)?kg:0,dl=(0,window.isNaN)(gm)?$.n(Bh)?Bh:1:gm;Ci=$.Bl(Ci,7);yg=$.Bl(yg,7);nj=$.Bl(nj,7);jd=$.Bl(jd,7);var xf=nj-Ci,Rf=jd-yg;Ai.mode=xg&&"userspaceonuse"==xg.toLowerCase()?$.Ql(Math.min(Ci,nj),Math.min(yg,jd),Math.abs(xf),Math.abs(Rf)):!1;var Sf=Math.round($.bb(Math.atan(Rf/xf)));0<xf&&0>Rf?Sf=Math.abs(Sf):0>=xf&&0>=Rf?Sf=180-Math.abs(Sf):0>=xf&&0<Rf?Sf=180+Math.abs(Sf):0<xf&&0<Rf&&(Sf=360-Math.abs(Sf));Ai.opacity=dl;var el=
  $.te(b);Ai.keys=el.length?YM(b):h?h.keys:[];Ai.angle=Sf;Ai.transform=Kn;f=Ai;break;case "radialgradient":var Vd={};if(h){var Wh=h.gradientUnits;var lh=h.gradientTransform;var Mn=+h.r;var Nn=+h.cx;var Ng=+h.cy;var Tf=+h.fx;var Di=+h.fy;var hm=(0,window.parseFloat)(h.opacity)}var oj=b.getAttribute("gradientUnits")||Wh,fl=QM(b).self||lh,pj=+b.getAttribute("r"),nd=+b.getAttribute("cx"),gl=+b.getAttribute("cy"),qj=+b.getAttribute("fx"),Ky=+b.getAttribute("fy"),lv=(0,window.parseFloat)(b.getAttribute("opacity")),
  dp=$.n(pj)?pj:$.n(Mn)?Mn:0,kC=$.n(nd)?nd:$.n(Nn)?Nn:0,mv=$.n(gl)?gl:$.n(Ng)?Ng:0,Ly=$.n(qj)?qj:$.n(Tf)?Tf:0,lC=$.n(Ky)?Ky:$.n(Di)?Di:0,CH=(0,window.isNaN)(lv)?$.n(hm)?hm:1:lv;if(oj&&"userspaceonuse"==oj.toLowerCase()){var dk=2*dp,nv=$.Ql(kC-dp,mv-dp,dk,dk);Vd.cx=.5;Vd.cy=.5;Vd.fx=(Ly-nv.left)/dk;Vd.fy=(lC-nv.top)/dk;Vd.mode=nv}else Vd.cx=kC,Vd.cy=mv,Vd.fx=Ly,Vd.fy=lC;Vd.opacity=CH;Vd.transform=fl;var SP=$.te(b);Vd.keys=SP.length?YM(b):h?h.keys:[];f=Vd;break;case "pattern":var hl={},TP=+b.getAttribute("x"),
  UP=+b.getAttribute("y"),VP=+b.getAttribute("width"),mC=+b.getAttribute("height");hl.type="pattern";hl.bounds=$.Ql(TP,UP,VP,mC);hl.properties=SM(b);hl.attrs=RM(a,b,"group");hl.features=TM(a,b,hl);hl.properties.id=hl.id=hl.attrs.id;f=hl;break;case "defs":case "desc":break;default:var nC=QM(b,d);f=TM(a,b,c,nC.ou)}f&&e&&(a.b[e]=f)}return f},UM=function(a,b){var c=b.getAttributeNS("http://www.w3.org/1999/xlink","href"),d=null;c&&(c=c.substring(1,c.length),d=$.uk(a.b[c]),d||(c=a.g.getElementById(c))&&(d=
  PM(a,c)));return d},YM=function(a){if(!a)return null;if((a=$.te(a))&&a.length){var b=[];for(var c=0,d=a.length;c<d;c++){var e=a[c],f=$.Me(e,"stop-color"),h=(0,window.parseFloat)($.Me(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},ZM=function(a,b){for(var c=b?b.clear():$.Vi(),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.jk(+h[0],+h[1],+h[2],+h[3],+h[4],+h[5]);break;case "Z":c.close()}}return c},QM=function(a,b){var c=a.tagName.toLowerCase();c="lineargradient"==c||"radialgradient"==c?a.getAttribute("gradientTransform"):a.getAttribute("transform");if(!c)return{self:null,ou:$.n(b)?b:null};c=$.Db(c);var d=c.clone();b&&$.zb(d,b);return{self:c,ou:d}},RM=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":$.n(d.fill.opacity)||(d.fill.opacity=k.value);$.n(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&&($.n(d.fill.color)||(b.style?(d.fill.color=$.Me(b,"fill"),$.Je(b,"fill","")):d.fill.color="black"),c=d.fill.color.trim(),$.Yb(c,"url")&&(e=c.replace(/"/g,"").replace(/^url\s*\(#(.+)\)/g,"$1"),d.fill=a.b[e]),
  d.stroke.color||(b.style?(d.stroke.color=$.Me(b,"stroke"),$.Je(b,"stroke","")):d.stroke.color="none"),$.Yb(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},SM=function(a){var b={};a=$.te(a);for(var c=0,d=a.length;c<d;c++){var e=a[c];if("desc"==e.tagName){a=$.te(e);c=0;for(d=a.length;c<d;c++)e=a[c],b[e.tagName]=e.textContent;break}}return b},VM=function(a,b,c,d){d=QM(b,d);if(d.ou){var e=$.Rc(c);
  for(var f=0,h=e.length;f<h;f++){var k=e[f].values;k&&d.ou.transform(k,0,k,0,k.length/2)}}f=SM(b);a=RM(a,b,"element");b=a.id;$.n(b)?f.id=b:$.n(f.id)&&(b=f.id);return{type:"path",properties:f,id:b,commands:c,commands_tx:e,attrs:a,tx:d}},$M=function(a,b,c,d,e,f,h,k,l,m,p){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(p){var u=p[0];l=p[1];var v=p[2];var x=p[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;x=
  u*u/(f*f)+v*v/(h*h);1<x&&(x=Math.sqrt(x),f*=x,h*=x);x=f*f;var w=h*h;l=(l===m?-1:1)*Math.sqrt(Math.abs((x*w-x*v*v-w*u*u)/(x*v*v+w*u*u)));v=l*f*v/h+(b+d)/2;x=l*-h*u/f+(c+e)/2;u=Math.asin(((c-x)/h).toFixed(9));l=Math.asin(((e-x)/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){w=l;var y=d,B=e;l=m&&l>u?u+120*Math.PI/180:u+120*Math.PI/180*-1;d=v+f*Math.cos(l);e=x+h*Math.sin(l);
  t=$M(a,d,e,y,B,f,h,k,0,m,[l,w,v,x])}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(p)return[b,c,d].concat(t);t=[b,c,d].concat(t).join().split(",");var F=[],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&&(F.push(C),C=[])});return F},Lea=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],p=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,p,q,r,h,l]});c=h;d=l;break;case "c":m=
  c+a.values[0];p=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,p,q,r,h,l]});c=h;d=l;break;case "Q":m=a.values[0];p=a.values[1];h=a.values[2];l=a.values[3];b.push({type:"Q",values:[m,p,h,l]});c=h;d=l;break;case "q":m=c+a.values[0];p=d+a.values[1];h=c+a.values[2];l=d+a.values[3];b.push({type:"Q",values:[m,p,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},WM=function(a,b){var c=[],d=null,e=null,f=null,h=null,k=null,l=null,m=null;(0,$.le)(b,function(a){switch(a.type){case "M":var b=
  a.values[0],p=a.values[1];c.push({type:"M",values:[b,p]});l=b;m=p;h=b;k=p;break;case "C":var t=a.values[0],u=a.values[1],v=a.values[2],x=a.values[3];b=a.values[4];p=a.values[5];c.push({type:"C",values:[t,u,v,x,b,p]});e=v;f=x;h=b;k=p;break;case "L":b=a.values[0];p=a.values[1];c.push({type:"L",values:[b,p]});h=b;k=p;break;case "H":b=a.values[0];c.push({type:"L",values:[b,k]});h=b;break;case "V":p=a.values[0];c.push({type:"L",values:[h,p]});k=p;break;case "S":v=a.values[0];x=a.values[1];b=a.values[2];
  p=a.values[3];if("C"===d||"S"===d){var w=h+(h-e);var y=k+(k-f)}else w=h,y=k;c.push({type:"C",values:[w,y,v,x,b,p]});e=v;f=x;h=b;k=p;break;case "T":b=a.values[0];p=a.values[1];"Q"===d||"T"===d?(t=h+(h-e),u=k+(k-f)):(t=h,u=k);w=h+2*(t-h)/3;y=k+2*(u-k)/3;c.push({type:"C",values:[w,y,b+2*(t-b)/3,p+2*(u-p)/3,b,p]});e=t;f=u;h=b;k=p;break;case "Q":t=a.values[0];u=a.values[1];b=a.values[2];p=a.values[3];w=h+2*(t-h)/3;y=k+2*(u-k)/3;c.push({type:"C",values:[w,y,b+2*(t-b)/3,p+2*(u-p)/3,b,p]});e=t;f=u;h=b;k=
  p;break;case "A":t=a.values[0];u=a.values[1];v=a.values[2];x=a.values[3];w=a.values[4];b=a.values[5];p=a.values[6];0===t||0===u?(c.push({type:"C",values:[h,k,b,p,b,p]}),h=b,k=p):h===b&&k===p||$M(this,h,k,b,p,t,u,v,x,w).forEach(function(a){c.push({type:"C",values:a});h=b;k=p});break;case "Z":c.push(a),h=l,k=m}d=a.type},a);return c},aN=function(){},Mea=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}},Nea=function(a,b,c){return"GeometryCollection"===c.type?{type:"FeatureCollection",features:(0,$.Va)(c.geometries,function(a){return bN(b,a)},a)}:bN(b,c)},bN=function(a,b){var c={type:"Feature",id:b.id,properties:b.properties||{},geometry:Oea(a,b)};null==b.id&&delete c.id;return c},Oea=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],p=0,B=m.length;p<B;++p)h.push(e=
  $.Ia(m[p],0)),k(e,p);0>f&&aN.td().reverse(h,B)}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=Mea(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)},cN=function(a){this.X=a;this.b=!0;this.hc=this.Dc=null},eN=function(){$.Yw.call(this);this.hb("map");this.gy=this.cs=null;this.MQ=[];this.sk=null;this.Tu=[];this.TI=this.wm=null;this.kq=0;this.Jw=!0;this.ca.zoomFactor=1.3;this.Fk=window.NaN;this.NY=new Fea(this);$.pd(this,"animationstart",function(){this.x0=!0},!1,this);$.pd(this,"animationend",
  function(){this.x0=!1;for(var a,b=this.bb.length;b--;)a=this.bb[b],21==a.te.type&&(a.Vy=this.df.Sf().clone(),a.u(1024),a.W());this.iA=!0;this.NR||dN(this)},!1,this);this.vq=!1;this.gY=(0,$.qa)(this.x8,this);this.tea=(0,$.qa)(function(){this.DG&&this.pq(this.XR);this.Cc.cc(this,["pointerdown","touchstart"],this.Y_,!1,this);this.Y_=null;this.Cc.cc(this,["pointermove","touchmove"],this.X_,!1,this);this.X_=null;this.T_=!1},this);this.S8=(0,$.qa)(function(){this.TJ||this.pq(this.XR);this.Cc.cc(this,["pointermove",
  "mousemove"],this.V_,!1,this);this.V_=null;this.ZY=!1},this);this.h4=(0,$.qa)(this.pq,this);this.vS=this.YH=null;this.ds=[];this.KB=null;this.Bo=[];this.uC("as-is");this.ca.defaultSeriesType="choropleth";this.Cc.qa(this,["pointerdown","touchstart"],this.sea);$.T(this.za,[["geoIdField",4194320,1],["overlapMode",8388608,1],["minZoomLevel",0,0],["maxZoomLevel",0,0]])},VL=function(a){a.Ze.nc(1,0,0,1,0,0);var b=a.df.Sf(),c;a.Nf&&a.Nf.update();for(c=a.bb.length;c--;){var d=a.bb[c];d.enabled()&&d.ox()}for(c=
  a.Bo.length;c--;)d=a.Bo[c],d.enabled()&&d.ox();if(a.Ym)for(d=a.Ym.Sl(),c=0;c<d.length;c++){var e=d[c];e.enabled()&&e.ox(b)}if(a.Cs)for(a=a.Cs.Sl(),c=a.length;c--;)d=a[c],d.enabled()&&d.ox(b)},gN=function(a,b){var c;fN(a)?c=$.Ti():c=new $.nz(a.ay,a.PV);c.parent(b);c.nc(1,0,0,1,0,0);return c},hN=function(a,b){for(var c=b.yj(),d=0,e=c.length;d<e;d++){var f=c[d];$.K(f,$.Vf)?a.PV(f):$.K(f,$.ag)&&hN(a,f)}},fN=function(a){return a.KB?"svg"==a.KB.La():a.wm?$.z(a.wm)&&$.Yb(a.wm,"<")||$.ke(a.wm):!1},dN=function(a){var b,
  c,d,e,f,h,k;var l={};var m={};var p="allow-overlap"!=a.i("overlapMode");a.NR=!0;for(b=a.bb.length;b--;){var q=a.bb[b];var r=q.La();if($.da(a.iA)?a.iA:a.iA[r]){var t=q.aa();var u=t.Mb();var v=null===q.xk()&&p||"no-overlap"==q.xk();r=l[r]?l[r]:l[r]=[];var x=0;for(c=u;x<c;x++){u={};u.U=q;u.nb=q.Un(x,$.Jk);a.NR=a.NR&&!u.nb;u.index=x;u.$n=[];u.state=!0;t.select(u.index);var w=t.j("currentPointElement"),y;w&&(y=w.properties);w=t.get("overlapMode");w=null!=w?w:y&&null!=y.overlapMode?y.overlapMode:null;u.WQ=
  null==w&&v||null!=w&&"no-overlap"==$.Aj(w);w=t.get("labelrank");u.VK=(0,window.parseFloat)($.n(w)?w:y&&$.n(y.labelrank)?y.labelrank:0);r.push(u)}m[q.ja()]=[]}}$.sc(l,function(a){b=0;for(c=a.length;b<c;b++){h=a[b];e=h.nb;x=0;for(d=a.length;x<d;x++)k=a[x],f=k.nb,b!=x&&$.Kl(e,f)&&h.$n.push(k);h.sQ=h.$n.length}for(var l=new FM(a,function(a,b){a=a?a.sQ:window.NaN;b=b?b.sQ:window.NaN;return a>b?1:0});a.length;){var p=l.pop();if(p.state&&p.WQ){b=0;for(c=p.$n.length;b<c;b++){var q=p.$n[b];q.state&&p.state&&
  (p.WQ&&!q.WQ?p.state=!1:p.VK==q.VK?p.U.ja()<=q.U.ja()&&(p.state=!1):p.VK<q.VK&&(p.state=!1))}if(!p.state)for(b=0,c=p.$n.length;b<c;b++)q=p.$n[b],q.sQ--,q=(0,$.ya)(a,q),-1!=q&&EM(l,q)}m[p.U.ja()][p.index]=p.state}});for(b=a.bb.length;b--;)q=a.bb[b],$.V(q),Bea(q,m[q.ja()]),q.W(),q.ba(!1)},QL=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={};$.vc(f,"properties")&&(m.properties=$.Cc(f.properties))}else e&&(m=a.sk[l]);if($.vc(f,"geometries")){var p=f.geometries;d?k=
  []:e&&(k=m.geometries);var q=p.length;for(f=0;f<q;f++){var r=d?k[f]={}:e?k[f]:null;iN(a,p[f],c,r,d)}}else iN(a,f,c,m,d);d&&(a.sk[l]=m)}},jN=function(a,b,c,d){if(b){var e;if(fN(a)){if($.vc(b,"type"))if("group"==b.type){b.da||(b.da=gN(a,c));var f=b.features;var h=f.length;for(e=0;e<h;e++)jN(a,f[e],b.da,d);$.sc(b.attrs,function(a,c){"id"==c?b.da.id(a):"clip-path"==c?(a.da=ZM(a.commands,a.da),b.da.clip(a.da)):b.da.Yd(c,a)},a)}else"image"==b.type?(b.da||(b.da=c.nj()),d=b.bounds,b.da.x(d.left),b.da.y(d.top),
  b.da.width(d.width),b.da.height(d.height),b.da.src(b.attrs["xlink:href"])):"path"==b.type?(b.da||(b.da=a.ay(c)),ZM(b.commands,b.da),$.sc(b.attrs,function(a,d){if("id"==d)b.da.id(a);else if("clip-path"==d)a.da=ZM(a.commands,a.da),b.da.clip(a.da);else if("fill"==d){if($.D(a))if(a.type&&"pattern"==a.type){var k=a.bounds;if(!a.da)for(a.da=$.Jb(k),a.da.parent(c),a.da.nc(1,0,0,1,0,0),f=a.features,h=f.length,e=0;e<h;e++)jN(this,f[e],a.da,null);k=a.da}else k=a;else k=a;b.da.fill(k)}else if("stroke"==d){if($.D(a))if(a.type&&
  "pattern"==a.type){k=a.bounds;if(!a.da)for(a.da=$.Jb(k),a.da.parent(c),a.da.nc(1,0,0,1,0,0),f=a.features,h=f.length,e=0;e<h;e++)jN(this,f[e],a.da,null);k=a.da}else k=a;else k=a;b.da.stroke(k)}else b.da.Yd(d,a)},a)):"text"==b.type&&(b.da||(b.da=new $.th),d=b.cloneNode.cloneNode(!0),d.removeAttribute("transform"),b.da.content(d));b.da&&((d=b.tx?b.tx.self:null)&&b.da.nc(d.Dd,d.Fe,d.Pe,d.Ae,d.Ed,d.Fd),b.da.parent(c),"group"!=b.type&&a.Tu.push(b.da))}else if(d=$.oz(c),b.da=d,a.Tu.push(d),$.vc(b,"geometries"))for(d=
  b.geometries,h=d.length,e=0;e<h;e++)iN(a,d[e],a.zW);else iN(a,b,a.zW);if(a.J(262144)){for(d=a.bb.length;d--;)a.bb[d].Vq=a.sk;a.I(262144)}}},iN=function(a,b,c,d,e){var f,h;if(b)if($.vc(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 p=m.outerPath;var q=m.holes;if(e){p=$.Ga(p);var r={outerPath:p,holes:[]}}else if(d){r=h[f];p=r.outerPath=$.Ga(p);var t=r.holes}var u=p.length;for(m=0;m<u-1;m+=2)c.call(a,p,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(p=0;p<v.length-1;p+=2)c.call(a,v,p,b)}e&&h.push(r)}e&&(d.polygones=h)}else if($.vc(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($.vc(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($.vc(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={},$.vc(r,"properties")&&(l.properties=r.properties)):d&&(l=r),iN(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}},kN=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);kN(a,h,c,d)}else c.call(d,b)},lN=function(a,b){if(!a.sk)return null;for(var c=0,d=a.sk.length;c<d;c++){var e=a.sk[c];if(e.properties[a.i("geoIdField")]==
  b)return e}return null},ML=function(a){var b=a.vS;b||(a.Tda={},b=a.Tda.root=a,a.BS="root",a.YH=b,a.vS=b);return b},mN=function(a){a=a.vy();return{type:"drillchange",path:a,current:a[a.length-1]}},nN=function(a,b,c){if(a.O()){var d=ML(a),e=a.Ph();d.Zt=!0;var f=lN(e,b);if(f){var h=f.da.Sp();f=f.properties}else $.Rj(301,null,[b]),h=(h=d.Ff())?new $.J(h.left+h.width/2-1,h.top+h.height/2-1,1,1):new $.J(0,0,1,1),f={},f[e.i("geoIdField")]=b;var k=c.F(),l={map:$.Qk("map")};k=$.kl(k,l).map;l=k.series;$.n(k.maxZoomLevel)||
  $.Ep(c,"maxZoomLevel",e.i("maxZoomLevel"));$.n(k.minZoomLevel)||$.Ep(c,"minZoomLevel",e.i("minZoomLevel"));if(l&&l.length&&!$.n(l[0].colorScale)){var m=e.Te(0).se();c.Te(0).se(m)}l&&l.length&&"choropleth"==l[0].seriesType&&!k.colorRange&&(l=e.Mi(),c.Mi(l.F()),m=c.Mi(),m.labels().format(l.labels().format()),m.labels().positionFormatter(l.labels().positionFormatter()),m.ab().format(l.ab().format()),m.ab().positionFormatter(l.ab().positionFormatter()));k.legend||(k=e.mf(),c.mf(k.F()));c.cda=e;c.vS=ML(a);
  c.enabled(!0).O(a.O()).W();c.md();c.BS=b;c.lb(d);b=TL(c,h,void 0,!0);c.vq=!0;c.Fk=0;c.lm(1/b[0],b[1],b[2]);a.Xt(c,function(a,b,c,d,e){c.Zt&&(b.Za().md(null),b.md(),b.sd(),c.YH=a,c.ds.push(new BL(b,a,e,this.BS)),a.show(),a.Za().md(null),b=TL(a,d,void 0,!0),a.Fk=400,a.vq=!0,a.lm(this.i("minZoomLevel"),b[1],b[2]),this.Xt(a,function(a){this.lm(this.i("minZoomLevel"));a.Zt=!1;(0,window.setTimeout)((0,$.qa)(function(){this.dispatchEvent(mN(this))},a),0)},c))},c,e,d,h,f)}},Pea=function(a){a=a.Ph();var b=
  a.df,c=a.i("minZoomLevel"),d=b.eb();b=b.HE();var e=(d.left+d.width/2)*(1-c);d=(d.top+d.height/2)*(1-c);return $.El(a.Uf(),c)&&$.El(b[4],e)&&$.El(b[5],d)},oN=function(a,b,c){var d=ML(a),e=a.Ph();if(e!=b){d.Zt=!0;e.Fk=700;Pea(e)||e.lm(a.i("minZoomLevel"));var f=c||1;a.Xt(e,function(a,b){var c=lN(a,b.ds[b.ds.length-f].qw());if(c){var d=c.da.Sp();var e=TL(this,d);c=e[0];d=e[1];e=e[2]}else $.Rj(301,null,[this.BS]),c=10;this.vq=!0;this.Fk=400;this.lm(1/c,d,e);this.Xt(this,function(a,b){this.lm(this.i("minZoomLevel"));
  this.md();this.sd();this.enabled(!1);b.YH=a;b.Zt=!1;$.Ba(b.ds,b.ds.length-f,f);a.Za().md(null);this.Za().md(null);a.show();(0,window.setTimeout)((0,$.qa)(function(){this.dispatchEvent(mN(this))},b),0)},a,b)},b,d)}},pN=function(a,b){return{type:b,target:a.Ph(),from:a.Vz,current:a.Po,to:a.mM}},TL=function(a,b,c,d){a=a.Ph();var e=b.left+b.width/2,f=b.top+b.height/2,h=$.n(c)?c:a.Ff(),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.Uf(),
  a.i("maxZoomLevel")),a.i("minZoomLevel"))/a.Uf());$.El(b,1,1E-7)?(d=k-e,f=c-f):(d=(k-b*e)/(1-b),f=(c-b*f)/(1-b));b*=a.Uf();return[b,d,f]},qN=function(a){$.$x.call(this,a)},rN=function(a){$.$x.call(this,a)},sN=function(a){$.$x.call(this,a);this.b=$.yy("curvature",$.O,!1,"curvature");this.g=$.yy("startSize",$.Uo,!1,"startSize");this.f=$.yy("endSize",$.Uo,!1,"endSize")},tN=function(a,b,c,d,e,f,h,k,l,m,p,q,r,t){var u=Math.abs(d-f);var v=Math.abs(e-h);v=$.Bl($.bb(Math.atan(v/u)),7);var x;f<d&&h<e?x=v:
  f<d&&h>e?x=-v:f>d&&h>e?x=v-180:f>d&&h<e&&(x=180-v);var w=p/2;v=0>q?-90:90;var y=d+Math.cos($.I(x+v))*w,B=e+Math.sin($.I(x+v))*w;p=d+Math.cos($.I(x-v))*w;x=e+Math.sin($.I(x-v))*w;u=Math.abs(b-k);v=Math.abs(c-l);v=$.Bl($.bb(Math.atan(v/u)),7);var F;k<b&&l<c?F=v-180:k<b&&l>c?F=180-v:k>b&&l>c?F=v:k>b&&l<c&&(F=-v);w=m/2;v=0>q?-90:90;u=b+Math.cos($.I(F+v))*w;var C=c+Math.sin($.I(F+v))*w;m=b+Math.cos($.I(F-v))*w;F=c+Math.sin($.I(F-v))*w;var N=$.Nl(u,C,y,B);v=N/2*q;var P=(u+y)/2+Math.cos($.I(t))*v*1.2,Q=
  (C+B)/2+Math.sin($.I(t))*v*1.2;v=N/2*q;w=0<q?1:-1;w=Math.abs(v)<N/4?N/4*w:Math.abs(v)>N/2?N/2*w:v;v=(0>q?90:-90)*r;N=P+Math.cos($.I(t+v))*w;var S=Q+Math.sin($.I(t+v))*w;v=(0>q?-90:90)*r;P+=Math.cos($.I(t+v))*w;v=Q+Math.sin($.I(t+v))*w;a.moveTo(y,B);a.jk(N,S,P,v,u,C);u=$.Nl(m,F,p,x);B=u/2*q;y=(m+p)/2+Math.cos($.I(t))*B*1.2;B=(F+x)/2+Math.sin($.I(t))*B*1.2;v=u/2*q;w=0<q?1:-1;w=Math.abs(v)<u/4?u/4*w:Math.abs(v)>u/2?u/2*w:v;v=(0>q?90:-90)*r;u=y+Math.cos($.I(t+v))*w;C=B+Math.sin($.I(t+v))*w;v=(0>q?-90:
  90)*r;q=y+Math.cos($.I(t+v))*w;t=B+Math.sin($.I(t+v))*w;a.lineTo(m,F);a.jk(q,t,u,C,p,x);a.close();return[b,c,k,l,f,h,d,e]},uN=function(a){$.zz.call(this,a)},vN=function(){var a=new eN;a.tf();a.fa(!0,$.Qk("map"));return a},wN=function(a){var b=new eN;b.tf();b.ca.defaultSeriesType="bubble";b.fa(!0,$.Qk("bubbleMap"));for(var c=0,d=arguments.length;c<d;c++)b.bubble(arguments[c]);return b},xN=function(a){var b=new eN;b.tf();b.ca.defaultSeriesType="choropleth";b.fa(!0,$.Qk("choropleth"));for(var c=0,d=
  arguments.length;c<d;c++)b.choropleth(arguments[c]);return b},yN=function(a){var b=new eN;b.tf();b.ca.defaultSeriesType="connector";b.fa(!0,$.Qk("connector"));for(var c=0,d=arguments.length;c<d;c++)b.connector(arguments[c]);return b},zN=function(a){var b=new eN;b.tf();b.ca.defaultSeriesType="marker";b.fa(!0,$.Qk("markerMap"));for(var c=0,d=arguments.length;c<d;c++)b.marker(arguments[c]);return b},AN=function(a){var b=new eN;b.tf();b.ca.defaultSeriesType="choropleth";b.fa(!0,$.Qk("seatMap"));for(var c=
  0,d=arguments.length;c<d;c++)b.choropleth(arguments[c]);return b};$.dd.prototype.fX=$.ca(0,function(){return this.pk});var Qea={yfa:"as-is",jha:"hide"},Rea={jga:"choropleth",sM:"bubble",wt:"marker",nga:"connector"},xL=!1;$.H(fL,$.sv);fL.prototype.handleEvent=function(a){this.b(a)&&(a.preventDefault(),fL.B.handleEvent.call(this,a))};fL.prototype.R=function(){fL.B.R.call(this);this.b=null};$.g=gL.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.ii=function(a,b){return[a,b]};$.H(iL,gL);iL.prototype.forward=function(a,b){a=$.I(a);b=$.I(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]};
  iL.prototype.ii=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),p=Math.cos(d),q=Math.sin(2*d),r=m*m,t=p*p,u=k*k,v=1-t*l*l,x=v?this.acos(p*l)*Math.sqrt(f=1/v):f=0;v=2*x*p*k-a;var w=x*m-b,y=f*(t*u+x*p*l*r),B=f*(.5*h*q-2*x*m*k);h=.25*f*(q*k-x*m*t*h);p=f*(r*l+x*u*p);l=B*h-p*y;if(!l)break;B=(w*B-v*p)/l;v=(v*h-w*y)/l;c-=B;d-=v}while((1E-6<Math.abs(B)||1E-6<Math.abs(v))&&0<--e);return[$.Ya($.bb(c),
  -180,180),$.Ya($.bb(d),-180,180)]};$.H(jL,gL);jL.prototype.forward=function(a,b){a=$.I(a);b=$.I(b);var c=Math.tan(b/2),d=hL(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)]};
  jL.prototype.ii=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+hL(d*d-1))/3):(d=Math.abs(a),d=Math.log(d+hL(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(kL,gL);kL.prototype.forward=function(a,b){a=$.I(a);b=$.I(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]};kL.prototype.ii=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(lL,gL);lL.prototype.forward=function(a,b){a=$.I(a);b=$.I(b);var c=Math.sqrt(8/(3*Math.PI));a=c*a*(1-Math.abs(b)/Math.PI);return[a,c*b]};lL.prototype.ii=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(mL,gL);mL.prototype.forward=function(a,b){a=$.I(a);b=$.I(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]};mL.prototype.ii=function(a,b){var c=Math.sqrt(Math.PI*(4+Math.PI))/2;a=a*c/(1+hL(1-b*b*(4+Math.PI)/(4*Math.PI)));return[$.bb(a),$.bb(b*c/2)]};$.H(nL,gL);nL.prototype.forward=function(a,b){a=$.I(a);b=$.I(b);return[a,b]};nL.prototype.ii=function(a,b){return[$.bb(a),$.bb(b)]};$.H(oL,gL);oL.prototype.forward=function(a,b){a=$.I(a);b=$.I(b);var c=Math.cos($.I(35)),d=Math.tan(b/2);a=a*c*hL(1-d*d);return[a,(1+c)*d]};oL.prototype.ii=function(a,b){var c=Math.cos($.I(35)),d=b/(1+c);a=a?a/(c*hL(1-d*d)):0;b=2*Math.atan(d);return[$.bb(a),$.bb(b)]};$.H(pL,gL);pL.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]};pL.prototype.ii=function(a,b){var c=$.Nl(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(qL,gL);qL.prototype.forward=function(a,b){a=$.I(a);b=$.I(b);var c=this.f.forward(a/2,b);c[0]*=this.b;a=c[0];b=c[1];return[a,b]};qL.prototype.ii=function(a,b){var c=this.f.ii(a/this.b,b);c[0]*=2;a=c[0];b=c[1];return[$.bb(a),$.bb(b)]};$.H(rL,gL);rL.prototype.forward=function(a,b){a=$.I(a);b=$.I(b);b=Math.log(Math.tan(Math.PI/4+b/2));return[a,b]};rL.prototype.ii=function(a,b){b=2*Math.atan(Math.exp(b))-Math.PI/2;return[$.bb(a),$.bb(b)]};$.H(sL,gL);sL.prototype.forward=function(a,b){a=$.I(a);b=$.I(b);var c=this.b.forward(a,b);a=c[0];b=c[1];return[a,b]};sL.prototype.ii=function(a,b){var c=this.b.ii(a,b);a=c[0];b=c[1];return[$.bb(a),$.bb(b)]};$.H(tL,gL);tL.prototype.forward=function(a,b){return this.b(this.f).forward([a,b])};tL.prototype.ii=function(a,b){return this.b(this.f).inverse([a,b])};$.H(uL,gL);var BN=[[.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]];
  uL.prototype.forward=function(a,b){if((0,window.isNaN)(a)||(0,window.isNaN)(b))return[window.NaN,window.NaN];a=$.I(a);b=$.I(b);var c,d=Math.min(18,36*Math.abs(b)/Math.PI),e=Math.floor(d);d-=e;var f=(c=BN[e])[0],h=c[1],k=(c=BN[++e])[0],l=c[1];e=(c=BN[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]};
  uL.prototype.ii=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=BN[f][1],k=BN[f+1][1],l=BN[Math.min(19,f+2)][1],m=l-h,p=2*(Math.abs(c)-k)/m;h=(l-2*k+h)/m;p*=1-h*p*(1-2*h*p);if(0<=p||1===f){d=(0<=b?5:-5)*(p+e);c=50;do e=Math.min(18,Math.abs(d)/5),f=Math.floor(e),p=e-f,h=BN[f][1],k=BN[f+1][1],l=BN[Math.min(19,f+2)][1],d-=$.bb(e=(0<=b?Math.PI/2:-Math.PI/2)*(k+p*(l-h)/2+p*
  p*(l-2*k+h)/2)-b);while(1E-12<Math.abs(e)&&0<--c);break}}while(0<=--f);e=BN[f][0];c=BN[f+1][0];f=BN[Math.min(19,f+2)][0];b=$.I(d);return[$.bb(a/(c+p*(f-e)/2+p*p*(f-2*c+e)/2)),$.bb(b)]};$.H(vL,gL);vL.prototype.forward=function(a,b){a=$.I(a);b=$.I(b);a*=Math.sqrt(1-3*b*b/(Math.PI*Math.PI));return[a,b]};vL.prototype.ii=function(a,b){a/=Math.sqrt(1-3*b*b/(Math.PI*Math.PI));return[$.bb(a),$.bb(b)]};$.H(AL,$.Tu);$.g=AL.prototype;$.g.nM=function(a){return $.n(a)?(a=!!a,a!=this.o&&(this.o=a),this):this.o};$.g.XJ=function(a){return $.n(a)?(a=!!a,a!=this.g&&(this.g=a),this):this.g};$.g.ei=function(a){return $.n(a)?(a=!!a,a!=this.f&&(this.f=a),this):this.f};$.g.HD=function(a){return $.n(a)?(a!=this.b&&(this.b=a),this):this.b};$.g.Y=function(a,b){AL.B.Y.call(this,a,b);this.Lr(a.zoomOnMouseWheel);this.XJ(a.keyboardZoomAndMove);this.nM(a.zoomOnDoubleClick);this.ei(a.drag);this.HD(a.copyFormat)};
  $.g.F=function(){var a=AL.B.F.call(this);a.zoomOnMouseWheel=this.Lr();a.keyboardZoomAndMove=this.XJ();a.zoomOnDoubleClick=this.nM();a.drag=this.ei();$.E(this.HD())||(a.copyFormat=this.HD());return a};var CN=AL.prototype;CN.zoomOnMouseWheel=CN.Lr;CN.keyboardZoomAndMove=CN.XJ;CN.zoomOnDoubleClick=CN.nM;CN.drag=CN.ei;CN.copyFormat=CN.HD;$.H(BL,$.Vx);$.g=BL.prototype;$.g.get=function(a){return $.E(this.ya.data)?this.ya.data().get(this.index,a):void 0};$.g.qw=function(){return this.id};$.g.G5=function(){return this.f};$.g.mX=function(){return this.b};$.g.r$=function(){return this.ic()};var DN=BL.prototype;DN.getId=DN.qw;DN.getProperties=DN.G5;DN.getCurrentChart=DN.mX;DN.getParentChart=DN.r$;DN.get=DN.get;$.H(CL,$.Wx);$.g=CL.prototype;$.g.pw=function(){var a=this.U.aa();a.select(this.index);return a.j("features")[0].properties};$.g.l$=function(){var a=this.U.aa();a.select(this.index);return a.j("features")[0].da.Sp()};$.g.wba=function(a){if($.n(a))return this.set("middle-x",a),this;a=this.U.aa();a.select(this.index);a=(a=a.j("features"))&&a.length?a[0].properties:null;var b=this.get("middle-x");return $.n(b)?b:a?a["middle-x"]:.5};
  $.g.xba=function(a){if($.n(a))return this.set("middle-y",a),this;a=this.U.aa();a.select(this.index);a=(a=a.j("features"))&&a.length?a[0].properties:null;var b=this.get("middle-y");return $.n(b)?b:a?a["middle-y"]:.5};$.g.Mea=function(a,b){var c=this.ic();return $.n(a)||$.n(b)?(c.iP(this.pw()[FL(this.U)],a,b),this):c.iP(this.pw()[FL(this.U)])};$.g.translate=function(a,b){this.ic().l0(this.pw()[FL(this.U)],a,b);return this};
  $.g.Of=function(a){var b=this.ic();return $.n(a)?(b.gP(this.pw()[FL(this.U)],a),this):b.gP(this.pw()[FL(this.U)],a)};$.g.Sda=function(a){var b=this.ic();return $.n(a)?(b.hP(this.pw()[FL(this.U)],a),this):b.hP(this.pw()[FL(this.U)],a)};var EN=CL.prototype;EN.getFeatureProp=EN.pw;EN.getFeatureBounds=EN.l$;EN.middleX=EN.wba;EN.middleY=EN.xba;EN.translation=EN.Mea;EN.translate=EN.translate;EN.crs=EN.Of;EN.scaleFactor=EN.Sda;$.H(DL,$.Gy);$.g=DL.prototype;$.g.ua=$.Gy.prototype.ua|1152;$.g.oa=$.Gy.prototype.oa|4194304;$.g.zM=1.3E-5;$.g.JC={};$.g.us=function(){return 0};$.g.wj=null;
  $.g.Ee=function(a,b,c){a=a||this.i("color")||"blue";var d,e=this.aa(),f={},h=this.se();c=$.n(c)&&c;h&&!c&&(c=e.get(this.te.Ek),$.n(c)&&(d=h.Jr(c)),$.Ec(f,{scaledColor:d,colorScale:h}));IL(this)&&(d=e.j("currentPointElement"),h=(h=e.j("features"))&&h.length?h[0]:null,$.Ec(f,{properties:h?h.properties:null,attributes:d?d.attrs:null,element:d?d.domElement:null}));f.sourceColor=a;this.Fr()&&(e=b?this.Bf():e,$.Ec(f,{index:e.ja(),sourceColor:a,iterator:e,referenceValueNames:this.ee()}));return f};
  $.g.Qh=function(a){var b=this.Bg();return this.Fr()?(a=a?this.Bf():this.aa(),{index:a.ja(),sourceHatchFill:b,iterator:a,referenceValueNames:this.ee()}):{sourceHatchFill:b}};$.g.VA=function(a){return $.n(a)?(a!=this.b&&(this.b=a,this.u(1536,5)),this):this.b||this.g};
  $.g.Un=function(a,b){var c=this.aa();c.select(a);var d=$.n(b)?b:$.Zu(this.state,a),e=!!(d&2),f=!e&&!!(d&1),h,k=c.get("normal");k=$.n(k)?k.label:void 0;var l=(k=$.zn(k,c.get("label")))&&$.n(k.enabled)?k.enabled:null;var m=this.Ma().labels(),p=null;if(e){var q=c.get("selected");q=$.n(q)?q.label:void 0;var r=(q=$.zn(q,c.get("selectLabel")))&&$.n(q.enabled)?q.enabled:null;p=this.selected().labels()}else f?(q=c.get("hovered"),q=$.n(q)?q.label:void 0,r=(q=$.zn(q,c.get("hoverLabel")))&&$.n(q.enabled)?q.enabled:
  null,p=this.fb().labels()):q=null;e||f?h=null===r?null===p.enabled()?null===l?m.enabled():l:p.enabled():r:h=null===l?m.enabled():l;return h?(c=GL(this,d),c=this.Jj(c),d=this.Ec(!0),e={},k&&$.Ec(e,k),p&&$.Ec(e,$.$I(p)),q&&$.Ec(e,q),q=e.anchor,$.n(q)&&null!==q||(e.anchor=this.aa().j("labelAnchor")),$.Rl(m.measure(d,c,e,a))):null};
  $.g.xk=function(a){return $.n(a)?(a=!1===a?"no-overlap":a,a=null===a?a:"allow-overlap"==$.Aj(a),this.wj!=a&&(this.wj=a,this.u(256,1025)),this):null===this.wj?this.ya.i("overlapMode"):this.wj?"allow-overlap":"no-overlap"};$.g.Pf=function(a,b,c){var d=a.ja();this.f&&$.n(this.f[d])&&!this.f[d]||DL.B.Pf.call(this,a,b,c)};$.g.rX=function(){return this.va};$.g.NJ=function(){return!0};
  $.g.wF=function(a){if(22==this.te.type||this.pj()){var b=JL(this,a);a.j("x",b?b.x:window.NaN);a.j("value",b?b.y:window.NaN)}this.pj()&&a.j("size",this.vD(Number(a.get("size"))))};
  $.g.$m=function(){for(var a=-window.Infinity,b=window.Infinity,c=0,d=0,e=this.tc();e.advance();){var f=this.LP();f&&(f=$.O(f[0]),(0,window.isNaN)(f)||(a=Math.max(a,f),b=Math.min(b,f),c+=f));d++}e=c/d;this.wa("seriesMax",a);this.wa("seriesMin",b);this.wa("seriesSum",c);this.wa("seriesAverage",e);this.wa("seriesPointsCount",d);this.wa("seriesPointCount",d)};$.g.ox=function(){var a=this.tc(),b=this.O()?this.O().Da():null,c=b&&!b.Ne();for(c&&b.suspend();a.advance()&&this.enabled();)Eea(this);c&&b.resume()};
  $.g.Fj=function(a,b){var c=this.aa();if(this.mg())if(IL(this)){var d=c.j("features");if(!d)return;for(var e=0,f=d.length;e<f;e++){var h=d[e];$.n(h.da)&&kN(this.ic(),h,function(b){var d=b.da;d&&$.K(d,$.Df)&&(c.j("currentPointElement",b),d={foreignFill:d},b.aY&&(d.hatchFill=b.aY),this.jf.xn(a,d),this.jf.nx(a,d))},this)}}else d=c.j("shapes"),this.jf.xn(a,d),this.jf.nx(a,d);this.check(256)&&this.yI(c,a,!0);this.te.vC(c,a);this.check(4194304)&&this.Mo(c,a,!0);this.check($.Hy)&&this.Pf(c,a,!0);return b};
  $.g.Uo=$.ia;$.g.GV=function(){this.I(65536)};
  $.g.kb=function(){IL(this)||this.I(65536);if(this.J(4194304)||this.J(65536)){var a=this.xm(),b=this.ee();this.IS.length=0;var c=this.tc(),d=this.ya.bF,e;for(d&&(e=d[this.VA()]);c.advance();){if(this.J(4194304)){if(!e)continue;d=c.get(b[0]);if(!d||!($.ea(d)||$.z(d)||$.A(d)))continue;d=$.A(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.IS[c.ja()]=l)}c.j("features",f)}this.J(65536)&&(d=c.get(b[1]),a&&a.Vc(d))}this.J(65536)&&a&&a.Ug();this.I(4194304);
  this.I(65536)}};$.g.dd=function(){this.kb();this.Vy=this.ya.df.Sf().clone();DL.B.dd.call(this)};$.g.qm=function(a,b){if(this.J(4)&&IL(this)){var c=a.j("features");if(c)for(var d=0,e=c.length;d<e;d++){var f=c[d];$.n(f.da)&&$.is(this,f.da)}}DL.B.qm.call(this,a,b)};
  $.g.aB=function(a){var b=this.kr();b.I(b.oa);var c=b.F(),d={sourceColor:this.i("color")};$.E(b.er())&&(c.iconFill=b.er().call(d,d));$.E(b.gr())&&(c.iconStroke=b.gr().call(d,d));$.E(b.fr())&&(d.sourceColor=this.oD,c.iconHatchFill=b.fr().call(d,d));b=this.yA();var e;$.E(a)&&(e=a.call(b,b));$.z(e)||(e=this.name());"marker"==c.iconType&&this.check(4194304)&&(a=this.Ma().Bb(),c.iconFill=a.fill(),c.iconStroke=a.stroke());c.iconType=this.$A(c.iconType,b);e={text:e,iconEnabled:!0,iconStroke:void 0,iconFill:this.i("color"),
  iconHatchFill:void 0,disabled:!this.enabled()};$.Ec(e,c);return e};$.g.zO=function(){return[this,this.ic()]};$.g.zP=function(){return{}};
  $.g.Ro=function(a,b){var c=this.Wo(),d={chart:{value:this.ic(),type:""},series:{value:this,type:""},scale:{value:c,type:""},index:{value:b.ja(),type:"number"},seriesName:{value:this.name(),type:"string"},id:{value:b.get("id"),type:"string"}},e=b.get("value");$.n(e)&&(d.value={value:e,type:"number"});c&&$.E(c.La)&&(d.xScaleType={value:c.La(),type:"string"});e=this.ee();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.te.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.yP=function(){return $.Ey(this,new $.ru)};
  $.g.KD=function(){return this.yP()};$.g.aZ=function(){return!1};$.g.H5=function(a,b){var c=this.ya.scale().transform(a,b);return{x:c[0],y:c[1]}};$.g.Ec=function(a){if(!this.o||a)this.o=new $.ru;return $.Ey(this,this.o)};
  $.g.zI=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.Od(c):h.Yp(c);m?(e&&m.vf(e),m.rc(d)):m=e?h.add(e,d,c):h.add(d,c);m.Xh();if(e)m.gk(this.aa().j("labelAnchor")),b.unshift(m),this.XS.apply(this,b);else{$.Av(m,k||h);l=$.Cc(l||{});a=$.Cc(a||{});b=m.qc("rotation");if(!$.n(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.qc("anchor");$.n(b)&&null!==b||(b=this.aa().j("markerAnchor"),
  "anchor"in l||(l.anchor=b),"anchor"in a||(a.anchor=b));m.Yc(l,a)}f&&m.W();24==this.te.type&&(m.Vy=this.ya.df.Sf().clone());return m};
  $.g.Jj=function(a){var b=this.aa(),c={x:0,y:0};switch(this.te.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:$.$m(a)?k=(0,window.parseFloat)(a)/100:(k=$.O(a),(0,window.isNaN)(k)&&(k=.5))}else k=$.O(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 p=(d-h)/a,q=f[l+2],r=f[l+3],t=f[l+4],u=f[l+5],v=
  f[l+6],x=f[l+7];c=t+(q-t)*(1-p);var w=u+(r-u)*(1-p);t=v+(t-v)*(1-p);u=x+(u-x)*(1-p);q=c+(q+(f[l]-q)*(1-p)-c)*(1-p);r=w+(r+(f[l+1]-r)*(1-p)-w)*(1-p);c=t+(c-t)*(1-p);t=u+(w-u)*(1-p);w=c+(q-c)*(1-p);p=t+(r-t)*(1-p);u=$.Bl($.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",HL($.ab(u+90)));b.j("markerRotation",u);b.j("markerAnchor",1==k?"right-center":k?"center":"left-center")}h+=a}this.ya.x0||this.ya.Qba||21!=this.te.type?(e=this.Vy,
  b=this.ya.df.Sf().clone(),e&&$.qb(b,$.Ab(e)),e=b.Dd,c={x:w*e+b.Ed,y:p*e+b.Fd}):c={x:w,y:p}}else c={x:0,y:0};break;case 22:case 23:c=JL(this,b);break;case 24:if(p=(w=b.j("features"))&&w.length?w[0]:null){w=LL(this);if(a=b.get("label"))l=a.positionMode,k=a.x,f=a.y;if(c=(c=p.properties)&&c.label)m=c&&c.positionMode,d=a.x,h=a.y;l=l||m||"relative";k=$.n(k)?k:d;h=$.n(f)?f:h;$.n(k)&&$.n(h)?(b.j("positionMode",l),e=w.x,f=w.y,"relative"==l?(k=$.an(k),h=$.an(h),k=$.$m(k)?(0,window.parseFloat)(k)/100:k,h=$.$m(h)?
  (0,window.parseFloat)(h)/100:h,(p=p.da)?(p=p.Sp(),k=p.left+p.width*k,h=p.top+p.height*h):h=k=0):"absolute"==l?(h=this.ya.scale().transform((0,window.parseFloat)(k),(0,window.parseFloat)(h)),k=h[0],h=h[1]):"offset"==l&&(p=$.I((0,window.parseFloat)(k)-90),h=(0,window.parseFloat)(h),k=e+h*Math.cos(p),h=f+h*Math.sin(p)),p=$.Bl($.bb(Math.atan(Math.abs(f-h)/Math.abs(e-k))),7),e<k&&f<h?p-=180:e<k&&f>h?p=180-p:e>k&&f>h||e>k&&f<h&&(p=-p),e=HL($.ab(p-90)),b.j("labelAnchor",e),b.j("markerAnchor",e),e={x:k,y:h}):
  (b.j("labelAnchor","center"),b.j("markerAnchor","center"))}else w=null;e?(e.connectorPoint={value:w},c=e):c=w;if(b=c&&c.connectorPoint)return delete c.connectorPoint,{connectorPoint:b,value:c}}return{value:c}};$.g.LP=function(){return this.enabled()?[this.aa().get(this.te.Ek)]:null};$.g.ud=function(a){return IL(this)?new CL(this,a):DL.B.ud.call(this,a)};var FN={};$.R(FN,0,"startSize",$.Uo);$.R(FN,0,"endSize",$.Uo);$.R(FN,0,"curvature",$.Uo);$.Zo(DL,FN);
  DL.prototype.F=function(){var a=DL.B.F.call(this);$.lp(this,FN,a);a.seriesType=this.La();a.overlapMode=this.wj;$.n(this.b)&&(a.geoIdField=this.b);return a};DL.prototype.Y=function(a,b){DL.B.Y.call(this,a,b);$.bp(this,FN,a);this.xk(a.overlapMode);this.VA(a.geoIdField)};var GN=DL.prototype;GN.overlapMode=GN.xk;GN.geoIdField=GN.VA;GN.transformXY=GN.H5;GN.getPoint=GN.ud;$.H(OL,$.Jw);OL.prototype.fv=function(){this.g||NL(this.map.NY,1);OL.B.fv.call(this)};OL.prototype.$k=function(){this.g||NL(this.map.NY,0);OL.B.$k.call(this)};OL.prototype.R=function(){OL.B.R.call(this);this.map=null};$.H(PL,OL);PL.prototype.YN=function(a,b){var c=(a[b]-this.vd.vh)/this.vd.scale;var d=(a[b+1]-this.vd.bi)/this.vd.scale;this.sG&&(d=this.sG.ii(c,d),c=d[0],d=d[1]);c=this.vd.In.forward(c,d);a[b]=c[0]*this.vd.scale+this.vd.vh;a[b+1]=c[1]*this.vd.scale+this.vd.bi;this.sP.LI(a[b],a[b+1])};PL.prototype.stop=function(a){$.Hw(this);this.dc=$.Dw;a&&(this.cd=1);RL(this,this.cd);this.Mn("stop");this.$k()};
  PL.prototype.OD=function(a){this.dc!=$.Dw&&(this.cd=(a-this.o)/(this.D-this.o),1<=this.cd&&(this.cd=1),RL(this,this.cd),1==this.cd?(this.dc=$.Dw,$.Hw(this),this.HB(),this.$k()):1==this.dc&&this.cm())};PL.prototype.R=function(){PL.B.R.call(this);this.vd=this.sG=this.Vq=null};$.H(SL,OL);SL.prototype.fv=function(){this.G=$.El(this.b[0],this.f[0],1E-5)&&this.map.UG;SL.B.fv.call(this)};SL.prototype.cm=function(){this.G?XL(this,this.coords[1],this.coords[2]):WL(this,this.coords[0]);this.g||ML(this.map).dispatchEvent(pN(this.map,"zoom"));SL.B.cm.call(this)};
  SL.prototype.HB=function(){if(this.map.Vq()){var a=this.coords[0],b=this.coords[1],c=this.coords[2];this.G?XL(this,b,c):(b=this.map.df.od,c=this.map.i("minZoomLevel"),!this.map.vq&&a<=c&&!$.tb(b)||this.map.mM==c?(this.map.df.nc(c,0,0,c,0,0),this.map.Po=c,this.map.scale().zoom=c,UL(this.map.scale(),0,0),VL(this.map)):WL(this,a))}this.map.EY=this.map.vq;this.map.vq=!1;this.map.Fk=window.NaN;SL.B.HB.call(this)};
  SL.prototype.$k=function(){this.g||ML(this.map).dispatchEvent(pN(this.map,"zoomend"));SL.B.$k.call(this);this.map=this.map.wh=null;this.ld()};$.H(YL,$.X);$.g=YL.prototype;$.g.ua=$.X.prototype.ua;$.g.oa=$.X.prototype.oa;$.g.i=$.Cp;$.g.dg=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Dg=$.Bp;$.g.Pd=function(){var a=[this.pa];this.X&&(a=$.Fa(a,this.X.Pd()));return a};$.g.Nd=function(){var a=[this.ca];this.X&&(a=$.Fa(a,this.X.Nd()));return a};$.g.parent=function(a){return $.n(a)?(this.X!=a&&(this.X&&$.Fp(this.X,this.Sc,this),(this.X=a)&&$.U(this.X,this.Sc,this)),this):this.X};
  $.g.Sc=function(a){var b=0;$.W(a,1)&&(b|=1);$.W(a,8)&&(b|=8);this.Rb=null;this.sa(b)};var Sea=YL.prototype,HN={};$.R(HN,1,"stroke",$.hp);$.R(HN,0,"length",$.O);$.R(HN,0,"position",$.Cj);Sea.iH=HN;$.Zo(YL,YL.prototype.iH);$.g=YL.prototype;$.g.orientation=function(a){return $.n(a)?(a=$.rj(a),this.Hf!=a&&(this.Hf=a,this.b=null),this):this.Hf};$.g.Ab=function(){var a=this.orientation();return"top"==a||"bottom"==a};$.g.remove=function(){this.path&&this.path.parent(null)};
  $.g.W=function(){ZL(this);this.path.clear();this.path.stroke(this.i("stroke"));if(!this.Bc())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.Pq=function(a){a=aM(this,a);this.path.moveTo(a[0],a[1]);this.path.lineTo(a[2],a[3])};$.g.Y=function(a,b){YL.B.Y.call(this,a,b);b?$.ap(this.pa,this.iH,a):$.bp(this,this.iH,a)};$.g.F=function(){var a=YL.B.F.call(this);$.lp(this,this.iH,a,"Map axis ticks props");return a};
  $.g.R=function(){YL.B.R.call(this)};$.H(cM,$.X);$.g=cM.prototype;$.g.oa=$.X.prototype.oa|976;$.g.ua=$.X.prototype.ua|32768;$.g.line=null;$.g.mq="axis";$.g.Aa=null;$.g.pb=null;$.g.Vb=null;$.g.Ic=null;$.g.ma=null;$.g.Ob=null;$.g.oh=null;$.g.uj=null;$.g.i=$.Cp;$.g.dg=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Dg=$.Bp;$.g.Pd=function(){var a=[this.pa];this.X&&(a=$.Fa(a,this.X.Pd()));return a};$.g.Nd=function(){var a=[this.ca];this.X&&(a=$.Fa(a,this.X.Nd()));return a};
  $.g.parent=function(a){return $.n(a)?(this.X!=a&&(this.X&&$.Fp(this.X,this.Sc,this),(this.X=a)&&$.U(this.X,this.Sc,this)),this):this.X};$.g.Sc=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.Rb=null;this.u(b,c)};var Tea=cM.prototype,IN={};$.R(IN,1,"stroke",$.hp);$.R(IN,0,"overlapMode",$.Aj);$.R(IN,0,"drawFirstLabel",$.Wo);$.R(IN,0,"drawLastLabel",$.Wo);Tea.jH=IN;$.Zo(cM,cM.prototype.jH);$.g=cM.prototype;
  $.g.title=function(a){this.cb||(this.cb=new $.Nt,this.cb.lb(this),this.cb.parent(this.parent().title()),$.U(this.cb,this.yp,this),$.L(this,this.cb),this.cb.Md(),this.cb.padding().Md(),this.cb.margin().Md());return $.n(a)?(this.cb.N(a),this):this.cb};$.g.yp=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.Aa||(this.Aa=new $.Es,this.Aa.lb(this),$.U(this.Aa,this.Td,this),$.L(this,this.Aa),this.Aa.Md());return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Aa.N(a),this):this.Aa};$.g.Td=function(a){var b=0,c=0;$.W(a,8)?(b=this.qe,c=9):$.W(a,1)&&(b=384,c=1);this.Kd();this.u(b,c)};
  $.g.ab=function(a){this.Vb||(this.Vb=new $.Es,this.Vb.lb(this),$.U(this.Vb,this.N5,this),$.L(this,this.Vb),this.Vb.Md());return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Vb.N(a),this):this.Vb};$.g.N5=function(a){var b=0,c=0;$.W(a,8)?(b=this.qe,c=9):$.W(a,1)&&(b=384,c=1);this.Kd();this.u(b,c)};$.g.Pk=function(){var a=new YL;a.orientation(this.Hf);a.lb(this);$.U(a,this.O5,this);$.L(this,a);return a};
  $.g.Ka=function(a){this.pb||(this.pb=this.Pk(),this.pb.Md(),this.pb.parent(this.parent().Ka()));return $.n(a)?(this.pb.N(a),this):this.pb};$.g.ib=function(a){this.Ic||(this.Ic=this.Pk(),this.Ic.Md(),this.Ic.parent(this.parent().ib()));return $.n(a)?(this.Ic.N(a),this):this.Ic};$.g.O5=function(a){var b=0,c=0;$.W(a,8)?(b=this.qe,c=9):$.W(a,1)&&(b=384,c=1);this.Kd();this.u(b,c)};
  $.g.scale=function(a){return $.n(a)?(this.Em!=a&&(this.Em&&$.Fp(this.Em,this.zj,this),(this.Em=a)&&$.U(this.Em,this.zj,this),this.Kd(),$.Os(this.labels()),$.Os(this.ab()),this.Ka().ma=this.Em,this.ib().ma=this.Em,this.u(this.qe,9)),this):this.Em};$.g.zj=function(a){$.W(a,2)&&(this.Kd(),$.Os(this.labels()),$.Os(this.ab()),this.u(this.qe,9))};$.g.orientation=function(a){return $.n(a)?(this.Hf=a,this):this.Hf};$.g.Ab=function(){return"top"==this.Hf||"bottom"==this.Hf};
  $.g.ox=function(a){this.Ta&&this.Ta.nc(a.Dd,a.Pe,a.Fe,a.Ae,a.Ed,a.Fd)};
  $.g.tw=function(){if(!this.Zi||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.Ab()?this.scale().Hv():this.scale().Iv()).get(),k=h.length,l,m,p,q=this.parent().labels(),r=this.labels().enabled();q=void 0==r?q.enabled():r;var t=this.Ab()?this.scale().vx():this.scale().wx();r=this.i("drawFirstLabel");var u=this.i("drawLastLabel"),v=t.get();var x=t=0;var w=v.length,y=this.parent().ab();var B=this.ab().enabled();for(y=void 0==
  B?y.enabled():B;t<k||x<w;){var F=(0,window.parseFloat)(h[t]);B=(0,window.parseFloat)(v[x]);if(this.Ab()){var C=a.sq(F);var N=a.sq(B)}else C=a.Ap(F),N=a.Ap(B);B=F=l=m=null;if(-1==e&&q)for(p=t;-1==e&&p<k;){!p&&r||p==k-1&&u||0!=p&&p!=k-1?B=this.Wc(p,!0,h):B=null;-1!=d?F=this.Wc(d,!0,h):F=null;p!=k-1&&u?l=this.Wc(k-1,!0,h):l=null;if(B&&!$.Kl(B,F)&&!$.Kl(B,l)){var P=this.Ab()?a.sq(h[p]):a.Ap(h[p]);0>=P&&r||1<=P&&u?e=p:0<P&&1>P&&(e=p)}p++}C<=N&&t<k||x==w?(q&&t==e?(d=t,e=-1,b.push(!0)):b.push(!1),t++,C==
  N&&(q||this.Ka().enabled())&&(c.push(!1),x++)):(y?(B=this.Wc(x,!1,v),-1!=d&&(F=this.Wc(d,!0,h)),-1!=e&&(l=this.Wc(e,!0,h)),-1!=f&&(m=this.Wc(f,!1,v)),C=(C=this.ab().Od(x))?$.n(C.enabled())?C.enabled():!0:!0,$.Kl(B,F)||$.Kl(B,l)||$.Kl(B,m)||!C?c.push(!1):(P=this.Ab()?a.sq(v[x]):P=a.Ap(v[x]),0>=P&&r||1<=P&&u?(f=x,c.push(!0)):0<P&&1>P?(f=x,c.push(!0)):c.push(!1))):c.push(!1),x++)}y||(c=!1)}q||(b=!1);this.Zi={labels:b,ab:c};this.I(512)}return this.Zi};
  $.g.So=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.Ab()?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:$.n(e.max)?e.max:null,type:"number"},min:{value:$.n(e.min)?e.min:null,type:"number"}};d={};d["%AxisName"]=
  {value:this.title().text(),type:"string"};e=new $.ru(e);e.Dl({"%AxisScaleMax":"max","%AxisScaleMin":"min"}).El(d);return $.ct(e)};$.g.bJ=function(a,b){switch(this.Hf){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.Ka():this.ib()).i("position");if("inside"==d||"center"==d)c+=180;return c};
  $.g.Wc=function(a,b,c){var d=b?this.oh:this.uj;if($.n(d[a]))return d[a];var e=b?this.Ka():this.ib(),f=b?this.labels():this.ab(),h=b?this.parent().labels():this.parent().ab(),k=(0,window.parseFloat)(c[a]);c=aM(e,k);var l=f.i("position")||h.i("position");l=$.kn(l);var m=e.i("position");m=$.kn(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.So(a,k);e={value:{x:e,y:l}};l=$.$I(h);f=$.$I(f);c=this.bJ(c[4],b);b=dM(this,b);$.Ec(l,
  f);$.n(l.rotation)||(l.rotation=c);$.n(l.anchor)||(l.anchor=b);h=h.vk(k,e,l,a);return d[a]=h};$.g.jd=function(){var a=this.ka();return a?this.scale()&&this.i("enabled")?eM(this,a):a.clone():new $.J(0,0,0,0)};$.g.ln=function(){this.Kd();this.u(this.qe,9)};$.g.Kd=function(){this.oh.length=0;this.uj.length=0;this.Zi=null};
  $.g.Cd=function(a,b,c){var d=b?this.Ka():this.ib(),e=b?this.labels():this.ab(),f=b?this.parent().labels():this.parent().ab(),h=aM(d,a),k=e.i("position")||f.i("position");k=$.kn(k);var l=d.i("position");l=$.kn(l);if(d.enabled())if(!l&&!k){var m=h[0]+(h[2]-h[0])/2;var p=h[1]+(h[3]-h[1])/2}else if(0<l*k||!l&&0>k)m=h[2],p=h[3];else{if(0>l*k||!k||!l&&0<k)m=h[0],p=h[1]}else m=h[0],p=h[1];a=this.So(c,a);c=e.add(a,{value:{x:m,y:p}},c);h=this.bJ(h[4],b);$.n(h)&&(h=$.O(h),c.ed.rotation!==h&&(c.ed.rotation=
  h,$.n(c.ca.rotation)&&!(0,window.isNaN)(c.ca.rotation)||c.u(16,9)));c.gk(dM(this,b));b=$.$I(e);$.n(b.enabled)&&null==b.enabled&&delete b.enabled;$.Ss(c,[c,b,"auto",f,e.pa,f.pa])};
  $.g.M5=function(){var a=this.scale(),b=a.precision()[0],c=a.jp(),d=a.gp(),e=a.hp(),f=c;if(!(0,window.isNaN)(f))if(zL(a.vd["default"].Of)){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.L5=function(){var a=this.scale(),b=a.precision()[1],c=a.gp(),d=a.kp(),e=a.hp(),f=d;if(!(0,window.isNaN)(f))if(zL(a.vd["default"].Of)){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.J5=function(){var a=this.scale(),b=a.precision()[0],c=a.jp(),d=a.gp(),e=a.kp(),f=c;if(!(0,window.isNaN)(f))if(zL(a.vd["default"].Of)){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.K5=function(){var a=this.scale(),b=a.precision()[1],c=a.jp(),d=a.kp(),e=a.hp(),f=d;if(!(0,window.isNaN)(f))if(zL(a.vd["default"].Of)){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.Yt=function(){fM(this).clear();switch(this.Hf){case "top":var a=this.M5;break;case "right":a=this.L5;break;case "bottom":a=this.J5;break;case "left":a=this.K5}a.call(this);this.line.stroke(this.i("stroke"))};$.g.remove=function(){this.Ta&&this.Ta.parent(null)};$.g.Bc=function(){if(this.Vf())return!1;if(!this.i("enabled"))return this.J(1)&&(this.remove(),this.I(1),this.title().u(2),this.Ka().u(2),this.ib().u(2),this.labels().u(2),this.ab().u(2),this.u(2|this.qe)),!1;this.I(1);return!0};
  $.g.W=function(){var a=this.scale();if(!a)return $.Pj(2),this;a.kb();if(!this.Bc())return this;this.Ta||(this.Ta=$.Ti(),this.title().O(this.Ta),fM(this).parent(this.Ta),this.Ka().O(this.Ta),this.ib().O(this.Ta),this.labels().O(this.Ta),this.ab().O(this.Ta));var b=this.Hf;$.V(this.title());$.V(this.labels());$.V(this.ab());$.V(this.Ka());$.V(this.ib());this.J(16)&&(this.Yt(),this.I(16));if(this.J(8)){var c=this.zIndex();this.Ta.zIndex(c);fM(this).zIndex(1);this.I(8)}this.J(2)&&(c=this.O(),this.Ta.parent(c),
  this.I(2));this.J(64)&&(c=this.title(),c.i("enabled")&&c.ka(eM(this)),$.Qt(c,b),c.W(),this.I(64));if(this.J(256)){var d=this.Ka();d.W();if(d.enabled())var e=d.Pq;var f=this.ib();f.W();if(f.enabled())var h=d.Pq;this.I(256)}if(this.J(128)){var k=this.labels();k.O()||k.O(this.O());k.ka(this.ka());k.clear();k=this.labels().enabled();k=void 0==k?this.parent().labels().enabled():k;var l=this.ab();l.O()||l.O(this.O());l.ka(this.ka());l.clear();l=this.ab().enabled();l=void 0==l?this.parent().ab().enabled():
  l;this.I(128)}if($.n(e)||$.n(h)||k||l){b=(this.Ab()?this.scale().Hv():this.scale().Iv()).get();c=b.length;var m=this.tw();if($.D(m)){l=m.labels;var p=m.ab}else l=!m,p=!m;var q=(this.Ab()?this.scale().vx():this.scale().wx()).get();var r=m=0;for(var t=q.length,u;m<c||r<t;){var v=(0,window.parseFloat)(b[m]);var x=(0,window.parseFloat)(q[r]);if(this.Ab()){var w=a.sq(v);u=a.sq(x)}else w=a.Ap(v),u=a.Ap(x);if(w<=u&&m<c||r==t){var y=$.A(l)?l[m]:l;$.da(l)&&(m||(y=y&&this.i("drawFirstLabel")),m==c-1&&(y=y&&
  this.i("drawLastLabel")));(x=$.A(l)&&l[m]||$.da(l))&&e&&e.call(d,v);y&&this.Cd(v,!0,m);y=w;m++}else{if(!e&&!k||y!=u)w=$.A(p)?p[r]:p,(v=$.A(p)&&p[r]||$.da(p))&&h&&h.call(f,x),w&&this.Cd(x,!1,r);r++}}p&&($.Os(this.parent().ab()),$.Os(this.ab()),this.ab().W());$.Os(this.parent().labels());$.Os(this.labels());this.labels().W()}this.title().ba(!1);this.labels().ba(!1);this.ab().ba(!1);this.Ka().ba(!1);this.ib().ba(!1);this.I(4);return this};
  $.g.Y=function(a,b){cM.B.Y.call(this,a,b);b?$.ap(this.pa,this.jH,a):$.bp(this,this.jH,a);this.title().fa(!!b,a.title);this.labels().fa(!!b,a.labels);this.ab().fa(!!b,a.minorLabels);this.Ka().fa(!!b,a.ticks);this.ib().fa(!!b,a.minorTicks)};
  $.g.F=function(){var a=cM.B.F.call(this),b=this.title().F();$.xc(b)||(a.title=b);b=this.Ka().F();$.xc(b)||(a.ticks=b);b=this.ib().F();$.xc(b)||(a.minorTicks=b);b=$.$I(this.labels());$.xc(b)||(a.labels=b);b=$.$I(this.ab());$.xc(b)||(a.minorLabels=b);$.lp(this,this.jH,a,"Map "+this.Hf+" axis props");return a};$.g.R=function(){cM.B.R.call(this)};var JN=cM.prototype;JN.title=JN.title;JN.labels=JN.labels;JN.minorLabels=JN.ab;JN.ticks=JN.Ka;JN.minorTicks=JN.ib;$.H(gM,$.Dp);$.g=gM.prototype;$.g.oa=985;$.g.ua=32777;$.g.i=$.Cp;$.g.dg=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Dg=$.Bp;$.g.Pd=function(){var a=[this.pa];this.X&&(a=$.Fa(a,this.X.Pd()));return a};$.g.Nd=function(){var a=[this.ca];this.X&&(a=$.Fa(a,this.X.Nd()));return a};var Uea=gM.prototype,KN={};$.R(KN,1,"stroke",$.hp);$.R(KN,0,"overlapMode",$.Aj);$.R(KN,0,"drawFirstLabel",$.Wo);$.R(KN,0,"drawLastLabel",$.Wo);$.R(KN,0,"enabled",$.Wo);Uea.hH=KN;$.Zo(gM,gM.prototype.hH);$.g=gM.prototype;
  $.g.Sl=function(){return this.G};$.g.top=function(a){this.o||(this.o=new cM,this.o.Md(),this.o.orientation("top"),this.o.parent(this),$.U(this.o,this.D.sK,this.D),this.o.ih=LN+0*MN,this.G[0]=this.o,$.L(this,this.o));return $.n(a)?(this.o.N(a),this):this.o};$.g.right=function(a){this.g||(this.g=new cM,this.g.Md(),this.g.orientation("right"),this.g.parent(this),$.U(this.g,this.D.sK,this.D),this.g.ih=LN+MN,this.G[1]=this.g,$.L(this,this.g));return $.n(a)?(this.g.N(a),this):this.g};
  $.g.bottom=function(a){this.b||(this.b=new cM,this.b.Md(),this.b.orientation("bottom"),this.b.parent(this),$.U(this.b,this.D.sK,this.D),this.b.ih=LN+2*MN,this.G[2]=this.b,$.L(this,this.b));return $.n(a)?(this.b.N(a),this):this.b};$.g.left=function(a){this.f||(this.f=new cM,this.f.Md(),this.f.orientation("left"),this.f.parent(this),$.U(this.f,this.D.sK,this.D),this.f.ih=LN+3*MN,this.G[3]=this.f,$.L(this,this.f));return $.n(a)?(this.f.N(a),this):this.f};
  $.g.title=function(a){this.cb||(this.cb=new $.Nt,this.cb.Md(),$.U(this.cb,this.yp,this),this.cb.I(4294967295),$.L(this,this.cb));return $.n(a)?(this.cb.N(a),this.cb.I(4294967295),this):this.cb};$.g.yp=function(){this.cb.I(4294967295)};$.g.labels=function(a){this.Aa||(this.Aa=new $.Es,this.Aa.Md(),$.U(this.Aa,this.Td,this),this.Aa.I(4294967295),$.L(this,this.Aa));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Aa.N(a),this.Aa.I(4294967295),this):this.Aa};
  $.g.Td=function(a){this.Aa.I(4294967295);var b=0;$.W(a,8)?b=9:$.W(a,1)&&(b=1);this.sa(b)};$.g.ab=function(a){this.Vb||(this.Vb=new $.Es,this.Vb.Md(),$.U(this.Vb,this.I5,this),this.Vb.I(4294967295),$.L(this,this.Vb));return $.n(a)?(!$.D(a)||"enabled"in a||(a.enabled=!0),this.Vb.N(a),this.Vb.I(4294967295),this):this.Vb};$.g.I5=function(a){this.Vb.I(4294967295);var b=0;$.W(a,8)?b=9:$.W(a,1)&&(b=1);this.sa(b)};
  $.g.Ka=function(a){this.pb||(this.pb=new YL,this.pb.Md(),$.U(this.pb,this.ai,this),$.L(this,this.pb));return $.n(a)?(this.pb.N(a),this):this.pb};$.g.ib=function(a){this.Ic||(this.Ic=new YL,this.Ic.Md(),$.U(this.Ic,this.ai,this),$.L(this,this.Ic));return $.n(a)?(this.Ic.N(a),this):this.Ic};$.g.ai=function(a){var b=0;$.W(a,8)?b=9:$.W(a,1)&&(b=1);this.sa(b)};$.g.pe=function(a){return $.da(a)||null===a?{enabled:!!a}:null};
  $.g.He=function(a,b){var c=this.pe(b);return c?(a?this.pa.enabled=c.enabled:this.enabled(c.enabled),!0):!1};$.g.Y=function(a,b){$.V(this.D);b?$.ap(this.pa,this.hH,a):($.bp(this,this.hH,a),this.enabled("enabled"in a?a.enabled:!0));this.title().fa(!!b,a.title);this.Ka().fa(!!b,a.ticks);this.ib().fa(!!b,a.minorTicks);this.labels().fa(!!b,a.labels);this.ab().fa(!!b,a.minorLabels);this.left().fa(!!b,a.left);this.top().fa(!!b,a.top);this.right().fa(!!b,a.right);this.bottom().fa(!!b,a.bottom);this.D.ba(!0)};
  $.g.F=function(){var a={};if(this.f){var b=this.f.F();$.xc(b)||(a.left=b)}this.o&&(b=this.o.F(),$.xc(b)||(a.top=b));this.g&&(b=this.g.F(),$.xc(b)||(a.right=b));this.b&&(b=this.b.F(),$.xc(b)||(a.bottom=b));a.title=this.cb.F();a.ticks=this.Ka().F();a.minorTicks=this.ib().F();a.labels=this.labels().F();a.minorLabels=this.ab().F();$.lp(this,this.hH,a,"Map axes props");return a};$.g.R=function(){gM.B.R.call(this)};var NN=gM.prototype;NN.left=NN.left;NN.top=NN.top;NN.right=NN.right;NN.bottom=NN.bottom;
  NN.title=NN.title;NN.ticks=NN.Ka;NN.minorTicks=NN.ib;NN.labels=NN.labels;NN.minorLabels=NN.ab;$.H(hM,$.X);$.$o(hM,["labels"],"normal");$.g=hM.prototype;$.g.oa=$.X.prototype.oa|448;$.g.ua=$.X.prototype.ua;$.g.Ma=function(a){return $.n(a)?(this.ia.N(a),this):this.ia};$.g.fb=function(a){return $.n(a)?(this.Ba.N(a),this):this.Ba};$.g.selected=function(a){return $.n(a)?(this.Ga.N(a),this):this.Ga};$.g.Td=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.orientation=function(a){return $.n(a)?(a=null===a?null:$.rj(a),this.Hf!=a&&(this.Hf=a,this.u(this.qe,9)),this):this.Hf||"right"};$.g.align=function(a){return $.n(a)?(a=$.jj(a),this.f!=a&&(this.f=a,this.u(this.qe,9)),this):this.f};$.g.length=function(a){return $.n(a)?(this.Tj!=a&&(this.Tj=a,this.u(this.qe,9)),this):this.Tj};$.g.width=function(a){return $.n(a)?(this.wd!=a&&(this.wd=a,this.u(this.qe,9)),this):this.wd};
  $.g.padding=function(a,b,c,d){this.Oa||(this.Oa=new $.xs,$.L(this,this.Oa),$.U(this.Oa,this.Hj,this));return $.n(a)?(this.Oa.N.apply(this.Oa,arguments),this):this.Oa};$.g.margin=function(a,b,c,d){this.Fc||(this.Fc=new $.At,$.L(this,this.Fc),$.U(this.Fc,this.Hj,this));return $.n(a)?(this.Fc.N.apply(this.Fc,arguments),this):this.Fc};$.g.Hj=function(a){$.W(a,2)&&this.u(4,9)};$.g.items=function(a){return $.n(a)?(this.Jb!=a&&(this.Jb=a,this.u(16,1)),this):this.Jb||[]};
  $.g.background=function(a){this.Ea||(this.Ea=new $.ps,$.L(this,this.Ea),$.U(this.Ea,this.hg,this));return $.n(a)?(this.Ea.N(a),this):this.Ea};$.g.hg=function(a){$.W(a,1)&&this.u(256,1)};$.g.title=function(a){this.cb||(this.cb=new $.Nt,$.U(this.cb,this.yp,this),$.L(this,this.cb),this.cb.Md());return $.n(a)?(this.cb.N(a),this):this.cb};$.g.yp=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.ox=function(){for(var a=0,b=this.Ma().labels().ZJ();a<b;a++){var c=this.Ma().labels().Od(a),d=c.Tg,e=this.o[a],f=e.Te();f.tc().select(e.ja());c=this.Jj(c.ja()).value;f=LL(f);d.clear().moveTo(c.x,c.y).lineTo(f.x,f.y)}};$.g.Zg=function(a){var b=this.o[$.n(a.labelIndex)?a.labelIndex:a.domTarget.Taa];a.domTarget.tag={U:b.Te(),index:b.ja()};a.pointIndex=b.ja()};$.g.Ab=function(){var a=this.orientation();return"top"==a||"bottom"==a};$.g.vl=function(){this.ve||(this.ve=$.Ti());return this.ve};
  $.g.jd=function(){var a=this.ka();if(a){a=a.clone();if(this.enabled()){var b=this.ob(),c=b.height;b=b.width;switch(this.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 $.J(0,0,0,0)};
  $.g.ob=function(){if(!this.P||this.J(4)){var a=this.ka();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.Ab()){var b=a.width;var c=a.height}else b=a.height,c=a.width;var d=0,e=0;this.g=this.b=null;for(var f=0,h=this.o.length;f<h;f++){var k=this.o[f],l=new $.Js;iM(this,k,l);$.Os($.Ps(l));k=l.qc("enabled")?$.Ps(l).measure(l):$.Ql(0,0,0,0);$.Os($.Ps(l));k.height>e&&(e=k.height);k.width>d&&(d=k.width)}this.Ab()||(f=d,d=e,e=f);f=
  this.o.length;var m=null==this.Tj,p=null==this.wd,q=null!=this.Tj?$.M(this.length(),b):d*f,r=null!=this.wd?$.M(this.width(),c):e;d=e=0;var t=!1,u=!1;h=this.title();h.enabled()&&(h.O()||h.O(this.O()),$.V(h),h.ka(a),$.Qt(h,this.orientation()),this.Ab()?(e=h.zh().height,d=h.zh().width):(e=h.zh().width,d=h.zh().height),t=h.i("orientation")||$.Qt(h),"top"==t||"bottom"==t?(t=this.Ab(),u=!this.Ab()):(t=!this.Ab(),u=this.Ab()),h.ba(!1));var v=this.padding();l=$.M(v.i("top"),a.height);k=$.M(v.i("right"),a.width);
  var x=$.M(v.i("bottom"),a.height);v=$.M(v.i("left"),a.width);var w=this.margin(),y=$.M(w.i("top"),a.height),B=$.M(w.i("right"),a.width),F=$.M(w.i("bottom"),a.height);w=$.M(w.i("left"),a.width);m&&!p?(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.g=m):!m&&p?(m=(q-(u?d:0))/f,r=Math.min(t?m+e:Math.max(m,e),c),this.b=m,this.g=r-(t?e:0)):m&&p?(c=Math.min(q,b-(u?d:0))/f,q=Math.max(r,u?e:0),m=Math.max(c,q)*f+x+l+F+y>b?(b-(x+l+F+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.g=this.b=m):(this.b=(q-(u?d:0))/f,this.g=r-(t?e:0));c=this.align();var C;this.Ab()?(q+k+v+B+w>b&&(q=b-(k+v+B+w)),"left"==c||"top"==c?C=v+w:"right"==c||"bottom"==c?C=b-q-k-B:"center"==c&&(C=(b-q)/2)):(q+x+l+F+y>b&&(q=b-(x+l+F+y)),"left"==c||"top"==c?C=l+y:"right"==c||"bottom"==c?C=b-q-x-F:"center"==c&&(C=(b-q)/2));switch(this.orientation()){case "top":var N=a.top+l+y;var P=a.left+C;var Q=r;var S=q;this.G=new $.J(P,N,this.b,this.g);break;case "right":N=a.top+C;P=a.left+
  a.width-r-k-B;Q=q;S=r;this.G=new $.J(P,N,this.g,this.b);break;case "bottom":N=a.top+a.height-r-x-F;P=a.left+C;Q=r;S=q;this.G=new $.J(P,N,this.b,this.g);break;case "left":N=a.top+C,P=a.left+v+w,Q=q,S=r,this.G=new $.J(P,N,this.g,this.b)}if(h.enabled())switch(t=h.i("orientation")||$.Qt(h),t){case "top":this.G.left=P;this.G.top=N+(this.Ab()?e:d);break;case "left":this.G.left=P+(this.Ab()?d:e),this.G.top=N}this.Ok=new $.J(Math.round(P),Math.round(N),Math.round(S),Math.round(Q));this.K=new $.J(this.Ok.left-
  v,this.Ok.top-l,this.Ok.width+v+k,this.Ok.height+l+x);this.P=new $.J(this.K.left-w,this.K.top-y,this.K.width+w+B,this.K.height+y+F)}else this.P=new $.J(0,0,0,0);this.u(this.qe);this.I(4)}return this.P};
  $.g.Jj=function(a){if(null===this.b||null===this.g)return{value:{x:0,y:0}};var b=this.G;switch(this.orientation()){case "top":var c=b.left+this.b*a+this.b/2;var d=b.top+this.g;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.g,d=b.top+this.b*a+this.b/2}return{value:{x:c,y:d}}};
  $.g.W=function(){if(!this.Bc())return this;var a=this.Ma().labels();!this.ya&&this.o&&this.o.length&&(this.ya=this.o[0].ic(),$.pd(this.ya,"pointshover",function(b){b=b.seriesStatus;for(var c=0,d=this.o.length;c<d;c++)for(var h=this.o[c],k=h.ja(),l=0,m=b.length;l<m;l++){var p=b[l];var q=p.series;if(q==h.Te()){var r=!1;p=p.points;for(var t=0,u=p.length;t<u;t++){var v=p[t];if(h.ja()==v.index){q=iM(this,h,a.Od(c),$.Zu(q.state,k));q.W();$.Os($.Ps(q));r=!0;break}}r||1!=h.state||(q=iM(this,h,a.Od(c),$.Jk),
  q.W(),$.Os($.Ps(q)))}}},!1,this),$.pd(this.ya,"pointsselect",function(b){b=b.seriesStatus;for(var c=0,d=this.o.length;c<d;c++)for(var h=this.o[c],k=h.ja(),l=0,m=b.length;l<m;l++){var p=b[l],q=p.series;if(q==h.Te()){var r=!1;p=p.points;for(var t=0,u=p.length;t<u;t++){var v=p[t];if(h.ja()==v.index){r=iM(this,h,a.Od(c),$.Zu(q.state,k));r.W();$.Os($.Ps(r));r=!0;break}}!r&&h.state&2&&(r=iM(this,h,a.Od(c),$.Zu(q.state,k)),r.W(),$.Os($.Ps(r)))}}},!1,this));this.vl();this.D||(this.D=new $.nz(function(){return $.Vi()},
  function(a){a.clear()},void 0,this),$.is(this,this.D),this.D.lb(this));$.V(this.title());$.V(a);if(this.J(8)){var b=this.zIndex();this.ve.zIndex(b);this.title().zIndex(2);a.zIndex(1);this.background().zIndex(0);this.D.zIndex(1.1);this.I(8)}this.J(2)&&(b=this.O(),this.ve.parent(b),this.title().O(this.ve),a.O(this.ve),this.background().O(this.ve),this.D.parent(this.ve),this.I(2));this.J(256)&&(b=this.background(),$.V(b),b.ka(this.K),b.O(this.ve),b.W(),b.ba(!1),this.I(256));this.J(64)&&(b=this.title(),
  b.ka(this.Ok),b.W(),this.I(64));if(this.J(128)){this.D.clear();Hea(this);a.u(8);a.W();b=0;for(var c=a.ZJ();b<c;b++)$.Os($.Ps(a.Od(b)));this.I(128)}this.title().ba(!1);a.ba(!1);return this};$.g.remove=function(){this.cb&&this.cb.remove();this.Aa&&this.Aa.remove()};
  $.g.F=function(){var a=hM.B.F.call(this);a.title=this.title().F();a.background=this.background().F();a.normal=this.ia.F();a.hovered=this.Ba.F();a.selected=this.Ga.F();a.width=this.width();a.length=this.length();a.orientation=this.orientation();a.align=this.align();a.items=this.items();a.padding=this.padding().F();a.margin=this.margin().F();return a};
  $.g.Y=function(a,b){$.V(this);hM.B.Y.call(this,a,b);"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.ia.fa(!!b,a);this.ia.fa(!!b,a.normal);this.Ba.fa(!!b,a.hovered);this.Ga.fa(!!b,a.selected);this.width(a.width);this.length(a.length);this.orientation(a.orientation);this.align(a.align);this.items(a.items);this.ba(!0)};
  $.g.R=function(){hM.B.R.call(this);this.K=this.Ea=this.Fc=this.Oa=this.cb=null};var ON=hM.prototype;ON.title=ON.title;ON.normal=ON.Ma;ON.hovered=ON.fb;ON.selected=ON.selected;ON.background=ON.background;ON.padding=ON.padding;ON.margin=ON.margin;ON.length=ON.length;ON.width=ON.width;ON.align=ON.align;ON.items=ON.items;ON.orientation=ON.orientation;$.H(jM,$.Dx);$.g=jM.prototype;
  $.g.show=function(a){var b=[],c=$.Lx(this);if(a=c.Yq(a))if((0,$.le)(a,function(a){a.series.enabled()&&0!=a.points.length&&b.push(a)},this),0==b.length)this.md();else{var d=b[0];(0,$.le)(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=$.O(h.j("x"));h=$.O(h.j("value"));if((0,window.isNaN)(k)||(0,window.isNaN)(h))h=KL(f).value,k=h.x,h=h.y;c=c.scale();
  h=c.Rc(k,h);k=h[0];h=h[1];f=c.sq(k);c=c.Ap(h);this.Rk($.Ex(this),!0,f,a,k);this.Rk($.Fx(this),!1,c,e,h)}};
  $.g.update=function(a,b){if(this.enabled()){var c,d;$.n(a)?c=(0,window.parseFloat)(a):c=$.n(this.gR)?this.gR:0;$.n(b)?d=(0,window.parseFloat)(b):d=$.n(this.hR)?this.hR:0;c=$.Lx(this).XP(c,d);var e=$.Lx(this).Rc(c.x,c.y);c=e["long"];d=e.lat;var f=$.Lx(this).scale(),h=f.sq(e.x);e=f.Ap(e.y);f=this.i("xStroke");var k=this.i("yStroke");0<h&&1>h&&0<e&&1>e?(this.Rk($.Ex(this),!0,h,f,c),this.Rk($.Fx(this),!1,h,k,d)):this.md()}};
  $.g.Fg=function(a){this.gR=a.clientX;this.hR=a.clientY;"sticky"!=this.i("displayMode")&&this.update(a.clientX,a.clientY)};$.g.$g=function(a){if(!$.Zm($.Lx(this),a.relatedTarget)){this.gR=a.clientX;this.hR=a.clientY;a=$.Lx(this).XP(a.clientX,a.clientY);var b=$.Lx(this).Rc(a.x,a.y),c=$.Lx(this).scale();a=c.sq(b.x);b=c.Ap(b.y);(0>a||1<a||0>b||1<b)&&this.md()}};
  $.g.W=function(){if(!this.Bc())return this;this.Ta||(this.Ta=$.Ti(),this.xq.parent(this.Ta),this.yq.parent(this.Ta));this.J(16)&&(this.xq.stroke(this.i("xStroke")),this.yq.stroke(this.i("yStroke")),this.I(16));var a=$.Fa($.Ex(this),$.Fx(this));if(this.J(2)){var b=this.O();this.Ta.parent(b);$.Jx(a,this.Ta);this.I(2)}this.J(8)&&(b=this.zIndex(),this.Ta.zIndex(b),this.I(8));this.J(4)&&(b=this.ka(),$.Kx(a,b),this.I(4));return this};
  $.g.Yt=function(a,b,c){var d=$.Lx(this).scale(),e=0==this.xq.xv()%2?0:-.5,f=0==this.yq.xv()%2?0:-.5;b.clear();if(a.Ab()){var h=d.precision()[1];for(f=d.kp();f<d.hp();)a=d.transform(c,f,null),f==d.kp()?b.moveTo(a[0]-e,a[1]):b.lineTo(a[0]-e,a[1]),f+=h;a=d.transform(c,d.hp(),null);b.lineTo(a[0]-e,a[1])}else{h=d.precision()[0];for(e=d.jp();e<d.gp();)a=d.transform(e,c,null),e==d.jp()?b.moveTo(a[0],a[1]-f):b.lineTo(a[0],a[1]-f),e+=h;a=d.transform(d.gp(),c,null);b.lineTo(a[0],a[1]-f)}};
  $.g.Pf=function(a,b,c){var d=this.So(a,c),e=b.format()||$.Dn;b.text(e.call(d,d));b.gk($.Ix(a));c=aM(a.Ka(),c);b.x(c[0]).y(c[1]);b.rotation(this.bJ(a,c[4]));b.O(this.Ta).W()};$.g.bJ=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.So=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.Ab()?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:$.n(e.max)?e.max:null,type:"number"},min:{value:$.n(e.min)?e.min:null,type:"number"}};d={};d["%AxisName"]=
  {value:a.title().text(),type:"string"};e=new $.ru(e);e.Dl({"%AxisScaleMax":"max","%AxisScaleMin":"min"}).El(d);return $.ct(e)};$.g.Rk=function(a,b,c,d,e){var f=$.Lx(this),h,k=!1,l=b?f.Dy:f.Gy,m=b?this.uQ:this.vQ;b=b?this.xq:this.yq;var p=d&&"none"!=d;for(d=0;d<a.length;d++)if(h=a[d]){var q=h.i("axisIndex");(q=l.call(f,q))&&$.n(q.scale().Rc(0))&&0<c&&1>c?(!k&&p&&(this.Yt(q,b,e),k=!0),h.enabled()&&this.Pf(q,h,e)):m.call(this,h)}};$.H(kM,$.vw);var Vea=kM.prototype,PN=$.vw.prototype.Dx;$.R(PN,1,"minorStroke",$.hp);Vea.Dx=PN;$.Zo(kM,kM.prototype.Dx);$.g=kM.prototype;$.g.scale=function(a){$.n(a)&&this.ma!=a&&(this.ma&&$.Fp(this.ma,this.sg,this),(this.ma=a)&&$.U(this.ma,this.sg,this),this.u(68,9));return this.ma||this.ad&&this.ad.scale()||null};$.g.sg=function(a){var b=0;$.W(a,4)&&(b|=4);$.W(a,2)&&(b|=1);this.u(20,b)};
  $.g.yl=function(a){var b=a?this.g:this.f;b||(a?(b=this.g=$.Vi(),b.zIndex(1)):(b=this.f=$.Vi(),b.zIndex(0)),b.gd(!0).Ko(!0),b.parent(this.va),$.L(this,b));return b};$.g.JU=function(){var a=$.Vi();a.parent(this.va).zIndex(3).stroke("none");$.L(this,a);return a};$.g.ox=function(a){this.va&&this.va.nc(a.Dd,a.Pe,a.Fe,a.Ae,a.Ed,a.Fd)};$.g.Jt=function(){this.va||(this.va=$.Ti())};$.g.pV=function(){var a=this.O();this.va.parent(a)};$.g.lD=function(){var a=this.zIndex();this.va.zIndex(a)};
  $.g.Z8=function(a,b,c,d){c=this.ma;var e=c.jp(),f=c.gp();if(zL(c.vd["default"].Of)){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.Y8=function(a,b,c,d){c=this.ma;var e=c.kp(),f=c.hp();if(zL(c.vd["default"].Of)){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.X8=function(a,b,c,d,e,f){c=this.ma;e=c.jp();var h=c.gp(),k=c.kp();(0,window.isNaN)(b)&&a!=k&&(b=k);if(!(0,window.isNaN)(b)){var l;if(zL(c.vd["default"].Of))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.W8=function(a,b,c,d,e,f){c=this.ma;var h=c.jp();e=c.kp();var k=c.hp();(0,window.isNaN)(b)&&a!=h&&(b=h);if(!(0,window.isNaN)(b)){var l;if(zL(c.vd["default"].Of))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.IU=function(){this.yl(!0).stroke(this.i("stroke"));this.yl(!1).stroke(this.i("minorStroke"))};
  $.g.remove=function(){this.va&&this.va.parent(null)};
  $.g.kk=function(){var a=this.ma,b=this.yl(!0),c=this.yl(!1);if(this.J(64)||this.J(4)){var d=window.NaN,e,f=a.precision();if(this.Ab()){var h=a.Iv();var k=a.wx();f=f[0];a=a.hp();var l=[this.Z8,this.X8]}else h=a.Hv(),k=a.vx(),f=f[1],a=a.gp(),l=[this.Y8,this.W8];h=h.get();k=k.get();$.zw(this);b.clear();c.clear();var m=l[0],p=l[1];var q=-b.xv()%2/2;var r=0;for(e=h.length;r<e;r++){var t=h[r];r&&(l=$.Aw(this,r-1))&&p.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=$.Aw(this,r-1))&&p.call(this,a,d,null,l,q);q=-b.xv()%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)}};$.H(lM,$.Dp);$.g=lM.prototype;$.g.oa=985;$.g.ua=98313;$.g.i=$.Cp;$.g.dg=function(a){$.n(a)&&(this.Rb=a);return this.Rb};$.g.Dg=$.Bp;$.g.Pd=function(){var a=[this.pa];this.X&&(a=$.Fa(a,this.X.Pd()));return a};$.g.Nd=function(){var a=[this.ca];this.X&&(a=$.Fa(a,this.X.Nd()));return a};var Wea=lM.prototype,QN={};$.R(QN,1,"stroke",$.hp);$.R(QN,1,"minorStroke",$.hp);$.R(QN,1,"fill",$.fp);$.R(QN,0,"drawFirstLine",$.Wo);$.R(QN,0,"drawLastLine",$.Wo);$.R(QN,0,"enabled",$.Wo);$.R(QN,0,"zIndex",$.O);
  Wea.kH=QN;$.Zo(lM,lM.prototype.kH);$.g=lM.prototype;$.g.Yb=function(a){this.Fa||(mM(this,this.pa.palette),$.Pp(this,"palette",this.Fa),this.Fa.xr(!1));return $.n(a)?(mM(this,a),this.Fa.N(a),this):this.Fa};$.g.Tc=function(a){if(!$.K(this.Fa,a)){var b=!!this.Fa;$.Zc(this.Fa);this.Fa=new a;$.U(this.Fa,this.If,this);$.L(this,this.Fa);b&&this.sa(1)}};$.g.If=function(a){$.W(a,2)&&this.sa(1)};$.g.Sl=function(){return this.o};
  $.g.vertical=function(a){if(!this.f){this.f=new kM;this.f.Md();$.xw(this.f,"vertical");this.f.parent(this);var b=this.i("zIndex")+this.o.length*MN;this.f.ih=b;$.U(this.f,this.g.kZ,this.g);this.o.push(this.f);$.L(this.g,this.f)}return $.n(a)?(this.f.N(a),this):this.f};
  $.g.yQ=function(a){if(!this.b){this.b=new kM;this.b.Md();$.xw(this.b,"horizontal");this.b.parent(this);var b=this.i("zIndex")+this.o.length*MN;this.b.ih=b;$.U(this.b,this.g.kZ,this.g);this.o.push(this.b);$.L(this,this.b)}return $.n(a)?(this.b.N(a),this):this.b};$.g.pe=function(a){return $.da(a)||null===a?{enabled:!!a}:null};$.g.He=function(a,b){var c=this.pe(b);return c?(a?this.pa.enabled=c.enabled:this.enabled(c.enabled),!0):!1};
  $.g.Y=function(a,b){$.V(this.g);b?$.ap(this.pa,this.kH,a):($.bp(this,this.kH,a),this.ca.enabled="enabled"in a?a.enabled:!0);a.palette&&this.Yb(a.palette);this.yQ().fa(!!b,a.horizontal);this.vertical().fa(!!b,a.vertical);this.g.ba(!0)};$.g.F=function(){var a={};if(this.f){var b=this.f.F();$.xc(b)||(a.vertical=b)}this.b&&(b=this.b.F(),$.xc(b)||(a.horizontal=b));this.Fa&&(a.palette=this.Fa.F());$.lp(this,this.kH,a,"Map grids props");return a};
  $.g.R=function(){$.$c(this.f,this.b,this.Fa);this.g=null;lM.B.R.call(this)};var RN=lM.prototype;RN.horizontal=RN.yQ;RN.vertical=RN.vertical;RN.palette=RN.Yb;$.H(nM,gL);nM.prototype.ratio=function(a){return $.n(a)?(a=$.O(a)||0,this.b!=a&&(this.b=a),this):this.b};nM.prototype.forward=function(a,b){var c=this.f.forward(a,b),d=this.RO.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]};nM.prototype.ii=function(a,b){var c=this.f.ii(a,b),d=this.RO.ii(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(oM,$.Dp);$.g=oM.prototype;$.g.ua=2;$.g.Hk=window.NaN;$.g.Rg=4;$.g.kl=6;$.g.ek=null;$.g.Fn=null;$.g.Oc=0;$.g.Q5=function(a){return null!=a?(this.Hk!=a&&(a=$.O(a),0>=a?(this.Rg=4,this.kl=6,this.Hk=window.NaN):(this.kl=this.Rg=window.NaN,this.Hk=+a),this.Fn=this.ek=null,this.sa(2)),this):this.Hk};
  $.g.count=function(a,b){return $.n(a)?(this.Rg!=a&&(this.Hk=window.NaN,this.Rg=Math.ceil($.O(a)),this.kl=Math.ceil($.O(b)),2<=this.Rg||(this.Rg=4),this.kl>=this.Rg||(this.kl=this.Rg),this.Fn=this.ek=null,this.sa(2)),this):[this.Rg,this.kl]};$.g.rD=function(a){return $.n(a)?(a=+a||0,this.Oc!=a&&(this.Oc=a,this.Fn=null,this.ek||this.sa(2)),this):this.Oc};
  $.g.set=function(a){$.Sa(this.ek,a)||(this.Hk=this.kl=this.Rg=window.NaN,this.ek=$.Ia(a,0),$.Ja(this.ek),$.Pa(this.ek,$.Vm),this.Fn=null,this.sa(2));return this};$.g.get=function(){var a=this.kj(),b="horizontal"==this.Hf?this.ma.sq:this.ma.Ap;return(0,$.se)(a,function(a){a=b.call(this,(0,window.parseFloat)(a));return 0<=a&&1>=a},this.ma)};$.g.kj=function(){if(this.ek)var a=this.ek;else this.ma.kb(),a=this.Fn;return a||[]};
  $.g.Az=function(a,b,c,d){this.Fn=null;var e=[a,b];if(this.ek)c&&(e[0]=Math.min(a,this.ek[0]||0)),d&&(e[1]=Math.max(b,this.ek[this.ek.length-1]||0));else{var f=[],h=this.Hk,k=this.Rg,l=this.kl;!(0,window.isNaN)(h)&&(b-a)/h>this.ma.io()&&(this.ma.JT||($.Rj(20,null,[b-a,h]),this.ma.JT=!0),h=window.NaN,k=4,l=6);if((0,window.isNaN)(h))for(var m=window.NaN,p=k;p<=l;p++){k=(b-a)/(p-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=$.Fl(k/t,2);(q=Math.min($.sn(k,r)||window.Infinity,$.sn(k,t)||window.Infinity,$.sn(k,u)||window.Infinity,$.sn(k,Math.pow(2,Math.floor(q))*t)||window.Infinity,$.sn(k,Math.pow(2,Math.ceil(q))*t)||window.Infinity))&&(0,window.isFinite)(q)&&(k=q);q=$.Cl($.rn(a,k,this.Oc))-a;q*=q;r=$.Cl($.sn(b,k,this.Oc))-b;r*=r;q+=r;if((0,window.isNaN)(m)||q<m)m=q,h=k}l=$.Dl(h);m=$.Cl($.rn(a,h,this.Oc,l));c?e[0]=a=m:1E-7<a-m&&(f.push(a),e[2]=m);c=$.Cl($.sn(b,h,this.Oc,l));d?e[1]=b=c:1E-7<c-b&&(e[3]=c);for(a=$.Cl($.sn(a,
  h,this.Oc,l));a<=b;a=$.Cl(a+h))f.push(a);3 in e&&f.push(b);this.Fn=f}return e};
  $.g.Bz=function(a,b,c){if(this.ek)this.Fn=null;else if(this.Fn?this.Fn.length=0:this.Fn=[],!(2>a.length)){var d=this.P5,e=a.length-1,f=this.Hk,h=this.Rg;if(!(0,window.isNaN)(this.Hk)){var k=a[e];var l=a[0];(k-l)/this.Hk>this.ma.io()&&($.Rj(20,null,[k-l,this.Hk]),this.Hk=window.NaN,this.Rg=4)}$.n(b)?(l=a[0],k=a[1],d.call(this,l,k,b,k),l=1):l=0;$.n(c)&&e--;for(b=l;b<=e-1;b++)l=a[b],k=a[b+1],d.call(this,l,k,l,k);$.n(c)&&(l=a[e],k=a[e+1],d.call(this,l,k,l,c));this.Hk=f;this.Rg=h}};
  $.g.P5=function(a,b,c,d){var e=this.Hk;(0,window.isNaN)(e)&&(e=(d-c)/(this.Rg-1));e=Math.max(e,1E-7);c=this.Fn[this.Fn.length-1];b=$.Bl(b,7);for(a=$.Bl(a,7);a<=b;a=$.Bl(a+e,7))c!=a&&this.Fn.push(a),c=a};$.g.F=function(){var a=oM.B.F.call(this);this.ek?a.explicit=this.ek:(this.Rg==this.kl?(0,window.isNaN)(this.Rg)||(a.count=this.Rg):((0,window.isNaN)(this.Rg)||(a.minCount=this.Rg),(0,window.isNaN)(this.kl)||(a.maxCount=this.kl)),(0,window.isNaN)(this.Hk)||(a.interval=this.Hk));return a};
  $.g.He=function(a,b){var c=arguments[1];return $.A(c)?(this.set(c),!0):$.Dp.prototype.He.apply(this,arguments)};
  $.g.Y=function(a,b){oM.B.Y.call(this,a,b);(this.ek=a.explicit||null)&&(0,$.le)(this.ek,function(a,b,e){e[b]=(0,window.parseFloat)(a)});this.Rg=a.count||a.minCount||window.NaN;this.kl=a.count||a.maxCount||window.NaN;this.Hk=a.interval||window.NaN;this.ek?this.Rg=this.kl=this.Hk=window.NaN:this.Hk?this.Rg=this.kl=window.NaN:(this.Rg=Math.ceil($.O(this.Rg)),this.kl=Math.ceil($.O(this.kl)),2<=this.Rg||(this.Rg=4),this.kl>=this.Rg||(this.kl=this.Rg))};var SN=oM.prototype;SN.interval=SN.Q5;SN.count=SN.count;
  SN.set=SN.set;SN.get=SN.get;$.H(pM,$.Dp);$.g=pM.prototype;$.g.ua=6;$.g.La=function(){return"geo"};$.g.rA=function(a){var b=this.FT!=this.Ha||this.dM!=this.ra||this.HT!=this.Ra||this.hM!=this.Ia;b&&(this.Jc=!1,a||this.sa(2));return b};$.g.eb=function(){return this.yc?this.yc.clone():$.Ql(0,0,0,0)};$.g.yf=function(a){this.yc=a;this.Jc=!1;return this};$.g.Hv=function(a){this.Vh||(this.Vh=this.Pk(),this.Vh.Hf="horizontal");return $.n(a)?(this.Vh.N(a),this):this.Vh};
  $.g.vx=function(a){this.lg||(this.lg=this.Pk(),this.lg.Hf="horizontal");return $.n(a)?(this.lg.N(a),this):this.lg};$.g.Iv=function(a){this.qj||(this.qj=this.Pk(),this.qj.Hf="vertical");return $.n(a)?(this.qj.N(a),this):this.qj};$.g.wx=function(a){this.zi||(this.zi=this.Pk(),this.zi.Hf="vertical");return $.n(a)?(this.zi.N(a),this):this.zi};$.g.ai=function(a){$.W(a,2)&&(this.Jc=!1,this.sa(2))};$.g.Pk=function(){var a=new oM(this);$.L(this,a);$.U(a,this.ai,this);return a};
  $.g.io=function(a){return $.n(a)?(a=$.fn(a,1E3,!1),this.jo!=a&&(this.jo=a,this.Jc=!1,this.sa(2)),this):this.jo};$.g.precision=function(a,b){if(0<arguments.length){var c=0;a&&($.A(a)?(1<a.length&&(b=$.O(a[1])),a=$.O(a[0])):1==arguments.length&&(b=a=$.O(a)),0==a||(0,window.isNaN)(a)||this.rC==a||(this.rC=a,c=2));b&&(b=$.O(b))&&this.tC!=b&&(this.tC=b,c=2);this.sa(c);return this}return[this.rC,this.tC]};
  $.g.Ql=function(a){return $.n(a)?(a=+a||0,this.P!=a&&(this.P=a,this.pg()&&(this.Jc=!1,this.sa(2))),this):this.P};$.g.jp=function(a){if($.n(a)){a=$.Ya($.O(a),-180,180);var b=(0,window.isNaN)(a);if(b!=this.oc||!b&&a!=this.g)a>=this.D?this.gp(a):(this.oc=b,this.g=a,this.Jc=!1,b?this.sa(4):this.sa(2));return this}this.kb();return this.g};
  $.g.gp=function(a){if($.n(a)){a=$.Ya($.O(a),-180,180);var b=(0,window.isNaN)(a);if(b!=this.rb||!b&&a!=this.D)a<=this.g?this.jp(a):(this.rb=b,this.D=a,this.Jc=!1,b?this.sa(4):this.sa(2));return this}this.kb();return this.D};$.g.kp=function(a){if($.n(a)){a=$.Ya($.O(a),-90,90);var b=(0,window.isNaN)(a);if(b!=this.Xb||!b&&a!=this.f)a>=this.o?this.hp(a):(this.Xb=b,this.f=a,this.Jc=!1,b?this.sa(4):this.sa(2));return this}this.kb();return this.f};
  $.g.hp=function(a){if($.n(a)){a=$.Ya($.O(a),-90,90);var b=(0,window.isNaN)(a);if(b!=this.Ya||!b&&a!=this.o)a<=this.f?this.kp(a):(this.Ya=b,this.o=a,this.Jc=!1,b?this.sa(4):this.sa(2));return this}this.kb();return this.o};$.g.wf=function(a,b){if($.n(a)||$.n(b)){var c=0;$.n(a)&&($.A(a)&&(1<a.length&&(b=a[1]),a=a[0]),this.Xl!=a&&(this.Xl=!!a,c=2));$.n(b)?(b=!!b,this.kg!=b&&(this.kg=b,c=2)):1==arguments.length&&(a=!!a,this.kg!=a&&(this.kg=a,c=2));this.sa(c);return this}return[tM(this),uM(this)]};
  $.g.Vc=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.Qf&&(this.Qf=c,this.Jc=!1),c>this.Vd&&(this.Vd=c,this.Jc=!1),d<this.Je&&(this.Je=d,this.Jc=!1),d>this.Ld&&(this.Ld=d,this.Jc=!1))}this.Jc||this.sa(2);return this};
  $.g.LI=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.Us){var f=DM(this,d,e,null);this.Vc.apply(this,f)}d<this.Ha&&(this.Ha=d,this.Jc=!1);d>this.ra&&(this.ra=d,this.Jc=!1);e<this.Ra&&(this.Ra=e,this.Jc=!1);e>this.Ia&&(this.Ia=e,this.Jc=!1)}};
  $.g.qp=function(){this.Us&&(this.Qf=Number.MAX_VALUE,this.Vd=-Number.MAX_VALUE,this.Je=Number.MAX_VALUE,this.Ld=-Number.MAX_VALUE);this.FT=this.Ha;this.dM=this.ra;this.HT=this.Ra;this.hM=this.Ia;this.Ha=Number.MAX_VALUE;this.ra=-Number.MAX_VALUE;this.Ra=Number.MAX_VALUE;this.Ia=-Number.MAX_VALUE;this.Jc=!1};$.g.pg=function(){return this.oc&&(0,window.isNaN)(this.ta)||this.Xb&&(0,window.isNaN)(this.la)||this.rb&&(0,window.isNaN)(this.ea)||this.Ya&&(0,window.isNaN)(this.$)};
  $.g.Mg=function(a){this.Us=$.n(a)?a:!0;this.Bq||this.qp();this.Bq++;return this};$.g.Ug=function(a){return(this.Bq=Math.max(this.Bq-1,0))?!0:this.rA(!!a)};
  $.g.kb=function(){if(!this.Jc&&this.yc){this.Jc=!0;this.SO();var a=[this.g,this.f],b=[this.D,this.o],c=this.Hv().Az(a[0],b[0]);a=this.Iv().Az(a[1],b[1]);this.vx().Bz(this.Hv().kj(),c[2],c[3]);this.wx().Bz(this.Iv().kj(),a[2],a[3]);this.Hc=this.fp-this.bm;this.bd=this.$l-this.ip;this.ZB=this.D-this.g;this.Xw=this.o-this.f;this.ratio=Math.min(this.yc.height/this.bd,this.yc.width/this.Hc);this.G=(this.yc.width-this.Hc*this.ratio)/2;this.K=(this.yc.height-this.bd*this.ratio)/2;c=wM(this,this.g,!0);a=
  wM(this,this.D,!0);b=wM(this,this.f,!1);var d=wM(this,this.o,!1);this.bm=Math.min(c.bm,a.bm,b.bm,d.bm,c.fp,a.fp,b.fp,d.fp);this.fp=Math.max(c.bm,a.bm,b.bm,d.bm,c.fp,a.fp,b.fp,d.fp);this.ip=Math.min(c.ip,a.ip,b.ip,d.ip,c.$l,a.$l,b.$l,d.$l);this.$l=Math.max(c.ip,a.ip,b.ip,d.ip,c.$l,a.$l,b.$l,d.$l);this.Hc=this.fp-this.bm;this.bd=this.$l-this.ip;this.ZB=this.D-this.g;this.Xw=this.o-this.f;this.ratio=Math.min(this.yc.height/this.bd,this.yc.width/this.Hc);this.G=(this.yc.width-this.Hc*this.ratio)/2;this.K=
  (this.yc.height-this.bd*this.ratio)/2;a:{this.b||(this.b=$.Vi());a=this.precision();c=a[0];a=a[1];b=this.jp();d=this.gp();var e=this.kp(),f=this.hp();this.b.clear();if(this.vd&&zL(this.vd["default"].Of)){var h=CM(this,b,e,null);this.b.moveTo(h[0],h[1]);h=CM(this,b,f,null);this.b.lineTo(h[0],h[1]);h=CM(this,d,f,null);this.b.lineTo(h[0],h[1]);h=CM(this,d,e,null);this.b.lineTo(h[0],h[1])}else{h=CM(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=CM(this,b,k,null),this.b.lineTo(h[0],h[1]),k+=a;h=CM(this,b,f,null);this.b.lineTo(h[0],h[1]);for(k=b;k<d;)h=CM(this,k,f,null),this.b.lineTo(h[0],h[1]),k+=c;h=CM(this,d,f,null);this.b.lineTo(h[0],h[1]);for(k=f;k>e;)h=CM(this,d,k,null),this.b.lineTo(h[0],h[1]),k-=a;h=CM(this,d,e,null);this.b.lineTo(h[0],h[1]);for(k=d;k>b;)h=CM(this,k,e,null),this.b.lineTo(h[0],h[1]),k-=c}h=CM(this,b,e,null);this.b.lineTo(h[0],h[1]);this.b.close()}}};
  $.g.SO=function(){var a=(this.rb?(0,window.isNaN)(this.ea)?this.Vd:this.ea:this.D)-(this.oc?(0,window.isNaN)(this.ta)?this.Qf:this.ta:this.g),b=(this.Ya?(0,window.isNaN)(this.$)?this.Ld:this.$:this.o)-(this.Xb?(0,window.isNaN)(this.la)?this.Je:this.la:this.f);this.rb&&(this.D=(0,window.isNaN)(this.ea)?this.Vd+a*this.P:this.ea);this.oc&&(this.g=(0,window.isNaN)(this.ta)?this.Qf-a*this.P:this.ta);this.Ya&&(this.o=(0,window.isNaN)(this.$)?this.Ld+b*this.P:this.$);this.Xb&&(this.f=(0,window.isNaN)(this.la)?
  this.Je-b*this.P:this.la);this.bm=this.Ha;this.ip=this.Ra;this.fp=this.ra;this.$l=this.Ia};$.g.transform=function(a,b,c){a=CM(this,a,b,c);a[0]=a[0]*this.zoom+this.eo;a[1]=a[1]*this.zoom+this.Ts;return a};
  $.g.Rc=function(a,b){this.kb();if(!this.yc||(0,window.isNaN)(a)||(0,window.isNaN)(b))return[window.NaN,window.NaN];a=$.O(a);b=$.O(b);a=(a-this.eo)/this.zoom;b=(b-this.Ts)/this.zoom;return DM(this,+(tM(this)?this.yc.Wa()-this.G-a:a-this.yc.left-this.G)/this.ratio+this.bm,-(uM(this)?this.yc.Na()-this.K-b:b-this.yc.top-this.K)/this.ratio+this.$l)};$.g.sq=function(a){this.kb();a=$.O(a);a=$.Bl((a-this.g)/this.ZB,3);return tM(this)?1-a:a};
  $.g.Ap=function(a){this.kb();a=$.O(a);a=$.Bl((a-this.f)/this.Xw,3);return uM(this)?1-a:a};$.g.F=function(){var a=pM.B.F.call(this);a.type=this.La();this.rb||(a.maximumX=this.D);this.Ya||(a.maximumY=this.o);this.oc||(a.minimumX=this.g);this.Xb||(a.minimumY=this.f);a.precision=this.precision();a.gap=this.Ql();a.xTicks=this.Hv().F();a.xMinorTicks=this.vx().F();a.yTicks=this.Iv().F();a.yMinorTicks=this.wx().F();(0,window.isNaN)(this.jo)||(a.maxTicksCount=this.jo);return a};
  $.g.Y=function(a,b){pM.B.Y.call(this,a,b);this.jp(a.minimumX);this.kp(a.minimumY);this.gp(a.maximumX);this.hp(a.maximumY);this.precision(a.precision);this.Ql(a.gap);this.Hv(a.xTicks);this.vx(a.xMinorTicks);this.Iv(a.yTicks);this.wx(a.yMinorTicks);this.io(a.maxTicksCount)};var TN=pM.prototype;TN.maxTicksCount=TN.io;TN.getType=TN.La;TN.gap=TN.Ql;TN.xTicks=TN.Hv;TN.xMinorTicks=TN.vx;TN.yTicks=TN.Iv;TN.yMinorTicks=TN.wx;TN.extendDataRange=TN.Vc;TN.minimumX=TN.jp;TN.maximumX=TN.gp;TN.minimumY=TN.kp;
  TN.maximumY=TN.hp;TN.precision=TN.precision;FM.prototype.pop=function(){GM(this,0,this.b.length-1);var a=this.b.pop();EM(this,0);return a};$.ja(HM);HM.prototype.La=function(){return"geo-json"};
  HM.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(IM(this,e.geometry,e.properties))}}else $.Pj(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(IM(this,d[a],d[a].properties));else $.Pj(10,"GeometryCollection object missing 'geometries' member.");break;case "Feature":a.properties&&a.geometry?
  c.push(IM(this,a.geometry,a.properties)):$.Pj(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(IM(this,a,null)):$.Pj(10,"Geometry object missing 'coordinates' member.");break;default:$.Pj(10,"GeoJSON object must be one of 'Point', 'LineString', 'Polygon', 'MultiPolygon', 'Feature', 'FeatureCollection' or 'GeometryCollection'.")}return c};var XM={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(OM);OM.prototype.La=function(){return"svg"};OM.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=$.te(e);e=0;for(c=f.length;e<c;e++){var h=f[e];if($.ve(h)){var k=h.getAttribute("id");this.b[k]||PM(this,h)}}}return TM(this,this.g,null,null)};$.ja(aN);aN.prototype.La=function(){return"topo-json"};aN.prototype.f=function(a){var b=[],c=HM.td();$.sc(a.objects,function(d){d=Nea(this,a,d);b.push.apply(b,c.f(d))},this);return b};aN.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=cN.prototype;$.g.stroke=function(a,b,c,d,e){if($.n(a)){var f=$.Ob.apply(null,arguments);f!=this.hc&&(this.hc=f,this.X.u(16,1));return this}return this.hc};$.g.fill=function(a,b,c,d,e,f,h){if($.n(a)){var k=$.Lb.apply(null,arguments);k!=this.Dc&&(this.Dc=k,this.X.u(16,1));return this}return this.Dc};$.g.enabled=function(a){return $.n(a)?(a=!!a,this.b!=a&&(this.b=a,this.X.u(16,1)),this):this.b};
  $.g.N=function(a){$.n(a)&&($.V(this.X),$.da(a)||null===a?this.enabled(!!a):$.D(a)&&(this.stroke(a.stroke),this.fill(a.fill),this.enabled(a.enabled)),this.X.ba(!0));return this};$.g.F=function(){var a={};a.fill=this.fill();a.enabled=this.enabled();a.stroke=this.stroke();return a};var UN=cN.prototype;UN.stroke=UN.stroke;UN.fill=UN.fill;UN.enabled=UN.enabled;$.H(eN,$.Yw);var VN={},WN=$.Hy|5767168;VN.connector={xb:21,Cb:2,Ib:[$.jE,$.JD,{name:"eventHandler",Db:"path",Pb:!0,Qb:null,Nb:!1,tb:!1,zIndex:0}],Gb:null,zb:null,sb:WN};VN.marker={xb:22,Cb:2,Ib:[$.jE,$.JD],Gb:null,zb:null,sb:$.Hy|1572864};VN.bubble={xb:23,Cb:2,Ib:[$.MD,$.ND,$.QD,$.SD],Gb:null,zb:null,sb:WN,vb:"value",ub:"value"};VN.choropleth={xb:24,Cb:2,Ib:[{name:"foreignFill",Db:"none",Pb:"fill",Qb:"stroke",Nb:!0,tb:!1,zIndex:0},$.JD],Gb:null,zb:null,sb:WN};eN.prototype.Ei=VN;$.Zw(eN,eN.prototype.Ei);
  var XN={};$.R(XN,0,"geoIdField",$.Vo);$.R(XN,0,"overlapMode",$.Aj);$.R(XN,0,"minZoomLevel",$.O);$.R(XN,0,"maxZoomLevel",$.O);$.Zo(eN,XN);eN.prototype.oa=$.Yw.prototype.oa|268238864;eN.prototype.ua=$.Yw.prototype.ua|1024;var Gea=100,YN={"default":{crs:"wsg84",scale:1}},LN=20,MN=1E-5;$.g=eN.prototype;$.g.rK=0;$.g.Pw=0;$.g.zx=1;$.g.Po=1;$.g.tj=null;$.g.La=function(){return"map"};$.g.Dy=function(a){return this.Ym.Sl()[a]};$.g.Gy=function(a){return this.Ym.Sl()[a]};
  $.g.x8=function(){if(!this.xd){var a=this.O();if((a=a?a.Da():null)&&this.Ff()){a=a.ul();$.Tc&&(a.style["-ms-touch-action"]="none");$.bB||($.bB=$.ie("textarea"),$.bB.setAttribute("readonly","readonly"),$.Je($.bB,{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($.bB),$.pd($.bB,["focus","focusin","select"],function(a){a.preventDefault()}));this.qa("pointsselect",function(a){$.bB.innerHTML=
  this.fe().HD().call(a,a);$.bB.select()},!1,this);this.Xf=new $.bA($.bB);this.Xf.K=!0;this.Xf.P=!0;this.Xf.G=!0;this.Xf.$=!0;this.Xf.zk("zoom_in",187,8);this.Xf.zk("zoom_out",189,8);this.Xf.zk("zoom_full_out",48,8);this.Xf.zk("zoom_in",187,2);this.Xf.zk("zoom_out",189,2);this.Xf.zk("zoom_full_out",48,2);this.Xf.zk("zoom_in",107,8);this.Xf.zk("zoom_out",109,8);this.Xf.zk("zoom_full_out",96,8);this.Xf.zk("zoom_in",107,2);this.Xf.zk("zoom_out",109,2);this.Xf.zk("zoom_full_out",96,2);this.Xf.zk("move_left",
  37);this.Xf.zk("move_right",39);this.Xf.zk("move_up",38);this.Xf.zk("move_down",40);this.Xf.zk("drill_up",8);this.Xf.zk("drill_up",27);var b=this.i("minZoomLevel"),c=this.i("maxZoomLevel");this.Xf.qa("shortcut",function(a){if(this.Dm.XJ()&&(!$.bB.ya||$.bB.ya==this)){var c=0;c=0;this.Jw=!0;this.Fk=100;var d=$.bB.ya.Ph();switch(a.identifier){case "zoom_in":d.DC();break;case "zoom_out":d.EC();break;case "zoom_full_out":d.SA();break;case "move_up":c=10*d.Uf();d.move(0,c);break;case "move_left":c=10*d.Uf();
  d.move(c,0);break;case "move_down":c=-10*d.Uf();d.move(0,c);break;case "move_right":c=-10*d.Uf();d.move(c,0);break;case "drill_up":a=d.df.od,$.El(d.Uf(),b)&&$.El(a.Ed,0)&&$.El(a.Fd,0)?(d.df.nc(b,0,0,b,0,0),this.KA()):this.Zt||(d.wh&&d.wh.stop(),this.Xt(d,function(){this.hB=!0;this.Fk=300;this.lm(b);this.Xt(this,function(){this.hB=!1})}))}}},!1,this);this.Oaa=(0,$.qa)(function(a){if(!this.O())return!1;var d=$.Ei(this.O().Da()),e=a.fX?a.pk:a,f=this.Ph();e=$.Ya(1-e.deltaY/120,.7,2);var m=f.fe().Lr(),
  p=this.Ff();return(p&&a.clientX>=p.left+d.x&&a.clientX<=p.left+d.x+p.width&&a.clientY>=p.top+d.y&&a.clientY<=p.top+d.y+p.height||!p)&&m&&!(1<e&&f.Po>=c||1>e&&f.Po<=b)},this);this.IR=new fL(a,!1,this.Oaa);this.IR.qa("mousewheel",function(a){var d=this.Ph(),e=d.df;this.Jw=!0;var f=$.Ei(this.O().Da()),m=this.Ff();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.Dm.Lr()&&m&&!d.hB){m=$.Ya(1-a.deltaY/120,.7,2);this.bG=this.RG;this.RG=
  1<m?!0:1==m?!this.bG:!1;this.bG!=this.RG&&d.wh&&1==d.wh.dc&&d.wh.stop();var p=d.Uf();1>m&&$.El(p,b)&&!$.tb(e.od)?(e.nc(b,0,0,b,0,0),d.Po=b,d.hB=!1,d.wh&&1==d.wh.dc&&d.wh.stop(),d.scale().zoom=b,UL(d.scale(),0,0),VL(d)):1<=m&&($.El(p,c)||p>c)||1>=m&&($.El(p,b)||p<b)||d.zoom(m,a.clientX-f.x,a.clientY-f.y,20)}},!1,this);this.qR=function(a){if(this.O()&&this.O().Da()){var b=$.Ei(this.O().Da()),c=this.ob();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.Jw){var d=$.ee($.Yd($.bB).b),e=d.scrollLeft,f=d.scrollTop;$.bB.select();$.bB.ya=this;if($.Sc){var q=d.scrollLeft,r=d.scrollTop;(0,window.setTimeout)(function(){d.scrollLeft==q&&d.scrollTop==r&&$.Sj.scrollTo(e,f)},0)}else $.Sj.scrollTo(e,f)}}};this.rR=function(a){if(this.Dm.nM()){var b=this.Ph(),c=$.Ei(this.O().Da()),d=b.Ff();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.Jw=!0,c=this.i("zoomFactor"),d=a.clientX,
  a=a.clientY,this.Fk=100,b.zoom(c,d,a))}};this.xF=function(){this.FG=0;this.hw();$.xd(window.document,["pointermove","touchmove"],this.k0,!1,this)};this.sR=function(){this.ei||($.xd(window.document,"mousemove",this.DR,!1,this),$.xd(window.document,"mouseup",this.HR,!1,this))};$.pd(this.mf(),["drag","dragstart"],function(){this.dK=!0},!1,this);$.pd(this.mf(),"dragend",function(){this.dK=!1},!1,this);$.pd(a,"click",this.qR,!1,this);$.pd(a,"dblclick",this.rR,!1,this);this.FG=0;$.pd(a,["pointerup","touchend"],
  this.xF,!1,this);var d,e;this.qa("mousedown",function(a){var b=$.Ei(this.O().Da()),c=this.Ff();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.Jw=!0,d=a.clientX,e=a.clientY,$.pd(window.document,"mousemove",this.DR,!0,this),$.pd(window.document,"mouseup",this.HR,!0,this))},!1,this);this.DR=function(a){var b=this.Ph();this.Dm.ei()&&1!=b.Uf()&&!this.dK&&(b.Bk(),b.move(a.clientX-d,a.clientY-e),this.dispatchEvent("drag"),d=a.clientX,e=
  a.clientY)};this.HR=function(){if(this.TJ){this.hw();for(var a=this.bb.length;a--;){var b=this.bb[a];21==b.te.type&&(b.Vy=this.df.Sf().clone(),b.u(1024,1),b.ox())}}$.xd(window.document,"mousemove",this.DR,!0,this);$.xd(window.document,"mouseup",this.HR,!0,this)};$.pd(a,"mouseleave",this.sR,!1,this)}else(0,window.setTimeout)(this.gY,100)}};$.g.Bk=function(){this.ei||(this.ei=!0,this.dispatchEvent("dragstart"))};$.g.hw=function(){this.ei&&(this.ei=!1,this.Dm.ei()&&1!=this.Ph().Uf()&&!this.dK&&this.dispatchEvent("dragend"))};
  $.g.sea=function(a){this.Fg(a);this.Jw=!1;var b=$.Ei(this.O().Da()),c=this.Ff();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.DK||a).dk.pk;c=b.touches.length;if(2==c)a=b.touches[0],b=b.touches[1],this.FG=$.Nl(a.pageX,a.pageY,b.pageX,b.pageY),this.DG=!1;else if(1==c){this.DG=!0;this.XR=a;if(!this.T_){this.Y_=this.Cc.Oe(this,"touchstart",function(a){1<a.DK.dk.pk.touches.length&&(this.DG=!1)});this.X_=this.Cc.Oe(this,"touchmove",
  function(){this.DG=!1});if(this.Dm.ei()&&1!=this.Uf()){c=this.df;var d=c.Ri();$.nb(c.eb(),d)&&b.preventDefault()}this.T_=!0;(0,window.setTimeout)(this.tea,10)}this.M_=a.clientX;this.N_=a.clientY;this.ei=!0}else this.DG=!1;$.pd(window.document,["pointermove","touchmove"],this.k0,!1,this);$.pd(window.document.body,["pointermove","touchmove"],function(){return!1},!1,this)}};
  $.g.yi=function(a){this.TJ=!1;this.XR=a;this.Uf()==this.i("minZoomLevel")?(0,window.setTimeout)(this.h4,0,a):this.ZY||(this.V_=this.Cc.Oe(this,"mousemove",function(){this.TJ=!this.dK}),this.ZY=!0,(0,window.setTimeout)(this.S8,70))};
  $.g.pq=function(a){if("drill-down"==this.fe().i("selectionMode")){var b=this.Ph().aP();if(b){var c=$.Ym(a.domTarget),d;if($.K(a.target,$.Es)||$.K(a.target,$.xv)){a=a.target.Rh();a.Wh&&a.Wh()&&(d=a);var e=c}else $.K(a.target,$.Iu)||this.Mt(a.target)?c&&(c.pf?(d=c.pf.U,e=c.pf.$c):(d=c.U,e=c.index)):(d=c&&c.U,e=$.ea(c.index)?c.index:a.pointIndex);d&&(c=d.ud(e).get("id"),b=b[c])&&($.K(b,eN)?this.fw(c,b):$.D(b)&&(this.eF[c]||(this.eF[c]=$.ro(b)),this.fw(c,this.eF[c])))}}else eN.B.pq.call(this,a)};
  $.g.$g=function(a){var b=this.Ph(),c=b.fe().i("hoverMode"),d=$.Ym(a.domTarget),e=!1,f;if($.K(a.target,$.Es)||$.K(a.target,$.xv)){var h=a.target.Rh();h.Wh&&h.Wh()&&(f=h);h=d}else $.K(a.target,$.Iu)||b.Mt(a.target)?(d&&(d.pf?(f=d.pf.U,h=d.pf.$c,$.A(h)&&!h.length&&(h=window.NaN)):(f=d.U,h=d.index)),e=!0):(f=d&&d.U,h=$.ea(d.index)?d.index:a.pointIndex);if(f&&!f.xd&&f.enabled()&&$.E(f.Wf)&&(d=f.Wf(a))){var k=$.Ym(a.relatedDomTarget);k=$.O($.D(k)?k.index:k);$.Zm(f,a.relatedTarget)&&k==h||!f.dispatchEvent(d)||
  "single"!=c||(0,window.isNaN)(h)&&!$.A(h)||(f.sd(),b.jy(),b.dispatchEvent(b.Uj("hovered",a,[{U:f,$c:[],Ud:{index:$.A(h)?h[0]:h,Af:0}}],!1,e)))}"single"==c||$.Zm(b,a.relatedTarget)||(b.sd(),b.jy(),b.yk&&b.dispatchEvent(b.Uj("hovered",a,b.yk,!0,e)),b.yk=null)};$.g.Zg=function(a){this.TJ||eN.B.Zg.call(this,a)};
  $.g.k0=function(a){var b=a.pk,c=b.touches?b.touches.length:0;this.Jw=!1;var d=this.Ph(),e=d.df;if(2==c){c=b.touches[0];var f=b.touches[1];b=$.Nl(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.FG);f=this.i("minZoomLevel");var k=this.i("maxZoomLevel");this.Dm.Lr()&&h&&(h=0<b-this.FG?1.3:1/1.3,this.FG=b,this.bG=this.RG,this.RG=1<h?!0:1==h?!this.bG:!1,this.bG!=this.RG&&d.wh&&1==d.wh.dc&&
  d.wh.stop(),1>h&&$.Bl(d.Uf(),2)==f&&!$.tb(e.od)?(e.nc(f,0,0,f,0,0),d.Po=f,d.hB=!1,d.wh&&1==d.wh.dc&&d.wh.stop(),d.scale().zoom=f,UL(d.scale(),0,0),VL(d)):1<h&&d.Uf()>=k||1>h&&d.Uf()<=f||(e=$.Ze(this.O().da()),d.zoom(h,a-e.left,c-e.top)))}else 1==c&&(this.ei&&this.Dm.ei()&&1!=this.Uf()?(e=a.clientX-d.M_,b=a.clientY-d.N_,$.Je(window.document.body,"cursor","move"),d.move(e,b),d.M_=a.clientX,d.N_=a.clientY):$.Je(window.document.body,"cursor",""))};
  $.g.Yq=function(a){if($.K(a.target,$.Iu))return $.Ym(a.domTarget).$c;var b=this.si||$.Ql(0,0,0,0),c=a.clientX;a=a.clientY;var d=$.Ei(this.O().Da());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.fe();if("by-spot"==d.i("hoverMode")){var h=d.i("spotRadius");e=0;for(f=this.bb.length;e<f;e++){var k=this.bb[e];if(k.enabled()){var l=k.aa(),m=[];l.reset();for(var p=window.Infinity,q;l.advance();)if(l.j("shape")){var r=l.j("x"),t=l.j("value");d=l.ja();
  r=$.Nl(r,t,c,a);r<=h&&(m.push(d),r<p&&(p=r,q=d))}m.length&&b.push({U:k,$c:m,Gm:m[m.length-1],Ud:{index:q,Af:p}})}}}else this.fe().i("hoverMode");return b};
  $.g.JD=function(a,b){for(var c=[],d,e=0,f=a.length;e<f;e++){var h=a[e],k=h.U,l={series:k},m=k.aa(),p=[];if(!b)for(var q=0;q<h.$c.length;q++){var r=h.$c[q];m.select(r)&&((d=(d=m.j("features"))&&d.length?d[0].properties:null)?(r={id:d[FL(k)],index:m.ja(),properties:d},p.push(r)):p.push(r))}l.points=p;h.Ud?(r=h.Ud.index,m.select(r)&&(r={},(d=(d=m.j("features"))&&d.length?d[0].properties:null)?(r.id=d[FL(k)],r.index=m.ja(),r.properties=d):r.index=m.ja()),h={point:r,distance:h.Ud.Af}):h={index:window.NaN,
  distance:window.NaN};l.nearestPointToCursor=h;c.push(l)}return c};$.g.oI=function(a,b){var c=this.Ph().Mi();a=$.A(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.te.Ek);$.hJ(c,d)}}};$.g.jy=function(){var a=this.Ph().Mi();a&&a.enabled()&&$.iJ(a)};$.g.bx=function(){this.nb().Op()&&this.u(4,9)};$.g.wO=function(){return new AL(this)};
  $.g.CO=function(a,b){this.bs||(this.bs=new $.Ou,$.U(this.bs,this.xca,this));return $.n(a)?(this.bs.N.apply(this.bs,arguments),this):this.bs};$.g.xca=function(){};$.g.Mi=function(a){this.Kb||(this.Kb=new $.cJ,$.U(this.Kb,this.zD,this),this.u(524292,1));return $.n(a)?(this.Kb.N(a),this):this.Kb};$.g.zD=function(a){var b=0,c=0;$.W(a,1)&&(b|=557072,c|=1,this.Hu());$.W(a,8)&&(b|=4,c|=8);$.W(a,2)&&(b|=524288,c|=8);this.u(b,c)};$.g.Mt=function(a){return $.K(a,$.cJ)};
  $.g.IV=function(a,b){var c=$.O(a);if((0,window.isNaN)(c)){c=0;var d=a}else c=a,d=b;var e=this.Bo[c];e||(e=new hM,e.lb(this),e.N(this.nW()),this.Bo[c]=e,$.L(this,e),$.U(e,this.sca,this),this.u(16777220,1));return $.n(d)?(e.N(d),this):e};$.g.sca=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.nW=function(a){return $.n(a)?(this.H8=a,this):this.H8||{}};$.g.axes=function(a){this.Ym||(this.Ym=new gM(this));return $.n(a)?(this.Ym.fa(!1,a),this):this.Ym};
  $.g.sK=function(a){var b=0;$.W(a,8)?b|=4:$.W(a,1)&&(b|=33554432);this.u(b,1)};$.g.lQ=function(a){this.Cs||(this.Cs=new lM(this),$.Pp(this,"gridsSettings",this.Cs));return $.n(a)?(this.Cs.fa(!1,a),this):this.Cs};$.g.kZ=function(){this.u(67108864,1)};$.g.ig=function(a){this.Nf||(this.Nf=new jM,this.Nf.enabled(!1),$.Lx(this.Nf,this),$.L(this,this.Nf),$.U(this.Nf,this.gz,this));return $.n(a)?(this.Nf.N(a),this):this.Nf};$.g.gz=function(){this.u(134217728,1)};$.g.VI=function(a){return IL(a)?15:30};
  $.g.YS=function(a){EL(a,this.i("geoIdField"));this.sk&&(a.Vq=this.sk);eN.B.YS.call(this,a)};$.g.St=function(a,b){return new DL(this,this,a,b,!0)};$.g.qr=function(a){return $.cj(Rea,a,"choropleth")};
  $.g.nL=function(a){var b=0;$.W(a,32768)&&(b|=256);$.W(a,1)&&(b=32768,IL(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;IL(a.target)&&(b|=16);for(var c=this.bb.length;c--;)this.bb[c].u(4260356)}$.W(a,64)&&(b|=512,$.W(a,8)&&(b|=4));$.W(a,128)&&(b|=524288,a=this.Mi(),a.Kd(),a.u(a.qe));this.u(b,1)};$.g.Hu=function(){for(var a=this.bb.length;a--;)this.bb[a].u(4)};$.g.ay=function(a){a=a?a.path():$.Vi();a.Ko(!0);return a};
  $.g.PV=function(a){a.clear();a.parent(null);a.dl();a.nc(1,0,0,1,0,0);delete a.tag};$.g.clear=function(){this.df&&(fN(this)?hN(this,this.df):this.df.clear());this.Tu.length=0};$.g.Ff=function(){return this.si};$.g.scale=function(a){if($.n(a))return a&&$.K(a,pM)?this.ma!=a&&(this.ma&&$.Fp(this.ma,this.UI,this),this.ma=a,$.U(this.ma,this.UI,this),this.u(65536,1)):(this.ma||(this.ma=new pM,$.U(this.ma,this.UI,this)),this.ma.N(a)),this;this.ma||(this.ma=new pM,$.U(this.ma,this.UI,this));return this.ma};
  $.g.UI=function(a){var b=0;$.W(a,4)&&(b|=65540);$.W(a,2)&&(b|=4);this.u(b,1)};$.g.Qa=function(){return null};$.g.Xa=function(){return null};$.g.uC=function(a){if($.n(a)){if($.D(a)){if(!this.uq||$.z(this.uq))this.uq=new cN(this);this.uq.N(a)}else this.uq=$.cj(Qea,a,"hide");this.u(16,1);return this}return this.uq};
  $.g.Vq=function(a){if($.n(a)){if($.z(a)&&!$.Yb(a,"<")){this.TI=a;var b=a.split(".");a=$.Sj;for(var c=0,d=b.length;c<d;c++)a=a[b[c]]}else this.TI=null;this.wm!=a&&(this.wm=a,this.u(5095440,1));return this}return this.wm};$.g.zW=function(a,b,c){var d=xM(this.scale(),a[b],a[b+1]);a=d[0];d=d[1];$.vc(c,"coordinates")?c.da.moveTo(a,d).lineTo(a,d):b?c.da.lineTo(a,d):c.da.moveTo(a,d)};
  $.g.YN=function(a,b,c){var d=this.sP;if(fN(this.map))"image"==c.type||"text"==c.type?(a=$.Af().uR(c.cloneNode),d.LI(a.wb(),a.Tb(),a.Wa(),a.Na())):"path"==c.type&&(this.map.vR||(this.map.vR=$.Vi()),ZM(c.commands_tx?c.commands_tx:c.commands,this.map.vR),a=this.map.vR.eb(),d.LI(a.wb(),a.Tb(),a.Wa(),a.Na()));else{if(this.FZ){c=(a[b]-this.vd.vh)/this.vd.scale;var e=(a[b+1]-this.vd.bi)/this.vd.scale;this.EZ&&(e=this.EZ.ii(c,e),c=e[0],e=e[1]);e=this.FZ.forward(c,e);a[b]=e[0]*this.vd.scale+this.vd.vh;a[b+
  1]=e[1]*this.vd.scale+this.vd.bi}d.LI(a[b],a[b+1])}};$.g.YO=function(a){return this==ML(this)?eN.B.YO.call(this,a):a};$.g.nw=function(a){var b=a.clone();if(this.Ym){var c=0,d=0,e=0,f=0;b=a.clone();for(var h=this.Ym.Sl(),k,l=0;l<h.length;l++)if(k=h[l],k.i("enabled")){k.ka(a);var m=k.jd(),p=a.left-m.left;c<p&&m.left&&(c=p);p=a.top-m.top;d<p&&m.top&&(d=p);p=m.Wa()-a.Wa();e<p&&m.Wa()&&(e=p);p=m.Na()-a.Na();f<p&&m.Na()&&(f=p);k.u(4)}b.left+=c;b.top+=d;b.width-=c+e;b.height-=d+f}return b};
  $.g.kb=function(){var a;var b=this.scale();var c=!1;if(this.J(262144)){var d=this.Vq();if(null!=d){d=$.z(this.wm)&&!$.Yb(d,"<")?$.Sj.anychart.maps[this.wm]:this.wm;$.z(d)&&$.Yb(d,"<")||$.ke(d)?this.KB=OM.td():"topology"===d.type.toLowerCase()?this.KB=aN.td():this.KB=HM.td();this.MQ=this.KB.f(d);$.Zc(this.sk);this.sk=null;(c=d["ac-geoFieldId"])&&(this.ca.geoIdField=c);this.tj={};c=d["ac-tx"]||{};var e=c["default"];e||(e=c["default"]=$.Cc(YN["default"]));$.sc(c||YN,function(a,b){var c={};c.Of=$.n(a.crs)?
  eL(a.crs):e.Of;c.rG=c.Of;c.In=yL(c.Of);c.K_=yL(c.rG);c.scale=a.scale||e.scale||1;c.vh=$.n(a.xoffset)?(0,window.parseFloat)(a.xoffset):0;c.bi=$.n(a.yoffset)?(0,window.parseFloat)(a.yoffset):0;$.n(a.heatZone)&&(c.Fs=$.A(a.heatZone)?a.heatZone:$.Tl(a.heatZone));this.tj[b]=c},this);(c=d.scale)?qM(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):qM(b,window.NaN,window.NaN,window.NaN,window.NaN)}this.df?this.clear():(this.df=
  gN(this,this.Va),this.df.zIndex(10),ML(this)==this&&this.gY());fN(this)&&!this.zv&&(this.zv=gN(this,this.df));this.Ze||(this.Ze=this.Va.ve(),this.Ze.zIndex(30));c=!0;this.u(65540)}if(this.J(65536)){if(this.tj){Iea(b,this.tj);if(this.df){var f=this.df.od;b.zoom=f.Dd;UL(b,f.Ed,f.Fd)}var h=this.tj?this.tj["default"]:null;var k=!this.gy,l=null===this.cs?h.rG:this.cs;f=!this.sk;this.fz=null;k&&this.cs?this.fz=this.cs:this.gy==h.Of&&this.gy==l||k||fN(this)||(this.fz=l);var m=!!this.fz&&!fN(this);if(h.Of!=
  this.fz&&h.rG!=this.fz||this.bs.enabled()){if(!zL(h.rG))var p=h.K_;m&&(a=yL(this.fz))}var q=h.In;k&&(this.gy=l);m&&(this.Kp&&1==this.Kp.dc&&(this.Kp.stop(),this.Kp.ld(),this.Kp=null),this.gy=this.fz,h.Of=this.gy,h.In=yL(h.Of));f?(d=this.MQ,this.sk=[]):m?d=this.MQ:d=this.sk;if(this.Kp&&this.Kp.dc==$.Dw||!this.Kp)this.bs&&this.bs.i("enabled")&&0<this.bs.i("duration")&&!f&&m?(h.In=new nM(q,a),this.Kp=new PL(this,d,p,h,this.bs.i("duration"),this!=this.Ph()),this.Kp.Oe("end",function(){this.map.Kp.stop();
  this.map.Kp.ld();this.vd.In=this.vd.In.RO},!0,{map:this,vd:h}),this.Kp.play()):(a=(0,$.qa)(this.YN,{vd:h,EZ:p,FZ:a,sP:this.scale(),map:this}),fN(this),$.V(b),b.Mg(c),QL(this,d,a,f,m),b.Ug(),b.ba(!0),fN(this)?(sM(b,!0),this.zv.parent(this.df),this.zv.nc(1,0,0,1,0,0)):sM(b,!1));a=-window.Infinity;p=window.Infinity;f=c=0;for(b=this.bb.length;b--;)d=this.bb[b],d.u(512,1),d.$m(),a=Math.max(a,d.wa("seriesMax")),p=Math.min(p,d.wa("seriesMin")),c+=d.wa("seriesSum"),f+=d.wa("seriesPointsCount");m=c/f;for(b=
  0;b<this.bb.length;b++)d=this.bb[b],d.wa("max",a),d.wa("min",p),d.wa("sum",c),d.wa("average",m),d.wa("pointsCount",f),d=$.Sb(d.stroke()),d>this.kq&&(this.kq=d)}this.I(65536)}if(this.J(4194304)){a=this.i("geoIdField");this.bF={};this.bF[a]={};if(this.sk){for(b=this.bb.length;b--;)d=this.bb[b],$.n(d.VA())&&d.VA()!=a&&(this.bF[d.VA()]={});b=0;for(d=this.sk.length;b<d;b++)a=this.sk[b],kN(this,a,function(a){var b=a.properties;if(b)for(var c in this.bF)c in b&&(this.bF[c][b[c]]=a)},this)}this.I(4194304)}};
  $.g.mC=function(){eN.B.mC.call(this,this.Ok);this.Ut().Nx(rM(this.scale()))};
  $.g.Mj=function(a){ML(this);var b,c,d,e=this.i("maxZoomLevel"),f=this.i("minZoomLevel");var h=this.scale();this.kb();if(this.J(32768)){for(b=this.bb.length;b--;){var k=this.bb[b];$.V(k);k.O(this.Ze);k.ba(!1)}this.iA={};$.$w(this)}if(this.J(4)){b=0;for(d=this.Bo.length;b<d;b++){var l=this.Bo[b];l.u(4)}if(this.Ym)for(k=this.Ym.Sl(),b=0,d=k.length;b<d;b++){var m=k[b];$.Os(m.labels());$.Os(m.ab());m.scale()||m.scale(this.scale());m.u(m.qe)}if(this.Cs)for(l=this.Cs.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)&&this.Kb){b=0;for(d=this.bb.length;b<d;b++)IL(this.bb[b])&&(c=this.bb[b]);c&&(c.kb(),$.V(this.Kb),this.Kb.scale(c.se()),this.Kb.target(c),this.Kb.lb(ML(this)),this.Kb.ba(!1),this.u(4))}if(this.J(16777216))for(b=0,d=this.Bo.length;b<d;b++)if(l=this.Bo[b]){c=[];m=l.items();for(var p=0,q=0,r=m.length;q<r;q++)for(var t=m[q],u=0,v=this.bb.length;u<v;u++){k=this.bb[u];var x=(0,$.ya)(k.IS,t);if(k=-1!=x?k.ud(x):null)c[p]=k,p++}$.V(l);l.o=
  c;l.lb(ML(this));l.O(this.Va);l.zIndex(60);l.ba(!1)}l=this.df;if(this.J(4)){if(this.Kb){this.Kb.ka(a.clone().round());var w=this.Kb.jd()}else w=a.clone();this.Va.clip(this.ob());a=$.D(this.uq)?$.Sb(this.uq.stroke()):0;a>this.kq&&(this.kq=a);w.left=w.left+this.kq/2;w.top=w.top+this.kq/2;w.width=w.width-this.kq;w.height=w.height-this.kq;a=w;d=this.Bo;k=a.clone();q=p=m=c=0;for(b=d.length;b--;)(r=d[b])&&r.enabled()&&(r.ka(a),t=r.orientation(),"top"==t?(r=r.jd(),c=a.height-r.height):"bottom"==t?(r=r.jd(),
  m=a.height-r.height):"left"==t?(r=r.jd(),p=a.width-r.width):"right"==t&&(r=r.jd(),q=a.width-r.width));k.left+=p;k.top+=c;k.width-=q+p;k.height-=m+c;a=this.nw(k).clone();a.left+=this.kq/2;a.top+=this.kq/2;a.width-=this.kq;a.height-=this.kq;h.yf(a);this.si=a;if(this.Ym)for(k=this.Ym.Sl(),b=0,d=k.length;b<d;b++)m=k[b],m.Kd();this.df&&this.tj&&!this.tj["default"].vh&&this.df.clip(rM(h));this.clear();fN(this)&&(h.kb(),this.zv.parent(this.df),this.zv.nc(1,0,0,1,0,0),this.zv.scale(h.ratio,h.ratio,0,0),h=
  xM(h,0,0),c=new $.xb(1,0,0,1,h[0],h[1]),$.qb(c,this.zv.od),this.zv.nc(c.Dd,c.Fe,c.Pe,c.Ae,c.Ed,c.Fd));if(this.sk)for(a=fN(this)?this.zv:this.df,b=0,d=this.sk.length;b<d;b++)h=this.sk[b],jN(this,h,a);for(b=this.bb.length;b--;)k=this.bb[b],k.ka(this.si),k.u(4,1);h=8388608;fN(this)&&(h|=16);this.u(h)}if(this.J(2097152)){h=this.Uf();b=this.zx*h;c=this.df.Sf();var y=c.Ed;var B=c.Fd;if(!(h==f&&b<f||h==e&&b>e)&&l||this.vq){k=!($.n(this.zc)&&$.n(this.pc));if((0,window.isNaN)(this.zc)||(0,window.isNaN)(this.pc))a=
  rM(this.scale()).Ri(),m=a.top+a.height/2,d=(a.left+a.width/2-y)/c.Dd,a=(m-B)/c.Ae,(0,window.isNaN)(this.zc)&&(this.zc=d),(0,window.isNaN)(this.pc)&&(this.pc=a);a=1>this.zx;this.vq||(b>e?(this.zx=e/this.Uf(),b=this.zx*h):b<f&&a&&(this.zx=f/this.Uf(),b=this.zx*h));e=this.Fk||200;this.wh&&this.wh.dc!=$.Dw||k||(this.Vz=h,this.mM=b,((a=$.El(this.Vz,this.mM,1E-5))&&this.UG||!a)&&this!=this.Ph()||ML(this).dispatchEvent(pN(this,"zoomstart"))?($.Sj.anychart.ui.ContextMenu&&(a=this.contextMenu(),a.bf()&&a.md()),
  a=this.df,k=a.eb(),d=(this.zc-y)/this.Vz,a=(this.pc-B)/this.Vz,this.vq||(d<k.left?d=k.left:d>k.Wa()&&(d=k.Wa()),a<k.top?a=k.top:a>k.Na()&&(a=k.Na())),this.wh=new SL(this,[h,y,B],[b,d*(1-this.Vz),a*(1-this.Vz)],e,this!=this.Ph()),this.wh.play()):a&&(e=this.Ph(),a=e.df.eb(),d=a.left+a.width/2,a=a.top+a.height/2,y=d*(1-e.Po),B=a*(1-e.Po),this.df.nc(e.Po,0,0,e.Po,y,B),this.scale().zoom=e.Po,UL(this.scale(),y,B),VL(this)))}this.UG=!1;this.Fk=window.NaN;this.zx=1;this.I(2097152)}this.J(1048576)&&(this.Uf()!=
  f&&l&&(f=l.Ri(),k=l.ts(l.Sf()),this.EY?k.left+this.offsetX>=f.left&&0<this.offsetX?y=0:k.Wa()+this.offsetX<=f.Wa()&&0>this.offsetX?y=0:y=this.offsetX:k.left+this.offsetX>=f.left?y=f.left-k.left:k.Wa()+this.offsetX<=f.Wa()?y=f.Wa()-k.Wa():y=this.offsetX,this.EY?k.top+this.offsetY>=f.top&&0<this.offsetY?B=0:k.Na()+this.offsetY<=f.Na()&&0>this.offsetY?B=0:B=this.offsetY:k.top+this.offsetY>=f.top?B=f.top-k.top:k.Na()+this.offsetY<=f.Na()?B=f.Na()-k.Na():B=this.offsetY,y/=this.Uf(),B/=this.Uf(),this.offsetY=
  this.offsetX=0,y||B)&&(this.Qba=!0,l.iD(1,0,0,1,y,B),c=l.od,UL(this.scale(),c.Ed,c.Fd),VL(this)),this.I(1048576));if(this.J(33554432)){if(this.Ym)for(k=this.Ym.Sl(),b=0;b<k.length;b++)m=k[b],$.V(m),m.O(this.Va),m.W(),m.ba(!1);this.I(33554432)}if(this.J(67108864)){if(this.Cs)for(l=this.Cs.Sl(),b=0,d=l.length;b<d;b++)k=l[b],$.V(k),k.scale(this.scale()),k.O(this.Va),k.W(),k.ba(!1);this.I(67108864)}this.J(134217728)&&(y=this.ig(),$.V(y),y.ka(w),y.O(this.Va),y.W(),y.ba(!1),this.I(134217728));if(this.J(16)){if("as-is"==
  this.uq)for(b=0,d=this.Tu.length;b<d;b++)w=this.Tu[b],w.visible(!0),w.dl(),delete w.tag;else if($.D(this.uq)&&this.uq.enabled())for(b=0,d=this.Tu.length;b<d;b++)w=this.Tu[b],w.visible(!0),w.dl(),delete w.tag,$.K(w,$.Df)&&w.fill(this.uq.fill()).stroke(this.uq.stroke());else for(b=0,d=this.Tu.length;b<d;b++)w=this.Tu[b],w.visible(!1),w.dl(),delete w.tag;this.Hu();this.u(32768);this.I(16)}if(this.J(32768)){for(b=this.bb.length;b--;)k=this.bb[b],w=k.La(),this.iA[w]=this.iA[w]||!k.Vf(),$.V(k),k.lb(ML(this)),
  EL(k,this.i("geoIdField")),k.W(),k.ba(!1);this.I(32768)}this.J(8388608)&&(dN(this),this.I(8388608));this.J(524288)&&(this.Kb&&($.V(this.Kb),this.Kb.O(this.Va),this.Kb.zIndex(50),this.Kb.W(),this.Kb.ba(!1)),this.I(524288));if(this.J(16777216)){b=0;for(d=this.Bo.length;b<d;b++)if(l=this.Bo[b])$.V(l),l.O(this.Va),l.zIndex(60),l.W(),l.ba(!1);this.I(16777216)}};
  $.g.l0=function(a,b,c){var d=lN(this,a);if(d&&!fN(this)){var e=d.da.Ri();var f=this.scale().Rc(e.left+e.width/2,e.top+e.height/2);f=BM(this.scale(),f[0],f[1])[0];a=f==this.tj["default"]?this.tj[a]={}:f;b/=this.Uf();c/=this.Uf();var h=yM(this.scale(),e.left,e.top),k=yM(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],p=m.outerPath,q=0;q<p.length-1;q+=2)p[q]+=f,p[q+1]+=h;m=m.holes;for(q=0;q<m.length-1;q+=2)m[q]+=f,m[q+1]+=h}a.vh=
  a.vh?a.vh+f:f;a.bi=a.bi?a.bi+h:h;e.left+=b;e.top+=c;b=yM(this.scale(),e.left,e.top);e=yM(this.scale(),e.left+e.width,e.top+e.height);a.Fs=$.Ql(b[0],b[1],Math.abs(e[0]-b[0]),Math.abs(e[1]-b[1]));this.u(65540,1)}return this};
  $.g.iP=function(a,b,c){var d=lN(this,a);if(d){var e=d.da.Ri();var f=this.scale().Rc(e.left+e.width/2,e.top+e.height/2);f=BM(this.scale(),f[0],f[1])[0];f=f==this.tj["default"]?this.tj[a]={}:f}if($.n(b)||$.n(c)){if(d&&!fN(this)){var h=f.bi||0;a=(f.vh||0)*this.scale().ratio;h*=this.scale().ratio;b=$.n(b)?b:a;c=$.n(c)?c:h;b/=this.Uf();c/=this.Uf();for(var k=(b-a)/this.scale().ratio,l=(c-h)/this.scale().ratio,m=0,p=d.polygones.length;m<p;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.vh=f.vh?f.vh+k:k;f.bi=f.bi?f.bi+l:l;e.left+=b-a;e.top+=c-h;b=yM(this.scale(),e.left,e.top);e=yM(this.scale(),e.left+e.width,e.top+e.height);f.Fs=$.Ql(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.vh*this.scale().ratio||0,f.bi*this.scale().ratio||0]:[window.NaN,window.NaN]};
  $.g.hP=function(a,b){var c=lN(this,a);if(c){var d=this.scale();var e=c.da.eb();var f=d.Rc(e.left+e.width/2,e.top+e.height/2);f=BM(d,f[0],f[1])[0];f=f==this.tj["default"]?this.tj[a]={}:f}if($.n(b)){if(c&&!fN(this)){var h=$.O(b)||1,k=f.vh||0,l=f.bi||0,m=this.tj["default"].scale||YN["default"].scale;m=f.scale?f.scale:m;var p=yM(d,e.left,e.top),q=yM(d,e.left+e.width,e.top+e.height),r=(q[0]-k)/m*h+k;q=(q[1]-l)/m*h+l;p=xM(d,(p[0]-k)/m*h+k,(p[1]-l)/m*h+l);q=xM(d,r,q);q=$.Ql(p[0],p[1],Math.abs(q[0]-p[0]),
  Math.abs(q[1]-p[1]));p=yM(d,q.left+q.width/2,q.top+q.height/2);r=yM(d,e.left+e.width/2,e.top+e.height/2);e=r[0]-p[0];r=r[1]-p[1];p=yM(d,q.left,q.top);q=yM(d,q.left+q.width,q.top+q.height);p[0]+=e;p[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,x=0;x<v.length-1;x+=2)v[x]=(v[x]-k)/m*h+k+e,v[x+1]=(v[x+1]-l)/m*h+l+r;u=u.holes;for(x=0;x<u.length-1;x+=2)u[x]=(u[x]-k)/m*h+k+e,u[x+1]=(u[x+1]-l)/m*h+l+r}f.Fs=$.Ql(p[0],p[1],Math.abs(q[0]-p[0]),Math.abs(q[1]-
  p[1]));f.vh=f.vh?f.vh+e:e;f.bi=f.bi?f.bi+r:r;f.scale=h;this.u(65540,1)}return this}return c?f.scale||this.tj["default"].scale||1:window.NaN};
  $.g.gP=function(a,b){var c=lN(this,a);if(c){var d=this.scale();var e=c.da.eb(),f=d.Rc(e.left+e.width/2,e.top+e.height/2);f=BM(d,f[0],f[1])[0];if($.n(b)){if(!fN(this)){c.da.clear();var h=c.properties[this.i("geoIdField")];var k=f==this.tj["default"]?this.tj[h]={}:f,l=k.Of||this.tj["default"].Of||YN["default"].crs;f=yL(l);h=yL(b);for(var m=k.vh||0,p=k.bi||0,q=k.scale||this.tj["default"].scale||YN["default"].scale,r=0,t=c.polygones.length;r<t;r++){for(var u=c.polygones[r],v=u.outerPath,x=0;x<v.length-
  1;x+=2){var w=(v[x]-m)/q;var y=(v[x+1]-p)/q;w=f.ii(w,y);w=h.forward(w[0],w[1]);v[x]=w[0]*q+m;v[x+1]=w[1]*q+p;y=xM(d,v[x],v[x+1]);w=y[0];y=y[1];x?c.da.lineTo(w,y):c.da.moveTo(w,y)}u=u.holes;for(x=0;x<u.length-1;x+=2)w=(u[x]-m)/q,y=(u[x+1]-p)/q,w=f.ii(w,y),w=h.forward(w[0],w[1]),u[x]=w[0]*q+m,u[x+1]=w[1]*q+p,y=xM(d,u[x],u[x+1]),w=y[0],y=y[1],x?c.da.lineTo(w,y):c.da.moveTo(w,y)}p=c.da.Ri();r=yM(d,p.left+p.width/2,p.top+p.height/2);t=yM(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(x=0;x<v.length-1;x+=2)v[x]+=m,v[x+1]+=q;u=u.holes;for(x=0;x<u.length-1;x+=2)u[x]+=m,u[x+1]+=q}c.da.setPosition(e.left+e.width/2-p.width/2,e.top+e.height/2-p.height/2);p=c.da.eb();c=yM(d,p.left,p.top);d=yM(d,p.left+p.width,p.top+p.height);k.Fs=$.Ql(c[0],c[1],Math.abs(d[0]-c[0]),Math.abs(d[1]-c[1]));k.vh=k.vh?k.vh+m:m;k.bi=k.bi?k.bi+q:q;k.Of=b;k.In=h;k.rG=l;k.K_=f;this.u(65540,1)}d=this}else d=$.n(f.Of)?f.Of:this.tj["default"].Of}else d=
  null;return d};$.g.Of=function(a){return $.n(a)?(a=eL(a),this.cs!=a&&(this.cs=a,this.u(65540,1)),this):this.cs||this.gy||YN["default"].crs};$.g.show=function(){this.Va.visible(!0)};$.g.md=function(){this.Va.visible(!1);var a=ML(this);a.yk&&(a.dispatchEvent(this.Uj("hovered",{target:this},a.yk,!0,!0)),a.yk=null);a.cc("mousemove",a.GG);this.Mi().enabled()&&$.iJ(this.Mi())};$.g.Ph=function(){return ML(this).YH};
  $.g.aP=function(a){return $.n(a)?($.D(a)&&(this.gw=a,this.eF&&$.sc(this.eF,function(a){a.ld()}),this.eF={}),this):this.gw};$.g.Xt=function(a,b,c){var d=$.Ia(arguments,2);a.wh?a.wh.Oe("end",function(){b.apply(this,d)},!1,a):b.apply(a,d)};$.g.vy=function(){var a=ML(this),b=[new BL(null,this,null,null)];b.push.apply(b,$.Ia(a.ds,0));return b};
  $.g.fw=function(a,b){var c=ML(this),d=this.Ph();if(b==d||c.Zt)return this;if(null===a||"null"==a)return oN(this,c,c.ds.length),this;if($.n(b))nN(this,a,b);else if(this.gw&&this.gw[a])nN(this,a,this.gw[a]);else{for(d=c.ds.length;d--;){var e=c.ds[d];if(e.qw()==a){var f=e.mX();break}}f?oN(this,f,c.ds.length-1-d):$.Rj(301,null,[a])}return this};$.g.KA=function(){var a=ML(this),b=this.Ph().cda;if(!b||a.Zt)return a.Zt=!1,this;oN(this,b);return this};$.g.Uf=function(){return this.Po};
  $.g.lm=function(a,b,c,d){this.vq||(a=$.Ya(a,this.i("minZoomLevel"),this.i("maxZoomLevel")));return this.zoom(a/this.Uf(),b,c,d)};
  $.g.jfa=function(a,b){var c=this.Ph(),d=[];$.A(a)||(a=[a]);for(var e,f,h="",k=0,l=a.length;k<l;k++){var m=a[k];if(f=lN(c,m))h+=m+";",d.push(f)}if(d.length){m=c.df.Sf();var p=this.OK&&h==this.OK&&this.NK&&Aea(m,this.NK);k=0;for(l=d.length;k<l;k++)f=d[k],f=f.da,e?$.mb(e,p?f.eb():f.Sp()):e=p?f.eb():f.Sp();var q=m.Dd,r=m.Ed,t=m.Fd;d=TL(c,e,void 0,p);var u=d[0],v=d[1],x=d[2];this.Xt(c,function(){this.UG=!0;this.Fk=$.n(b)?b:(0,window.isNaN)(this.Fk)?500:this.Fk;p?($.El(q,u,1E-5)?ML(this).dispatchEvent(pN(this,
  "zoomstart"))&&(this.wh=new SL(this,[1,r,t],[1,r+v,t+x],this.Fk),this.wh.play()):this.lm(this.i("minZoomLevel"),v,x,this.Fk),this.NK=this.OK=null):($.El(q,u,1E-5)?ML(this).dispatchEvent(pN(this,"zoomstart"))&&(this.wh=new SL(this,[1,r,t],[1,r+v,t+x],this.Fk),this.wh.play()):this.lm(u,v,x,this.Fk),this.OK=h,this.wh&&this.wh.Oe("end",function(){this.OK?this.NK=this.Ph().df.Sf().clone():this.NK=null},!1,this))})}else $.Rj(301,null,[a])};
  $.g.DC=function(a){return this.zoom(this.i("zoomFactor"),void 0,void 0,a)};$.g.EC=function(a){return this.zoom(1/this.i("zoomFactor"),void 0,void 0,a)};$.g.SA=function(){this.Zt||(this.wh&&this.wh.stop(),this.Xt(this,function(){this.hB=!0;this.Fk=300;var a=this.Ph();a.lm(a.i("minZoomLevel"));this.Xt(this,function(){this.hB=!1})}));return this};
  $.g.zoom=function(a,b,c,d){if($.n(a)){var e=0,f=0;$.n(d)&&(this.Fk=d);a=$.O(a);if((this.Uf()==this.i("minZoomLevel")&&1>a||this.Uf()==this.i("maxZoomLevel")&&1<a)&&!this.vq)return this;1!=a&&(this.zx=a,e=2097152,f=1);b=$.O(b);c=$.O(c);if(this.zc!=b||this.pc!=c)this.zc=b,this.pc=c,e=2097152,f=1;this.UG=!0;this.u(e,f)}return this};
  $.g.move=function(a,b){if($.n(a)||$.n(b)){var c=0,d=0;$.n(a)&&(a=$.O(a),(0,window.isNaN)(a)||(this.offsetX=a,c=1048576,d=1));$.n(b)&&(b=$.O(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.Rc=function(a,b){var c=this.scale().Rc(a,b);return{x:c[0],"long":c[0],y:c[1],lat:c[1]}};
  $.g.Jl=function(a,b){var c,d=[];if("default"==a){var e=0;for(c=this.bb.length;e<c;e++){var f=this.bb[e];var h=f.se();var k=f.aB(b);k.sourceUid=$.pa(this);k.sourceKey=f.id();k.meta={scale:h};d.push(k)}}else if("categories"==a){if(this.Kb&&this.Kb.enabled()&&this.Kb.target()&&$.K(this.Kb.scale(),$.tw))h=this.Kb.scale(),f=this.Kb.target();else for(e=0,c=this.bb.length;e<c;e++)if(f=this.bb[e],$.K(f.se(),$.tw)){h=f.se();break}if(h)for(k=h.Zp(),e=0,c=k.length;e<c;e++){var l=k[e];d.push({text:l.name,iconEnabled:!0,
  iconType:"square",iconFill:l.color,disabled:!this.enabled(),sourceUid:$.pa(this),sourceKey:e,meta:{U:f,scale:h,ae:l}})}}return d};$.g.lr=function(a){return"default"==a||"categories"==a};
  $.g.hq=function(a,b){var c=a.j();var d=this.mf().i("itemsSourceMode");if("default"==d){if(d=a.Gh(),d=this.Te(d))d.enabled(!d.enabled()),d.enabled()?d.Rj():d.sd()}else if("categories"==d){d=c.U;var e=c.scale;if(e&&d){var f=[];c=c.ae;for(var h=d.tc();h.advance();){var k=h.get(d.te.Ek);c==e.zm(k)&&f.push(h.ja())}"single"==this.fe().i("hoverMode")?b.pf={U:d,$c:f}:b.pf=[{U:d,$c:f,Gm:f[f.length-1],Ud:{index:f[f.length-1],Af:0}}]}}};
  $.g.bp=function(a,b){var c=a.j();var d=this.mf().i("itemsSourceMode");if("default"==d)d=a.Gh(),(!a||null!=d||(0,window.isNaN)(d))&&(d=this.Te(d))&&d.Rj();else if("categories"==d){d=c.U;var e=c.scale;if(e&&d){c=c.ae;for(var f=d.tc(),h=[];f.advance();){var k=f.get(d.te.Ek);c==e.zm(k)&&h.push(f.ja())}if(e=$.Ym(b.domTarget))"single"==this.fe().i("hoverMode")?e.pf={U:d,$c:h}:e.pf=[{U:d,$c:h,Gm:h[h.length-1],Ud:{index:h[h.length-1],Af:0}}];this.Kb&&this.Kb.enabled()&&this.Kb.target()&&$.hJ(this.Kb,(c.start+
  c.end)/2)}}};$.g.ap=function(a,b){var c=a.j(),d=this.mf().i("itemsSourceMode");"default"==d?(c=a.Gh(),(!a||null!=c||(0,window.isNaN)(c))&&(c=this.Te(c))&&c.sd()):"categories"==d&&("single"==this.fe().i("hoverMode")&&(d=$.Ym(b.domTarget))&&(d.U=c.U),this.Kb&&this.Kb.enabled()&&this.Kb.target()&&$.iJ(this.Kb))};$.g.hl=function(a,b){var c=$.ov(this);return $.Hn(c.headers,c.data,b)};$.g.Iea=function(){return Jea(HM.td(),this.sk,this.tj)};
  $.g.Y=function(a,b){eN.B.Y.call(this,a,b);"defaultSeriesSettings"in a&&this.Oq(a.defaultSeriesSettings);"defaultCalloutSettings"in a&&this.nW(a.defaultCalloutSettings);this.Mi().fa(!!b,a.colorRange);this.uC(a.unboundRegions);$.bp(this,XN,a);var c=a.geoData;c&&this.Vq($.Yb(c,"{")?JSON.parse(c):c);this.CO(a.crsAnimation);this.Of(a.crs);var d;if(a.geoScale){var e=new pM;e.N(a.geoScale);this.scale(e)}c=a.series;var f=a.colorScales,h=a.drillDownMap;if("callouts"in a){var k=a.callouts;var l=0;for(e=k.length;l<
  e;l++){var m=k[l];m&&this.IV(l,m)}}"axesSettings"in a&&this.axes().fa(!!b,a.axesSettings);"gridsSettings"in a&&this.lQ().fa(!!b,a.gridsSettings);this.ig(a.crosshair);k={};if($.D(f))for(d in f)if(f.hasOwnProperty(d)){l=f[d];e=$.z(l)?l:l.type;e=String(e).toLowerCase();switch(e){case "ordinal-color":e=$.uw();break;case "linear-color":e=$.rw();break;default:e=$.rw()}$.D(l)&&e.N(l);k[d]=e}if($.A(c))for(d=0;d<c.length;d++)if(l=c[d],f=(l.seriesType||this.i("defaultSeriesType")).toLowerCase(),e=this.Xd(f,
  l.data))e.N(l),$.D(l)&&"colorScale"in l&&(f=l.colorScale,$.ea(f)?e.se(k[f]):(e=$.z(f)?f:f.type,(e=$.sr(e,null))&&$.D(f)&&e.N(f)));$.D(h)&&(this.gw={},$.sc(h,function(a,b){this.aP()[b]=$.ro(a)},this))};
  $.g.F=function(){var a=eN.B.F.call(this);a.type=this.La();a.unboundRegions=$.z(this.uC())?this.uC():this.uC().F();a.colorRange=this.Mi().F();a.geoScale=this.scale().F();$.lp(this,XN,a);var b;this.TI?b=this.TI:fN(this)?$.z(this.wm)?b=this.wm:b="#document"==this.wm.nodeName?this.wm.documentElement.outerHTML:this.wm.outerHTML:b=JSON.stringify(this.wm);$.n(b)&&(a.geoData=b);a.crsAnimation=this.CO().F();$.D(this.cs)?$.Rj(8,null,["Map crs"]):this.cs&&(a.crs=this.cs);b=[];for(var c={},d=[],e=0;e<this.bb.length;e++){var f=
  this.bb[e],h=f.F();if(f=f.se()){var k=$.pa(f);c[k]?h.colorScale=(0,$.ya)(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.Bo.length;e<h;e++)(f=this.Bo[e])&&(c[e]=f.F());c.length&&(a.callouts=c);b.length&&(a.series=b);d.length&&(a.colorScales=d);a.axesSettings=this.axes().F();a.gridsSettings=this.lQ().F();a.crosshair=this.ig().F();this.gw&&(a.drillDownMap={},$.sc(this.gw,function(b,c){var d=$.K(b,eN)?b.F():b;a.drillDownMap[c]=d},this.gw));return{map:a}};
  $.g.R=function(){$.Zc(this.Xf);this.Xf=null;$.Zc(this.IR);this.IR=null;if(this.O()&&this.O().Da()){var a=this.O().Da().ul();this.qR&&$.xd(a,"click",this.qR,!1,this);this.rR&&$.xd(a,"dblclick",this.rR,!1,this);this.xF&&$.xd(a,"pointerup",this.xF,!1,this);this.xF&&$.xd(a,"touchend",this.xF,!1,this);this.sR&&$.xd(a,"mouseleave",this.sR,!1,this)}eN.B.R.call(this)};var ZN=eN.prototype;$.G("anychart.mapModule.Chart.DEFAULT_TX",YN);ZN.getType=ZN.La;ZN.geoData=ZN.Vq;ZN.unboundRegions=ZN.uC;ZN.toGeoJSON=ZN.Iea;
  ZN.toCsv=ZN.hl;ZN.getSeries=ZN.Te;ZN.addSeries=ZN.Gk;ZN.getSeriesAt=ZN.Sh;ZN.getSeriesCount=ZN.Tl;ZN.removeSeries=ZN.no;ZN.removeSeriesAt=ZN.sn;ZN.removeAllSeries=ZN.pp;ZN.colorRange=ZN.Mi;ZN.callout=ZN.IV;ZN.axes=ZN.axes;ZN.grids=ZN.lQ;ZN.crosshair=ZN.ig;ZN.palette=ZN.Yb;ZN.markerPalette=ZN.ef;ZN.hatchFillPalette=ZN.Qd;ZN.getPlotBounds=ZN.Ff;ZN.crsAnimation=ZN.CO;ZN.featureTranslation=ZN.iP;ZN.translateFeature=ZN.l0;ZN.featureScaleFactor=ZN.hP;ZN.featureCrs=ZN.gP;ZN.crs=ZN.Of;ZN.transform=ZN.transform;
  ZN.inverseTransform=ZN.Rc;ZN.zoom=ZN.zoom;ZN.move=ZN.move;ZN.zoomToFeature=ZN.jfa;ZN.zoomTo=ZN.lm;ZN.getZoomLevel=ZN.Uf;ZN.getCurrentScene=ZN.Ph;ZN.fitAll=ZN.SA;ZN.zoomIn=ZN.DC;ZN.zoomOut=ZN.EC;ZN.drillTo=ZN.fw;ZN.drillUp=ZN.KA;ZN.drillDownMap=ZN.aP;ZN.getDrilldownPath=ZN.vy;$.H(qN,$.sz);$.jD[23]=qN;qN.prototype.type=23;qN.prototype.xo=["id","long","lat","size"];qN.prototype.Ek="size";$.H(rN,$.$x);$.jD[24]=rN;$.g=rN.prototype;$.g.type=24;$.g.flags=532;$.g.xo=["id","value"];$.g.Ig={foreignFill:"none",hatchFill:"path"};$.g.Mf=function(a,b){var c=a.j("features");if(c)for(var d=0,e=c.length;d<e;d++){var f=c[d];$.n(f.da)&&kN(this.U.ic(),f,function(c){var d=c.da;if(d&&$.K(d,$.Df)){d.visible(!0);a.j("currentPointElement",c);var e=this.Lc.Pc(b,void 0,void 0,d),f=e.foreignFill;f&&(a.j("fill",f.fill()),a.j("stroke",f.stroke()));e=e.hatchFill;e.Jd($.Uf(d));c.aY=e}},this)}};$.H(sN,$.$x);$.jD[21]=sN;$.g=sN.prototype;$.g.type=21;$.g.flags=528;$.g.xo=["points"];$.g.Ig={path:"path",hatchFill:"path"};
  $.g.Mf=function(a,b){var c=this.g(this.U,a,b),d=this.f(this.U,a,b),e={};e.eventHandler=10>c||10>d;e.path=!0;e.hatchFill=!0;e=this.Lc.Pc(b,e);var f=this.b(this.U,a,0),h=0,k=0,l=[],m=[],p=0,q=10>c||10>d;var r=this.ee();var t=this.U.ic().scale();if((r=a.get(r[0]))&&$.A(r)){var u=[];var v=[];for(var x,w,y,B=0,F=r.length;B<F;B+=2){var C=$.O(r[B]);x=$.O(r[B+1]);y=t.transform(x,C);w=y[0];y=y[1];(0,window.isNaN)(w)||(0,window.isNaN)(y)||(u.push(w,y),v.push(C,x))}a.j("pointsWithoutMissing",v);C=u}else C=null;
  t=0;for(r=C.length;t<r;t+=2){x=e.path;w=e.hatchFill;u=C[t];v=C[t+1];var N;q&&(N=e.eventHandler);if(!(0,window.isNaN)(u)&&!(0,window.isNaN)(v)){if(0!=t){B=$.Nl(h,k,u,v);var P=B/2*f;y=(h+u)/2;var Q=(k+v)/2;var S=$.Bl($.bb(Math.atan(Math.abs(k-v)/Math.abs(h-u))),7);F=1;if(u<=h&&v<=k)var oa=S-90;else u<=h&&v>=k?oa=270-S:u>=h&&v>=k?(oa=S-90,F=-1):u>=h&&v<=k&&(oa=180-S+90,F=-1);y+=Math.cos($.I(oa))*P*1.2;P=Q+Math.sin($.I(oa))*P*1.2;Q=B/2*f;S=0<f?1:-1;var xa=Math.abs(Q)<B/4?B/4*S:Math.abs(Q)>B/2?B/2*S:Q;
  var La=(0>f?90:-90)*F;La=$.I(oa+La);Q=y+Math.cos(La)*xa;S=P+Math.sin(La)*xa;La=(0>f?-90:90)*F;La=$.I(oa+La);y+=Math.cos(La)*xa;P+=Math.sin(La)*xa;xa=tN(x,h,k,u,v,Q,S,y,P,c,d,f,F,oa);q&&tN(N,h,k,u,v,Q,S,y,P,20,20,f,F,oa);w.Jd($.Uf(x));l.push.apply(l,xa);m.push(B);p+=B}h=C[t];k=C[t+1]}}a.j("points",l).j("sumDist",p).j("connectorsDist",m)};$.H(uN,$.zz);$.jD[22]=uN;uN.prototype.type=22;uN.prototype.xo=["id","long","lat"];uN.prototype.Qz=function(a,b){uN.B.Qz.call(this,a,b);var c=a.j("shapes");this.Lc.Tr(b,c)};uN.prototype.Mf=function(a,b){var c=this.Lc,d=a.get(this.U.ee()[0]),e=this.Xg(d,this.prevValue),f={};f[e.path]=!0;f[e.uc]=!0;a.j("names",e);c=c.Pc(b,f,b);$.Az(this,a,b,c,e);this.prevValue=d};$.qo.map=vN;$.qo.bubble=wN;$.qo.choropleth=xN;$.qo.connector=yN;$.qo.marker=zN;$.qo["seat-map"]=AN;$.G("anychart.map",vN);$.G("anychart.bubbleMap",wN);$.G("anychart.choropleth",xN);$.G("anychart.connector",yN);$.G("anychart.markerMap",zN);$.G("anychart.seatMap",AN);}).call(this,$)}
  if(!_.theme_map){_.theme_map=1;(function($){$.sa($.fa.anychart.themes.defaultTheme,{map:{defaultCalloutSettings:{},defaultSeriesSettings:{base:{normal:{fill:function(){return this.scaledColor||this.sourceColor},stroke:$.LI,hatchFill:!1,labels:{anchor:"center-bottom",enabled:null,adjustFontSize:{width:!0,height:!0},format:function(){return this.getData("name")?this.getData("name"):this.name?this.name:this.getData("id")?this.getData("id"):"lat: "+this.lat+"\nlong: "+this["long"]}},markers:{enabled:!1,disablePointerEvents:!1}},hovered:{fill:"#757575",
  stroke:{thickness:.5,color:"#545f69"},labels:{enabled:null},markers:{enabled:null}},selected:{fill:"#333 0.85",stroke:{thickness:.5,color:"#545f69"},labels:{enabled:null},markers:{enabled:null}},color:null,tooltip:{titleFormat:function(){return this.name||this.getData("name")||"Tooltip title"},format:function(){return"Id: "+this.id+"\nValue: "+this.valuePrefix+$.CI(this.value)+this.valuePostfix}},xScale:null,yScale:null,a11y:{titleFormat:"Series named {%SeriesName}"},clip:!1},choropleth:{normal:{labels:{fontColor:"#212121",
  anchor:"center"},markers:{anchor:null}},colorScale:{}},connector:{startSize:0,endSize:0,curvature:.3,normal:{stroke:function(){return{thickness:2,color:this.sourceColor,lineJoin:"round"}},markers:{position:"middle",enabled:!0,size:15,stroke:"1.5 #f7f7f7",rotation:null,anchor:null,type:"arrowhead"},labels:{enabled:!1,position:"middle",anchor:null,format:function(){return"from: "+this.startPoint.lat+","+this.startPoint["long"]+"\nto: "+this.endPoint.lat+","+this.endPoint["long"]}}},hovered:{stroke:$.MI,
  markers:{stroke:"1.5 #f7f7f7",size:15}},selected:{stroke:"2 #333 0.85",markers:{fill:"#333 0.85",stroke:"1.5 #f7f7f7",size:15}},tooltip:{title:{enabled:!1},separator:{enabled:!1},format:function(){return"from: "+this.startPoint.lat+", "+this.startPoint["long"]+"\nto: "+this.endPoint.lat+", "+this.endPoint["long"]}}},bubble:{normal:{stroke:function(){return{thickness:2,color:$.sk(this.sourceColor)}},labels:{anchor:"center"}},hovered:{fill:"#757575"},selected:{fill:"#333 0.85"},tooltip:{format:function(){var a=
  this.id?"Id: "+this.id:"lat: "+this.lat+"\nlong: "+this["long"];this.size&&(a+="\nValue: "+this.valuePrefix+$.CI(this.size)+this.valuePostfix);return a}}},marker:{normal:{labels:{enabled:!0}},hovered:{labels:{fontWeight:"bold"}},selected:{labels:{fontWeight:"bold"}},tooltip:{format:function(){var a=this.id?"Id: "+this.id:"lat: "+this.lat+"\nlong: "+this["long"];this.value&&(a+="\nValue: "+this.valuePrefix+$.CI(this.value)+this.valuePostfix);return a}}}},colorRange:{zIndex:50},geoScale:{maxTicksCount:1E3,
  precision:2},callouts:[],axesSettings:{enabled:!1,title:{padding:5,fontSize:13,text:"Axis title",fontColor:"#545f69",zIndex:10},labels:{enabled:!0,padding:2,rotation:null,fontSize:10,anchor:"auto",position:"outside",zIndex:5},minorLabels:{padding:2,rotation:null,fontSize:9,anchor:null,position:"outside",zIndex:4},overlapMode:"no-overlap",ticks:{enabled:!0,length:5,position:"outside",stroke:"#CECECE",zIndex:3},minorTicks:{enabled:!1,length:2,position:"outside",stroke:"#CECECE",zIndex:2},drawFirstLabel:!0,
  drawLastLabel:!0,stroke:"#CECECE"},gridsSettings:{enabled:!1,minorStroke:"none",zIndex:5},crosshair:{enabled:!1,xStroke:"#969EA5",yStroke:"#969EA5",zIndex:110,xLabels:[{enabled:null,axisIndex:2}],yLabels:[{enabled:null,axisIndex:3}]},unboundRegions:{enabled:!0,fill:"#F7F7F7",stroke:"#e0e0e0"},maxBubbleSize:"10%",minBubbleSize:"1%",geoIdField:"id",interactivity:{copyFormat:function(a){a=a.seriesStatus;for(var b="",c=0,d=a.length;c<d;c++){var e=a[c];if(e.points.length){b+="Series "+e.series.getIndex()+
  ":\n";for(var f=0,h=e.points.length;f<h;f++){var k=e.points[f];b+="id: "+k.id+" index: "+k.index;f!=h-1&&(b+="\n")}c!=d-1&&(b+="\n")}}return b||"no selected points"},drag:!0,zoomOnMouseWheel:!1,keyboardZoomAndMove:!0,zoomOnDoubleClick:!1},minZoomLevel:1,maxZoomLevel:10,overlapMode:"no-overlap",crsAnimation:{enabled:!0,duration:300},legend:{enabled:!1,tooltip:{contentInternal:{background:{disablePointerEvents:!1}}}}},choropleth:{},bubbleMap:{},markerMap:{},connector:{},seatMap:{}});}).call(this,$)}
  $_=window.anychart;$_.$=$;$_._=_});