From 8a9892af3d57ae9700683796de17a010945541a8 Mon Sep 17 00:00:00 2001 From: Alexander Kudryavtsev Date: Tue, 17 Jan 2017 13:41:43 +0800 Subject: [PATCH 1/5] Publishing fixes --- .npmignore | 11 ----------- README.md | 2 +- bower.json | 1 - 3 files changed, 1 insertion(+), 13 deletions(-) diff --git a/.npmignore b/.npmignore index 3bef782..aa4245f 100644 --- a/.npmignore +++ b/.npmignore @@ -2,17 +2,6 @@ *.swp .idea *.pid -contrib -out -src/deps.js *.swo *.pyc -**/.* npm-debug.log -build* -gjslint.cfg -modules.edn -cat.config -update-submodules -externs.js -tests diff --git a/README.md b/README.md index bacdce1..c6b5e89 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ You can install AngularJS-plugin using **npm**, **bower** or **yarn**: * `npm install anychart-angularjs` * `bower install anychart-angularjs` -* `yarn install anychart-angularjs` +* `yarn add anychart-angularjs` #### Direct download diff --git a/bower.json b/bower.json index 3ef4759..019da75 100644 --- a/bower.json +++ b/bower.json @@ -42,7 +42,6 @@ "angularjs" ], "homepage": "https://github.com/AnyChart/AngularJS-plugin", - "private": true, "ignore": [ "**/.*", "node_modules", From 6bc37d89552413f261ecf8de6916e11cfa9f0286 Mon Sep 17 00:00:00 2001 From: Roman Lubushkin Date: Thu, 19 Jan 2017 10:11:04 +0800 Subject: [PATCH 2/5] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index c6b5e89..025348c 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ [AnyChart - Robust JavaScript/HTML5 Chart library for any project](http://www.anychart.com) AngularJS v1.x directives for AnyChart - ========= AngularJS v1.x directives for AnyChart provide an easy way to use [AnyChart JavaScript Charts](http://anychart.com) From af62dcd639c9acea62b12dacb7e2f178751dec7a Mon Sep 17 00:00:00 2001 From: Alexander Kudryavtsev Date: Fri, 27 Jan 2017 15:30:20 +0800 Subject: [PATCH 3/5] CSS added --- README.md | 2 +- demos/Anychart_Load_Data_From_Json.html | 2 +- demos/Full_Custom_Stage.html | 2 +- demos/Gantt_Project_After_Draw.html | 2 +- demos/Gantt_Resource_Instance_Usage.html | 2 +- demos/Line_Chart_After_Draw.html | 2 +- demos/Line_Chart_Data_Streaming.html | 2 +- demos/Simple_Charts_On_Stage.html | 2 +- demos/Simple_Gantt_Project.html | 2 +- demos/Simple_Map.html | 2 +- demos/Simple_Pie.html | 2 +- demos/Simple_Stock_Area.html | 2 +- demos/Software_Sales_Dashboard.html | 2 +- demos/World_Map_Instance_After_Draw.html | 2 +- demos/res/anychart-ui.css | 2002 ++++++++++++++++++++++ 15 files changed, 2016 insertions(+), 14 deletions(-) create mode 100644 demos/res/anychart-ui.css diff --git a/README.md b/README.md index c6b5e89..c0f8ea6 100644 --- a/README.md +++ b/README.md @@ -281,7 +281,7 @@ charts on the anychart stage and how to add the after-draw handler. ## Contacts -* Web: [www.anychart.com](www.anychart.com) +* Web: [www.anychart.com](http://www.anychart.com) * Email: [contact@anychart.com](mailto:contact@anychart.com) * Twitter: [anychart](https://twitter.com/anychart) * Facebook: [AnyCharts](https://www.facebook.com/AnyCharts) diff --git a/demos/Anychart_Load_Data_From_Json.html b/demos/Anychart_Load_Data_From_Json.html index b9fd3b6..99f37b5 100644 --- a/demos/Anychart_Load_Data_From_Json.html +++ b/demos/Anychart_Load_Data_From_Json.html @@ -6,7 +6,7 @@ - + '); -//# sourceMappingURL=angular.min.js.map diff --git a/demos/lib/anychart-bundle.min.js b/demos/lib/anychart-bundle.min.js deleted file mode 100644 index 60d59d5..0000000 --- a/demos/lib/anychart-bundle.min.js +++ /dev/null @@ -1,4126 +0,0 @@ -/** - * AnyChart - Robust JavaScript HTML5 Web Charting Framework - * AnyChart, AnyMap, AnyGantt, AnyStock, AnyChart UI - * Production Build - * Version: 7.12.0.1229 - * http://anychart.com - */ -(function(){var g,ba=ba||{},ca=this;function n(a){return void 0!==a}function da(a){a=a.split(".");for(var b=ca,c;c=a.shift();)if(null!=b[c])b=b[c];else return null;return b}function ea(){}function fa(a){a.qc=function(){return a.GS?a.GS:a.GS=new a}} -function ga(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; -else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function ha(a){return null===a}function ia(a){return null!=a}function r(a){return"array"==ga(a)}function ja(a){var b=ga(a);return"array"==b||"object"==b&&"number"==typeof a.length}function ka(a){return v(a)&&"function"==typeof a.getFullYear}function z(a){return"string"==typeof a}function la(a){return"boolean"==typeof a}function na(a){return"number"==typeof a}function A(a){return"function"==ga(a)} -function v(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function qa(a){return a[ra]||(a[ra]=++sa)}var ra="closure_uid_"+(1E9*Math.random()>>>0),sa=0;function ta(a,b,c){return a.call.apply(a.bind,arguments)}function ua(a,b,c){if(!a)throw Error();if(2a.$?-1:1,a.g[1]=0):Qa(a.g,a.W[0],a.W[1],a.Y[0],a.Y[1])};function Ra(){}g=Ra.prototype;g.asin=function(a){return 1a?-Math.PI/2:Math.asin(a)};g.acos=function(a){return 1a?Math.PI:Math.acos(a)};function Sa(a){return 0Math.PI*Math.PI+1E-6)return[NaN,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),t=m*m,u=p*p,w=k*k,x=1-u*l*l,y=x?this.acos(p*l)*Math.sqrt(f=1/x):f=0,x=2*y*p*k-a,B=y*m-b,D=f*(u*w+y*p*l*t),G=f*(.5*h*q-2*y*m*k),h=.25*f*(q*k-y*m*u*h),p=f*(t*l+y*w*p),l=G*h-p*D;if(!l)break;G=(B*G-x*p)/l;x=(x*h-B*D)/l;c-=G;d-=x}while((1E-6a?-1:0)*Math.atan2(this.sinh(d)*e,.25-h);b=2*(0b?-1:0)*Math.atan2(f*Math.sin(c),.25+h);return[Va(a),Va(b)]};function Xa(a,b){this.scale=a;this.Nj=b}E(Xa,Ra);Xa.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]};Xa.prototype.ig=function(a,b){var c=Math.sqrt(a*a+b*b),d=this.Nj(c),e=Math.sin(d);a=Math.atan2(a*e,c*Math.cos(d));b=Math.asin(c&&b*e/c);return[a,b]};function Ya(){this.g=45*Math.PI/180;this.b=1/Math.tan(this.g)}E(Ya,Ra);Ya.prototype.forward=function(a,b){a=Ua(a);b=Ua(b);var c=this.b+this.g-b,d=c?a*Math.cos(b)/c:c;a=c*Math.sin(d);b=this.b-c*Math.cos(d);return[a,b]};Ya.prototype.ig=function(a,b){var c=Math.sqrt(a*a+(b=this.b-b)*b),d=this.b+this.g-c;a=c/Math.cos(d)*Math.atan2(a,b);return[Va(a),Va(d)]};function Za(){}E(Za,Ra);Za.prototype.forward=function(a,b){a=Ua(a);b=Ua(b);var c=Math.sqrt(8/(3*Math.PI));a=c*a*(1-Math.abs(b)/Math.PI);return[a,c*b]};Za.prototype.ig=function(a,b){var c=Math.sqrt(8/(3*Math.PI)),d=b/c;a/=c*(1-Math.abs(d)/Math.PI);return[Va(a),Va(d)]};function $a(){}E($a,Ra);$a.prototype.forward=function(a,b){a=Ua(a);b=Ua(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]};$a.prototype.ig=function(a,b){var c=Math.sqrt(Math.PI*(4+Math.PI))/2;a=a*c/(1+Sa(1-b*b*(4+Math.PI)/(4*Math.PI)));return[Va(a),Va(b*c/2)]};function ab(){}E(ab,Ra);ab.prototype.forward=function(a,b){a=Ua(a);b=Ua(b);return[a,b]};ab.prototype.ig=function(a,b){return[Va(a),Va(b)]};function bb(){}E(bb,Ra);bb.prototype.forward=function(a,b){a=Ua(a);b=Ua(b);var c=Math.cos(Ua(35)),d=Math.tan(b/2);a=a*c*Sa(1-d*d);return[a,(1+c)*d]};bb.prototype.ig=function(a,b){var c=Math.cos(Ua(35)),d=b/(1+c);a=a?a/(c*Sa(1-d*d)):0;b=2*Math.atan(d);return[Va(a),Va(b)]};function cb(){this.b=2;this.g=new Xa(function(a){return Math.sqrt(2/(1+a))},function(a){return 2*Math.asin(a/2)})}E(cb,Ra);cb.prototype.forward=function(a,b){a=Ua(a);b=Ua(b);var c=this.g.forward(a/2,b);c[0]*=this.b;a=c[0];b=c[1];return[a,b]};cb.prototype.ig=function(a,b){var c=this.g.ig(a/this.b,b);c[0]*=2;a=c[0];b=c[1];return[Va(a),Va(b)]};function db(){}E(db,Ra);db.prototype.forward=function(a,b){a=Ua(a);b=Ua(b);b=Math.log(Math.tan(Math.PI/4+b/2));return[a,b]};db.prototype.ig=function(a,b){b=2*Math.atan(Math.exp(b))-Math.PI/2;return[Va(a),Va(b)]};function eb(){this.b=new Xa(function(){return 1},Math.asin)}E(eb,Ra);eb.prototype.forward=function(a,b){a=Ua(a);b=Ua(b);var c=this.b.forward(a,b);a=c[0];b=c[1];return[a,b]};eb.prototype.ig=function(a,b){var c=this.b.ig(a,b);a=c[0];b=c[1];return[Va(a),Va(b)]};function fb(a){this.g=a;this.b=window.proj4}E(fb,Ra);fb.prototype.forward=function(a,b){return this.b(this.g).forward([a,b])};fb.prototype.ig=function(a,b){return this.b(this.g).inverse([a,b])};function gb(){}E(gb,Ra);var hb=[[.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]]; -gb.prototype.forward=function(a,b){if(isNaN(a)||isNaN(b))return[NaN,NaN];a=Ua(a);b=Ua(b);var c,d=Math.min(18,36*Math.abs(b)/Math.PI),e=Math.floor(d),d=d-e,f=(c=hb[e])[0],h=c[1],k=(c=hb[++e])[0],l=c[1],e=(c=hb[Math.min(19,++e)])[0];c=c[1];b=(0e?(ec(a.j,c,~e),ec(a.g,b,~e)):(f=!(a.g[e]&b))?a.g[e]|=b:n(d)&&(a.g[e]=d);a.target.enabled()&&a.target.ba().select(c)&&(a.target.Mf()||a.target.Cc()!=fc||(h?a.target.Hf(b):n(d)&&!h&&dc(a,NaN)&&a.target.Hf(d)),f?a.target.Sf(b):n(d)&&a.target.Sf(d))}}} -function dc(a,b){var c;if(n(b)){if(isNaN(b))return!gc(a,Hb)&&!(a.b&Hb);c=hc(a,+b)}else c=a.b;return!(c&Hb)} -Zb.prototype.Xf=function(a,b,c){var d;if(n(b)){var e=this.target.ba().Jb(),f=!0;if(r(b))for(ic(b),d=b.length;d--;){var h=+b[d];hc?(ec(this.j,b,~c),ec(this.g,a,~c),this.b==$b&&this.target.Sf(a),dc(this,NaN)&&!this.target.Mf()&&this.target.Cc()==fc&&this.target.Hf(a)):this.g[c]|=a)}}; -function lc(a,b,c){var d;if(n(c)){if(!(c>=a.target.ba().Jb())){if(r(c))for(ic(c),d=c.length;d--;)a.D(b,+c[d]);else a.D(b,+c);a.target.Nh()}}else if(a.b&b)if(b==H){for(d=a.g.length;d--;)jc(a,b,d)&&(kc(a.g,d,1),kc(a.j,d,1));a.b=$b}else b==Hb&&(a.g.length=0,a.j.length=0,a.b=$b);else{for(d=a.g.length;d--;)jc(a,b,d)&&(kc(a.g,d,1),kc(a.j,d,1));a.b=b}}function jc(a,b,c){return!(a.g[c]&=~b)} -function cc(a,b,c){var d=a.j[c];jc(a,b,c)?(kc(a.j,c,1),kc(a.g,c,1),a.target.enabled()&&a.target.ba().select(d)&&a.b==$b&&a.target.Sf($b)):a.target.enabled()&&a.target.ba().select(d)&&a.b==$b&&a.target.Sf(a.g[c])}function mc(a,b,c){isNaN(c)||(c=bc(a.j,c),0<=c&&cc(a,b,c))} -Zb.prototype.o=function(a,b){var c;if(n(b)){if(r(b))for(ic(b),c=b.length;c--;)mc(this,a,+b[c]);else if(isNaN(b))for(c=this.j.length;c--;)cc(this,a,c);else mc(this,a,+b);this.target.Nh();this.target.Mf()||this.target.Cc()!=fc||this.target.Hf(gc(this,Hb)?Hb:gc(this,H)?H:$b)}else{for(c=this.g.length;c--;)jc(this,a,c)&&(this.target.ba().select(this.j[c])&&this.target.Sf($b),kc(this.j,c,1),kc(this.g,c,1));this.target.Nh();this.b&=~a;if(!this.target.yd)if(this.target.Mf())for(c=this.target.Nb();c.advance();){var d= -c.ra();c.select(d)&&dc(this,d)&&this.target.Hf(this.b)}else this.target.Hf(this.b)}};function oc(a,b){for(var c=[],d=0,e=a.g.length;dc?(ec(this.j,b,~c),ec(this.g,a,~c),this.b==$b&&this.target.Sf(a),dc(this,NaN)&&!this.target.Mf()&&this.target.Cc()==fc&&this.target.Hf(a)):(this.g[c]|=a,this.target.Sf(this.g[c])))}};function tc(a){Zb.call(this,a)}E(tc,Zb); -tc.prototype.Xf=function(a,b,c){var d;if(n(b)){var e=this.target.ba().Jb(),f=!0;if(r(b))for(ic(b),d=b.length;d--;){var h=+b[d];hd&&(c=zc(b,b.transform(a.b.end,0)),d=zc(b,b.transform(a.b.start,1)));a.Ko(c,d)}else a.b=null}}g=uc.prototype; -g.Ko=function(a,b){a=Ac(F(a),0,1);isNaN(a)&&(a=this.j);b=Ac(F(b),0,1);isNaN(b)&&(b=this.g);this.b=null;if(this.j!=a||this.g!=b)this.j=a,this.g=b,this.Ta.$C(this.D);return this};g.FU=function(a,b,c){this.b={start:a,end:b,scale:c};this.Ta.$C(this.D);return this};g.EU=function(a,b,c){this.b={count:Fb(a),scale:c,k4:!!b};this.Ta.$C(this.D);return this};g.Mn=function(){xc(this);return this.j};g.Ln=function(){xc(this);return this.g};g.Sw=function(a){return n(a)?(a=!!a,this.o!=a&&(this.o=a),this):this.o}; -g.U=function(a){n(a)&&(isNaN(+a)?v(a)&&(this.Sw(a.continuous),n(a.startValue)&&n(a.endValue)?this.FU(a.startValue,a.endValue,a.scale instanceof Bc?a.scale:void 0):n(a.pointsCount)?this.EU(a.pointsCount,a.fromEnd,a.scale instanceof Bc?a.scale:void 0):this.Ko(a.startRatio,a.endRatio)):this.Ko(0,1/Math.abs(+a||1)));return this};g.N=function(){return{startRatio:this.Mn(),endRatio:this.Ln(),continuous:this.o}};uc.prototype.setTo=uc.prototype.Ko;uc.prototype.setToValues=uc.prototype.FU; -uc.prototype.setToPointsCount=uc.prototype.EU;uc.prototype.getStartRatio=uc.prototype.Mn;uc.prototype.getEndRatio=uc.prototype.Ln;uc.prototype.continuous=uc.prototype.Sw;function Cc(a,b,c,d,e,f){this.na=a;this.F=[];this.b=[];this.o=[];this.j=[];this.Y=c||ea;this.O=e||ea;this.J=f||ea;this.W=d||ea;this.$=b;for(b=0;b=a&&(" "===a||"\n"===a||"\t"===a||"\r"===a||"\f"===a)}function Hc(a){for(;a.ba.g[a.b]||"9"=a.g[a.b];)a.b+=1;if(a.b!==k)for(var l=a.b-1,m=1;l>=k;)c+=m*(a.g[l]-0),--l,m*=10;if(a.b=a.j||"0">a.g[a.b]||"9"=a.g[a.b];)d.push(a.g[a.b]-0),a.b+=1}if(a.b!==h&&a.b+1=a.j||"0">a.g[a.b]||"9"=a.g[a.b];)b*=10,b+=a.g[a.b]-0,a.b+=1}c+=parseFloat("0."+d.join(""));c*=e;b&&(c*=Math.pow(10,f*b));if(h===a.b)return null;Lc(a);return c}function Nc(a){if(a.b>=a.j)return null;var b=null,b=a.g[a.b];a.b+=1;if("0"===b)b=0;else if("1"===b)b=1;else return null;Lc(a);return b};function Oc(a){this.b=a;this.j=!0;this.g=this.D=null}g=Oc.prototype;g.stroke=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);f!=this.g&&(this.g=f,this.b.B(I,J));return this}return this.g};g.fill=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);k!=this.D&&(this.D=k,this.b.B(I,J));return this}return this.D};g.enabled=function(a){return n(a)?(a=!!a,this.j!=a&&(this.j=a,this.b.B(I,J)),this):this.j}; -g.U=function(a){n(a)&&(L(this.b),la(a)||null===a?this.enabled(!!a):v(a)&&(this.stroke(a.stroke),this.fill(a.fill),this.enabled(a.enabled)),this.b.ja(!0));return this};g.N=function(){var a={};a.fill=this.fill();a.enabled=this.enabled();a.stroke=this.stroke();return a};Oc.prototype.stroke=Oc.prototype.stroke;Oc.prototype.fill=Oc.prototype.fill;Oc.prototype.enabled=Oc.prototype.enabled;function Rc(){}g=Rc.prototype;g.Go=function(){this.j.push(this.b);this.b=[]};g.wK=function(a,b){this.b.push(b)};g.start=function(){this.j=[];this.b=[]};g.Cf=ea;g.oB=function(){this.b&&this.b.length&&this.Go()};function Sc(a){this.j=a;this.b=[];this.g=0}g=Sc.prototype;g.Go=function(){Tc(this.j,this.b);this.b.length=0};g.wK=function(a,b){this.b.push(b);this.g++};g.start=function(){this.g=this.b.length=0};g.Cf=ea;g.oB=function(){this.b.length&&this.Go()};g.ku=function(){return this.g};function Uc(){this.b=[]}g=Uc.prototype;g.jh=function(a){if(n(a)){if(v(a)){this.b.length=0;for(var b in a){var c=a[b];na(c)&&(this.b[c]=b)}}return this}return this.b};g.Go=function(){this.j.push(this.g);this.g={};this.o=!1};g.wK=function(a,b){var c=this.b[a],c=n(c)?c:"column"+a;null===b||(this.g[c]=b);this.o=!0};g.start=function(){this.j=[];this.g={};this.o=!1};g.Cf=ea;g.oB=function(){this.o&&this.Go()};function Vc(a){this.D=a;this.reset()}g=Vc.prototype;g.select=function(a){this.g=a-1;return this.advance()};g.reset=function(){this.g=-1;this.o=void 0;return this};g.advance=function(){this.o=this.D.We(++this.g);var a=this.Jb();return!!a&&this.g=this.Jb()?void 0:Wc(this.D.oj(this.g),this.o,this.g,a)};g.vp=function(a){return this.get(a)};g.ra=function(){return this.g};g.jB=function(){return this.get("x")};g.Jb=function(){return this.D.Jb()}; -g.K=function(a,b){return 1=this.Jb())&&n(a)&&this.o&&this.o.K){var b=this.o.K("type");return 1==b||3==b||4==b?void 0:this.o.K(a)}};g.getItem=function(){return this.o};g.ra=function(){return this.g};g.Jb=function(){return this.b.length};g.K=function(a,b){if(this.o&&this.o.K)return 1a?this.b.g&&(b=this.b.g[~a]):b=this.b.values[a]);return b};g.jB=function(){return this.j};g.ra=function(){return this.Y()};g.Jb=function(){return this.X-this.D.key};g.j2=function(){return this.j};g.B4=function(){return this.I};g.t4=function(){return this.g.g()}; -g.dW=function(){if(this.b){this.I++;if((this.b=this.b.next)&&this.b!=this.ua)return this.o=!0,this.j=this.b.key,!0;this.b=null;this.o=!1;this.I=this.j=NaN}return!1};g.n3=function(){if(this.g.advance())return this.J&&(this.b=this.b.next),(this.J=!(!this.b||this.b.key!=this.g.j||this.b==this.ua))?(this.o=!0,this.j=this.b.key):(this.o=!1,this.j=this.g.j),!0;this.b=null;this.j=NaN;return this.o=!1};ed.prototype.reset=ed.prototype.reset;ed.prototype.advance=ed.prototype.advance;ed.prototype.get=ed.prototype.get; -ed.prototype.getKey=ed.prototype.j2;ed.prototype.getIndex=ed.prototype.ra;function hd(){this.g=[];this.j=!0;this.b=[];this.J=!0;this.D=[];this.o=0;this.I=[];this.F=0}function id(a,b){var c=a.b.length;if(2<=c&&!isNaN(b)){for(var d=0;d=e?(d=0,e=d+1):d>=c-1&&(e=c-1,d=e-1);d==e?c=a.b[d].key:(c=a.b[d].key,e=a.b[d+1].key,c=Math.round((e-c)*(b-d)+c));a.D[a.o]={key:c,index:b};a.o=(a.o+1)%2}else 1==c?(c=a.b[0].key,c=Math.round(b+c)):c=NaN;return c} -function kd(a,b){var c;c=a.b.length;if(2<=c&&!isNaN(b)){for(var d=0;dd?(d=~d-1,0>d?d=0:d>=c-1&&(d=c-2),c=a.b[d].key,c=(b-c)/(a.b[d+1].key-c)+d):c=d;a.D[a.o]={key:b,index:c};a.o=(a.o+1)%2}else 1==c?(c=a.b[0].key,c=b-c):c=NaN;return c}hd.prototype.ba=function(a,b){return md(this,kd(this,a),kd(this,b))}; -function md(a,b,c){c=Math.max(0,Math.floor(c));var d=a.b.length>c?a.b[c]:null;c=Math.max(0,Math.ceil(b));return new nd(c,a.b.length>c?a.b[c]:null,d)} -function pd(a,b,c){var d,e,f,h,k,l,m,p,q=a.b.length;if(q){for(p=0;p=q)f=q-1,d=e=h=m=NaN;else if(e=Math.min(Math.floor(l),q-1),isNaN(e)||0>e)h=0,d=e=f=m=NaN;else if(d<=e){f=0=e.key;f={key:h?d.key:e.key,next:null};b.push(f);c=c.next=f;h&&(d=d.next);k&&(e=e.next)}for(d=d||e;d;)f={key:d.key,next:null},b.push(f),c=c.next=f,d=d.next;for(d=2;d=e.key,b.key<=e.key?(f=b,b=b.next):f={key:e.key,next:null},h.push(f),c=c.next=f,k&&(e=e.next);for(c.next=b;b;)h.push(b),b=b.next;for(;e;)f={key:e.key,next:null},h.push(f),c=c.next=f,e=e.next;b=h}this.b=b}else this.b=[];this.j=!1;this.J=!0;for(d=0;de?~e:e],m=0,D=h.length,G=void 0;me)for($e.qc(),e=f,f=void 0,h=e.length,D=h-D;D<--h;)f=e[D],e[D++]=e[h],e[h]=f}2>b.length&&b.push(Fc(b[0],0));return b}function e(a){for(a=d(a);4>a.length;)a.push(Fc(a[0],0));return a}function f(a){return cf(a,e)}function h(a){var b=a.type;return"GeometryCollection"=== -b?{type:b,geometries:cf(a.geometries,h)}:b in m?{type:b,coordinates:m[b](a)}:null}var k=bf(a.transform),l=a.arcs,m={Point:function(a){return c(a.coordinates)},MultiPoint:function(a){return cf(a.coordinates,c)},LineString:function(a){return d(a.arcs)},MultiLineString:function(a){return cf(a.arcs,d)},Polygon:function(a){return f(a.arcs)},MultiPolygon:function(a){return cf(a.arcs,f)}};return h(b)};function ef(a){Be.call(this);this.chart=this.b=a}E(ef,Be);ef.prototype.If=function(){var a=this.chart.ba(),b=a.getItem();this.index=a.ra();this.name=b.get("name");this.value=b.K("value");this.size=b.K("size")};ef.prototype.Xc=function(){};ef.prototype.si=function(a){return this.chart.ba().getItem().get(a)};ef.prototype.wf=function(a){switch(a){case "%Name":return this.name}return ef.G.wf.call(this,a)};ef.prototype.getStat=ef.prototype.Xc;ef.prototype.getDataValue=ef.prototype.si; -ef.prototype.getTokenValue=ef.prototype.wf;var ff=10*1E-6,gf={name:"fill",Vc:"path",Zc:["fill","hoverFill","selectFill"],dd:null,Jc:!1,zIndex:0},hf={name:"stroke",Vc:"path",Zc:null,dd:["stroke","hoverStroke","selectStroke"],Jc:!1,zIndex:2E-6},jf={name:"hatchFill",Vc:"path",Zc:["hatchFill","hoverHatchFill","selectHatchFill"],dd:null,Jc:!0,zIndex:1E-6},kf={name:"circle",Vc:"circle",Zc:["fill","hoverFill","selectFill"],dd:["stroke","hoverStroke","selectStroke"],Jc:!1,zIndex:0},lf={name:"hatchFill",Vc:"circle",Zc:["hatchFill","hoverHatchFill", -"selectHatchFill"],dd:null,Jc:!0,zIndex:1E-6},mf={name:"negative",Vc:"circle",Zc:["negativeFill","hoverNegativeFill","selectNegativeFill"],dd:["negativeStroke","hoverNegativeStroke","selectNegativeStroke"],Jc:!1,zIndex:0},nf={name:"negativeHatchFill",Vc:"circle",Zc:["negativeHatchFill","hoverNegativeHatchFill","selectNegativeHatchFill"],dd:null,Jc:!0,zIndex:1E-6},of={name:"rising",Vc:"path",Zc:["risingFill","hoverRisingFill","selectRisingFill"],dd:["risingStroke","hoverRisingStroke","selectRisingStroke"], -Jc:!1,zIndex:0},rf={name:"rising",Vc:"path",Zc:null,dd:["risingStroke","hoverRisingStroke","selectRisingStroke"],Jc:!1,zIndex:0},sf={name:"risingHatchFill",Vc:"path",Zc:["risingHatchFill","hoverRisingHatchFill","selectRisingHatchFill"],dd:null,Jc:!0,zIndex:1E-6},tf={name:"falling",Vc:"path",Zc:["fallingFill","hoverFallingFill","selectFallingFill"],dd:["fallingStroke","hoverFallingStroke","selectFallingStroke"],Jc:!1,zIndex:0},uf={name:"falling",Vc:"path",Zc:null,dd:["fallingStroke","hoverFallingStroke", -"selectFallingStroke"],Jc:!1,zIndex:0},vf={name:"fallingHatchFill",Vc:"path",Zc:["fallingHatchFill","hoverFallingHatchFill","selectFallingHatchFill"],dd:null,Jc:!0,zIndex:1E-6},wf={name:"high",Vc:"path",Zc:null,dd:["highStroke","hoverHighStroke","selectHighStroke"],Jc:!1,zIndex:2E-6},xf={name:"low",Vc:"path",Zc:null,dd:["lowStroke","hoverLowStroke","selectLowStroke"],Jc:!1,zIndex:2E-6},yf={name:"path",Vc:"path",Zc:["fill","hoverFill","selectFill"],dd:["stroke","hoverStroke","selectStroke"],Jc:!1, -zIndex:0},zf={name:"top",Vc:"path",Zc:null,dd:["stroke","hoverStroke","selectStroke"],Jc:!1,zIndex:3E-6},Af={name:"bottom",Vc:"path",Zc:null,dd:["stroke","hoverStroke","selectStroke"],Jc:!1,zIndex:2E-6},Bf={name:"left",Vc:"path",Zc:null,dd:["stroke","hoverStroke","selectStroke"],Jc:!1,zIndex:1E-6},Cf={name:"right",Vc:"path",Zc:null,dd:["stroke","hoverStroke","selectStroke"],Jc:!1,zIndex:4E-6},Df={name:"back",Vc:"path",Zc:null,dd:["stroke","hoverStroke","selectStroke"],Jc:!1,zIndex:0},Ef={name:"front", -Vc:"path",Zc:null,dd:["stroke","hoverStroke","selectStroke"],Jc:!1,zIndex:5*1E-6},Hf={name:"frontHatch",Vc:"path",Zc:["hatchFill","hoverHatchFill","selectHatchFill"],dd:null,Jc:!0,zIndex:8E-6},If={name:"rightHatch",Vc:"path",Zc:["hatchFill","hoverHatchFill","selectHatchFill"],dd:null,Jc:!0,zIndex:7E-6},Jf={name:"topHatch",Vc:"path",Zc:["hatchFill","hoverHatchFill","selectHatchFill"],dd:null,Jc:!0,zIndex:6E-6},Kf={name:"fill",Vc:"path",Zc:["fill"],dd:null,Jc:!1,zIndex:0},Lf={name:"stroke",Vc:"path", -Zc:null,dd:["stroke"],Jc:!1,zIndex:2E-6},Mf={name:"hatchFill",Vc:"path",Zc:["hatchFill"],dd:null,Jc:!0,zIndex:1E-6},Nf={name:"high",Vc:"path",Zc:null,dd:["highStroke"],Jc:!1,zIndex:2E-6},Of={name:"low",Vc:"path",Zc:null,dd:["lowStroke"],Jc:!1,zIndex:2E-6},Pf={name:"path",Vc:"path",Zc:["fill"],dd:["stroke"],Jc:!1,zIndex:0},Qf={name:"fill",Vc:"path",Zc:["selectFill"],dd:null,Jc:!1,zIndex:0},Rf={name:"stroke",Vc:"path",Zc:null,dd:["selectStroke"],Jc:!1,zIndex:2E-6},Sf={name:"hatchFill",Vc:"path",Zc:["selectHatchFill"], -dd:null,Jc:!0,zIndex:1E-6},Tf={name:"high",Vc:"path",Zc:null,dd:["selectHighStroke"],Jc:!1,zIndex:2E-6},Wf={name:"low",Vc:"path",Zc:null,dd:["selectLowStroke"],Jc:!1,zIndex:2E-6},Xf={name:"path",Vc:"path",Zc:["selectFill"],dd:["selectStroke"],Jc:!1,zIndex:0};function Yf(a,b){return!!((Number(a)||0)&(b||255))};ca.performance&&A(ca.performance.now)&&va(ca.performance.now,ca.performance);(function(){function a(){for(var a=this.chart,c=b.call(this),d=a.getSeriesCount(),e={},f=0;fa.K("size")?(c="negative",d="negativeHatchFill"):(c="circle",d="hatchFill");var e={};e[c]=!0;e[d]=!0;c=this.g.Ke(b,e);Cg(a,c)};g.Wq=function(a){var b=a.K("shapes");Cg(a,b)};function Cg(a,b){var c=a.K("x"),d=a.K("value"),e=a.K("size"),e=Math.abs(e),f;for(f in b)b[f].Yl(c).Zl(d).ad(e)};function Dg(a){gg.call(this,a)}E(Dg,gg);Ka[7]=Dg;Dg.prototype.type=7;Dg.prototype.xg=17920;Dg.prototype.sg=["open","high","low","close"]; -Dg.prototype.vg=function(a,b){var c=Number(a.get("open"))a++;){if(this.Md)return;this.bk.Go();b=sh(this)}b&&this.bk.Go();this.Md||(b?(this.bk.Cf(this.gf),this.xK=setTimeout(this.QD,0)):this.bk.oB())};function mh(a){for(var b=a.length,c=Array(b),d=c[0]=-1,e=1;e=d){f="";e=0;a.Rj=-1;a.Sj=-1;a.gf=c+1;h=0;break}else return 0":"
")} -function Ci(a){if(!Di.test(a))return a;-1!=a.indexOf("&")&&(a=a.replace(Ei,"&"));-1!=a.indexOf("<")&&(a=a.replace(Fi,"<"));-1!=a.indexOf(">")&&(a=a.replace(Gi,">"));-1!=a.indexOf('"')&&(a=a.replace(Hi,"""));-1!=a.indexOf("'")&&(a=a.replace(Ii,"'"));-1!=a.indexOf("\x00")&&(a=a.replace(Ji,"�"));return a} -var Ei=/&/g,Fi=//g,Hi=/"/g,Ii=/'/g,Ji=/\x00/g,Di=/[\x00&<>"']/,Ki={"\x00":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"\\":"\\\\","<":"<"},Li={"'":"\\'"}; -function Mi(a){for(var b=[],c=0;ch)f=e;else{if(256>h){if(f="\\x",16>h||256h&&(f+="0");f+=h.toString(16).toUpperCase()}e=Li[e]=f}b[d]=e}return b.join("")}function Ni(a,b){var c=new RegExp(Oi(b),"g");return a.replace(c,"")}function Oi(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#b?1:0}function Wi(a){return String(a).replace(/\-([a-z])/g,function(a,c){return c.toUpperCase()})} -function Xi(a){var b=z(void 0)?Oi(void 0):"\\s";return a.replace(new RegExp("(^"+(b?"|["+b+"]+":"")+")([a-z])","g"),function(a,b,e){return b+e.toUpperCase()})}function Yi(a,b){for(var c=a.split(" "),d=[];0c?Math.max(0,a.length+c):c;if(z(a))return z(b)&&1==b.length?a.indexOf(b,c):-1;for(;cb?null:z(a)?a.charAt(b):a[b]}function pc(a,b,c){for(var d=a.length,e=z(a)?a.split(""):a,f=0;f=arguments.length?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)}function pj(a){for(var b={},c=0,d=0;d>1,m;c?m=b.call(e,a[l],l,a):m=b(d,a[l]);0b?1:ac?(ec(a,b,-(c+1)),!0):!1}function xj(a){var b=[];if(0>1*(a-0))return[];for(var c=0;cc&&0c&&d.push("-");d.push("P");(a.F||b)&&d.push(Math.abs(a.F)+"Y");(a.D||b)&&d.push(Math.abs(a.D)+"M");(a.b||b)&&d.push(Math.abs(a.b)+"D");if(a.j||a.o||a.g||b)d.push("T"),(a.j||b)&&d.push(Math.abs(a.j)+"H"),(a.o||b)&&d.push(Math.abs(a.o)+"M"),(a.g||b)&&d.push(Math.abs(a.g)+"S");return d.join("")} -Aj.prototype.gm=function(a){return a.F==this.F&&a.D==this.D&&a.b==this.b&&a.j==this.j&&a.o==this.o&&a.g==this.g};Aj.prototype.clone=function(){return new Aj(this.F,this.D,this.b,this.j,this.o,this.g)};var Ij="y",Jj="m",Kj="d",Lj="h",Mj="n",Nj="s";Aj.prototype.I=function(a){return new Aj(this.F*a,this.D*a,this.b*a,this.j*a,this.o*a,this.g*a)};Aj.prototype.add=function(a){this.F+=a.F;this.D+=a.D;this.b+=a.b;this.j+=a.j;this.o+=a.o;this.g+=a.g}; -function Qj(a,b,c){na(a)?(this.b=Rj(a,b||0,c||1),Sj(this,c||1)):v(a)?(this.b=Rj(a.getFullYear(),a.getMonth(),a.getDate()),Sj(this,a.getDate())):(this.b=new Date(za()),a=this.b.getDate(),this.b.setHours(0),this.b.setMinutes(0),this.b.setSeconds(0),this.b.setMilliseconds(0),Sj(this,a))}function Rj(a,b,c){b=new Date(a,b,c);0<=a&&100>a&&b.setFullYear(b.getFullYear()-1900);return b}g=Qj.prototype;g.eu=Ih.JE;g.gu=Ih.KE;g.clone=function(){var a=new Qj(this.b);a.eu=this.eu;a.gu=this.gu;return a}; -g.getFullYear=function(){return this.b.getFullYear()};g.getMonth=function(){return this.b.getMonth()};g.getDate=function(){return this.b.getDate()};g.getTime=function(){return this.b.getTime()};g.getDay=function(){return this.b.getDay()};g.getUTCFullYear=function(){return this.b.getUTCFullYear()};g.getUTCMonth=function(){return this.b.getUTCMonth()};g.getUTCDate=function(){return this.b.getUTCDate()};g.CC=function(){return this.b.getDay()};g.getUTCHours=function(){return this.b.getUTCHours()}; -g.getUTCMinutes=function(){return this.b.getUTCMinutes()};g.getTimezoneOffset=function(){return this.b.getTimezoneOffset()};function Tj(a){a=a.getTimezoneOffset();if(0==a)a="Z";else{var b=Math.abs(a)/60,c=Math.floor(b),b=60*(b-c);a=(0b&&(b+=12);var d=Math.min(zj(c,b),this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(d)}a.b&&(b=new Date(this.getFullYear(),this.getMonth(),this.getDate(),12),a=new Date(b.getTime()+864E5*a.b),this.setDate(1),this.setFullYear(a.getFullYear()),this.setMonth(a.getMonth()),this.setDate(a.getDate()),Sj(this,a.getDate()))}; -g.DC=function(a,b){return[this.getFullYear(),Qi(this.getMonth()+1,2),Qi(this.getDate(),2)].join(a?"-":"")+(b?Tj(this):"")};g.kL=function(a,b){return[this.getUTCFullYear(),Qi(this.getUTCMonth()+1,2),Qi(this.getUTCDate(),2)].join(a?"-":"")+(b?"Z":"")};g.gm=function(a){return!(!a||this.getFullYear()!=a.getFullYear()||this.getMonth()!=a.getMonth()||this.getDate()!=a.getDate())};g.toString=function(){return this.DC()}; -function Sj(a,b){if(a.getDate()!=b){var c=a.getDate()c?"-":"+"];c=Math.abs(c);d.push(Math.floor(c/60)%100);c%=60;0!=c&&d.push(":",Qi(c,2));c=d.join("")}b.o=c;c=a;0==c?c="UTC":(d=["UTC",0>c?"+":"-"],c=Math.abs(c),d.push(Math.floor(c/60)%100),c%=60,0!=c&&d.push(":",c),c=d.join(""));a=kk(a);b.D=[c,c];b.b={K$:a,LL:a};b.j=[];return b}b=new ik;b.o=a.id;b.g=-a.std_offset;b.D=a.names;b.b=a.names_ext;b.j=a.transitions;return b} -function kk(a){var b=["GMT"];b.push(0>=a?"+":"-");a=Math.abs(a);b.push(Qi(Math.floor(a/60)%100,2),":",Qi(a%60,2));return b.join("")}function lk(a,b){for(var c=Date.UTC(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate(),b.getUTCHours(),b.getUTCMinutes())/36E5,d=0;d=a.j[d];)d+=2;return 0==d?0:a.j[d-1]};function mk(a,b){this.g=[];this.b=b||Ih;"number"==typeof a?nk(this,a):ok(this,a)}var pk=[/^\'(?:[^\']|\'\')*\'/,/^(?:G+|y+|M+|k+|S+|E+|a+|h+|K+|H+|c+|L+|Q+|d+|m+|s+|v+|V+|w+|z+|Z+)/,/^[^\'GyMkSEahKHcLQdmsvVwzZ]+/];function ok(a,b){for(qk&&(b=b.replace(/\u200f/g,""));b;)for(var c=0;cb)c=a.b.mv[b];else if(8>b)c=a.b.nv[b-4];else if(12>b)c=a.b.HE[b-8],c=c.replace("{1}",a.b.mv[b-8]),c=c.replace("{0}",a.b.nv[b-8]);else{nk(a,10);return}ok(a,c)}function tk(a,b){var c;c=String(b);var d=a.b||Ih;if(void 0!==d.ZE){for(var e=[],f=0;f=h?String.fromCharCode(d.ZE+h-48):c.charAt(f))}c=e.join("")}return c}var qk=!1; -function uk(a){if(!(a.getHours&&a.getSeconds&&a.getMinutes))throw Error("The date to format has no time (probably a goog.date.Date). Use Date or goog.date.DateTime, or use a pattern without time fields.");} -function sk(a,b,c,d,e,f){var h=b.length;switch(b.charAt(0)){case "G":return c=0c&&(c=-c),2==h&&(c%=100),tk(a,Qi(c,h));case "M":a:switch(c=d.getMonth(),h){case 5:h=a.b.FL[c];break a;case 4:h=a.b.ME[c];break a;case 3:h=a.b.TE[c];break a;default:h=tk(a,Qi(c+1,h))}return h;case "k":return uk(e),tk(a,Qi(e.getHours()||24,h));case "S":return tk(a,(e.getTime()%1E3/1E3).toFixed(Math.min(3,h)).substr(2)+(3h?1:0];case "h":return uk(e),tk(a,Qi(e.getHours()%12||12,h));case "K":return uk(e),tk(a,Qi(e.getHours()%12,h));case "H":return uk(e),tk(a,Qi(e.getHours(),h));case "c":a:switch(c=d.getDay(),h){case 5:h=a.b.IL[c];break a;case 4:h=a.b.KL[c];break a;case 3:h=a.b.JL[c];break a;default:h=tk(a,Qi(c,1))}return h;case "L":a:switch(c=d.getMonth(),h){case 5:h=a.b.HL[c];break a;case 4:h=a.b.WE[c];break a;case 3:h=a.b.XE[c]; -break a;default:h=tk(a,Qi(c+1,h))}return h;case "Q":return c=Math.floor(d.getMonth()/3),4>h?a.b.UE[c]:a.b.RE[c];case "d":return tk(a,Qi(d.getDate(),h));case "m":return uk(e),tk(a,Qi(e.getMinutes(),h));case "s":return uk(e),tk(a,Qi(e.getSeconds(),h));case "v":return h=f||jk(c.getTimezoneOffset()),h.o;case "V":return a=f||jk(c.getTimezoneOffset()),2>=h?a.o:0h?a.D[0h?(h=-(e.g-lk(e,c)),a=[0>h?"-":"+"],h=Math.abs(h),a.push(Qi(Math.floor(h/60)%100,2),Qi(h%60,2)),h=a.join("")):h=tk(a,kk(e.g-lk(e,c))), -h;default:return""}};function vk(a,b){this.b=[];this.g=b||Ih;if("number"==typeof a){var c=a,d;11c?d=this.g.mv[c]:8>c?d=this.g.nv[c-4]:(d=this.g.HE[c-8],d=d.replace("{1}",this.g.mv[c-8]),d=d.replace("{0}",this.g.nv[c-8]));Ck(this,d)}else Ck(this,a)} -function Ck(a,b){for(var c=!1,d="",e=0;e=a.count)return!1;var b="MydhHmsSDkK".indexOf(a.text.charAt(0));return 0a.count}function Fk(a,b){var c=a.substring(b[0]).match(/^\s+/);c&&(b[0]+=c[0].length)} -function Gk(a,b,c,d,e,f){Fk(b,c);var h=c[0],k=d.text.charAt(0),l=-1;if(Ek(d))if(0b.length)return!1;l=Hk(a,b.substring(0,h+e),c)}else l=Hk(a,b,c);switch(k){case "G":return l=Ik(b,c,a.g.IE),0<=l&&(f.era=l),!0;case "M":case "L":a:{d=l;if(0>d){a=a.g.ME.concat(a.g.WE).concat(a.g.TE).concat(a.g.XE);d=Ik(b,c,a);if(0>d){f=!1;break a}f.month=d%12}else f.month=d-1;f=!0}return f;case "E":return d=Ik(b,c,a.g.YE),0>d&&(d=Ik(b,c,a.g.VE)),0>d?f=!1:(f.g=d,f=!0),f;case "a":return l=Ik(b,c,a.g.GE),0<=l&& -(f.o=l),!0;case "y":a:{var m;if(0>l){m=b.charAt(c[0]);if("+"!=m&&"-"!=m){f=!1;break a}c[0]++;l=Hk(a,b,c);if(0>l){f=!1;break a}"-"==m&&(l=-l)}m||2!=c[0]-h||2!=d.count?f.year=l:(b=l,c=(new Date).getFullYear()-80,a=c%100,f.J=b==a,b+=100*Math.floor(c/100)+(bl?(d=Ik(b,c,a.g.RE),0>d&&(d=Ik(b,c,a.g.UE)),0>d?f=!1:(f.month=3*d,f.day=1,f=!0)):f=!1,f;case "d":return 0<=l&&(f.day=l),!0;case "S":return b=c[0]-h,f.I=3>b?l*Math.pow(10,3-b):Math.round(l/Math.pow(10, -b-3)),!0;case "h":12==l&&(l=0);case "K":case "H":case "k":return 0<=l&&(f.b=l),!0;case "m":return 0<=l&&(f.D=l),!0;case "s":return 0<=l&&(f.F=l),!0;case "z":case "Z":case "v":b.indexOf("GMT",c[0])==c[0]&&(c[0]+=3);a:if(c[0]>=b.length)f.j=0,f=!0;else{d=1;switch(b.charAt(c[0])){case "-":d=-1;case "+":c[0]++}h=c[0];l=Hk(a,b,c);if(0>l)f=!1;else{if(c[0]l){f=!1;break a}m+=l}else m=l,m=24>m&&2>=c[0]-h?60*m:m%100+m/100*60;f.j=-(m*d);f=!0}}return f; -default:return!1}}function Hk(a,b,c){if(a.g.ZE){for(var d=[],e=c[0];e=f?String.fromCharCode(f+48):b.charAt(e))}b=d.join("")}else b=b.substring(c[0]);a=b.match(/^\d+/);if(!a)return-1;c[0]+=a[0].length;return parseInt(a[0],10)}function Ik(a,b,c){var d=0,e=-1;a=a.substring(b[0]).toLowerCase();for(var f=0;fd&&0==a.indexOf(c[f].toLowerCase())&&(e=f,d=h)}0<=e&&(b[0]+=d);return e}function Jk(){};function Kk(a){if(ca.JSON)try{return ca.JSON.stringify(a)}catch(b){}return Kh(a)}function Lk(a){if(ca.JSON)try{var b=ca.JSON.parse(a);return b}catch(c){}return b=Jh(a)};var Mk;a:{var Nk=ca.navigator;if(Nk){var Ok=Nk.userAgent;if(Ok){Mk=Ok;break a}}Mk=""}function Pk(a){return-1!=Mk.indexOf(a)};function Qk(){return Pk("iPhone")&&!Pk("iPod")&&!Pk("iPad")};function Ac(a,b,c){return Math.min(Math.max(a,b),c)}function Rk(a,b){var c=a%b;return 0>c*b?c+b:c}function Sk(a){return Rk(a,360)}function Ua(a){return a*Math.PI/180}function Va(a){return 180*a/Math.PI}function Tk(a,b){return b*Math.cos(Ua(a))}function Uk(a,b){return b*Math.sin(Ua(a))};function Vk(a){var b={};a=String(a);var c=Wk(a);if(Xk.test(c))return b.mg=Yk(c),b.type="hex",b;c=Zk(a);if(c.length)return b.mg=$k(c),b.type="rgb",b;if($f&&(c=$f[a.toLowerCase()]))return b.mg=c,b.type="named",b;throw Error(a+" is not a valid color string");}function al(a){return!!(Xk.test(Wk(a))||Zk(a).length||$f&&$f[a.toLowerCase()])}var bl=/#(.)(.)(.)/; -function Yk(a){if(!Xk.test(a))throw Error("'"+a+"' is not a valid hex color");4==a.length&&(a=a.replace(bl,"#$1$1$2$2$3$3"));return a.toLowerCase()}function cl(a){a=Yk(a);return[parseInt(a.substr(1,2),16),parseInt(a.substr(3,2),16),parseInt(a.substr(5,2),16)]} -function dl(a,b,c){a=Number(a);b=Number(b);c=Number(c);if(isNaN(a)||0>a||255b||255c||255c?c+=1:16*c?a+6*(b-a)*c:1>2*c?b:2>3*c?a+(b-a)*(2/3-c)*6:a}var Xk=/^#(?:[0-9a-f]{3}){1,2}$/i,gl=/^(?:rgb)?\((0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2}),\s?(0|[1-9]\d{0,2})\)$/i; -function Zk(a){var b=a.match(gl);if(b){a=Number(b[1]);var c=Number(b[2]),b=Number(b[3]);if(0<=a&&255>=a&&0<=c&&255>=c&&0<=b&&255>=b)return[a,c,b]}return[]}function el(a){return 1==a.length?"0"+a:a}function Wk(a){return"#"==a.charAt(0)?a:"#"+a}function hl(a,b,c){c=Ac(c,0,1);return[Math.round(c*a[0]+(1-c)*b[0]),Math.round(c*a[1]+(1-c)*b[1]),Math.round(c*a[2]+(1-c)*b[2])]}function il(a,b){return hl([0,0,0],a,b)};function jl(a,b,c,d,e,f){if(6==arguments.length)this.setTransform(a,b,c,d,e,f);else{if(0!=arguments.length)throw Error("Insufficient matrix parameters");this.ld=this.ce=1;this.be=this.me=this.gd=this.hd=0}}function kl(a){return 1==a.ld&&0==a.be&&0==a.me&&1==a.ce&&0==a.gd&&0==a.hd}g=jl.prototype;g.clone=function(){return new jl(this.ld,this.be,this.me,this.ce,this.gd,this.hd)}; -g.setTransform=function(a,b,c,d,e,f){if(!(na(a)&&na(b)&&na(c)&&na(d)&&na(e)&&na(f)))throw Error("Invalid transform parameters");this.ld=a;this.be=b;this.me=c;this.ce=d;this.gd=e;this.hd=f;return this};g.scale=function(a,b){this.ld*=a;this.be*=a;this.me*=b;this.ce*=b;return this};g.translate=function(a,b){this.gd+=a*this.ld+b*this.me;this.hd+=a*this.be+b*this.ce;return this};function ll(a,b,c){var d=a.ld,e=a.be;a.ld+=c*a.me;a.be+=c*a.ce;a.me+=b*d;a.ce+=b*e} -g.toString=function(){return"matrix("+[this.ld,this.be,this.me,this.ce,this.gd,this.hd].join()+")"};function ml(a,b){var c=a.ld,d=a.me;a.ld=b.ld*c+b.be*d;a.me=b.me*c+b.ce*d;a.gd+=b.gd*c+b.hd*d;c=a.be;d=a.ce;a.be=b.ld*c+b.be*d;a.ce=b.me*c+b.ce*d;a.hd+=b.gd*c+b.hd*d}function ul(a,b){var c=a.ld,d=a.be;a.ld=b.ld*c+b.me*d;a.be=b.be*c+b.ce*d;c=a.me;d=a.ce;a.me=b.ld*c+b.me*d;a.ce=b.be*c+b.ce*d;c=a.gd;d=a.hd;a.gd=b.ld*c+b.me*d+b.gd;a.hd=b.be*c+b.ce*d+b.hd} -g.transform=function(a,b,c,d,e){var f=b;for(b+=2*e;f=Nh)&&"Z"!==yb.o?"M"===yb.o?ne="L":"m"===yb.o?ne="l":ne=yb.o:ne=null;if(null===ne){jd=null;break b}}else yb.b+=1;yb.o=ne;var pf=null,Ue=ne.toUpperCase();"H"===Ue||"V"===Ue?pf=[Mc(yb)]:"M"===Ue||"L"===Ue||"T"===Ue?pf=[Mc(yb),Mc(yb)]:"S"===Ue||"Q"===Ue?pf=[Mc(yb),Mc(yb),Mc(yb),Mc(yb)]: -"C"===Ue?pf=[Mc(yb),Mc(yb),Mc(yb),Mc(yb),Mc(yb),Mc(yb)]:"A"===Ue?pf=[Mc(yb),Mc(yb),Mc(yb),Nc(yb),Nc(yb),Mc(yb),Mc(yb)]:"Z"===Ue&&(Hc(yb),pf=[]);jd=null===pf||0<=pf.indexOf(null)?null:{type:ne,values:pf}}if(null===jd)break;else me.push(jd)}Jc=me}else Jc=[];nc=Il(a,Jl(Jc));f=Hl(a,b,nc,d);break;case "line":var Ff=+b.getAttribute("x1"),fg=+b.getAttribute("x2"),Si=+b.getAttribute("y1"),Oh=+b.getAttribute("y2");f=Hl(a,b,[{type:"M",values:[Ff,Si]},{type:"L",values:[fg,Oh]}],d);break;case "text":var Gf=Cl(b, -d),vc=El(b),Ti=Dl(a,b,"element");vc.id=Ti.id;var sm=b.cloneNode(!0);Gf.ho&&sm.setAttribute("transform",Gf.ho.toString());sm.removeAttribute("data-ac-wrapper-id");var In=Ti.id;n(In)?vc.id=In:n(vc.id)&&(In=vc.id);f={type:"text",text:b,cloneNode:sm,tx:Gf,id:In,properties:vc,attrs:Ti};break;case "image":var Uf=Cl(b,d),Bj=El(b),Ve=Dl(a,b,"element"),Qt=+b.getAttribute("x"),ug=+b.getAttribute("y"),Vf=+b.getAttribute("width"),Cj=+b.getAttribute("height");Bj.id=Ve.id;var nh=b.cloneNode(!0);Uf.ho&&nh.setAttribute("transform", -Uf.ho.toString());nh.removeAttribute("data-ac-wrapper-id");var wk=Ve.id;n(wk)?Bj.id=wk:n(Bj.id)&&(wk=Bj.id);f={type:"image",sourceNode:b,cloneNode:nh,bounds:Kl(Qt,ug,Vf,Cj),tx:Uf,id:wk,properties:Bj,attrs:Ve};break;case "use":f=Gl(a,b);break;case "clippath":for(var yp=Cl(b,d),Jn=Bl(a,b,!0,yp.ho),tm=[],nl=0,lr=Jn.length;nlph?qf=Math.abs(qf):0>=Qh&&0>=ph?qf=180-Math.abs(qf):0>=Qh&&0w&&(w=2*Math.PI+w);0>l&&(l=2*Math.PI+l);m&&w>l&&(w-=2*Math.PI);!m&&l>w&&(l-=2*Math.PI)}if(Math.abs(l-w)>120*Math.PI/180){var B=l,D=d,G=e;l=m&&l>w?w+120*Math.PI/180*1:w+120*Math.PI/180*-1;d=x+f*Math.cos(l);e=y+h*Math.sin(l);u=Tl(a,d,e,D,G,f,h,k,0,m,[l,B,x,y])}a=Math.tan((l-w)/4);f=4/3*f*a;a*=4/3*h;h=[b,c];b=[b+f*Math.sin(w),c-a*Math.cos(w)];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(u);var u=[b,c,d].concat(u).join().split(","), -K=[],N=[];u.forEach(function(a,b){b%2?N.push(q(u[b-1],u[b],t).y):N.push(q(u[b],u[b+1],t).x);6===N.length&&(K.push(N),N=[])});return K} -function Jl(a){var b=[],c=null,d=null,e=null,f=null;a.forEach(function(a){switch(a.type){case "M":var k=a.values[0],l=a.values[1];b.push({type:"M",values:[k,l]});e=k;f=l;c=k;d=l;break;case "m":k=c+a.values[0];l=d+a.values[1];b.push({type:"M",values:[k,l]});e=k;f=l;c=k;d=l;break;case "L":k=a.values[0];l=a.values[1];b.push({type:"L",values:[k,l]});c=k;d=l;break;case "l":k=c+a.values[0];l=d+a.values[1];b.push({type:"L",values:[k,l]});c=k;d=l;break;case "C":var m=a.values[0],p=a.values[1],q=a.values[2], -t=a.values[3],k=a.values[4],l=a.values[5];b.push({type:"C",values:[m,p,q,t,k,l]});c=k;d=l;break;case "c":m=c+a.values[0];p=d+a.values[1];q=c+a.values[2];t=d+a.values[3];k=c+a.values[4];l=d+a.values[5];b.push({type:"C",values:[m,p,q,t,k,l]});c=k;d=l;break;case "Q":m=a.values[0];p=a.values[1];k=a.values[2];l=a.values[3];b.push({type:"Q",values:[m,p,k,l]});c=k;d=l;break;case "q":m=c+a.values[0];p=d+a.values[1];k=c+a.values[2];l=d+a.values[3];b.push({type:"Q",values:[m,p,k,l]});c=k;d=l;break;case "A":k= -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],k,l]});c=k;d=l;break;case "a":k=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],k,l]});c=k;d=l;break;case "H":k=a.values[0];b.push({type:"H",values:[k]});c=k;break;case "h":k=c+a.values[0];b.push({type:"H",values:[k]});c=k;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];t=a.values[1];k=a.values[2];l=a.values[3];b.push({type:"S",values:[q,t,k,l]});c=k;d=l;break;case "s":q=c+a.values[0];t=d+a.values[1];k=c+a.values[2];l=d+a.values[3];b.push({type:"S",values:[q,t,k,l]});c=k;d=l;break;case "T":k=a.values[0];l=a.values[1];b.push({type:"T",values:[k,l]});c=k;d=l;break;case "t":k=c+a.values[0];l=d+a.values[1];b.push({type:"T",values:[k,l]});c=k;d=l;break;case "Z":case "z":b.push({type:"Z",values:[]}),c=e,d=f}});return b} -function Il(a,b){var c=[],d=null,e=null,f=null,h=null,k=null,l=null,m=null;aj(b,function(a){switch(a.type){case "M":var b=a.values[0],t=a.values[1];c.push({type:"M",values:[b,t]});l=b;m=t;h=b;k=t;break;case "C":var u=a.values[0],w=a.values[1],x=a.values[2],y=a.values[3],b=a.values[4],t=a.values[5];c.push({type:"C",values:[u,w,x,y,b,t]});e=x;f=y;h=b;k=t;break;case "L":b=a.values[0];t=a.values[1];c.push({type:"L",values:[b,t]});h=b;k=t;break;case "H":b=a.values[0];c.push({type:"L",values:[b,k]});h= -b;break;case "V":t=a.values[0];c.push({type:"L",values:[h,t]});k=t;break;case "S":var x=a.values[0],y=a.values[1],b=a.values[2],t=a.values[3],B,D;"C"===d||"S"===d?(B=h+(h-e),D=k+(k-f)):(B=h,D=k);c.push({type:"C",values:[B,D,x,y,b,t]});e=x;f=y;h=b;k=t;break;case "T":b=a.values[0];t=a.values[1];"Q"===d||"T"===d?(u=h+(h-e),w=k+(k-f)):(u=h,w=k);B=h+2*(u-h)/3;D=k+2*(w-k)/3;c.push({type:"C",values:[B,D,b+2*(u-b)/3,t+2*(w-t)/3,b,t]});e=u;f=w;h=b;k=t;break;case "Q":u=a.values[0];w=a.values[1];b=a.values[2]; -t=a.values[3];B=h+2*(u-h)/3;D=k+2*(w-k)/3;c.push({type:"C",values:[B,D,b+2*(u-b)/3,t+2*(w-t)/3,b,t]});e=u;f=w;h=b;k=t;break;case "A":u=a.values[0];w=a.values[1];x=a.values[2];y=a.values[3];B=a.values[4];b=a.values[5];t=a.values[6];0===u||0===w?(c.push({type:"C",values:[h,k,b,t,b,t]}),h=b,k=t):h===b&&k===t||Tl(this,h,k,b,t,u,w,x,y,B).forEach(function(a){c.push({type:"C",values:a});h=b;k=t});break;case "Z":c.push(a),h=l,k=m}d=a.type},a);return c};var Ul="StopIteration"in ca?ca.StopIteration:{message:"StopIteration",stack:""};function Vl(){}Vl.prototype.next=function(){throw Ul;};Vl.prototype.$E=function(){return this};function Wl(a){if(a instanceof Vl)return a;if("function"==typeof a.$E)return a.$E(!1);if(ja(a)){var b=0,c=new Vl;c.next=function(){for(;;){if(b>=a.length)throw Ul;if(b in a)return a[b++];b++}};return c}throw Error("Not implemented");}function Xl(a){try{return Wl(a).next()}catch(b){if(b!=Ul)throw b;return null}};function Yl(a,b){this.x=n(a)?a:0;this.y=n(b)?b:0}g=Yl.prototype;g.clone=function(){return new Yl(this.x,this.y)};function Zl(a,b){return a==b?!0:a&&b?a.x==b.x&&a.y==b.y:!1}function $l(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)}function am(a,b){return new Yl(a.x-b.x,a.y-b.y)}g.ceil=function(){this.x=Math.ceil(this.x);this.y=Math.ceil(this.y);return this};g.floor=function(){this.x=Math.floor(this.x);this.y=Math.floor(this.y);return this}; -g.round=function(){this.x=Math.round(this.x);this.y=Math.round(this.y);return this};g.translate=function(a,b){a instanceof Yl?(this.x+=a.x,this.y+=a.y):(this.x+=a,na(b)&&(this.y+=b));return this};g.scale=function(a,b){var c=na(b)?b:a;this.x*=a;this.y*=c;return this};function bm(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d}g=bm.prototype;g.ve=function(){return this.right-this.left};g.Ce=function(){return this.bottom-this.top};g.clone=function(){return new bm(this.top,this.right,this.bottom,this.left)};g.contains=function(a){return this&&a?a instanceof bm?a.left>=this.left&&a.right<=this.right&&a.top>=this.top&&a.bottom<=this.bottom:a.x>=this.left&&a.x<=this.right&&a.y>=this.top&&a.y<=this.bottom:!1}; -g.ceil=function(){this.top=Math.ceil(this.top);this.right=Math.ceil(this.right);this.bottom=Math.ceil(this.bottom);this.left=Math.ceil(this.left);return this};g.floor=function(){this.top=Math.floor(this.top);this.right=Math.floor(this.right);this.bottom=Math.floor(this.bottom);this.left=Math.floor(this.left);return this};g.round=function(){this.top=Math.round(this.top);this.right=Math.round(this.right);this.bottom=Math.round(this.bottom);this.left=Math.round(this.left);return this}; -g.translate=function(a,b){a instanceof Yl?(this.left+=a.x,this.right+=a.x,this.top+=a.y,this.bottom+=a.y):(this.left+=a,this.right+=a,na(b)&&(this.top+=b,this.bottom+=b));return this};g.scale=function(a,b){var c=na(b)?b:a;this.left*=a;this.right*=a;this.top*=c;this.bottom*=c;return this};function cm(a,b,c,d){this.b=a;this.j=b;this.g=c;this.o=d}cm.prototype.clone=function(){return new cm(this.b,this.j,this.g,this.o)};cm.prototype.gm=function(a){return this.b==a.b&&this.j==a.j&&this.g==a.g&&this.o==a.o};function Q(a,b,c,d){this.left=a;this.top=b;this.width=c;this.height=d}g=Q.prototype;g.clone=function(){return new Q(this.left,this.top,this.width,this.height)};function dm(a,b){return a==b?!0:a&&b?a.left==b.left&&a.width==b.width&&a.top==b.top&&a.height==b.height:!1}g.Ek=function(a){return this.left<=a.left+a.width&&a.left<=this.left+this.width&&this.top<=a.top+a.height&&a.top<=this.top+this.height}; -function em(a,b){var c=Math.max(a.left+a.width,b.left+b.width),d=Math.max(a.top+a.height,b.top+b.height);a.left=Math.min(a.left,b.left);a.top=Math.min(a.top,b.top);a.width=c-a.left;a.height=d-a.top}g.contains=function(a){return a instanceof Q?this.left<=a.left&&this.left+this.width>=a.left+a.width&&this.top<=a.top&&this.top+this.height>=a.top+a.height:a.x>=this.left&&a.x<=this.left+this.width&&a.y>=this.top&&a.y<=this.top+this.height}; -g.$e=function(a){var b=a.x=c?a:a=-1a?"-":0<=b.indexOf("+")?"+":0<=b.indexOf(" ")?" ":"";0<=a&&(d=f+d);if(isNaN(c)||d.length>=c)return d;d=isNaN(e)?Math.abs(a).toString():Math.abs(a).toFixed(e);a=c-d.length-f.length;return d=0<=b.indexOf("-",0)?f+d+Pi(" ",a):f+Pi(0<=b.indexOf("0",0)?"0":" ",a)+d},d:function(a,b,c, -d,e,f,h,k){return km.f(parseInt(a,10),b,c,d,0,f,h,k)}};km.i=km.d;km.u=km.d;function lm(a){this.b=a||new mm;this.g=new Lh} -function nm(a,b,c,d){var e=ga(b);switch(e){case "null":case "boolean":case "number":case "string":c.Rh(jm(a.b.rK,e),a.g.N(b),jm(a.b.qK,e));break;case "array":c.Rh(a.b.dQ);for(var f=0,f=0;f",0);var Xm=Rm("",0);function Ym(a,b){this.g={};this.b=[];this.o=this.j=0;var c=arguments.length;if(12*this.j&&Zm(this),!0):!1}; -function Zm(a){if(a.j!=a.b.length){for(var b=0,c=0;b=d.b.length)throw Ul;var e=d.b[b++];return a?e:d.g[e]};return e};function an(a,b){return Object.prototype.hasOwnProperty.call(a,b)};function bn(a){if(a.pm&&"function"==typeof a.pm)return a.pm();if(z(a))return a.split("");if(ja(a)){for(var b=[],c=a.length,d=0;db)throw Error("Bad port number "+b);a.I=b}else a.I=null}function qn(a,b,c){b instanceof sn?(a.D=b,yn(a.D,a.g)):(c||(b=tn(b,zn)),a.D=new sn(b,0,a.g))}function rn(a,b){return a?b?decodeURI(a.replace(/%25/g,"%2525")):decodeURIComponent(a):""}function tn(a,b,c){return z(a)?(a=encodeURI(a).replace(b,An),c&&(a=a.replace(/%25([0-9a-fA-F]{2})/g,"%$1")),a):null} -function An(a){a=a.charCodeAt(0);return"%"+(a>>4&15).toString(16)+(a&15).toString(16)}var un=/[#\/\?@]/g,wn=/[\#\?:]/g,vn=/[\#\?]/g,zn=/[\#\?@]/g,xn=/#/g;function sn(a,b,c){this.g=this.b=null;this.j=a||null;this.o=!!c}function Bn(a){a.b||(a.b=new Ym,a.g=0,a.j&&mn(a.j,function(b,c){a.add(decodeURIComponent(b.replace(/\+/g," ")),c)}))} -function Cn(a){var b=cn(a);if("undefined"==typeof b)throw Error("Keys are undefined");var c=new sn(null,0,void 0);a=bn(a);for(var d=0;dparseFloat(a))?String(b):a}(),ao={}; -function bo(a){var b;if(!(b=ao[a])){b=0;for(var c=Ai(String($n)).split("."),d=Ai(String(a)).split("."),e=Math.max(c.length,d.length),f=0;0==b&&fb.length){c.push(jo(a)+"(");for(var d=a.arguments,e=0;d&&e");c=c.join("")}c=a.createElement(c);d&&(z(d)?c.className=d:r(d)?c.className=d.join(" "):wo(c,d));2a}function Wo(a){if(no&&"innerText"in a)a=yi(a.innerText);else{var b=[];Xo(a,b,!0);a=b.join("")}a=a.replace(/ \xAD /g," ").replace(/\xAD/g,"");a=a.replace(/\u200B/g,"");no||(a=a.replace(/ +/g," "));" "!=a&&(a=a.replace(/^\s*/,""));return a} -function Yo(a){var b=[];Xo(a,b,!1);return b.join("")}function Xo(a,b,c){if(!(a.nodeName in Ro))if(3==a.nodeType)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in So)b.push(So[a.nodeName]);else for(a=a.firstChild;a;)Xo(a,b,c),a=a.nextSibling}function Fo(a){if(a&&"number"==typeof a.length){if(v(a))return"function"==typeof a.item||"string"==typeof a.item;if(A(a))return"function"==typeof a.item}return!1} -function Zo(a){try{return a&&a.activeElement}catch(b){}return null}function qo(a){this.b=a||ca.document||document}g=qo.prototype;g.xb=po;function $o(a){return a.b}g.qa=function(a){return z(a)?this.b.getElementById(a):a};g.Da=function(a,b,c){return Co(this.b,arguments)};function ap(a){return"CSS1Compat"==a.b.compatMode}function bp(a){a=a.b;return a.parentWindow||a.defaultView} -function cp(a){var b=a.b;a=zo(b);b=b.parentWindow||b.defaultView;return Hn&&bo("10")&&b.pageYOffset!=a.scrollTop?new Yl(a.scrollLeft,a.scrollTop):new Yl(b.pageXOffset||a.scrollLeft,b.pageYOffset||a.scrollTop)}g.appendChild=function(a,b){a.appendChild(b)};g.X4=Ho;g.W4=Jo;g.jS=Ko;g.V4=yl;g.VR=Lo;g.JS=zl;g.contains=No;function dp(a,b){ag.call(this);this.j=a;this.O=b;this.o=ep.test(Ao().location.hostname);this.J=!(this.O||this.o);this.b=fp|gp|hp|ip}var jp;E(dp,ag);var ep=/^(.*\.)?anychart\.(com|stg|dev)$/i,fp=1,gp=2,hp=4,ip=8;g=dp.prototype;g.R=function(a){this.b&=~a};g.B=function(a,b){var c=a&~this.b;this.b|=c;!this.Md&&!this.j.Fe()&&c&&b&&this.j.Sb()};g.enabled=function(a){return n(a)?(this.J!=a&&(this.J=a,(kp()||this.o||this.O)&&this.B(fp,!0)),this):this.J}; -g.text=function(a){return n(a)?(this.mc!=a&&(this.mc=a,(kp()||this.o)&&this.B(hp,!0)),this):this.mc};g.eB=function(a){return n(a)?(this.X!=a&&(this.X=a,(kp()||this.o)&&this.B(gp,!0)),this):this.X};g.cB=function(a){return n(a)?(this.$!=a&&(this.$=a,(kp()||this.o)&&this.B(gp,!0)),this):this.$};g.dB=function(a){return n(a)?(this.W!=a&&(this.W=a,(kp()||this.o)&&this.B(ip,!0)),this):this.W};g.Ha=function(){return this.j};g.ia=function(){return this.Yc}; -g.Sb=function(){var a=kp()||this.o;a&&n(this.Y)&&!this.Y&&this.B(fp,!1);this.Y=a;if(!this.b||this.Md||!this.j||this.j.Fe())return this;if(!this.enabled()&&(this.O||a))return this.b&fp&&(Ko(this.Yc),this.R(fp)),this;if(!jp){var b="",c=Bo("STYLE");c.type="text/css";b+=".anychart-credits{position:absolute;overflow:hidden;right:9px;bottom:6px;height:10px;}.anychart-credits a {text-decoration:none;}";b+=".anychart-credits-logo{border:none;margin-right:2px;height:10px;width:10px;display:inline-block;vertical-align:top;}"; -b+='.anychart-credits-text{font-size:10px;line-height:9px;display:inline-block;vertical-align:top;text-decoration:none;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;color:#929292;height:10px;}';c.styleSheet?c.styleSheet.cssText=b:c.appendChild(document.createTextNode(String(b)));Jo(to("head")[0],c,0);jp=c}this.Yc||(this.Yc=Bo("DIV","anychart-credits"));this.D||(this.D=Bo("A"),this.I=Bo("SPAN","anychart-credits-text"),this.g=Bo("IMG","anychart-credits-logo"),Go(this.D,this.I),this.Yc.appendChild(this.D)); -b=this.j.P();this.b&fp&&(b&&b.appendChild(this.Yc),this.R(fp));this.b&gp&&(wo(this.D,{href:a?this.eB():"http://anychart.com",title:a?this.cB():"AnyChart",target:"_blank"}),this.R(gp));this.b&hp&&(a=a?this.text():"AnyChart Trial Version",Po(this.I,a),this.R(hp));if(this.b&ip){if(a=kp()||this.o?this.dB():("https:"==Ao().location.protocol?"https://":"http://")+"static.anychart.com/logo.png"){if(this.ua=a,b=lp(mp))np(b,"complete",this.nT,!1,this),np(b,op,this.nP,!1,this),np(b,"error",this.oT,!1,this), -this.F&&(pp(b,a),this.F=!1),qp(b,a,a),this.F=!0,b.start()}else Ko(this.g);this.R(ip)}return this};g.nP=function(a){var b=this.ua;a.target.id==b&&(this.Md||this.g.parentNode||Jo(this.D,this.g,0),wo(this.g,{src:b}),this.F=!1)};g.nT=function(a){a.target.id==this.ua&&(this.F=!1)};g.oT=function(a){a.target.id==this.ua&&Ko(this.g)}; -g.U=function(a){this.j.qf();z(a)?(this.text(a),this.enabled(!0)):la(a)||null===a?this.enabled(!!a):v(a)&&(this.eB(a.url),this.text(a.text),this.cB(a.alt),this.dB(a.logoSrc),this.enabled(a.enabled));this.j.nf()};g.N=function(){var a={};a.url=this.eB();a.alt=this.cB();a.text=this.text();a.logoSrc=this.dB();a.enabled=this.enabled();return a}; -g.ca=function(){var a=lp(mp);a&&(rp(a,op,this.nP,!1,this),rp(a,"complete",this.nT,!1,this),rp(a,"error",this.oT,!1,this));Ko(this.I);Ko(this.g);Ko(this.D);Ko(this.Yc);this.j=this.Yc=this.D=this.g=this.I=null;dp.G.ca.call(this)};dp.prototype.text=dp.prototype.text;dp.prototype.url=dp.prototype.eB;dp.prototype.alt=dp.prototype.cB;dp.prototype.logoSrc=dp.prototype.dB;dp.prototype.enabled=dp.prototype.enabled;function sp(a,b){b?a.setAttribute("role",b):a.removeAttribute("role")}function tp(a,b,c){r(c)&&(c=c.join(" "));var d="aria-"+b;""===c||void 0==c?(Zf||(Zf={atomic:!1,autocomplete:"none",dropeffect:"none",haspopup:!1,live:"off",multiline:!1,multiselectable:!1,orientation:"vertical",readonly:!1,relevant:"additions text",required:!1,sort:"none",busy:!1,disabled:!1,hidden:!1,invalid:"false"}),c=Zf,b in c?a.setAttribute(d,c[b]):a.removeAttribute(d)):a.setAttribute(d,c)} -function up(a,b){var c=a.getAttribute("aria-"+b);return null==c||void 0==c?"":String(c)}function vp(a,b){var c="";b&&(c=b.id);tp(a,"activedescendant",c)}function wp(a){return up(a,"label")}function xp(a,b){tp(a,"label",b)};function Dp(){for(var a=document.styleSheets,b=[],c=Ep(a),d=0;a=c[d];d++){var e=Fp(a);if(e&&e.length)for(var f=0,h=0,k=e.length,l;h=a.keyCode)a.keyCode=-1}catch(b){}};var Wp="closure_lm_"+(1E6*Math.random()|0),Xp={},Yp=0;function np(a,b,c,d,e){if(r(b)){for(var f=0;fc.keyCode||void 0!=c.returnValue)){a:{var f=!1;if(0==c.keyCode)try{c.keyCode=-1;break a}catch(l){f=!0}if(f||void 0==c.returnValue)c.returnValue=!0}c=[];for(f=d.b;f;f=f.parentNode)c.push(f);for(var f=a.type,h=c.length-1;!d.o&&0<=h;h--){d.b=c[h];var k=iq(c[h],f,!0,d),e=e&&k}for(h=0;!d.o&&h>>0);function Zp(a){if(A(a))return a;a[kq]||(a[kq]=function(b){return a.handleEvent(b)});return a[kq]};function lq(a){ag.call(this);this.g=a;this.b={}}E(lq,ag);var mq=[];g=lq.prototype;g.pa=function(a,b,c,d){r(b)||(b&&(mq[0]=b.toString()),b=mq);for(var e=0;e=a.keyCode)return!1;switch(a.keyCode){case 18:case 20:case 93:case 17:case 40:case 35:case 27:case 36:case 45:case 37:case 224:case 91:case 144:case 12:case 34:case 33:case 19:case 255:case 44:case 39:case 145:case 16:case 38:case 252:case 224:case 92:return!1;case 0:return!Qn;default:return 166>a.keyCode||183=a||96<=a&&106>=a||65<=a&&90>=a||(Rn||On)&&0==a)return!0;switch(a){case 32:case 43:case 63:case 64:case 107:case 109:case 110:case 111:case 186:case 59:case 189:case 187:case 61:case 188:case 190:case 191:case 192:case 222:case 219:case 220:case 221:return!0;default:return!1}}function xq(a){if(Qn)a=yq(a);else if(Sn&&Rn)a:switch(a){case 93:a=91;break a}return a} -function yq(a){switch(a){case 61:return 187;case 59:return 186;case 173:return 189;case 224:return 91;case 0:return 224;default:return a}};function zq(a,b){pq.call(this);a&&Aq(this,a,b)}E(zq,pq);g=zq.prototype;g.Ab=null;g.dD=null;g.HJ=null;g.eD=null;g.Zj=-1;g.wm=-1;g.Gz=!1; -var Bq={3:13,12:144,63232:38,63233:40,63234:37,63235:39,63236:112,63237:113,63238:114,63239:115,63240:116,63241:117,63242:118,63243:119,63244:120,63245:121,63246:122,63247:123,63248:44,63272:46,63273:36,63275:35,63276:33,63277:34,63289:144,63302:45},Cq={Up:38,Down:40,Left:37,Right:39,Enter:13,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,"U+007F":46,Home:36,End:35,PageUp:33,PageDown:34,Insert:45},Dq=Hn||On||Rn&&bo("525"),Eq=Sn&&Qn;g=zq.prototype; -g.Y4=function(a){(Rn||On)&&(17==this.Zj&&!a.ctrlKey||18==this.Zj&&!a.altKey||Sn&&91==this.Zj&&!a.metaKey)&&this.TD();-1==this.Zj&&(a.ctrlKey&&17!=a.keyCode?this.Zj=17:a.altKey&&18!=a.keyCode?this.Zj=18:a.metaKey&&91!=a.keyCode&&(this.Zj=91));Dq&&!vq(a.keyCode,this.Zj,a.shiftKey,a.ctrlKey,a.altKey)?this.handleEvent(a):(this.wm=xq(a.keyCode),Eq&&(this.Gz=a.altKey))};g.TD=function(){this.wm=this.Zj=-1};g.J5=function(a){this.TD();this.Gz=a.altKey}; -g.handleEvent=function(a){var b=a.yg,c,d,e=b.altKey;Hn&&"keypress"==a.type?(c=this.wm,d=13!=c&&27!=c?b.keyCode:0):(Rn||On)&&"keypress"==a.type?(c=this.wm,d=0<=b.charCode&&63232>b.charCode&&wq(c)?b.charCode:0):Gn&&!Rn?(c=this.wm,d=wq(c)?b.keyCode:0):(c=b.keyCode||this.wm,d=b.charCode||0,Eq&&(e=this.Gz),Sn&&63==d&&224==c&&(c=191));var f=c=xq(c),h=b.keyIdentifier;c?63232<=c&&c in Bq?f=Bq[c]:25==c&&a.shiftKey&&(f=9):h&&h in Cq&&(f=Cq[h]);a=f==this.Zj;this.Zj=f;b=new Fq(f,d,a,b);b.altKey=e;this.dispatchEvent(b)}; -g.qa=function(){return this.Ab};function Aq(a,b,c){a.eD&&Gq(a);a.Ab=b;a.dD=np(a.Ab,"keypress",a,c);a.HJ=np(a.Ab,"keydown",a.Y4,c,a);a.eD=np(a.Ab,"keyup",a.J5,c,a)}function Gq(a){a.dD&&(fq(a.dD),fq(a.HJ),fq(a.eD),a.dD=null,a.HJ=null,a.eD=null);a.Ab=null;a.Zj=-1;a.wm=-1}g.ca=function(){zq.G.ca.call(this);Gq(this)};function Fq(a,b,c,d){Sp.call(this,d);this.type="key";this.keyCode=a;this.D=b;this.repeat=c}E(Fq,Sp);function Hq(){pq.call(this);this.Vd=Iq;this.F=this.D=null}E(Hq,pq);var Iq=0;g=Hq.prototype;g.Co=function(){this.Vj("begin")};g.Bg=function(){this.Vj("end")};g.Pp=function(){this.Vj("finish")};g.zD=function(){this.Vj("play")};g.Vj=function(a){this.dispatchEvent(a)};function Jq(){Hq.call(this);this.Qc=[]}E(Jq,Hq);Jq.prototype.add=function(a){hj(this.Qc,a)||(this.Qc.push(a),np(a,"finish",this.g,!1,this))};Jq.prototype.remove=function(a){jj(this.Qc,a)&&rp(a,"finish",this.g,!1,this)};Jq.prototype.ca=function(){aj(this.Qc,function(a){a.gc()});this.Qc.length=0;Jq.G.ca.call(this)};function Kq(){Jq.call(this);this.b=0}E(Kq,Jq); -Kq.prototype.Rg=function(a){if(0==this.Qc.length)return!1;if(a||this.Vd==Iq)this.b=0,this.Co();else if(1==this.Vd)return!1;this.zD();-1==this.Vd&&this.Vj("resume");var b=-1==this.Vd&&!a;this.D=za();this.F=null;this.Vd=1;aj(this.Qc,function(c){b&&-1!=c.Vd||c.Rg(a)});return!0};Kq.prototype.stop=function(a){aj(this.Qc,function(b){b.Vd==Iq||b.stop(a)});this.Vd=Iq;this.F=za();this.Vj("stop");this.Bg()};Kq.prototype.g=function(){this.b++;this.b==this.Qc.length&&(this.F=za(),this.Vd=Iq,this.Pp(),this.Bg())}; -function Lq(){Jq.call(this);this.b=0}E(Lq,Jq);Lq.prototype.Rg=function(a){if(0==this.Qc.length)return!1;if(a||this.Vd==Iq)this.ba.clientWidth||a.scrollHeight>a.clientHeight||"fixed"==c||"absolute"==c||"relative"==c))return a;return null} -function Zq(a){for(var b=new bm(0,Infinity,Infinity,0),c=po(a),d=c.b.body,e=c.b.documentElement,f=zo(c.b);a=Yq(a);)if(!(Hn&&0==a.clientWidth||Rn&&0==a.clientHeight&&a==d)&&a!=d&&a!=e&&"visible"!=Tq(a,"overflow")){var h=$q(a),k=new Yl(a.clientLeft,a.clientTop);h.x+=k.x;h.y+=k.y;b.top=Math.max(b.top,h.y);b.right=Math.min(b.right,h.x+a.clientWidth);b.bottom=Math.min(b.bottom,h.y+a.clientHeight);b.left=Math.max(b.left,h.x)}d=f.scrollLeft;f=f.scrollTop;b.left=Math.max(b.left,d);b.top=Math.max(b.top,f); -c=yo(bp(c));b.right=Math.min(b.right,d+c.width);b.bottom=Math.min(b.bottom,f+c.height);return 0<=b.top&&0<=b.left&&b.bottom>b.top&&b.right>b.left?b:null} -function ar(a,b){var c=b||zo(document),d;d=c||zo(document);var e=$q(a),f=$q(d),h=br(d);if(d==zo(document)){var k=e.x-d.scrollLeft,e=e.y-d.scrollTop;!Hn||10<=eo||(k+=h.left,e+=h.top)}else k=e.x-f.x-h.left,e=e.y-f.y-h.top;var h=d.clientHeight-a.offsetHeight,f=d.scrollLeft,l=d.scrollTop,f=f+Math.min(k,Math.max(k-(d.clientWidth-a.offsetWidth),0)),l=l+Math.min(e,Math.max(e-h,0));d=new Yl(f,l);c.scrollLeft=d.x;c.scrollTop=d.y} -function $q(a){var b=ro(a),c=new Yl(0,0),d=Wq(b);if(a==d)return c;a=Xq(a);b=cp(po(b));c.x=a.left+b.x;c.y=a.top+b.y;return c}function cr(a){a=Xq(a);return new Yl(a.left,a.top)}function dr(a){if(1==a.nodeType)return cr(a);a=a.changedTouches?a.changedTouches[0]:a;return new Yl(a.clientX,a.clientY)}function er(a,b,c){if(b instanceof Uh)c=b.height,b=b.width;else if(void 0==c)throw Error("missing height argument");a.style.width=Vq(b,!0);a.style.height=Vq(c,!0)} -function Vq(a,b){"number"==typeof a&&(a=(b?Math.round(a):a)+"px");return a}function fr(a){var b=gr;if("none"!=Tq(a,"display"))return b(a);var c=a.style,d=c.display,e=c.visibility,f=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";a=b(a);c.display=d;c.position=f;c.visibility=e;return a}function gr(a){var b=a.offsetWidth,c=a.offsetHeight,d=Rn&&!b&&!c;return n(b)&&!d||!a.getBoundingClientRect?new Uh(b,c):(a=Xq(a),new Uh(a.right-a.left,a.bottom-a.top))} -function hr(a){var b=$q(a);a=fr(a);return new Q(b.x,b.y,a.width,a.height)}function ir(a,b){var c=a.style;"opacity"in c?c.opacity=b:"MozOpacity"in c?c.MozOpacity=b:"filter"in c&&(c.filter=""===b?"":"alpha(opacity="+100*b+")")}function jr(a,b){a.style.display=b?"":"none"}function kr(a){return"rtl"==Tq(a,"direction")}var pr=Qn?"MozUserSelect":Rn||On?"WebkitUserSelect":null; -function qr(a,b,c){c=c?null:a.getElementsByTagName("*");if(pr){if(b=b?"none":"",a.style&&(a.style[pr]=b),c){a=0;for(var d;d=c[a];a++)d.style&&(d.style[pr]=b)}}else if(Hn||Gn)if(b=b?"on":"",a.setAttribute("unselectable",b),c)for(a=0;d=c[a];a++)d.setAttribute("unselectable",b)} -function rr(a){var b=ro(a),c=Hn&&a.currentStyle;if(c&&ap(po(b))&&"auto"!=c.width&&"auto"!=c.height&&!c.boxSizing)return b=sr(a,c.width,"width","pixelWidth"),a=sr(a,c.height,"height","pixelHeight"),new Uh(b,a);c=new Uh(a.offsetWidth,a.offsetHeight);b=tr(a);a=br(a);return new Uh(c.width-a.left-b.left-b.right-a.right,c.height-a.top-b.top-b.bottom-a.bottom)} -function sr(a,b,c,d){if(/^\d+px?$/.test(b))return parseInt(b,10);var e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;b=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return b}function ur(a,b){var c=a.currentStyle?a.currentStyle[b]:null;return c?sr(a,c,"left","pixelLeft"):0} -function tr(a){if(Hn){var b=ur(a,"paddingLeft"),c=ur(a,"paddingRight"),d=ur(a,"paddingTop");a=ur(a,"paddingBottom");return new bm(d,c,a,b)}b=Sq(a,"paddingLeft");c=Sq(a,"paddingRight");d=Sq(a,"paddingTop");a=Sq(a,"paddingBottom");return new bm(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}var vr={thin:2,medium:4,thick:6}; -function wr(a,b){if("none"==(a.currentStyle?a.currentStyle[b+"Style"]:null))return 0;var c=a.currentStyle?a.currentStyle[b+"Width"]:null;return c in vr?vr[c]:sr(a,c,"left","pixelLeft")} -function br(a){if(Hn&&!(9<=eo)){var b=wr(a,"borderLeft"),c=wr(a,"borderRight"),d=wr(a,"borderTop");a=wr(a,"borderBottom");return new bm(d,c,a,b)}b=Sq(a,"borderLeftWidth");c=Sq(a,"borderRightWidth");d=Sq(a,"borderTopWidth");a=Sq(a,"borderBottomWidth");return new bm(parseFloat(d),parseFloat(c),parseFloat(a),parseFloat(b))}var xr=/[^\d]+$/,yr={cm:1,"in":1,mm:1,pc:1,pt:1},zr={em:1,ex:1};function Ar(a,b){pq.call(this);this.Ab=a;var c=zl(this.Ab)?this.Ab:this.Ab?this.Ab.body:null;this.D=!!c&&kr(c);this.g=np(this.Ab,Qn?"DOMMouseScroll":"mousewheel",this,b)}E(Ar,pq); -Ar.prototype.handleEvent=function(a){var b=0,c=0,d=0;a=a.yg;if("mousewheel"==a.type){c=1;if(Hn||Rn&&(Tn||bo("532.0")))c=40;d=Br(-a.wheelDelta,c);n(a.wheelDeltaX)?(b=Br(-a.wheelDeltaX,c),c=Br(-a.wheelDeltaY,c)):c=d}else d=a.detail,100d&&(d=-3),n(a.axis)&&a.axis===a.HORIZONTAL_AXIS?b=d:c=d;na(this.j)&&(b=Ac(b,-this.j,this.j));na(this.o)&&(c=Ac(c,-this.o,this.o));this.D&&(b=-b);b=new Cr(d,a,b,c);this.dispatchEvent(b)};function Br(a,b){return Rn&&(Sn||Un)&&0!=a%b?a:a/b} -Ar.prototype.ca=function(){Ar.G.ca.call(this);fq(this.g);this.g=null};function Cr(a,b,c,d){Sp.call(this,b);this.type="mousewheel";this.detail=a;this.ua=c;this.deltaY=d}E(Cr,Sp);function Dr(a,b,c){pq.call(this);this.target=a;this.ua=b||a;this.o=c||new Q(NaN,NaN,NaN,NaN);this.J=ro(a);this.F=new lq(this);O(this,this.F);this.deltaY=this.g=this.ea=this.X=this.clientY=this.clientX=0;this.O=!0;this.D=!1;this.$=0;np(this.ua,["touchstart","mousedown"],this.Ej,!1,this)}E(Dr,pq);var Er=ca.document&&ca.document.documentElement&&!!ca.document.documentElement.setCapture;g=Dr.prototype;g.eE=function(a){this.o=a||new Q(NaN,NaN,NaN,NaN)};function Fr(a){a.$=Math.pow(3,2)} -g.oe=function(a){this.O=a};g.ca=function(){Dr.G.ca.call(this);rp(this.ua,["touchstart","mousedown"],this.Ej,!1,this);oq(this.F);Er&&this.J.releaseCapture();this.ua=this.target=null}; -g.Ej=function(a){var b="mousedown"==a.type;if(!this.O||this.D||b&&!a.j())this.dispatchEvent("earlycancel");else{if(0==this.$)if(this.dispatchEvent(new Gr("start",this,a.clientX,a.clientY)))this.D=!0,a.preventDefault();else return;else a.preventDefault();var b=this.J,c=b.documentElement,d=!Er;this.F.pa(b,["touchmove","mousemove"],this.Z4,d);this.F.pa(b,["touchend","mouseup"],this.EC,d);Er?(c.setCapture(!1),this.F.pa(c,"losecapture",this.EC)):this.F.pa(Ao(b),"blur",this.EC);this.Ka&&this.F.pa(this.Ka, -"scroll",this.c5,d);this.clientX=this.X=a.clientX;this.clientY=this.ea=a.clientY;this.Wn();this.W=cp(po(this.J))}};g.EC=function(a){oq(this.F);Er&&this.J.releaseCapture();if(this.D){this.D=!1;var b=this.Cx(this.g),c=this.Tr(this.deltaY);this.dispatchEvent(new Gr("end",this,a.clientX,a.clientY,0,b,c))}else this.dispatchEvent("earlycancel")}; -g.Z4=function(a){if(this.O){var b=1*(a.clientX-this.clientX),c=a.clientY-this.clientY;this.clientX=a.clientX;this.clientY=a.clientY;if(!this.D){var d=this.X-this.clientX,e=this.ea-this.clientY;if(d*d+e*e>this.$)if(this.dispatchEvent(new Gr("start",this,a.clientX,a.clientY)))this.D=!0;else{this.Md||this.EC(a);return}}c=Hr(this,b,c);b=c.x;c=c.y;this.D&&this.dispatchEvent(new Gr("beforedrag",this,a.clientX,a.clientY,0,b,c))&&(Ir(this,a,b,c),a.preventDefault())}}; -function Hr(a,b,c){var d=cp(po(a.J));b+=d.x-a.W.x;c+=d.y-a.W.y;a.W=d;a.g+=b;a.deltaY+=c;b=a.Cx(a.g);a=a.Tr(a.deltaY);return new Yl(b,a)}g.c5=function(a){var b=Hr(this,0,0);a.clientX=this.clientX;a.clientY=this.clientY;Ir(this,a,b.x,b.y)};function Ir(a,b,c,d){a.yp(c,d);a.dispatchEvent(new Gr("drag",a,b.clientX,b.clientY,0,c,d))}g.Cx=function(a){var b=this.o,c=isNaN(b.left)?null:b.left,b=isNaN(b.width)?0:b.width;return Math.min(null!=c?c+b:Infinity,Math.max(null!=c?c:-Infinity,a))}; -g.Tr=function(a){var b=this.o,c=isNaN(b.top)?null:b.top,b=isNaN(b.height)?0:b.height;return Math.min(null!=c?c+b:Infinity,Math.max(null!=c?c:-Infinity,a))};g.Wn=function(){this.g=this.target.offsetLeft;this.deltaY=this.target.offsetTop};g.yp=function(a,b){this.target.style.left=a+"px";this.target.style.top=b+"px"};function Gr(a,b,c,d,e,f,h){xh.call(this,a);this.clientX=c;this.clientY=d;this.left=n(f)?f:b.g;this.top=n(h)?h:b.deltaY;this.g=b}E(Gr,xh);function Jr(a,b,c,d,e,f,h,k,l){var m=Kr(c),p=hr(a),q=Zq(a);if(q){var t=new Q(q.left,q.top,q.right-q.left,q.bottom-q.top),q=Math.max(p.left,t.left),u=Math.min(p.left+p.width,t.left+t.width);if(q<=u){var w=Math.max(p.top,t.top),t=Math.min(p.top+p.height,t.top+t.height);w<=t&&(p.left=q,p.top=w,p.width=u-q,p.height=t-w)}}q=po(a);w=po(c);if(q.b!=w.b){u=q.b.body;var w=bp(w),t=new Yl(0,0),x=Ao(ro(u));if(ti(x,"parent")){var y=u;do{var B=x==w?$q(y):cr(y);t.x+=B.x;t.y+=B.y}while(x&&x!=w&&x!=x.parent&&(y=x.frameElement)&& -(x=x.parent))}u=am(t,$q(u));!Hn||9<=eo||ap(q)||(u=am(u,cp(q)));p.left+=u.x;p.top+=u.y}a=Lr(a,b);p=new Yl(a&2?p.left+p.width:p.left,a&1?p.top+p.height:p.top);p=am(p,m);e&&(p.x+=(a&2?-1:1)*e.x,p.y+=(a&1?-1:1)*e.y);var D;if(h)if(l)D=l;else if(D=Zq(c))D.top-=m.y,D.right-=m.x,D.bottom-=m.y,D.left-=m.x;return Mr(p,c,d,f,D,h,k)} -function Kr(a){var b;if(a=a.offsetParent){var c="HTML"==a.tagName||"BODY"==a.tagName;c&&"static"==Tq(a,"position")||(b=$q(a),c||(c=(c=kr(a))&&Qn?-a.scrollLeft:!c||Pn&&bo("8")||"visible"==Tq(a,"overflowX")?a.scrollLeft:a.scrollWidth-a.clientWidth-a.scrollLeft,b=am(b,new Yl(c,a.scrollTop))))}return b||new Yl} -function Mr(a,b,c,d,e,f,h){a=a.clone();var k=Lr(b,c);c=fr(b);h=h?h.clone():c.clone();a=a.clone();h=h.clone();var l=0;if(d||0!=k)k&2?a.x-=h.width+(d?d.right:0):d&&(a.x+=d.left),k&1?a.y-=h.height+(d?d.bottom:0):d&&(a.y+=d.top);if(f){if(e){d=a;k=h;l=0;65==(f&65)&&(d.x=e.right)&&(f&=-2);132==(f&132)&&(d.y=e.bottom)&&(f&=-5);d.xe.right&&(k.width=Math.min(e.right-d.x,m+k.width-e.left),k.width= -Math.max(k.width,0),l|=4)}d.x+k.width>e.right&&f&1&&(d.x=Math.max(e.right-k.width,e.left),l|=1);f&2&&(l=l|(d.xe.right?32:0));d.ye.bottom&&(k.height=Math.min(e.bottom-d.y,m+k.height-e.top),k.height=Math.max(k.height,0),l|=8));d.y+k.height>e.bottom&&f&4&&(d.y=Math.max(e.bottom-k.height,e.top),l|=2);f&8&&(l=l|(d.ye.bottom?128:0));e=l}else e=256;l=e}f=new Q(0,0,0,0); -f.left=a.x;f.top=a.y;f.width=h.width;f.height=h.height;e=l;if(e&496)return e;Uq(b,new Yl(f.left,f.top));h=new Uh(f.width,f.height);Vh(c,h)||(c=h,a=ap(po(ro(b))),!Hn||bo("10")||a&&bo("8")?(b=b.style,Qn?b.MozBoxSizing="border-box":Rn?b.WebkitBoxSizing="border-box":b.boxSizing="border-box",b.width=Math.max(c.width,0)+"px",b.height=Math.max(c.height,0)+"px"):(h=b.style,a?(a=tr(b),b=br(b),h.pixelWidth=c.width-b.left-a.left-a.right-b.right,h.pixelHeight=c.height-b.top-a.top-a.bottom-b.bottom):(h.pixelWidth= -c.width,h.pixelHeight=c.height)));return e}function Lr(a,b){return(b&4&&kr(a)?b^2:b)&-5};function Nr(a,b,c){this.element=a;this.j=b;this.I=c}E(Nr,ri);Nr.prototype.b=function(a,b,c){Jr(this.element,this.j,a,b,void 0,c,this.I)};function Or(a,b,c,d){Nr.call(this,a,b);this.o=c?5:0;this.D=d||void 0}E(Or,Nr);Or.prototype.F=function(){return this.o};Or.prototype.g=function(a){this.o=a};Or.prototype.b=function(a,b,c,d){var e=Jr(this.element,this.j,a,b,null,c,10,d,this.D);if(e&496){var f=Pr(e,this.j);b=Pr(e,b);e=Jr(this.element,f,a,b,null,c,10,d,this.D);e&496&&(f=Pr(e,f),b=Pr(e,b),Jr(this.element,f,a,b,null,c,this.o,d,this.D))}};function Pr(a,b){a&48&&(b^=2);a&192&&(b^=1);return b};function Qr(a,b){this.j=a instanceof Yl?a:new Yl(a,b)}E(Qr,ri);Qr.prototype.b=function(a,b,c,d){var e;e=ro(a);var f=e.body;e=e.documentElement;e=new Yl(f.scrollLeft||e.scrollLeft,f.scrollTop||e.scrollTop);f=this.j.x+e.x;e=this.j.y+e.y;var h=Kr(a),f=f-h.x;e-=h.y;Mr(new Yl(f,e),a,b,c,null,null,d)};function Rr(a,b,c,d){Or.call(this,a,b,c||d);(c||d)&&this.g(65|(d?32:132))}E(Rr,Or);function Sr(a,b){Qr.call(this,a,b)}E(Sr,Qr);Sr.prototype.o=0;Sr.prototype.g=function(a){this.o=a};Sr.prototype.b=function(a,b,c,d){var e=Wq(a),e=Zq(e),f;f=po(a);f=zo(f.b);f=new Yl(this.j.x+f.scrollLeft,this.j.y+f.scrollTop);var h=b,k=Mr(f,a,h,c,e,10,d);if(0!=(k&496)){if(k&16||k&32)h^=2;if(k&64||k&128)h^=1;k=Mr(f,a,h,c,e,10,d);0!=(k&496)&&Mr(f,a,b,c,e,this.o,d)}};function Tr(a,b){pq.call(this);this.g=a||1;this.b=b||ca;this.j=va(this.q9,this);this.o=za()}E(Tr,pq);g=Tr.prototype;g.enabled=!1;g.pn=null;g.q9=function(){if(this.enabled){var a=za()-this.o;0b?-1E-5:0);this.j.push(b);var b=a.K("x"),c=a.K("value"),d;if(d=a.K("label"))d=d.ic().value,this.g.push(b,c),this.j.push(d.x,d.y);if(d=a.K("marker"))d=d.ic().value,this.g.push(b,c),this.j.push(d.x,d.y)}}; -js.prototype.kh=function(){for(var a=this.na.Sl(),b=0;a.advance();)if(!a.K("missing")){a.K("size",this.b[b++]);this.na.g.Wq(a);var c=a.K("label");c&&(c.ic({value:{x:this.b[b++],y:this.b[b++]}}),c.aa());if(c=a.K("marker"))c.ic({value:{x:this.b[b++],y:this.b[b++]}}),c.aa()}};js.prototype.Bg=function(){this.kh()};function ks(a,b,c){is.call(this,a,[0,0],[0,0],b,c)}E(ks,is);ks.prototype.update=function(){this.o=ls(this.na);this.g[0]=this.o.left;this.na.Fa().Fd()&&(this.g[0]+=this.o.width);this.g[1]=0;this.j[0]=this.o.left;this.j[1]=this.o.width};ks.prototype.kh=function(){this.o.left=this.b[0];this.o.width=this.b[1];ms(this.na,this.o)};ks.prototype.Bg=function(){this.o.left=this.j[0];this.o.width=this.j[1];ms(this.na,this.o)};function ns(a,b,c){is.call(this,a,[],[],b,c);this.o=!1}E(ns,is);ns.prototype.update=function(){this.g.length=this.j.length=0;for(var a=this.na.Sl();a.advance();)if(!a.K("missing")){var b=a.K("x"),c=a.K("value"),d=a.K("zero");this.g.push(d);this.j.push(c);if(c=a.K("label"))c=c.ic().value,this.o?this.g.push(d,b):this.g.push(b,d),this.j.push(c.x,c.y);if(c=a.K("marker"))c=c.ic().value,this.o?this.g.push(d,b):this.g.push(b,d),this.j.push(c.x,c.y)}}; -ns.prototype.kh=function(){for(var a=this.na.Sl(),b=0;a.advance();)if(!a.K("missing")){a.K("value",this.b[b++]);this.na.g.Wq(a);var c=a.K("label");c&&(c.ic({value:{x:this.b[b++],y:this.b[b++]}}),c.aa());if(c=a.K("marker"))c.ic({value:{x:this.b[b++],y:this.b[b++]}}),c.aa()}};ns.prototype.Bg=function(){this.kh()};function os(a,b,c){ns.call(this,a,b,c);this.o=!0}E(os,ns);var ps={};ps.bar=os;ps.bubble=js;ps.area=ks;ps.line=ks;ps.rangeArea=ks;ps.rangeSplineArea=ks;ps.rangeStepArea=ks;ps.spline=ks;ps.splineArea=ks;ps.stepArea=ks;ps.stepLine=ks;ps.column=ns;function qs(a,b,c,d,e,f){this.map=a;this.O=!!e;fs.call(this,b,c,d,f)}E(qs,fs);qs.prototype.Co=function(){this.O||Ga(this.map.vm,1);qs.G.Co.call(this)};qs.prototype.Bg=function(){this.O||Ga(this.map.vm,0);qs.G.Bg.call(this)};qs.prototype.ca=function(){qs.G.ca.call(this);this.map=null};function rs(a,b,c,d,e,f,h){qs.call(this,a,[],[],e,f,h);this.J=b;this.Sy=c;this.Ne=d;this.o=h}E(rs,qs);rs.prototype.ua=function(a,b){var c,d;c=(a[b]-this.Ne.Of)/this.Ne.scale;d=(a[b+1]-this.Ne.ag)/this.Ne.scale;this.Sy&&(d=this.Sy.ig(c,d),c=d[0],d=d[1]);c=this.Ne.gj.forward(c,d);a[b]=c[0]*this.Ne.scale+this.Ne.Of;a[b+1]=c[1]*this.Ne.scale+this.Ne.ag;this.II.nC(a[b],a[b+1])}; -function ss(a,b){A(a.o)&&(b=a.o(b));var c=va(a.ua,{t:b,Ne:a.Ne,Sy:a.Sy,II:a.map.scale()});a.Ne.gj.ratio(b);L(a.map.scale());a.map.scale().Yf(!1);ts(a.map,a.J,c,!1,!0);a.map.scale().Uf();a.map.scale().ja(!0)}rs.prototype.stop=function(a){cs(this);this.Vd=Iq;a&&(this.Cf=1);ss(this,this.Cf);this.Vj("stop");this.Bg()};rs.prototype.Xw=function(a){this.Vd!=Iq&&(this.Cf=(a-this.D)/(this.F-this.D),1<=this.Cf&&(this.Cf=1),ss(this,this.Cf),1==this.Cf?(this.Vd=Iq,cs(this),this.Pp(),this.Bg()):1==this.Vd&&this.kh())}; -rs.prototype.ca=function(){rs.G.ca.call(this);this.Ne=this.Sy=this.J=null};function us(a,b,c,d,e,f){qs.call(this,a,b,c,d,e,f)}E(us,qs);function vs(a,b,c){var d=a.map.tf.zc;a.map.tf.Vb(d.ld,0,0,d.ce,b,c);a.map.scale().zoom=d.ld;ws(a.map.scale(),d.gd,d.hd);xs(a.map)}us.prototype.kh=function(){vs(this,this.b[0],this.b[1]);us.G.kh.call(this)};us.prototype.Pp=function(){vs(this,this.b[0],this.b[1]);us.G.Pp.call(this)};us.prototype.Bg=function(){us.G.Bg.call(this);this.map=this.map.ff=null;this.gc()};function ys(a,b,c,d,e,f){qs.call(this,a,b,c,d,e,f)}E(ys,qs);function zs(a,b){var c=a.map.tf,d=As(a.map.scale()),e=d.rh(),f=d.jb(),d=a.map.ke,h=a.map.ae,k=a.map.yk/a.map.Ts;a.map.Tk||(df.Wa()&&(d=f.Wa()),hf.Ra()&&(h=f.Ra()),1>k&&!f.contains(e)&&(h=Bs(a.map,f),d=h[1],h=h[2]));e=b/a.map.od();c.scale(e,e,d,h);a.map.Or=b;c=c.zc;a.map.scale().zoom=c.ld;ws(a.map.scale(),c.gd,c.hd);a.map.hb?xs(a.map):a.map.ga.scale(e,e,d,h)} -ys.prototype.kh=function(){zs(this,this.b[0]);ys.G.kh.call(this)};ys.prototype.Pp=function(){var a=this.b[0],b=this.map.tf.zc;!this.map.Tk&&a<=Cs&&!kl(b)||this.map.yk==Cs?(this.map.tf.Vb(Cs,0,0,Cs,0,0),this.map.Or=Cs,this.map.scale().zoom=Cs,ws(this.map.scale(),0,0),this.map.hb?xs(this.map):this.map.ga.Vb(Cs,0,0,Cs,0,0)):zs(this,a);this.map.tm=this.map.Tk;this.map.Tk=!1;this.map.Kj=NaN;ys.G.Pp.call(this)};ys.prototype.Bg=function(){ys.G.Bg.call(this);this.map=this.map.ff=null;this.gc()};function Ds(a,b,c){is.call(this,null,[],[],b,c);this.Ca=a}E(Ds,is);g=Ds.prototype;g.update=function(){this.g.length=this.j.length=0;for(var a=this.Ca.hb.ba();a.advance();)if(!a.K("missing")){var b=a.K("start"),c=a.K("sweep"),d=this.Ca.b,e=this.Ca.ZR();this.g.push(this.Ca.bh(),0,0,0);this.j.push(b,c,d,e)}};g.Co=function(){Es(this.Ca,1E-5,1E-5,Fs(this.Ca))}; -g.kh=function(){for(var a=this.Ca.hb.ba(),b=0;a.advance();)if(!a.K("missing")){a.K("start",this.b[b++]);a.K("sweep",this.b[b++]);a.K("radius",this.b[b++]);a.K("innerRadius",this.b[b++]);var c=this.Ca,d=a,e=d.K("slice");e.clear();var f=d.K("start"),h=d.K("sweep"),k=d.K("radius"),l=d.K("innerRadius");if(d.K("exploded")&&1!=d.Jb())var m=f+h/2,e=Gs(e,c.vb+c.W*Math.cos(Ua(m)),c.sb+c.W*Math.sin(Ua(m)),k,l,f,h);else e=Gs(e,c.vb,c.sb,k,l,f,h);if(f=d.K("hatchSlice"))c.ba().select(d.ra()),f.clear(),f.kd(e.N()), -f.stroke(null).fill(c.td(!0,hc(c.state,d.ra())))}};g.Bg=function(){this.kh()};g.ca=function(){this.Ca=null;Ds.G.ca.call(this)};function Hs(a,b,c){is.call(this,null,[],[],b,c);this.Ca=a;this.o=Fs(this.Ca);this.ef=this.Ca.ef()}E(Hs,is);Hs.prototype.update=function(){this.g.length=this.j.length=0;this.g.push(1E-5,1E-5);this.j.push(1,this.ef.opacity||1)};Hs.prototype.kh=function(){Es(this.Ca,this.b[0],this.b[1],this.o)};Hs.prototype.Bg=function(){this.kh()};Hs.prototype.ca=function(){this.ef=this.Ca=null;delete this.o;Hs.G.ca.call(this)};function Is(a,b,c){is.call(this,null,[],[],b,c);this.Ca=a}E(Is,is);g=Is.prototype;g.update=function(){this.g.length=this.j.length=0;for(var a=this.Ca.hb.ba();a.advance();)if(!a.K("missing")){var b=a.K("x1"),c=a.K("x2"),d=a.K("x3"),e=a.K("x4"),f=a.K("y1"),h=a.K("y2"),k=a.K("y3");a.K("neck",!!k);this.g.push(b,c,d,e,0,0,0);this.j.push(b,c,d,e,f,h,k?k:0)}};g.Co=function(){Js(this.Ca,1E-5,1E-5,!Ks(this.Ca))}; -g.kh=function(){for(var a=this.Ca.hb.ba(),b=0;a.advance();)if(!a.K("missing")){a.K("x1",this.b[b++]);a.K("x2",this.b[b++]);a.K("x3",this.b[b++]);a.K("x4",this.b[b++]);a.K("y1",this.b[b++]);a.K("y2",this.b[b++]);a.K("y3",this.b[b++]);var c=this.Ca,d=a,e=d.K("point");e.clear();var f=d.K("x1"),h=d.K("x2"),k=d.K("x3"),l=d.K("x4"),m=d.K("y1"),p=d.K("y2"),q=d.K("y3");e.moveTo(f,m).lineTo(h,m);d.K("neck")?e.lineTo(l,p).lineTo(l,q).lineTo(k,q).lineTo(k,p):e.lineTo(l,p).lineTo(k,p);e.close();if(f=d.K("hatchPoint"))c.ba().select(d.ra()), -f.clear(),f.kd(e.N()),f.stroke(null).fill(c.td(!0,hc(c.state,d.ra())))}};g.Bg=function(){this.kh()};g.ca=function(){this.Ca=null;Is.G.ca.call(this)};function Ls(a,b,c){is.call(this,null,[],[],b,c);this.Ca=a;this.o=!Ks(this.Ca);this.ef=this.Ca.ef()}E(Ls,is);Ls.prototype.update=function(){this.g.length=this.j.length=0;this.g.push(1E-5,1E-5);this.j.push(1,this.ef.opacity||1)};Ls.prototype.kh=function(){Js(this.Ca,this.b[0],this.b[1],this.o)};Ls.prototype.Bg=function(){this.kh()};Ls.prototype.ca=function(){this.ef=this.Ca=null;delete this.o;Ls.G.ca.call(this)};function Ms(a,b,c,d,e){fs.call(this,b,c,d,e);this.element=a}E(Ms,fs);Ms.prototype.o=ea;Ms.prototype.kh=function(){this.o();Ms.G.kh.call(this)};Ms.prototype.Bg=function(){this.o();Ms.G.Bg.call(this)};Ms.prototype.Co=function(){this.o();Ms.G.Co.call(this)};function Ns(a,b,c,d,e){if(2!=b.length||2!=c.length)throw Error("Start and end points must be 2D");Ms.apply(this,arguments)}E(Ns,Ms); -Ns.prototype.o=function(){this.element.style.left=Math.round(this.b[0])+"px";this.element.style.top=Math.round(this.b[1])+"px"};function Os(){pq.call(this);this.uf="closure_frame"+Ps++;this.g=[];Qs[this.uf]=this}var Rs;E(Os,pq);var Qs={},Ps=0; -function Ss(a,b){var c=new Os;np(c,"ready",c.gc,!1,c);if(c.ko)throw Error("[goog.net.IframeIo] Unable to send, already active.");var d=new nn(a);c.kS=d;if(!Rs){Rs=Bo("FORM");Rs.acceptCharset="utf-8";var e=Rs.style;e.position="absolute";e.visibility="hidden";e.top=e.left="-10px";e.width=e.height="10px";e.overflow="hidden";document.body.appendChild(Rs)}c.Og=Rs;b&&Ts(c.Og,b);c.Og.action=d.toString();c.Og.method="POST";c.ko=!0;c.bs=c.uf+"_"+(c.c7++).toString(36);d={name:c.bs,id:c.bs};Hn&&7>$n&&(d.src= -'javascript:""');c.Uh=po(c.Og).Da("IFRAME",d);d=c.Uh.style;d.visibility="hidden";d.width=d.height="10px";d.display="none";Rn?d.marginTop=d.marginLeft="-10px":(d.position="absolute",d.top=d.left="-10px");if(Hn&&!bo("11")){c.Og.target=c.bs||"";$o(po(c.Og)).body.appendChild(c.Uh);np(c.Uh,"readystatechange",c.fK,!1,c);try{c.b=!1,c.Og.submit()}catch(xb){rp(c.Uh,"readystatechange",c.fK,!1,c),Us(c)}}else{$o(po(c.Og)).body.appendChild(c.Uh);var d=c.bs+"_inner",e=Oo(c.Uh),f;document.baseURI?(f=Ci(d),zm("Short HTML snippet, input escaped, safe URL, for performance"), -f='',f=Rm(f,null)):(f=Ci(d),zm("Short HTML snippet, input escaped, for performance"),f=Rm('',null));Gn&&!Rn?e.documentElement.innerHTML=Pm(f):e.write(Pm(f));np(e.getElementById(d),op,c.wD,!1,c);var h=c.Og.getElementsByTagName("TEXTAREA");f=0;for(var k=h.length;f.");if("A"in Vm)throw Error("Tag name is not allowed for SafeHtml.");B=null;D="";else{var Jc=Wm(pa);D+=">"+Pm(Jc)+"";B=Jc.lu()}var od=y&&y.dir;od&&(/^(ltr|rtl|auto)$/i.test(od)?B=0:B=null);oa=Rm(D,B);w=Wm(aa,oa,Sm("\nLine: "+x.lineNumber+"\n\nBrowser stack:\n"+x.stack+"-> [end]\n\nJS stack traversal:\n"+ho(void 0)+"-> "))}catch(me){w=Sm("Exception trying to expose exception! You win, we lose. "+ -me)}Pm(w);rp(e.getElementById(d),op,c.wD,!1,c);e.close();Us(c)}}Vs(c)}function Ts(a,b){var c=po(a);dn(b,function(b,e){r(b)||(b=[b]);aj(b,function(b){b=c.Da("INPUT",{type:"hidden",name:e,value:b});a.appendChild(b)})})}g=Os.prototype;g.Og=null;g.Uh=null;g.bs=null;g.c7=0;g.ko=!1;g.kS=null;g.QS=null;g.as=null; -g.ca=function(){if(this.ko&&this.ko){var a=Ws(this);gq(a);this.ko=!1;this.dispatchEvent("abort");Xs(this)}Os.G.ca.call(this);this.Uh&&Ys(this);Vs(this);this.Og=null;delete this.j;this.kS=this.QS=this.Og=null;delete Qs[this.uf]};g.ak=function(){return this.ko};g.fK=function(){if("complete"==this.Uh.readyState){rp(this.Uh,"readystatechange",this.fK,!1,this);var a;try{if(a=Oo(this.Uh),Hn&&"about:blank"==a.location&&!navigator.onLine){Us(this);return}}catch(b){Us(this);return}Zs(this,a)}}; -g.wD=function(){if(!Gn||Rn||"about:blank"!=(this.Uh?Oo(Ws(this)):null).location){rp(Ws(this),op,this.wD,!1,this);try{Zs(this,this.Uh?Oo(Ws(this)):null)}catch(a){Us(this)}}};function Zs(a,b){a.ko=!1;var c;try{var d=b.body;a.QS=d.textContent||d.innerText}catch(e){c=1}c||"function"!=typeof a.j||(d=a.j(b))&&(c=4);c?Us(a):(a.dispatchEvent("complete"),a.dispatchEvent("success"),Xs(a))}function Us(a){a.b||(a.ko=!1,a.dispatchEvent("complete"),a.dispatchEvent("error"),Xs(a),a.b=!0)} -function Xs(a){Ys(a);Vs(a);a.Og=null;a.dispatchEvent("ready")}function Ys(a){var b=a.Uh;b&&(b.onreadystatechange=null,b.onload=null,b.onerror=null,a.g.push(b));a.as&&(Vr(a.as),a.as=null);Qn||Gn&&!Rn?a.as=Ur(a.lR,2E3,a):a.lR();a.Uh=null;a.bs=null}g.lR=function(){this.as&&(Vr(this.as),this.as=null);for(;0!=this.g.length;){var a=this.g.pop();Ko(a)}};function Vs(a){a.Og&&a.Og==Rs&&Ho(a.Og)}function Ws(a){return a.Uh?Hn&&!bo("11")?a.Uh:Oo(a.Uh).getElementById(a.bs+"_inner"):null} -g.NU=function(){if(this.ko){var a=this.Uh?Oo(Ws(this)):null;a&&!ti(a,"documentUri")?(rp(Ws(this),op,this.wD,!1,this),Us(this)):Ur(this.NU,250,this)}};function $s(a){pq.call(this);this.ea=new Ym;this.O=a||null;this.g=!1;this.J=this.b=null;this.o=this.fa=this.$="";this.j=this.W=this.D=this.ua=!1;this.I=0;this.F=null;this.X=at;this.Y=this.ga=!1}E($s,pq);var at="",bt=/^https?$/i,ct=["POST","PUT"],dt=[];function et(a,b,c){var d=new $s;dt.push(d);b&&d.pa("complete",b);d.Zd("ready",d.j3);ft(d,a,c)}g=$s.prototype;g.j3=function(){this.gc();jj(dt,this)}; -function ft(a,b,c){if(a.b)throw Error("[goog.net.XhrIo] Object is active with another request="+a.$+"; newUri="+b);a.$=b;a.o="";a.fa="POST";a.ua=!1;a.g=!0;a.b=a.O?hm(a.O):hm(fm);a.J=a.O?Xh(a.O):Xh(fm);a.b.onreadystatechange=va(a.sT,a);try{a.W=!0,a.b.open("POST",String(b),!0),a.W=!1}catch(f){gt(a,f);return}b=c||"";c=a.ea.clone();var d=gj(c.ln(),ht),e=ca.FormData&&b instanceof ca.FormData;!hj(ct,"POST")||d||e||c.set("Content-Type","application/x-www-form-urlencoded;charset=utf-8");c.forEach(function(a, -b){this.b.setRequestHeader(b,a)},a);a.X&&(a.b.responseType=a.X);ci(a.b,"withCredentials")&&(a.b.withCredentials=a.ga);try{it(a),0b||b>zt(this))throw Error("Child component index out of bounds");this.J&&this.o||(this.J={},this.o=[]);if(a.getParent()==this){var d=a.nl();this.J[d]=a;jj(this.o,a)}else hi(this.J,a.nl(),a);vt(a,this);ec(this.o,a,b);a.Id&&this.Id&&a.getParent()==this?(c=this.Sc(),b=c.childNodes[b]||null,b!=a.qa()&&c.insertBefore(a.qa(),b)):c?(this.Ab||this.Da(),b=this.Bc(b+1),a.By(this.Sc(),b?b.Ab:null)):this.Id&&!a.Id&&a.Ab&& -a.Ab.parentNode&&1==a.Ab.parentNode.nodeType&&a.Lb()};g.Sc=function(){return this.Ab};function At(a){null==a.Ga&&(a.Ga=kr(a.Id?a.Ab:a.O.b.body));return a.Ga}function zt(a){return a.o?a.o.length:0}function wt(a,b){var c;a.J&&b?(c=a.J,c=(null!==c&&b in c?c[b]:void 0)||null):c=null;return c}g.Bc=function(a){return this.o?this.o[a]||null:null};function xt(a,b,c){a.o&&aj(a.o,b,c)}g.Xd=function(a){return this.o&&a?$i(this.o,a):-1}; -g.removeChild=function(a,b){if(a){var c=z(a)?a:a.nl();a=wt(this,c);c&&a&&(gi(this.J,c),jj(this.o,a),b&&(a.xc(),a.Ab&&Ko(a.Ab)),vt(a,null))}if(!a)throw Error("Child is not in parent component");return a};function Bt(a){for(var b=[];a.o&&0!=a.o.length;)b.push(a.removeChild(a.Bc(0),!0))};function Ct(){qt.call(this)}E(Ct,qt);g=Ct.prototype;g.sr=!1;g.visible=function(a){if(n(a)){if(a==this.sr)return this;a?(this.Id||this.Sb(),this.sr=!0):this.sr=!1;jr(this.qa(),this.sr);return this}return this.sr}; -function Dt(a,b){var c=a.xb(),d=b||a.qa();Yj(d,"anychart-loader");c=c.Da("DIV","anychart-loader-rotating-cover",c.Da("DIV","anychart-loader-rotating-plane",c.Da("DIV","anychart-loader-chart-row",c.Da("DIV",["anychart-loader-chart-col","anychart-loader-green"]),c.Da("DIV",["anychart-loader-chart-col","anychart-loader-orange"]),c.Da("DIV",["anychart-loader-chart-col","anychart-loader-red"]))));a.sr=!1;jr(a.qa(),a.sr);d.appendChild(c)}g.Da=function(){Ct.G.Da.call(this);Dt(this)}; -g.fg=function(a){Ct.G.fg.call(this,a);Dt(this,a)};g.Lb=function(){Ct.G.Lb.call(this)};g.xc=function(){Ct.G.xc.call(this)};g.ca=function(){Ct.G.ca.call(this)};function Et(){return new Ct}C("anychart.ui.preloader",Et);Ct.prototype.render=Ct.prototype.Sb;Ct.prototype.decorate=Ct.prototype.qn;Ct.prototype.visible=Ct.prototype.visible;function Ft(a){this.b=a}fa(Ft);function Gt(a,b){a&&(a.tabIndex=b?0:-1)}g=Ft.prototype;g.Da=function(a){return a.xb().Da("DIV",Ht(this,a).join(" "))};g.Sc=function(a){return a};g.bJ=function(a){return"DIV"==a.tagName};function It(a,b,c){c.id&&tt(b,c.id);var d=a.$b(),e=!1,f=Wj(c);f&&aj(f,function(a){a==d?e=!0:a&&(a==d+"-disabled"?b.oe(!1):a==d+"-horizontal"?Jt(b,Kt):a==d+"-vertical"&&Jt(b,Lt))},a);e||Yj(c,d);Mt(a,b,a.Sc(c));return c} -function Mt(a,b,c){if(c)for(var d=c.firstChild,e;d&&d.parentNode==c;){e=d.nextSibling;if(1==d.nodeType){var f=a.vx(d);f&&(f.Ab=d,b.isEnabled()||f.oe(!1),b.ab(f),f.qn(d))}else d.nodeValue&&""!=Ai(d.nodeValue)||c.removeChild(d);d=e}}g.vx=function(a){a:{var b;a=Wj(a);for(var c=0,d=a.length;cthis.th&&b<=this.th?this.th++:athis.th&&this.th--}; -g.removeChild=function(a,b){if(a=z(a)?wt(this,a):a){var c=this.Xd(a);-1!=c&&(c==this.th?(a.$j(!1),this.th=-1):ca?c-1:a},0)}function Iu(a){Ku(a,function(a,c){return(a+1)%c},a.th)}function Hu(a){Ku(a,function(a,c){a--;return 0>a?c-1:a},a.th)} -function Ku(a,b,c){c=0>c?a.Xd(a.Xh):c;var d=zt(a);c=b.call(a,c,d);for(var e=0;e<=d;){var f=a.Bc(c);if(f&&a.vQ(f)){a.dh(c);break}e++;c=b.call(a,c,d)}}g.vQ=function(a){return a.Kc()&&a.isEnabled()&&Wt(a,2)};function Lu(){}E(Lu,Zt);fa(Lu);g=Lu.prototype;g.Da=function(a){var b={"class":"anychart-inline-block "+Rt(this,a).join(" ")},b=a.xb().Da("DIV",b,this.VB(a.Qi,a.xb()));$t(b,a.Ib);return b};g.Xr=function(){return"button"};g.Sc=function(a){return a&&a.firstChild&&a.firstChild.firstChild};g.VB=function(a,b){return b.Da("DIV","anychart-inline-block "+(this.$b()+"-outer-box"),b.Da("DIV","anychart-inline-block "+(this.$b()+"-inner-box"),a))};g.Ex=function(a){return"DIV"==a.tagName}; -g.zg=function(a,b){Mu(b,!0);Mu(b,!1);var c;a:{c=a.xb().VR(b);var d=this.$b()+"-outer-box";if(c&&Xj(c,d)&&(c=a.xb().VR(c),d=this.$b()+"-inner-box",c&&Xj(c,d))){c=!0;break a}c=!1}c||b.appendChild(this.VB(b.childNodes,a.xb()));Zj(b,["anychart-inline-block",this.$b()]);return Lu.G.zg.call(this,a,b)};g.$b=function(){return"anychart-custom-button"}; -function Mu(a,b){if(a)for(var c=b?a.firstChild:a.lastChild,d;c&&c.parentNode==a;){d=b?c.nextSibling:c.previousSibling;if(3==c.nodeType){var e=c.nodeValue;if(""==Ai(e))a.removeChild(c);else{c.nodeValue=b?e.replace(/^[\s\xa0]+/,""):e.replace(/[\s\xa0]+$/,"");break}}else break;c=d}};function Nu(){}E(Nu,Lu);fa(Nu);Nu.prototype.$b=function(){return"anychart-icon-button"};Nu.prototype.Da=function(a){var b={"class":"anychart-inline-block "+Rt(this,a).join(" ")},b=a.xb().Da("DIV",b);$t(b,a.Ib);return b};Nu.prototype.Sc=function(a){return a};function Ou(a){pq.call(this);this.g=this.j={};this.o=0;this.W=oi(Pu);this.Y=oi(Qu);this.I=!0;this.F=this.J=!1;this.$=!0;this.D=null;this.b=a;np(this.b,"keydown",this.NC,!1,this);Qn&&np(this.b,"keyup",this.sS,!1,this);Tn&&!Qn&&(np(this.b,"keypress",this.xS,!1,this),np(this.b,"keyup",this.yS,!1,this))}var Ru;E(Ou,pq);function Su(a){this.b=a||null;this.next=a?null:{}}var Pu=[27,112,113,114,115,116,117,118,119,120,121,122,123,19],Qu="color date datetime datetime-local email month number password search tel text time url week".split(" "); -g=Ou.prototype;g.Di=function(a,b){Tu(this.j,Uu(arguments),a)};function Uu(a){if(z(a[1]))a=cf(Vu(a[1]),function(a){return a.keyCode&255|a.N6<<8});else{var b=a,c=1;r(a[1])&&(b=a[1],c=0);for(a=[];cb&&this.b.padding().bottom(b+a)}this.b.listen("selectedrangechange",this.tH,!1,this);a=ut(this);a.pa(this.g.qa(),"blur",this.uH);a.pa(this.j.qa(),"blur",this.uH);this.I||(this.I=new zq(this.g.qa()),a.pa(this.I,"key",this.vB));this.W||(this.W=new zq(this.j.qa()),a.pa(this.W,"key",this.vB))}}; -g.uH=function(){var a=this.g.Le(),b=this.j.Le(),c=this.Qt(),a=window.anychart.format.parseDateTime(a,c),b=window.anychart.format.parseDateTime(b,c);if(a&&b){var c=a.getTime(),d=b.getTime();c>d&&(a=[b,b=a][0],c=[d,d=c][0]);if(c!=this.X||d!=this.fa){this.X=c;this.fa=d;this.b.selectRange(a,b,!0);return}}this.g.ye(window.anychart.format.dateTime(this.X,this.Qt()));this.j.ye(window.anychart.format.dateTime(this.fa,this.Qt()))}; -g.vB=function(a){if(13==a.keyCode){a=a.target.Ag.qa();var b=Hp(a)[0];this.uH();Jp(a,b)}};g.xc=function(){ev.G.xc.call(this)};g.ca=function(){this.b.unlisten("selectedrangechange",this.tH,!1,this);this.b=null;this.D&&(Ko(this.$),this.$=null);this.D&&(Ko(this.D),this.D=null);this.I&&(ut(this).Ac(this.I,"key",this.vB),this.I.gc(),this.I=null);this.W&&(ut(this).Ac(this.W,"key",this.vB),this.W.gc(),this.W=null);ev.G.ca.call(this)};function iv(){return new ev}C("anychart.ui.rangePicker",iv); -ev.prototype.render=ev.prototype.Sb;ev.prototype.decorate=ev.prototype.qn;ev.prototype.target=ev.prototype.target;ev.prototype.format=ev.prototype.Qt;ev.prototype.dispose=ev.prototype.gc;ev.prototype.getElement=ev.prototype.qa;ev.prototype.toLabelText=ev.prototype.v9;ev.prototype.fromLabelText=ev.prototype.l4;function jv(){}E(jv,Nt);fa(jv);jv.prototype.$b=function(){return"anychart-menuheader"};function kv(a,b,c){iu.call(this,a,c||jv.qc(),b);this.Yh(1,!1);this.Yh(2,!1);this.Yh(4,!1);this.Yh(32,!1);this.Cp=1}E(kv,iu);hn("anychart-menuheader",function(){return new kv(null)});function lv(){this.g=[]}E(lv,Nt);fa(lv);function mv(a,b){var c=a.g[b];if(!c){switch(b){case 0:c=a.$b()+"-highlight";break;case 1:c=a.$b()+"-checkbox";break;case 2:c=a.$b()+"-content"}a.g[b]=c}return c}g=lv.prototype;g.Xr=function(){return"menuitem"};g.Da=function(a){var b=a.xb().Da("DIV",Rt(this,a).join(" "),nv(this,a.Qi,a.xb()));ov(this,a,b,Wt(a,8)||Wt(a,16));return b};g.Sc=function(a){return a&&a.firstChild}; -g.zg=function(a,b){var c=Lo(b),d=mv(this,2);c&&Xj(c,d)||b.appendChild(nv(this,b.childNodes,a.xb()));Xj(b,"anychart-option")&&(a.Yh(16,!0),a&&b&&ov(this,a,b,!0));return lv.G.zg.call(this,a,b)};g.Yr=function(a,b){var c=this.Sc(a),d=pv(this,a)?c.firstChild:null;lv.G.Yr.call(this,a,b);d&&!pv(this,a)&&c.insertBefore(d,c.firstChild||null)};function nv(a,b,c){a=mv(a,2);return c.Da("DIV",a,b)}function pv(a,b){var c=a.Sc(b);if(c){var c=c.firstChild,d=mv(a,1);return!!c&&zl(c)&&Xj(c,d)}return!1} -function ov(a,b,c,d){Ut(a,c,b.Gx());Vt(a,b,c);d!=pv(a,c)&&(ck(c,"anychart-option",d),c=a.Sc(c),d?(a=mv(a,1),c.insertBefore(b.xb().Da("DIV",a),c.firstChild||null)):c.removeChild(c.firstChild))}g.sx=function(a){switch(a){case 2:return mv(this,0);case 16:case 8:return"anychart-option-selected";default:return lv.G.sx.call(this,a)}};g.zC=function(a){var b=mv(this,0);switch(a){case "anychart-option-selected":return 16;case b:return 2;default:return lv.G.zC.call(this,a)}};g.$b=function(){return"anychart-menuitem"};function qv(a,b,c,d){iu.call(this,a,d||lv.qc(),c);this.ye(b)}E(qv,iu);g=qv.prototype;g.Le=function(){var a=this.ol;return null!=a?a:this.Ph()};g.ye=function(a){this.qg(a)};g.Yh=function(a,b){qv.G.Yh.call(this,a,b);switch(a){case 8:this.Gp()&&!b&&this.iq(!1);var c=this.qa();c&&this&&c&&ov(this.j,this,c,b);break;case 16:(c=this.qa())&&this&&c&&ov(this.j,this,c,b)}}; -g.Ph=function(){var a=this.Qi;return r(a)?(a=cf(a,function(a){return zl(a)&&(Xj(a,"anychart-menuitem-accel")||Xj(a,"anychart-menuitem-mnemonic-separator"))?"":Yo(a)}).join(""),zi(a)):qv.G.Ph.call(this)};g.no=function(a){var b=this.getParent();if(b){var c=b.$;b.$=null;if(c&&na(a.clientX)&&Zl(c,new Yl(a.clientX,a.clientY)))return}qv.G.no.call(this,a)};g.Ap=function(a){return a.keyCode==this.XJ&&this.sj(a)?!0:qv.G.Ap.call(this,a)};g.C4=function(){return this.XJ};hn("anychart-menuitem",function(){return new qv(null)}); -qv.prototype.Gx=function(){return Wt(this,16)?"menuitemcheckbox":Wt(this,8)?"menuitemradio":qv.G.Gx.call(this)};qv.prototype.getParent=function(){return iu.prototype.getParent.call(this)};qv.prototype.Oi=function(){return iu.prototype.Oi.call(this)};function rv(a,b,c,d){qv.call(this,a,b,c,d);this.Y=!1}E(rv,qv);rv.prototype.$=function(a){return n(a)?(this.Y=a,this):this.Y};rv.prototype.By=function(a,b){this.$()&&n(this.getParent().Y)?rv.G.By.call(this,this.getParent().j,b):rv.G.By.call(this,a,b)};function sv(){}E(sv,Nt);fa(sv);sv.prototype.Da=function(a){return a.xb().Da("DIV",this.$b())};sv.prototype.zg=function(a,b){b.id&&tt(a,b.id);if("HR"==b.tagName){var c=b;b=this.Da(a);Io(b,c);Ko(c)}else Yj(b,this.$b());return b};sv.prototype.Yr=function(){};sv.prototype.$b=function(){return"anychart-menuseparator"};function tv(a,b){this.Ab=a;this.g=b};function uv(){}E(uv,Zt);fa(uv);g=uv.prototype;g.Xr=function(){};g.Da=function(a){ju(a,!1);tu(a,255);a.Yh(32,!1);return a.xb().Da("BUTTON",{"class":Rt(this,a).join(" "),disabled:!a.isEnabled(),title:a.Ib||"",value:a.Le()||""},a.Ph()||"")};g.Ex=function(a){return"BUTTON"==a.tagName||"INPUT"==a.tagName&&("button"==a.type||"submit"==a.type||"reset"==a.type)};g.zg=function(a,b){ju(a,!1);tu(a,255);a.Yh(32,!1);if(b.disabled){var c=this.sx(1);Yj(b,c)}return uv.G.zg.call(this,a,b)}; -g.zp=function(a){ut(a).pa(a.qa(),"click",a.sj)};g.eJ=ea;g.mS=ea;g.lS=function(a){return a.isEnabled()};g.Fx=ea;g.fJ=function(a,b,c){uv.G.fJ.call(this,a,b,c);(a=a.qa())&&1==b&&(a.disabled=c)};g.Le=function(a){return a.value};g.ye=function(a,b){a&&(a.value=b)};g.yn=ea;function vv(a,b,c){iu.call(this,a,b||uv.qc(),c)}E(vv,iu);g=vv.prototype;g.Le=function(){return this.Ba};g.ye=function(a){this.Ba=a;this.j.ye(this.qa(),a)};function wv(a,b){a.Ib=b;$t(a.qa(),b)}function xv(a,b){var c=a.j,d=At(a),e=c.$b()+"-collapse-left",c=c.$b()+"-collapse-right";mu(a,d?c:e,!!(b&1));mu(a,d?e:c,!!(b&2))}g.ca=function(){vv.G.ca.call(this);delete this.Ba;delete this.Ib};g.Lb=function(){vv.G.Lb.call(this);if(Wt(this,32)){var a=this.qa();a&&ut(this).pa(a,"keyup",this.Ap)}}; -g.Ap=function(a){return 13==a.keyCode&&"key"==a.type||32==a.keyCode&&"keyup"==a.type?this.sj(a):32==a.keyCode};hn("anychart-button",function(){return new vv(null)});function yv(a,b,c){vv.call(this,a||"",b,c);this.b=null;this.$=0}E(yv,vv);function zv(a,b){a.b=b;n(void 0)&&(a.$=void 0);a.Id&&Av(a)}function Av(a){var b=a.j.Sc(a.qa()),c=to("I",null,b)[0];a.b?c?(c.className=a.b,jr(c,!0)):(c=Bo("I",a.b),tp(c,"hidden",!0),Jo(b,c,a.$)):c&&jr(c,!1)}yv.prototype.Da=function(){yv.G.Da.call(this);Av(this)};function Bv(a,b,c){yv.call(this,a,b,c);lu(this,Cv)}E(Bv,yv);var Cv="anychart-button-primary";function Dv(a,b,c){yv.call(this,a,b,c);lu(this,Ev)}E(Dv,yv);var Ev="anychart-button-secondary";function Fv(a,b,c){yv.call(this,a,b,c);lu(this,"anychart-inline-block");lu(this,"anychart-button-standard");lu(this,Gv);this.Yh(16,!0);tu(this,16)}E(Fv,yv);var Gv="anychart-button-toggle";function Hv(a,b,c){yv.call(this,a,b,c);lu(this,"anychart-inline-block");lu(this,"anychart-button-standard");lu(this,Iv);this.Yh(16,!0);tu(this,16)}E(Hv,yv);var Iv="anychart-button-toggle";g=Hv.prototype;g.wB="";g.Fw="";g.dk=function(a){this.g=a};g.tr="";g.md=function(a){this.tr=a};g.update=function(a){a=zu(a,r(this.tr)?this.tr[0]:this.tr);this.iq(a==this.Fw)};g.Lb=function(){Hv.G.Lb.call(this);np(this,"action",this.RP,!1,this)};g.xc=function(){rp(this,"action",this.RP,!1,this);Hv.G.xc.call(this)}; -g.RP=function(a){a.stopPropagation();a=r(this.tr)?this.tr:[this.tr];for(var b=0,c=a.length;ba.yf.Tj.index+1&&!c.bD&&Yj(e,"anychart-disabled");a.I||c.index!=a.yf.Tj.index+1||ck(e,"anychart-disabled",!a.I);a.Y.appendChild(e)}}g.update=function(){};g.e9=function(a){a=a.target;var b=Mo(a);if(Xj(a,"anychart-chart-editor-step-progress-item-content")&&!Xj(b,"anychart-disabled")){a=Number(a.getAttribute("data-index"));var b=this.yf.Zy[a],c=this.yf.Tj.index;if(ac&&0==b.scrollTop&&a.preventDefault();0=b.scrollHeight-b.clientHeight-b.scrollTop&&a.preventDefault()};function Sv(){qt.call(this);this.b=null}E(Sv,qt);g=Sv.prototype;g.target=function(a){this.b=a}; -function Tv(a){Yj(a.qa(),"anychart-zoom");a.g=new yv;a.g.qg({type:"fitAll"});wv(a.g,"Fit All");lu(a.g,"anychart-zoom-zoomFitAll");zv(a.g,"ac ac-dot-square-o disable-selection");a.ab(a.g,!0);a.j=new yv;a.j.qg({type:"zoomIn"});wv(a.j,"Zoom In");lu(a.j,"anychart-zoom-zoomIn");zv(a.j,"ac ac-plus disable-selection");a.ab(a.j,!0);a.D=new yv;a.D.qg({type:"zoomOut"});wv(a.D,"Zoom Out");lu(a.D,"anychart-zoom-zoomOut");zv(a.D,"ac ac-minus disable-selection");a.ab(a.D,!0)} -g.Da=function(){Sv.G.Da.call(this);Tv(this)};g.fg=function(a){Uv(a)?this.Sb(a):(Sv.G.fg.call(this,a),Tv(this))};function Uv(a){return a&&A(a.getType)&&"map"==a.getType()}g.R2=function(a){this.Sb(a)};g.Sb=function(a){a=a||this.b;if(Uv(a)){this.target(a);var b=this.b.container()?this.b.container().getStage():null;b&&b.container()?a=b.container():a=null}a?Sv.G.Sb.call(this,a):(a=va(this.R2,this,a||this.b),this.b.Zd("chartdraw",a,!1,this))}; -g.Lb=function(){Sv.G.Lb.call(this);this.b&&ut(this).pa(this,"action",this.S2)};g.S2=function(a){a=a.target.ol;this.b.Kj=100;switch(a.type){case "fitAll":Vv(this.b);break;case "zoomIn":this.b.zoom(1.3);break;case "zoomOut":this.b.zoom(1/1.3)}};g.xc=function(){Sv.G.xc.call(this)};g.ca=function(){this.b=null;this.g.gc();this.g=null;this.j.gc();this.j=null;this.D.gc();this.D=null;Sv.G.ca.call(this)};C("anychart.ui.zoom",function(){return new Sv});Sv.prototype.render=Sv.prototype.Sb; -Sv.prototype.decorate=Sv.prototype.qn;Sv.prototype.target=Sv.prototype.target;Sv.prototype.dispose=Sv.prototype.gc;function Wv(){}E(Wv,Zt);fa(Wv);g=Wv.prototype;g.Da=function(a){var b={"class":"anychart-inline-block "+Rt(this,a).join(" ")},b=a.xb().Da("DIV",b,a.Qi);$t(b,a.Ib);return b};g.Xr=function(){return"button"};g.Ex=function(a){return"DIV"==a.tagName};g.zg=function(a,b){Yj(b,"anychart-inline-block");return Wv.G.zg.call(this,a,b)};g.Le=function(){return""};g.$b=function(){return"anychart-flat-button"};hn("anychart-flat-button",function(){return new vv(null,Wv.qc())});function Xv(a,b,c){qv.call(this,a,b,c);this.Yh(8,!0)}E(Xv,qv);Xv.prototype.sj=function(){return this.dispatchEvent("action")};hn("anychart-option",function(){return new Xv(null)});function Yv(){}E(Yv,Nt);fa(Yv);var Zv=0;g=Yv.prototype;g.Da=function(a){var b=Rt(this,a);a=a.xb().Da("DIV",b?b.join(" "):null,$v(this,a.Qi,a.pl,a.xb()));sp(a,"grid");return a};function $v(a,b,c,d){for(var e=[],f=0,h=0;fb&&this.b.padding().bottom(b+a)}this.b.listen("selectedrangechange",this.PP,!1,this);ut(this).pa(this,"action",this.P2)}}; -g.P2=function(a){var b=a.target.ol,c=qe(b.type);"Unit"==c?this.b.selectRange(b.unit,b.count,b.anchor,!0):"YTD"==c||"QTD"==c||"MTD"==c||"Max"==c?this.b.selectRange(c,!0):(c=window.anychart.format.parseDateTime(b.startDate),b=window.anychart.format.parseDateTime(b.endDate),c&&b&&this.b.selectRange(c,b,!0));Mw(this.g,a.target)};g.xc=function(){Ow.G.xc.call(this)};g.ca=function(){this.b.unlisten("selectedrangechange",this.PP,!1,this);this.b=null;this.g.clear();this.j&&(Ko(this.j),this.j=null);Ow.G.ca.call(this)}; -function Rw(){return new Ow}C("anychart.ui.rangeSelector",Rw);Ow.prototype.render=Ow.prototype.Sb;Ow.prototype.decorate=Ow.prototype.qn;Ow.prototype.target=Ow.prototype.target;Ow.prototype.ranges=Ow.prototype.QP;Ow.prototype.dispose=Ow.prototype.gc;Ow.prototype.getElement=Ow.prototype.qa;Ow.prototype.zoomLabelText=Ow.prototype.K9;function Sw(a,b,c){iu.call(this,a,b||Yv.qc(),c);tu(this,88);this.b=new Tw;this.b.Ya(this);this.Y=-1}E(Sw,iu);g=Sw.prototype;g.pl=null;g.oo=-1;g.Ri=null;g.ca=function(){Sw.G.ca.call(this);this.Ri&&(this.Ri.gc(),this.Ri=null);this.pl=null;this.b.gc()};g.Qu=function(a){Sw.G.Qu.call(this,a);Uw(this);this.Ri?(this.Ri.clear(),Jw(this.Ri,a)):(this.Ri=new Iw(a),a=va(this.m5,this),this.Ri.PC=a,ut(this).pa(this.Ri,"select",this.l5));this.oo=-1};g.Ph=function(){return""};g.Ou=function(){}; -g.Bp=function(a){Sw.G.Bp.call(this,a);var b=cw(this.j,this,a.target);b&&a.g&&No(b,a.g)||b==Vw(this)||(a=this.Qi,Ww(this,a?$i(a,b):-1))};g.mo=function(a){Sw.G.mo.call(this,a);if(this.ak()&&(a=cw(this.j,this,a.target),a!=Vw(this))){var b=this.Qi;Ww(this,b?$i(b,a):-1)}};g.sj=function(a){var b=Vw(this);return b?(this.Ri&&Mw(this.Ri,b),Sw.G.sj.call(this,a)):!1}; -g.Sh=function(a){var b=this.Qi,b=b?b.length:0,c=this.pl.width;if(0==b||!this.isEnabled())return!1;if(13==a.keyCode||32==a.keyCode)return this.sj(a);if(36==a.keyCode)return Ww(this,0),!0;if(35==a.keyCode)return Ww(this,b-1),!0;var d=0>this.oo?this.Ri?Nw(this.Ri):-1:this.oo;switch(a.keyCode){case 37:if(-1==d||0==d)d=b;Ww(this,d-1);a.preventDefault();return!0;case 39:return d==b-1&&(d=-1),Ww(this,d+1),a.preventDefault(),!0;case 38:-1==d&&(d=b+c-1);if(d>=c)return Ww(this,d-c),a.preventDefault(),!0;break; -case 40:if(-1==d&&(d=-c),dc&&0==b.scrollTop&&a.preventDefault();0=b.scrollHeight-b.clientHeight-b.scrollTop&&a.preventDefault()};g.xc=function(){Ny.G.xc.call(this)}; -g.ca=function(){Ny.G.ca.call(this)};function Oy(a,b,c,d,e){Ay.call(this,a,b,c||xy.qc(),d,e);this.g=[];this.la=[];this.X=[]}E(Oy,Ay);g=Oy.prototype;g.dk=function(a){this.g=a};g.zl=function(a){this.la=a};g.yr="";g.md=function(a){this.yr=a};g.Da=function(){Oy.G.Da.call(this);this.hz()};g.hz=function(){for(var a=this.g.length,b=Math.max(zt(this),a),c=0;cd&&(c=f,d=b[f])}return c}function cA(a,b){var c=!1,d,e,f,h;if(!a||!b)return!1;f=0;for(h=a.length;f=eA(a,b,c,d,e[h],e[h+1]);return f}function eA(a,b,c,d,e,f){a=(b-d)*e+(c-a)*f+(a*d-c*b);return 0==a?0:0=((h-f)*(b-p)-(k-p)*(a-f))*((h-f)*(d-p)-(k-p)*(c-f))&&0>=((c-a)*(p-b)-(d-b)*(f-a))*((c-a)*(k-b)-(d-b)*(h-a))}return f} -function gA(a,b,c,d){var e;a>b&&(e=a,a=b,b=e);c>d&&(e=c,c=d,d=e);return Math.max(a,c)<=Math.min(b,d)}function hA(a,b,c,d){var e=!1,f,h;if(!d)return!1;f=0;for(h=d.length;fc;return e} -function iA(a,b,c,d,e){var f=e.left+e.width,h=e.top+e.height,k=(d-b)/(c-a),l,m,p,q,t=!1;if(isNaN(k))af||bh?t=!0:(l=m=a,p=q=b);else if(0==k)bh?t=!0:(l=e.left,m=f,p=q=b);else if(isFinite(k)){var u=b-a*k,w=k*e.left+u,x=k*f+u;wh&&x>h?t=!0:(m=(e.top-u)/k,k=(h-u)/k,wh?(l=k,p=h):(l=e.left,p=w),xh?(m=k,q=h):(m=f,q=x))}else af?t=!0:(l=m=a,p=e.top,q=h);if(t)return null;if(a>c||a==c&&b>d)a=l,l=m,m=a,a=p,p=q, -q=a;return[l,p,m,q]}function jA(a,b,c,d,e){if(e=iA(a,b,c,d,e)){var f;if(c-=a)d=e[0]-a,f=e[2]-a;else if(c=d-b)d=e[1]-b,f=e[3]-b;else return e;0>f*c?e=null:0>c*d&&(e[0]=a,e[1]=b)}return e}function kA(a,b,c,d,e){if(e=iA(a,b,c,d,e)){var f,h,k,l,m;if(f=c-a)h=e[0]-a,k=e[2]-a,l=e[0]-c,m=e[2]-c;else if(f=d-b)h=e[1]-b,k=e[3]-b,l=e[1]-d,m=e[3]-d;else return e;0>k*f||0h*f&&(e[0]=a,e[1]=b),0p;p++){var q=-3*f[p]+9*h[p]-9*k[p]+3*l[p],t=6*f[p]-12*h[p]+6*k[p];m=3*h[p]-3*f[p];if(0==q)0!=t&&(m=-m/t,0m&&c[p].push(b(f[p],h[p],k[p],l[p],m))); -else{var u=t*t-4*m*q;0m&&c[p].push(b(f[p],h[p],k[p],l[p],m)),m=(-t-Math.sqrt(u))/(2*q),0m&&c[p].push(b(f[p],h[p],k[p],l[p],m))):0==u&&(m=-t/(2*q),0m&&c[p].push(b(f[p],h[p],k[p],l[p],m)))}}}d=new Q(Math.min.apply(null,c[0]),Math.min.apply(null,c[1]),0,0);d.width=Math.max.apply(null,c[0])-d.left;d.height=Math.max.apply(null,c[1])-d.top;return d} -function wA(a){if(0==arguments.length)return null;for(var b=null,c=!1,d=0,e=arguments.length;d>>0);function YA(a,b,c){return b[a.b]||(b[a.b]=ZA(a,b,c))}function ZA(a,b,c){return["#ac",n(c)?c:b.mj?b.mj():"",(a.g++).toString(36)].join("_")};function Sl(a){var b;b=ga(a);if("array"==b){b=[];for(var c=0;c=a?c=180+c:270=a&&(c=360+c);return c%360}g=eB.prototype;g.appendChild=function(a,b){a.appendChild(b)};g.getParent=function(a){return Mo(a)};g.fT=function(){return!1};g.BJ=function(){return!1};function lp(a){a.cs||(a.cs=new Oq);return a.cs}g.vy=function(){return!1}; -g.pD=function(){return!1};function kB(){eB.call(this)}E(kB,eB);fa(kB);g=kB.prototype;g.Gq=null;g.Dh=null;g.ny=null;g.ul=null;g.cs=null;function lB(a){return document.createElementNS("http://www.w3.org/2000/svg",a)}g.yb=function(a,b,c){a.setAttribute(b,c)};function mB(a){a.removeAttribute("fill-opacity")}function nB(a,b,c){Me(c,function(a,c){this.yb(b,c,a)},a)} -function oB(a){a.Gq=lB("svg");a.Dh=a.YH();a.ny=a.rv("");a.Dh.appendChild(a.ny);a.Gq.appendChild(a.Dh);document.body.appendChild(a.Gq);nB(a,a.Gq,{display:"block",width:0,height:0});a.ul=a.WB();a.Gq.appendChild(a.ul)} -g.measure=function(a,b){this.Gq||oB(this);var c=null,d=0;if(0==a.length)return gB(this,"",b)?d=hB(this,"",b):(d=this.measure("a",b),d=new Q(0,d.top,0,d.height),hB(this,"",b,d)),d;if(" "==a)return fB(this,b);ui(a," ")&&(d+=c=fB(this,b).width);vi(a," ")&&(d+=c||fB(this,b).width);b.fontStyle?this.yb(this.Dh,"font-style",b.fontStyle):this.Dh.removeAttribute("font-style");b.fontVariant?this.yb(this.Dh,"font-variant",b.fontVariant):this.Dh.removeAttribute("font-variant");b.fontFamily?this.yb(this.Dh,"font-family", -b.fontFamily):this.Dh.removeAttribute("font-family");b.fontSize?this.yb(this.Dh,"font-size",b.fontSize):this.Dh.removeAttribute("font-size");b.fontWeight?this.yb(this.Dh,"font-weight",b.fontWeight):this.Dh.removeAttribute("font-weight");b.letterSpacing?this.yb(this.Dh,"letter-spacing",b.letterSpacing):this.Dh.removeAttribute("letter-spacing");b.decoration?this.yb(this.Dh,"text-decoration",b.decoration):this.Dh.removeAttribute("text-decoration");this.ny.nodeValue=a;c=this.Dh.getBBox();this.ny.nodeValue= -"";b.fontVariant&&Gn&&(this.ny.nodeValue=a.charAt(0).toUpperCase(),c.height=this.Dh.getBBox().height);return new Q(c.x,c.y,c.width+d,c.height)};g.TJ=function(a){this.Gq||oB(this);z(a)?this.ul.innerHTML=a:(a=a.cloneNode(!0),this.ul.appendChild(a));a=this.ul.getBBox();Ho(this.ul);return new Q(a.x,a.y,a.width,a.height)};g.jD=function(a,b){this.b||(lp(this),this.b={},np(this.cs,"complete",function(){this.g=!1},!1,this),np(this.cs,op,this.XV,!1,this));this.b[qa(b)]=[a,b];this.g=!0;qp(this.cs,a,a);this.cs.start()}; -g.XV=function(a){var b=a.target;Me(this.b,function(a,d){a[0]==b.id&&(a[1].call(this,b.naturalWidth,b.naturalHeight),delete this.b[d])},this)};g.BJ=function(){return this.g}; -function pB(a){if(a.wi())return null;var b=[];a.LR(function(a,d){switch(a){case qB:b.push("M");$A(Array.prototype.push,d,b);break;case rB:b.push("L");$A(Array.prototype.push,d,b);break;case sB:b.push("C");$A(Array.prototype.push,d,b);break;case tB:var e=d[3];b.push("A",d[0],d[1],0,180=Math.abs(b)?(c=-.5,d=0>Math.cos(a)):(b=-.5,d=0Math.sin(d)||180==a||360==a;if(90==a||270==a)c+=1E-6;180!=a&&(0>Math.tan(d)||90==a||270==a)&&(e=-1,c=90-c);c=Ua(c);d=Math.sin(c)*(b.height/2-Math.tan(c)*b.width/2)+b.width/2/Math.cos(c);e=e*Math.cos(c)*d;c=1*Math.sin(c)*d;k&&(e=-e,c=-c);return new cm(Math.round(f-e),Math.round(h+c),Math.round(f+e),Math.round(h-c))} -g.YQ=function(){var a=lB("svg");Hn||this.yb(a,"xmlns","http://www.w3.org/2000/svg");this.yb(a,"border","0");return a};g.TQ=function(){return lB("linearGradient")};g.PQ=function(){return lB("pattern")};g.QQ=function(){return lB("image")};g.WB=function(){return lB("g")};g.LQ=function(){return lB("circle")};g.VQ=function(){return lB("path")};g.OQ=function(){return lB("ellipse")};g.NQ=function(){return lB("defs")};g.YH=function(){return lB("text")};g.ZH=function(){return lB("tspan")};g.rv=function(a){return document.createTextNode(String(a))}; -g.sU=function(a){var b=a.rh();nB(this,a.ia(),{x:b.left,y:b.top,width:b.width,height:b.height,patternUnits:"userSpaceOnUse"})};g.tU=function(a){var b=a.rh();this.jD(a.src(),ea);var c=a.src()||"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",d=a.ia();nB(this,d,{x:b.left,y:b.top,width:b.width,height:b.height,"image-rendering":"optimizeQuality",preserveAspectRatio:a.Aq()+" "+a.hu(),opacity:a.opacity()});d.setAttributeNS("http://www.w3.org/1999/xlink","href",c)}; -g.pU=function(a,b){var c=a.ia();c&&(c.style.cursor=b||"")};g.SK=function(a){var b=a.ia();this.yb(b,"x",a.F);this.yb(b,"y",a.X)}; -g.CU=function(a){var b=a.style(),c=a.ia();if(a.Fq()){if(c.style["-webkit-touch-callout"]="",c.style["-webkit-user-select"]="",c.style["-khtml-user-select"]="",c.style["-moz-user-select"]="",c.style["-ms-user-select"]="",c.style["-o-user-select"]="",c.style["user-select"]="",Hn&&9==eo||Gn)c.removeAttribute("unselectable"),c.removeAttribute("onselectstart")}else if(c.style["-webkit-touch-callout"]="none",c.style["-webkit-user-select"]="none",c.style["-khtml-user-select"]="none",c.style["-moz-user-select"]= -"moz-none",c.style["-ms-user-select"]="none",c.style["-o-user-select"]="none",c.style["user-select"]="none",Hn&&9==eo||Gn)this.yb(c,"unselectable","on"),this.yb(c,"onselectstart","return false;");b.fontStyle?this.yb(c,"font-style",b.fontStyle):c.removeAttribute("font-style");b.fontVariant?Qn?c.style["font-variant"]=b.fontVariant:this.yb(c,"font-variant",b.fontVariant):Qn?c.style["font-variant"]="":c.removeAttribute("font-variant");b.fontFamily?this.yb(c,"font-family",b.fontFamily):c.removeAttribute("font-family"); -b.fontSize?this.yb(c,"font-size",b.fontSize):c.removeAttribute("font-size");b.fontWeight?this.yb(c,"font-weight",b.fontWeight):c.removeAttribute("font-weight");b.color?this.yb(c,"fill",b.color):c.removeAttribute("fill");b.letterSpacing?this.yb(c,"letter-spacing",b.letterSpacing):c.removeAttribute("letter-spacing");b.decoration?this.yb(c,"text-decoration",b.decoration):c.removeAttribute("text-decoration");b.direction?this.yb(c,"direction",b.direction):c.removeAttribute("direction");b.hAlign?this.yb(c, -"text-anchor","rtl"==b.direction?Qn||Hn?b.hAlign==xB||b.hAlign==yB?zB:b.hAlign==zB||b.hAlign==AB?xB:"middle":b.hAlign==xB||b.hAlign==yB?xB:b.hAlign==zB||b.hAlign==AB?zB:"middle":b.hAlign==xB||b.hAlign==AB?xB:b.hAlign==zB||b.hAlign==yB?zB:"middle"):c.removeAttribute("text-anchor");c.style.opacity=b.opacity?b.opacity:"1"};g.qM=function(a){var b=a.ia(),c=a.parent();(a.I||a.D)&&this.yb(b,"x",c.F+a.D);this.yb(b,"dy",a.j)}; -g.rM=function(a){var b=a.b,c=a.ia(),d=a.parent();a=this.rv(a.text);c.appendChild(a);if(Hn&&9==eo||Gn)d.Fq()?(c.removeAttribute("onselectstart"),c.removeAttribute("unselectable")):(this.yb(c,"onselectstart","return false;"),this.yb(c,"unselectable","on"));b.fontStyle&&this.yb(c,"font-style",b.fontStyle);b.fontVariant&&this.yb(c,"font-variant",b.fontVariant);b.fontFamily&&this.yb(c,"font-family",b.fontFamily);b.fontSize&&this.yb(c,"font-size",b.fontSize);b.fontWeight&&this.yb(c,"font-weight",b.fontWeight); -b.color&&this.yb(c,"fill",b.color);b.letterSpacing&&this.yb(c,"letter-spacing",b.letterSpacing);b.Yn&&this.yb(c,"text-decoration",b.Yn)}; -function BB(a,b,c){var d=CB(c,b.keys,b.cx,b.cy,b.fx,b.fy,b.opacity,b.mode,b.transform);if(!d.Cz){var e=lB("radialGradient");FB(a,e,d.id());a.appendChild(c.ia(),e);d.qv=c;d.Cz=!0;aj(d.keys,function(a){var b=lB("stop");nB(this,b,{offset:a.offset,style:"stop-color:"+a.color+";stop-opacity:"+(isNaN(a.opacity)?d.opacity:a.opacity)});this.appendChild(e,b)},a);d.pb?nB(a,e,{cx:d.ke*d.pb.width+d.pb.left,cy:d.ae*d.pb.height+d.pb.top,fx:d.b*d.pb.width+d.pb.left,fy:d.g*d.pb.height+d.pb.top,r:Math.min(d.pb.width, -d.pb.height)/2,spreadMethod:"pad",gradientUnits:"userSpaceOnUse"}):nB(a,e,{cx:d.ke,cy:d.ae,fx:d.b,fy:d.g,gradientUnits:"objectBoundingBox"});d.transform&&a.yb(e,"gradientTransform",d.transform.toString())}return d.id()} -function GB(a,b,c,d){var e=HB(c,b.keys,b.opacity,!0===b.mode?jB(b.angle,d):b.angle,b.mode,b.transform);if(!e.Bz){var f=a.TQ();FB(a,f,e.id());a.appendChild(c.ia(),f);e.pv=c;e.Bz=!0;aj(e.keys,function(a){var b=lB("stop");nB(this,b,{offset:a.offset,style:"stop-color:"+a.color+";stop-opacity:"+(isNaN(a.opacity)?e.opacity:a.opacity)});this.appendChild(f,b)},a);e.pb?(b=wB(e.Nj,e.pb),nB(a,f,{x1:b.b,y1:b.j,x2:b.g,y2:b.o,spreadMethod:"pad",gradientUnits:"userSpaceOnUse"})):(b=vB(e.Nj),nB(a,f,{x1:b.b,y1:b.j, -x2:b.g,y2:b.o,gradientUnits:"objectBoundingBox"}));e.transform&&a.yb(f,"gradientTransform",e.transform.toString())}return e.id()} -function IB(a,b){var c=b.fill(),d=JB(b.Ha()),e="url("+KB()+"#";if(z(c))a.yb(b.ia(),"fill",c),mB(b.ia());else if(r(c.keys)&&c.cx&&c.cy)a.yb(b.ia(),"fill",e+BB(a,c,d)+")"),mB(b.ia());else if(r(c.keys))b.jb()&&(a.yb(b.ia(),"fill",e+GB(a,c,d,b.jb())+")"),mB(b.ia()));else if(c.src){var f=b.rh();f?(f.width=f.width||0,f.height=f.height||0,f.left=f.left||0,f.top=f.top||0):f=new Q(0,0,0,0);c.mode==LB?MB(d,c.src,f,c.mode,c.opacity,function(a){a.id();a.parent(b.Ha()).Sb();mp.yb(b.ia(),"fill",e+a.id()+")")}): -(d=MB(d,c.src,f,c.mode,c.opacity),d.id(),d.parent(b.Ha()).Sb(),a.yb(b.ia(),"fill",e+d.id()+")"))}else c instanceof NB?(c=OB(d,c.type,c.color,c.b,c.size),c.id(),c.parent(b.Ha()).Sb(),a.yb(b.ia(),"fill",e+c.id()+")")):c instanceof PB?(c.id(),c.parent(b.Ha()).Sb(),a.yb(b.ia(),"fill",e+c.id()+")")):(1E-4>=c.opacity&&Hn&&bo("9")&&(c.opacity=1E-4),nB(a,b.ia(),{fill:c.color,"fill-opacity":c.opacity}))} -function QB(a,b){var c=b.stroke(),d=JB(b.Ha()),e=b.ia(),f="url("+KB()+"#";if(z(c))a.yb(e,"stroke",c);else if(r(c.keys)&&c.cx&&c.cy)a.yb(e,"stroke",f+BB(a,c,d)+")");else if(r(c.keys)){if(!b.jb())return;a.yb(e,"stroke",f+GB(a,c,d,b.jb())+")")}else a.yb(e,"stroke",c.color);c.lineJoin?a.yb(e,"stroke-linejoin",c.lineJoin):e.removeAttribute("stroke-linejoin");c.lineCap?a.yb(e,"stroke-linecap",c.lineCap):e.removeAttribute("stroke-linecap");c.opacity?a.yb(e,"stroke-opacity",c.opacity):e.removeAttribute("stroke-opacity"); -c.thickness?a.yb(e,"stroke-width",c.thickness):e.removeAttribute("stroke-width");c.dash?a.yb(e,"stroke-dasharray",c.dash):e.removeAttribute("stroke-dasharray")}g.XP=function(a){IB(this,a);QB(this,a)};g.sM=function(a){a.visible()?a.ia().removeAttribute("visibility"):this.yb(a.ia(),"visibility","hidden")};g.Fs=function(a){var b=a.zc;b&&!kl(b)?this.yb(a.ia(),"transform",b.toString()):a.ia().removeAttribute("transform")}; -g.AU=function(a){var b=a.zc;b&&!kl(b)?this.yb(a.ia(),"patternTransform",b.toString()):a.ia().removeAttribute("patternTransform")};g.zU=kB.prototype.Fs;g.uU=kB.prototype.Fs;g.xU=kB.prototype.Fs;g.DU=kB.prototype.Fs;g.rU=kB.prototype.Fs;g.Ly=function(a,b,c){nB(this,a,{width:b,height:c})};g.fF=function(a,b){FB(this,a.ia(),b)};function FB(a,b,c){b&&(c?a.yb(b,"id",c):b.removeAttribute("id"))} -g.gF=function(a,b){var c=a.ia();c&&(null!=b?(a.Ka||(a.Ka=lB("title"),this.yb(a.Ka,"aria-label","")),Mo(a.Ka)||Jo(c,a.Ka,0),a.Ka.innerHTML=b):a.Ka&&c.removeChild(a.Ka))};g.OK=function(a,b){var c=a.ia();c&&(null!=b?(a.ea||(a.ea=lB("desc"),this.yb(a.ea,"aria-label","")),Mo(a.ea)||Jo(c,a.ea,0),a.ea.innerHTML=b):a.ea&&c.removeChild(a.ea))};g.nU=function(a,b){var c=a.ia();if(c&&v(b))for(var d in b){var e=b[d];null===e?c.removeAttribute(d):this.yb(c,d,e)}}; -g.getAttribute=function(a,b){return a?a.getAttribute(b):void 0};g.qU=function(a,b){var c=a.ia();c&&(b?this.yb(c,"vector-effect","non-scaling-stroke"):c.removeAttribute("vector-effect"))};g.wU=ea;g.oU=function(a){nB(this,a.ia(),{cx:a.Yl(),cy:a.Zl(),r:a.ad()})};g.PK=function(a){nB(this,a.ia(),{cx:a.Yl(),cy:a.Zl(),rx:a.Jl(),ry:a.Ro()})};g.yU=function(a){var b=pB(a);b?this.yb(a.ia(),"d",b):this.yb(a.ia(),"d","M 0,0")}; -g.kR=function(a){for(var b=a.o,c=0;ca||a>=this.ec()||0>b||b>=this.ec())throw Oz(8);if(a!=b){var c=this.children[a];this.children[a]=this.children[b];this.children[b]=c;this.rb(128)}return this};g.XL=function(a){return!!a&&hj(this.children,a)};g.ec=function(){return this.children.length};g.ei=function(a,b){n(b)||(b=this);aj(this.children,a,b);return this};g.cf=function(){var a=BC();a.parent(this);return a};g.oM=function(){var a;a=new CC(void 0);a.parent(this);return a}; -g.text=function(a,b,c,d){a=DC(a,b);d&&a.style(d);c&&a.text(c);a.parent(this);return a};g.YL=function(a,b,c,d){a=DC(a,b);d&&a.style(d);c&&a.htmlText(c);a.parent(this);return a};g.rect=function(a,b,c,d){a=iC(a,b,c,d);a.parent(this);return a};g.vc=function(a,b,c,d,e){a=EC(a,b,c,d,e);a.parent(this);return a};g.bM=function(a,b){ec(arguments,this.path(),0);return FC.apply(this,arguments).parent(this)};g.aM=function(a,b){ec(arguments,this.path(),0);return GC.apply(this,arguments).parent(this)}; -g.nM=function(a,b){ec(arguments,this.path(),0);return HC.apply(this,arguments).parent(this)};g.cF=function(a,b,c){a=kC(a,b,c);a.parent(this);return a};g.dF=function(a,b,c,d){a=lC(a,b,c,d);a.parent(this);return a};g.path=function(){return Pl().parent(this)};g.cM=function(a,b,c,d,e,f,h){return IC(this.path(),a,b,c,d,e,f,h).parent(this)};g.eM=function(a,b,c){return JC(this.path(),a,b,c).parent(this)};g.fM=function(a,b,c){return KC(this.path(),a,b,c).parent(this)}; -g.gM=function(a,b,c){return LC(this.path(),a,b,c).parent(this)};g.hM=function(a,b,c){return MC(this.path(),a,b,c).parent(this)};g.dM=function(a,b,c){return NC(this.path(),a,b,c).parent(this)};g.mM=function(a,b,c){return OC(this.path(),a,b,c).parent(this)};g.jM=function(a,b,c){return PC(this.path(),a,b,c).parent(this)};g.lM=function(a,b,c){return QC(this.path(),a,b,c).parent(this)};g.kM=function(a,b,c){return RC(this.path(),a,b,c).parent(this)};g.UL=function(a,b,c){return SC(this.path(),a,b,c).parent(this)}; -g.SL=function(a,b,c){return TC(this.path(),a,b,c).parent(this)};g.TL=function(a,b,c){return UC(this.path(),a,b,c).parent(this)};g.WL=function(a,b,c){return VC(this.path(),a,b,c).parent(this)};g.pM=function(a,b,c){return WC(this.path(),a,b,c).parent(this)};g.ZL=function(a,b,c,d,e){return XC(this.path(),a,b,c,d,e).parent(this)};g.VL=function(a,b,c,d,e,f){return Gs(this.path(),a,b,c,d,e,f).parent(this)};g.Xn=function(){return mp.WB()}; -g.mh=function(){this.Oe(32)&&this.$L();var a;a=this.Ha();a=a.vv(Math.floor(Math.max(500-a.jl,0)/3));this.Oe(64)&&YC(this);var b=this.Ha();b.jl-=a-0;if(this.Oe(128)&&(a=this.Ha().vv(this.children.length+this.g.length+1),b=ZC(this,a),b=b&&(u=!1);if(u){for(;kl&&(l=0);l=Math.sqrt(l);f==h&&(l=-l);f=l*d*c/e;k=-l*e*b/d;l=zA(1,0,(b-f)/d,(c-k)/e);b=zA((b-f)/d,(c-k)/e,(-b-f)/d,(-c-k)/e)%360;!h&&0b&&(b+=360);return lD(a,d,e,l,b)} -function lD(a,b,c,d,e){if(0==a.o.length)throw Oz(9);if(0==e)return a;var f=a.Be[0]-Tk(d,b),h=a.Be[1]-Uk(d,c),k,l,m;m=Math.ceil(Math.abs(e)/359.999-2E-15);for(var p=e/m,q=0;qf;p+=m)switch((Math.floor(p/90)+4)%4){case 0:h.push(a+c);break;case 1:k.push(b+d);break;case 2:h.push(a-c);break;case 3:k.push(b-d)}l.left=Math.min.apply(null,h);l.width=Math.max.apply(null,h)-l.left;l.top=Math.min.apply(null,k);l.height=Math.max.apply(null,k)-l.top;em(this.rect,l)};nD=pD; -dD.prototype.kd=function(a){this.Vn=a.closePoint;this.Be=a.currentPoint;this.o=a.segments;this.j=a.count;this.F=a.arguments;this.rb(32);dD.G.kd.call(this,a)};dD.prototype.N=function(){var a=dD.G.N.call(this);a.type="path";a.closePoint=this.Vn?this.Vn.slice():[];a.currentPoint=this.Be?this.Be.slice():[];a.segments=this.o.slice();a.count=this.j.slice();a.arguments=this.F.slice();return a}; -dD.prototype.ca=function(){this.Be=this.Vn=null;this.Ud();this.Km=null;delete this.o;delete this.j;delete this.F;dD.G.ca.call(this)};function hD(a){a.o.length=0;a.j.length=0;a.F.length=0;a.Ud();a.Km=null;delete a.Vn;delete a.Be;delete a.XK};function hC(){dD.call(this)}E(hC,dD);g=hC.prototype;g.clear=function(){return jD(this)};g.moveTo=function(a,b){return this.nD(a,b)};g.lineTo=function(a,b,c){return dD.prototype.ym.apply(this,arguments)};g.Uj=function(a,b,c,d,e,f,h){return dD.prototype.ZB.apply(this,arguments)};g.Bq=function(a,b,c,d,e){return dD.prototype.r8.apply(this,arguments)};g.xd=function(a,b,c,d,e,f,h){a+=Tk(e,c);b+=Uk(e,d);this.Be&&this.Be[0]==a&&this.Be[1]==b||(h?this.ym(a,b):this.nD(a,b));return lD(this,c,d,e,f)}; -g.te=function(a,b,c,d,e,f){return kD(this,a,b,c,d,e,f)};g.arcTo=function(a,b,c,d){return lD(this,a,b,c,d)};g.Z2=function(a,b,c,d){return this.cQ(a,b,c,d)};g.close=function(){return this.NH()};g.ux=function(){return this.Be?new Yl(this.Be[0],this.Be[1]):null};C("acgraph.vector.Path",hC);hC.prototype.moveTo=hC.prototype.moveTo;hC.prototype.lineTo=hC.prototype.lineTo;hC.prototype.curveTo=hC.prototype.Uj;hC.prototype.quadraticCurveTo=hC.prototype.Bq;hC.prototype.arcTo=hC.prototype.arcTo; -hC.prototype.arcToByEndPoint=hC.prototype.te;hC.prototype.arcToAsCurves=hC.prototype.Z2;hC.prototype.circularArc=hC.prototype.xd;hC.prototype.close=hC.prototype.close;hC.prototype.clear=hC.prototype.clear;hC.prototype.getCurrentPoint=hC.prototype.ux;function NB(a,b,c,d){var e;a:{a=(a||"").toLowerCase();for(e in qD)if(qD[e].toLowerCase()==a){e=qD[e];break a}e="backwardDiagonal"}this.type=e;this.color=""+(null!=b?b:"black 0.5");this.b=null!=c?c:1;this.size=null!=d?d:10;PB.call(this,new Q(0,0,this.size,this.size));switch(this.type){case "backwardDiagonal":b=this.path();rD(b,-1,0,this.size+1,0,this.b);this.Il(-45);b.fill("none");b.stroke(this.color,this.b);break;case "forwardDiagonal":b=this.path();rD(b,-1,0,this.size+1,0,this.b);this.Il(45);b.fill("none"); -b.stroke(this.color,this.b);break;case "horizontal":b=this.path();rD(b,-1,this.size/2,this.size+1,this.size/2,this.b);b.fill("none");b.stroke(this.color,this.b);break;case "vertical":b=this.path();rD(b,this.size/2,-1,this.size/2,this.size+1,this.b);b.fill("none");b.stroke(this.color,this.b);break;case "diagonalCross":b=this.path();rD(b,0,this.size/2,this.size,this.size/2,this.b);rD(b,this.size/2,0,this.size/2,this.size,this.b);this.Il(45);b.fill("none");b.stroke(this.color,this.b);break;case "grid":b= -this.path();rD(b,-1,this.size/2,this.size+1,this.size/2,this.b);rD(b,this.size/2,-1,this.size/2,this.size+1,this.b);b.fill("none");b.stroke(this.color,this.b);break;case "horizontalBrick":b=this.path();rD(b,0,0,0,this.size/2-1,this.b);rD(b,0,this.size/2-1,this.size,this.size/2-1,this.b);rD(b,this.size/2,this.size/2-1,this.size/2,this.size-1,this.b);rD(b,0,this.size-1,this.size,this.size-1,this.b);b.fill("none");b.stroke(this.color,this.b);break;case "verticalBrick":b=this.path();rD(b,0,0,0,this.size/ -2-1,this.b);rD(b,0,this.size/2-1,this.size,this.size/2-1,this.b);rD(b,this.size/2,this.size/2-1,this.size/2,this.size-1,this.b);rD(b,0,this.size-1,this.size,this.size-1,this.b);this.Il(90);b.fill("none");b.stroke(this.color,this.b);break;case "diagonalBrick":b=this.path();rD(b,0,0,0,this.size/2-1,this.b);rD(b,0,this.size/2-1,this.size,this.size/2-1,this.b);rD(b,this.size/2,this.size/2-1,this.size/2,this.size-1,this.b);rD(b,0,this.size-1,this.size,this.size-1,this.b);this.Il(45);b.fill("none");b.stroke(this.color, -this.b);break;case "checkerBoard":this.rect(0,0,this.size/2,this.size/2).fill(this.color).stroke("none");this.rect(this.size/2,this.size/2,this.size,this.size).fill(this.color).stroke("none");break;case "confetti":b=this.size/8;c=this.size/4;this.rect(0,2*b,c,c).fill(this.color).stroke("none");this.rect(b,5*b,c,c).fill(this.color).stroke("none");this.rect(2*b,0,c,c).fill(this.color).stroke("none");this.rect(4*b,4*b,c,c).fill(this.color).stroke("none");this.rect(5*b,b,c,c).fill(this.color).stroke("none"); -this.rect(6*b,6*b,c,c).fill(this.color).stroke("none");break;case "plaid":c=this.rect(0,0,this.size/2,this.size/2);c.fill(this.color);c.stroke("none");b=this.size/8;d=!1;for(e=0;2>e;e++)for(d=!1,a=0;4>a;a++){d=!d;for(var f=0;4>f;f++)d&&(c=this.rect(a*b+e*this.size/2,f*b+this.size/2,b,b)),c.fill(this.color),c.stroke("none"),d=!d}break;case "solidDiamond":this.path().moveTo(this.size/2,0).lineTo(0,this.size/2).lineTo(this.size/2,this.size).lineTo(this.size,this.size/2).lineTo(this.size/2,0).close().fill(this.color).stroke("none"); -break;case "dashedForwardDiagonal":b=this.path();rD(b,0,0,this.size/2,this.size/2,this.b);b.fill("none");b.stroke(this.color,this.b);break;case "dashedBackwardDiagonal":b=this.path();rD(b,this.size/2,0,0,this.size/2,this.b);b.fill("none");b.stroke(this.color,this.b);break;case "dashedHorizontal":b=this.path();rD(b,0,0,this.size/2,0,this.b);rD(b,this.size/2,this.size/2,this.size,this.size/2,this.b);b.fill("none");b.stroke(this.color,this.b);break;case "dashedVertical":b=this.path();rD(b,0,0,0,this.size/ -2,this.b);rD(b,this.size/2,this.size/2,this.size/2,this.size,this.b);b.fill("none");b.stroke(this.color,this.b);break;case "divot":b=.1*this.size;c=this.size*(.8-.2)/2;this.path().moveTo(b+c,b).lineTo(b,b+c/2).lineTo(b+c,b+c).moveTo(this.size-b-c,this.size-b-c).lineTo(this.size-b,this.size-b-c/2).lineTo(this.size-b-c,this.size-b).fill("none").stroke(this.color,this.b);break;case "zigZag":b=this.path();b.moveTo(0,0).lineTo(this.size/2,this.size/2).lineTo(this.size,0).moveTo(0,this.size/2).lineTo(this.size/ -2,this.size).lineTo(this.size,this.size/2).fill("none").stroke(this.color,this.b);break;case "weave":this.path().moveTo(0,0).lineTo(this.size/2,this.size/2).lineTo(this.size,0).moveTo(0,this.size/2).lineTo(this.size/2,this.size).lineTo(this.size,this.size/2).moveTo(this.size/2,this.size/2).lineTo(3*this.size/4,3*this.size/4).moveTo(this.size,this.size/2).lineTo(3*this.size/4,this.size/4).fill("none").stroke(this.color,this.b);break;case "percent05":this.pb=new Q(0,0,8,8);this.rect(0,0,1,1).fill(this.color).stroke("none"); -this.rect(4,4,1,1).fill(this.color).stroke("none");break;case "percent10":this.pb=new Q(0,0,8,4);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(4,2,1,1);c.fill(this.color);c.stroke("none");break;case "percent20":this.pb=new Q(0,0,4,4);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,2,1,1);c.fill(this.color);c.stroke("none");break;case "percent25":this.pb=new Q(0,0,4,2);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,1,1,1);c.fill(this.color); -c.stroke("none");break;case "percent30":this.pb=new Q(0,0,4,4);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,3,1,1);c.fill(this.color);c.stroke("none");break;case "percent40":this.pb=new Q(0,0,4,8);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none"); -c=this.rect(2,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,3,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,3,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,4,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,4,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,5,1,1);c.fill(this.color);c.stroke("none"); -c=this.rect(3,5,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,6,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,6,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,7,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,7,1,1);c.fill(this.color);c.stroke("none");break;case "percent50":this.pb=new Q(0,0,2,2);c=this.rect(0,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,1,1,1);c.fill(this.color);c.stroke("none");break;case "percent60":this.pb=new Q(0,0,4,4);c=this.rect(0, -0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,0,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(3,1,1,1);c.fill(this.color);c.stroke("none");c=this.rect(0,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,2,1,1);c.fill(this.color);c.stroke("none");c=this.rect(1,3,1,1);c.fill(this.color);c.stroke("none");c=this.rect(2,3,1,1);c.fill(this.color);c.stroke("none");c= -this.rect(3,3,1,1);c.fill(this.color);c.stroke("none");break;case "percent70":this.pb=new Q(0,0,4,4);this.path().moveTo(0,0).lineTo(0,1).lineTo(1,1).lineTo(1,0).close().moveTo(2,0).lineTo(2,1).lineTo(3,1).lineTo(3,0).close().moveTo(3,0).lineTo(3,1).lineTo(4,1).lineTo(4,0).close().moveTo(0,1).lineTo(0,2).lineTo(1,2).lineTo(1,1).close().moveTo(1,1).lineTo(1,2).lineTo(2,2).lineTo(2,1).close().moveTo(2,1).lineTo(2,2).lineTo(3,2).lineTo(3,1).close().moveTo(0,2).lineTo(0,3).lineTo(1,3).lineTo(1,2).close().moveTo(2, -2).lineTo(2,3).lineTo(3,3).lineTo(3,2).close().moveTo(3,2).lineTo(3,3).lineTo(4,3).lineTo(4,2).close().moveTo(0,3).lineTo(0,4).lineTo(1,4).lineTo(1,3).close().moveTo(1,3).lineTo(1,4).lineTo(2,4).lineTo(2,3).close().moveTo(2,3).lineTo(2,4).lineTo(3,4).lineTo(3,3).close().fill(this.color).stroke("none");break;case "percent75":this.pb=new Q(0,0,4,4);c=this.rect(0,0,4,4);c.fill(this.color);c.stroke("none");c=this.rect(0,0,1,1);c.fill("white");c.stroke("none");c=this.rect(2,2,1,1);c.fill("white");c.stroke("none"); -break;case "percent80":this.pb=new Q(0,0,8,4);c=this.rect(0,0,8,4);c.fill(this.color);c.stroke("none");c=this.rect(0,0,1,1);c.fill("white");c.stroke("none");c=this.rect(4,2,1,1);c.fill("white");c.stroke("none");break;case "percent90":this.pb=new Q(0,0,8,8),c=this.rect(0,0,8,8),c.fill(this.color),c.stroke("none"),c=this.rect(7,7,1,1),c.fill("white"),c.stroke("none"),c=this.rect(4,3,1,1),c.fill("white"),c.stroke("none")}}E(NB,PB); -var qD={R9:"backwardDiagonal",g$:"forwardDiagonal",i$:"horizontal",R$:"vertical",Y9:"dashedBackwardDiagonal",h$:"grid",Z9:"dashedForwardDiagonal",a$:"dashedHorizontal",b$:"dashedVertical",iV:"diagonalCross",c$:"diagonalBrick",e$:"divot",j$:"horizontalBrick",S$:"verticalBrick",U9:"checkerBoard",W9:"confetti",A$:"plaid",C$:"solidDiamond",V$:"zigZag",U$:"weave",o$:"percent05",p$:"percent10",q$:"percent20",r$:"percent25",s$:"percent30",t$:"percent40",u$:"percent50",v$:"percent60",w$:"percent70",x$:"percent75", -y$:"percent80",z$:"percent90"};function rD(a,b,c,d,e,f){b===d&&(b=d=Math.round(b)+f%2/2);c===e&&(c=e=Math.round(c)+f%2/2);a.moveTo(b,c).lineTo(d,e)}NB.prototype.mj=function(){return"hatchFill"};NB.prototype.ca=function(){if(this.Ha()){var a=JB(this.Ha()),b=[this.type,this.color,this.b,this.size].join();ci(a.o,b)&&gi(a.o,b);a=so(this.id());Ko(a)}NB.G.ca.call(this)};NB.prototype.dispose=NB.prototype.gc;C("acgraph.vector.HatchFill.HatchFillType.BACKWARD_DIAGONAL","backwardDiagonal"); -C("acgraph.vector.HatchFill.HatchFillType.FORWARD_DIAGONAL","forwardDiagonal");C("acgraph.vector.HatchFill.HatchFillType.HORIZONTAL","horizontal");C("acgraph.vector.HatchFill.HatchFillType.VERTICAL","vertical");C("acgraph.vector.HatchFill.HatchFillType.DASHED_BACKWARD_DIAGONAL","dashedBackwardDiagonal");C("acgraph.vector.HatchFill.HatchFillType.GRID","grid");C("acgraph.vector.HatchFill.HatchFillType.DASHED_FORWARD_DIAGONAL","dashedForwardDiagonal"); -C("acgraph.vector.HatchFill.HatchFillType.DASHED_HORIZONTAL","dashedHorizontal");C("acgraph.vector.HatchFill.HatchFillType.DASHED_VERTICAL","dashedVertical");C("acgraph.vector.HatchFill.HatchFillType.DIAGONAL_CROSS","diagonalCross");C("acgraph.vector.HatchFill.HatchFillType.DIAGONAL_BRICK","diagonalBrick");C("acgraph.vector.HatchFill.HatchFillType.DIVOT","divot");C("acgraph.vector.HatchFill.HatchFillType.HORIZONTAL_BRICK","horizontalBrick"); -C("acgraph.vector.HatchFill.HatchFillType.VERTICAL_BRICK","verticalBrick");C("acgraph.vector.HatchFill.HatchFillType.CHECKER_BOARD","checkerBoard");C("acgraph.vector.HatchFill.HatchFillType.CONFETTI","confetti");C("acgraph.vector.HatchFill.HatchFillType.PLAID","plaid");C("acgraph.vector.HatchFill.HatchFillType.SOLID_DIAMOND","solidDiamond");C("acgraph.vector.HatchFill.HatchFillType.ZIG_ZAG","zigZag");C("acgraph.vector.HatchFill.HatchFillType.WEAVE","weave"); -C("acgraph.vector.HatchFill.HatchFillType.PERCENT_05","percent05");C("acgraph.vector.HatchFill.HatchFillType.PERCENT_10","percent10");C("acgraph.vector.HatchFill.HatchFillType.PERCENT_20","percent20");C("acgraph.vector.HatchFill.HatchFillType.PERCENT_25","percent25");C("acgraph.vector.HatchFill.HatchFillType.PERCENT_30","percent30");C("acgraph.vector.HatchFill.HatchFillType.PERCENT_40","percent40");C("acgraph.vector.HatchFill.HatchFillType.PERCENT_50","percent50"); -C("acgraph.vector.HatchFill.HatchFillType.PERCENT_60","percent60");C("acgraph.vector.HatchFill.HatchFillType.PERCENT_70","percent70");C("acgraph.vector.HatchFill.HatchFillType.PERCENT_75","percent75");C("acgraph.vector.HatchFill.HatchFillType.PERCENT_80","percent80");C("acgraph.vector.HatchFill.HatchFillType.PERCENT_90","percent90");function sD(a){ag.call(this);this.j={};this.D={};this.o={};this.g={};this.I=a}E(sD,ag);g=sD.prototype;g.Yc=null;g.ia=function(){return this.Yc};g.Da=function(){this.Yc=mp.NQ()};g.clear=function(){fi(this.j);fi(this.D);fi(this.o);fi(this.g);Ho(this.Yc)}; -function MB(a,b,c,d,e,f){e=n(e)?e:1;d=null!=d?d:"stretch";var h=[b,c.toString(),d,e].join(),k=null,l=ea;if(d==LB)l=function(d,k){var l;ci(a.g,h)?l=a.g[h]:(l=new PB(new Q(c.left,c.top,d,k)),l.vc().src(b).opacity(e).width(d).height(k),a.g[h]=l);f&&f.call(this,l)};else{if(ci(a.g,h))return a.g[h];k=new PB(c);switch(d){case "stretch":k.vc().src(b).opacity(e).width(c.width).height(c.height);break;case "fitMax":k.vc().src(b).opacity(e).width(c.width).height(c.height).Aq("xMidYMid").hu("slice");break;case "fit":k.vc().src(b).opacity(e).width(c.width).height(c.height).Aq("xMidYMid")}a.g[h]= -k}mp.jD(b,l);l=null;return a.g[h]}function OB(a,b,c,d,e){b=null!=b?b:"backwardDiagonal";c=null!=c?c:"black";d=null!=d?d:1;e=null!=e?e:10;var f=[b,c,d,e].join();return ci(a.o,f)?a.o[f]:a.o[f]=new NB(b,c,d,e)}function HB(a,b,c,d,e,f){var h=bB(b,c,d,e,f);return ci(a.j,h)?a.j[h]:a.j[h]=new aB(b,c,d,e,f)}g.RT=function(a){var b=bB(a.keys,a.opacity,a.Nj,a.mode,a.transform);ci(this.j,b)&&gi(this.j,b);a=so(a.id());Ko(a)}; -function CB(a,b,c,d,e,f,h,k,l){var m=dB(b,c,d,e,f,h,k,l);return ci(a.D,m)?a.D[m]:a.D[m]=new cB(b,c,d,e,f,h,k,l)}g.TT=function(a){var b=dB(a.keys,a.ke,a.ae,a.b,a.g,a.opacity,a.pb,a.transform);ci(this.D,b)&&gi(this.D,b);a=so(a.id());Ko(a)};g.ca=function(){Ko(this.Yc);this.j=this.Yc=null;delete this.I};function IC(a,b,c,d,e,f,h,k){a=a.path?a.path():a;if(2>f)return a;h=h||0;var l=Tk(h,d),m=Uk(h,d),p=360/(2*f),q;a.moveTo(l+b,m+c);if(k)for(q=0;qd&&(d=0);0>e&&(e=0);if(d=e)return XC(a,b,c,d,f,h);a=a.path?a.path():a;h=Ac(h,-360,360);k=360>Math.abs(h);a.xd(b,c,d,d,f,h).xd(b,c,e,e,f+h,-h,k);k&&a.close();return a}function tD(a,b,c,d,e,f){a=Tk(c,a);b=Tk(d,b)-a;return 0<=e?a+b*(f+e-f*e):a+b*f*(e+1)}function uD(a,b,c,d,e,f){a=Uk(c,a);b=Uk(d,b)-a;return 0<=e?a+b*(f+e-f*e):a+b*f*(e+1)} -function vD(a){var b,c,d;switch(a.length){case 1:b=c=d=a[0];a.push(b,c,d);break;case 2:c=a[0];d=a[1];a.push(c,d);break;case 3:d=a[1];a.push(d);break;case 4:break;default:a.push(5,5,5,5)}} -function HC(a,b,c){var d=a.path?a.path():a,e,f,h,k;6==arguments.length?(e=arguments[2],f=arguments[3],h=arguments[4],k=arguments[5],d.moveTo(b.left+e,b.top).lineTo(b.left+b.width-f,b.top).lineTo(b.left+b.width,b.top+f).lineTo(b.left+b.width,b.top+b.height-h).lineTo(b.left+b.width-h,b.top+b.height).lineTo(b.left+k,b.top+b.height).lineTo(b.left,b.top+b.height-k).lineTo(b.left,b.top+e).close()):(k=Fc(arguments,2,6),vD(k),e=k[0],f=k[1],h=k[2],k=k[3],HC(d,b,e,f,h,k));return d} -function FC(a,b,c){var d=a.path?a.path():a,e,f,h,k;6==arguments.length?(e=arguments[2],f=arguments[3],h=arguments[4],k=arguments[5],d.moveTo(b.left+e,b.top).lineTo(b.left+b.width-f,b.top).te(b.left+b.width,b.top+f,f,f,!1,!0).lineTo(b.left+b.width,b.top+b.height-h).te(b.left+b.width-h,b.top+b.height,h,h,!1,!0).lineTo(b.left+k,b.top+b.height).te(b.left,b.top+b.height-k,k,k,!1,!0),0!=e&&(d.lineTo(b.left,b.top+e),d.te(b.left+e,b.top,e,e,!1,!0)),d.close()):(k=Fc(arguments,2,6),vD(k),e=k[0],f=k[1],h=k[2], -k=k[3],FC(d,b,e,f,h,k));return d} -function GC(a,b,c){var d=a.path?a.path():a,e,f,h,k;6==arguments.length?(e=arguments[2],f=arguments[3],h=arguments[4],k=arguments[5],d.moveTo(b.left+e,b.top).lineTo(b.left+b.width-f,b.top).te(b.left+b.width,b.top+f,f,f,!1,!1).lineTo(b.left+b.width,b.top+b.height-h).te(b.left+b.width-h,b.top+b.height,h,h,!1,!1).lineTo(b.left+k,b.top+b.height).te(b.left,b.top+b.height-k,k,k,!1,!1),0!=e&&d.lineTo(b.left,b.top+e).te(b.left+e,b.top,e,e,!1,!1),d.close()):(k=Fc(arguments,2,6),vD(k),e=k[0],f=k[1],h=k[2],k= -k[3],GC(d,b,e,f,h,k));return d}C("acgraph.vector.primitives.star",IC);C("acgraph.vector.primitives.star4",JC);C("acgraph.vector.primitives.star5",KC);C("acgraph.vector.primitives.star6",LC);C("acgraph.vector.primitives.star7",MC);C("acgraph.vector.primitives.star10",NC);C("acgraph.vector.primitives.diamond",SC);C("acgraph.vector.primitives.triangleUp",OC);C("acgraph.vector.primitives.triangleDown",PC);C("acgraph.vector.primitives.triangleRight",QC);C("acgraph.vector.primitives.triangleLeft",RC); -C("acgraph.vector.primitives.cross",TC);C("acgraph.vector.primitives.diagonalCross",UC);C("acgraph.vector.primitives.hLine",VC);C("acgraph.vector.primitives.vLine",WC);C("acgraph.vector.primitives.pie",XC);C("acgraph.vector.primitives.donut",Gs);C("acgraph.vector.primitives.truncatedRect",HC);C("acgraph.vector.primitives.roundedRect",FC);C("acgraph.vector.primitives.roundedInnerRect",GC);function eC(a,b,c,d){this.b=new Q(a||0,b||0,c||0,d||0);this.J=[];this.O=[0,0,0,0];dD.call(this);wD(this)}E(eC,dD);g=eC.prototype;g.di=dC.prototype.di|32;g.mj=function(){return"rect"};g.fk=function(a){a!=this.b.left&&(this.b.left=a,wD(this));return this};g.gk=function(a){a!=this.b.top&&(this.b.top=a,wD(this));return this};g.ek=function(a){this.b.width!=a&&(this.b.width=a,wD(this));return this};g.ck=function(a){this.b.height!=a&&(this.b.height=a,wD(this));return this}; -g.pg=function(a){dm(this.b,a)||(this.b.left=a.left,this.b.top=a.top,this.b.width=a.width,this.b.height=a.height,wD(this));return this};g.NK=function(a,b){var c,d,e,f;c=Fc(arguments,1);d=c[0];z(d)?f=Yi(d,4):f=c;4>f.length?f=e=d=c=parseFloat(f[0]):(c=parseFloat(f[0]),d=parseFloat(f[1]),e=parseFloat(f[2]),f=parseFloat(f[3]));this.O[0]=c?c:0;this.J[0]=c?a:void 0;this.O[1]=d?d:0;this.J[1]=d?a:void 0;this.O[2]=e?e:0;this.J[2]=e?a:void 0;this.O[3]=f?f:0;this.J[3]=f?a:void 0}; -function wD(a){var b=!a.Ha()||a.Ha().Fe();b||a.Ha().qf();jD(a);var c=a.O[0];a.nD(a.b.left+c,a.b.top);c=a.O[1];a.ym(a.b.left+a.b.width-a.O[1],a.b.top);if(a.J[1])switch(a.J[1]){case "round":kD(a,a.b.left+a.b.width,a.b.top+c,c,c,!1,!0);break;case "roundInner":kD(a,a.b.left+a.b.width,a.b.top+c,c,c,!1,!1);break;case "cut":a.ym(a.b.left+a.b.width,a.b.top+c)}c=a.O[2];a.ym(a.b.left+a.b.width,a.b.top+a.b.height-c);if(a.J[2])switch(a.J[2]){case "round":kD(a,a.b.left+a.b.width-c,a.b.top+a.b.height,c,c,!1,!0); -break;case "roundInner":kD(a,a.b.left+a.b.width-c,a.b.top+a.b.height,c,c,!1,!1);break;case "cut":a.ym(a.b.left+a.b.width-c,a.b.top+a.b.height)}c=a.O[3];a.ym(a.b.left+c,a.b.top+a.b.height);if(a.J[3])switch(a.J[3]){case "round":kD(a,a.b.left,a.b.top+a.b.height-c,c,c,!1,!0);break;case "roundInner":kD(a,a.b.left,a.b.top+a.b.height-c,c,c,!1,!1);break;case "cut":a.ym(a.b.left,a.b.top+a.b.height-c)}c=a.O[0];a.ym(a.b.left,a.b.top+c);if(a.J[0])switch(a.J[0]){case "round":kD(a,a.b.left+c,a.b.top,c,c,!1,!0); -break;case "roundInner":kD(a,a.b.left+c,a.b.top,c,c,!1,!1)}a.NH();b||a.Ha().nf()}g.round=function(a,b,c,d){kc(arguments,0,0,"round");this.NK.apply(this,arguments);wD(this);return this};g.D8=function(a,b,c,d){kc(arguments,0,0,"roundInner");this.NK.apply(this,arguments);wD(this);return this};g.B3=function(a,b,c,d){kc(arguments,0,0,"cut");this.NK.apply(this,arguments);wD(this);return this}; -g.kd=function(a){eC.G.kd.call(this,a);this.fk(a.x).gk(a.y).ek(a.width).ck(a.height);a.cornerTypes&&(this.J=Yi(a.cornerTypes,4),a=Yi(a.cornerSizes,4),aj(a,function(a,c,d){d[c]=parseFloat(a)}),this.O=a,wD(this))};g.N=function(){var a=eC.G.N.call(this);a.type="rect";a.x=this.b.left;a.y=this.b.top;a.width=this.b.width;a.height=this.b.height;a.cornerTypes=this.J.join(" ");a.cornerSizes=this.O.join(" ");return a};g.ca=function(){this.b=this.J=this.O=null;this.Ud();eC.G.ca.call(this)}; -C("acgraph.vector.Rect",eC);eC.prototype.setX=eC.prototype.fk;eC.prototype.setY=eC.prototype.gk;eC.prototype.setWidth=eC.prototype.ek;eC.prototype.setHeight=eC.prototype.ck;eC.prototype.setBounds=eC.prototype.pg;eC.prototype.cut=eC.prototype.B3;eC.prototype.round=eC.prototype.round;eC.prototype.roundInner=eC.prototype.D8;function xD(a){sD.call(this,a);this.b={}}E(xD,sD);xD.prototype.clear=function(){fi(this.b);xD.G.clear.call(this)};function TB(a,b){var c=YA(XA.qc(),b),d=a.b[c];if(!d){var d=a.b,e;e=lB("clipPath");d[c]=d=e}return d}xD.prototype.ca=function(){xD.G.ca.call(this);for(var a in this.b)delete this.b[a];delete this.b};function yD(a,b){this.$=!1;this.Ga=a||0;this.Ma=b||0;this.pb=new Q(this.Ga,this.Ma,0,0);this.X=this.F=this.Bb=this.D=0;this.Ja=!1;this.b=[];this.g=[];this.ua=this.Qb=this.J=0;this.Qa=!0;this.de=this.O=this.Ba=this.ib=0;this.Y=[];this.ga=1;this.fa=zD;this.j=0;this.la=this.o=!1;this.Ec=this.pf={fontSize:ca.acgraph.fontSize,color:ca.acgraph.fontColor,fontFamily:ca.acgraph.fontFamily,direction:ca.acgraph.textDirection,textOverflow:zD,textWrap:AD,selectable:!0,hAlign:zB};nC.call(this)}E(yD,nC); -var AD="noWrap",zD="",yB="left",zB="start",xB="end",AB="right",BD={k$:yB,J$:zB,T9:"center",f$:xB,B$:AB},CD={L$:"top",m$:"middle",S9:"bottom"};g=yD.prototype;g.di=nC.prototype.di|17440;g.Ec=null;g.mc=null;g.x=function(a){return null!=a?(this.Ga!=a&&(this.Ga=a,this.$&&DD(this),this.pb.left=a,this.rb(16384),this.Ud()),this):this.Ga};g.y=function(a){return null!=a?(this.Ma!=a&&(this.Ma=a,this.$&&ED(this),this.pb.top=a,this.rb(16384),this.Ud()),this):this.Ma}; -function FD(a,b,c){if(n(c)){if(c!==a.Ec[b]){var d=!a.Ha()||a.Ha().Fe();d||a.Ha().qf();a.Ec[b]=c;a.$=!1;a.rb(1024);a.rb(32);a.rb(16384);a.oq();d||a.Ha().nf()}return a}return a.Ec[b]}g.oq=function(){if(mp.vy()){var a=this.Se();a&&!kl(a)&&this.rb(4)}};g.width=function(a){n(a)&&FD(this,"width")!=a&&(this.lb=a=Math.max(a,0)||0);return FD(this,"width",a)};g.height=function(a){n(a)&&FD(this,"height")!=a&&(this.Fb=a=Math.max(a,0)||0);return FD(this,"height",a)}; -g.opacity=function(a){return null!=a?(this.Ec.opacity=a,this.rb(1024),this):this.Ec.opacity};g.color=function(a){return null!=a?(this.Ec.color=a,this.rb(1024),this):this.Ec.color};g.fontSize=function(a){return FD(this,"fontSize",a)};g.fontFamily=function(a){return FD(this,"fontFamily",a)};g.Eq=function(a){return FD(this,"direction",a)};g.fontStyle=function(a){return FD(this,"fontStyle",a)};g.fontVariant=function(a){return FD(this,"fontVariant",a)}; -g.fontWeight=function(a){return FD(this,"fontWeight",a)};g.letterSpacing=function(a){return FD(this,"letterSpacing",a)};g.Yn=function(a){return FD(this,"decoration",a)};g.sv=function(a){null!=a&&(this.ga=GD(a));return FD(this,"lineHeight",a)};function GD(a){var b=parseFloat(a);return isNaN(b)||0>b?1:z(a)&&vi(a,"%")?1+parseFloat(a)/100:a}g.tv=function(a){null!=a&&(this.j=a);return FD(this,"textIndent",a)}; -g.An=function(a){if(n(a))if("center"==a)a="middle";else{var b=!1;Me(CD,function(c){a==c&&(b=!0)});b||(a="top")}return FD(this,"vAlign",a)};g.Wk=function(a){if(n(a))if("middle"==a)a="center";else{var b=!1;Me(BD,function(c){a==c&&(b=!0)});b||(a=zB)}return FD(this,"hAlign",a)};g.uv=function(a){return FD(this,"textWrap",a)};g.Kl=function(a){null!=a&&(this.fa=a);return FD(this,"textOverflow",a)};g.Fq=function(a){return FD(this,"selectable",a)}; -g.style=function(a){if(null!=a){a&&li(this.Ec,a);this.lb=parseFloat(this.Ec.width)||0;this.Fb=parseFloat(this.Ec.height)||0;this.Ec.lineHeight&&(this.ga=GD(this.Ec.lineHeight));var b,c=this.Ec.vAlign;null!=c&&("center"==c?this.Ec.vAlign="middle":(b=!1,Me(CD,function(a){c==a&&(b=!0)}),b||(this.Ec.vAlign="top")));var d=this.Ec.hAlign;null!=d&&("middle"==d?this.Ec.hAlign="center":(b=!1,Me(BD,function(a){d==a&&(b=!0)}),b||(this.Ec.hAlign=zB)));null!=this.Ec.direction&&(this.o="rtl"==this.Ec.direction); -null!=this.Ec.textOverflow&&(this.fa=this.Ec.textOverflow);null!=this.Ec.textIndent&&(this.j=this.Ec.textIndent);this.o&&(this.j=0);(a=!this.Ha()||this.Ha().Fe())||this.Ha().qf();this.$=!1;this.rb(1024);this.rb(32);this.rb(16384);this.rb(4);this.oq();a||this.Ha().nf();return this}return this.Ec}; -g.text=function(a){return n(a)?(a!=this.mc&&(this.mc=String(a),this.Ja=!1,(a=!this.Ha()||this.Ha().Fe())||this.Ha().qf(),this.$=!1,this.rb(1024),this.rb(32),this.rb(16384),this.oq(),a||this.Ha().nf()),this):this.mc};g.htmlText=function(a){return n(a)?(a!=this.mc&&(this.mc=String(a),this.Ja=!0,(a=!this.Ha()||this.Ha().Fe())||this.Ha().qf(),this.$=!1,this.rb(1024),this.rb(32),this.rb(16384),this.oq(),a||this.Ha().nf()),this):this.mc};g.mj=function(){return"text"};g.rh=function(){return this.pb.clone()}; -g.Xj=function(a){this.$||this.tE();if(!a)return this.pb.clone();var b=a==this.zc,c=a==this.Se();if(this.ie&&b)return this.ie.clone();if(this.Pf&&c)return this.Pf.clone();a=xA(this.pb.clone(),a);b&&(this.ie=a.clone());c&&(this.Pf=a.clone());return a};g.XS=function(a){for(var b=mp.j,c=arguments,d={},e=0,f=b.length;ee&&1a.lb?a.lb-d.width-e:a.j,0>a.j&&(a.j=0));a.ua=Math.max(a.ua,d.height);a.J+=d.width;0==a.b.length&&(a.J+=a.j);a.O=Math.max(a.O,c.g);a.Qa=a.g.length?a.Qa&&0==b.length:0==b.length;a.g.push(c);a.b.push(c);c.parent(a);return c} -function JD(a){var b,c,d,e,f=Zi(a.Y),h=Zi(f),k=a.pj(a.fa,h.b),l=a.fa;k.width>a.lb&&(d=HD(a,a.fa,h.b,0,a.lb,k),l=a.fa.substring(0,d));d=a.Qb;var m=a.lb;if(""==l)c=$i(a.b,h)+1,kc(a.b,c,a.b.length-c);else if(m-d>=k.width)a.g=f,c=$i(a.b,h)+1,kc(a.b,c,a.b.length-c),e=ID(a,l,h.b,k),2==a.g.length&&""==a.g[0].text&&(e.j=a.Ba-a.g[0].height,e.I=!0);else{for(var p=f.length-1;!b&&0<=p;)h=f[p],k=a.pj(l,h.b),c=a.pj(h.text,h.b),d-c.width+k.width<=a.lb&&(b=h),d-=c.width,p--;b||1!=a.Y.length||(b=f[0],d-=c.width); -b&&(a.g=f,p=a.g[0].j,m-=k.width,c=$i(f,b),kc(f,c,f.length-c),c=$i(a.b,b),kc(a.b,c,a.b.length-c),a.ua=0,a.J=0,a.O=0,c=a.pj(b.text,b.b),d=HD(a,b.text,b.b,d,m,c),1>d&&(d=1),m=b.text.substring(0,d),f=a.pj(m,b.b),m=ID(a,m,b.b,f,k.width),m.x=b.x,m.y=b.y,f.width+k.width>a.lb&&(d=HD(a,a.fa,h.b,f.width,a.lb,k),l=a.fa.substring(0,d)),0a.lb&&!a.la;){var f=HD(a,b,c,e+a.J,a.lb,d);1>f&&0==a.g.length&&(f=1);0!=f&&(e=b.substring(0,f).replace(/[\s\xa0]+$/,""),d=a.pj(e,c),ID(a,e,c,d));LD(a);1==b.length&&(a.la=!0);e=0;"byLetter"==a.Ec.textWrap?(b=b.substring(f,b.length).replace(/^[\s\xa0]+/,""),d=a.pj(b,c)):a.Ja?(b="",d=a.pj(b,c)):a.la=!0}a.la||ID(a,b,c,d)}} -function LD(a){a.uv()!=AD||1!=a.Y.length||a.Ja||JD(a);if(!a.la&&0!=a.g.length){var b=0==a.Y.length;if(a.Fb&&a.D+a.ua>a.Fb&&0!=a.Y.length)JD(a);else{a.ua=z(a.ga)?parseInt(a.ga,0)+a.ua:a.ga*a.ua;if(mp.fT()){var c,d,e,f;c=a.o&&a.Ec.hAlign==zB||!a.o&&a.Ec.hAlign==xB||a.Ec.hAlign==AB;d="center"==a.Ec.hAlign;if(a.o&&a.Ec.hAlign==xB||!a.o&&a.Ec.hAlign==zB||a.Ec.hAlign==yB)for(c=a.o?0:a.j&&b?a.j:0,d=0,e=a.g.length;d"!=e)break;"br"==a.tagName&&KD(a.I);a.tagName="";k=!1;a.state=1;break}if(!a.tagName&&"<"==e){a.b+="<";break}if(!a.tagName&&h&&"/"!=e){a.b+="<"+e;a.state=1;break}if(!a.tagName&&"/"==e){a.state=3;break}if("br"==a.tagName&&">"==e){KD(a.I);a.tagName="";a.state=1;break}if("br"==a.tagName&&("/"==e||f)){k=!0;break}a.tagName&&QA(a);if(a.tagName&&f){a.state=4;break}if(">"==e){TA(a);break}a.tagName+=e.toLowerCase();break;case 3:if(k){if(">"!=e)break;SA(a);k=!1;break}if(!a.J&& -h){a.b+=""==e){SA(a);k=!1;break}a.J+=e.toLowerCase();break;case 4:if(k){if(">"!=e)break;TA(a,!0);k=!1;break}if(">"==e){TA(a,!0);break}if(f){a.state=5;break}if("="==e){a.g&&(a.state="style"==a.g?6:8);break}a.g+=e.toLowerCase();break;case 5:if(">"==e){TA(a,!0);break}if(f)break;if(a.g&&!h){a.g=e;a.state=4;break}if("="==e){a.g&&(a.state="style"==a.g?6:8);break}a.g+=e;a.state=4;break;case 6:if(f)break;if(">"==e){TA(a,!0);break}if("'"==e||'"'==e){a.$=e;a.state= -9;break}a.o=e;a.state=10;break;case 8:if(f)break;if(">"==e){a.g="";a.tagName="";a.state=1;break}if("'"==e||'"'==e){a.$=e;a.state=7;break}a.state=11;break;case 9:if(f)break;if(e==a.$){k=!0;UA(a,4,!0);break}if(":"==e){a.state=12;break}a.o+=e.toLowerCase();break;case 12:if(f)break;if(e==a.$){k=!0;UA(a,4,!0);break}if(";"==e){UA(a,9);break}a.F+=e.toLowerCase();break;case 7:if(e==a.$){a.g="";a.state=4;break}break;case 10:if(f){k=!0;UA(a,4,!0);break}if(">"==e){VA(a);break}if(":"==e){a.state=13;break}a.o+= -e;break;case 11:if(f){UA(a,4,!0);break}if(">"==e){TA(a);break}break;case 13:if(f){k=!0;UA(a,4,!0);break}if(">"==e){VA(a);break}if(";"==e){UA(a,10);break}a.F+=e.toLowerCase();break;default:throw"Error while parsing HTML: Symbol '"+e+"', position: "+(d-1);}QA(a);LD(a.I)}else for(this.mc=yi(this.mc.replace(/\xa0|[ \t]+/g," ")),c=this.mc.split(/\n/g),b=0;bk?[k/h*d,k]:[c,k],k[0]-=e||0,k[1]-=f||0,a= -a.Dq(k[0],k[1])):a=a.Dq();b.data=a;b.dataType="svg";b.responseType="file"}g.BM=function(a,b,c,d,e,f,h,k){if(XD==YD){var l={};aE(this,l,d,e,f,h,k);UD("pdf",l,!!c,!0,a,b)}else alert(Oz(15))};g.xM=function(a,b,c,d,e){if(XD==YD){var f={};WD(this,f,c,d,e);UD("png",f,!0,!1,a,b)}else alert(Oz(15))};g.vM=function(a,b,c,d,e,f){if(XD==YD){var h={};ZD(this,h,c,d,e,f);UD("jpg",h,!0,!1,a,b)}else alert(Oz(15))};g.yM=function(a,b,c,d){if(XD==YD){var e={};$D(this,e,c,d);UD("svg",e,!0,!1,a,b)}else alert(Oz(15))}; -g.wM=function(a,b,c,d,e,f){if(XD==YD){var h={};aE(this,h,c,d,e,f);UD("pdf",h,!0,!1,a,b)}else alert(Oz(15))};g.aq=function(a,b,c,d){if(XD==YD){var e={};WD(this,e,a,b,c,d);SD(this);Ss(VD+"/png",e)}else alert(Oz(15))};g.Zp=function(a,b,c,d,e){if(XD==YD){var f={};ZD(this,f,a,b,c,d,e);SD(this);Ss(VD+"/jpg",f)}else alert(Oz(15))};g.$p=function(a,b,c,d,e){if(XD==YD){var f={};aE(this,f,a,b,c,d,e);SD(this);Ss(VD+"/pdf",f)}else alert(Oz(15))}; -g.bq=function(a,b,c){if(XD==YD){var d={};$D(this,d,a,b,c);SD(this);Ss(VD+"/svg",d)}else alert(Oz(15))}; -g.print=function(a,b){if(n(a)||n(b)){var c=cC(a,b,"usletter"),d=FA().contentWindow.document,e=Bo("DIV");Rl(e,{width:c.width,height:c.height});d.body.appendChild(e);var d=Mo(this.ia()),f=Nl(d,"width"),h=Nl(d,"height");er(d,c.width,c.height);TD(this);c=this.ia();"svg"==c.tagName&&c.cloneNode?(c=c.cloneNode(!0),e.appendChild(c)):bE(e).data(this.data());Rl(d,"width",f);Rl(d,"height",h);TD(this)}else e=FA().contentWindow.document,f=this.ia(),"svg"==f.tagName?f.cloneNode?d=f.cloneNode(!0):(f=bE(e.body), -f.data(this.data()),d=f.ia()):(f=bE(e.body),f.data(this.data())),f=d,h=mp,h.yb(f,"width","100%"),h.yb(f,"height","100%"),h.yb(f,"viewBox","0 0 "+this.width()+" "+this.height()),Rl(f,"width","100%"),Rl(f,"height",""),Rl(f,"max-height","100%"),e.body.appendChild(d);HA()}; -g.Dq=function(a,b){if(XD!=YD)return"";var c="";if(n(a)||n(b)){var c=cC(a,b),d=Mo(this.ia()),e=Nl(d,"width"),f=Nl(d,"height");er(d,c.width,c.height);TD(this);this.Sb();mp.Ly(this.ia(),this.width(),this.height());c=cE(this.ia());Rl(d,"width",e);Rl(d,"height",f);TD(this);this.Sb()}else mp.Ly(this.ia(),this.width(),this.height()),c=cE(this.ia()),mp.Ly(this.ia(),this.Fu,this.Eu);return''+c}; -function cE(a){var b="";a&&(b=(new XMLSerializer).serializeToString(a));return b}g.cf=AC.prototype.cf;g.VV=AC.prototype.oM;g.text=AC.prototype.text;g.AV=AC.prototype.YL;g.rect=AC.prototype.rect;g.vc=AC.prototype.vc;g.HV=AC.prototype.bM;g.GV=AC.prototype.aM;g.UV=AC.prototype.nM;g.tM=AC.prototype.cF;g.uM=AC.prototype.dF;g.path=AC.prototype.path;g.IV=AC.prototype.cM;g.KV=AC.prototype.eM;g.LV=AC.prototype.fM;g.MV=AC.prototype.gM;g.NV=AC.prototype.hM;g.JV=AC.prototype.dM;g.TV=AC.prototype.mM;g.QV=AC.prototype.jM; -g.SV=AC.prototype.lM;g.RV=AC.prototype.kM;g.tV=AC.prototype.UL;g.qV=AC.prototype.SL;g.sV=AC.prototype.TL;g.yV=AC.prototype.WL;g.WV=AC.prototype.pM;g.DV=AC.prototype.ZL;g.uV=AC.prototype.VL;g.CV=function(a){return new PB(a)};g.Mb=function(a,b,c,d){return bC(a,b,c,d)};g.ec=function(){return this.j.ec()};g.ab=function(a){this.j.ab(a);return this};g.Ae=function(a,b){this.j.Ae(a,b);return this};g.Bc=function(a){return this.j.Bc(a)};g.removeChild=function(a){return this.j.removeChild(a)};g.EV=function(a){return this.j.Az(a)}; -g.FV=function(){return this.j.ov()};g.zV=function(a){return this.j.XL(a)};g.Xd=function(a){return this.j.Xd(a)};g.OV=function(a,b){this.j.iM(a,b);return this};g.PV=function(a,b){this.j.eF(a,b);return this};g.vV=function(a,b){this.j.ei(a,b);return this};g.remove=function(){var a=this.ia();Ko(a);return this};g.tD=function(a){this.j.tD(a)};g.Ow=ea;g.title=function(a){return n(a)?(this.$!=a&&(this.$=a,mp.gF(this,this.$)),this):this.$}; -g.rV=function(a){return n(a)?(this.ua!=a&&(this.ua=a,mp.OK(this,this.ua)),this):this.ua};g.wV=function(){return 0};g.xV=function(){return 0};g.jb=function(){return new Q(0,0,this.width(),this.height())};g.Il=function(a,b,c){this.j.Il(a,b,c);return this};g.vn=function(a,b){this.j.vn(a,b);return this};g.Cs=function(a,b,c){this.j.Cs(a,b,c);return this};g.Ky=function(a,b){this.j.Ky(a,b);return this};g.translate=function(a,b){this.j.translate(a,b);return this}; -g.setPosition=function(a,b){this.j.setPosition(a,b);return this};g.scale=function(a,b,c,d){this.j.scale(a,b,c,d);return this};g.XD=function(a,b,c){this.j.XD(a,b,c);return this};g.Rt=function(a,b,c,d,e,f){this.j.Rt(a,b,c,d,e,f);return this};g.Vb=function(a,b,c,d,e,f){this.j.Vb(a,b,c,d,e,f);return this};g.ou=function(){return this.j.ou()};g.BC=function(){return this.j.BC()};g.Se=function(){return null};g.clip=function(a){return this.j.clip(a)};g.MQ=function(a,b,c,d){return new SB(this,a,b,c,d)}; -g.dispatchEvent=function(a){z(a)?a=a.toLowerCase():"type"in a&&(a.type=String(a.type).toLowerCase());return R.G.dispatchEvent.call(this,a)};g.pa=function(a,b,c,d){return R.G.pa.call(this,String(a).toLowerCase(),b,c,d)};g.Zd=function(a,b,c,d){return R.G.Zd.call(this,String(a).toLowerCase(),b,c,d)};g.Ac=function(a,b,c,d){return R.G.Ac.call(this,String(a).toLowerCase(),b,c,d)};g.xh=function(a){n(a)&&(a=String(a).toLowerCase());return R.G.xh.call(this,a)}; -g.kd=function(a){this.width(a.width).height(a.height);a.type="layer";this.j.kd(a);this.j.id("");"id"in a&&this.id(a.id)};g.N=function(){var a=this.j.N();this.Dd&&(a.id=this.Dd);a.width=this.width();a.height=this.height();delete a.type;return a};g.gc=function(){R.G.gc.call(this)};g.ca=function(){R.G.ca.call(this);dg(this.su);this.su=null;oq(this.vj);dg(this.vj);this.vj=null;dg(this.j);this.mh();delete this.j;dg(this.D);delete this.D;wC(this);Ko(this.Lc);this.o=this.Lc=this.Yc=null}; -C("acgraph.vector.Stage",R);R.prototype.id=R.prototype.id;R.prototype.container=R.prototype.P;R.prototype.dispose=R.prototype.gc;R.prototype.getBounds=R.prototype.jb;R.prototype.layer=R.prototype.cf;R.prototype.unmanagedLayer=R.prototype.VV;R.prototype.circle=R.prototype.tM;R.prototype.ellipse=R.prototype.uM;R.prototype.rect=R.prototype.rect;R.prototype.truncatedRect=R.prototype.UV;R.prototype.roundedRect=R.prototype.HV;R.prototype.roundedInnerRect=R.prototype.GV;R.prototype.path=R.prototype.path; -R.prototype.star=R.prototype.IV;R.prototype.star4=R.prototype.KV;R.prototype.star5=R.prototype.LV;R.prototype.star6=R.prototype.MV;R.prototype.star7=R.prototype.NV;R.prototype.star10=R.prototype.JV;R.prototype.diamond=R.prototype.tV;R.prototype.triangleUp=R.prototype.TV;R.prototype.triangleDown=R.prototype.QV;R.prototype.triangleRight=R.prototype.SV;R.prototype.triangleLeft=R.prototype.RV;R.prototype.cross=R.prototype.qV;R.prototype.diagonalCross=R.prototype.sV;R.prototype.hLine=R.prototype.yV; -R.prototype.vLine=R.prototype.WV;R.prototype.pie=R.prototype.DV;R.prototype.donut=R.prototype.uV;R.prototype.text=R.prototype.text;R.prototype.html=R.prototype.AV;R.prototype.image=R.prototype.vc;R.prototype.data=R.prototype.data;R.prototype.saveAsPNG=R.prototype.aq;R.prototype.saveAsJPG=R.prototype.Zp;R.prototype.saveAsPDF=R.prototype.$p;R.prototype.saveAsSVG=R.prototype.bq;R.prototype.saveAsPng=R.prototype.aq;R.prototype.saveAsJpg=R.prototype.Zp;R.prototype.saveAsPdf=R.prototype.$p; -R.prototype.saveAsSvg=R.prototype.bq;R.prototype.shareAsPng=R.prototype.CM;R.prototype.shareAsJpg=R.prototype.AM;R.prototype.shareAsPdf=R.prototype.BM;R.prototype.shareAsSvg=R.prototype.DM;R.prototype.getPngBase64String=R.prototype.xM;R.prototype.getJpgBase64String=R.prototype.vM;R.prototype.getSvgBase64String=R.prototype.yM;R.prototype.getPdfBase64String=R.prototype.wM;R.prototype.print=R.prototype.print;R.prototype.toSvg=R.prototype.Dq;R.prototype.pattern=R.prototype.CV;R.prototype.hatchFill=R.prototype.Mb; -R.prototype.clearDefs=R.prototype.k3;R.prototype.numChildren=R.prototype.ec;R.prototype.addChild=R.prototype.ab;R.prototype.addChildAt=R.prototype.Ae;R.prototype.removeChild=R.prototype.removeChild;R.prototype.removeChildAt=R.prototype.EV;R.prototype.removeChildren=R.prototype.FV;R.prototype.swapChildren=R.prototype.OV;R.prototype.swapChildrenAt=R.prototype.PV;R.prototype.getChildAt=R.prototype.Bc;R.prototype.hasChild=R.prototype.zV;R.prototype.forEachChild=R.prototype.vV; -R.prototype.indexOfChild=R.prototype.Xd;R.prototype.getX=R.prototype.wV;R.prototype.getY=R.prototype.xV;R.prototype.width=R.prototype.width;R.prototype.height=R.prototype.height;R.prototype.getBounds=R.prototype.jb;R.prototype.resize=R.prototype.zM;R.prototype.asyncMode=R.prototype.d3;R.prototype.resume=R.prototype.nf;R.prototype.suspend=R.prototype.qf;R.prototype.isRendering=R.prototype.BV;R.prototype.isSuspended=R.prototype.Fe;R.prototype.remove=R.prototype.remove;R.prototype.domElement=R.prototype.ia; -R.prototype.visible=R.prototype.visible;R.prototype.rotate=R.prototype.Il;R.prototype.rotateByAnchor=R.prototype.vn;R.prototype.setRotation=R.prototype.Cs;R.prototype.setRotationByAnchor=R.prototype.Ky;R.prototype.translate=R.prototype.translate;R.prototype.setPosition=R.prototype.setPosition;R.prototype.scale=R.prototype.scale;R.prototype.scaleByAnchor=R.prototype.XD;R.prototype.appendTransformationMatrix=R.prototype.Rt;R.prototype.setTransformationMatrix=R.prototype.Vb; -R.prototype.getRotationAngle=R.prototype.ou;R.prototype.getTransformationMatrix=R.prototype.BC;R.prototype.clip=R.prototype.clip;R.prototype.createClip=R.prototype.MQ;R.prototype.parent=R.prototype.parent;R.prototype.getStage=R.prototype.Ha;R.prototype.listen=R.prototype.pa;R.prototype.listenOnce=R.prototype.Zd;R.prototype.unlisten=R.prototype.Ac;R.prototype.unlistenByKey=R.prototype.pq;R.prototype.removeAllListeners=R.prototype.xh;R.prototype.title=R.prototype.title;R.prototype.desc=R.prototype.rV; -C("acgraph.events.EventType.RENDER_START","renderstart");C("acgraph.events.EventType.RENDER_FINISH",OD);C("acgraph.vector.Stage.EventType.STAGE_RESIZE",Fh);C("acgraph.vector.Stage.EventType.STAGE_RENDERED",PD);function dE(a,b,c){R.call(this,a,b,c)}E(dE,R);dE.prototype.fa=function(){return new xD(this)};function eE(a,b,c,d,e){SB.call(this,a,b,c,d,e)}E(eE,SB);eE.prototype.Sb=function(){var a=UB(this),b=a&&!a.Fe();b&&a.qf();aj(this.o,function(a){a.rb(512)},this);b&&a.nf()};function fE(a,b,c,d,e,f,h){cB.call(this,a,b,c,b,b,f,h);this.hE=d;this.iE=e}E(fE,cB);function gE(a,b,c,d,e,f,h){f=null!=f?Ac(f,0,1):1;var k=[];aj(a,function(a){k.push(""+a.offset+a.color+(a.opacity?a.opacity:null))});return k.join("")+f+b+c+d+e+(h?""+h.left+h.top+h.width+h.height:"")};function hE(){eB.call(this);var a=document;iE()||a.createStyleSheet().addRule("."+jE,"behavior:url(#default#VML)");try{a.namespaces[kE]||a.namespaces.add(kE,lE),this.g=function(a){return Bo(kE+":"+a,{"class":jE})}}catch(b){this.g=function(a){return Bo(kE+":"+a,{"class":jE,xmlns:"urn:schemas-microsoft.com:vml"})}}}E(hE,eB);fa(hE);var lE="urn:schemas-microsoft-com:vml",kE="any_vml",jE="any_vml",mE=document.documentMode&&8<=document.documentMode;g=hE.prototype;g.wj=null;g.ug=null;g.kz=null;g.ns=null; -g.vl=null;g.my=null; -function nE(a){a.ns=a.ZH();oE(a,a.ns);a.ns.style.display="none";pE(a,a.ns,{filled:"true",fillcolor:"black",stroked:"false",path:"m0,0 l1,0 e"});document.body.appendChild(a.ns);a.wj=Bo("DIV");a.ug=Bo("SPAN");a.kz=Bo("SPAN");document.body.appendChild(a.wj);a.wj.appendChild(a.kz);a.wj.appendChild(a.ug);Rl(a.wj,{position:"absolute",visibility:"hidden",left:0,top:0});Rl(a.kz,{"font-size":"0px",border:"0 solid"});a.kz.innerHTML="a";a.b=Bo("SPAN");a.wj.appendChild(a.b);Rl(a.b,{"font-size":"0px",border:"0 solid"}); -a.b.innerHTML="a";a.my=Bo("IMG");Rl(a.my,{position:"absolute",left:0,top:0});a.wj.appendChild(a.my);a.ul=Bo("DIV");a.wj.appendChild(a.ul)}g.jD=function(a){this.wj||nE(this);this.yb(this.my,"src",a);return hr(this.my)}; -g.measure=function(a,b){if(""==a)return new Q(0,0,0,0);this.wj||nE(this);Ko(this.vl);this.vl=this.rv("");this.ns.appendChild(this.vl);var c=null,d=0;if(" "==a)return fB(this,b);ui(a," ")&&(d+=c=fB(this,b).width);vi(a," ")&&(d+=c||fB(this,b).width);qE(this.ug.style,"font-style");qE(this.ug.style,"font-variant");qE(this.ug.style,"font-family");qE(this.ug.style,"font-size");qE(this.ug.style,"font-weight");qE(this.ug.style,"letter-spacing");qE(this.ug.style,"text-decoration");this.ug.style.cssText=""; -b.fontStyle&&(Rl(this.ug,"font-style",b.fontStyle),Rl(this.vl,"font-style",b.fontStyle));b.fontVariant&&(Rl(this.ug,"font-variant",b.fontVariant),Rl(this.vl,"font-variant",b.fontVariant));b.fontFamily&&(Rl(this.ug,"font-family",b.fontFamily),Rl(this.vl,"font-family",b.fontFamily));b.fontSize&&(Rl(this.ug,"font-size",b.fontSize),Rl(this.vl,"font-size",b.fontSize));b.fontWeight?(Rl(this.ug,"font-weight",b.fontWeight),Rl(this.vl,"font-weight",b.fontWeight)):(Rl(this.ug,"font-weight","normal"),Rl(this.vl, -"font-weight","normal"));b.letterSpacing&&(Rl(this.ug,"letter-spacing",b.letterSpacing),this.vl.style["v-text-spacing"]=b.letterSpacing);b.Yn&&(Rl(this.ug,"text-decoration",b.decoration),Rl(this.vl,"text-decoration",b.decoration));Rl(this.ug,"border","0 solid");this.yb(this.vl,"string",a);c=hr(this.ns).width;Rl(this.wj,{left:0,top:0,width:"auto",height:"auto"});this.ug.innerHTML=a;var e=hr(this.kz);Uq(this.wj,0,-(e.top+e.height));a:{var f=this.ug,e=Tq(f,"fontSize"),h;h=(h=e.match(xr))&&h[0]||null; -if(!e||"px"!=h){if(Hn){if(h in yr){sr(f,e,"left","pixelLeft");break a}if(f.parentNode&&1==f.parentNode.nodeType&&h in zr){f=f.parentNode;h=Tq(f,"fontSize");sr(f,e==h?"1em":e,"left","pixelLeft");break a}}e=Bo("SPAN",{style:"visibility:hidden;position:absolute;line-height:0;padding:0;margin:0;border:0;height:1em;"});f.appendChild(e);Ko(e)}}e=hr(this.ug);e.width=c+d;--e.left;this.ug.innerHTML="";return e}; -g.TJ=function(a){this.wj||nE(this);z(a)?this.ul.innerHTML=a:(a=a.cloneNode(!0),this.ul.appendChild(a));a=hr(this.ul);this.ul.innerHTML="";return a};g.yb=function(a,b,c){mE?a[b]=c:a.setAttribute(b,c)};function pE(a,b,c){Me(c,function(a,c){this.yb(b,c,a)},a)}function qE(a,b){a[b]&&(a.cssText=a.cssText.replace(new RegExp("(^|; )("+b+": [^;]*)(;|$)","ig"),";"))}function rE(a){return z(a)&&vi(a,"%")?parseFloat(a)+"%":parseFloat(a.toString())+"px"}g.Nf=function(a){return Math.round(100*parseFloat(a.toString()))}; -function oE(a,b){a.yb(b,"coordsize",a.Nf(1)+" "+a.Nf(1));pE(a,b.style,{position:"absolute",left:rE(0),top:rE(0),width:rE(1),height:rE(1)})} -function sE(a,b){if(b.wi())return null;var c=[];b.h4.call(b,function(a,b){switch(a){case qB:c.push("m");$A(Array.prototype.push,cf(b,this.Nf),c);break;case rB:c.push("l");$A(Array.prototype.push,cf(b,this.Nf),c);break;case sB:c.push("c");$A(Array.prototype.push,cf(b,this.Nf),c);break;case uB:c.push("x");break;case tB:var f=b[2]+b[3];c.push("ae",this.Nf(b[4]-Tk(f,b[0])),this.Nf(b[5]-Uk(f,b[1])),this.Nf(b[0]),this.Nf(b[1]),Math.round(-65536*b[2]),Math.round(-65536*b[3]))}},a);return c.join(" ")} -function iE(){return!!gj(Dp(),function(a){return a.selectorText==="."+jE})}g.fF=function(a,b){tE(this,a.ia(),b)};function tE(a,b,c){b&&(c?a.yb(b,"id",c):b.removeAttribute("id"))}g.gF=ea;g.OK=ea;g.nU=function(a,b){var c=a.ia();if(c&&v(b))for(var d in b){var e=b[d];null===e?c.removeAttribute(d):this.yb(c,d,e)}};g.getAttribute=function(a,b){return a?a.getAttribute(b):void 0}; -function uE(a,b){var c=a%90,d=Ua(a),e=1,f=b.left+b.width/2,h=b.top+b.height/2,k=0>Math.sin(d)||180==a||360==a;if(90==a||270==a)c+=1E-6;180!=a&&(0>Math.tan(d)||90==a||270==a)&&(e=-1,c=90-c);c=Ua(c);d=Math.tan(c);d=Math.sin(c)*(b.height/2-d*b.width/2)+Math.sqrt(Math.pow(b.width/2,2)*(1+Math.pow(d,2)));e=e*Math.cos(c)*d;c=1*Math.sin(c)*d;k&&(e=-e,c=-c);return{Cg:new Yl(Math.round(f-e),Math.round(h+c)),Vi:new Yl(Math.round(f+e),Math.round(h-c))}} -function vE(a,b){var c,d;b.Cg.x==b.Vi.x?(c=b.Cg.x,d=a.y):b.Cg.y==b.Vi.y?(c=a.x,d=b.Cg.y):(c=(b.Cg.x*Math.pow(b.Vi.y-b.Cg.y,2)+a.x*Math.pow(b.Vi.x-b.Cg.x,2)+(b.Vi.x-b.Cg.x)*(b.Vi.y-b.Cg.y)*(a.y-b.Cg.y))/(Math.pow(b.Vi.y-b.Cg.y,2)+Math.pow(b.Vi.x-b.Cg.x,2)),d=(b.Vi.x-b.Cg.x)*(a.x-c)/(b.Vi.y-b.Cg.y)+a.y);c=new Yl(c,d);d=[Ac(b.Cg.x-b.Vi.x,-1,1),Ac(b.Cg.y-b.Vi.y,-1,1)];var e=[Ac(b.Cg.x-c.x,-1,1),Ac(b.Cg.y-c.y,-1,1)],f=[Ac(b.Vi.x-c.x,-1,1),Ac(b.Vi.y-c.y,-1,1)];return 0>(0==d[0]?(e[1]+f[1])*d[1]:(e[0]+f[0])* -d[0])?-$l(b.Cg,c):$l(b.Cg,c)} -function wE(a,b,c,d){var e=uE(c,d);d=$l(e.Cg,e.Vi);var f=uE(c,b);b=$l(f.Cg,f.Vi);c=vE(e.Cg,f);var e=vE(e.Vi,f),f={offset:Math.round(c/b*100)/100,color:"",opacity:1},h={offset:Math.round(e/b*100)/100,color:"",opacity:1},k=[];k.toString=function(){for(var a="\n",b=0,c=this.length;bf.offset&&t.offset=h.offset&&!m&&(m={offset:t.offset,color:t.color,opacity:t.opacity})}k.push(h);a=t=1;if(2h&&1>f?l?h>f:hh)?h:f);h=k.width*f;k=k.height*f;switch(e){case yC:e=b.width;f=b.height;break;case "xMinYMin":e=b.left;f=b.top;break;case "xMidYMin":e=b.left+b.width/2-h/2;f=b.top;break;case "xMaxYMin":e=b.left+ -b.width-h;f=b.top;break;case "xMinYMid":e=b.left;f=b.top+b.height/2-k/2;break;default:case "xMidYMid":e=b.left+b.width/2-h/2;f=b.top+b.height/2-k/2;break;case "xMaxYMid":e=b.left+b.width-h;f=b.top+b.height/2-k/2;break;case "xMinYMax":e=b.left;f=b.top+b.height-k;break;case "xMidYMax":e=b.left+b.width/2-h/2;f=b.top+b.height-k;break;case "xMaxYMax":e=b.left+b.width-h,f=b.top+b.height-k}}pE(this,c.style,{position:"absolute",left:rE(e),top:rE(f),width:rE(h),height:rE(k)});this.yb(c,"src",d);a.clip(b)}; -g.oU=function(a){this.PK(a)};g.PK=function(a){var b=a.ia();oE(this,b);var c=a.Yl(),d=a.Zl(),e=a.Jl(),f=a.Ro(),h=a.Se();h&&!kl(h)?(c=uA(c,d,e,f,0,360,!1),d=c.length,h.transform(c,0,c,0,d/2),h=["m",this.Nf(c[d-2]),this.Nf(c[d-1]),"c"],$A(Array.prototype.push,cf(c,this.Nf),h)):h=["ae",this.Nf(c),this.Nf(d),this.Nf(e),this.Nf(f),0,Math.round(-23592960)];h.push("x");qC(a,4);qC(a,256);this.yb(b,"path",h.join(" "))}; -g.yU=function(a){var b=a.ia();oE(this,b);var c=sE(this,a);c?this.yb(b,"path",c):(this.yb(b,"path","M 0,0"),b.removeAttribute("path"));qC(a,4);qC(a,256)};g.ZH=function(){var a=this.g("shape"),b=this.g("path");b.setAttribute("textpathok","t");a.appendChild(b);return a};g.YH=function(){return document.createElement("span")};g.rv=function(a){var b=this.g("textpath");b.setAttribute("on","t");b.setAttribute("string",a);return b};g.pU=function(a,b){var c=a.ia();c&&(c.style.cursor=b||"")}; -g.SK=function(a){var b=a.ia().style,c,d;xE(a)?(d=a.X,a.b.length&&(d-=a.b[0].g),c=a.F,pE(this,b,{position:"absolute",overflow:"visible",left:rE(c),top:rE(d)})):(c=a.x(),d=a.y(),a.An()&&a.height()&&a.height()>a.D&&("middle"==a.An()&&(d+=a.height()/2-a.D/2),"bottom"==a.An()&&(d+=a.height()-a.D)),pE(this,b,{position:"absolute",overflow:"hidden",left:rE(c),top:rE(d)}))}; -g.CU=function(a){var b=a.ia(),c=b.style;b.style.cssText="";xE(a)?(pE(this,c,{width:rE(1),height:rE(1)}),b.innerHTML=""):null!=a.af&&(a.style(),a.fontSize()&&Rl(b,"font-size",a.fontSize()),a.color()&&Rl(b,"color",a.color()),a.fontFamily()&&Rl(b,"font-family",a.fontFamily()),a.fontStyle()&&Rl(b,"font-style",a.fontStyle()),a.fontVariant()&&Rl(b,"font-variant",a.fontVariant()),a.fontWeight()&&Rl(b,"font-weight",a.fontWeight()),a.letterSpacing()&&Rl(b,"letter-spacing",a.letterSpacing()),a.Yn()&&Rl(b,"text-decoration", -a.Yn()),a.opacity()&&(c.filter="alpha(opacity="+100*a.opacity()+")"),a.sv()&&Rl(b,"line-height",a.sv()),a.tv()&&Rl(b,"text-indent",a.tv()),"..."==a.Kl()&&Rl(b,"text-overflow","ellipsis"),""==a.Kl()&&Rl(b,"text-overflow","clip"),a.Eq()&&Rl(b,"direction",a.Eq()),"byLetter"==a.uv()&&a.width()?(Rl(b,"word-break","break-all"),Rl(b,"white-space","normal")):(Rl(b,"word-break","normal"),Rl(b,"white-space","nowrap")),a.Wk()&&(b.style["text-align"]=a.o?a.Wk()==xB||a.Wk()==yB?yB:a.Wk()==zB||a.Wk()==AB?AB:"center": -a.Wk()==xB||a.Wk()==AB?AB:a.Wk()==zB||a.Wk()==yB?yB:"center"),qr(b,!a.Fq()),b.innerHTML=a.af,this.yb(c,"width",(a.width()?rE(a.width()):a.jb().width).toString()),this.yb(c,"height",(a.height()?rE(a.height()):a.jb().height).toString()))};g.qM=function(a){a.ia().setAttribute("path","m "+this.Nf(a.x)+","+this.Nf(a.y)+" l "+(this.Nf(a.x)+1)+","+this.Nf(a.y)+" e")}; -g.rM=function(a){var b=a.parent(),c=b.style(),d=a.b,e=a.ia(),c=ji(c);li(c,d);a=this.rv(a.text);c.fontStyle&&Rl(a,"font-style",c.fontStyle);c.fontVariant&&Rl(a,"font-variant",c.fontVariant);c.fontFamily&&Rl(a,"font-family",c.fontFamily);c.fontSize&&Rl(a,"font-size",c.fontSize);c.fontWeight&&Rl(a,"font-weight",c.fontWeight);c.letterSpacing&&(a.style["v-text-spacing"]=c.letterSpacing);c.decoration&&Rl(a,"text-decoration",c.decoration);c.hAlign&&(a.style["v-text-align"]=b.o?c.hAlign==xB||c.hAlign==yB? -yB:c.hAlign==zB||c.hAlign==AB?AB:"center":c.hAlign==xB||c.hAlign==AB?AB:c.hAlign==zB||c.hAlign==yB?yB:"center");c.opacity&&(d=this.g("fill"),this.yb(d,"opacity",c.opacity),e.appendChild(d));e.appendChild(a);b.Fq()?e.removeAttribute("unselectable"):this.yb(e,"unselectable","on");oE(this,e);e.setAttribute("filled","t");e.setAttribute("fillcolor",c.color);e.setAttribute("stroked","f")};g.fT=function(){return!0}; -g.XP=function(a){var b=a.fill();b instanceof PB&&(b="black");var c=a.stroke(),d;z(c)?d=c:d="keys"in c?0!=c.keys.length?c.keys[0].color:"#000":c.color;var e=!z(b)&&"keys"in b&&"cx"in b&&"cy"in b,f=!z(b)&&"keys"in b&&!e,h=!e&&!f,k="none"!=b&&"none"!=b.color,l="none"!=d&&0!=c.thickness,m=h&&k&&1!=b.opacity,p=!z(c)&&l&&(1!=c.opacity||"miter"!=c.lineJoin||"butt"!=c.lineCap||"none"!=c.dash),q,t,u;if(e||f||m||p){var p=a.Ha(),m=p.D,w;w=a instanceof hC&&a.wi()?new Q(0,0,1,1):a.jb();if(f){t=b.mode instanceof -Q;u=Fc(b.keys,0);0!=u[0].offset&&u.unshift({offset:0,color:u[0].color,opacity:u[0].opacity});q=u[u.length-1];1!=q.offset&&u.push({offset:1,color:q.color,opacity:q.opacity});var x=b.mode?jB(b.angle,w):b.angle;w=HB(m,t?wE(u,b.mode,x,w):u,b.opacity,x,b.mode)}else if(e){var y;b.mode?(y=b.mode,q=Math.min(y.width,y.height),x=(b.cx*y.width-(w.left-y.left))/w.width,u=(b.cy*y.height-(w.top-y.top))/w.height,y=q/w.width*1,w=q/w.height*1):(x=b.cx,u=b.cy,y=w=1);w=yE(m,b.keys,x,u,y,w,b.opacity,b.mode)}else w=b; -x=zE(m,w,c);if(!x.EM){y=this.g("shapetype");tE(this,y,YA(XA.qc(),x));this.appendChild(m.ia(),y);x.EM=!0;var B=null;if(f){var D=w;D.Bz&&(D=new aB(D.keys,D.opacity,D.Nj,D.mode),x.D=D);B=this.g("fill");u=D.keys;var G=[];aj(u,function(a){G.push(a.offset+" "+a.color)},this);p=Sk(D.Nj+270);q=u[u.length-1];h=u[0];pE(this,B,{type:"gradient",method:"none",colors:G.join(","),angle:p,color:h.color,opacity:t?D.opacity:isNaN(q.opacity)?D.opacity:q.opacity,color2:q.color,"o:opacity2":t?D.opacity:isNaN(h.opacity)? -D.opacity:h.opacity});this.appendChild(y,B);D.pv=m;D.Bz=!0}else e?(t=w,t.Cz&&(t=new fE(t.keys,t.ke,t.ae,t.hE,t.iE,t.opacity,t.pb),x.D=t),B=this.g("fill"),u=t.keys,h=u[u.length-1],q=u[0],pE(this,B,{src:p.pathToRadialGradientImage,size:t.hE+","+t.iE,origin:".5, .5",position:t.ke+","+t.ae,type:"pattern",method:"linear sigma",colors:"0 "+h.color+";1 "+q.color,color:h.color,opacity:isNaN(h.opacity)?t.opacity:h.opacity,color2:q.color,"o:opacity2":isNaN(q.opacity)?t.opacity:q.opacity}),this.appendChild(y, -B),t.qv=m,t.Cz=!0):h&&(B=x.Lr?x.Lr:x.Lr=this.g("fill"),z(b)?(pE(this,a.ia(),{fillcolor:b,filled:"none"!=b}),pE(this,B,{type:"solid",on:"none"!=b,color:b,opacity:1})):(pE(this,a.ia(),{fillcolor:b.color,filled:"none"!=b.color}),pE(this,B,{type:"solid",on:"none"!=b.color,color:b.color,opacity:isNaN(b.opacity)?1:b.opacity})));this.appendChild(y,B);t=x.$y?x.$y:x.$y=this.g("stroke");m=c.thickness?c.thickness:1;p=(h=AE(c.dash,m))?"flat":c.lineCap;pE(this,t,{joinstyle:c.lineJoin||"miter",endcap:"butt"==p? -"flat":p,dashstyle:h,on:l,color:d,opacity:v(c)&&"opacity"in c?c.opacity:1,weight:m+"px"});this.appendChild(y,t)}if(e||f)h=w.keys[w.keys.length-1],pE(this,a.ia(),{fillcolor:h.color,filled:"none"!=h.color});pE(this,a.ia(),{filled:k,fillcolor:b.color||b,stroked:l,strokecolor:d,strokeweight:c.thickness?c.thickness+"px":"1px"});pE(this,a.ia(),{type:"#"+YA(XA.qc(),x)})}else pE(this,a.ia(),{type:"",filled:k,fillcolor:b.color||b,stroked:l,strokecolor:d,strokeweight:c.thickness?c.thickness+"px":"1px"})}; -function AE(a,b){a=String(a);if(!a)return"none";var c=a.split(" ");0!=c.length%2&&c.push.apply(c,c);for(var d=[],e=0;ea.D&&("middle"==a.An()&&(f+=a.height()/2-a.D/2),"bottom"==a.An()&&(f+=a.height()-a.D)),pE(this,d,{position:"absolute",overflow:"hidden",left:rE(e+b.gd),top:rE(f+b.hd)})}};g.vy=function(){return!0};g.BU=ea;g.kR=ea;g.qU=ea; -g.MK=function(a){var b=a instanceof AC,c=a.clip();if(c){var c=c.shape(),c=c.Xj(c.zc),c=c.clone(),d=a.ia().style;n(b)&&b?(a=a.Se(),c=xA(c,a)):(c.left-=a.yz(),c.top-=a.zz());a=c.left;b=c.top;this.yb(d,"clip",["rect(",b+"px",a+c.width+"px",b+c.height+"px",a+"px",")"].join(" "))}else c=a.ia().style,qE(c,"clip")};g.pD=function(){return!0};function CE(a,b){ag.call(this);this.D=a;this.g=b}E(CE,ag);function DE(a){delete a.D;hE.qc();Ko(a.Lr);a.Lr=null}g=CE.prototype;g.Lr=null;g.$y=null;g.EM=!1;g.mj=function(){return"shapeType"};g.ca=function(){delete this.D;delete this.g;hE.qc();Ko(this.Lr);this.Lr=null;hE.qc();Ko(this.$y);this.$y=null};function EE(a){sD.call(this,a);this.b={};this.F={}}E(EE,sD);EE.prototype.clear=function(){fi(this.b);fi(this.F);EE.G.clear.call(this)}; -function zE(a,b,c){var d="",d=z(b)?d+(b+"1"):b instanceof cB?gE(b.keys,b.ke,b.ae,b.hE,b.iE,b.opacity,b.pb):b instanceof aB?bB(b.keys,b.opacity,b.Nj,b.mode):d+(b.color+b.opacity),e;if(z(c))e=c;else if("keys"in c){var f=0!=c.keys.length?c.keys[0]:c;e=f.color||"black";e+="opacity"in f?f.opacity:1}else e=c.color,e+="opacity"in c?c.opacity:1;d=""+d+(""+c.thickness+e+c.lineJoin+c.lineCap+c.dash);if(ci(a.b,d))return a.b[d];b=new CE(b,c);return a.b[d]=b} -function yE(a,b,c,d,e,f,h,k){k=null!=k?k:null;var l=gE(b,c,d,e,f,h,k);return ci(a.F,l)?a.F[l]:a.F[l]=new fE(b,c,d,e,f,h,k)}EE.prototype.TT=function(a){for(var b=dB(a.keys,a.ke,a.ae,a.hE,a.iE,a.opacity,a.pb),c=ai(this.b),d=0,e=c.length;d=p?(h-k)/(2*p):(h-k)/(2-2*p));f=[Math.round(l+360)%360,m,p];a=f[0];e=f[1];f=f[2];isNaN(d)?(d=f,c=null!=c?Ac(c,0,1):.95):c=null!=c?Ac(c,0,1):f;f=1l?l*(1+e):l+e-e*l,t=2*l-u,m=255*fl(t,u,q+1/3),p=255*fl(t,u,q),q=255*fl(t,u,q-1/3);h.push($k([Math.round(m),Math.round(p),Math.round(q)]))}return h}function NE(a){if(v(a))if(a.color)a=a.color;else return null;if(z(a))try{return Vk(a).mg}catch(b){}return null} -function OE(a,b){if(v(a)&&n(a.keys)){for(var c=ji(a),d=c.keys,e=[],f=0,h=d.length;f=c&&0<=e&&255>=e&&0<=d&&255>=d){c=[c,e,d];break a}}c=[]}return c.length?(b.mg=$k(c),b.type="rgb",b):$f&&(a=$f[a.toLowerCase()])?(b.mg=a,b.type="named",b):null}function SE(a,b,c){var d;c?d=Qc(a):d=Pc(a);z(d)?d={color:d,opacity:b}:v(d)&&(d.opacity=b);return d}C("anychart.color.blend",function(a,b,c){return hl(a,b,c)}); -C("anychart.color.lighten",OE);C("anychart.color.darken",PE);C("anychart.color.setThickness",function(a,b,c){a=Pc(a);z(a)?a={color:a,thickness:b}:v(a)&&(a.thickness=b);c&&(a.opacity=c);return a});C("anychart.color.setOpacity",SE);C("anychart.color.singleHueProgression",LE);C("anychart.color.bipolarHueProgression",function(a,b,c){c=n(c)?c:7;a=LE(a||"blue",Math.floor(c/2)+1,null,1);b=LE(b||"red",Math.floor(c/2)+1,1);0==c%2&&kc(a,a.length-1,1);kc(b,0,1);return a.concat(b)}); -C("anychart.color.blendedHueProgression",function(a,b,c){c=n(c)?c:7;a=cl(ME(a||"yellow").mg);b=cl(ME(b||"brown").mg);for(var d=[dl.apply(null,a)],e=1/c,f=1;fthis.D[q]?t=this.j[q][this.D[q]]:this.j[q].push(t=p.m3());this.D[q]++;this.b[q].push(t);t.fill(p.fill(this.na,k));t.stroke(p.stroke(this.na,k));t.zIndex(p.zIndex+m);this.F&&this.fE(t,p.Jc,l);!p.Jc||p.fill(this.na,0)||p.fill(this.na,1)||p.fill(this.na,2)?t.parent(this.cf):t.parent(null);d[e]=t}this.Pc(this.na,d,a);b&&b.K(this.I, -d);return d};g.AE=function(a,b){if(b)for(var c in b)b[c].zIndex(this.g[c].zIndex+a)};g.fp=function(a,b){if(b){for(var c in b){var d=this.g[c],e=b[c];e.fill(d.fill(this.na,a));e.stroke(d.stroke(this.na,a));d.Jc&&("none"==e.fill()&&"none"==e.stroke()?e.visible(!1):e.visible(!0))}this.Pc(this.na,b,a)}};function qg(a,b,c){if(a=a.g[b])a.zIndex=c}g.ca=function(){for(var a in this.j)eg(this.j[a]),this.j[a].length=0,this.b[a].length=0;this.g=this.cf=null;TE.G.ca.call(this)};function WE(a,b,c,d,e){TE.call(this,a,b,c,d,e)}E(WE,TE);function XE(a,b,c,d,e){TE.call(this,a,b,c,d,e);this.o=null}E(XE,TE);g=XE.prototype;g.fE=function(a,b){XE.G.fE.call(this,a,b,!0)};g.PB=function(){XE.G.PB.call(this);this.o=null};g.Ke=function(a,b,c){this.o||(this.o=XE.G.Ke.call(this,a,null,c));return this.o};g.AE=function(a){XE.G.AE.call(this,a,this.o)};g.fp=function(a){XE.G.fp.call(this,a,this.o)};g.ca=function(){this.o=null;XE.G.ca.call(this)};function YE(a,b){this.g=a;this.b=b?ZE:$E}var $E=["topBorder","rightBorder","bottomBorder","leftBorder"],ZE=["cellTopBorder","cellRightBorder","cellBottomBorder","cellLeftBorder"];YE.prototype.top=function(a,b,c,d,e){null!=a&&(a=Pc.apply(null,arguments));return this.g.xa(this.b[0],a,aF)};YE.prototype.right=function(a,b,c,d,e){null!=a&&(a=Pc.apply(null,arguments));return this.g.xa(this.b[1],a,aF)}; -YE.prototype.bottom=function(a,b,c,d,e){null!=a&&(a=Pc.apply(null,arguments));return this.g.xa(this.b[2],a,aF)};YE.prototype.left=function(a,b,c,d,e){null!=a&&(a=Pc.apply(null,arguments));return this.g.xa(this.b[3],a,aF)};YE.prototype.top=YE.prototype.top;YE.prototype.right=YE.prototype.right;YE.prototype.bottom=YE.prototype.bottom;YE.prototype.left=YE.prototype.left;function bF(){ag.call(this);this.D=!1;this.j={};var a=document;Hn&&(!bo("7")||a.documentMode&&6>=a.documentMode)?this.g=Bo("div",{style:"position:absolute; left:0; top:0; z-index: 9999;"}):this.g=Bo("div",{style:"position:absolute; z-index: 9999; left: -10000px; top: -10000px"});var b;Wn||Xn||Vn?(b=yo(),a=b.width,b=b.height):(b=Ao().screen,a=b.availWidth,b=b.availHeight);Hn&&!bo("9")?this.b=bE(this.g,1,1):(this.b=bE(this.g,a,b),this.I=new rq,O(this,this.I),this.o=new Xr(this.I),O(this,this.o),np(this.o, -"resize",this.F,!1,this));this.b.ia().style.cssText="position:fixed; left:0; top:0; opacity:1; pointer-events: none";this.b.Ba=!0;document.body.appendChild(this.g)}E(bF,ag);fa(bF);bF.prototype.g=null;bF.prototype.b=null;bF.prototype.F=function(){var a;a=this.o;a=a.b?a.b.clone():null;this.b.width(a.width);this.b.height(a.height)};function cF(a){var b=bF.qc();return n(a)?(b.D!=a&&(b.D=a),b):b.D} -bF.prototype.ca=function(){n(this.o)&&rp(this.o,"resize",this.F,!1,this);this.b.gc();this.b=null;Ko(this.g);this.j=this.g=null};function dF(a){var b=Fl(a);for(a=0;ab?1:a==b?0:-1}function GF(a,b){return-DF(a,b)}function EF(a,b){return isNaN(a)?isNaN(b)?0:1:isNaN(b)?-1:a-b}function HF(a,b){return isNaN(a)?isNaN(b)?0:1:isNaN(b)?-1:b-a} -function IF(a){for(var b;a instanceof nC;){b=a.tag;if(n(b))return b;a=a.parent()}}function JF(a,b){for(;b instanceof pq&&b!=a;)b=b.Oi();return b==a}function FF(a){return v(a)?"o"+qa(a):(typeof a).charAt(0)+a}function U(a,b,c){a=na(a)?a:!isNaN(b)&&KF(a)?b*parseFloat(a)/100:parseFloat(a);return c&&!isNaN(b)?b-a:a}function KF(a){return z(a)&&vi(a,"%")}function LF(a,b){if(null===a)return null;a=n(a)?a:0;b=n(b)?b:0;var c=KF(a),d=parseFloat(a);return isNaN(d)?b:c?a:d} -function MF(a){if(KF(a))return a;na(a)||(a=parseFloat(a));return isNaN(a)?"0%":a+"%"}function F(a){return null===a||la(a)?NaN:+a}function Tb(a){return z(a)?a:F(a)}function NF(a){return na(a)&&!isNaN(a)||z(a)&&""!=Ai(a)?a:null}function OF(a){return isNaN(F(a))}function Fb(a,b,c){na(a)||(a=parseFloat(a));a=Math.round(a);return 0c&&(c+=b);c>=b&&(c-=b);return Ll(a-c,7)} -function RF(a,b,c){c=Ll((a-(c||0))%b,7);c>=b&&(c-=b);if(0==c)return Ll(a,7);0>c&&(c+=b);return Ll(a+b-c,7)} -function SF(a,b,c){var d=new Date(a),e=d.getUTCFullYear(),f=d.getUTCMonth(),h=d.getUTCDate(),k=d.getUTCHours(),l=d.getUTCMinutes(),m=d.getUTCSeconds(),p=d.getUTCMilliseconds();return b.F?(e=QF(e,b.F,(new Date(c)).getUTCFullYear()),Date.UTC(e,0)):b.D?(f=QF(f,b.D),Date.UTC(e,f)):b.b&&0==b.b%7?(a=TF(UF()),QF(d.getTime(),864E5*b.b,Date.UTC(2E3,0,2+(a?a.firstDayOfWeek:0)))):b.b?(h=QF(h,b.b),Date.UTC(e,f,h)):b.j?(k=QF(k,b.j),Date.UTC(e,f,h,k)):b.o?(l=QF(l,b.o),Date.UTC(e,f,h,k,l)):1<=b.g?(m=QF(m,b.g),Date.UTC(e, -f,h,k,l,m)):b.g?(p=QF(p,1E3*b.g),Date.UTC(e,f,h,k,l,m,p)):a} -function VF(a,b,c){var d=new Date(a),e=d.getUTCFullYear(),f=d.getUTCMonth(),h=d.getUTCDate(),k=d.getUTCHours(),l=d.getUTCMinutes(),m=d.getUTCSeconds(),p=d.getUTCMilliseconds();switch(b){case "year":return e=QF(e,c,(new Date(2E3)).getUTCFullYear()),Date.UTC(e,0);case "semester":return f=QF(f,6*c),Date.UTC(e,f);case "quarter":return f=QF(f,3*c),Date.UTC(e,f);case "month":return f=QF(f,c),Date.UTC(e,f);case "thirdofmonth":return QF(d.getTime(),864E6*c,Date.UTC(2E3,0,2));case "week":return a=TF(UF()), -QF(d.getTime(),6048E5*c,Date.UTC(2E3,0,2+(a?a.firstDayOfWeek:0)));case "day":return QF(d.getTime(),864E5*c,Date.UTC(2E3,0,2));case "hour":return k=QF(k,c),Date.UTC(e,f,h,k);case "minute":return l=QF(l,c),Date.UTC(e,f,h,k,l);case "second":return m=QF(m,c),Date.UTC(e,f,h,k,l,m);case "millisecond":return p=QF(p,c),Date.UTC(e,f,h,k,l,m,p)}return a} -function WF(a,b){var c,d;switch(a){case "year":c=Ij;d=b;break;case "semester":c=Jj;d=6*b;break;case "quarter":c=Jj;d=3*b;break;case "month":c=Jj;d=b;break;case "thirdofmonth":c=Kj;d=10*b;break;case "week":c=Kj;d=7*b;break;case "day":c=Kj;d=b;break;case "hour":c=Lj;d=b;break;case "minute":c=Mj;d=b;break;case "second":c=Nj;d=b;break;case "millisecond":c=Nj;d=b/1E3;break;default:c=Ij,d=b}return new Aj(c,d)}function wg(a,b,c){b=(b&1)/2;return.5<=a%1?Math.ceil(a)-(c?-b:b):Math.floor(a)+(c?-b:b)} -function XF(a){var b=a.Wa(),c=a.Ra();a.left=wg(a.left,0);a.top=wg(a.top,0);a.width=wg(b,0)-a.left;a.height=wg(c,0)-a.top;return a}function YF(a,b,c,d){switch(b){case "leftTop":case "leftCenter":case "centerTop":case "center":a.x+=c;a.y+=d;break;case "leftBottom":case "centerBottom":a.x+=c;a.y-=d;break;case "rightCenter":case "rightTop":a.x-=c;a.y+=d;break;case "rightBottom":a.x-=c,a.y-=d}} -function Fl(a){var b;b=ga(a);if("array"==b){b=[];for(var c=0;cf;f++)a.lineTo(c+e*sG[f],d+e*tG[f]);a.lineTo(c+e*sG[0],d+e*tG[0]);a.close();return a};case "square":return function(a,c,d,e,f){var h=c-e,k=d-e;c+=e;d+=e;n(f)&&(f=f||0,h=wg(h,f),k=wg(k,f),c=wg(c,f),d=wg(d,f));a.moveTo(h, -k).lineTo(c,k).lineTo(c,d).lineTo(h,d).lineTo(h,k).close();return a};case "vline":case "line":return function(a,c,d,e,f){f=f||0;e*=2;var h=e/2;c-=h/2;d-=e/2;h=c+h;e=d+e;n(f)&&(f=f||0,c=wg(c,f),d=wg(d,f),h=wg(h,f),e=wg(e,f));a.moveTo(c,d).lineTo(h,d).lineTo(h,e).lineTo(c,e).lineTo(c,d).close();return a};case "arrowup":return function(a,c,d,e,f){var h=e/2,k=h/2;e=c+h;var l=c-h,m=d+h,h=d-h,p=c+k,k=c-k;n(f)&&(f=f||0,e=wg(e,f),l=wg(l,f),m=wg(m,f),h=wg(h,f),p=wg(p,f),k=wg(k,f),c=wg(c,f),d=wg(d,f));a.moveTo(c, -h);a.lineTo(e,d,p,d,p,m,k,m,k,d,l,d);a.close();return a};case "arrowdown":return function(a,c,d,e,f){var h=e/2,k=h/2;e=c+h;var l=c-h,m=d+h,h=d-h,p=c+k,k=c-k;n(f)&&(f=f||0,e=wg(e,f),l=wg(l,f),m=wg(m,f),h=wg(h,f),p=wg(p,f),k=wg(k,f),c=wg(c,f),d=wg(d,f));a.moveTo(c,m);a.lineTo(e,d,p,d,p,h,k,h,k,d,l,d);a.close();return a};case "arrowleft":return function(a,c,d,e,f){var h=e/2,k=h/2;e=c+h;var l=c-h,m=d+h,h=d-h,p=d+k,k=d-k;n(f)&&(f=f||0,e=wg(e,f),l=wg(l,f),m=wg(m,f),h=wg(h,f),p=wg(p,f),k=wg(k,f),c=wg(c, -f),d=wg(d,f));a.moveTo(l,d);a.lineTo(c,m,c,p,e,p,e,k,c,k,c,h);a.close();return a};case "arrowright":return function(a,c,d,e,f){var h=e/2,k=h/2;e=c+h;var l=c-h,m=d+h,h=d-h,p=d+k,k=d-k;n(f)&&(f=f||0,e=wg(e,f),l=wg(l,f),m=wg(m,f),h=wg(h,f),p=wg(p,f),k=wg(k,f),c=wg(c,f),d=wg(d,f));a.moveTo(e,d);a.lineTo(c,m,c,p,l,p,l,k,c,k,c,h);a.close();return a};default:return KC}} -function uG(a,b,c,d){var e=new lh;c=!0;v(d)&&(e.Ey(d.rowsSeparator),e.Rw(d.columnsSeparator),e.Wx(d.ignoreTrailingSpaces),c=!d.ignoreFirstRow,e.Ux(c));if(a=e.Cw(a)){d=Bo("table");b&&(e=Bo("caption"),Go(e,b),d.appendChild(e));var f,h;c&&(f=Bo("thead"),h=Bo("tr"),f.appendChild(h));b=Bo("tbody");for(e=0;eb.charCode&&wq(c)?b.charCode:0):Gn&&!Rn?(c=this.wm,d=wq(c)?b.keyCode:0):(c=b.keyCode||this.wm,d=b.charCode||0,Eq&&(e=this.Gz),Sn&&63==d&&224==c&&(c=191));var f=c=xq(c);c?63232<=c&&c in Bq?f=Bq[c]:25==c&&a.shiftKey&&(f=9):b.keyIdentifier&&b.keyIdentifier in Cq&&(f=Cq[b.keyIdentifier]);a=f==this.Zj;this.Zj=f;b=new Fq(f, -d,a,b);b.altKey=e;this.dispatchEvent(b)};var wG=window.acgraph.server,Dh=0,Eh=[];function xG(){Dh--;if(!Dh)for(var a=Eh.slice(0),b=Eh.length=0;be;e++){c=e;for(var f=0;8>f;f++)c=c&1?3988292384^c>>>1:c>>>1;d[e]=c}mG=d}c=-1;for(d=0;d>>8^mG[(c^a.charCodeAt(d++))&255];a=((c^-1)>>>0).toString(16);return b==a}var IG=[]; -function iF(){Aa.Er||(Da||(Da=dF(ca.anychart.themes.defaultTheme)),IG.length?Aa.Er=cj(IG,function(a,b){return fF(dF(z(b)?ca.anychart.themes[b]:b),a)},Da):Aa.Er=Da);return Aa.Er}iF();function JG(a){return function(){xe(4,null,[a])}} -var KG=KG||JG("Area chart"),LG=LG||JG("3D Area chart"),MG=MG||JG("Bar chart"),NG=NG||JG("3D Bar chart"),OG=OG||JG("Bubble chart"),PG=PG||JG("Bullet chart"),QG=QG||JG("Cartesian chart"),RG=RG||JG("3D Cartesian chart"),SG=SG||JG("Scatter chart"),TG=TG||JG("Column chart"),UG=UG||JG("3D Column chart"),VG=VG||JG("Box chart"),WG=WG||JG("Financial chart"),XG=XG||JG("Funnel chart"),YG=YG||JG("Line chart"),ZG=ZG||JG("Marker chart"),$G=$G||JG("Pie chart"),aH=aH||JG("3D Pie chart"),bH=bH||JG("Pyramid chart"), -cH=cH||JG("Radar chart"),dH=dH||JG("Polar chart"),eH=eH||JG("Sparkline chart"),fH=fH||JG("HeatMap chart"),gH=gH||JG("Circular gauge"),hH=hH||JG("Circular gauge"),iH=iH||JG("Linear gauge"),jH=jH||JG("Tank gauge"),kH=kH||JG("Thermometer gauge"),lH=lH||JG("LED gauge"),mH=mH||JG("Map"),nH=nH||JG("Choropleth map"),oH=oH||JG("Bubble map"),pH=pH||JG("Connector map"),qH=qH||JG("Marker map"),rH=rH||JG("Seat map"),sH=sH||JG("Gantt Project chart"),tH=tH||JG("Gantt Resource chart"),uH=uH||JG("Stock chart"),Xx= -Xx||JG("Toolbar"),Lz=Lz||JG("Gantt toolbar"),vH=vH||JG("TreeMap chart"),wH=wH||JG("anychart.standalones.Background"),xH=xH||JG("anychart.ui.Background"),yH=yH||JG("anychart.standalones.ColorRange"),zH=zH||JG("anychart.ui.ColorRange"),AH=AH||JG("anychart.standalones.DataGrid"),BH=BH||JG("anychart.ui.DataGrid"),CH=CH||JG("anychart.standalones.Label"),DH=DH||JG("anychart.ui.Label"),EH=EH||JG("anychart.standalones.LabelsFactory"),FH=FH||JG("anychart.ui.LabelsFactory"),GH=GH||JG("anychart.standalones.Legend"), -HH=HH||JG("anychart.ui.Legend"),IH=IH||JG("anychart.standalones.MarkersFactory"),JH=JH||JG("anychart.ui.MarkersFactory"),KH=KH||JG("anychart.standalones.ProjectTimeline"),LH=LH||JG("anychart.ui.ProjectTimeline"),MH=MH||JG("anychart.standalones.ResourceTimeline"),NH=NH||JG("anychart.ui.ResourceTimeline"),OH=OH||JG("anychart.standalones.ResourceList"),PH=PH||JG("anychart.standalones.scroller"),QH=QH||JG("anychart.ui.Scroller"),RH=RH||JG("anychart.standalones.Table"),SH=SH||JG("anychart.ui.Table"),TH= -TH||JG("anychart.standalones.Title"),UH=UH||JG("anychart.ui.Title"),VH=VH||JG("anychart.standalones.axes.Linear"),WH=WH||JG("anychart.standalones.axes.Polar"),XH=XH||JG("anychart.standalones.axes.Radar"),YH=YH||JG("anychart.standalones.axes.Radial"),bI=bI||JG("anychart.axes.Linear"),cI=cI||JG("anychart.axes.Polar"),dI=dI||JG("anychart.axes.Radar"),eI=eI||JG("anychart.axes.Radial"),fI=fI||JG("anychart.axisMarkers.Line"),gI=gI||JG("anychart.axisMarkers.Range"),hI=hI||JG("anychart.axisMarkers.Text"), -iI=iI||JG("anychart.standalones.axisMarkers.Line"),jI=jI||JG("anychart.standalones.axisMarkers.Range"),kI=kI||JG("anychart.standalones.axisMarkers.Text"),lI=lI||JG("anychart.grids.Linear"),mI=mI||JG("anychart.grids.Linear3d"),nI=nI||JG("anychart.grids.Polar"),oI=oI||JG("anychart.grids.Radar"),pI=pI||JG("anychart.standalones.grids.Linear"),qI=qI||JG("anychart.standalones.grids.Linear3d"),rI=rI||JG("anychart.standalones.grids.Polar"),sI=sI||JG("anychart.standalones.grids.Radar"),Mx=Mx||function(a){a|| -xe(4,null,["Context Menu"]);return null},Kz=Kz||JG("Gantt toolbar"),Et=Et||JG("Preloader"),iv=iv||JG("Range picker"),Rw=Rw||JG("Range selector"); -(function(){for(var a=["ms","moz","webkit","o"],b=0,c;c=a[b]&&!window.requestAnimationFrame;++b)window.requestAnimationFrame=window[c+"RequestAnimationFrame"],window.cancelAnimationFrame=window[c+"CancelAnimationFrame"]||window[c+"CancelRequestAnimationFrame"];if(!window.requestAnimationFrame){var d=0;window.requestAnimationFrame=function(a){var b=(new Date).getTime(),c=Math.max(0,16-(b-d));d=b+c;return window.setTimeout(function(){a(b+c)},c)};window.cancelAnimationFrame||(window.cancelAnimationFrame= -function(a){clearTimeout(a)})}})();C("anychart.graphics",vG);C("anychart.server",wG);C("anychart.fromJson",CG);C("anychart.fromXml",function(a){return CG(dG(a))});C("anychart.onDocumentLoad",function(a,b){Ba||(Ba=[]);Ba.push([a,b]);np(Ao(),op,function(){for(var a=0,b=Ba.length;af;f++)this.xa($E[f],null,aF);this.g.ja(!0);return this}return this.O||(this.O=new YE(this,!1))}; -g.kK=function(a,b,c,d){if(n(a)){var e,f,h,k,l;r(a)?(l=a,a=l[0],b=l[1],c=l[2],d=l[3],l=l.length):l=arguments.length;0==l?k=h=f=e=0:v(a)?(e=Tb(a.top)||0,f=Tb(a.right)||0,h=Tb(a.bottom)||0,k=Tb(a.left)||0):1==l?k=h=f=e=Tb(a)||0:2==l?(h=e=Tb(a)||0,k=f=Tb(b)||0):3==l?(e=Tb(a)||0,k=f=Tb(b)||0,h=Tb(c)||0):4<=l&&(e=Tb(a)||0,f=Tb(b)||0,h=Tb(c)||0,k=Tb(d)||0);L(this.g);this.xa(Sb[0],e,Ub);this.xa(Sb[1],f,Ub);this.xa(Sb[2],h,Ub);this.xa(Sb[3],k,Ub);this.g.ja(!0);return this}return this.ua||(this.ua=new Rb(this))}; -rJ.prototype.fontSize=rJ.prototype.fontSize;rJ.prototype.fontFamily=rJ.prototype.fontFamily;rJ.prototype.fontColor=rJ.prototype.K1;rJ.prototype.fontOpacity=rJ.prototype.gn;rJ.prototype.fontDecoration=rJ.prototype.L1;rJ.prototype.fontStyle=rJ.prototype.fontStyle;rJ.prototype.fontVariant=rJ.prototype.fontVariant;rJ.prototype.fontWeight=rJ.prototype.fontWeight;rJ.prototype.letterSpacing=rJ.prototype.letterSpacing;rJ.prototype.textDirection=rJ.prototype.P1;rJ.prototype.lineHeight=rJ.prototype.N1; -rJ.prototype.textIndent=rJ.prototype.Q1;rJ.prototype.vAlign=rJ.prototype.T1;rJ.prototype.hAlign=rJ.prototype.M1;rJ.prototype.textWrap=rJ.prototype.S1;rJ.prototype.textOverflow=rJ.prototype.R1;rJ.prototype.selectable=rJ.prototype.O1;rJ.prototype.disablePointerEvents=rJ.prototype.wc;rJ.prototype.useHtml=rJ.prototype.Bh;rJ.prototype.border=rJ.prototype.J1;function sJ(a,b,c){rJ.call(this,a);this.reset(b,c)}E(sJ,rJ);g=sJ.prototype;g.reset=function(a,b){(na(this.o)||z(this.o))&&dg(this.j);this.I=this.J=1;this.D=a;this.F=b;this.j=this.o=null;this.b=NaN;delete this.Aa;return this}; -g.content=function(a){if(n(a)){if(this.o!=a){this.o=a;if(this.j){var b=this.g,c=this.j;b.Yt=b.Yt||[];b.Yt.push(c)}na(a)||z(a)?(a=a+"",b=this.g,b.Ih||(b.Ih=new tJ,b.Ih.U(iF().standalones.labelsFactory),b.Ih.anchor("center"),b.Ih.position("center")),this.j=b.Ih.add({value:a},{value:{x:0,y:0}})):this.j=a;this.g.B(Ub,J)}return this}return this.o};g.gr=function(a){return n(a)?(a=Fb(a,this.I),a!=this.I&&(this.I=a,this.g.B(128,J)),this):this.I}; -g.ir=function(a){return n(a)?(a=Fb(a,this.J),a!=this.J&&(this.J=a,this.g.B(128,J)),this):this.J};g.W1=function(){return this.D};g.V1=function(){return this.F};g.mn=function(){return this.g.mn(this.D)};g.U1=function(){return this.g.qP(this.F)};g.jb=function(){return uJ(this.g,this.D,this.F,this.J,this.I)};g.fill=function(a,b,c,d,e,f,h){null!=a&&(a=Qc.apply(null,arguments));return this.xa("fill",a,512)};g.padding=function(a,b,c,d){return this.kK.apply(this,arguments)}; -g.ca=function(){(na(this.o)||z(this.o))&&dg(this.j);sJ.G.ca.call(this)};sJ.prototype.content=sJ.prototype.content;sJ.prototype.rowSpan=sJ.prototype.ir;sJ.prototype.colSpan=sJ.prototype.gr;sJ.prototype.padding=sJ.prototype.padding;sJ.prototype.getBounds=sJ.prototype.jb;sJ.prototype.getRowNum=sJ.prototype.W1;sJ.prototype.getColNum=sJ.prototype.V1;sJ.prototype.getRow=sJ.prototype.mn;sJ.prototype.getCol=sJ.prototype.U1;sJ.prototype.fill=sJ.prototype.fill;function vJ(a,b){rJ.call(this,a);this.b=b;this.j=null}E(vJ,rJ);g=vJ.prototype;g.Z1=function(){return this.b};g.Y1=function(a){return this.g.Gt(a,this.b)};g.width=function(a){return n(a)?(wJ(this.g,this.b,a),this):wJ(this.g,this.b)};g.d2=function(a){return n(a)?(xJ(this.g,this.b,a),this):xJ(this.g,this.b)};g.c2=function(a){return n(a)?(yJ(this.g,this.b,a),this):yJ(this.g,this.b)};g.zP=function(a,b,c,d,e,f,h){null!=a&&(a=Qc.apply(null,arguments));return this.xa("fill",a,512)}; -g.X1=function(a,b,c,d,e){if(n(a)){null===a||(a=Pc.apply(null,arguments));L(this.g);this.xa("cellBorder",a,aF);for(var f=0;4>f;f++)this.xa(ZE[f],null,aF);this.g.ja(!0);return this}return this.j||(this.j=new YE(this,!0))};g.cellPadding=function(a,b,c,d){return this.kK.apply(this,arguments)};vJ.prototype.width=vJ.prototype.width;vJ.prototype.maxWidth=vJ.prototype.c2;vJ.prototype.minWidth=vJ.prototype.d2;vJ.prototype.getCell=vJ.prototype.Y1;vJ.prototype.getColNum=vJ.prototype.Z1; -vJ.prototype.cellFill=vJ.prototype.zP;vJ.prototype.cellBorder=vJ.prototype.X1;vJ.prototype.cellPadding=vJ.prototype.cellPadding;function zJ(a,b){rJ.call(this,a);this.b=b;this.j=null}E(zJ,rJ);g=zJ.prototype;g.g2=function(){return this.b};g.f2=function(a){return this.g.Gt(this.b,a)};g.height=function(a){return n(a)?(this.g.cU(this.b,a),this):this.g.cU(this.b)};g.h2=function(a){return n(a)?(AJ(this.g,this.b,a),this):AJ(this.g,this.b)};g.maxHeight=function(a){return n(a)?(BJ(this.g,this.b,a),this):BJ(this.g,this.b)};g.AP=function(a,b,c,d,e,f,h){null!=a&&(a=Qc.apply(null,arguments));return this.xa("fill",a,512)}; -g.e2=function(a,b,c,d,e){if(n(a)){null===a||(a=Pc.apply(null,arguments));L(this.g);this.xa("cellBorder",a,aF);for(var f=0;4>f;f++)this.xa(ZE[f],null,aF);this.g.ja(!0);return this}return this.j||(this.j=new YE(this,!0))};g.cellPadding=function(a,b,c,d){return this.kK.apply(this,arguments)};zJ.prototype.height=zJ.prototype.height;zJ.prototype.maxHeight=zJ.prototype.maxHeight;zJ.prototype.minHeight=zJ.prototype.h2;zJ.prototype.getCell=zJ.prototype.f2;zJ.prototype.getRowNum=zJ.prototype.g2; -zJ.prototype.cellFill=zJ.prototype.AP;zJ.prototype.cellBorder=zJ.prototype.e2;zJ.prototype.cellPadding=zJ.prototype.cellPadding;function CJ(a){pq.call(this);this.Ca=a;this.D=!0;this.j="";this.g=null}E(CJ,tI);g=CJ.prototype;g.za=tI.prototype.za|10;g.enabled=function(a){return n(a)?(this.D!=a&&(this.D=a,this.va(10)),this):this.D};g.jr=function(a){return n(a)?(this.j!=a&&(this.j=a,this.va(2)),this):this.j};function DJ(a,b){return n(b)?(a.g!=b&&(a.g&&uI(a.g,a.hK,a),a.g=b,P(a.g,a.hK,a)),a):a.g}g.hK=function(a){X(a,8)&&this.enabled(this.g.enabled())}; -g.N=function(){var a=CJ.G.N.call(this);a.enabled=this.D;A(this.jr())?M(8,null,["A11y titleFormatter"]):this.j&&(a.titleFormatter=this.j);return a};g.Qe=function(a){var b=arguments[0];return la(b)||null===b?(this.enabled(!!b),!0):A(b)?(this.jr(b),!0):tI.prototype.Qe.apply(this,arguments)};g.da=function(a,b){CJ.G.da.call(this,a,b);this.enabled("enabled"in a?a.enabled:!0);this.jr(a.titleFormatter)};g.ca=function(){this.Ca=null;this.g&&(this.g.va(2),uI(this.g,this.hK,this));this.g=null;CJ.G.ca.call(this)}; -function EJ(a){CJ.call(this,a);this.o="chartElements";this.b=null}E(EJ,CJ);g=EJ.prototype; -g.zB=function(a){var b=this.Ca.I;b.dg("role",null);b.dg("aria-hidden","true");b.dg("aria-label",null);Ko(this.b);this.b=null;if(this.enabled()){var c;this.j&&(c=this.j,z(c)&&(c=FJ(GJ.qc(),c)),c=c.call(a,a));a=this.Ca.title();!c&&a.ha("text")&&a.enabled()&&(c=a.ha("text"));"dataTable"==this.o?(this.b=this.Ca.VU(c),(b=this.Ca.P().P())&&Jo(b,this.b,0)):c&&(b.dg("aria-label",c),b.dg("aria-hidden",null),b.dg("role","article"))}}; -g.mode=function(a){if(n(a)){a:{switch(String(a).toLowerCase()){case "datatable":a="dataTable";break a}a="chartElements"}this.o!=a&&(this.o=a,this.va(2));return this}return this.o};g.N=function(){var a=EJ.G.N.call(this);a.mode=this.o;return a};g.da=function(a,b){EJ.G.da.call(this,a,b);this.mode(a.mode)};g.ca=function(){Ko(this.b);this.b=null;EJ.G.ca.call(this)};function HJ(a){CJ.call(this,a.Zb());this.b=a;this.o=null}E(HJ,CJ); -HJ.prototype.zB=function(a){var b=null,c=null,d=this.b.KF()||this.o;this.enabled()&&this.jr()&&(b=this.jr(),z(b)&&(b=FJ(GJ.qc(),b)),b=b.call(a,a),c="img");this.b.sJ()||this.o||(d=this.o=this.b.KF().cf());d.dg("aria-label",b);d.dg("role",c)};HJ.prototype.ca=function(){dg(this.o);this.b=null;HJ.G.ca.call(this)};EJ.prototype.enabled=EJ.prototype.enabled;EJ.prototype.titleFormatter=EJ.prototype.jr;EJ.prototype.mode=EJ.prototype.mode;HJ.prototype.enabled=HJ.prototype.enabled; -HJ.prototype.titleFormatter=HJ.prototype.jr;function IJ(){pq.call(this);this.g=!1;this.b=1E3}E(IJ,tI);g=IJ.prototype;g.za=2;g.enabled=function(a){return n(a)?(this.g!=a&&(this.g=a,this.va(2)),this):this.g};g.duration=function(a){return n(a)?(a=Fb(a,this.b,!0),this.b!=a&&(this.b=a,this.va(2)),this):this.b};g.N=function(){return{enabled:this.g,duration:this.b}};g.da=function(a){this.enabled(a.enabled);this.duration(a.duration)}; -g.Qe=function(a){var b=arguments[0];return la(b)||null===b?(this.enabled(!!b),b=arguments[1],n(b)&&this.duration(b),!0):isNaN(+b)?tI.prototype.Qe.apply(this,arguments):(this.enabled(!0),this.duration(+b),!0)};IJ.prototype.enabled=IJ.prototype.enabled;IJ.prototype.duration=IJ.prototype.duration;function JJ(a,b,c,d){pq.call(this);arguments.length&&this.set.apply(this,arguments)}E(JJ,tI);g=JJ.prototype;g.za=2;g.Ut=NaN;g.np=NaN;g.wo=null;g.Lo=null;g.yl=null;g.fl=null;g.lb=null;g.Fb=null;g.Bo=null;g.Kn=null;g.Gk=null;g.Bi=null; -g.XU=function(a,b,c,d){a instanceof Q?(d=a,a=F(d.left),b=F(d.top),c=F(d.width),d=F(d.height)):v(a)?(d=a,a=F(d.left),b=F(d.top),c=F(d.width),d=F(d.height)):(a=F(a),b=F(b),c=F(c),d=F(d));var e,f,h;null===this.wo?null===this.yl?(e=0,h=null===this.lb?+c||0:U(this.lb,c),h=KJ(this,h,c)):(f=U(this.yl,c,!0),h=null===this.lb?f:U(this.lb,c),h=KJ(this,h,c),e=f-h):(e=U(this.wo,c),h=null===this.yl?null===this.lb?+c-e||0:U(this.lb,c):U(this.yl,c,!0)-e,h=KJ(this,h,c));null===this.Lo?null===this.fl?(f=isNaN(this.Ut)? -0:this.Ut,c=null===this.Fb?isNaN(this.np)?+d||0:this.np:U(this.Fb,d),c=LJ(this,c,d)):(f=U(this.fl,d,!0),c=null===this.Fb?isNaN(this.Ut)?isNaN(this.np)?f:this.np:f-this.Ut:U(this.Fb,d),c=LJ(this,c,d),f-=c):(f=U(this.Lo,d),c=null===this.fl?null===this.Fb?isNaN(this.np)?+d-f||0:this.np:U(this.Fb,d):U(this.fl,d,!0)-f,c=LJ(this,c,d));isNaN(a)||(e+=a);isNaN(b)||(f+=b);return new Q(e,f,h,c)};function LJ(a,b,c){null===a.Kn||(b=Math.max(b,U(a.Kn,c)));null===a.Bi||(b=Math.min(b,U(a.Bi,c)));return b} -function KJ(a,b,c){null===a.Bo||(b=Math.max(b,U(a.Bo,c)));null===a.Gk||(b=Math.min(b,U(a.Gk,c)));return b} -g.set=function(a,b,c,d){var e,f,h,k,l,m,p;a instanceof JJ?(e=a.wo,b=a.Lo,c=a.lb,h=a.Fb,k=a.Bo,l=a.Kn,m=a.Gk,p=a.Bi,d=a.yl,f=a.fl):a instanceof Q?(e=a.left,b=a.top,c=a.width,h=a.height,p=m=l=k=f=d=null):r(a)?(e=n(a[0])?a[0]:null,b=n(a[1])?a[1]:null,c=n(a[2])?a[2]:null,h=n(a[3])?a[3]:null,p=m=l=k=f=d=null):v(a)?(e=n(a.left)?a.left:null,b=n(a.top)?a.top:null,d=n(a.right)?a.right:null,f=n(a.bottom)?a.bottom:null,c=n(a.width)?a.width:null,h=n(a.height)?a.height:null,k=n(a.minWidth)?a.minWidth:null,l=n(a.minHeight)? -a.minHeight:null,m=n(a.maxWidth)?a.maxWidth:null,p=n(a.maxHeight)?a.maxHeight:null):(e=n(a)?a:null,b=n(b)?b:null,c=n(c)?c:null,h=n(d)?d:null,p=m=l=k=f=d=null);L(this);this.left(e).top(b).right(d).bottom(f).width(c).height(h).kt(k).Ht(l).iB(m).maxHeight(p);this.ja(!0);return this};g.left=function(a){return n(a)?(a=NF(a),a!=this.wo&&(this.wo=a,this.va(2)),this):this.wo};g.top=function(a){return n(a)?(a=NF(a),a!=this.Lo&&(this.Lo=a,this.va(2)),this):this.Lo}; -g.right=function(a){return n(a)?(a=NF(a),a!=this.yl&&(this.yl=a,this.va(2)),this):this.yl};g.bottom=function(a){return n(a)?(a=NF(a),a!=this.fl&&(this.fl=a,this.va(2)),this):this.fl};g.width=function(a){return n(a)?(a=NF(a),a!=this.lb&&(this.lb=a,this.va(2)),this):this.lb};g.height=function(a){return n(a)?(a=NF(a),a!=this.Fb&&(this.Fb=a,this.va(2)),this):this.Fb};g.kt=function(a){return n(a)?(a=NF(a),a!=this.Bo&&(this.Bo=a,this.va(2)),this):this.Bo}; -g.Ht=function(a){return n(a)?(a=NF(a),a!=this.Kn&&(this.Kn=a,this.va(2)),this):this.Kn};g.iB=function(a){return n(a)?(a=NF(a),a!=this.Gk&&(this.Gk=a,this.va(2)),this):this.Gk};g.maxHeight=function(a){return n(a)?(a=NF(a),a!=this.Bi&&(this.Bi=a,this.va(2)),this):this.Bi};g.ll=function(){return KF(this.lb)||KF(this.Fb)||KF(this.Bo)||KF(this.Kn)||KF(this.Gk)||KF(this.Bi)||KF(this.wo)||KF(this.Lo)||null!=this.fl||null!=this.yl||null===this.lb&&null===this.yl||null===this.Fb&&null===this.fl}; -g.N=function(){var a=JJ.G.N.call(this);null!==this.Lo&&(a.top=this.Lo);null!==this.yl&&(a.right=this.yl);null!==this.fl&&(a.bottom=this.fl);null!==this.wo&&(a.left=this.wo);null!==this.lb&&(a.width=this.lb);null!==this.Fb&&(a.height=this.Fb);null!==this.Bo&&(a.minWidth=this.Bo);null!==this.Kn&&(a.minHeight=this.Kn);null!==this.Gk&&(a.maxWidth=this.Gk);null!==this.Bi&&(a.maxHeight=this.Bi);return a};g.U=function(a){n(arguments[0])&&this.set.apply(this,arguments);return this};JJ.prototype.top=JJ.prototype.top; -JJ.prototype.right=JJ.prototype.right;JJ.prototype.bottom=JJ.prototype.bottom;JJ.prototype.left=JJ.prototype.left;JJ.prototype.width=JJ.prototype.width;JJ.prototype.height=JJ.prototype.height;JJ.prototype.minWidth=JJ.prototype.kt;JJ.prototype.minHeight=JJ.prototype.Ht;JJ.prototype.maxWidth=JJ.prototype.iB;JJ.prototype.maxHeight=JJ.prototype.maxHeight;JJ.prototype.set=JJ.prototype.set;JJ.prototype.toRect=JJ.prototype.XU;function MJ(a,b){this.o=de(a);this.b=b||1;this.g=new Date(0);switch(this.o){case "year":return this.j=315576E5*this.b,this.D=this.nW,this.next=this.l7,this;case "semester":return this.j=315576E5*this.b/2,this.D=this.kW,this.next=this.i7,this;case "quarter":return this.j=315576E5*this.b/4,this.D=this.iW,this.next=this.g7,this;case "month":return this.j=315576E5*this.b/12,this.D=this.jF,this.next=this.f7,this;case "thirdofmonth":return this.j=315576E5*this.b/36,this.D=this.lW,this.next=this.j7,this; -case "week":return this.j=6048E5*this.b,this.D=this.mW,this.next=this.k7,this;default:this.j=864E5*this.b;this.D=this.eW;this.next=this.X6;break;case "hour":this.j=36E5*this.b;this.D=this.fW;this.next=this.Z6;break;case "minute":this.j=6E4*this.b;this.D=this.hW;this.next=this.e7;break;case "second":this.j=1E3*this.b;this.D=this.jW;this.next=this.h7;break;case "millisecond":this.j=this.b,this.D=this.gW,this.next=this.d7}}g=MJ.prototype; -g.nW=function(a){this.g.setTime(Date.UTC(QF(this.g.getUTCFullYear(),this.b,a?a.getUTCFullYear():2E3)-this.b,0))};g.kW=function(a){var b=this.b;this.b*=6;this.jF(a);this.b=b};g.iW=function(a){var b=this.b;this.b*=3;this.jF(a);this.b=b};g.jF=function(a){var b=QF(this.g.getUTCMonth()+12*this.g.getUTCFullYear(),this.b,a?a.getUTCMonth()+12*a.getUTCFullYear():24E3)-this.b;a=Math.floor(b/12);b%=12;0>b&&(b+=12);this.g.setTime(Date.UTC(a,b))}; -g.lW=function(a){a=QF(NJ(this.g),this.b,a?NJ(a):72E3)-this.b;var b=Math.floor(a/36);a%=36;var c=Math.floor(a/3);0>c&&(c+=12);a%=3;0>a&&(a+=3);this.g.setTime(Date.UTC(b,c,1+10*a))};g.mW=function(a){OJ(this,6048E5*this.b,a||new Date(Date.UTC(2E3,0,2)))};g.eW=function(a){OJ(this,864E5*this.b,a)};g.fW=function(a){OJ(this,36E5*this.b,a)};g.hW=function(a){OJ(this,6E4*this.b,a)};g.jW=function(a){OJ(this,1E3*this.b,a)};g.gW=function(a){OJ(this,this.b,a)}; -function OJ(a,b,c){a.g.setTime(QF(a.g.getTime(),b,c?c.getTime():Date.UTC(2E3,0))-b)}function NJ(a){var b=a.getUTCDate();return 3*(12*a.getUTCFullYear()+a.getUTCMonth())+(10>=b?0:20>=b?1:2)}g.l7=function(){this.g.setUTCFullYear(this.g.getUTCFullYear()+this.b);return this.g.getTime()};g.i7=function(){var a=this.g.getUTCMonth()+6*this.b,b=this.g.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.g.setUTCFullYear(b);this.g.setUTCMonth(a);return this.g.getTime()}; -g.g7=function(){var a=this.g.getUTCMonth()+3*this.b,b=this.g.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.g.setUTCFullYear(b);this.g.setUTCMonth(a);return this.g.getTime()};g.f7=function(){var a=this.g.getUTCMonth()+this.b,b=this.g.getUTCFullYear()+Math.floor(a/12),a=a%12;0>a&&(a+=12);this.g.setUTCFullYear(b);this.g.setUTCMonth(a);return this.g.getTime()}; -g.j7=function(){var a,b=this.g.getUTCDate();a=3*(12*this.g.getUTCFullYear()+this.g.getUTCMonth())+(10>=b?0:20>=b?1:2)+this.b;b=Math.floor(a/36);a%=36;var c=Math.floor(a/3);0>c&&(c+=12);a%=3;0>a&&(a+=3);this.g.setTime(Date.UTC(b,c,1+10*a));return this.g.getTime()};g.k7=function(){var a=this.g.getTime()+6048E5*this.b;this.g.setTime(a);return a};g.X6=function(){var a=this.g.getTime()+864E5*this.b;this.g.setTime(a);return a};g.Z6=function(){var a=this.g.getTime()+36E5*this.b;this.g.setTime(a);return a}; -g.e7=function(){var a=this.g.getTime()+6E4*this.b;this.g.setTime(a);return a};g.h7=function(){var a=this.g.getTime()+1E3*this.b;this.g.setTime(a);return a};g.d7=function(){var a=this.g.getTime()+this.b;this.g.setTime(a);return a};g.ku=function(){return this.b};function PJ(a,b){var c=a.j-b.j;return c?c:b.b-a.b};function QJ(){pq.call(this);this.o=!0;this.D=!1;this.b=[];this.g=500;this.j=NaN;this.F={unit:"millisecond",count:1};this.I=!1}E(QJ,tI);g=QJ.prototype;g.za=2;g.enabled=function(a){return n(a)?(a=!!a,this.o!=a&&(this.o=a,this.va(2)),this):this.o};g.MR=function(a){return n(a)?(a=!!a,this.D!=a&&(this.D=a,this.va(2)),this):this.D}; -g.GG=function(a){if(n(a)){this.b.length=0;if(r(a)){for(var b={},c=0;c=a||(this.value=a)};function rK(a){fh.call(this,a)}E(rK,fh);rK.prototype.clear=function(){this.value=NaN};rK.prototype.b=function(a){a=F(a);isNaN(a)||this.value<=a||(this.value=a)};function sK(a){fh.call(this,a)}E(sK,fh);sK.prototype.clear=function(){this.value=0};sK.prototype.b=function(a){a=F(a);isNaN(a)||(this.value+=a)};function tK(a,b){fh.call(this,a,b)}E(tK,fh);tK.prototype.clear=function(){this.value=this.j=0};tK.prototype.b=function(a,b){a=F(a);b=F(b)||0;isNaN(a)||(this.value+=a*b,this.j+=b)};tK.prototype.g=function(){var a=this.j?this.value/this.j:NaN;this.clear();return a};function uK(a,b,c){if(A(a))return new hh(b,a,c);if(v(a))return new gh(b,a);switch(a){case "average":return new nK(b);case "first":return new oK(b);case "firstValue":return new ih(b);case "lastValue":return new jh(b);case "list":return new kh(b);case "max":return new qK(b);case "min":return new rK(b);case "sum":return new sK(b);case "weightedAverage":return new tK(b,c);default:case "last":return new pK(b)}} -function vK(a,b,c){na(b)&&(b=b.toFixed(0));if(v(a))return qa(a)+"|"+b+"|"+FF(c);switch(a){case "average":return"a"+b;case "first":return"f"+b;case "firstValue":return"o"+b;case "lastValue":return"c"+b;case "list":return"g"+b;case "max":return"x"+b;case "min":return"n"+b;case "sum":return"s"+b;case "weightedAverage":return na(c)&&(c=c.toFixed(0)),"w"+b+":"+String(c);default:case "last":return"l"+b}};function wK(a){this.g=a;this.o=xK(a.b);this.D=!0;this.b=yK(this.o);this.j=null;this.I=!1;this.F=[];zK(this)}function zK(a){for(var b=a.j?a.j.g.b.length:a.o.Jb();a.F.lengthc){var e=b;b=c;c=e}e=xK(a.g.b,d);if(a.I||e!=a.o||a.b.$h!=b||a.b.Li!=c)a.I=!1,a.o=e,a.D=!d,a.b=e.select(b,c),zK(a);return a}function EK(a,b,c){if(b){if(a.j){c=a.j;var d=b.key;FK(c);c=kd(c.g,d)}return new BK(b,a.g,!a.D,c,a.F[c])}return null}function GK(a){return EK(a,a.b.DT,a.b.ts)} -function HK(a){return EK(a,a.b.pK,a.b.ss)}function DK(a,b){return new ed(a.g,a.b,a.F,!a.D,a.j?IK(a.j,!!b):null)}function BK(a,b,c,d,e){this.We=a;this.b=b;this.o=c;this.D=d;this.F=e}g=BK.prototype;g.get=function(a){return this.vp(this.o?fd(this.b,a):gd(this.b,a))};g.vp=function(a){var b;na(a)&&0>a?this.We.g&&(b=this.We.g[~a]):b=this.We.values[a];return b};g.ra=function(){return this.D};g.jB=function(){return this.We.key}; -g.K=function(a,b){return 1c){var l=b;b=c;c=l}1>c-b&&(c>a.j?b=c-1:c=b+1);h=b!=h.$h||c!=h.Li;var m=a.ea,l=c-b,p=pd(a.o,b,c),q=p.lastIndex-p.Oh+1||0,p=p.py,m=isNaN(d.g)?m/d.j:d.g,t=-1;if(d.o&&0m)){q=0;for(t=d.b.length;q=l/m){u=w;break}0>u&&qt){var l=null,x;if(p){var p=Math.floor(p),y,m=1;if(p){for(q=0;qt-Math.floor(t))){m=Math.floor(t);break}y!=x&&y.Xl&&100e)this.j[a]={GU:e,ZT:e};else if(z(e)||!isNaN(e)){if((b=v(c))&&!A(c)&&!("reset"in c&&"considerItem"in c&&"getResult"in c))return this;var f=b?c:oe(n(c)?c:a);b=d;"weightedAverage"==f&&(na(d)?b=Math.round(d):z(d)?(b=this.b.o[d]||NaN,isNaN(b)&&(b=d)):b=NaN,na(b)&&isNaN(b)&&(f="average"));L(this.b);d=this.b;c=e;var h=b;b=vK(f,c,h);b in d.J?b=d.J[b]:(c=uK(f,c,h), -d.J[b]=b=d.F.length,d.F.push(c),ZK(d,4,!1));this.j[a]={GU:e,ZT:b};this.b.ja(!0)}return this};function fd(a,b){return b in a.j?a.j[b].ZT:NaN}function gd(a,b){return b in a.j?a.j[b].GU:NaN}YK.prototype.addField=YK.prototype.g;YK.prototype.createSelectable=YK.prototype.o;function $K(a,b){pq.call(this);this.b=a;this.g=b;this.b.pa("treeItemMove",this.DD,!1,this);this.b.pa("treeItemUpdate",this.DD,!1,this);this.b.pa("treeItemCreate",this.DD,!1,this);this.b.pa("treeItemRemove",this.DD,!1,this);P(this.b,this.i8,this)}E($K,tI);g=$K.prototype;g.za=tI.prototype.za|48;g.DD=function(a){var b={};li(b,a);b.dataItem&&b.dataItem instanceof aL&&(b.dataItem=bL(b.dataItem,this));this.dispatchEvent(b)};g.i8=function(a){this.va(a.g)};g.pu=function(){return new qd(this)}; -g.search=function(a,b,c){a=this.g[a]||a;a=this.b.search(a,b,c);if(null===a)return null;if(r(a))for(b=[],c=0;ch){var p=~h;ec(d,m,p);(h=this.search("id",m))?(h=h instanceof aL?h:h[0],ec(e,h,p),h.K("nc",!0),M(1,null,[m])):ec(e,k,p)}else M(2,null,[m])}for(b=0;bh?((h=this.search("id",k))?(h=h instanceof aL?h:h[0],iL(h,f)):(this.j.push(f),M(3,null,[k])),jL(this,f)):(h=e[h],iL(h,f),h.K("nc")&&jL(this,f))):(this.j.push(f),jL(this,f));l.length&&this.va(16);this.ja(!0);break;default:L(this);b=0;for(d= -a.length;ba?ec(d,e,~a):(a=d[a],r(a.value)||(a.value=[a.value]),a.value.push(b))}else for(e in a.b)kL(a,b,e,d)}function lL(a,b,c,d){if(c){if(d)for(var e=b.ec();e--;)lL(a,b.Bc(e),c,d);if(d=a.b[c])e={key:b.get(c)},a.D[c]&&(e.key=""+e.key),e=bc(d,e,a.SB),(d=d[e])&&(r(d.value)&&1b){var f=a;a=b;b=f}var f=this.ba(),h,k=d||"x",l=[];for(f.reset();f.advance();)h=f.ra(),d=c?h:f.get(k),d>=a&&d<=b&&l.push(h);return this.o[e]=l};g.get=function(a,b){return a>=this.Jb()?void 0:Wc(this.oj(a),this.We(a),a,b)};g.set=function(a,b,c){var d=this.We(a);n(d)&&this.We(a,xL(this.oj(a),d,b,c));return this};g.ba=function(){pL(this);return new Vc(this)};g.Xt=function(){return null}; -g.ID=function(a){this.o=this.Qa=this.j=null;X(a,16)&&this.B(1,16)};g.K=function(a,b,c){if(this.oL)return this.HD.apply(this,arguments);this.Bu||(this.Bu=[]);var d=this.Bu[a];d||(this.Bu[a]=d={});return 2d)throw Error("Index can not be masked by this View");return a>=d?(a-=d,2e?(ec(b,d,~e),ec(a,c.ra(),~e)):a[e]=c.ra()}}return a}; -function IL(a,b){for(var c=a.ba(),d=c.Jb(),e=0,f=d,h,k;e>1;c.select(l);k=c.get("x");a.g&&(k=Dc(k));k=DF(b,k);0=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=TL(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=Rk(c-Math.PI/2,2*Math.PI),"top"==RL(a)||"left"==RL(a)?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}function UL(a,b){var c,d;a.ya.gb();b=parseFloat(b);c=SL(a);var e=a.ha("position"),f=a.ha("length");a.kb()?(d=a.ya.transform(b,c,null),c=a.ya.transform(b+1,c,null)):(d=a.ya.transform(c,b,null),c=a.ya.transform(c,b+1,null));var h=Math.atan(-(d[1]-c[1])/(c[0]-d[0]));isNaN(h)&&(h=0);e=TL(a,e,h,d,c);return[d[0],d[1],d[0]+Math.cos(e)*f,d[1]+Math.sin(e)*f,e]}function VL(a,b){var c=UL(a,b);return new Q(Math.min(c[0],c[2]),Math.min(c[1],c[3]),Math.abs(c[0]-c[2]),Math.abs(c[1]-c[3]))} -g.remove=function(){this.path&&this.path.parent(null)};g.aa=function(){SL(this);this.path.clear();this.path.stroke(this.ha("stroke"));if(!this.Kb())return this;W(this,8)&&(this.path.zIndex(this.zIndex()),this.R(8));W(this,2)&&(this.path.parent(this.P()),this.R(2));return this};g.RN=function(a){a=UL(this,a);this.path.moveTo(a[0],a[1]);this.path.lineTo(a[2],a[3])};g.Zh=function(a,b){return la(a)||null===a?(b?this.o.enabled=!!a:this.enabled(!!a),!0):tI.prototype.Zh.apply(this,arguments)}; -g.da=function(a,b){if(b){for(var c in this.D){var d=a[c];n(d)&&(this.o[c]=d)}"enabled"in a&&(this.o.enabled=a.enabled);"zIndex"in a&&(this.o.zIndex=a.zIndex)}else II(this,this.D,a),PL.G.da.call(this,a)};g.N=function(){var a={},b;this.Ee("zIndex")&&(b=this.Wc("zIndex"));n(b)||(b=this.Ve("zIndex"));n(b)&&(a.zIndex=b);var c;this.Ee("enabled")&&(c=this.Wc("enabled"));n(c)||(c=this.Ve("enabled"));a.enabled=n(c)?c:null;JI(this,this.D,a,"Map axis ticks props");return a};g.ca=function(){PL.G.ca.call(this)};function WL(){Z.call(this);this.b=Pl();ML(this,this.b);O(this,this.b)}E(WL,Z);g=WL.prototype;g.za=Z.prototype.za;g.wa=Z.prototype.wa;g.length=function(a){return n(a)?(this.pd!=a&&(this.pd=a,this.va(J|8)),this):this.pd};g.stroke=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.g!=f&&(this.g=f,this.va(J));return this}return this.g};g.remove=function(){this.b&&this.b.parent(null)}; -g.aa=function(){this.b.clear();this.b.stroke(this.g);if(!this.Kb())return this;W(this,8)&&(this.b.zIndex(this.zIndex()),this.R(8));W(this,2)&&(this.b.parent(this.P()),this.R(2));return this};g.nt=function(a,b,c,d){this.b.moveTo(a,b);this.b.lineTo(c,d)};g.N=function(){var a=WL.G.N.call(this);a.length=this.length();a.stroke=T(this.stroke());return a};g.da=function(a,b){WL.G.da.call(this,a,b);this.length(a.length);this.stroke(a.stroke)};WL.prototype.length=WL.prototype.length;WL.prototype.stroke=WL.prototype.stroke;function XL(){Z.call(this);this.path=Pl();ML(this,this.path);O(this,this.path)}E(XL,Z);g=XL.prototype;g.za=Z.prototype.za;g.wa=Z.prototype.wa;g.length=function(a){return n(a)?(a=F(a),this.pd!=a&&(this.pd=a,this.va(J|8)),this):this.pd};g.stroke=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.g!=f&&(this.g=f,this.va(J));return this}return this.g};function YL(a){var b="top";n(b)&&(b=Ad(b),a.bc!=b&&(a.bc=b,a.j=null))}g.remove=function(){this.path&&this.path.parent(null)}; -g.aa=function(){this.path.clear();this.path.stroke(this.g);if(!this.Kb())return this;W(this,8)&&(this.path.zIndex(this.zIndex()),this.R(8));W(this,2)&&(this.path.parent(this.P()),this.R(2));return this};g.Ax=function(){if(!this.j)switch(this.bc){case "top":this.j=this.dZ;break;case "right":this.j=this.cZ;break;case "bottom":this.j=this.aZ;break;case "left":this.j=this.bZ}return this.j}; -g.dZ=function(a,b,c,d,e){b=Math.round(b.left+a*b.width);d=c.top;b=1==a?b+e:b-e;d=c.top+c.height/2-this.pd/2;a=this.pd;this.path.moveTo(b,d);this.path.lineTo(b,d+a)};g.cZ=function(a,b,c,d,e){c=c.left;b=Math.round(b.top+b.height-a*b.height);b=1==a?b-e:b+e;c-=this.pd/2;a=this.pd;this.path.moveTo(c,b);this.path.lineTo(c+a,b)};g.aZ=function(a,b,c,d,e){b=Math.round(b.left+a*b.width);c=c.top;b=1==a?b+e:b-e;c-=this.pd/2;a=this.pd;this.path.moveTo(b,c);this.path.lineTo(b,c+a)}; -g.bZ=function(a,b,c,d,e){c=c.left;b=Math.round(b.top+b.height-a*b.height);b=1==a?b-e:b+e;c-=this.pd/2;a=this.pd;this.path.moveTo(c,b);this.path.lineTo(c+a,b)};g.N=function(){var a=XL.G.N.call(this);a.stroke=T(this.stroke());return a};g.da=function(a,b){XL.G.da.call(this,a,b);this.stroke(a.stroke)};XL.prototype.stroke=XL.prototype.stroke;function ZL(){Z.call(this);this.path=Pl();ML(this,this.path);O(this,this.path)}E(ZL,Z);g=ZL.prototype;g.za=Z.prototype.za;g.wa=Z.prototype.wa;g.length=function(a){return n(a)?(a=F(a),this.pd!=a&&(this.pd=a,this.va(J|8)),this):this.pd};g.stroke=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.g!=f&&(this.g=f,this.va(J));return this}return this.g};g.position=function(a){return n(a)?(this.I=Pd(a),this.va(J|8),this):this.I}; -g.Je=function(a){return n(a)?(a=Ad(a),this.bc!=a&&(this.bc=a,this.j=null),this):this.bc};g.remove=function(){this.path&&this.path.parent(null)};g.aa=function(){this.path.clear();this.path.stroke(this.g);if(!this.Kb())return this;W(this,8)&&(this.path.zIndex(this.zIndex()),this.R(8));W(this,2)&&(this.path.parent(this.P()),this.R(2));return this}; -g.Ax=function(){if(!this.j)switch(this.bc){case "top":this.j=this.eO;break;case "right":this.j=this.dO;break;case "bottom":this.j=this.bO;break;case "left":this.j=this.cO}return this.j};g.eO=function(a,b,c,d,e){b=Math.round(b.left+a*b.width);var f=c.top;b=1==a?b+e:b-e;"outside"==this.I?(f-=d/2,a=-this.pd):(f="center"==this.I?c.top+c.height/2-this.pd/2:f+d/2,a=this.pd);this.path.moveTo(b,f);this.path.lineTo(b,f+a)}; -g.dO=function(a,b,c,d,e){c=c.left;b=Math.round(b.top+b.height-a*b.height);b=1==a?b-e:b+e;"outside"==this.I?(c+=d/2,a=this.pd):"center"==this.I?(c-=this.pd/2,a=this.pd):(c-=d/2,a=-this.pd);this.path.moveTo(c,b);this.path.lineTo(c+a,b)};g.bO=function(a,b,c,d,e){b=Math.round(b.left+a*b.width);c=c.top;b=1==a?b+e:b-e;"outside"==this.I?(c+=d/2,a=this.pd):"center"==this.I?(c-=this.pd/2,a=this.pd):(c-=d/2,a=-this.pd);this.path.moveTo(b,c);this.path.lineTo(b,c+a)}; -g.cO=function(a,b,c,d,e){c=c.left;b=Math.round(b.top+b.height-a*b.height);b=1==a?b-e:b+e;"outside"==this.I?(c-=d/2,a=-this.pd):(c="center"==this.I?c-this.pd/2:c+d/2,a=this.pd);this.path.moveTo(c,b);this.path.lineTo(c+a,b)};g.N=function(){var a=ZL.G.N.call(this);a.stroke=T(this.stroke());a.length=this.length();a.position=this.position();return a};g.da=function(a,b){ZL.G.da.call(this,a,b);this.length(a.length);this.stroke(a.stroke);this.position(a.position)};ZL.prototype.length=ZL.prototype.length; -ZL.prototype.stroke=ZL.prototype.stroke;ZL.prototype.position=ZL.prototype.position;function $L(){Z.call(this)}E($L,Z);g=$L.prototype;g.wa=Z.prototype.wa|I|65536;g.za=Z.prototype.za|4;g.fill=function(a){return n(a)?(a=Qc(a),this.D!=a&&(this.D=a,this.B(I,J)),this):this.D};g.ad=function(a){return n(a)?(a=null===a?a:MF(a),this.nb!=a&&(this.nb=a,this.B(4,J)),this):this.nb};g.qt=function(a){return n(a)?(a=MF(a),this.g!=a&&(this.g=a,this.B(4,J|8)),this):this.g};g.Tf=function(a){return n(a)?(this.J!=a&&(this.J=a,this.B(4,J|4)),this):this.J}; -g.bf=function(a){return n(a)?(this.o!=a&&(this.o=a),this):this.o};g.Hd=function(a){return n(a)?(a=+a,this.F!=a&&(this.F=a,this.B(4,J)),this):this.F};g.wd=function(a){return n(a)?(a=+a,this.j!=a&&(this.j=a,this.B(4,J)),this):this.j};g.position=function(a){return n(a)?(a=Od(a),this.I!=a&&(this.I=a,this.B(4,J|8)),this):this.I};g.vA=function(a){return n(a)?(a=null===a?a:MF(a),this.X!=a&&(this.X=a,this.B(4,J|8)),this):this.X}; -g.uA=function(a){return n(a)?(a=null===a?a:MF(a),this.O!=a&&(this.O=a,this.B(4,J|8)),this):this.O};function aM(a,b,c,d,e,f,h){h=n(h)?h:!1;var k,l,m,p=(f-e)/(d-c),q=a.o.vb,t=a.o.sb;if(d>c)for(a=c;a<=d;a++)k=e+p*(a-c),m=a*Math.PI/180,l=q+k*Math.cos(m),k=t+k*Math.sin(m),h&&a==c?b.moveTo(l,k):b.lineTo(l,k);else for(a=c;a>=d;a--)k=e+p*(a-c),m=a*Math.PI/180,l=q+k*Math.cos(m),k=t+k*Math.sin(m),h&&a==c?b.moveTo(l,k):b.lineTo(l,k);m=d*Math.PI/180;l=q+f*Math.cos(m);k=t+f*Math.sin(m);b.lineTo(l,k)} -function bM(a,b,c,d,e){return"outside"==a.I?b*(1+(e?0:d))+c/2:"inside"==a.I?b*(1-(e?0:d))-c/2:b*(1+(e?-.5:.5)*d)}g.remove=function(){this.ia&&this.ia.parent(null);this.b&&this.b.length&&aj(this.b,function(a){a.parent(null)})};function cM(a,b,c,d){var e=a.o.sb;d=Ua(d);b.x=a.o.vb+c*Math.cos(d);b.y=e+c*Math.sin(d)} -function dM(a,b,c,d,e,f,h,k,l,m,p,q,t,u,w,x,y){var B=(c+d)/2,D=(e+f)/2,G=(h+k)/2,K=a.o.vb,N=a.o.sb,S=b[t],V={},aa={},oa={},pa={};cM(a,V,e,c);cM(a,aa,f,d);cM(a,oa,k,d);cM(a,pa,h,c);var xa=Kl(0,0,0,0);xa.left=Math.min(V.x,aa.x,oa.x,pa.x);xa.top=Math.min(V.y,aa.y,oa.y,pa.y);xa.width=Math.max(V.x,aa.x,oa.x,pa.x)-xa.left;xa.height=Math.max(V.y,aa.y,oa.y,pa.y)-xa.top;V=[];aa={};oa={};aa.position="0";aa.opacity=m;aa.color=l;V.push(aa);oa.position="1";oa.opacity=q;oa.color=p;V.push(oa);m=(l=eM(a.o,a.Tf()).scale().Fd())? --1:1;p={};p.angle=-(B+90*m);p.keys=V;q=Pl();aM(a,q,c,B,(h+e)/2,(G+D)/2,!0);aM(a,q,B,d,(G+D)/2,(k+f)/2,!1);p.mode=q.jb();aM(a,S,c,B,e,D,!0);aM(a,S,B,c,G,h,!1);0==t&&u&&(h=K+Tk(c,e),c=N+Uk(c,e),u=b)){var d=0==c.Al()%2?0:-.5,e=a.ma(),f=a.ii();a.kb()?(a=Math.round(e.qb()+e.height-b*e.height),1==b?a-=d:a+=d,c.moveTo(e.fb(),a),c.lineTo(e.Wa(),a)):(a=Math.round(e.fb()+b*e.width),1==b?a+=d:a-=d,c.moveTo(a,e.qb()),c.lineTo(a,e.Ra()));c.clip(f.Yi(e))}}else xe(2)} -function kM(a){var b=a.b,c=a.scale();if(c){var d=iM(a);d.clear();var e=b.wd,f=b.Hd,h=c.transform(f),k=c.transform(e);h>k&&(e=b.Hd,f=b.wd);f=c.transform(f,0);c=c.transform(e,1);b=Math.min(c,f);f=Math.max(c,f);!isNaN(b)&&!isNaN(f)&&0<=f&&1>=b&&(b=Ac(b,0,1),f=Ac(f,0,1),c=a.ma(),e=a.ii(),a.kb()?(a=Math.floor(c.Ra()-c.height*f),b=Math.ceil(c.Ra()-c.height*b),f=c.fb(),h=c.Wa(),d.moveTo(f,a).lineTo(h,a).lineTo(h,b).lineTo(f,b).close()):(a=c.Ra(),h=c.qb(),b=Math.floor(c.fb()+c.width*b),f=Math.ceil(c.fb()+ -c.width*f),d.moveTo(b,a).lineTo(b,h).lineTo(f,h).lineTo(f,a).close()),d.clip(e.Yi(c)))}else xe(2)}g.remove=function(){iM(this).parent(null)};function iM(a){a.I||(a.I=Pl(),O(a,a.I));return a.I}g.da=function(a,b){gM.G.da.call(this,a,b);"layout"in a&&a.layout&&this.oc(a.layout);if("axis"in a){var c=a.axis;na(c)?this.Ta&&this.Gh(this.Ta.hn(c)):c instanceof lM&&this.Gh(c)}};g.ca=function(){this.Ta=this.F=null;gM.G.ca.call(this)};function mM(a){gM.call(this);this.Gm(a);this.b=0}E(mM,gM);g=mM.prototype;g.za=gM.prototype.za;g.wa=gM.prototype.wa;g.scale=function(a){return n(a)?(M(500),this):this.Gm()};g.stroke=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.g!=f&&(this.g=f,this.B(I,J));return this}return this.g};g.value=function(a){return hM(this,a)};g.oc=function(a){return n(a)?("horizontal"==a&&M(501),this):"vertical"};g.Vq=function(){jM(this)};g.$v=function(){iM(this).stroke(this.g)}; -g.ca=function(){delete this.g;mM.G.ca.call(this)};g.N=function(){var a=mM.G.N.call(this);a.value=this.value();a.stroke=T(this.stroke());return a};g.da=function(a,b){mM.G.da.call(this,a,b);this.value(a.value);this.stroke(a.stroke)};mM.prototype.value=mM.prototype.value;mM.prototype.scale=mM.prototype.scale;mM.prototype.layout=mM.prototype.oc;mM.prototype.stroke=mM.prototype.stroke;mM.prototype.isHorizontal=mM.prototype.kb;function nM(a){gM.call(this);this.Gm(a);this.b={Hd:0,wd:0}}E(nM,gM);g=nM.prototype;g.za=gM.prototype.za;g.wa=gM.prototype.wa;g.oc=function(a){return n(a)?("horizontal"==a&&M(501),this):"vertical"};g.scale=function(a){return n(a)?(M(500),this):this.Gm()};g.fill=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);k!=this.D&&(this.D=k,this.B(I,J));return this}return this.D||"none"};g.Hd=function(a){return n(a)?(this.b.Hd!=a&&(this.b.Hd=a,this.B(4,J|8)),this):this.b.Hd}; -g.wd=function(a){return n(a)?(this.b.wd!=a&&(this.b.wd=a,this.B(4,J|8)),this):this.b.wd};g.Vq=function(){kM(this)};g.$v=function(){iM(this).stroke(null).fill(this.fill())};g.ca=function(){delete this.D;nM.G.ca.call(this)};g.N=function(){var a=nM.G.N.call(this);a.from=this.Hd();a.to=this.wd();a.fill=T(this.fill());return a};g.da=function(a,b){nM.G.da.call(this,a,b);this.Hd(a.from);this.wd(a.to);this.fill(a.fill)};nM.prototype.from=nM.prototype.Hd;nM.prototype.to=nM.prototype.wd; -nM.prototype.scale=nM.prototype.scale;nM.prototype.layout=nM.prototype.oc;nM.prototype.fill=nM.prototype.fill;nM.prototype.isHorizontal=nM.prototype.kb;function oM(){gM.call(this);this.b=0;this.j="horizontal"}E(oM,gM);g=oM.prototype;g.za=gM.prototype.za;g.wa=gM.prototype.wa;g.oc=function(a){return n(a)?(a=yd(a),this.J!=a&&(this.J=a,this.B(4,J|8)),this):this.J?this.J:this.Gh()?(a=this.Gh().Je(),"left"==a||"right"==a?"horizontal":"vertical"):this.j};g.scale=function(a){return this.Gm(a)};g.stroke=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.g!=f&&(this.g=f,this.B(I,J));return this}return this.g}; -g.value=function(a){return hM(this,a)};g.Vq=function(){jM(this)};g.$v=function(){iM(this).stroke(this.g)};g.ca=function(){delete this.g;oM.G.ca.call(this)};g.N=function(){var a=oM.G.N.call(this);a.value=this.value();a.stroke=T(this.stroke());this.J&&(a.layout=this.J);return a};g.da=function(a,b){oM.G.da.call(this,a,b);this.value(a.value);this.stroke(a.stroke)};oM.prototype.value=oM.prototype.value;oM.prototype.scale=oM.prototype.scale;oM.prototype.axis=oM.prototype.Gh;oM.prototype.layout=oM.prototype.oc; -oM.prototype.stroke=oM.prototype.stroke;oM.prototype.isHorizontal=oM.prototype.kb;function pM(){oM.call(this)}E(pM,oM); -pM.prototype.Vq=function(){var a=Ac(this.scale().transform(this.value(),.5),0,1);if(!isNaN(a)){var b=0==iM(this).Al()%2?0:-.5,c=this.ma(),d=this.ii();iM(this).clear();var e=this.Zb().Ga,f=this.Zb().Ka;if("horizontal"==this.oc()){var h=Math.round(c.qb()+c.height-a*c.height);1==a?h-=b:h+=b;iM(this).moveTo(c.fb(),h).lineTo(c.fb()+e,h-f).lineTo(c.Wa()+e,h-f)}else"vertical"==this.oc()&&(h=Math.round(c.fb()+a*c.width),1==a?h+=b:h-=b,iM(this).moveTo(h+e,c.qb()-f).lineTo(h+e,c.Ra()-f).lineTo(h,c.Ra()));c.top-= -f;c.height+=f;c.width+=e;iM(this).clip(d.Yi(c))}};function qM(){gM.call(this);this.b={Hd:0,wd:0};this.g="black";this.j="horizontal";rM(this,"#c1c1c1 0.4")}E(qM,gM);g=qM.prototype;g.za=gM.prototype.za;g.wa=gM.prototype.wa;g.oc=function(a){return n(a)?(a=yd(a),this.J!=a&&(this.J=a,this.B(4,J|8)),this):this.J?this.J:this.Gh()?(a=this.Gh().Je(),"left"==a||"right"==a?"horizontal":"vertical"):this.j};function sM(a,b){var c=!a.J&&a.j!=b;a.j=b;c&&a.B(4)}g.scale=function(a){return this.Gm(a)}; -g.fill=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);k!=this.D&&(this.D=k,this.B(I,J));return this}return this.D||this.g};function rM(a,b){var c=!a.D&&a.g!=b;a.g=b;c&&a.B(I)}g.Hd=function(a){return n(a)?(this.b.Hd!=a&&(this.b.Hd=a,this.B(4,J|8)),this):this.b.Hd};g.wd=function(a){return n(a)?(this.b.wd!=a&&(this.b.wd=a,this.B(4,J|8)),this):this.b.wd};g.Vq=function(){kM(this)};g.$v=function(){iM(this).stroke(null).fill(this.fill())};g.ca=function(){delete this.D;qM.G.ca.call(this)}; -g.N=function(){var a=qM.G.N.call(this);a.from=this.Hd();a.to=this.wd();this.D&&(a.fill=T(this.D));this.J&&(a.layout=this.J);return a};g.da=function(a,b){qM.G.da.call(this,a,b);this.Hd(a.from);this.wd(a.to);this.fill(a.fill)};qM.prototype.from=qM.prototype.Hd;qM.prototype.to=qM.prototype.wd;qM.prototype.scale=qM.prototype.scale;qM.prototype.axis=qM.prototype.Gh;qM.prototype.layout=qM.prototype.oc;qM.prototype.fill=qM.prototype.fill;qM.prototype.isHorizontal=qM.prototype.kb;function tM(){qM.call(this)}E(tM,qM); -tM.prototype.Vq=function(){var a=this.oc(),b=this.Hd(),c=this.wd();this.Hd()>this.wd()&&(b=this.Hd(),c=this.wd());var d=Ac(this.scale().transform(b,0),0,1),e=Ac(this.scale().transform(c,1),0,1);if(!isNaN(d)&&!isNaN(e)){c=this.ma();b=this.ii();iM(this).clear();var f=this.Zb().Ga,h=this.Zb().Ka;if("horizontal"==a){var e=Math.floor(c.Ra()-c.height*e),d=Math.ceil(c.Ra()-c.height*d),a=c.fb(),k=c.Wa();iM(this).moveTo(a,e).lineTo(a+f,e-h).lineTo(k+f,e-h).lineTo(k+f,d-h).lineTo(a+f,d-h).lineTo(a,d).close()}else"vertical"== -a&&(a=c.Ra(),k=c.qb(),d=Math.floor(c.fb()+c.width*d),e=Math.ceil(c.fb()+c.width*e),iM(this).moveTo(d,a).lineTo(d+f,a-h).lineTo(d+f,k-h).lineTo(e+f,k-h).lineTo(e+f,a-h).lineTo(e,a).close());c.top-=h;c.height+=h;c.width+=f;iM(this).clip(b.Yi(c))}};function uM(){Z.call(this);this.j=null;this.F=NaN;this.I=this.o="black"}E(uM,Z);var vM={x:"30%",line:"30%",ellipse:"30%",bar:"50%"};g=uM.prototype;g.za=Z.prototype.za;g.wa=Z.prototype.wa|4|I;g.type=function(a){return n(a)?(a=Nd(a),this.O!=a&&(this.O=a,this.B(4,J|8)),this):this.O||this.W};function wM(a,b){var c=!a.O&&a.W!=b;a.W=b;c&&a.B(4)}g.ri=function(a){return n(a)?(this.j!=a&&(this.j=a,this.B(4,J|8)),this):null===this.j?vM[this.type()]:this.j}; -g.value=function(a){return n(a)?(a=F(a),this.F!=a&&(this.F=a,this.B(4,J|8)),this):this.F};g.oc=function(a){return n(a)?(a=yd(a),this.J!=a&&(this.J=a,this.B(4,J|8)),this):this.J||this.$};g.kb=function(){return"horizontal"==this.oc()};g.scale=function(a){return n(a)?(this.ya!=a&&(this.ya=a,P(this.ya,this.Y7,this),this.B(4,J|8)),this):this.ya};g.Y7=function(a){var b=0;X(a,4)&&(b|=4);X(a,2)&&(b|=J);this.B(4,b|8)}; -g.fill=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);k!=this.D&&(this.D=k,this.B(I,J));return this}return this.D||this.o};g.stroke=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.g!=f&&(this.g=f,this.B(I,J));return this}return this.g||this.I}; -function xM(a,b){if("horizontal"==a)switch(b){default:case Jd:return function(a,b){var e=this.scale().transform(0),e=isNaN(e)?0:Ac(e,0,1),f=this.ma(),h=this.ri(),k=KF(h)?U(h,f.height):f.height*h,h=f.left+e*f.width,l=f.top+k/2,e=(b-e)*f.width,f=f.height-k;a.clear().moveTo(h,l).lineTo(h+e,l).lineTo(h+e,l+f).lineTo(h,l+f).close()};case Hd:return function(a,b){var e=this.ma(),f=this.ri(),h=Math.round(e.left+e.width*b),k=Math.round(e.top+e.height/2),e=e.height-(KF(f)?U(f,e.height):e.height*f);a.clear().moveTo(h- -1,k-e/2).lineTo(h-1,k+e/2).lineTo(h+1,k+e/2).lineTo(h+1,k-e/2).close()};case Id:return function(a,b){var e=this.ma(),f=this.ri(),h=e.left+e.width*b,k=e.top+e.height/2,e=(e.height-(KF(f)?U(f,e.height):e.height*f))/2,f=e/4;a.clear();a.xd(h,k,f,e,0,360).close()};case Fd:return function(a,b){var e=this.ma(),f=this.ri(),h=Math.round(e.left+e.width*b),k=Math.round(e.top+e.height/2),e=(e.height-(KF(f)?U(f,e.height):e.height*f))/2,f=e/1.5;a.clear().moveTo(h-f-1,k-e).lineTo(h+f-1,k+e).lineTo(h+f+1,k+e).lineTo(h- -f+1,k-e).moveTo(h+f-1,k-e).lineTo(h-f-1,k+e).lineTo(h-f+1,k+e).lineTo(h+f+1,k-e).close()}}else switch(b){default:case Jd:return function(a,b){var e=this.scale().transform(0),e=isNaN(e)?0:Ac(e,0,1),f=this.ma(),h=this.ri(),k=KF(h)?U(h,f.width):f.width*h,h=f.left+k/2,l=f.Ra()-f.height*b,k=f.width-k,e=(b-e)*f.height;a.clear().moveTo(h-.25,l-.5).lineTo(h+k+.25,l-.5).lineTo(h+k+.25,l+e-.5).lineTo(h-.25,l+e-.5).close()};case Hd:return function(a,b){var e=this.ma(),f=this.ri(),h=Math.round(e.left+e.width/ -2),k=Math.round(e.Ra()-e.height*b),e=e.width-(KF(f)?U(f,e.width):e.width*f);a.clear().moveTo(h-e/2,k-1).lineTo(h+e/2,k-1).lineTo(h+e/2,k+1).lineTo(h-e/2,k+1).close()};case Id:return function(a,b){var e=this.ma(),f=this.ri(),h=Math.round(e.left+e.width/2),k=Math.round(e.Ra()-e.height*b),e=(e.width-(KF(f)?U(f,e.width):e.width*f))/2,f=e/4;a.clear();a.xd(h,k,e,f,0,360).close()};case Fd:return function(a,b){var e=this.ma(),f=this.ri(),h=Math.round(e.left+e.width/2),k=Math.round(e.Ra()-e.height*b),e=(e.width- -(KF(f)?U(f,e.width):e.width*f))/2,f=e/1.5;a.clear().moveTo(h-e-1,k-f).lineTo(h+e-1,k+f).lineTo(h+e+1,k+f).lineTo(h-e+1,k-f).moveTo(h+e-1,k-f).lineTo(h-e-1,k+f).lineTo(h-e+1,k+f).lineTo(h+e+1,k-f).close()}}} -g.aa=function(){if(!this.scale())return xe(2),this;if(!this.Kb())return this;var a=this.P()?this.P().Ha():null,b=a&&!a.Fe();b&&a.qf();this.b||(this.b=Pl(),O(this,this.b));if(W(this,8)){var c=this.zIndex();this.b.zIndex(c);this.R(8)}W(this,2)&&(c=this.P(),this.b.parent(c),this.R(2));W(this,I)&&(this.b.stroke(this.stroke()),this.b.fill(this.fill()),this.R(I));W(this,4)&&(c=this.value(),c=this.scale().transform(c,0),this.b.clear(),isNaN(c)||(c=Ac(c,0,1),xM(this.oc(),this.type()).call(this,this.b,c)), -this.R(4));b&&a.nf();return this};g.remove=function(){this.b&&this.b.parent(null)};function yM(){Z.call(this);this.j=BC();this.Yc=kC()}E(yM,Z);g=yM.prototype;g.wa=Z.prototype.wa|I|65536;g.ad=function(a){return n(a)?(a=null===a?a:MF(a),this.nb!=a&&(this.nb=a,this.B(4,J|8)),this):this.nb};g.stroke=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);f!=this.g&&(this.g=f,this.B(I,J));return this}return this.g};g.fill=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);k!=this.D&&(this.D=k,this.B(I,J));return this}return this.D}; -g.Mb=function(a,b,c,d){if(n(a)){la(a)&&(a=a?zM:"none");var e=aC.apply(null,arguments);e!==this.la&&(this.la=e,this.B(65536,J));return this}return this.la};g.remove=function(){this.j&&this.j.parent(null)};g.bf=function(a){return n(a)?(this.o!=a&&(this.o=a),this):this.o}; -g.aa=function(){if(!this.Kb())return this;W(this,I)&&(this.Yc.fill(this.D),this.Yc.stroke(this.g),this.R(I));W(this,65536)&&(this.b||ZF(this.la)||(this.b=kC(),this.b.parent(this.j),this.b.zIndex(1)),this.b&&(this.b.fill(this.la),this.b.stroke(null),this.B(4)),this.R(65536));W(this,2)&&(this.j.parent(this.P()),this.Yc.parent(this.j),this.b&&this.b.parent(this.j),this.R(2));W(this,8)&&(this.j.zIndex(this.zIndex()),this.Yc.zIndex(0),this.b&&this.b.zIndex(1),this.R(8));if(W(this,4)){var a=U(this.nb,this.o.Af()), -b=this.o.vb,c=this.o.sb;this.Yc.Yl(b);this.Yc.Zl(c);this.Yc.ad(0>a?0:a);this.b&&(this.b.Yl(b),this.b.Zl(c),this.b.ad(a));this.R(4)}return this};g.N=function(){var a=yM.G.N.call(this);a.fill=T(this.fill());a.stroke=T(this.stroke());a.hatchFill=T(this.Mb());a.radius=this.ad();return a};g.da=function(a,b){yM.G.da.call(this,a,b);this.fill(a.fill);this.stroke(a.stroke);this.Mb(a.hatchFill);this.ad(a.radius)};yM.prototype.radius=yM.prototype.ad;yM.prototype.stroke=yM.prototype.stroke; -yM.prototype.fill=yM.prototype.fill;yM.prototype.hatchFill=yM.prototype.Mb;function AM(){Z.call(this);this.j={};this.state=new Zb(this)}E(AM,Z);g=AM.prototype;g.wa=Z.prototype.wa|I|65536;g.za=Z.prototype.za|4;g.Mf=function(){return!0};g.fh=function(){return!0};g.so=function(){return!1};g.stroke=function(a,b,c,d,e){if(n(a)){var f=A(a)?a:Pc.apply(null,arguments);f!=this.g&&(this.g=f,this.B(I,J));return this}return this.g};g.fill=function(a,b,c,d,e,f,h){if(n(a)){var k=A(a)?a:Qc.apply(null,arguments);k!=this.D&&(this.D=k,this.B(I,J));return this}return this.D}; -function BM(a,b,c){A(b)?(a=b.call(a.j,a.j),a=c?Qc(a):Pc(a)):a=b;return a}g.Mb=function(a,b,c,d){if(n(a)){la(a)&&(a=a?zM:"none");var e=aC.apply(null,arguments);e!==this.la&&(this.la=e,this.B(65536,J));return this}return this.la};g.Tf=function(a){return n(a)?(this.X!=a&&(this.X=a,this.B(4,J|4)),this):this.X};g.Lf=function(a){return n(a)?(this.fa!=a&&(this.fa=a,this.B(4,J|4)),this):this.fa};g.bf=function(a){return n(a)?(this.o!=a&&(this.o=a),this):this.o}; -g.remove=function(){this.ia&&(this.ia instanceof hC?this.ia.parent(null):this.ia.P(null));this.b&&(this.b instanceof hC?this.b.parent(null):this.b.P(null))};g.ba=function(){return this.bf().ba()};g.Nb=function(){return this.bf().Nb()}; -g.aa=function(){W(this,I)&&(this.ia.fill(BM(this,this.D,!0)),this.ia.stroke(BM(this,this.g,!1)),this.R(I));W(this,8)&&(this.ia.zIndex(this.zIndex()),this.b&&this.b.zIndex(this.zIndex()+.1*CM),this.R(8));W(this,2)&&(this.ia instanceof hC?this.ia.parent(this.P()):this.ia.P(this.P()),this.b&&(this.b instanceof hC?this.b.parent(this.P()):this.b.P(this.P())),this.R(2));return this};g.Pb=function(a){if(!this.ea||a)this.ea=new Se(this,["value"],!1);this.ea.If();return this.ea};g.li=function(){return this.Pb()}; -g.Sf=ea;g.Nh=ea;g.Hf=ea;g.ng=function(a){a=AM.G.ng.call(this,a);a.pointIndex=F(IF(a.domTarget).index);return a}; -g.Bf=function(a){var b=a.type;switch(b){case "mouseout":b="pointmouseout";break;case "mouseover":b="pointmouseover";break;case "mousemove":b="pointmousemove";break;case "mousedown":b="pointmousedown";break;case "mouseup":b="pointmouseup";break;case "click":b="pointclick";break;case "dblclick":b="pointdblclick";break;default:return null}var c;"pointIndex"in a?c=a.pointIndex:"labelIndex"in a?c=a.labelIndex:"markerIndex"in a&&(c=a.markerIndex);c=F(c);a.pointIndex=c;var d=this.bf().ba();d.select(c)|| -d.reset();return{type:b,actualTarget:a.target,series:this,iterator:d,pointIndex:c,target:this,originalEvent:a}};g.Wf=function(a){(a=this.Bf(a))&&this.dispatchEvent(a)};g.wh=function(a,b){a&&(a.tag={na:this},b?a.tag.index=!0:a.tag.index=this.bf().ba().ra())};g.eh=function(a){n(a)?this.uh(a):this.enabled()&&this.state.Xf(H);return this};g.rd=function(){if(!gc(this.state,H)&&!qc(this.state.De(),H)||!this.enabled())return this;this.state.o(H,this.state.b==$b?NaN:void 0);return this}; -g.uh=function(a){if(!this.enabled())return this;if(r(a)){for(var b=oc(this.state,H),c=0;c=l?(m=e,h=l):(m=l,h=e);m=Sk(f+m*b);f=Sk(Sk(f+h*b)-m);0==f&&(f=e==l?0:360);this.j.cx=c;this.j.cy=d;this.j.radius=k;this.j.startAngle= -Sk(m-EM);this.j.sweepAngle=f;this.j.width=a;this.ia.xd(c,d,k-a/2,k-a/2,m,f);this.ia.xd(c,d,k+a/2,k+a/2,m+f,-f,!0);this.ia.close();this.wh(this.ia);this.b&&(this.b.clear(),this.b.xd(c,d,k-a/2,k-a/2,m,f),this.b.xd(c,d,k+a/2,k+a/2,m+f,-f,!0),this.b.close());(A(this.fill())||A(this.stroke()))&&this.B(I);this.R(4)}DM.G.aa.call(this);return this};g.N=function(){var a=DM.G.N.call(this);a.position=this.position();n(this.width())&&(a.width=this.width());n(this.ad())&&(a.radius=this.ad());return a}; -g.da=function(a,b){DM.G.da.call(this,a,b);this.position(a.position);this.width(a.width);this.ad(a.radius)};DM.prototype.width=DM.prototype.width;DM.prototype.position=DM.prototype.position;DM.prototype.radius=DM.prototype.ad;function FM(){AM.call(this)}E(FM,AM);g=FM.prototype;g.vL=function(a){return n(a)?(this.I!=a&&(this.I=a,this.B(4,J|8)),this):this.I};g.wL=function(a){return n(a)?(this.F!=a&&(this.F=a,this.B(4,J|8)),this):this.F};g.nL=function(a){return n(a)?(a=Ac(a,0,1),this.W!=a&&(this.W=a,this.B(4,J|8)),this):this.W};g.FH=function(a){return n(a)?(a=Ac(a,0,1),this.O!=a&&(this.O=a,this.B(4,J|8)),this):this.O};g.wE=function(a){return n(a)?(a=null===a?a:MF(a),this.$!=a&&(this.$=a,this.B(4,J|8)),this):this.$}; -g.FB=function(a){return n(a)?(a=null===a?a:MF(a),this.J!=a&&(this.J=a,this.B(4,J|8)),this):this.J}; -function GM(a,b,c,d,e,f,h,k,l,m,p,q,t,u){var w;u?(f=Sk(c+f),d=Sk(c+d/2-e)):(f=Sk(c+d-f),d=Sk(c+d/2+e));c=l+Math.cos(Ua(f))*k;k=m+Math.sin(Ua(f))*k;l+=Math.cos(Ua(d))*h;h=m+Math.sin(Ua(d))*h;d=Ua(f+90);m=c+100*Math.cos(d);e=k+100*Math.sin(d);d=(c*Math.pow(e-k,2)+l*Math.pow(m-c,2)+(m-c)*(e-k)*(h-k))/(Math.pow(e-k,2)+Math.pow(m-c,2))||0;m=(m-c)*(l-d)/(e-k)+h||0;m=Va(Math.atan(Math.sqrt(Math.pow(l-d,2)+Math.pow(h-m,2))/Math.sqrt(Math.pow(c-d,2)+Math.pow(k-m,2))));m=a.W<1-a.O?u?90-m:-(90-m):u?-(90-m): -90-m;m=f+(u?-p:p)+m;w=(c+l)/2+Math.cos(Ua(m))*q;d=(k+h)/2+Math.sin(Ua(m))*q;e=.5>a.F?90:-90;p=w+.5*Math.cos(Ua(m+e))*q;f=d+.5*Math.sin(Ua(m+e))*q;e=.5>a.F?-90:90;a=w+.5*Math.cos(Ua(m+e))*q;q=d+.5*Math.sin(Ua(m+e))*q;u?t?b.Uj(p,f,a,q,l,h):b.Uj(a,q,p,f,l,h):t?b.Uj(p,f,a,q,c,k):b.Uj(a,q,p,f,c,k)} -g.aa=function(){var a=this.bf(),b=eM(a,this.Tf());if(!this.Kb())return this;if(!b||!b.enabled())return this.ia&&this.ia.clear(),this.b&&this.b.clear(),this;if(W(this,65536)){var c=this.Mb();this.b||ZF(c)||(this.b=Pl(),this.b.parent(this.P()),this.b.zIndex(this.zIndex()+1));this.b&&(this.b.wc(!0),this.b.fill(c),this.b.stroke(null),this.B(4));this.R(65536)}if(W(this,4)){var c=a.vb,d=a.sb,e=b.scale(),f=a.Nb();f.select(this.Lf());var h=parseFloat(f.get("value"));if(e.kf(h))return this.ia&&this.ia.clear(), -this.b&&this.b.clear(),this.R(4),this;this.ia?this.ia.clear():(this.ia=Pl(),O(this,this.ia));var f=b.Af(),k=n(b.Tb())?b.bh():a.bh(),l=n(b.Me())?b.Me():a.Me(),b=null!=this.$?U(this.$,a.Af()):.7*f,a=null!=this.J?U(this.J,a.Af()):.6*f,f=360/this.I,m=f/2*this.W,p=f/2*this.O,e=Ac(e.transform(h),0,1),e=Sk(k+e*l);this.j.cx=c;this.j.cy=d;this.j.topRadius=b;this.j.bottomRadius=a;this.j.angle=Sk(e-EM);var k=bthis.F?90:-90,l=Math.abs(b-a)/2*Math.abs(.5-this.F),q,t,u;this.ia.clear();for(u=0;ub;)l=c.transform(k,m,null),d.lineTo(l[0],l[1]+e),m-=f;l=c.transform(k,b,null);d.lineTo(l[0],l[1]);for(m=k;m>h;)l=c.transform(m,b,null),d.lineTo(l[0],l[1]+e),m-=f;l=c.transform(h,b,null);d.lineTo(l[0],l[1]);for(m=b;m< -a;)l=c.transform(h,m,null),d.lineTo(l[0],l[1]+e),m+=f;l=c.transform(h,a,null);d.lineTo(l[0],l[1]);d.close()}}; -g.iZ=function(a,b,c,d,e,f){c=this.ya;var h=c.Mk(),k=c.Nk(),l=c.Jk();isNaN(b)&&a!=h&&(b=h);if(!isNaN(b)){var m;e=a==l?e:-e;var p=b==l?e:-e;for(m=b;mb;)h=c.transform(m,l,null),d.lineTo(h[0],h[1]+e),m-=f;h=c.transform(b,l,null);d.lineTo(h[0],h[1]);for(m=l;m> -k;)h=c.transform(b,m),d.lineTo(h[0],h[1]+e),m-=f;h=c.transform(b,k,null);d.lineTo(h[0],h[1]);d.close()}};g.remove=function(){this.j&&this.j.parent(null)}; -g.aa=function(){var a=this.ya;if(!a)return xe(2),this;if(!this.Kb())return this;var b=KM(this,!0),c=KM(this,!1);this.j||(this.j=BC(),MM(this).parent(this.j),LM(this).parent(this.j),b.parent(this.j).zIndex(1),c.parent(this.j).zIndex(0));if(W(this,8)){var d=this.zIndex();this.j.zIndex(d);this.R(8)}W(this,2)&&(d=this.P(),this.j.parent(d),this.R(2));W(this,I)&&(b.stroke(this.ha("stroke")),c.stroke(this.ha("minorStroke")),LM(this).fill(this.ha("oddFill")),MM(this).fill(this.ha("evenFill")),this.R(I)); -if(W(this,64)||W(this,4)){var e,f,h,k,l,d=NaN,m,p,q,t=a.dl();this.kb()?(h=a.Qo(),k=a.wq(),t=t[0],a=a.Jk(),e=[this.jZ,this.hZ]):(h=a.No(),k=a.vq(),t=t[1],a=a.Ik(),e=[this.kZ,this.iZ]);h=h.get();k=k.get();MM(this).clear();LM(this).clear();b.clear();c.clear();var u=e[0],w=e[1];m=-b.Al()%2/2;p=0;for(q=h.length;pc)var d=a,a=c,c=d;this.I= -YM(this,a);this.$=YM(this,c);this.R(4)}var e=this.Td(),f;if(W(this,I)){this.o?this.o.clear():this.o=Pl();if(this.b)for(b=0;bc){var d=b;b=c;c=d}if(b!=a.J||c!=a.F)a.J=b,a.F=c,a.B(I,J)}g.lF=function(a){return n(a)?(this.$=!!a,this):this.$}; -g.rc=function(){var a=this.ma(),a=a?a.clone():Kl(0,0,0,0);this.Kc()&&(W(this,4)&&(this.xE(),this.R(4)),this.kb()?(a.height-=this.D.height,"top"==this.bc&&(a.top+=this.D.height)):(a.width-=this.D.width,"left"==this.bc&&(a.left+=this.D.width)));return a}; -g.xE=function(){var a=this.ma(),b=this.kb()?a.height:a.width,c=U(this.Fb,b);null===this.Va||(c=Math.max(c,U(this.Va,b)));null===this.Bi||(c=Math.min(c,U(this.Bi,b)));c=this.kb()?this.padding().Fg(c):this.padding().Yg(c);this.D.left=a.left;this.D.top=a.top;this.kb()?(this.D.width=a.width,this.D.height=c,"bottom"==this.bc&&(this.D.top+=a.height-c)):(this.D.width=c,this.D.height=a.height,"right"==this.bc&&(this.D.left+=a.width-c));var d;this.de||this.kb()?this.ka=this.padding().Yi(this.D):(d=this.padding(), -"left"==this.bc?(b=U(d.ha("left"),this.D.width),a=U(d.ha("top"),this.D.height),c=U(d.ha("right"),this.D.width),d=U(d.ha("bottom"),this.D.height)):(b=U(d.ha("right"),this.D.width),a=U(d.ha("bottom"),this.D.height),c=U(d.ha("left"),this.D.width),d=U(d.ha("top"),this.D.height)),this.ka.left=this.D.left+d,this.ka.top=this.D.top+b,this.ka.width=this.D.width-d-a,this.ka.height=this.D.height-b-c);this.B(I|64)};g.Z0=function(a){a.g();!JF(this.ta,a.relatedTarget)&&this.lg(a)&&(this.Bb=!0,XN(this))}; -g.P6=function(a){a.g();!JF(this.ta,a.relatedTarget)&&this.lg(a)&&(this.Bb=!1,$N(this))};g.PU=function(a){a=a.target;a instanceof hC&&(a==this.o?WN(this,this.o,this.ub=!0):a==this.j&&WN(this,this.j,this.hb=!0))};g.OU=function(a){a=a.target;a instanceof hC&&(a==this.o?WN(this,this.o,this.ub=!1):a==this.j&&WN(this,this.j,this.hb=!1))}; -g.Uu=function(a){if(a.b instanceof nC){var b=a.b,c;b!=this.o||this.Ba?b!=this.j||this.la?b!=this.O||this.Ka||(this.Ka=c=new aO(this,this.O,!1)):this.la=c=new aO(this,this.j,!0):this.Ba=c=new aO(this,this.o,!0);c&&(this.ua.pa(c,"start",this.Y0),this.ua.pa(c,"end",this.X0),c.Ej(a.bj))}};g.n7=function(a){var b=dr(this.ta.Ha().P());a=this.kb()?a.clientX-b.x:a.clientY-b.y;bO(this,"backgroundClick","scrollerchangestart")&&(cO(this,!1,a),bO(this,"backgroundClick","scrollerchangefinish"))}; -g.Y0=function(a){var b;this.$&&a.g!=this.Ka?(a=VN(this),b="thumbDrag"):(a=VN(this),b="selectedRangeDrag");if(b=bO(this,b,"scrollerchangestart"))this.Sa++,this.o.Ze(null),this.j.Ze(null),this.O.Ze(null),Rl(document.body,"cursor",a);return b};g.X0=function(a){this.Sa=Math.max(this.Sa-1,0);$N(this);this.o.Ze(VN(this));this.j.Ze(VN(this));this.O.Ze(VN(this));Rl(document.body,"cursor","");bO(this,this.$&&a.g!=this.Ka?"thumbDrag":"selectedRangeDrag","scrollerchangefinish")}; -function XN(a){a.ib||(a.ta.ab(a.o),a.ta.ab(a.j),a.ib=!0)}function $N(a){a.ib&&a.nq().Pn()&&!a.Sa&&!a.Bb&&(a.ta.removeChild(a.o),a.ta.removeChild(a.j),a.ib=!1)}function WN(a,b,c){a=a.nq();a.enabled()?c?(c=a.Oc(),a=a.Hc()):(c=a.fill(),a=a.stroke()):(c=KE,a="none");b.fill(c);b.stroke(a)}function ZN(a){return Ac(Math.round(a*TN),0,TN)}g.US=function(a,b,c,d){return{type:a,startRatio:b,endRatio:c,source:d}};function bO(a,b,c,d,e){return a.dispatchEvent(a.US(c,(n(d)?d:a.J)/TN,(n(e)?e:a.F)/TN,b))} -function cO(a,b,c){c=dO(a,b,c);var d=a.ka;switch(a.bc){case "right":d=(d.top+d.height-c)/d.height;break;case "left":d=(c-d.top)/d.height;break;default:d=(c-d.left)/d.width}a.W&&(d=1-d);if(a.$&&b==a.o)c=d,d=a.F/TN,b="thumbDrag";else if(a.$&&b==a.j)c=a.J/TN,b="thumbDrag";else{var e=(a.F-a.J)/TN/2;c=d-e;d+=e;b=!0===b?"selectedRangeDrag":"backgroundClick"}c=ZN(c);d=ZN(d);c>d&&(e=a.o,a.o=a.j,a.j=e,e=a.Ba,a.Ba=a.la,a.la=e,e=c,c=d,d=e);c==a.J&&d==a.F||!bO(a,b,"scrollerchange",c,d)||(a.J=c,a.F=d,a.B(I,J))} -function dO(a,b,c){var d=a.ka,e=a.kb();a=la(b)||!a.$?(a.F-a.J)/TN*(e?d.width:d.height)/2:0;return e?Ac(c,d.left+a,d.left+d.width-a):Ac(c,d.top+a,d.top+d.height-a)}function eO(a,b){var c;c=a.$&&b==a.o?a.J:a.$&&b==a.j?a.F:(a.J+a.F)/2;c/=TN;a.W&&(c=1-c);var d=a.ka;return a.kb()?d.left+d.width*c:"left"==a.bc?d.top+d.height*c:d.top+d.height*(1-c)} -g.ca=function(){dg(this.ta);this.O=this.ea=this.X=this.j=this.o=this.ta=null;dg(this.Ba);this.Ba=null;dg(this.la);this.la=null;dg(this.Ka);this.Ka=null;dg(this.Ga);this.Ga=null;dg(this.bb);this.bb=null;SN.G.ca.call(this)}; -g.N=function(){var a=SN.G.N.call(this);a.fill=this.fill();a.selectedFill=this.JK();a.outlineStroke=this.iK();a.height=this.height();a.minHeight=this.jH();a.maxHeight=this.maxHeight();a.orientation=this.hp();a.autoHide=this.Pn();a.allowRangeChange=this.lF();a.thumbs=this.nq().N();return a}; -g.da=function(a,b){SN.G.da.call(this,a,b);this.hp(a.orientation);this.Pn(a.autoHide);this.lF(a.allowRangeChange);this.fill(a.fill);this.JK(a.selectedFill);this.iK(a.outlineStroke);this.height(a.height);this.jH(a.minHeight);this.maxHeight(a.maxHeight);this.nq(a.thumbs)};function aO(a,b,c){Dr.call(this,b.ia());this.b=a;this.I=c?b:null;this.j=void 0;this.Y=va(function(){this.j=void 0;cO(this.b,this.I||!0,this.fa)},this);Fr(this);this.pa("end",this.V0)}E(aO,Dr);g=aO.prototype; -g.V0=function(){n(this.j)&&(window.cancelAnimationFrame(this.j),this.Y(0))};g.Wn=function(){this.b.kb()?(this.g=eO(this.b,this.I),this.deltaY=0):(this.g=0,this.deltaY=eO(this.b,this.I))};g.yp=function(a,b){this.fa=this.b.kb()?a:b;n(this.j)||(this.j=window.requestAnimationFrame(this.Y))};g.Cx=function(a){return this.b.kb()?dO(this.b,this.I,a):0};g.Tr=function(a){return this.b.kb()?0:dO(this.b,this.I,a)};function UN(a){this.b=a}g=UN.prototype; -g.enabled=function(a){return n(a)?(a=!!a,this.j!=a&&(this.j=a,this.b.B(I,J)),this):this.j};g.Pn=function(a){return n(a)?(a=!!a,this.g!=a&&(this.g=a,this.b.B(I,J)),this):this.g};g.fill=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.o!=k&&(this.o=k,this.b.B(I,J));return this}return this.o};g.stroke=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);f!=this.I&&(this.I=f,this.b.B(I,J));return this}return this.I}; -g.Oc=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.D!=k&&(this.D=k,this.b.B(I,J));return this}return this.D};g.Hc=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);f!=this.F&&(this.F=f,this.b.B(I,J));return this}return this.F};g.N=function(){var a={};a.fill=T(this.fill());a.stroke=T(this.stroke());a.hoverFill=T(this.Oc());a.hoverStroke=T(this.Hc());a.enabled=this.enabled();a.autoHide=this.Pn();return a}; -g.W0=function(a){return la(a)||null===a?(this.enabled(!!a),!0):!1};g.U=function(a){var b=arguments[0];n(b)&&!this.W0.apply(this,arguments)&&v(b)&&(b=arguments[0],this.enabled("enabled"in b?!!b.enabled:!0),this.fill(b.fill),this.stroke(b.stroke),this.Oc(b.hoverFill),this.Hc(b.hoverStroke),this.Pn(b.autoHide));return this};SN.prototype.fill=SN.prototype.fill;SN.prototype.selectedFill=SN.prototype.JK;SN.prototype.outlineStroke=SN.prototype.iK;SN.prototype.height=SN.prototype.height; -SN.prototype.minHeight=SN.prototype.jH;SN.prototype.maxHeight=SN.prototype.maxHeight;SN.prototype.thumbs=SN.prototype.nq;SN.prototype.orientation=SN.prototype.hp;SN.prototype.allowRangeChange=SN.prototype.lF;SN.prototype.autoHide=SN.prototype.Pn;UN.prototype.enabled=UN.prototype.enabled;UN.prototype.autoHide=UN.prototype.Pn;UN.prototype.fill=UN.prototype.fill;UN.prototype.stroke=UN.prototype.stroke;UN.prototype.hoverFill=UN.prototype.Oc;UN.prototype.hoverStroke=UN.prototype.Hc;function fO(){SN.call(this,!0);this.I="afterAxes"}E(fO,SN);fO.prototype.position=function(a){if(n(a)){a:{a=String(a).toLowerCase();switch(a){case "beforeaxes":case "before":case "ba":case "b":case "inside":case "in":case "i":a="beforeAxes";break a}a="afterAxes"}a!=this.I&&(this.I=a,this.B(4|I,8|J));return this}return this.I};fO.prototype.N=function(){var a=fO.G.N.call(this);a.position=this.position();a.inverted=this.Fd();return a}; -fO.prototype.da=function(a,b){fO.G.da.call(this,a,b);this.position(a.position);this.Fd(a.inverted)};fO.prototype.position=fO.prototype.position;fO.prototype.inverted=fO.prototype.Fd;function gO(){Z.call(this);this.b=null;this.O=this.I=NaN;this.tb=null;this.W={};this.o={};this.g=null;this.Va=!1;this.$=null;var a=va(function(a,c){c=c.clone().round();if(!this.kb()){var d=1==c.width?.5:0;c.left-=d;c.width+=2*d}a.moveTo(c.left,c.top).lineTo(c.left+c.width,c.top).lineTo(c.left+c.width,c.top+c.height).lineTo(c.left,c.top+c.height).close()},this);n(a)&&this.j!=a&&(this.j=a,this.B(I,J));this.B(4294967295)}E(gO,Z);gO.prototype.za=Z.prototype.za|32768;gO.prototype.wa=Z.prototype.wa|I|4; -var hO={};hO.fill=Y(1,"fill",LI,I,J);hO.stroke=Y(1,"stroke",KI,I,J);hO.width=Y(0,"width",WI,4|I,J|8);hO.height=Y(0,"height",WI,4|I,J|8);hO.orientation=Y(0,"orientation",Ad,4|I,J|8);gO.prototype.J=hO;FI(gO,gO.prototype.J);g=gO.prototype;g.Wc=function(a){return this.o[a]};g.Ee=function(a){return null!=this.o[a]};g.Ve=function(a){return this.W[a]};g.ha=aJ;g.$d=function(a,b){this.o[a]=b};g.check=function(){return!0};g.Rk=function(a){n(a)&&(this.$=a);return this.$};g.Ak=$I; -g.Qg=function(){var a=[this.W];this.g&&(a=lj(a,this.g.Qg()));return a};g.Pg=function(){var a=[this.o];this.g&&(a=lj(a,this.g.Pg()));return a};g.parent=function(a){return n(a)?(this.g!=a&&(this.g&&uI(this.g,this.mP,this),(this.g=a)?(P(this.g,this.mP,this),this.margin().parent(this.g.margin())):this.margin().parent(null)),this):this.g};g.mP=function(a){var b=0,c=0;X(a,J)&&(b|=I,c|=J);X(a,8)&&(b|=4,c|=8);X(a,32768)&&(b|=1,c|=J);this.B(b,c)};g.rl=function(){this.B(4|I,J|8)}; -g.margin=function(a,b,c,d){this.$c||(this.$c=new dK,O(this,this.$c),P(this.$c,this.c1,this));return n(a)?(this.$c.U.apply(this.$c,arguments),this):this.$c}; -g.aa=function(){if(!this.Kb())return this;this.b||(this.b=Pl(),O(this,this.b));var a=this.P(),b=a?a.Ha():null,c=b&&!b.Fe();c&&b.qf();W(this,4)&&(iO(this),this.R(4));if(W(this,I)){this.b.fill(this.ha("fill"));this.b.stroke(this.ha("stroke"));this.b.clear();var d=new Q(this.I,this.O,this.F,this.D);this.j&&A(this.j)&&this.j(this.b,d);this.R(I)}W(this,2)&&(this.enabled()&&this.b.parent(a),this.R(2));W(this,8)&&(a=this.zIndex(),this.b.zIndex(a),this.R(8));c&&b.nf();return this}; -g.remove=function(){this.b&&this.b.parent(null)};function jO(a){a.tb&&!W(a,4)||iO(a);return new Q(0,0,a.tb.width,a.tb.height)}g.rc=function(){if(!this.tb||W(this,4))iO(this),this.R(4);var a=this.ma()||Kl(0,0,0,0);if(!this.enabled())return a;switch(this.ha("orientation")){case "top":a.top+=this.tb.height;a.height-=this.tb.height;break;case "right":a.width-=this.tb.width;break;case "bottom":a.height-=this.tb.height;break;case "left":a.left+=this.tb.width,a.width-=this.tb.width}return a}; -function iO(a){var b=a.P();b&&b.Ha();var c=a.margin(),b=a.ma(),d,e;b?a.kb()?(d=b.width,e=b.height):(d=b.height,e=b.width):d=e=void 0;var f=a.ha("width"),h=a.ha("height"),h=ZF(h)||!n(h)?"100%":h,f=U(ZF(f)||!n(f)?"100%":f,d);b&&d=b.top&&a<=b.Ra();a=[];a.push(this.g.xAnchor);a.push(this.g.secondXAnchor);a.push(this.g.thirdXAnchor);for(var c=!0,d=!0,e=0;eb.Wa());return!c&&!d};function sO(a,b){return a.ka.left+b*a.ka.width}function tO(a,b){return a.ka.Ra()-b*a.ka.height} -g.aa=function(){if(!this.Kb())return this;L(this);W(this,4)&&(this.ka=this.Rb(),this.B(64),this.R(4));this.hg();var a=this.gb();this.UD();W(this,I)&&(this.Kf(this.state),this.R(I));if(W(this,256)){if(a)15==this.he&&15==this.I?this.iC(this.g.xAnchor,this.g.valueAnchor,this.g.secondXAnchor,this.g.secondValueAnchor,this.g.thirdXAnchor,this.g.thirdValueAnchor):7<=this.he&&7<=this.I?this.fm(this.g.xAnchor,this.g.valueAnchor,this.g.secondXAnchor,this.g.secondValueAnchor):(3<=this.he&&3<=this.I||this.I== -this.he)&&this.Wj(this.g.xAnchor,this.g.valueAnchor);else return this.remove(),this.B(2),this.ja(!1),this;this.R(256)}W(this,1024)&&(this.ta.wc(!this.ha("allowEdit")),this.R(1024));if(W(this,512)){if(this.Sa){var a=this.Oa(),b=this.ac().enabled()||this.yc().enabled();L(a);if(!1!==a.enabled()||b){a.P(this.ta);a.clear();a.ma(this.ka);a.ue=5;var c=this.state,b=this.Oa(),c=rc(c);switch(c){case H:c=this.ac();break;case Hb:c=this.yc();break;default:c=null}if(!c||ha(c.enabled())?b.enabled():c.enabled())for(var d= -uO(this),e=0;e=b||a>this.ka.Wa()&&0<=b);return a};g.N=function(){var a=zO.G.N.call(this);JI(this,hJ,a,"Annotation");JI(this,dJ,a,"Annotation");JI(this,eJ,a,"Annotation");JI(this,fJ,a,"Annotation");JI(this,gJ,a,"Annotation");return a}; -g.da=function(a,b){II(this,hJ,a);II(this,dJ,a);II(this,eJ,a);II(this,fJ,a);II(this,gJ,a);zO.G.da.call(this,a,b)};g.ca=function(){zO.G.ca.call(this);eg(this.b);delete this.j};function AO(a){pq.call(this);this.Ta=a;this.j=this.b=null;this.o=!1;this.g=[];BO(this,!1)}E(AO,tI);g=AO.prototype;g.Zb=function(){return this.Ta};g.eh=function(a){this.b!=a&&this.j!=a&&(this.rd(),a.$o(H),BO(this)&&a.aa());this.j=a};g.rd=function(){this.j&&(this.j!=this.b&&(this.j.$o($b),BO(this)&&this.j.aa()),this.j=null)}; -g.select=function(a){if(this.b!=a){this.pe();if(this.b)return this;this.Ta.dispatchEvent({type:"annotationSelect",annotation:a})&&(this.b=a,a.$o(Hb),BO(this)&&rO(a)?a.aa():CO(this,!0))}return this};g.pe=function(){this.b&&this.Ta.dispatchEvent({type:"annotationUnselect",annotation:this.b})&&(this.b.$o(this.j==this.b?H:$b),BO(this)&&this.b.aa(),this.b=null,CO(this,!1));return this};g.rY=function(){return this.b}; -function CO(a,b){if(a.o!=b){a.o=b;L(a.Ta);for(var c=0;c=b||a>this.ka.Wa()&&0<=b);return a}; -g.N=function(){var a=JO.G.N.call(this);JI(this,hJ,a,"Annotation");JI(this,dJ,a,"Annotation");JI(this,eJ,a,"Annotation");JI(this,fJ,a,"Annotation");return a};g.da=function(a,b){II(this,hJ,a);II(this,dJ,a);II(this,eJ,a);II(this,fJ,a);JO.G.da.call(this,a,b)};g.ca=function(){JO.G.ca.call(this);eg(this.b);delete this.j};function KO(a){mO.call(this,a);this.b=null;this.D=vO(["stroke","hoverStroke","selectStroke"],2);this.j=vO(["fill","hoverFill","selectFill"],1);this.o=vO(["hatchFill","hoverHatchFill","selectHatchFill"],3)}E(KO,mO);FI(KO,dJ);FI(KO,eJ);FI(KO,fJ);FI(KO,hJ);FI(KO,kJ);bJ.rectangle=KO;g=KO.prototype;g.type="rectangle";g.he=7;g.hg=function(){KO.G.hg.call(this);this.b||(this.b=[this.ta.path(),this.ta.path(),this.ta.path()],this.b[0].zIndex(0),this.b[1].zIndex(1),this.b[2].zIndex(3))}; -g.Wj=function(a,b){for(var c=0;ck&&e>l?c=f=d=h=null:(c=iA(a,b,a,b+d,this.ka),f=iA(e,f,e,f+d,this.ka),b=Math.max(Math.min(a,e),k),a=Math.min(Math.max(a,e),l),d=[b,h],h=[a,h,a,m,b,m,b,h]);else{d=(d-b)/(c-a);b-=d*a;var p=f-d*e;b>p&&(f=b,b=p,p=f);a=c>a?Math.min(a,e):Math.max(a,e);e=c;e>a&&a>l||ea?(a=Math.max(a,k),e=l):(e=Math.min(a,l),a=k),c=d*a+b,f=d*a+p,k=d*e+b,l=d*e+p,fm&& -k>m?c=f=d=h=null:(c=kA(a,c,e,k,this.ka),f=kA(a,f,e,l,this.ka),0>d?(l=Math.max(a,(m-b)/d),b=Math.min(e,(h-p)/d),c?(d=[c[0],c[1]],h=[c[2],c[3],b,c[3]]):(d=[a,h],h=[b,h]),f?h.push(b,f[3],f[0],f[1],l,f[1]):h.push(b,m,l,m)):0b?Math.min(b,d):Math.max(b,d),a=!(aa||a>this.ka.Wa()&&cc.length?c[0]:c[b]):0} -g.parent=function(a){return n(a)?(this.D!=a&&(null===a?(uI(this.D,this.MG,this),this.D=null):(this.D&&uI(this.D,this.MG,this),this.D=a,P(this.D,this.MG,this))),this):this.D};g.MG=function(a){var b=0,c=0;X(a,J)&&(b|=I,c|=J);X(a,8)&&(b|=4,c|=8);X(a,32768)&&(b|=1,c|=J);this.X=null;this.B(b,c)};function RO(a,b,c,d,e,f,h){switch(a.ha("cornerType")){case "round":b.te(e,f,h,h,!1,!0);break;case "roundInner":b.te(e,f,h,h,!1,!1);break;case "cut":b.lineTo(e,f);break;default:b.lineTo(c,d).lineTo(e,f)}} -g.aa=function(){if(!this.Kb())return this;var a=this.ha("fill")||"none",b=this.ha("stroke"),c=this.ha("topStroke"),d=this.ha("rightStroke"),e=this.ha("bottomStroke"),f=this.ha("leftStroke"),h=!!(c||d||e||f),k=c&&d&&e&&f,l,m,p=this.P()?this.P().Ha():null,q=p&&!p.Fe();q&&p.qf();if(W(this,4)){this.b||(this.b=BC());k&&this.g?this.g.clear().parent(null):(this.g||(this.g=Pl()),this.g.parent(this.b),this.g.clear());h?(this.o||(this.o=Pl()),this.o.parent(this.b),this.o.clear()):this.o&&this.o.clear().parent(null); -if(this.W)for(k=0,l=this.W.length;kd||c>e)return 1;if(bd)return 1}else if(a.ea){if(ce)return 1}return 0} -function bP(a){var b=a.ma(),c,d,e;b?(c=b.width,b=b.height,null!=a.lb?(a.X=d=U(a.lb,c),c=!1):(d=0,c=!0),null!=a.Fb?(a.Y=e=U(a.Fb,b),b=!1):(e=0,b=!0)):(OF(a.lb)?(c=!0,d=0):(c=!1,a.X=d=F(a.lb)),OF(a.Fb)?(b=!0,e=0):(b=!1,a.Y=e=F(a.Fb)));var f=a.padding();a.g.width(null);a.g.height(null);c?(d+=a.g.jb().width,a.ga=d,a.X=f.Yg(d)):d=a.ga=f.Xg(d);a.g.width(a.ga);b?(e+=a.g.jb().height,a.fa=e,a.Y=f.Fg(e)):e=a.fa=f.Wg(e);a.g.height(a.fa);var h=!c&&a.W||!b&&a.ea;L(a);if(h){var h=Math.round((a.la+a.Ka)/2),k=a.Ka, -l=a.la,m;m=a.b;var p=DC();p.dg("aria-hidden","true");a.se(p,!0);a.b=m;p.fontSize(a.la);if(0>=aP(a,p.jb().width,p.jb().height,d,e))d=a.la;else{p.fontSize(h);for(var q=m=aP(a,p.jb().width,p.jb().height,d,e);k!=l;){if(0>m)k=Math.min(h+1,l),h+=Math.floor((l-h)/2);else if(0=q*m)break}if(0==m)dg(p);else{do h+=q,p.fontSize(h),m=aP(a,p.jb().width,p.jb().height,d,e);while(0>q*m);dg(p);0a.nearestPointToCursor.distance&&(a.series.ba().select(a.nearestPointToCursor.index),c=a)});var d=c.series;a=this.P();var e=this.ma(),f=0==this.F.Al()%2?0:-.5,h=0==this.I.Al()%2?0:-.5,k=d.Fa(),l=d.Pa(),d=d.ba(),m=F(d.K("x")),p=F(d.K("value")); -if(this.J&&"none"!=this.J){var q;this.F.clear();q=Ac(m,e.fb(),e.Wa()-1);q=Math.round(q)-f;this.F.moveTo(q,e.qb()).lineTo(q,e.Ra())}this.g&&this.g.enabled()&&this.b.enabled()&&(f=this.Ft(this.g,k.transform(d.get("x"))),q=this.b.Gd()||bG,this.b.text(q.call(f,f)),k=kP(this,this.g,this.b,m,p,k.transform(d.get("x"))),this.b.x(k.x).y(k.y),this.b.P(a).aa());this.O&&"none"!=this.O&&(this.I.clear(),k=Ac(p,e.qb(),e.Ra()-1),k=Math.round(k)-h,this.I.moveTo(e.fb(),k).lineTo(e.Wa(),k));this.D&&this.D.enabled()&& -this.o.enabled()&&(e=this.Ft(this.D,l.transform(d.get("value"))),h=this.o.Gd()||bG,this.o.text(h.call(e,e)),l=kP(this,this.D,this.o,m,p,l.transform(d.get("value"))),this.o.x(l.x).y(l.y),this.o.P(a).aa())}};g.Cd=function(){lP(this);mP(this)};function lP(a){a.F.clear();a.b.P(null).remove()}function mP(a){a.I.clear();a.o.P(null).remove()}function nP(a){return n(a.scale().Ic(0))} -g.cr=function(a){if(this.enabled()){var b=this.P(),c=this.ma(),d=dr(this.P().Ha().P()),e=a.clientX-d.x;a=a.clientY-d.y;if(e>=c.fb()&&e<=c.Wa()&&a>=c.qb()&&a<=c.Ra()){var d=0==this.F.Al()%2?0:-.5,f=0==this.I.Al()%2?0:-.5,h=c.Wa()-c.fb(),k=c.Ra()-c.qb(),l=e-c.fb(),m=a-c.qb(),p;this.W?(p=(k-m)/k,h=l/h):(p=l/h,h=(k-m)/k);this.g&&nP(this.g)?(this.J&&"none"!=this.J&&(this.F.clear(),this.g.kb()?(k=Ac(oP(this,this.g,p,e),c.fb(),c.Wa()-1),this.F.moveTo(k-d,c.qb()).lineTo(k-d,c.Ra())):(k=Ac(oP(this,this.g, -p,a),c.qb(),c.Ra()-1),this.F.moveTo(c.fb(),k-f).lineTo(c.Wa(),k-f))),this.b.enabled()&&(k=this.Ft(this.g,p),l=this.b.Gd()||bG,this.b.text(l.call(k,k)),p=kP(this,this.g,this.b,e,a,p),this.b.x(p.x).y(p.y),this.b.P(b).aa())):lP(this);this.D&&nP(this.D)?(this.O&&"none"!=this.O&&(this.I.clear(),this.D.kb()?(p=Ac(oP(this,this.D,h,e),c.fb(),c.Wa()-1),this.I.moveTo(p-d,c.qb()).lineTo(p-d,c.Ra())):(p=Ac(oP(this,this.D,h,a),c.qb(),c.Ra()-1),this.I.moveTo(c.fb(),p-f).lineTo(c.Wa(),p-f))),this.o.enabled()&&(c= -this.Ft(this.D,h),d=this.o.Gd()||bG,this.o.text(d.call(c,c)),e=kP(this,this.D,this.o,e,a,h),this.o.x(e.x).y(e.y),this.o.P(b).aa())):mP(this)}else this.Cd()}};function oP(a,b,c,d){a=a.ma();var e=b.scale(),f="ordinal"==e.Ua();c=e.transform(e.Ic(c),.5);return b.kb()?f?Math.round(a.left+c*a.width):d:f?Math.round(a.top+a.height-c*a.height):d} -function kP(a,b,c,d,e,f){a=a.ma();var h=0,k=0;if(!b)return{x:h,y:k};var l=b.scale(),m=b.Rb(),p="ordinal"==l.Ua();f=l.transform(l.Ic(f),.5);var q=b.enabled(),l=q?m.fb():a.Wa(),t=q?m.qb():a.Ra(),u=q?m.Wa():a.fb(),m=q?m.Ra():a.qb();switch(b.Je()){case "left":h=pP(c)?u-1:u+1;k=p?Math.round(a.top+a.height-f*a.height):e;break;case "top":h=p?Math.round(a.left+f*a.width):d;k=qP(c)?m-1:m+1;break;case "right":h=pP(c)?l-1:l+1;k=p?Math.round(a.top+a.height-f*a.height):e;break;case "bottom":h=p?Math.round(a.left+ -f*a.width):d,k=qP(c)?t-1:t+1}return{x:h,y:k}}function pP(a){a=$O(a);return"leftTop"==a||"leftCenter"==a||"leftBottom"==a}function qP(a){a=$O(a);return"leftTop"==a||"centerTop"==a||"rightTop"==a} -g.Ft=function(a,b){if(!a)return null;var c=a.scale(),d=c.Ua(),e=c.Ic(b),f;switch(d){case "linear":f=+parseFloat(e).toFixed();break;case "log":f=+e.toFixed(1);break;case "ordinal":f=String(e);break;case "dateTime":var h=new Date(e),d=h.getMonth()+1;f=h.getDate();h=h.getFullYear();f=(10>d?"0"+d:""+d)+"-"+(10>f?"0"+f:""+f)+"-"+h}return{value:f,rawValue:e,max:c.max?c.max:null,min:c.min?c.min:null,scale:c}}; -g.ZA=function(a){var b=this.ma(),c=a.offsetX;a=a.offsetY;(c<=b.fb()||c>=b.Wa()||a<=b.qb()||a>=b.Ra())&&this.Cd()};g.remove=function(){this.Cd()};g.ca=function(){this.Ca&&(this.Ca.Ac("mouseover",this.cr,!1,this),this.Ca.Ac("mousemove",this.cr,!1,this),this.Ca.Ac("mouseout",this.ZA,!1,this),this.Ca.Ac("pointshover",this.show,!1,this),this.Ca=null);dg(this.F);this.F=null;dg(this.I);this.D=this.g=this.I=null;dg(this.b);this.b=null;dg(this.o);this.o=null;fP.G.ca.call(this)}; -g.N=function(){var a=fP.G.N.call(this);a.displayMode=this.gI();a.xStroke=T(this.gv());a.yStroke=T(this.jv());a.xLabel=this.b.N();a.yLabel=this.o.N();return a};g.da=function(a,b){fP.G.da.call(this,a,b);this.gI(a.displayMode);this.gv(a.xStroke);this.jv(a.yStroke);this.Ns(a.xLabel);this.Os(a.yLabel)};fP.prototype.displayMode=fP.prototype.gI;fP.prototype.xStroke=fP.prototype.gv;fP.prototype.yStroke=fP.prototype.jv;fP.prototype.xLabel=fP.prototype.Ns;fP.prototype.yLabel=fP.prototype.Os;function rP(){ZO.call(this)}E(rP,ZO);rP.prototype.N=function(){var a=rP.G.N.call(this);n(this.position())&&(a.position=this.position());return a};rP.prototype.da=function(a,b){rP.G.da.call(this,a,b);this.position(a.position)};rP.prototype.ca=function(){rP.G.ca.call(this)};rP.prototype.position=rP.prototype.position;rP.prototype.background=rP.prototype.zw;rP.prototype.padding=rP.prototype.padding;rP.prototype.width=rP.prototype.width;rP.prototype.height=rP.prototype.height;rP.prototype.anchor=rP.prototype.anchor; -rP.prototype.offsetX=rP.prototype.offsetX;rP.prototype.offsetY=rP.prototype.offsetY;rP.prototype.text=rP.prototype.text;rP.prototype.minFontSize=rP.prototype.Ci;rP.prototype.maxFontSize=rP.prototype.Ai;rP.prototype.adjustFontSize=rP.prototype.dr;rP.prototype.rotation=rP.prototype.rotation;function sP(a){Z.call(this);this.W=a;this.xa={};this.J={};this.j=this.D=this.I=this.F=this.o=this.ta=null;this.g={vc:{x:0,y:0,height:0},name:{x:0,y:0,height:0},type:{x:0,y:0,height:0},description:{x:0,y:0,height:0}};this.Y={fontColor:"color",fontOpacity:"opacity",fontDecoration:"decoration",textDirection:"direction"};this.index=NaN}E(sP,Z);g=sP.prototype;g.za=Z.prototype.za;g.wa=Z.prototype.wa;g.check=function(){return!0};g.ha=function(a){return n(this.xa[a])?this.xa[a]:this.J[a]};g.Wc=function(a){return this.xa[a]}; -g.Ve=function(a){return this.J[a]};g.Ee=function(a){return n(this.xa[a])};g.$d=function(a,b){this.xa[a]=b};function tP(a,b,c){var d=a.ha(b);a=a.Ve(b);r(c)||(c=[c]);for(b=0;bd&&(x=u+l,y=y+B.height+ -m+p),e.offsetX(x),e.offsetY(y),e.aa(),D=!0,x+=B.width+k+l;e=y+B.height+m}isNaN(a)?(this.O=Math.max(w,e),isNaN(t)||(this.O=Math.min(this.O,t)),isNaN(h)||(this.O=Math.max(this.O,h))):this.O=a;this.$=Kl(0,0,q,this.O);this.o.Vb(1,0,0,1,this.g.vc.x,this.g.vc.y);this.F.Vb(1,0,0,1,this.g.name.x,this.g.name.y);this.I.Vb(1,0,0,1,this.g.type.x,this.g.type.y);this.D.Vb(1,0,0,1,this.g.description.x,this.g.description.y);this.ta.clip(this.$);this.R(4)}this.ta.Vb(1,0,0,1,0,this.Wh);c&&b.nf();return this};g.N=function(){return sP.G.N.call(this)}; -g.da=function(a,b){sP.G.da.call(this,a,b)};g.ca=function(){this.W=null;eg(this.j);this.j=null;dg(this.D);this.D=null;dg(this.I);this.I=null;dg(this.F);this.F=null;dg(this.o);this.o=null;dg(this.ta);this.ta=null;sP.G.ca.call(this)};function yP(){Z.call(this);this.F=new pJ;P(this.F,this.WZ,this);this.I=this.ta=null;this.xa={};this.Ba={};this.Ga=[];this.g=[];this.Ma=this.ga=0}E(yP,lO);yP.prototype.za=Z.prototype.za;yP.prototype.wa=Z.prototype.wa|I|65472;function zP(a,b,c){var d={},e,f,h;if(a.length)for(h in b)f=b[h].yK,e=f.charAt(0).toUpperCase()+f.substr(1),e=a+e,e=c.get(e),n(e)&&(d[f]=e);else for(h in b)f=b[h].yK,e=c.get(f),n(e)&&(d[f]=e);return d}var AP={};AP.stroke=Y(1,"stroke",NI,I,J);AP.oddFill=Y(1,"oddFill",OI,I,J); -AP.evenFill=Y(1,"evenFill",OI,I,J);AP.drawTopLine=Y(0,"drawTopLine",EI,256,J);AP.drawRightLine=Y(0,"drawRightLine",EI,256,J);AP.drawBottomLine=Y(0,"drawBottomLine",EI,256,J);AP.drawLeftLine=Y(0,"drawLeftLine",EI,256,J);FI(yP,AP);g=yP.prototype;g.Wc=function(a){return this.xa[a]};g.Ee=function(a){return null!=this.xa[a]};g.Ve=function(a){return this.Ba[a]};g.ha=function(a){return null!=this.xa[a]?this.xa[a]:this.Ba[a]};g.$d=function(a,b){this.xa[a]=b};g.check=function(){return!0}; -g.target=function(a){return n(a)?(this.b!=a&&(this.b=a,this.B(512,J)),this):this.b};g.Sm=function(a){this.o||(this.o=new OO,P(this.o,this.VZ,this));return n(a)?(this.o.U(a),this):this.o};g.VZ=function(a){X(a,J)&&this.B(64,J)};g.p6=function(){this.B(1024,J)};g.ow=function(a){this.W||(this.W=new fK,P(this.W,this.p6,this));return n(a)?(this.W.U(a),this):this.W};g.S6=function(){this.B(2048,J)};g.names=function(a){this.Y||(this.Y=new hK,P(this.Y,this.S6,this));return n(a)?(this.Y.U(a),this):this.Y}; -g.A9=function(){this.B(4096,J)};g.pw=function(a){this.ea||(this.ea=new hK,P(this.ea,this.A9,this));return n(a)?(this.ea.U(a),this):this.ea};g.H3=function(){this.B(8192,J)};g.ax=function(a){this.O||(this.O=new hK,P(this.O,this.H3,this));return n(a)?(this.O.U(a),this):this.O};g.f9=function(){this.B(16384,J)};g.mq=function(a){this.X||(this.X=new YO,P(this.X,this.f9,this));return n(a)?(this.X.U(a),this):this.X};g.DO=function(a){return n(a)?(a=Ac(F(a),0,1),this.ga!=a&&(this.ga=a,this.B(128,J)),this):this.ga}; -g.CO=function(a){return n(a)?(this.F.U(a),this.B(32768,J),this):this.F};g.WZ=function(){this.B(32768,J)};g.ba=function(){return this.b?this.b.ba():null};g.BO=function(a){return this.D[a.index]};g.YR=function(){return NaN};g.XR=function(){return NaN};function BP(a,b,c){for(var d=0;dthis.g.length&&this.B(31744);for(d.reset();d.advance();){var a=d.ra(),e=void 0;this.g[a]?a=this.g[a]:((e=this.Ga.pop())|| -(e=new sP(this)),this.g.push(e),e.index=a,a=e);var e=d,f=void 0,h=f=f=f=f=void 0,h=void 0,f=zP("image",gK,e),h=e.get("imageMargin");n(h)&&(f.margin=wF(h));a.$d("imageSettings",f);f=zP("name",iK,e);h=e.get("nameMargin");n(h)&&(f.margin=wF(h));a.$d("nameSettings",f);f=zP("type",iK,e);h=e.get("typeMargin");n(h)&&(f.margin=wF(h));a.$d("typeSettings",f);f=zP("description",iK,e);h=e.get("descriptionMargin");n(h)&&(f.margin=wF(h));a.$d("descriptionSettings",f);f=zP("tags",iK,e);h=e.get("tagsMargin");n(h)&& -(f.margin=wF(h));h=e.get("tagsPadding");n(h)&&(f.padding=wF(h));h=e.get("tagsBackground");n(h)&&(f.background=h);a.$d("tagSettings",f);a.$d("width",this.ie.width);a.$d("height",this.ie.height);a.$d("imageSrc",e.get("image")||"");a.$d("name",e.get("name")||null);a.$d("type",e.get("type")||null);a.$d("description",e.get("description")||null);h=(h=e.get("tags"))?r(h)?h.slice():[h]:[];a.$d("tags",h);h=e.get("enabled");h=n(h)&&!isNaN(h)?!!h:!0;a.enabled(h).Ya(this.mq())}for(a=(a=d.Jb())||0;this.g.length!= -a;)d=this.g.pop(),L(d).enabled(!1).ja(!1).aa(),this.Ga.push(d);this.B(256);this.R(512)}var k,l;if(W(this,31744)){this.mq().Sm().R(4294967295);e=this.ow().N();h=this.names().N();f=this.pw().N();k=this.ax().N();l=this.mq().N();for(d=0;da.nearestPointToCursor.distance&&(c=a)});a=hP(this);var d=jP(this),e=this.gv(),f=this.jv(),h=this.Ns(),k=this.Os(),l=c.series,m=l.ba();m.select(c.nearestPointToCursor.point.index);var p=F(m.K("x")),m=F(m.K("value"));if(isNaN(p)||isNaN(m))m=EP(l).value,p=m.x,m=m.y;var l=this.Ca.scale(),m=l.Ic(p,m), -p=m[0],m=m[1],q=l.Wm(p),l=l.Xm(m);0q?(e&&"none"!=e&&FP(this,a,this.F,p),h.enabled()&&GP(this,a,h,p)):lP(this);0l?(f&&"none"!=f&&FP(this,d,this.I,m),k.enabled()&&GP(this,d,k,m)):mP(this)}}; -g.update=function(a,b){if(this.enabled()){var c,d;n(a)?c=parseFloat(a):c=n(this.Y)?this.Y:0;n(b)?d=parseFloat(b):d=n(this.X)?this.X:0;c=this.Ca.YI(c,d);var e=this.Ca.Ic(c.x,c.y);c=e["long"];d=e.lat;var f=this.Ca.scale(),h=f.Wm(e.x),e=f.Xm(e.y),f=hP(this),k=jP(this),l=this.gv(),m=this.jv(),p=this.Ns(),q=this.Os();0h&&0e?(f&&nP(f)?(l&&"none"!=l&&FP(this,f,this.F,c),p.enabled()&&GP(this,f,p,c)):lP(this),k&&nP(k)?m&&"none"!=m&&(FP(this,k,this.I,d),q.enabled()&&GP(this,k,q,d)):mP(this)):this.Cd()}}; -g.cr=function(a){this.Y=a.clientX;this.X=a.clientY;this.update(a.clientX,a.clientY)};g.ZA=function(a){if(!JF(this.Ca,a.relatedTarget)){this.Y=a.clientX;this.X=a.clientY;a=this.Ca.YI(a.clientX,a.clientY);var b=this.Ca.Ic(a.x,a.y),c=this.Ca.scale();a=c.Wm(b.x);b=c.Xm(b.y);(0>a||1b||1b&&(b==a.g?(a.g=1,a.b=b):(a.b=Math.min(b,a.g),a.g=Math.max(b,a.g)),$P(a),a.B(64,J),XP(a,"api")),a):a.b}function aQ(a){var b;return n(b)?(b=+b,!isNaN(b)&&a.g!=b&&0=b&&(b==a.b?(a.b=0,a.g=b):(a.g=Math.max(b,a.b),a.b=Math.min(b,a.b)),$P(a),a.B(64,J),XP(a,"api")),a):a.g} -function bQ(a,b){b=+b;if(!isNaN(b)){b=Ac(b,0,1);var c=a.g-a.b,d=Ll(Ac(b+c,0,1),4),c=Ll(d-c,4);if(a.b!=c||a.g!=d)a.b=c,a.g=d,$P(a),a.B(64,J),XP(a,"user_action")}}function cQ(a,b){b=+b;var c=isNaN(b)?40:b;if(a.j&&c&&(c=c+(dQ(a)?a.j.top:a.j.left),c=+c,a.j&&!isNaN(c))){var d=dQ(a);c!=(d?a.j.top:a.j.left)&&(d?a.j.top=c:a.j.left=c,VP(a),WP(a),a.B(64,J),XP(a,"user_action"))}}function eQ(a,b){b=+b;var c=isNaN(b)?.05:Ac(b,-1,1);c&&bQ(a,a.b+c)} -g.GH=function(a){return n(a)?(la(a)&&this.Y!=a&&(this.Y=a,this.B(4,J)),this):this.Y};g.ZJ=function(a){return n(a)?(this.O!=a&&(this.O=a,fQ(this,this.O)),this):this.O};g.$J=function(a){return n(a)?(this.Ga=a,this):this.Ga};function gQ(a){a.W||(a.W=BC(),ML(a,a.W,a.jQ,a.iQ,a.e3),O(a,a.W));return a.W}function fQ(a,b){a.X=SE(a.X,b,!0);a.ea=SE(a.ea,b,!1);a.ga=SE(a.ga,b,!0);a.la=SE(a.la,b,!1);a.B(I,J)}g.jQ=function(a){a.preventDefault();fQ(this,this.Ga);this.lg(a)}; -g.iQ=function(a){a.preventDefault();fQ(this,this.O);this.lg(a)};g.e3=function(a){a.preventDefault();var b=dQ(this),c=this.F.jb(),d=this.F.Ng(),e=b?a.offsetY:a.offsetX,d=b?Ll((e-d.top)/d.height,4):Ll((e-d.left)/d.width,4);(b?e<=c.top:e<=c.left)?bQ(this,d):(c=+d,isNaN(c)||(c=Ac(c,0,1),b=this.g-this.b,c=Ll(Ac(c-b,0,1),4),b=Ll(c+b,4),this.b==c&&this.g==b))||(this.b=c,this.g=b,$P(this),this.B(64,J),XP(this,"user_action"));this.lg(a)};function hQ(a){a.fa||(a.fa=iC(),O(a,a.fa));return a.fa} -function iQ(a){a.D||(a.D=new fN,hN(a.D,16,!1),P(a.D,function(){a.D.aa()}),lN(a.D,function(){YP(a)?cQ(a,40):eQ(a,.05)}),O(a,a.D));return a.D}function jQ(a){a.I||(a.I=new fN,hN(a.I,16,!1),P(a.I,function(){a.I.aa()}),lN(a.I,function(){YP(a)?cQ(a,-40):eQ(a,-.05)}),O(a,a.I));return a.I}function kQ(a){a.F||(a.F=iC(),a.F.Ya(gQ(a)),np(a.F,"drag",a.U0,!1,a),np(a.F,"end",a.T0,!1,a),ML(a,a.F,a.jQ,a.iQ,null,null,null,a.Z8),O(a,a.F));return a.F}g.Z8=function(a){a.preventDefault();this.lg(a)}; -g.U0=function(){lQ(this,!0)};g.T0=function(){lQ(this,!1)};function lQ(a,b){var c=dQ(a),d=a.F.Ng(),e=a.F.jb(),f=!!b,h=c?d.top:d.left,d=c?d.height:d.width,k=c?e.top:e.left,l=k+(c?e.height:e.width);10>=(c?e.height:e.width)?(c=a.g-a.b,a.b=(k-h)*(1-c)/(d-10),a.g=Math.min(a.b+c,1)):(a.b=Ll((k-h)/d,5),a.g=Ll((l-h)/d,5));$P(a);f||a.B(64,J);XP(a)} -function $P(a){if(a.o&&a.j){var b;if(dQ(a)){b=a.o.height;var c=Ll((a.g-a.b)*b,1);a.j.top=Ll(a.b*b,1)+a.o.top;a.j.height=c}else b=a.o.width,c=Ll((a.g-a.b)*b,1),a.j.left=Ll(a.b*b,1)+a.o.left,a.j.width=c}}function WP(a){if(a.o&&a.j){var b=dQ(a),c=b?a.j.top-a.o.top:a.j.left-a.o.left,d=b?c+a.j.height:c+a.j.width,b=b?a.o.height:a.o.width;a.b=Ll(c/b,4);a.g=Ll(d/b,4)}} -function VP(a){var b=a.j;a=a.o;b.width>a.width&&(b.width=a.width);b.height>a.height&&(b.height=a.height);b.top+b.height>a.top+a.height&&(b.top-=b.top+b.height-(a.top+a.height));b.left+b.width>a.left+a.width&&(b.left-=b.left+b.width-(a.left+a.width));b.top(d?a.height:a.width)/(d?a.width:a.height);e=f=d?a.width:a.height;k=a.left;l=a.top;h&&(d?f=Ll(a.height/3,1):e=Ll(a.width/3,1));h=d?a.left:a.left+a.width-e;d=d?a.top+a.height-f:a.top;this.D.ma(a);this.D.position({x:h,y:d}).width(e).height(f).aa();this.I.ma(a);this.I.position({x:k,y:l}).width(e).height(f).aa();this.D.ja(!1);this.I.ja(!1)}this.B(I|64);this.R(4)}W(this,I)&&(this.fa.fill(this.X).stroke(this.ea),this.F.fill(this.ga).stroke(this.la),this.R(I)); -if(W(this,64)){if(0>=this.b&&1<=this.g||this.b==this.g)gQ(this).visible(!1);else{gQ(this).visible(!0);e=dQ(this);f=this.Ea;a=Math.min(5,Math.min(f.width,f.height)/2);this.fa.pg(f).round(a);this.Y?(d=this.D.width(),h=this.D.height(),k=e?f.left:f.left+d+1,l=e?f.top+h+1:f.top,d=e?f.width:f.width-2*(d+1),h=e?f.height-2*(h+1):f.height,k=new Q(k,l,d,h)):k=f.clone();d=e?k.height:k.width;l=h=Ll(d*(this.g-this.b),1);var m=!1;10>h&&(m=!0,l=10);m?(h=this.b*(d-l)/(1+this.b-this.g),d=e?f.left:Ll(k.left+h,1),h= -e?Ll(k.top+h,1):f.top):(d=e?f.left:Ll(k.left+this.b*k.width,1),h=e?Ll(k.top+this.b*k.height,1):f.top);m=e?f.width:l;e=e?l:f.height;this.F.fk(UP(d)).gk(UP(h)).ek(Math.round(m)).ck(Math.round(e)).round(a).Ng(k);this.F.Vb(1,0,0,1,0,0)}this.R(64)}W(this,8)&&(gQ(this).zIndex(this.zIndex()),this.R(8));c&&b.nf()}return this};function dQ(a){return"horizontal"!=a.J.toLowerCase()}g.remove=function(){this.W&&this.W.parent(null)}; -function XP(a,b){if(a.Ba){0<=a.Ka&&(clearTimeout(a.Ka),a.Ka=-1);var c=new mQ(a);c.startRatio=a.b;c.endRatio=a.g;c.visibleBounds=a.j;c.source=b||"user_action";a.Ka=setTimeout(function(){a.dispatchEvent(c);a.Ka=-1},0)}} -g.N=function(){var a=TP.G.N.call(this);A(this.CB())?M(8,null,["ScrollBar background stroke"]):a.backgroundStroke=T(this.CB());A(this.bB())?M(8,null,["ScrollBar background fill"]):a.backgroundFill=T(this.bB());A(this.kE())?M(8,null,["ScrollBar slider fill"]):a.sliderFill=T(this.kE());A(this.lE())?M(8,null,["ScrollBar slider stroke"]):a.sliderStroke=T(this.lE());a.mouseOverOpacity=this.$J();a.mouseOutOpacity=this.ZJ();a.buttonsVisible=this.GH();a.barSize=this.Vt();return a}; -g.da=function(a,b){TP.G.da.call(this,a,b);this.bB(a.backgroundFill);this.CB(a.backgroundStroke);this.kE(a.sliderFill);this.lE(a.sliderStroke);this.$J(a.mouseOverOpacity);this.ZJ(a.mouseOutOpacity);this.GH(a.buttonsVisible);this.Vt(a.barSize)};function mQ(a){xh.call(this,"scrollchange",a)}E(mQ,xh);mQ.prototype.startRatio=0;mQ.prototype.endRatio=0;mQ.prototype.visibleBounds=null;mQ.prototype.source="";C("anychart.core.ui.ScrollBar",TP);TP.prototype.barSize=TP.prototype.Vt; -TP.prototype.backgroundStroke=TP.prototype.CB;TP.prototype.backgroundFill=TP.prototype.bB;TP.prototype.sliderStroke=TP.prototype.lE;TP.prototype.sliderFill=TP.prototype.kE;TP.prototype.mouseOutOpacity=TP.prototype.ZJ;TP.prototype.mouseOverOpacity=TP.prototype.$J;TP.prototype.buttonsVisible=TP.prototype.GH;function nQ(){Z.call(this);this.J="vertical";this.F=this.j=this.O=this.Y=null;this.I=.5;this.ea=this.fa=this.W=this.o=0;this.Ba=this.Ka=!1;this.Ga=Nl(ca.document.body,"cursor");this.b=3;this.X=!0;this.g=Pc("#acbece");this.D=Qc({keys:["0 #9ccae3","0.5 #a9dbf6","1 #e3f4fc"],angle:-90,opacity:1});this.ga=Qc("#ccd7e1 0.3");this.Va=Pc(null);this.Ma=Qc("#fff 0");this.Ja=Pc(null);this.la=!0}E(nQ,lO);g=nQ.prototype;g.za=lO.prototype.za;g.wa=lO.prototype.wa|I|64; -g.oc=function(a){return n(a)?(a=yd(a),a!=this.J&&(this.J=a,this.position(this.I)),this):this.J};g.position=function(a){if(n(a)){a=KF(a)?parseFloat(a)/100:a;var b=0,c=1;this.Ea&&(c=oQ(this)?this.Ea.ve():this.Ea.Ce(),b=this.o/c,c=(c-this.W)/c);a=Ac(a,b,c);isNaN(a)||(this.Ea&&(this.I=a,this.la&&this.dispatchEvent("splitterchange")),this.I=a,this.B(64,J));return this}return this.I}; -g.stroke=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.g!=f&&(this.g=f,this.B(64|I,J));return this}return this.g||"none"};g.fill=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.D!=k&&(this.D=k,this.B(I,J));return this}return this.D||"none"};g.oR=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.ga!=k&&(this.ga=k,this.B(I,J));return this}return this.ga||"none"};g.rn=function(a){return n(a)?(la(a)&&(this.la=a),this):this.la}; -function pQ(a){return n(!0)?(la(!0)&&1!=a.X&&(a.X=!0,a.position(a.I)),a):a.X}function qQ(a){var b=2;return n(b)?(b=+b,isNaN(b)||a.b==b||(a.b=b,a.B(64,J)),a):a.b} -function rQ(a){var b,c;a.Ea||(a.Ea=a.Rb());if(a.X){b=Ll((a.Ea.ve()-a.b)*a.I,1);c=Ll((a.Ea.Ce()-a.b)*a.I,1);if(oQ(a))return b+=a.b,new Q(Ll(a.Ea.fb()+b,1),Ll(a.Ea.qb(),1),Ll(a.Ea.ve()-b,1),Ll(a.Ea.Ce(),1));c+=a.b;return new Q(Ll(a.Ea.fb(),1),Ll(a.Ea.qb()+c,1),Ll(a.Ea.ve(),1),Ll(a.Ea.Ce()-c,1))}if(oQ(a))return b=a.Ea.ve()*a.I,new Q(Ll(a.Ea.fb()+b,1),Ll(a.Ea.qb(),1),Ll(a.Ea.ve()-b,1),Ll(a.Ea.Ce(),1));c=a.Ea.Ce()*a.I;return new Q(Ll(a.Ea.fb(),1),Ll(a.Ea.qb()+c,1),Ll(a.Ea.ve(),1),Ll(a.Ea.Ce()-c,1))} -function sQ(a,b,c){Rl(ca.document.body,"cursor",c?a.Ga:b?"e-resize":"n-resize")} -function tQ(a){var b=oQ(a);a.Y.Ze(b?"e-resize":"n-resize");var c,d,e,f,h,k,l,m,p,q,t,u=a.Ea;a.X?(c=b?u.fb()+a.I*(u.ve()-a.b):u.fb(),d=b?u.qb():u.qb()+a.I*(u.Ce()-a.b),m=b?u.fb()+a.o-3:u.fb(),p=b?u.qb():u.qb()+a.o-3,q=b?u.ve()-a.o-a.W+6:u.ve(),t=b?u.Ce():u.Ce()-a.o-a.W+6):(c=b?u.fb()+a.I*u.ve()-a.b/2:u.fb(),d=b?u.qb():u.qb()+a.I*u.Ce()-a.b/2,m=b?u.fb()+a.o-3-a.b/2:u.fb(),p=b?u.qb():u.qb()+a.o-3-a.b/2,q=b?u.ve()-a.o-a.W+6+a.b:u.ve(),t=b?u.Ce():u.Ce()-a.o-a.W+6+a.b);e=b?a.b:u.ve();f=b?u.Ce():a.b;h=b? -c-3:u.fb();k=b?u.qb():d-3;l=b?a.b+6:u.ve();b=b?u.Ce():a.b+6;m=new Q(m,p,q,t);a.O.fk(c).gk(d).ek(e).ck(f);a.j.fk(h).gk(k).ek(l).ck(b).Ng(m)}function uQ(a){a.Y||(a.Y=BC(),O(a,a.Y));return a.Y}g.k1=function(){this.Ka=!0;vQ(this).visible(!0);var a=oQ(this);this.Ga=Nl(ca.document.body,"cursor");a?this.F.fk(this.I*this.Ea.ve()+this.Ea.fb()).gk(this.Ea.qb()).ek(0).ck(this.Ea.Ce()):this.F.fk(this.Ea.fb()).gk(this.I*this.Ea.Ce()+this.Ea.qb()).ek(this.Ea.ve()).ck(0)}; -g.j1=function(){var a=this.j.jb(),b=oQ(this),c=this.b/2;sQ(this,b);var d=b?this.I*this.Ea.ve()+this.Ea.fb():this.I*this.Ea.Ce()+this.Ea.qb(),a=b?a.fb()+a.ve()/2:a.qb()+a.Ce()/2;b?(this.F.fk(Math.min(d,a)).ek(Math.abs(d-a)),this.O.fk(a-c)):(this.F.gk(Math.min(d,a)).ck(Math.abs(d-a)),this.O.gk(a-c))}; -g.i1=function(){this.Ka=!1;vQ(this).visible(!1);var a=this.j.jb(),b=oQ(this);this.Ba||sQ(this,b,!0);this.X?(a=b?a.left+3-this.Ea.left:a.top+3-this.Ea.top,b=b?a/(this.Ea.width-this.b):a/(this.Ea.height-this.b)):(a=b?a.left+a.width/2-this.Ea.left:a.top+a.height/2-this.Ea.top,b=b?a/this.Ea.width:a/this.Ea.height);this.position(Ll(b,4))};g.l1=function(){this.Ba=!0};g.O6=function(a){this.dispatchEvent({type:"dblclick",originalEvent:a})};g.m1=function(){this.Ba=!1;this.Ka||sQ(this,oQ(this),!0)}; -function wQ(a){a.j||(a.j=iC().stroke(a.Ja).fill(a.Ma),np(a.j,"dblclick",a.O6,!1,a),np(a.j,"mousemove",a.l1,!1,a),np(a.j,"mouseout",a.m1,!1,a),np(a.j,"start",a.k1,!1,a),np(a.j,"drag",a.j1,!1,a),np(a.j,"end",a.i1,!1,a),O(a,a.j));return a.j}function vQ(a){a.F||(a.F=iC().visible(!1),O(a,a.F));return a.F}function xQ(a){a.O||(a.O=iC().wc(!0).fill(a.D).stroke(a.g),O(a,a.O));return a.O} -g.aa=function(){if(this.Kb()){var a=this.P(),b=a?a.Ha():null,c=b&&!b.Fe();c&&b.qf();uQ(this).ec()||uQ(this).ab(vQ(this)).ab(wQ(this)).ab(xQ(this));W(this,2)&&(uQ(this).parent(a),this.R(2));W(this,4)&&(this.Ea=this.Rb(),this.la&&this.dispatchEvent("splitterchange"),this.B(I|64),this.R(4));W(this,I)&&(this.O.stroke(this.g).fill(this.D),this.F.fill(this.ga).stroke(this.Va),this.j.fill(this.Ma).stroke(this.Ja),this.R(I));W(this,64)&&(wQ(this).Vb(1,0,0,1,0,0),this.o!=this.fa&&(a=oQ(this)?this.Ea.ve(): -this.Ea.Ce(),this.fa<=a&&(this.o=this.fa,this.fa>a-this.W&&(this.ea=a-this.fa),this.position(this.I))),this.W!=this.ea&&(a=oQ(this)?this.Ea.ve():this.Ea.Ce(),this.ea<=a&&(this.W=this.ea,this.ea>a-this.o&&(this.fa=a-this.ea),this.position(this.I))),tQ(this),this.R(64));W(this,8)&&(uQ(this).zIndex(this.zIndex()),tQ(this),this.R(8));c&&b.nf()}return this};function oQ(a){return"horizontal"!=a.J.toLowerCase()}g.remove=function(){this.Y&&this.Y.parent(null)}; -function yQ(){Z.call(this);this.j=this.b=this.D=this.o=null;this.I=NaN;this.Y=this.W=!1;this.X=Nl(ca.document.body,"cursor");this.g=Pc("1 #acbece");this.F=1;this.J=Qc("#ccd7e1 0.3");this.ea=Qc("#fff 0.00001");this.O=!0}E(yQ,lO);g=yQ.prototype;g.za=lO.prototype.za;g.wa=lO.prototype.wa|I|64;g.remove=function(){this.o&&this.o.parent(null)};g.position=function(a){return n(a)?(this.I!=a&&(this.I=a,this.B(64,J)),this):this.I}; -g.stroke=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments),h=$F(f);if(this.g!=f||h!=this.F)this.g=f,this.F=h,this.B(64|I,J);return this}return this.g||"none"};g.oR=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.J!=k&&(this.J=k,this.B(I,J));return this}return this.J||"none"};g.rn=function(a){return n(a)?(la(a)&&(this.O=a),this):this.O};function zQ(a,b){Rl(ca.document.body,"cursor",b?a.X:"e-resize")}function AQ(a){a.o||(a.o=BC(),O(a,a.o));return a.o} -g.f1=function(){this.W=!0;this.X=Nl(ca.document.body,"cursor");BQ(this).clear()};g.e1=function(){var a=this.b.jb();zQ(this);var b=this.Ea.left+this.I+this.F/2,a=a.fb()+a.ve()/2;this.j.clear().moveTo(b,this.Ea.top).lineTo(a,this.Ea.top).lineTo(a,this.Ea.top+this.Ea.height).lineTo(b,this.Ea.top+this.Ea.height).close();this.D.clear().moveTo(a,this.Ea.top).lineTo(a,this.Ea.top+this.Ea.height)};g.d1=function(){this.W=!1;this.j.clear();var a=this.b.jb();this.Y||zQ(this,!0);this.position(a.left+3-this.Ea.left)}; -g.Q6=function(a){a.preventDefault();this.lg(a)};function CQ(a){a.o.Ze("e-resize");var b=a.Ea.left+a.I+a.F/2,c=new Q(a.Ea.left-3,a.Ea.top,a.Ea.width+6,a.Ea.height);a.D.clear().moveTo(b,a.Ea.top).lineTo(b,a.Ea.top+a.Ea.height);var b=a.Ea.left+a.I-3,d=a.Ea.left+a.I+a.F+3;a.b.Vb(1,0,0,1,0,0);a.b.clear().moveTo(b,a.Ea.top).lineTo(d,a.Ea.top).lineTo(d,a.Ea.top+a.Ea.height).lineTo(b,a.Ea.top+a.Ea.height).close().Ng(c)}g.g1=function(){this.Y=!0};g.h1=function(){this.Y=!1;this.W||zQ(this,!0)}; -function DQ(a){a.b||(a.b=Pl().fill(a.ea).stroke(null),np(a.b,"start",a.f1,!1,a),np(a.b,"drag",a.e1,!1,a),np(a.b,"end",a.d1,!1,a),ML(a,a.b,null,a.h1,null,a.g1,null,a.Q6),O(a,a.b));return a.b}function BQ(a){a.j||(a.j=Pl(),a.j.fill(a.J).stroke(null),O(a,a.j));return a.j}function EQ(a){a.D||(a.D=Pl().wc(!0).stroke(a.g),O(a,a.D));return a.D} -g.aa=function(){if(this.Kb()){var a=this.P(),b=a?a.Ha():null,c=b&&!b.Fe();c&&b.qf();AQ(this).ec()||AQ(this).ab(BQ(this)).ab(DQ(this)).ab(EQ(this));W(this,2)&&(AQ(this).parent(a),this.R(2));W(this,4)&&(this.Ea=this.Rb(),this.O&&this.dispatchEvent("splitterchange"),this.B(I|64),this.R(4));W(this,I)&&(this.D.stroke(this.g),this.j.fill(this.J),this.b.fill(this.ea),this.R(I));W(this,64)&&(isNaN(this.I)&&(this.I=Math.round((this.Ea.width-this.F)/2)),this.O&&this.dispatchEvent("splitterchange"),CQ(this), -this.R(64));W(this,8)&&(AQ(this).zIndex(this.zIndex()),CQ(this),this.R(8));c&&b.nf()}return this};function FQ(){Z.call(this);this.W=this.D=this.o=null;this.Y=this.X=this.g=this.j=NaN;this.bb=this.$c=this.tb=null;this.$="top";this.J=null;this.I={};this.F={};this.b=null;this.Sa=!1;this.fa=null}E(FQ,Z);FQ.prototype.za=Z.prototype.za|32768;FQ.prototype.wa=Z.prototype.wa|I|64;FQ.prototype.O=AI(I|4,I,J|8);FI(FQ,FQ.prototype.O);var GQ={};GQ.width=Y(0,"width",BI,4,J|8);GQ.height=Y(0,"height",BI,4,J|8);GQ.align=Y(0,"align",xd,4,J|8);GQ.orientation=Y(0,"orientation",Ad,4,J|8); -GQ.rotation=Y(0,"rotation",Mg,4,J|8);GQ.text=Y(0,"text",DI,I|4,J|8);FQ.prototype.ea=GQ;FI(FQ,FQ.prototype.ea);g=FQ.prototype;g.Rk=function(a){n(a)&&(this.fa=a);return this.fa};g.Ak=$I;g.Qg=function(){var a=[this.I];this.b&&(a=lj(a,this.b.Qg()));return a};g.Pg=function(){var a=[this.F];this.b&&(a=lj(a,this.b.Pg()));return a};g.Wc=function(a){return this.F[a]};g.Ee=function(a){return null!=this.F[a]};g.Ve=function(a){return this.I[a]};g.ha=aJ;g.$d=function(a,b){this.F[a]=b};g.check=function(){return!0}; -g.parent=function(a){return n(a)?(this.b!=a&&(this.b&&uI(this.b,this.yP,this),(this.b=a)?(P(this.b,this.yP,this),this.ip().parent(this.b.ip()),this.padding().parent(this.b.padding()),this.margin().parent(this.b.margin())):(this.ip().parent(null),this.padding().parent(null),this.margin().parent(null))),this):this.b};g.yP=function(a){var b=0,c=0;X(a,J)&&(b|=I,c|=J);X(a,8)&&(b|=4,c|=8);X(a,32768)&&(b|=1,c=c|32768|J);this.fa=null;this.B(b,c)}; -g.ip=function(a){this.o||(this.o=new OO,O(this,this.o),P(this.o,this.G1,this));return n(a)?(this.o.U(a),this):this.o};g.margin=function(a,b,c,d){this.$c||(this.$c=new dK,O(this,this.$c),P(this.$c,this.xP,this));return n(a)?(this.$c.U.apply(this.$c,arguments),this):this.$c};g.padding=function(a,b,c,d){this.bb||(this.bb=new jK,O(this,this.bb),P(this.bb,this.xP,this));return n(a)?(this.bb.U.apply(this.bb,arguments),this):this.bb}; -function HQ(a,b){if(n(b)){var c=!a.ha("orientation")&&a.$!=b;a.$=b;c&&a.B(4);return a}return a.$}g.Db=function(a,b){if(n(a)){if(z(a))if(n(b)){if(a in this.O)this[a](b)}else return this.Wc(a);else if(v(a))for(var c in a)if(c in this.O)this[c](a[c]);return this}c={};for(var d in this.F)d in this.O&&(c[d]=this.F[d]);return c};function IQ(a,b){if(n(b)){var c=null==b?"":String(b);a.ga!=c&&(a.ga=c,a.B(I|4,J|8));return a}return a.ga} -g.B=function(a,b){var c=FQ.G.B.call(this,a,b);!c&&this.Sa&&this.va(b||0);return c};function JQ(a){var b=!1;a.D||(b=!0,a.D=BC(),a.ip().P(a.D),a.mc=a.D.text(),a.mc.zIndex(.1),a.mc.dg("aria-hidden","true"),O(a,a.D),ML(a,a.D));return b} -g.aa=function(){if(!this.Kb())return this;var a=JQ(this),b=this.P();L(this);W(this,2)&&(this.D.parent(b),this.R(2));W(this,8)&&(this.D.zIndex(this.zIndex()),this.R(8));W(this,I)&&(this.se(a),this.R(I));W(this,4)&&(KQ(this),this.mc.x(U(this.padding().ha("left"),this.j)),this.mc.y(U(this.padding().ha("top"),this.g)),this.D.Vb(this.J.ld,this.J.be,this.J.me,this.J.ce,this.J.gd,this.J.hd),this.B(64),this.R(4));W(this,64)&&(a=this.ip(),L(a),a.ma(0,0,this.j,this.g),a.aa(),a.ja(!1),this.R(64));this.ja(!1); -return this};g.remove=function(){this.D?this.D.parent(null):this.mc&&this.mc.parent(null)};g.rc=function(){var a=this.ma(),a=a?a.clone():Kl(0,0,0,0);if(!this.enabled())return a;this.tb&&!W(this,4)||KQ(this);switch(this.ha("orientation")||this.$){case "top":a.top+=this.tb.height;a.height-=this.tb.height;break;case "right":a.width-=this.tb.width;break;case "bottom":a.height-=this.tb.height;break;case "left":a.left+=this.tb.width,a.width-=this.tb.width}return a}; -function LQ(a){if(!a.enabled())return new Q(0,0,0,0);a.tb&&!W(a,4)||KQ(a);return a.tb} -g.se=function(a){var b=this.ha("text"),c=IQ(this),d=this.ha("useHtml");if(a||n(b)||n(c)||n(d))a=!b&&n(c)?c:b,d?this.mc.htmlText(a):this.mc.text(a);this.mc.fontSize(this.ha("fontSize"));this.mc.fontFamily(this.ha("fontFamily"));this.mc.color(this.ha("fontColor"));this.mc.Eq(this.ha("textDirection"));this.mc.uv(this.ha("textWrap"));this.mc.opacity(this.ha("fontOpacity"));this.mc.Yn(this.ha("fontDecoration"));this.mc.fontStyle(this.ha("fontStyle"));this.mc.fontVariant(this.ha("fontVariant"));this.mc.fontWeight(this.ha("fontWeight")); -this.mc.letterSpacing(this.ha("letterSpacing"));this.mc.sv(this.ha("lineHeight"));this.mc.tv(this.ha("textIndent"));this.mc.An(this.ha("vAlign"));this.mc.Wk(this.ha("hAlign"));this.mc.Kl(this.ha("textOverflow"));this.mc.Fq(this.ha("selectable"));this.mc.wc(this.ha("disablePointerEvents"))};function MQ(a){var b=a.Wc("rotation"),b=n(b)?b:a.ha("rotation");if(n(b))return b;switch(a.ha("orientation")||a.$){case "left":return-90;case "right":return 90;default:return 0}} -function KQ(a){var b=a.padding(),c=a.margin(),d=a.ma(),e,f,h=a.ha("orientation")||a.$,k=0==MQ(a)%180;d?"top"==h||"bottom"==h||k?(e=d.width,f=d.height):(e=d.height,f=d.width):e=f=void 0;var l=JQ(a);if(l||W(a,I))a.se(l),a.R(I);a.mc.width(null);a.mc.height(null);a.mc.Vb(1,0,0,1,0,0);var l=a.mc.jb(),m=a.Ee("width")?a.Wc("width"):a.W||null;null===m?(a.X=l.width,a.j=b.Yg(a.X)):(a.j=U(m,e),a.X=b.Xg(a.j));d&&ec.left&&(h-=c.left),0>c.top&&(k-=c.top),c.Wa()>d.width&&(h-=c.Wa()-d.width),c.Ra()>d.height&& -(k-=c.Ra()-d.height));a.ha("allowLeaveChart")||(b.x(h),b.y(k),c=b.Rb(),c.leftm.x+f.Wa()&&(h-=c.Wa()-m.x-f.Wa()),c.Ra()>m.y+f.Ra()&&(k-=c.Ra()-m.y-f.Ra()));b.x(h);b.y(k)} -function XQ(a,b,c,d,e,f){if(a.check(3)&&(a.g=e?e.zb():a,YQ(a,[a.g]),a.g.enabled())){for(var h={clientX:c,clientY:d,formattedValues:[],points:[]},k=[],l=0;ld.Ra()?(e=d.fb(),f=d.Wa(),h=d.qb(),k=d.Ra(),c+=2):(e=f=d.fb()+2,h=d.qb(),k=d.Ra(),b-=2);else if(b>d.Wa())cd.Ra()?(e=d.fb(),f=d.Wa(),h=d.Ra(),k=d.qb(),c+=2):(e=f=d.Wa()-2,h=d.qb(),k=d.Ra(),b+=2);else if(c< -d.qb())h=k=d.qb()+2,e=d.Wa(),f=d.fb(),c-=2;else if(c>d.Ra())h=k=d.Ra()-2,e=d.fb(),f=d.Wa(),c+=2;else break a;a.I=[e,h,f,k,b,c]}rp(document,"mousemove",a.oD,!1,a)}else d&&(d.style["pointer-events"]="none")}function eR(a,b,c,d){SQ(a);a.g=a;d&&(d.clientX=b,d.clientY=c,IQ(a.title(),$Q(a,d)),TQ(a).text(ZQ(a,d)));aR(a,a);WQ(a,a,b,c);bR(a,b,c)}function $Q(a,b){b=ji(b);b.titleText=a.eb.ha("text");var c=a.ha("titleFormatter");z(c)&&(c=FJ(GJ.qc(),c));return c.call(b,b)} -function ZQ(a,b,c){b=ji(b);b.valuePrefix=a.ha("valuePrefix")||"";b.valuePostfix=a.ha("valuePostfix")||"";a=c?a.ha("unionTextFormatter"):a.ha("textFormatter");z(a)&&(a=FJ(GJ.qc(),a));return a.call(b,b)}function TQ(a,b){a.Y||(a.Y=new rP,P(a.Y,a.B7,a),a.Y.Ya(a),a.Y.width("100%").height("100%"),O(a,a.Y));return n(b)?(a.Y.U(b),a):a.Y} -g.content=function(a){M(405,null,[".content()","the following behaviour",": the method called through the .content()-method should be applied to the .tooltip()-method directly"],!0);return TQ(this,a)};g.B7=function(a){X(a,8)?(this.$=this.J=null,this.B(1988,J)):X(a,J)&&this.B(512,J)}; -function QQ(a,b,c){if(b)return a.F&&a.F.stop(),a.remove(),!0;if(a.ha("selectable")&&c){b=c.originalEvent.clientX;c=c.originalEvent.clientY;var d=a.Rb().$e(new Yl(b,c)),e=a.j.ia();if(e&&!d)return np(e,"mouseleave",a.VC,!1,a),a.I=null,!1;if(fR(a,b,c))return np(document,"mousemove",a.oD,!1,a),e&&(np(a.j.ia(),"mouseenter",a.lL,!1,a),np(a.j.ia(),"mouseleave",a.mL,!1,a)),!1;a.I=null}if(a.tu())return RQ(a),a.F.ak()||a.F.start(),!1;a.remove();return!0}g.remove=function(){this.j.parent(null)}; -function SQ(a){var b;b=a.check(1)&&!ei(a.D);a.title().Sa=b;a.Jn().Va=b;a.jp().Ja=b}g.Rb=function(){this.$=this.J=null;VQ(this);return new Q(this.$.x,this.$.y,this.J.width,this.J.height)};g.se=function(){if(W(this,512)){L(TQ(this));for(var a in this.W){var b=this.ha(a);n(b)&&TQ(this).Db(a,b)}TQ(this).dr(this.ha("adjustFontSize"));TQ(this).Ci(this.ha("minFontSize"));TQ(this).Ai(this.ha("maxFontSize"));TQ(this).ja(!1)}}; -g.B=function(a,b){var c=NQ.G.B.call(this,a,b);!c&&this.check(1)&&!ei(this.D)&&this.va(b||0);return c};function RQ(a){a.F&&a.F.ak()?a.Qa=!0:(dg(a.F),a.F=new Wr(function(){this.remove();this.Qa&&(this.Qa=!1,RQ(this))},a.tu(),a))}function YQ(a,b){b=b||[];for(var c in a.D)dj(b,function(a){return String(qa(a))==c})||a.D[c].Cd(!0)} -function UQ(a){if(!a.J){L(TQ(a));a.se();TQ(a).ja(!1);var b=a.ha("width"),c=a.ha("height"),d=(a.Ta||a.fa).Rb(),b=U(b,d.width),c=U(c,d.height),d=!isNaN(b),e=!isNaN(c),f=new Q(0,0,0,0),h,k=null,l=null,m=a.title(),p=a.Jn(),q=TQ(a);if(!d||!e){if(m.enabled()){m.ma(null);h=m.ha("width");var t=null!=m.Wc("width"),u=m.ha("height"),w=null!=m.Wc("height");KF(h)&&(k=h,m.width(null));KF(u)&&(l=u,m.height(null));h=LQ(m);f.width=b||Math.max(f.width,h.width);t?m.width(k):delete m.F.width;w?m.height(l):delete m.F.height; -l=k=null;e||(f.height+=h.height)}if(q.enabled()){var x=(t=a.b?TQ(a.b):null)?t.width():void 0,t=t?t.height():void 0;q.ma(null);x=q.width()||x;t=q.height()||t;KF(x)&&(k=x,q.width(null));KF(t)&&(l=t,q.height(null));x=dP(q);f.width=b||Math.max(f.width,x.width);k&&q.width(k);l&&q.height(l);e||(f.height+=x.height)}m.enabled()&&m.ma(new Q(0,0,f.width,h.height));q.enabled()&&q.ma(new Q(0,0,f.width,x.height));p.enabled()&&(p.ma(m.enabled()||q.enabled()?f:null),h=jO(p),f.width=b||Math.max(f.width,h.width), -e||(f.height+=h.height))}f=a.padding().fV(f);d&&(f.left=0,f.width=b);e&&(f.top=0,f.height=c);a.J=f}}function VQ(a){UQ(a);if(!a.$){var b=a.ha("anchor"),c=new Yl(a.ha("x"),a.ha("y")),d=PF(a.J,b);c.x-=d.x;c.y-=d.y;YF(c,b,a.ha("offsetX"),a.ha("offsetY"));a.$=c}} -function dR(a,b,c,d,e){var f=c,h=d,k,l=a.ha("positionMode")||"float";k=a.ha("displayMode");var m=a.Ca()?dr(a.Ca().P().Ha().P()):dr(a.P().Ha().P());"float"==l?go||(f=c-m.x,h=d-m.y):"point"==l?(f="union"==k?a.ha("position"):b.ha("position"),h=e.Mv(f,!0).value,f=h.x+(go?m.x:0),h=h.y+(go?m.y:0)):"chart"==l&&(e=a.Ca().Rb(),f="union"==k?a.ha("position"):b.ha("position"),h=PF(e,f),f=h.x+(go?m.x:0),h=h.y+(go?m.y:0));a.ha("allowLeaveScreen")||(b.x(f),b.y(h),k=b.Rb(),e=yo(),0>k.left&&(f-=k.left),0>k.top&&(h-= -k.top),k.Wa()>e.width&&(f-=k.Wa()-e.width),k.Ra()>e.height&&(h-=k.Ra()-e.height));a.ha("allowLeaveChart")||(b.x(f),b.y(h),k=b.Rb(),a=a.Ta||a.fa,e=a.Rb(),m||(m=dr(a.P().Ha().P())),k.leftm.x+e.Wa()&&(f-=k.Wa()-m.x-e.Wa()),k.Ra()>m.y+e.Ra()&&(h-=k.Ra()-m.y-e.Ra()));b.x(f);b.y(h)}function aR(a,b){if(!b.P())if(go){var c=bF.qc();b.P(c.b);c.j[qa(b).toString()]=b}else a.Ca()?b.P(a.Ca().P()):a.b&&b.P(a.b.Ca().P())} -g.oD=function(a){if(fR(this,a.clientX,a.clientY))go&&cF(!0);else{rp(document,"mousemove",this.oD,!1,this);var b=this.j.ia();b&&(rp(b,"mouseenter",this.lL,!1,this),rp(b,"mouseleave",this.mL,!1,this));this.VC(a)}};function fR(a,b,c){if(!a.I)return!1;var d=a.I[0],e=a.I[1],f=a.I[2],h=a.I[3],k=a.I[4],l=a.I[5];a=eA(f,h,k,l,b,c);k=eA(k,l,d,e,b,c);return eA(d,e,f,h,b,c)==a&&a==k}g.lL=function(){rp(document,"mousemove",this.oD,!1,this);this.j.ia()&&rp(this.j.ia(),"mouseenter",this.lL,!1,this);this.I=null}; -g.mL=function(a){this.j.ia()&&rp(this.j.ia(),"mouseleave",this.mL,!1,this);this.VC(a)};g.VC=function(a){if(2==a.yg.buttons)return!0;go&&cF(!1);this.j.ia()&&rp(this.j.ia(),"mouseleave",this.VC,!1,this);this.I=null;this.tu()?(RQ(this),this.F.ak()||this.F.start()):this.Cd(!0)}; -g.parent=function(a){if(n(a)){if(this.b!=a){var b=String(qa(this));null===a?(uI(this.b,this.hB,this),this.title().parent(null),this.Jn().parent(null),this.jp().parent(null),this.padding().parent(null),TQ(this).padding().parent(null),delete this.b.D[b],this.b=null):(this.b&&uI(this.b,this.hB,this),this.b=a,this.title().parent(this.b.title()),this.Jn().parent(this.b.Jn()),this.jp().parent(this.b.jp()),this.padding().parent(this.b.padding()),TQ(this).padding().parent(TQ(this.b).padding()),this.b.D[b]= -this,P(this.b,this.hB,this))}return this}return this.b};g.hB=function(a){var b=0,c=0;if(X(a,8)||X(a,J))b|=1988,c|=8;X(a,32768)&&(b|=1,c|=J);this.Ba=null;this.B(b,c)};g.Wc=function(a){return this.O[a]};g.Ee=function(a){return null!=this.O[a]};g.Ve=function(a){return this.X[a]};g.ha=aJ;g.$d=function(a,b){this.O[a]=b};g.check=function(a){return n(a)?!!(a&this.wb):!0};g.Rk=function(a){n(a)&&(this.Ba=a);return this.Ba};g.Ak=$I;g.Qg=function(){var a=[this.X];this.b&&(a=lj(a,this.b.Qg()));return a}; -g.Pg=function(){var a=[this.O];this.b&&(a=lj(a,this.b.Pg()));return a};g.v3=function(a){M(405,null,[".contentFormatter()",".textFormatter()"],!0);return this.textFormatter(a)};g.s6=function(){M(405,null,[".isFloating()",".positionMode()"],!0);return"float"==this.ha("positionMode")};g.enabled=function(a){return n(a)?(this.O.enabled!=a&&(this.O.enabled=a,this.B(1,J|32776),this.O.enabled?(this.af=!1,this.ja(!0)):isNaN(this.zh)?L(this):this.af=!0),this):this.ha("enabled")}; -g.N=function(){var a={};JI(this,this.W,a);JI(this,this.la,a);delete a.x;delete a.y;var b=this.title().N();ei(b)||(a.title=b);b=this.Jn().N();ei(b)||(a.separator=b);b=this.jp().N();ei(b)||(a.background=b);b=this.padding().N();ei(b)||(a.padding=b);n(this.ga)&&(a.hideDelay=this.ga);n(this.zIndex())&&(a.zIndex=this.zIndex());this.Ee("enabled")&&(a.enabled=this.O.enabled);return a}; -g.da=function(a,b){if(b){for(var c in this.W){var d=a[c];n(d)&&(this.X[c]=d)}for(c in this.la)d=a[c],n(d)&&(this.X[c]=d);"enabled"in a&&(this.X.enabled=a.enabled)}else II(this,this.W,a),II(this,this.la,a);DG(this.title(),a.title,b);DG(this.Jn(),a.separator,b);DG(this.jp(),a.background,b);DG(this.padding(),a.padding,b);this.tu(a.hideDelay);c=a.content;if(!(c&&"anchor"in a&&"position"in a)){var e,f;c&&(e=c.position,f=c.anchor);if(!e||!f){for(var d=this.Ak(),h=0;h=b.width&&0>=b.height&&(b=null);var c,d,e=a.margin(),f=a.padding(),h,k,l,m;b?(c=b.width,d=b.height,null!=a.lb?(h=U(a.lb,c),e.Yg(h)>c&&(h=e.Xg(c)),l=f.Xg(h)):l=f.Xg(e.Xg(c)),null!=a.Fb?(k=U(a.Fb,d),e.Fg(k)>d&&(k=e.Wg(d)),m=f.Wg(k)):m=f.Wg(e.Wg(d))):(l=na(a.lb)&&!isNaN(a.lb)?f.Xg(a.lb):Infinity,m=na(a.Fb)&&!isNaN(a.Fb)?f.Wg(a.Fb):Infinity);var p,q,t,u=a.ez(),w=a.tn(),x=a.title();h="bottom"==a.position()||"top"==a.position();k=x.ha("orientation")||HQ(x);var y="top"== -k||"bottom"==k,B=u.kb(),D;if(null!=a.g){var G=k=0,K=-Number.MAX_VALUE,N=0;for(q=a.g.length;NK?D=0:(k-=a.$,D="vertical"==a.W?K:k)}else D=0;var S;if(null!=a.g){G=k=0;K=-Number.MAX_VALUE;N=0;for(q=a.g.length;NK?S=0:(k-=a.$,S="horizontal"==a.W?K:k)}else S=0;var V;k=0+D;V=0+S;L(u);L(w);L(x);x.enabled()?(x.ma(null),N=x.ha("orientation")||HQ(x),x.W=null,t=LQ(x),y?(k=Math.min(Math.max(k, -t.width),l),h&&(x.W=0>k?null:k,t=LQ(x)),V+=t.height):(k+=t.width,V=Math.max(V,t.height))):t=null;u.enabled()?(u.ha("orientation"),u.ma(null),t?u.width(t.width):u.width(u.kb()?D:S),p=jO(u)):p=null;w.ma(null);q=w.Rb();"horizontal"==a.W&&(D>l?QP(w,!0):QP(w,!1));h=m;y&&(h-=t?t.height:0);B&&(h-=p?p.height:0);"vertical"==a.W&&(S>h?QP(w,!0):QP(w,!1));u.enabled()&&(u.kb()?(k=Math.max(k,p.width),V+=p.height):(k+=p.width,V=Math.max(V,p.height)));RP(w)&&(N=w.fr(),"left"==N||"right"==N?(k+=q.width,V=Math.max(V, -q.height)):(k=Math.max(k,q.width),V+=q.height));G=k>l?l:k;K=V>m?m:V;h=e.Yg(f.Yg(G));k=e.Fg(f.Fg(K));if(x.enabled()){var aa=0==MQ(x)%180,oa=t.width,N=t.height;x.ha("orientation")||HQ(x);if(y||aa){if(aa&&!y){var B=(a.g&&a.g.length?a.g[0].ve():0)+(RP(w)?q.width:0),B=D>=l?B:D,pa;null!=x.width()?pa=x.width():pa=x.margin().Xg(G-oa<=B?G-B:oa)}else{if(V>m){pa=0;p&&B&&(pa+=p.height);if("top"==w.fr()||"bottom"==w.fr())pa+=q.height;x.height(ia(x.height())?x.height():x.margin().Wg(V-S-pa))}pa=null!=x.width()? -x.width():x.margin().Xg(G)}x.W=0>pa?null:pa;t=LQ(x);u.width(h);p=jO(u);t.height!=N&&(x.height(ia(x.height())?x.height():x.margin().Wg(N)),t=LQ(x))}else pa=null!=x.width()?x.width():x.margin().Xg(K),x.W=0>pa?null:pa,t=LQ(x),u.width(k),p=jO(u),t.width!=oa&&(x.height(ia(x.height())?x.height():x.margin().Wg(oa)),t=LQ(x))}x.enabled()&&(N=x.ha("orientation")||HQ(x),"top"==N||"bottom"==N?K-=t.height:G-=t.width);u.enabled()&&(u.kb()?K-=p.height:G-=p.width);pa=G;B=K;N=w.fr();RP(w)&&("top"==N||"bottom"==N? -B=K-q.height:pa=G-q.width);do{a.R(4);y=a;q=pa;D=B;S=p=p=t=V=void 0;y.Y=[];S=0;L(y);t=y.g&&y.g.length;V=void 0;for(V=0;Vq?(S++,y.Y[S]=[],y.Y[S][0]=y.g[V],p=y.g[V].ve()):(p=p+y.$+y.g[V].ve(),y.Y[S].push(y.g[V])));else for(p=y.g[V].Ce(),V+=1,t=y.g.length;VD?(S++,y.Y[S]=[],y.Y[S][0]=y.g[V],p=y.g[V].Ce()):(p=p+y.$+y.g[V].Ce(), -y.Y[S].push(y.g[V])));JP(y.tn(),S+1);y.ja(!1);w.ma(null);q=w.Rb();"top"==N||"bottom"==N?B=K-(q?q.height:0):pa=G-(q?q.width:0)}while(W(a,4));h=isFinite(l)&&null!=a.lb?f.Yg(l):h;k=isFinite(m)&&null!=a.Fb?f.Fg(m):k;if(b){f=b.fb();e=b.qb();switch(a.I){case "left":case "right":switch(a.D){case "center":e+=(d-k)/2;break;case "right":case "bottom":e=b.Ra()-k}break;case "top":case "bottom":switch(a.D){case "center":f+=(c-h)/2;break;case "right":case "bottom":f=b.Wa()-h}}switch(a.I){case "right":f=b.Wa()- -h;break;case "bottom":e=b.Ra()-k}}else f=U(e.ha("left"),0),e=U(e.ha("top"),0);a.tb=new Q(f,e,h,k);u.ja(!1);w.ja(!1);x.ja(!1)}g.remove=function(){this.F&&this.F.parent(null)}; -g.aa=function(){if(!this.Kb())return this;this.F||(this.F=BC(),ML(this,this.F),O(this,this.F),this.Ka||(this.Ka=BC(),this.Ka.parent(this.F).zIndex(20),O(this,this.Ka)));W(this,8)&&(this.F.zIndex(this.zIndex()),this.R(8));var a=this.P(),b=a?a.Ha():null;W(this,2)&&(this.F.parent(a),this.R(2));(a=b&&!b.Fe())&&b.qf();W(this,1024)&&(this.X=!0,this.R(1024));if(W(this,I)){var c=this.iH(),d;if(r(this.Ga))d=this.Ga;else if(null!=this.j){for(var e=[],f=0;fa.nearestPointToCursor.distance&&(a.series.ba().select(a.nearestPointToCursor.index),e=a)});"single"==this.Ib.ha("displayMode")?cR(this.Ib,[e],a.originalEvent.clientX,a.originalEvent.clientY,e.series,this.sq()): -cR(this.Ib,b,a.originalEvent.clientX,a.originalEvent.clientY,e.series,this.sq())}}};g.sq=function(){return!1};g.qL=function(a){var b=this.Ib,c=a.clientX;a=a.clientY;var d=b.ha("displayMode");"single"==d&&(WQ(b,b.g,c,a),bR(b.g,c,a));if("union"==d)WQ(b,b.g,c,a),bR(b.g,c,a);else if("separated"==d)for(var e in b.D)if(d=b.D[e])dR(b,d,c,a),bR(d,c,a)}; -g.ht=function(a){!this.rg&&(this.rg=ca.anychart.ui.contextMenu(!!v(a)&&a.fromTheme))&&(O(this,this.rg),this.rg.itemsProvider(this.x3));return n(a)?(this.rg&&this.rg.setup(a),this):this.rg};g.x3=function(a){var b=a.event.target.Oi(),c=IF(a.event.domTarget),b=v(c)&&n(c.na)&&c.na.seriesType&&n(c.index)||b&&b.seriesType,c=Fl(mR);return a.chart.bL(Fl(c),a,b)};g.bL=function(a){return a}; -g.XI=function(){var a=[],b,c,d,e,f=this.Rd();for(d=0;dp.$e&&(d=m.na,e=p.index,f=hj(m.sc,p.index),h=p.$e)}}a={index:e,series:d};a[b]=c?!f:f;return a}; -g.hh=function(a,b,c,d,e){var f=this.Au(c,a,d),h=[],k;if(!d)for(var l=0;lu.qd.$e&&(w=u));m=w.na;f=oc(m.state,Hb);l=1==f.length&&f[0]==w.qd.index;q=!l||l&&(k||a.shiftKey);f=(k||a.shiftKey)&&qc(m.state.De(),Hb);!f&&(k||a.shiftKey)||l||m.pe();m.yh(w.qd.index, -a);f=oc(m.state,Hb);if(f.length)for(d.push({na:m,sc:[w.qd.index],qd:w.qd}),e=this.Rd(),h=0;hthis.Gl&&(k.__original_id__=h.length,k.__original_parent__=h.length+1,h.push("__original_id__","__original_parent__")); -f||m.push(h.join(e));for(l=0;l=this.Gl?(w=t[0],x=t[1]):(w=p.id,x=t[2]);for(f=0;fh&&f.b[m].Us&&(h=m,l=k=0),0<=h){var p=f.b[m].count;if(m==h&&(p-=l,l++,0==p)){a=0;break a}Gk(f,a,d,f.b[m],p,e)||(m=h-1,d[0]=k)}else{if(h=-1,!Gk(f,a,d,f.b[m],0,e)){a=0;break a}}else{h= --1;if(" "==f.b[m].text.charAt(0)){if(p=d[0],Fk(a,d),d[0]>p)continue}else if(a.indexOf(f.b[m].text,d[0])==d[0]){d[0]+=f.b[m].text.length;continue}a=0;break a}b:{void 0!=e.era&&void 0!=e.year&&0==e.era&&0f?f:a));A(c.setHours)&&(void 0==e.b&&(e.b=c.getHours()),void 0!=e.o&&0e.b&&(e.b+= -12),c.setHours(e.b));A(c.setMinutes)&&void 0!=e.D&&c.setMinutes(e.D);A(c.setSeconds)&&void 0!=e.F&&c.setSeconds(e.F);A(c.setMilliseconds)&&void 0!=e.I&&c.setMilliseconds(e.I);void 0!=e.j&&c.setTime(c.getTime()+6E4*(e.j-c.getTimezoneOffset()));e.J&&(a=new Date,a.setFullYear(a.getFullYear()-80),c.getTime()a)&&(a=-a);m="";if(v(e)&&r(e.factors)&&r(e.suffixes)){var p=1,q=e.factors;e=e.suffixes;for(var t=Math.min(q.length,e.length),u=0;u=p||1>=p&&a>.1*p){m=e[u];break}m?m=h+m:p=1;a/=p}f=f?a.toFixed(b):Ll(a,b).toString();a="";/(e+|e-)/.test(f)&&(b=f.split("e"),f=b[0],a="e"+b[1]);b=f.split(".");if(d){f=b[0];for(h=[];0<(e=f.substr(0,f.length-3)).length;)h.unshift(f.substr(-3)),f=e;f&&h.unshift(f);b[0]=h.join(d)}d=l?"-": -"";c=b.join(c)+a+m;l&&k&&(c=["(",c,")"].join(""),d="");return d+c}C("anychart.format.inputLocale",function(a){n(a)&&(z(a)||v(a)?xR=a:xR="default");return xR});C("anychart.format.inputBaseDate",NR);C("anychart.format.inputDateTimeFormat",function(a){n(a)&&(z(a)?yR=a:yR=null);return yR});C("anychart.format.outputLocale",UF);C("anychart.format.outputTimezone",function(a){n(a)&&(ER=F(a)||0);return ER});C("anychart.format.outputDateFormat",PR);C("anychart.format.outputTimeFormat",QR); -C("anychart.format.outputDateTimeFormat",OR);C("anychart.format.parseDateTime",RR); -C("anychart.format.parseNumber",function(a,b){var c=KR(b)||KR(xR)||KR("default"),d=1;if(z(a)){c.useBracketsForNegative&&"("==a.charAt(0)&&")"==a.charAt(a.length-1)&&(d=-1,a=a.substring(1,a.length-1));a=a.replace(c.decimalPoint,".");a=Ni(a,c.groupsSeparator);var e=c.scale;!0===e&&(e=wR);if(v(e)&&r(e.factors)&&r(e.suffixes)){a=Ni(a,c.scaleSuffixSeparator);var f=a.match(vR);if(!f)return NaN;var h=1;a=+f[1];if(f=f[2])for(var k=e.factors,e=e.suffixes,l=Math.min(k.length,e.length),m=0;mc||b>d)return 1;if(ac)return 1}else if(f){if(bd)return 1}return 0}g.position=function(a){return n(a)?(a=String(a),this.Aa.position!=a&&(this.Aa.position=a,this.B(I,8)),this):this.Aa.position};g.enabled=function(a){return n(a)?(this.Aa.uI!=a&&(this.Aa.uI=a,this.B(1,8|J)),this):this.Aa.uI};g.Gd=function(a){return n(a)?(this.Aa.Gd!=a&&(this.Aa.Gd=a,this.B(I,J)),this):this.Aa.Gd}; -g.lf=function(a){return n(a)?(this.Aa.lf!=a&&(this.Aa.lf=a,this.B(I,8)),this):this.Aa.lf};g.jf=function(a){return n(a)?(this.D!=a&&(this.D=a,this.B(I,J)),this):this.D};g.ic=function(a){return n(a)?(this.Y!=a&&(this.Y=a,this.B(I,8)),this):this.Y};g.clear=function(){this.mf();this.o&&(this.o.parent(null),this.o.xh());this.B(2)}; -g.mf=function(){this.Aa.background&&(dg(this.Aa.background),this.Aa.background=null);this.Aa.padding&&(dg(this.Aa.padding),this.Aa.padding=null);this.Aa={};this.b={};this.I={};this.g=null};g.Hb=function(a,b){n(a)&&this.U(a);null!=b&&(this.I=b);(n(a)||n(b))&&this.B(I|1,8|J);return this}; -function hS(a,b,c,d,e,f,h){var k=bS(a),l=fS(a)?fS(a):k,l=l?l:k,m=l!=k,p=k.Bh()||l.Bh()||a.Bh(),q=dS(a),t=a.jf(),q=eS(k,q.textFormatter,t,a.ra());a.O||(a.O=DC(),a.O.dg("aria-hidden","true"));p?a.O.htmlText(n(q)?String(q):""):a.O.text(n(q)?String(q):"");k.se(a.O,!0);m&&l.se(a.O,!1);a.se(a.O,!1);m&&(a.Db(a.I),a.se(a.O,!1));a=a.O;k=Math.round((e+d)/2);l=e;a.fontSize(e);if(0>=gS(a.jb().width,a.jb().height,b,c,f,h))return e;a.fontSize(k);for(m=e=gS(a.jb().width,a.jb().height,b,c,f,h);d!=l;){if(0>e)d=Math.min(k+ -1,l),k+=Math.floor((l-k)/2);else if(0=m*e)break}if(0==e)return k;do k+=m,a.fontSize(k),e=gS(a.jb().width,a.jb().height,b,c,f,h);while(0>m*e);0this.ka.Wa());return a};function mS(a){jS.call(this,a);this.W=[];this.o=null;this.Va=vO(["grid","hoverGrid","selectGrid"],2)}E(mS,jS);FI(mS,jJ);bJ.fibonacciFan=mS;g=mS.prototype;g.type="fibonacciFan";g.uE=function(a){if(n(a)){if(r(a)){for(var b=this.W.length=0;b=b||a>this.ka.Wa()&&0<=b);return a};g.Kf=function(a){mS.G.Kf.call(this,a);for(var b=0;b=this.D.length?c.timeLevel=this.W[b-this.D.length]:c.level=this.D[b]);return c}; -g.UD=function(){if(W(this,4096)){this.j||(this.j=[]);this.o||(this.o=[]);var a,b=this.D.length+this.W.length;for(a=this.j.length;a=oa&&xa||1<=oa&&Cb?G=pa:0oa&&(G=pa)),pa++;N<=nc&&y=oa&&xa||1<=oa&&Cb?(t=B,q.push(!0)):0oa?(t=B,q.push(!0)):q.push(!1))):q.push(!1),B++)}Jc||(q=!1)}p||(m=!1);this.F={labels:m,Xa:q};this.R(512)}l=this.F}v(l)?(p=l.labels,q=l.Xa):(p=!l,q=!l);D=(this.kb()?this.scale().vq():this.scale().wq()).get();m=l=0;for(G=D.length;lc)c=0;a.nb=c;a.vb=Math.round(b.left+b.width/2);a.sb=Math.round(b.top+b.height/2);var d=a.scale();if(d){var e=0;if(a.enabled()){IS(a);var f,h,k,l,m,p,q,t,u=e=NaN,w=NaN,x=NaN,y=NaN,B=NaN,D=NaN,G=NaN,K=NaN,N=NaN,S=NaN,V=NaN,aa=!0,oa=!0,pa=!0,xa=!0,Cb=d.Ia().get(),ma=Cb.length;m=KS(a);v(m)?(q=m.labels,t=m.Xa):(q=!m,t=!m);p=m=0;for(var ob=d.Za().get(),nc=ob.length,Jc,od,xb,me,tg,Gd=Sk(a.Tb()- -90);mw)w=k,D=m,S=od,pa=!0;if(isNaN(x)||l>x)x=l,G=m,V=od,xa=!0;od=xb;m++}else{xb=Sk(Gd+360*Jc);tg=xb*Math.PI/180;c=r(t)?t[p]:t;me=r(t)&&t[p]||la(t);c&&od!=Jc?(l=LS(a,p,!1),f=l.fb(),h=l.qb(),k=l.Wa(),l=l.Ra()):me&&a.Za().enabled()&&od!=Jc&&(f=a.Gf.stroke().thickness?a.Gf.stroke().thickness:1,k=a.Za().enabled()?a.Za().length():0,c=a.nb+k+f/2,f=k=Math.round(a.vb+ -c*Math.cos(tg)),h=l=Math.round(a.sb+c*Math.sin(tg)));if(isNaN(e)||fw)w=k,D=p,S=xb,pa=!1;if(isNaN(x)||l>x)x=l,G=p,V=xb,xa=!1;p++}ma=Cb=q=d=0;e=Math.round(e);u=Math.round(u);w=Math.round(w);x=Math.round(x);eK?Math.sin((K-90)*Math.PI/180):Math.cos((K-180)*Math.PI/180),d=Math.round((b.fb()-e)/K));uN?Math.sin((N-180)*Math.PI/180):Math.cos((N-270)*Math.PI/180),q=Math.round((b.qb()-u)/K));w>b.Wa()&&(K= -360>S?Math.sin((S-270)*Math.PI/180):Math.cos(S*Math.PI/180),Cb=Math.round((w-b.Wa())/K));x>b.Ra()&&(K=90>V?Math.sin(V*Math.PI/180):Math.cos((V-90)*Math.PI/180),ma=Math.round((x-b.Ra())/K));e=Math.max(d,q,Cb,ma);a.ap=NaN;if(0a.nb){u=a.nb=0;if(a.labels().enabled()){var u=NaN,cd,w=!0;e==d?(u=y,w=aa,cd=!0):e==q?(u=B,w=oa,cd=!1):e==Cb?(u=D,w=pa,cd=!0):e==ma&&(u=G,w=xa,cd=!1);y=LS(a,u,w);u=cd?y.width:y.height}f=a.Gf.stroke().thickness?a.Gf.stroke().thickness:1;a.ap=Math.min(b.width,b.height)/ -2-u-f}IS(a)}}b=a.nb+e;cd=2*b;a.tb=new JJ(a.vb-b,a.sb-b,cd,cd)}else a.tb=new JJ(a.vb-a.nb,a.sb-a.nb,2*a.nb,2*a.nb)}else a.nb=0,a.vb=0,a.sb=0,a.tb=new JJ(0,0,0,0);a.R(4)}}g.rc=function(){var a=this.ma();return a?this.enabled()?(JS(this),a=this.Gf.stroke().thickness?this.Gf.stroke().thickness:1,a=Math.floor(a/2),new Q(this.vb-this.nb+a,this.sb-this.nb+a,2*(this.nb-a),2*(this.nb-a))):a:new Q(0,0,0,0)}; -function MS(a,b){var c=b.width,d=b.height,e={x:0,y:0};0==a?e.x+=c/2:0a?(e.x+=c/2,e.y+=d/2):90==a?e.y+=d/2:90a?(e.y+=d/2,e.x-=c/2):180==a?e.x-=c/2:180a?(e.y-=d/2,e.x-=c/2):270==a?e.y-=d/2:270=u||1<=u?k=y:0u&&(k=y)),y++;t<=K&&e=u||1<=u?(l=f,d.push(!0)):0u?(l=f,d.push(!0)):d.push(!1))):d.push(!1),f++)}N||(d=!1)}}B||(c=!1);a.F={labels:c,Xa:d}; -a.R(512)}return a.F} -function LS(a,b,c){var d=c?a.qA:a.bG;if(n(d[b]))return d[b];var e=a.Gf.stroke().thickness?a.Gf.stroke().thickness:1,f=c?a.Ia():a.Za(),h=c?a.labels():a.Xa(),k=a.scale();c=(c?k.Ia():k.Za()).get()[b];var k=k.transform(c),k=Sk(a.Tb()-90+360*k),l=k*Math.PI/180,f=f.enabled()?isNaN(a.ap)?f.length():a.ap:0,f=a.nb+f+e/2,e=Math.round(a.vb+f*Math.cos(l)),f=Math.round(a.sb+f*Math.sin(l));a=new Ce(a,b,c);h=h.measure(a,{value:{x:e,y:f}},void 0,b);a=MS(k,h);h.left+=a.x;h.top+=a.y;return d[b]=h} -g.VN=function(a,b,c,d){var e=this.scale(),e=d?e.Ia().get():e.Za().get();d=d?this.labels():this.Xa();e=new Ce(this,a,e[a]);d.add(e,{value:{x:b,y:c}},a)};g.Kb=function(){if(!this.yd)return!1;if(!this.enabled())return W(this,1)&&(this.remove(),this.R(1),this.Ia().B(2),this.labels().B(2),this.B(386)),!1;this.R(1);return!0}; -g.aa=function(){var a=this.scale();if(!a)return xe(2),this;if(!this.Kb())return this;var b,c,d,e;L(this.labels());L(this.Xa());L(this.Ia());L(this.Za());W(this,I)&&(this.Gf.stroke(this.g),this.R(I));if(W(this,8)){var f=this.zIndex();this.Gf.zIndex(f);this.Ia().zIndex(f);this.Za().zIndex(f);this.labels().zIndex(f);this.Xa().zIndex(f);this.R(8)}W(this,2)&&(f=this.P(),this.Gf.parent(f),this.Ia().P(f),this.labels().P(f),this.Za().P(f),this.Xa().P(f),this.R(2));if(W(this,256)){var h=this.Ia();h.aa();b= -h.nt;var k=this.Za();k.aa();d=k.nt;this.R(256)}W(this,128)&&(c=this.labels(),c.P()||c.P(this.P()),c.ma(this.ma()),c.clear(),c=this.VN,e=this.Xa(),e.P()||e.P(this.P()),e.ma(this.ma()),e.clear(),e=this.VN,this.R(128));if(n(b)||n(c)||n(e)||n(d)){JS(this);var l,m,f=Sk(this.Tb()-90),p,q;this.Gf.ad(this.nb);this.Gf.Yl(this.vb);this.Gf.Zl(this.sb);var t,u,w,x,y,B,D,G,K,N,S=a.Ia().get(),V=S.length,aa=this.Ia().stroke().thickness?parseFloat(this.cb.stroke().thickness):1,oa=this.Ia().enabled()?isNaN(this.ap)? -this.Ia().length():this.ap:0,pa=this.Gf.stroke().thickness?this.Gf.stroke().thickness:1;if(a instanceof VJ){D=KS(this);v(D)?(K=D.labels,N=D.Xa):(K=!D,N=!D);var xa=a.Za().get(),Cb=this.dc.stroke().thickness?parseFloat(this.dc.stroke().thickness):1,ma=this.Za().enabled()?isNaN(this.ap)?this.Za().length():this.ap:0;G=D=0;for(var ob=xa.length;Df?"0"+f:""+f)+"-"+(10>k?"0"+k:""+k)+"-"+h;k=a.D.Yo();return{dataIntervalUnit:k.im().unit,dataIntervalUnitCount:k.im().count,dataIsGrouped:k.$x(),majorIntervalUnit:c,majorIntervalUnitCount:e,minorIntervalUnit:d,minorIntervalUnitCount:e,value:f,tickValue:b,max:a.ya.OI(),min:a.ya.QI(),scale:a.ya}} -g.ca=function(){dg(this.sa);this.sa=null;dg(this.Eb);this.Eb=null;dg(this.o);this.o=null;dg(this.j);this.ya=this.j=null;WM.G.ca.call(this)};g.N=function(){var a=WM.G.N.call(this);a.height=this.height();a.labels=this.labels().N();a.minorLabels=this.Xa().N();a.ticks=this.Ia().N();a.minorTicks=this.Za().N();a.background=this.eG().N();a.showHelperLabel=this.UK();a.overlapMode=this.fG();return a}; -g.da=function(a,b){WM.G.da.call(this,a,b);this.height(a.height);this.labels().U(a.labels);this.Xa().U(a.minorLabels);this.Ia(a.ticks);this.Za(a.minorTicks);this.eG(a.background);this.UK(a.showHelperLabel);this.fG(a.overlapMode)};WM.prototype.height=WM.prototype.height;WM.prototype.labels=WM.prototype.labels;WM.prototype.minorLabels=WM.prototype.Xa;WM.prototype.ticks=WM.prototype.Ia;WM.prototype.minorTicks=WM.prototype.Za;WM.prototype.background=WM.prototype.eG;WM.prototype.showHelperLabel=WM.prototype.UK; -WM.prototype.overlapMode=WM.prototype.fG;function QS(a,b){Z.call(this);this.bf=a;this.Bb=b;this.Dc=["value"];this.state=new tc(this);this.j=Kl(0,0,0,0);this.b=this.path=null;this.hb=I|8192}E(QS,Z);g=QS.prototype;g.za=Z.prototype.za|64;g.wa=Z.prototype.wa|I|8192;g.yx=function(){var a=this.ba(),b=[];if(a.select(this.Lf()))for(var c=0;c=p)&&A(this.$)&&(a=this.$.call({color:a},a)),null===a&&(a="none"),null===t?(t=a,a in this.o?this.o[a].clear():this.o[a]=this.ta.path().clear(),a=this.o[a]):(a!=t&&(t=a,a in this.o?this.o[a].clear():this.o[a]=this.ta.path().clear()), -a=this.o[a]),a.moveTo(e,m).lineTo(l,m).lineTo(l,c).lineTo(e,c).lineTo(e,m),b||this.b.moveTo(e,m).lineTo(l,m).lineTo(l,c).lineTo(e,c).lineTo(e,m),d?(c=m-f,m=c-h):(e=l+f,l=e+h)};g.bu=WS.prototype.en;g.Pw=function(a){for(var b in this.o)this.o[b].stroke("none").fill(b);a=this.td(!0,a);this.b.stroke("none").fill(a)};g.Ua=function(){return"led"};function YS(a,b){var c=a.ma(),d;RS(a)?(d=c.Ra(),c=-c.height):(d=c.left,c=c.width);return(b-d)/c} -g.fC=function(a){return n(a)?(this.$!=a&&(this.$=a,this.B(I,J)),this):this.$};g.ri=function(a){return n(a)?(a=null===a?a:MF(a),this.ga!=a&&(this.ga=a,this.B(I,J)),this):this.ga};g.size=function(a){return n(a)?(a=null===a?a:MF(a),this.Ga!=a&&(this.Ga=a,this.B(I,J)),this):this.Ga};g.count=function(a){return n(a)?(this.X!=a&&(this.X=a,this.B(I,J)),this):this.X};g.Td=function(a){return n(a)?(this.O!=a&&(this.O&&uI(this.O,this.wO,this),(this.O=a)&&P(this.O,this.wO,this),this.B(I|1048576,J)),this):this.O}; -g.wO=function(a){X(a,6)&&this.B(I|1048576,J)};g.N=function(){var a=WS.G.N.call(this);a.gap=this.ri();a.size=this.size();a.count=this.count();a.colorScale=this.Td().N();A(this.fC())?M(8,null,["Pointer dimmer"]):a.dimmer=this.fC();return a};g.da=function(a,b){WS.G.da.call(this,a,b);this.ri(a.gap);this.size(a.size);this.count(a.count);this.fC(a.dimmer);if("colorScale"in a){var c=a.colorScale,d=null;z(c)?d=dN(c,null):v(c)&&(d=dN(c.type,null))&&d.U(c);d&&this.Td(d)}}; -g.ca=function(){dg(this.F);this.F=null;XS(this);dg(this.O);this.O=null;WS.G.ca.call(this)};WS.prototype.dimmer=WS.prototype.fC;WS.prototype.gap=WS.prototype.ri;WS.prototype.size=WS.prototype.size;WS.prototype.count=WS.prototype.count;WS.prototype.colorScale=WS.prototype.Td;function ZS(a,b){QS.call(this,a,b)}E(ZS,QS);g=ZS.prototype;g.en=function(){var a=this.ma(),b=Og(this.type()),c=RS(this),d,e;c?(d=a.left+a.width/2,e=SS(this,this.Gn())):(d=SS(this,this.Gn()),e=a.top+a.height/2);a=c?a.width:a.height;this.j.left=d-a/2;this.j.top=e-a/2;this.j.width=a;this.j.height=a;this.path.clear();b.call(null,this.path,d,e,a/2);this.b.kd(this.path.N())};g.bu=ZS.prototype.en;g.Ua=function(){return"marker"}; -g.type=function(a){return n(a)?(this.O!=a&&(null===a||(a=Dd(a,"star5")),this.O=a,this.B(I,J)),this):this.O||this.Wl};function $S(a,b){return n(b)?(a.Wl=b,a):a.Wl}g.da=function(a,b){ZS.G.da.call(this,a,b);this.type(a.type)};g.N=function(){var a=ZS.G.N.call(this);this.O&&(a.type=this.type());return a};ZS.prototype.type=ZS.prototype.type;function aT(a,b){QS.call(this,a,b);this.Dc=["high","low"]}E(aT,VS);aT.prototype.Ua=function(){return"rangeBar"};aT.prototype.pG=function(){var a=this.bf.ba();a.select(this.Lf());a=a.get("low");return Ac(this.scale().transform(a),0,1)};aT.prototype.Gn=function(){var a=this.bf.ba();a.select(this.Lf());a=a.get("high");return Ac(this.scale().transform(a),0,1)};aT.prototype.yx=function(){var a=aT.G.yx.call(this);a.pop();return a};function bT(a,b){QS.call(this,a,b);this.Qa=this.Sa=this.wb=this.Va=this.Ga=this.ga=this.X=this.Ma=this.$=this.F=this.o=null}E(bT,QS);g=bT.prototype;g.Ua=function(){return"tank"};g.WI=function(a){a=.1488095238*U(this.width(),a);var b,c,d,e;b=c=d=e=0;RS(this)?c=e=a:b=d=a;return[b,c,d,e]};function cT(a){return 0>=a?0:a*Math.round(1E15*Math.sin(90*Math.PI/180))/1E15} -function dT(a,b,c){if(RS(a)){a=c.width/2;var d=.1488095238*c.width,e=c.left+c.width,f=c.top+c.height;b.moveTo(c.left,c.top).te(e,c.top,a,d,!1,!0).lineTo(e,f).te(c.left,f,a,d,!1,!0)}else a=.1488095238*c.height,d=c.height/2,e=c.top+c.height/2+cT(d),b.moveTo(c.left+(0>=a?0:a*Math.round(1E15*Math.cos(90*Math.PI/180))/1E15),e).te(c.left,c.top,a,d,!0,!0).lineTo(c.left+c.width,c.top).te(c.left+c.width,e,a,d,!1,!0)} -function eT(a,b,c){if(RS(a)){a=c.width/2;var d=.1488095238*c.width;b.moveTo(c.left,c.top);b.te(c.left,c.top-.1,a,d,!0,!1)}else{a=.1488095238*c.height;var d=c.height/2,e=c.top+c.height/2+cT(d);b.moveTo(c.left+c.width+1.5,c.top+1);b.te(c.left+c.width+1.5,e,a,d,!0,!1)}}function fT(a,b,c){if(RS(a))b.moveTo(c.left,c.top),b.te(c.left,c.top-.1,c.width/2,.1488095238*c.width,!0,!1);else{a=.1488095238*c.height;var d=c.height/2;b.moveTo(c.left+c.width-1,c.top);b.te(c.left+c.width-1+.1,c.top,a,d,!0,!1)}} -g.WH=function(){this.o||(this.o=this.ta.cf());this.F||(this.F=this.ta.cf());this.scale().Fd()?(this.F.zIndex(0),this.o.zIndex(1)):(this.o.zIndex(0),this.F.zIndex(1));this.$?this.$.clear():this.$=this.o.path().zIndex(0);this.Ma?this.Ma.clear():this.Ma=this.o.path().zIndex(1);this.X?this.X.clear():this.X=this.o.path().zIndex(2);this.ga?this.ga.clear():this.ga=this.o.path().zIndex(3);this.Ga?this.Ga.clear():this.Ga=this.o.path().zIndex(4);this.Va?this.Va.clear():this.Va=this.F.path().zIndex(0);this.wb? -this.wb.clear():this.wb=this.F.path().zIndex(1);this.Sa?this.Sa.clear():this.Sa=this.F.path().zIndex(2);this.Qa?this.Qa.clear():this.Qa=this.F.path().zIndex(3);this.b?this.b.clear():this.b=this.ta.path();this.wh(this.ta)}; -g.en=function(){var a=RS(this),b=this.ma(),c=this.scale(),d=c.Fd(),e=SS(this,this.Gn()),f=SS(this,c.transform(c.rk())),c=SS(this,c.transform(c.Ym()));a?d?(this.O=Kl(b.left,f,b.width,e-f),this.Ja=Kl(b.left,e,b.width,c-e)):(this.O=Kl(b.left,e,b.width,f-e),this.Ja=Kl(b.left,c,b.width,e-c)):d?(this.O=Kl(e,b.top,f-e,b.height),this.Ja=Kl(c,b.top,e-c,b.height)):(this.O=Kl(f,b.top,e-f,b.height),this.Ja=Kl(e,b.top,c-e,b.height));this.j=this.O;dT(this,this.$,this.O);eT(this,this.Ma,this.O);a=this.X;b=this.O; -RS(this)?(d=b.width/2,e=.1488095238*b.width,f=b.left+b.width,c=b.top+b.height,a.moveTo(b.left,c-1),a.te(f,c,d,e,!1,!1)):(d=.1488095238*b.height,e=b.height/2,f=b.top+b.height/2+cT(e),a.moveTo(b.left+1,b.top),a.te(b.left,f,d,e,!1,!1));dT(this,this.ga,this.O);fT(this,this.Ga,this.O);dT(this,this.Va,this.Ja);eT(this,this.wb,this.Ja);dT(this,this.Sa,this.Ja);fT(this,this.Qa,this.Ja);this.b.kd(this.$.N())};g.bu=bT.prototype.en; -var gT={thickness:1,opacity:.3,color:"#FFFFFF"},hT={angle:0,keys:[{color:"#FFFFFF",offset:"0",opacity:0},{color:"#FFFFFF",offset:"0.2",opacity:Number(160/255)},{color:"#FFFFFF",offset:"0.25",opacity:Number(140/255)},{color:"#FFFFFF",offset:"0.3",opacity:Number(30/255)},{color:"#FFFFFF",offset:"0.35",opacity:0},{color:"#FFFFFF",offset:"1",opacity:0}]},iT={angle:0,keys:[{color:"#FFFFFF",offset:"0",opacity:0},{color:"#FFFFFF",offset:"0.2",opacity:.3*Number(160/255)},{color:"#FFFFFF",offset:"0.25",opacity:.3* -Number(140/255)},{color:"#FFFFFF",offset:"0.3",opacity:.3*Number(30/255)},{color:"#FFFFFF",offset:"0.35",opacity:0},{color:"#FFFFFF",offset:"1",opacity:0}]}; -bT.prototype.Pw=function(a){var b=RS(this),c=b?0:90,d=this.Tc(!0,a),e=PE(d),d=OE(d),d={angle:c,keys:[{color:e,offset:"0",opacity:1},{color:e,offset:"0.05",opacity:1},{color:d,offset:"0.85",opacity:1},{color:d,offset:"0.85",opacity:1},{color:e,offset:"1",opacity:1}]};this.$.fill(d);this.$.stroke("none");this.Ma.fill("none");this.Ma.stroke(gT);hT.angle=c;this.ga.fill(hT);this.ga.stroke("none");d={angle:b?50:140,keys:[{color:"#FFFFFF",offset:"0",opacity:.1},{color:e,offset:"1",opacity:1}]};this.Ga.fill(d); -this.Ga.stroke("none");this.X.fill("none");this.X.stroke(gT);e=PE("#FFFFFF");d=OE("#FFFFFF");d={angle:-c,keys:[{color:e,offset:"0",opacity:.3},{color:e,offset:"0.05",opacity:.3},{color:d,offset:"0.85",opacity:.3},{color:d,offset:"0.85",opacity:.3},{color:e,offset:"1",opacity:.3}]};this.Va.fill(d);this.Va.stroke("none");this.wb.fill("none");this.wb.stroke(gT);iT.angle=c;this.Sa.fill(iT);this.Sa.stroke("none");d={angle:b?50:140,keys:[{color:"#FFFFFF",offset:"0",opacity:.03},{color:e,offset:"1",opacity:.3}]}; -this.Qa.fill(d);this.Qa.stroke("none");a=this.td(!0,a);this.b.fill(a);this.b.stroke("none")};bT.prototype.ca=function(){this.Qa=this.Sa=this.wb=this.Va=this.Ga=this.ga=this.X=this.Ma=this.$=null;eg(this.o,this.F);this.F=this.o=null;bT.G.ca.call(this)};function jT(a,b){QS.call(this,a,b)}E(jT,QS);g=jT.prototype;g.en=function(){var a=this.ma(),b=this.scale().Fd(),c=a.left,d=a.left+a.width,e=SS(this,this.Gn()),a=b?a.top-this.o:a.top+a.height+this.o;this.j.left=c;this.j.top=b?a:e;this.j.width=Math.abs(d-c);this.j.height=Math.abs(a-e);this.path.clear().moveTo(c,e).lineTo(d,e).lineTo(d,a).te(c,a,this.$,this.$,!0,!b).lineTo(c,e).close();this.b.kd(this.path.N())}; -g.bu=function(){var a=this.ma(),b=this.scale().Fd(),c=a.top,d=a.top+a.height,e=SS(this,this.Gn()),a=b?a.left+a.width+this.o:a.left-this.o;this.j.left=b?e:a;this.j.top=c;this.j.width=Math.abs(a-e);this.j.height=Math.abs(d-c);this.path.clear().moveTo(e,c).lineTo(e,d).lineTo(a,d).te(a,c,this.$,this.$,!0,!b).lineTo(e,c).close();this.b.kd(this.path.N())};g.Ua=function(){return"thermometer"}; -g.WI=function(a,b){var c=U(this.width(),a),d=U(this.HB(),c),e=U(this.GB(),b);dK.tl.length&&!K.Ug.length){V=String(K.Zf[0].get("id"));aa=this.g[V];var nc=aa.Mi;for(G=0;GN.zi.length&&!N.Zf.length){oa=String(N.Ug[0].get("id"));pa=this.g[oa];var xb=pa.hk;for(G=0;GSi&&(Ff.length=Si);Ff.push(fg);fg==this.fa&&this.b.push(Ff.slice(0));var Oh,Gf;for(Oh=fg.Zf.length;Oh--;){var vc=String(fg.Zf[Oh].get("id")),Ti=this.g[vc].Mi;Gf=Si+1;Ti.level=Math.max(Gf,Ti.level);this.$a=Math.max(Ti.level,this.$a);Ue.push(Ti)}for(Oh=fg.zi.length;Oh--;){var sm=fg.zi[Oh];Gf=Si+1;sm.level=Math.max(Gf,sm.level);this.$a=Math.max(sm.level,this.$a);Ue.push(sm)}}for(var In in this.W){var Uf=this.W[In];if(!Uf.uo){var Bj=Uf.Hd,Ve=Uf.wd,Qt=Ve.level-Bj.level;if(1Jn&&(Jn=0);kc(Ve.jj,Jn,1,Cj);delete this.W[Uf.id]}}}this.Qb.length=0;this.Ba.Ni=this.fa.Ni=!0;for(var tm=!1,nl=yT(this,tm),lr=[[this.Ba,this.fa]],xk;xk=zT(nl,lr);){var zp=lr,Ap=xk[1],Ph=void 0,Ui=nl[xk[0]],ol=null,Dj=void 0;for(Dj in Ui.jj)Ph=Ui.jj[Dj].Hd,Ph.Ni&&(!ol||ol.level>Ph.level)&&(ol=Ph);for(var mr=[ol],Ph=ol;Ph;){for(var Kn= -Ph.jj,Ej=null,Dj=0;Djp.indexOf(t)){q=!1;break}}if(q&&(l++,0>m&&(m=d),l>=h))break}if(!l)throw"non planar!";l=this.nc?a.width:a.height;d=U(this.Ld().vd().size(),p);f=U(this.vd().size(),p);var q=Math.max(f,d);f=a.left+q/2;for(d=0;dc.tq){var f=a.Pb(b,c,d),h=eS(a.sa,a.sa.Gd(),f,++a.I);if(a.b){if(a.b.text==h)return;PT(a,b)}a.b={index:a.I,text:h,start:b,p8:f,W$:c,Z$:d,top:e}}else PT(a,b)}function PT(a,b){a.b&&(a.b.end=b,a.D.push(a.b),a.b=null)} -function QT(a,b){var c=b.start,d=b.end,e=a.ha("stroke"),f=a.Ta.Fa(),h=vg(e),k=vg(a.Ta.zF().ha("verticalStroke")),l=k/2+h/2,c=Ac(wg(f.wk(c)+a.$.left,k)+l,a.$.left,a.$.Wa()),d=Ac(wg(f.wk(d)+a.$.left,k)-l,a.$.left,a.$.Wa()),f=wg(b.top+h/2,h),k=wg(b.top+a.ha("height")-h/2,h),l=cD(a.g);l.fk(c).gk(f).ek(d-c).ck(k-f).fill(a.ha("fill")).stroke(e);if(e=a.ha("hatchFill"))l=cD(a.g),l.fk(c+h/2).gk(f+h/2).ek(d-c-h).ck(k-f-h).fill(e).stroke(null);h=b.index;e=b.p8;c=new Q(c,f,d-c,k-f);d=a.labels();e?(f=d.Te(h), -k={value:{x:c.left,y:c.top}},f?(f.jf(e),f.ic(k)):f=d.add(e,k,h),f.mf(),f.Hb(void 0),f.width(c.width),f.height(c.height),f.clip(c),f.aa()):d.clear(h)} -g.aa=function(){if(this.Kb()){W(this,4)&&(this.$=this.ma(),this.Qd.shape(this.$),this.R(4));if(W(this,128)){for(var a=0;ab.Wa()?(c=k,k.width>=b.width?c.left=b.left:c.left=b.Wa()-k.width,b=c.left+c.width/2,c=c.top+c.height/2,h.ic({value:{x:b,y:c}}),h.Aa.width=k.width):"center"!=l&&(b=c.left+c.width/2,c=c.top+c.height/2,h.ic({value:{x:b,y:c}}));h.clip(h.g3)}}ZR(d);d.aa()}; -g.aa=function(){if(this.Kb()){var a=!1,b=!1,c,d,e,f,h,k,l,m;this.b||(this.b=BC(),this.Qd=vC(),this.b.clip(this.Qd),this.J=this.b.cf(),this.O=[],this.X=[],this.Ka=[],this.la=[],this.Y=this.b.cf(),this.sa=[],this.D=[],this.Ma=[],this.Ba=[],this.fa=[],this.ea=[]);W(this,2)&&(this.b.parent(this.P()),this.R(2));W(this,8)&&(this.b.zIndex(this.zIndex()),this.o.zIndex(0),this.J.zIndex(1),this.Y.zIndex(2),this.R(8));W(this,4)&&(this.Ea=this.Rb(),XF(this.Ea),this.Qd.shape(this.Ea),this.B(1472),this.R(4));if(W(this, -512)){c=this.F.length;d=this.O.length;this.ea.length=0;this.fa.length=0;this.Ma.length=0;this.Ba.length=0;var p=this.D.length=0,q=0;c=Math.max(c,d);for(m=0;mthis.NA&&(this.NA=c),cb;b=Math.abs(b);var d=(b-a.DG)/(a.MO-a.DG);if(isNaN(d)||!isFinite(d))d=.5;b=a.EG+d*(a.NO-a.EG);return c?-b:b} -function lg(a){return qa(a.Sr())+"_"+qa(a.Pa())}g.KF=function(){return this.ta};g.Zb=function(){return this.Ca};g.ba=function(){return this.kc||this.Nb()};g.Nb=function(){return this.kc=this.Sl()};g.Sr=function(){return this.Ca.Fa()};g.Pa=function(a){return n(a)?(a instanceof Bc||(a=null),this.mb!=a&&(this.mb&&uI(this.mb,this.cp,this),(this.mb=a)&&P(this.mb,this.cp,this),this.B(1024,4|J)),this):this.mb||this.Qa.Pa()};g.cp=function(a){var b=0;X(a,4)&&(b|=4);X(a,2)?(b|=J,this.B(1024,b)):this.va(b)}; -g.l_=function(a,b){return WJ(this,this.Sr().transform(a,b),!0)};g.OO=function(a,b){return WJ(this,this.Pa().transform(a,b),!1)};g.error=function(a){XJ(this)||M(12,void 0,[this.Fc()]);this.Ja||(this.Ja=new TJ(this),P(this.Ja,this.I7,this));return n(a)?(this.Ja.U(a),this):this.Ja};g.I7=function(a){var b=0;X(a,J)&&(b|=J);X(a,4)&&(b|=4);this.B(I,b)};g.km=function(a){return this.error().km(a)}; -g.g_=function(){var a=this.error(),b=a.b.ba(),c=b.get("xError")||a.ev(),d=b.get("xLowerError")||a.fv(),e=b.get("xUpperError")||a.hv(),f=b.get("valueError")||a.Zu(),h=b.get("valueLowerError")||a.$u(),a=b.get("valueUpperError")||a.av(),f=n(h)||n(a)||KF(f)||!OF(f);if(n(d)||n(e)||KF(c)||!OF(c)||f)switch(c=this.error(),d=c.mode(),e=this.check(4096),d){case "x":c.aa(!0,e);break;case "value":c.aa(!1,e);break;case "both":c.aa(!0,e),c.aa(!1,e)}}; -g.clip=function(a){return n(a)?(null===a&&(a=!1),this.Qd!=a&&(this.Qd=a,this.B(4096,J)),this):this.Qd};g.rw=function(a){this.I||(this.I=new kO,P(this.I,this.k_,this));return n(a)?(this.I.U(a),this):this.I};g.k_=function(a){var b=64,c=!1;X(a,8)&&(b|=8,c=!0);this.va(b,c)}; -function eU(a,b){var c=a.rw();c.R(c.wa);var d=eN.prototype.N.call(c);n(c.Lt())&&(d.iconTextSpacing=c.Lt());n(c.text())&&(d.text=c.text());n(c.It())&&(d.iconEnabled=c.It());n(c.Mt())&&(d.iconType=c.Mt());n(c.Kt())&&(d.iconSize=c.Kt());n(c.lk())&&(d.iconFill=c.lk());n(c.nk())&&(d.iconStroke=c.nk());n(c.mk())&&(d.iconHatchFill=c.mk());n(c.Jt())&&(d.iconMarkerType=c.Jt());n(c.kr())&&(d.iconMarkerFill=c.kr());n(c.lr())&&(d.iconMarkerStroke=c.lr());n(c.disabled())&&(d.disabled=c.disabled());var c=a.ha("color"), -e=a.IO(),f=d.text||b;z(f)&&(f=FJ(GJ.qc(),f));d.text=A(f)?f.call(e,e):a.WR(e);d.disabled="disabled"in d?!!d.disabled:!a.enabled();d.meta=a.K();"marker"!=d.iconType||a.check(8192)||(d.iconFill=a.La.fill(),d.iconStroke=a.La.stroke());d.iconType=a.CG(d.iconType,e);d.iconEnabled="iconEnabled"in d?!!d.iconEnabled:!0;d.iconStroke=a.wx(d.iconStroke,2,c,e);d.iconFill=a.wx(d.iconFill,1,c,e);d.iconHatchFill=a.wx(d.iconHatchFill,3,$T(a),e);a.Eg()&&a.Oa().enabled()?(d.iconMarkerType=d.iconMarkerType||a.La.type(), -d.iconMarkerFill=d.iconMarkerFill||a.La.fill(),d.iconMarkerStroke=d.iconMarkerStroke||a.La.stroke()):(d.iconMarkerType=null,d.iconMarkerFill=null,d.iconMarkerStroke=null);return d}g.CG=function(a){"marker"==a?(this.check(8192)?a=this.ha("type"):this.Eg()?a=this.Oa().type():a="square","line"==a&&(a="vline")):A(a)||(a=Md(a));return a}; -g.wx=function(a,b,c){if(a)A(a)?(b={sourceColor:c},a=a.call(b,b)):a=T(a);else{if(2==b)a="stroke";else if(3==b){if(this.check(8))return null;a="hatchFill"}else this.check(8)?(a="stroke",b=2):a="fill";a=UE([a],b)(this,$b,!0)}return a};g.WR=function(){return this.name()};g.zb=function(a){if(!this.Ib&&(this.Ib=new NQ(0),this.Ca.KU())){var b=this.Ca,c=b.zb();this.Ib.parent(c);this.Ib.Ca(b)}return n(a)?(this.Ib.U(a),this):this.Ib}; -function UE(a,b){if(!a)return fU;var c=b+"|"+a.join("|"),d=YT[c];if(!d){switch(b){case 2:d=SI;break;case 3:d=UI;break;default:case 1:d=TI}YT[c]=d=wa(gU,a,d,3==b)}return d}function gU(a,b,c,d,e,f){var h;e=rc(e);if(e!=$b&&1e&&(e=k.height);k.width>d&&(d=k.width)}this.kb()||(f=d,d=e,e=f);var f=this.F.length,m= -null==this.pd,p=null==this.lb,q=null!=this.pd?U(this.length(),b):d*f,t=null!=this.lb?U(this.width(),c):e,d=e=0,u=!1,w=!1,h=this.title();h.enabled()&&(h.P()||h.P(this.P()),L(h),h.ma(a),HQ(h,this.Tl()),this.kb()?(e=LQ(h).height,d=LQ(h).width):(e=LQ(h).width,d=LQ(h).height),u=h.ha("orientation")||HQ(h),"top"==u||"bottom"==u?(u=this.kb(),w=!this.kb()):(u=!this.kb(),w=this.kb()),h.ja(!1));var x,y,B=this.padding(),l=U(B.ha("top"),a.height),k=U(B.ha("right"),a.width),D=U(B.ha("bottom"),a.height),B=U(B.ha("left"), -a.width),G=this.margin(),K=U(G.ha("top"),a.height),N=U(G.ha("right"),a.width),S=U(G.ha("bottom"),a.height),G=U(G.ha("left"),a.width);m&&!p?(m=t-(u?e:0),q=Math.min(w?m*f+d:Math.max(m*f,d),b),this.b=(q-(w?d:0))/f,this.j=m):!m&&p?(m=(q-(w?d:0))/f,t=Math.min(u?m+e:Math.max(m,e),c),this.b=m,this.j=t-(u?e:0)):m&&p?(c=Math.min(q,b-(w?d:0))/f,q=Math.max(t,w?e:0),m=Math.max(c,q)*f+D+l+S+K>b?(b-(D+l+S+K)-(w?d:0))/f:Math.max(c,q),q=w?m*f+d:Math.max(m*f,d),t=u?m+e:Math.max(m,e),this.j=this.b=m):(this.b=(q-(w? -d:0))/f,this.j=t-(u?e:0));c=this.XA();var V;this.kb()?(q+k+B+N+G>b&&(q=b-(k+B+N+G)),"left"==c||"top"==c?V=B+G:"right"==c||"bottom"==c?V=b-q-k-N:"center"==c&&(V=(b-q)/2)):(q+D+l+S+K>b&&(q=b-(D+l+S+K)),"left"==c||"top"==c?V=l+K:"right"==c||"bottom"==c?V=b-q-D-S:"center"==c&&(V=(b-q)/2));var aa,oa;switch(this.Tl()){case "top":y=a.top+l+K;x=a.left+V;oa=t;aa=q;this.J=new Q(x,y,this.b,this.j);break;case "right":y=a.top+V;x=a.left+a.width-t-k-N;oa=q;aa=t;this.J=new Q(x,y,this.j,this.b);break;case "bottom":y= -a.top+a.height-t-D-S;x=a.left+V;oa=t;aa=q;this.J=new Q(x,y,this.b,this.j);break;case "left":y=a.top+V,x=a.left+B+G,oa=q,aa=t,this.J=new Q(x,y,this.j,this.b)}if(h.enabled())switch(u=h.ha("orientation")||HQ(h),u){case "top":this.J.left=x;this.J.top=y+(this.kb()?e:d);break;case "left":this.J.left=x+(this.kb()?d:e),this.J.top=y}this.Cj=new Q(Math.round(x),Math.round(y),Math.round(aa),Math.round(oa));this.O=new Q(this.Cj.left-B,this.Cj.top-l,this.Cj.width+B+k,this.Cj.height+l+D);this.$=new Q(this.O.left- -G,this.O.top-K,this.O.width+G+N,this.O.height+K+S)}else this.$=new Q(0,0,0,0);this.B(this.Sd);this.R(4)}return this.$};function qU(a,b){if(null===a.b||null===a.j)return{value:{x:0,y:0}};var c,d,e=a.J;switch(a.Tl()){case "top":c=e.left+a.b*b+a.b/2;d=e.top+a.j;break;case "right":c=e.left;d=e.top+a.b*b+a.b/2;break;case "bottom":c=e.left+a.b*b+a.b/2;d=e.top;break;case "left":c=e.left+a.j,d=e.top+a.b*b+a.b/2}return{value:{x:c,y:d}}} -g.ki=function(a,b,c){var d=a.ra(),e=a.re();e.Nb().select(d);c=n(c)?c:hc(e.state,d);a.state=c;var f=e.ba(),h=!!(c&Hb),k=!h&&!!(c&H),l=e.labels();a=f.get("label");h?(h=f.get("selectLabel"),f=e.Ub()):k?(h=f.get("hoverLabel"),f=e.Gb()):(h=null,f=e.labels());k=e.Pb(!0);k.Cm=e.Ue(d);b.jf(k);bS(b,l);fS(b,f);b.Hb(a,h);ZR(l);d=!!(c&Hb);a=!d&&!!(c&H);d=d?this.Ub():a?this.Gb():this.labels();a=aS(this.labels());a.enabled=this.labels().enabled();l=aS(d);l.enabled=ha(d.enabled())?a.enabled:d.enabled();b.Hb(a,li(b.I, -l));d=qU(this,b.ra());d.connectorPoint=e.wC();b.ic(d);this.kb()?b.width(this.b).height(this.j):b.width(this.j).height(this.b);switch(this.Tl()){case "top":b.anchor("centerbottom");break;case "right":b.anchor("leftcenter");break;case "bottom":b.anchor("centertop");break;case "left":b.anchor("rightcenter")}d=e.Tc(!0,c);e=e.Nc(!0,c);b.$A().enabled(!0).fill(d).stroke(e);return b}; -function rU(a){var b=a.labels();b.P()||b.P(a.P());b.ma(a.ma());b.clear();for(var c=0,d=a.F.length;cc?d+c+270:d+c+90:d;this.j.x(this.F).y(this.J)};tU.prototype.N=function(){var a=tU.G.N.call(this);n(this.Ii())&&(a.autoRotate=this.Ii());return a};tU.prototype.da=function(a,b){tU.G.da.call(this,a,b);this.Ii(a.autoRotate)};sU.prototype.autoRotate=sU.prototype.Ii;tU.prototype.autoRotate=tU.prototype.Ii;function uU(a,b){Z.call(this);this.b=[];this.g=Fb(b,4);this.j=Fb(a,5);this.o=0;this.I=[];this.F=[];this.D=[];this.O=[];this.J=[];this.Aa={fill:"none",cellBorder:"black",topPadding:0,rightPadding:0,bottomPadding:0,leftPadding:0,hAlign:"start",vAlign:"top",enabled:!0};this.Aa.fill="#fff"}E(uU,lO);g=uU.prototype;g.za=lO.prototype.za;g.wa=lO.prototype.wa|192|aF|512|Ub|2048;g.Ih=null;g.Ul=null;g.fB=null;g.Sn=null;g.fo=null;g.Vl=null;g.Yt=null;g.oP=null;g.pP=null;g.rP=null;g.tj=null;g.fj=null;g.Fm=null; -g.Em=null;g.am=null;g.$l=null;g.gB=null;g.eC=null;g.dC=null;g.bC=null;g.aC=null;g.$B=null;g.fU=function(a){return n(a)?(a=Fb(a,this.j),this.j!=a&&(isNaN(this.o)&&(this.o=this.g),this.j=a,this.B(2176,J)),this):this.j};g.DQ=function(a){return n(a)?(a=Fb(a,this.g),this.g!=a&&(isNaN(this.o)&&(this.o=this.g),this.g=a,this.B(2176,J)),this):this.g};g.Gt=function(a,b){vU(this);a=Fb(a,NaN,!0);b=Fb(b,NaN,!0);return this.b[a*this.g+b]||null}; -g.mn=function(a){vU(this);a=Fb(a,NaN,!0);if(isNaN(a)||a>=this.j)return null;this.tj||(this.tj=[]);a in this.tj||(this.tj[a]=new zJ(this,a));return this.tj[a]};g.qP=function(a){vU(this);a=Fb(a,NaN,!0);if(isNaN(a)||a>=this.g)return null;this.fj||(this.fj=[]);a in this.fj||(this.fj[a]=new vJ(this,a));return this.fj[a]};g.E8=function(a){return n(a)?(this.gB!=a&&(this.gB=a,this.B(64,J)),this):this.gB};g.H8=function(a){return n(a)?(this.eC!=a&&(this.eC=a,this.B(64,J)),this):this.eC}; -g.G8=function(a){return n(a)?(this.dC!=a&&(this.dC=a,this.B(64,J)),this):this.dC};g.s3=function(a){return n(a)?(this.bC!=a&&(this.bC=a,this.B(64,J)),this):this.bC};g.r3=function(a){return n(a)?(this.aC!=a&&(this.aC=a,this.B(64,J)),this):this.aC};g.p3=function(a){return n(a)?(this.$B!=a&&(this.$B=a,this.B(64,J)),this):this.$B}; -g.n1=function(a,b,c,d,e){if(n(a)){null===a||(a=Pc.apply(null,arguments));L(this);this.xa("border",a,aF);for(var f=0;4>f;f++)this.xa($E[f],null,aF);this.ja(!0);return this}return this.oP||(this.oP=new YE(this,!1))}; -g.w3=function(a,b){var c,d,e,f;if(n(a)){d=!r(a);var h=0,k;if(!d)for(k=a.length,c=0;ch&&(h=f.length);else{d=!0;break}if(!d&&k&&h){L(this);this.fU(k);this.DQ(h);if(b)for(c=0;ce;)for(d=Math.min(this.g, -f+k.gr());d-- >f;)this.b[c*this.g+d].b=h;k.b=NaN}}this.R(128);this.B(aF|512|Ub)}if(W(this,512)){this.Vl||(this.Vl=[]);if(this.fo)for(var l in this.fo)c=this.fo[l],c.clear(),c.parent(null),this.Vl.push(c),delete this.fo[l];else this.fo={};for(l=0;lf;f++)this.xa(ZE[f],null,aF);this.ja(!0);return this}return this.pP||(this.pP=new YE(this,!0))}; -g.cellPadding=function(a,b,c,d){if(n(a)){var e,f,h,k,l;r(a)?(l=a,a=l[0],b=l[1],c=l[2],d=l[3],l=l.length):l=arguments.length;0==l?k=h=f=e=0:v(a)?(e=Tb(a.top)||0,f=Tb(a.right)||0,h=Tb(a.bottom)||0,k=Tb(a.left)||0):1==l?k=h=f=e=Tb(a)||0:2==l?(h=e=Tb(a)||0,k=f=Tb(b)||0):3==l?(e=Tb(a)||0,k=f=Tb(b)||0,h=Tb(c)||0):4<=l&&(e=Tb(a)||0,f=Tb(b)||0,h=Tb(c)||0,k=Tb(d)||0);L(this);this.xa(Sb[0],e,Ub);this.xa(Sb[1],f,Ub);this.xa(Sb[2],h,Ub);this.xa(Sb[3],k,Ub);this.ja(!0);return this}return this.rP||(this.rP=new Rb(this))}; -function vU(a){if(W(a,2048)){var b=[],c=a.o?a.b.length/a.o:0,d,e,f=Math.min(c,a.j),h=Math.min(a.o,a.g);for(d=0;db){w-=B[m];D++;delete S[m];d=!0;break}}else{if(m in y&&y[m]>b){w+=S[m]=y[m];D--;d=!0;break}if(m in B&&B[m]y[m]&&(y[m]=G)}else for(m in u)G=F(N.values[m]),Gy[m]&&(y[m]=G);for(m=0;m<=a.j;m++)G=F(N.g[m]), -GD[m]&&(D[m]=G);N=N.next}if(w)for(m=0;md)if(d=~d,"exactOrNext"==c)d=d=FU)this.j=-1,this.b.length=0,GU(this,a,b,this.D,!1);else{if(this.g&2){this.j=-1;var c=a.length?a[0]:null;if(c){var d=this.b.length?this.b[0]:null,e=c.key;if(d&&!(d.key>=e)){for(var f=0,h;(h=d.next)&&h.keya.D){d&&(c|=1);if(a.D){for(var c=c|2,e=new KU(a.b,null,!0),f=0,d=e.next();d&&d.j;)f++,d=e.next();kc(a.b,0,f);if(d=a.b[0])d.b=null}LU(a,new KU(null,a.g,b))}else e=new KU(a.b,a.g,b),a.b=[],LU(a,e),c=FU;a.g.length=0;a.o=a.NT;a.j=-1;a.D=0;DU(a);ZK(a.F,c,!0)}}g=HU.prototype; -g.remove=function(a,b){for(var c=new KU(this.b,this.g,JU(this),a,b),d;d=c.next();)d.j=!0;this.D=2;this.J||IU(this);return this};function MU(a,b){b=Fb(b);for(var c=new KU(a.b,a.g,JU(a)),d=NaN,e;(e=c.next())&&0a.key?(this.o=1==b?this.MT:this.AK,this.g.push(a)):this.g[b-1]=a};g.MT=function(a){var b=this.g.length,c=this.g[b-1];c.key>a.key?this.g.push(a):c.keya?~a:a];c?(this.j=this.W6,this.b=isNaN(d)?0:ld(this.o,bd,d),0>this.b&&(this.b=~this.b)):(this.j=this.Y6,this.b=isNaN(d)?this.o.length-1:ld(this.o,dd,d),0>this.b&&(this.b=~this.b-1))}g=KU.prototype;g.Du=function(){return null}; -g.W6=function(){var a=this.g,b=this.o[this.b];if(a){if(b){if(0>ad(a,b))return this.g=this.g.next,a;this.b++;return b}this.g=this.g.next;this.j=this.gT;return a}if(b)return this.b++,this.j=this.U6,b;this.next=this.Du;return null};g.Y6=function(){var a=this.g,b=this.o[this.b];if(a){if(b){if(0>ad(a,b))return this.g=this.g.next,a;this.b--;return b}this.g=this.g.next;this.j=this.gT;return a}if(b)return this.b--,this.j=this.V6,b;this.next=this.Du;return null}; -g.gT=function(){var a=this.g;if(a)return this.g=this.g.next,a;this.next=this.Du;return null};g.U6=function(){var a=this.o[this.b++];if(a)return a;this.next=this.Du;return null};g.V6=function(){var a=this.o[this.b--];if(a)return a;this.next=this.Du;return null};g.i3=function(){var a=this.j();return null===a||a.key>this.F?(this.next=this.Du,null):a};g.m7=function(){return this.j()};function NU(a,b,c,d,e){pq.call(this);this.j=new HU(this,a,b,c,d,e);this.b={};this.J={};this.o={};this.O=0;this.D=[];this.F=[];this.g=[];this.I=[]}E(NU,tI);g=NU.prototype;g.za=16; -g.BP=function(a,b,c){var d=this.j,e=!d.J;e&&(d.J&&M(101),d.J=!0);if(z(a)){var f=new Sc(d),h=new lh;v(c)&&(h.Ey(c.rowsSeparator),h.Rw(c.columnsSeparator),h.Wx(c.ignoreTrailingSpaces),h.Ux(c.ignoreFirstRow));h.Cw(a,f);!0===b&&(b=f.ku())}else if(r(a)){for(f=c=0;fh?k.b.rQ[~h]:k.b.bT[h];c.push(d.Br(n(k)?k:NaN,a.ga));k=a.j;h=na(h)&&0>h?k.b.qQ[~h]:k.b.WS[h];c.push(d.Br(n(h)?h:NaN,a.ga))}if(h=GK(a.j))for(e=0;e=d)return[];a=new uL(a);c=[];if(1==b)for(b=0;b=this.b.Oh&&a<=this.b.lastIndex}; -function YU(a,b,c,d,e,f){for(var h=a.data().ba(),k=a.Pa(),l=0,m=0,p=0,q=!1,t=!1;h.advance();){var u=d(h.get("x"));if(!e(u)){var w={};w.x=u;var x,y,B,D,u=!1;x=0;for(y=a.g.sg.length;xx&&!a.ha("displayNegative"))&&(u=!0);if(XJ(a)){if(UJ(a.Fa()))for(x=0,y=a.gV.length;xc&&(c=~c,0b-a.b.data[c-1].data.x&&c--)),c):-1:a.wb.kp("x",b)} -g.tp=function(a,b){if(this.b){var c=[],d,e;this.b.Ms?(d=this.b.Ms[FF(a)],e=this.b.Ms[FF(b)]):(d=ld(this.b.data,function(b){return a-b.data.x}),0>d&&(d=~d),e=ld(this.b.data,function(a){return b-a.data.x}),0>e&&(e=~e));if(!isNaN(d)&&!isNaN(e)){if(d>e){var f=d;d=e;e=f}for(e=Math.min(e,this.b.data.length-1);d<=e;d++)c.push(d)}return c}c=this.Fa();if(e=c instanceof yc)a=c.jn(a),b=c.jn(b);return this.wb.tp(a,b,e)}; -g.Sf=function(a){var b=this.ba();this.Mf()&&this.D.fp(a,b.K("shapes"));this.Im()&&this.nI(b,a);this.g.zE(b,a);this.KO(b,a);this.JO(b,a)};g.Nh=ea;g.Hf=function(a){var b=this.ba();this.D.fp(a,b.K("shapes"));this.g.zE(b,a);this.Im()&&this.nI(b,a)};g.Kd=function(a){return n(a)?(a=null===a?null:ud(a),a!=this.Y&&(this.Y=a),this):this.Y};g.Cc=function(a){return n(a)?this:this.Ca.Ed().Cc()};g.m_=function(a){return n(a)?(this.Kd(la(a)?a?"multiSelect":"none":a),this):ha(this.Kd())?null:"none"!=this.Kd()}; -g.eh=function(a){n(a)?this.uh(a):this.enabled()&&this.state.Xf(H);return this};g.rd=function(a){if(!gc(this.state,H)&&!qc(this.state.De(),H)||!this.enabled())return this;var b;n(a)?b=a:b=this.state.b==$b?NaN:void 0;this.state.o(H,b);return this};g.uh=function(a){if(!this.enabled())return this;if(r(a)){for(var b=oc(this.state,H),c=0;cb&&(b=NaN);a.pointIndex=b}return a};g.Wf=function(a){(a=this.Bf(a))&&this.dispatchEvent(a)}; -g.Bf=function(a){var b=a.type;switch(b){case "mouseout":b="pointmouseout";break;case "mouseover":b="pointmouseover";break;case "mousemove":b="pointmousemove";break;case "mousedown":b="pointmousedown";break;case "mouseup":b="pointmouseup";break;case "click":case "touchstart":b="pointclick";break;case "dblclick":b="pointdblclick";break;default:return null}var c;a.target!=this.Do()||isNaN(a.markerIndex)?"pointIndex"in a?c=a.pointIndex:"labelIndex"in a?c=a.labelIndex:"markerIndex"in a&&(c=a.markerIndex): -c=lU(this,a.markerIndex);c=F(c);a.pointIndex=c;var d=this.Sl();d.select(c)||d.reset();return{type:b,actualTarget:a.target,series:this,iterator:d,pointIndex:c,target:this,originalEvent:a,point:this.Ue(c)}}; -g.Ue=function(a){var b;this.Gj()?b=new Nb(this,a):b=new Mb(this,a);this.Ca.gb();var c=this.Ca.oa,d=this.check(81920),e=d?b.get("high")-b.get("low"):b.get("value");b.oa.index=a;n(e)&&(b.oa.value=e);var f=b.get("size"),h;na(c.dataPlotXSum)&&(h=e/c.dataPlotXSum,b.oa.xPercentOfTotal=100*h);na(this.oa("seriesXSum"))&&(h=e/this.oa("seriesXSum"),b.oa.xPercentOfSeries=100*h);na(this.oa("seriesBubbleSizeSum"))&&(h=f/this.oa("seriesBubbleSizeSum"),b.oa.bubbleSizePercentOfSeries=100*h,h=f/c.dataPlotBubbleSizeSum, -b.oa.bubbleSizePercentOfTotal=100*h,b.oa.bubbleSize=f);h=d?this.oa("catYRangeSumArr_"):this.oa("catYSumArr_");f=b.get("x");h?(b.oa.categoryName=f,f=h[a],d?(h=e/this.oa("seriesYRangeSum"),b.oa.yPercentOfSeries=100*h,h=e/c.dataPlotYSum,b.oa.yPercentOfTotal=100*h,b.oa.yPercentOfCategory=e/f*100,h=f/c.dataPlotYSum,b.oa.categoryYRangePercentOfTotal=100*h,b.oa.categoryYRangeSum=f,b.oa.categoryYRangeMax=this.oa("catYRangeMaxArr_")[a],b.oa.categoryYRangeMin=this.oa("catYRangeMinArr_")[a],b.oa.categoryYRangeAverage= -this.oa("catYRangeAvgArr_")[a],b.oa.categoryYRangeMedian=this.oa("catYRangeMedianArr_")[a],b.oa.categoryYRangeMode=this.oa("catYRangeModeArr_")[a]):(h=e/this.oa("seriesYSum"),b.oa.yPercentOfSeries=100*h,h=e/c.dataPlotYSum,b.oa.yPercentOfTotal=100*h,b.oa.yPercentOfCategory=e/f*100,h=f/c.dataPlotYSum,b.oa.categoryYPercentOfTotal=100*h,b.oa.categoryYSum=f,b.oa.categoryYMax=this.oa("catYMaxArr_")[a],b.oa.categoryYMin=this.oa("catYMinArr_")[a],b.oa.categoryYAverage=this.oa("catYAvgArr_")[a],b.oa.categoryYMedian= -this.oa("catYMedianArr_")[a],b.oa.categoryYMode=this.oa("catYModeArr_")[a])):(h=f/this.oa("seriesXSum"),b.oa.xPercentOfSeries=100*h,h=e/this.oa("seriesYSum"),b.oa.yPercentOfSeries=100*h,h=f/c.dataPlotXSum,b.oa.xPercentOfTotal=100*h,h=e/c.dataPlotYSum,b.oa.yPercentOfTotal=100*h);return b}; -g.N=function(){var a=XU.G.N.call(this);if(this.b){for(var b=[],c=this.data(),d=new Yc(this);d.advance();){var e=d.K("rawIndex");isNaN(e)?b.push({x:d.get("x")}):b.push(yL(c,e))}a.data=b}else a.data=this.data().N();n(this.Kd())&&(a.selectionMode=this.Kd());return a};g.da=function(a,b){XU.G.da.call(this,a,b);"data"in a&&this.data(a.data||null);n(a.allowPointsSelect)&&this.Kd(la(a.allowPointsSelect)?a.allowPointsSelect?"multiSelect":"none":a.allowPointsSelect);this.Kd(a.selectionMode)}; -g.ca=function(){dg(this.$a);delete this.wb;this.Na=this.b=this.state=this.ub=this.ub=this.$a=null;XU.G.ca.call(this)};XU.prototype.data=XU.prototype.data;XU.prototype.xScale=XU.prototype.Fa;XU.prototype.hover=XU.prototype.eh;XU.prototype.unhover=XU.prototype.rd;XU.prototype.select=XU.prototype.select;XU.prototype.unselect=XU.prototype.pe;XU.prototype.selectionMode=XU.prototype.Kd;XU.prototype.allowPointsSelect=XU.prototype.m_;XU.prototype.getPoint=XU.prototype.Ue;XU.prototype.excludePoint=XU.prototype.IR; -XU.prototype.includePoint=XU.prototype.zJ;XU.prototype.keepOnlyPoints=XU.prototype.MS;XU.prototype.includeAllPoints=XU.prototype.yJ;XU.prototype.getExcludedPoints=XU.prototype.QO;function dV(a,b){Z.call(this);this.data(a||null,b);this.Bb={};this.$a=null;this.state=new Zb(this)}E(dV,lO);g=dV.prototype;g.za=lO.prototype.za|2048;g.wa=lO.prototype.wa|32;g.Ib=null;g.sa=null;g.Wd=null;g.Ie=null;g.Bj=null;g.Tt=null;g.ta=null;g.KF=function(){return this.ta};g.Mf=function(){return!0};g.fh=function(){return!0};g.so=function(){return!1};g.Gj=function(){return!1};g.Vg=function(a){this.Ta=a;DJ(this.ph(),this.Ta.ph());DJ(this.ph()).va(2);this.zb().parent(this.Ta.zb())};g.Zb=function(){return this.Ta}; -g.sJ=function(){return!0};g.data=function(a,b){return n(a)?(this.pf!==a&&(this.pf=a,dg(this.Va),a instanceof oL?this.wb=this.Va=a.xk():this.wb=a instanceof uL?this.Va=a.rf():(this.Va=new uL(r(a)||z(a)?a:null,b)).rf(),O(this,this.Va),this.Ma=this.wb,P(this.Ma,this.kY,this),this.B(I|544,J|20)),this):this.Ma};g.kY=function(a){X(a,16)&&this.va(20)};g.ba=function(){return this.sd||this.Nb()};g.Nb=function(){return this.sd=this.data().ba()};g.dS=function(a,b){return this.data().get(a,b)}; -g.xN=function(a,b,c){this.data().set(a,b,c)};g.cS=function(a){return this.data().K(a,"zero")};g.bS=function(a){return this.data().K(a,"value")};g.K=function(a,b){this.F||(this.F={});if(n(a)){if(n(b)){var c=this.F[a];n(c)&&c==b||(this.F[a]=b);return this}return v(a)?(this.F!=a&&(this.F=a),this):this.F[a]}return this.F};g.name=function(a){return n(a)?(this.uf!=a&&(this.uf=a,this.va(64)),this):this.uf||"Series "+this.ra()};g.index=function(a){return n(a)?(this.de!=a&&(this.de=a),this):this.de}; -g.ra=function(){return this.de};g.id=function(a){return n(a)?(this.Dd!=a&&(this.Dd=a),this):this.Dd};g.oa=function(a,b){return n(a)?n(b)?(this.Bb[a]=b,this):this.Bb[a]:this.Bb};g.hl=ea;g.Xc=function(a){this.Ta&&this.Ta.gb();return this.Bb[a]};g.zb=function(a){this.Ib||(this.Ib=new NQ(0),O(this,this.Ib),this.Ib.Ca(this.Ta));return n(a)?(this.Ib.U(a),this):this.Ib};function eV(a){a.Ei||(a.Ei=new Ne(a));return a.Ei} -g.al=function(a){var b=this.Sv();b.R(b.wa);var c=b.N(),d={sourceColor:this.color()};A(b.lk())&&(c.iconFill=b.lk().call(d,d));A(b.nk())&&(c.iconStroke=b.nk().call(d,d));A(b.mk())&&(d.sourceColor=this.Ka,c.iconHatchFill=b.mk().call(d,d));var e;A(a)&&(b=eV(this),e=a.call(b,b));z(e)||(e=n(this.name())?this.name():"Series: "+this.index());this.gz(c);c.iconType=fV(this,c.iconType);a={meta:this.K(),text:e,iconEnabled:!0,iconStroke:this.Nc(!1,$b),iconFill:this.Tc(!1,$b),iconHatchFill:this.td(!1,$b),disabled:!this.enabled()}; -li(a,c);return a};g.gz=function(){};function fV(a,b){if("marker"==b){if(a.Eg()){var c=a.vC();c&&(b=c)}else b=a.type();"line"==b&&(b="vline")}else A(b)||(b=Md(b));return b}g.vC=function(){return null};g.Sv=function(a){this.I||(this.I=new kO,O(this,this.I),P(this.I,this.N7,this));return n(a)?(this.I.U(a),this):this.I};g.N7=function(a){var b=64,c=!1;X(a,8)&&(b|=8,c=!0);this.va(b,c)}; -g.color=function(a,b,c,d,e,f,h){if(n(a)){var k=null===a?null:Qc.apply(null,arguments);this.Bj!=k&&(this.Bj=k,this.B(I,J|64));return this}return this.Bj||this.Tt||"blue"};function gV(a){a=PE(a.color());v(a)&&(a=a.color);return a||""}g.og=function(a){this.Tt=a;this.labels().og(gV(this));this.aE()};g.aE=ea;g.Mb=function(a,b,c,d){if(n(a)){var e=A(a)||la(a)?a:aC.apply(null,arguments);e!=this.la&&(this.la=e,this.B(64,J|64));return this}return this.la}; -g.Uc=function(a,b,c,d){if(n(a)){var e=A(a)||la(a)?a:aC.apply(null,arguments);e!==this.Qb&&(this.Qb=e);return this}return this.Qb};g.zd=function(a,b,c,d){if(n(a)){var e=A(a)||la(a)?a:aC.apply(null,arguments);e!==this.kc&&(this.kc=e);return this}return this.kc}; -g.td=function(a,b){var c=this.ba(),d;a&&n(c.get("hatchFill"))?d=c.get("hatchFill"):d=this.Mb();var e;b&Hb?a&&n(c.get("selectHatchFill"))?e=c.get("selectHatchFill"):n(this.zd())?e=this.zd():e=d:b&H?a&&n(c.get("hoverHatchFill"))?e=c.get("hoverHatchFill"):n(this.Uc())?e=this.Uc():e=d:e=d;return hV(this,e)};function hV(a,b){var c,d=a.ba().ra();A(b)?(c=a.Ka||aC("diagonalBrick"),d={index:d,sourceHatchFill:c,iterator:a.ba()},c=aC(b.call(d))):la(b)?c=b?a.Ka:null:c=aC(b);return c} -g.uj=function(a){this.Ka=aC(a)};g.fill=function(a,b,c,d,e,f,h){if(n(a)){var k=A(a)?a:Qc.apply(null,arguments);k!=this.D&&(this.D=k,this.B(I,J|64));return this}return this.D};g.Oc=function(a,b,c,d,e,f,h){return n(a)?(this.Ba=A(a)?a:Qc.apply(null,arguments),this):this.Ba};g.Od=function(a,b,c,d,e,f,h){return n(a)?(this.ib=A(a)?a:Qc.apply(null,arguments),this):this.ib}; -g.Tc=function(a,b){var c=this.ba(),d=a&&c.get("fill")||this.fill(),c=b&Hb?this.Fh(a&&c.get("selectFill")||this.Od()||d,d):b&H?this.Fh(a&&c.get("hoverFill")||this.Oc()||d,d):this.Fh(d);return Qc(c)};g.stroke=function(a,b,c,d,e){if(n(a)){var f=A(a)?a:Pc.apply(null,arguments);f!=this.g&&(this.g=f,this.B(I,J|64));return this}return this.g};g.Hc=function(a,b,c,d,e){return n(a)?(this.ob=A(a)?a:Pc.apply(null,arguments),this):this.ob}; -g.Ad=function(a,b,c,d,e){return n(a)?(this.Cb=A(a)?a:Pc.apply(null,arguments),this):this.Cb};g.Nc=function(a,b){var c=this.ba(),d=a&&c.get("stroke")||this.stroke(),c=b&Hb?this.Fh(a&&c.get("selectStroke")||this.Ad()||d,d):b&H?this.Fh(a&&c.get("hoverStroke")||this.Hc()||d,d):this.Fh(d);return Pc(c)};g.Fh=function(a,b){var c;A(a)?(c=1c&&(c=h):h>b&& -(b=h)}}this.j=b;this.b=c}W(this,64)&&(a=this.Mb()||this.Uc()||this.zd(),!this.ud&&a&&(this.ud=new bD(this.vO,ea),this.ud.parent(this.ta),this.ud.zIndex(2),this.ud.wc(!0)),this.ud&&this.ud.clear());W(this,2)&&(this.ta.parent(this.P()),this.rt.parent(this.ta),this.ud&&this.ud.parent(this.ta),this.R(2));a=this.Oa();b=this.ac();c=this.ac();L(a);L(b);L(c);a.clear();a.P(this.P());a.ma(this.Rb());kV(this)}}; -g.hf=function(a,b){var c;a:if(this.enabled()){var d=[],e=this.Pa(),f=this.Fa(),h=this.ba();c=!1;for(var k=0,l=this.Dc.length;km&&0>q||1m&&0> -q||1=e.Wa()&&b.top<=e.top&&b.Ra()>=e.Ra())d.width(b.width).height(b.height);else if("drop"==f.xm())this.labels().clear(c); -else if(d.width()!=e.width||d.height()!=e.height)d.g=null,d.width(e.width).height(e.height);"alwaysShow"!=f.xm()?d.clip(b):d.clip(null)}}}}; -g.Oj=function(a){var b=this.ba(),c=b.K("shape");if(c&&(a=this.ki(a,!0))){var d=dS(a),c=vg(c.stroke())/2,b=Kl(b.K("x")+c,b.K("y")+c,b.K("width")-2*c,b.K("height")-2*c);a.width(b.width).height(b.height);d.width=null;d.height=null;if(d.adjustByWidth||d.adjustByHeight)d.fontSize=bS(a).Sa;var d=this.labels().measure(a.jf(),a.ic(),d),c=b.left<=d.left&&b.Wa()>=d.Wa()&&b.top<=d.top&&b.Ra()>=d.Ra(),e=this.Zb();"alwaysShow"!=e.xm()?a.clip(b):a.clip(null);if(!c)if("drop"==e.xm())this.labels().clear(a.ra()); -else if(a.width()!=d.width||a.height()!=d.height)a.g=null,a.width(d.width).height(d.height)}}; -g.Nd=function(){this.Oa().aa();this.Oa().ja(!1);this.ac().ja(!1);this.yc().ja(!1);this.Oa().R(4294967295);this.ac().R(4294967295);this.yc().R(4294967295);this.labels().aa();this.labels().ja(!1);this.Gb().ja(!1);this.Ub().ja(!1);this.labels().R(4294967295);this.Gb().R(4294967295);this.Ub().R(4294967295);if(W(this,4)){var a,b;a=this.clip();la(a)&&(a=this.ka,b=this.ii(),a=b.Yi(a));this.ta.clip(a||null);(b=this.labels().Re())&&b.clip(a||null);(b=this.Oa().Re())&&b.clip(a||null);this.R(4)}W(this,2)?this.R(0): -this.R(4294967295)};g.remove=function(){this.ta&&this.ta.remove();this.labels().P(null);this.Oa().P(null);lV.G.remove.call(this)};g.Pb=function(a){if(!this.ea||a)this.ea=new Se(this,this.Dc,!1);this.ea.If();if(a=this.Zb().Td()){var b=this.ba().get("heat");a instanceof cN&&(this.ea.color=a.uq(b),(a=a.Dj(b))&&(this.ea.colorRange={color:a.color,end:a.end,name:a.name,start:a.start,index:a.sourceIndex}))}return this.ea}; -g.Ff=function(a){var b=this.ba(),c=b.K("shape");return c?(b=c.jb(),a=wd(a),{value:PF(b,a)}):{value:{x:b.K("x"),y:b.K("y")}}};function mV(a,b,c){c?(c=a.ka.left,a=a.ka.width):(c=a.ka.Ra(),a=-a.ka.height);return Math.round(c+b*a)}function nV(a,b){var c=a.ba().K("shape");n(c)&&(c.stroke(a.Nc(!0,b)),c.fill(a.Tc(!0,b)))}function oV(a,b){var c=a.ba().K("hatchFillShape");null!=c&&c.stroke(null).fill(a.td(!0,b))} -g.Sf=function(a){var b=this.ba().K("shape");if(b){var c=vg(this.Nc(!0,a)),b=vg(b.stroke());c!=b?(this.B(I|64),this.hf(a,!0),this.R(I|64)):(nV(this,a),oV(this,a));this.Oj(a);pV(this,a)}};g.Nh=function(){this.labels().aa();this.Oa().aa()};g.Hf=function(a){nV(this,a);oV(this,a)};g.clip=function(a){return n(a)?(null===a&&(a=!1),this.Qd!=a&&(this.Qd=a,this.B(4,J|8)),this):this.Qd}; -g.Fa=function(a){return n(a)?(this.Na!=a&&(this.Na&&uI(this.Na,this.CA,this),this.Na=a,P(this.Na,this.CA,this),this.B(I,4|J)),this):this.Na};g.Pa=function(a){return n(a)?(this.mb!=a&&(this.mb&&uI(this.mb,this.CA,this),this.mb=a,P(this.mb,this.CA,this),this.B(I,4|J)),this):this.mb};g.CA=function(a){var b=0;X(a,4)&&(b|=4);X(a,2)?b|=J:this.va(b);this.B(I,b)}; -g.Fh=function(a,b){var c;A(a)?(c=1a?b="leftBottom":90==a?b="leftCenter":180>a?b="leftTop":180==a?b="centerTop":270>a?b="rightTop":270==a?b="rightCenter":270q?c=180-c:d>k&&e>q||d>k&&ethis.ut&&(this.ut=b),be;e=Math.abs(e);e=(e-this.Zq)/(this.st-this.Zq);if(isNaN(e)||!isFinite(e))e=.5;e=this.j+e*(this.Ga-this.j);e=b?-e:e;if(0>e&&!this.b)return;b=cD(this.Hn);this.ba().K("x",c).K("value",d).K("size",e).K("shape",b);e=Math.abs(e);b.moveTo(c+e,d).arcTo(e,e,0,360);this.xt(a|this.state.De());this.wh(b)}W(this,64)&&(d=this.ba(),c=this.ud?cD(this.ud):null,d.K("hatchFillShape",c),d=d.K("shape"),n(d)&&c&&c.kd(d.N()),this.wt(a|this.state.De())); -GV.G.hf.call(this,a)}}; -g.xt=function(a){var b=this.ba().K("shape"),c=F(this.ba().K("size"));if(n(b)&&!isNaN(c)){if(0>c){var c=this.ba(),d=c.get("negativeFill")||this.fw(),c=a&Hb?this.Fh(c.get("selectNegativeFill")||this.Fy()||d,d):a&H?this.Fh(c.get("hoverNegativeFill")||this.Rx()||d,d):this.Fh(d),c=Qc(c),d=this.ba(),e=d.get("negativeStroke")||this.yy();a=a&Hb?this.Fh(d.get("selectNegativeStroke")||this.Gy()||e,e):a&H?this.Fh(d.get("hoverNegativeStroke")||this.Sx()||e,e):this.Fh(e);a=Pc(a)}else c=this.Tc(!0,a),a=this.Nc(!0, -a);b.stroke(a,2,"none","round");b.fill(c)}};g.wt=function(a){var b=this.ba().K("hatchFillShape"),c=F(this.ba().K("size"));if(null!=b&&!isNaN(c)){if(0>c){var c=this.ba(),d;n(c.get("negativeHatchFill"))?d=c.get("negativeHatchFill"):d=this.tt();var e;a&Hb?n(c.get("selectHatchFill"))?e=c.get("selectHatchFill"):n(this.zs())?e=this.zs():e=d:a&H?n(c.get("hoverHatchFill"))?e=c.get("hoverHatchFill"):n(this.$r())?e=this.$r():e=d:e=d;a=hV(this,e)}else a=this.td(!0,a);b.stroke(null).fill(a)}}; -g.N=function(){var a=GV.G.N.call(this);a.displayNegative=this.hI();A(this.fw())?M(8,null,["Bubble Series negativeFill"]):a.negativeFill=T(this.fw());A(this.Rx())?M(8,null,["Bubble Series hoverNegativeFill"]):a.hoverNegativeFill=T(this.Rx());A(this.Fy())?M(8,null,["Bubble Series selectNegativeFill"]):a.selectNegativeFill=T(this.Fy());A(this.yy())?M(8,null,["Bubble Series negativeStroke"]):a.negativeStroke=T(this.yy());A(this.Sx())?M(8,null,["Bubble Series hoverNegativeStroke"]):a.hoverNegativeStroke= -T(this.Sx());A(this.Gy())?M(8,null,["Bubble Series selectNegativeStroke"]):a.selectNegativeStroke=T(this.Gy());A(this.tt())?M(8,null,["Bubble Series negativeHatchFill"]):a.negativeHatchFill=T(this.tt());A(this.$r())?M(8,null,["Bubble Series hoverNegativeHatchFill"]):a.hoverNegativeHatchFill=T(this.$r());A(this.zs())?M(8,null,["Bubble Series selectNegativeHatchFill"]):a.selectNegativeHatchFill=T(this.zs());return a}; -g.da=function(a,b){GV.G.da.call(this,a,b);this.hI(a.displayNegative);this.fw(a.negativeFill);this.Rx(a.hoverNegativeFill);this.Fy(a.selectNegativeFill);this.yy(a.negativeStroke);this.Sx(a.hoverNegativeStroke);this.Gy(a.selectNegativeStroke);this.tt(a.negativeHatchFill);this.$r(a.hoverNegativeHatchFill);this.zs(a.selectNegativeHatchFill)};GV.prototype.displayNegative=GV.prototype.hI;GV.prototype.negativeFill=GV.prototype.fw;GV.prototype.hoverNegativeFill=GV.prototype.Rx; -GV.prototype.selectNegativeFill=GV.prototype.Fy;GV.prototype.negativeStroke=GV.prototype.yy;GV.prototype.hoverNegativeStroke=GV.prototype.Sx;GV.prototype.selectNegativeStroke=GV.prototype.Gy;GV.prototype.negativeHatchFill=GV.prototype.tt;GV.prototype.hoverNegativeHatchFill=GV.prototype.$r;GV.prototype.selectNegativeHatchFill=GV.prototype.zs;GV.prototype.fill=GV.prototype.fill;GV.prototype.hoverFill=GV.prototype.Oc;GV.prototype.selectFill=GV.prototype.Od;GV.prototype.stroke=GV.prototype.stroke; -GV.prototype.hoverStroke=GV.prototype.Hc;GV.prototype.selectStroke=GV.prototype.Ad;GV.prototype.hatchFill=GV.prototype.Mb;GV.prototype.hoverHatchFill=GV.prototype.Uc;GV.prototype.selectHatchFill=GV.prototype.zd;function IV(a,b){EV.call(this,a,b);this.Dc=["points"];this.fa=["points"]}E(IV,EV);rV.connector=IV;g=IV.prototype;g.Ua=function(){return"connector"};g.HA=function(a){return n(a)?(a=F(a)||0,this.X!=a&&(this.X=a,this.B(I,J)),this):this.X};g.GA=function(a){return n(a)?(a=F(a)||0,this.O!=a&&(this.O=a,this.B(I,J)),this):this.O};g.YB=function(a){return n(a)?(a=F(a)||0,this.b!=a&&(this.b=a,this.B(I|64,J|1024)),this):this.b};g.Pb=function(a){if(!this.o||a)this.o=new Ye(this,this.Dc);this.o.If();return this.o}; -g.Ff=function(a){var b=this.ba();if(b.K("shape")){var c=b.K("sumDist"),d=b.K("connectorsDist"),e=b.K("points"),f=0;if(z(a))switch(a){case "start":a=0;break;case "middle":a=.5;break;case "end":a=1;break;default:KF(a)?a=parseFloat(a)/100:(a=F(a),isNaN(a)&&(a=.5))}else a=F(a),isNaN(a)&&(a=.5);for(var c=a*c,h=0,k=e.length;h=f&&c<=f+l){var m=(c-f)/l,p=e[h+2],q=e[h+3],t=e[h+4],u=e[h+5],w=e[h+6],x=e[h+7],y=t+(p-t)*(1-m),B=u+(q-u)*(1-m),t=w+(t-w)*(1-m),u=x+(u-x)*(1-m),p=y+(p+(e[h]- -p)*(1-m)-y)*(1-m),q=B+(q+(e[h+1]-q)*(1-m)-B)*(1-m),y=t+(y-t)*(1-m),t=u+(B-u)*(1-m),B=y+(p-y)*(1-m),m=t+(q-t)*(1-m),u=Ll(Va(Math.atan(Math.sqrt(Math.pow(t-q,2))/Math.sqrt(Math.pow(y-p,2)))),7);yq?u=180-u:y>p&&t>q||y>p&&te?B=-w:f>d&&h>e?B=w-180:f>d&&hq?-90:90;var D=d+Math.cos(Ua(B+w))*y,G=e+Math.sin(Ua(B+w))*y;p=d+Math.cos(Ua(B-w))*y;B=e+Math.sin(Ua(B-w))*y;x=Math.sqrt(Math.pow(b-k,2));w=Math.sqrt(Math.pow(c-l,2));w=Ll(Va(Math.atan(w/x)),7);var K;kc?K=180-w:k>b&&l>c?K=w:k>b&&lq?-90:90;x= -b+Math.cos(Ua(K+w))*y;var N=c+Math.sin(Ua(K+w))*y;m=b+Math.cos(Ua(K-w))*y;K=c+Math.sin(Ua(K-w))*y;var S=Math.sqrt(Math.pow(x-D,2)+Math.pow(N-G,2));w=S/2*q;var V=(x+D)/2+Math.cos(Ua(u))*w*1.2,aa=(N+G)/2+Math.sin(Ua(u))*w*1.2;w=S/2*q;y=0S/2?S/2*y:w;w=(0>q?90:-90)*t;var S=V+Math.cos(Ua(u+w))*y,oa=aa+Math.sin(Ua(u+w))*y;w=(0>q?-90:90)*t;V+=Math.cos(Ua(u+w))*y;w=aa+Math.sin(Ua(u+w))*y;a.moveTo(D,G);a.Uj(S,oa,V,w,x,N);x=Math.sqrt(Math.pow(m-p,2)+Math.pow(K-B, -2));G=x/2*q;D=(m+p)/2+Math.cos(Ua(u))*G*1.2;G=(K+B)/2+Math.sin(Ua(u))*G*1.2;w=x/2*q;y=0x/2?x/2*y:w;w=(0>q?90:-90)*t;x=D+Math.cos(Ua(u+w))*y;N=G+Math.sin(Ua(u+w))*y;w=(0>q?-90:90)*t;q=D+Math.cos(Ua(u+w))*y;u=G+Math.sin(Ua(u+w))*y;a.lineTo(m,K);a.Uj(q,u,x,N,p,B);a.close();return[b,c,k,l,f,h,d,e]} -g.hf=function(a){var b=this.ba(),c;if(this.enabled()){var d=this.map.scale(),e=this.ba();if((c=e.get(this.Dc[0]))&&r(c)){for(var f=[],h=[],k,l,m,p,q=0,t=c.length;qp||10>G,d=0,e=c.length;dh?xa=270-y:u>f&&w>h?(xa=y-90,pa=-1):u>f&&wV/2?V/2*y:x;D=(0>t?90:-90)*pa;D=Ua(xa+D);x=oa+Math.cos(D)*B;y=aa+Math.sin(D)*B;D=(0>t?-90:90)*pa;D=Ua(xa+D);oa+=Math.cos(D)*B;aa+=Math.sin(D)*B;B=JV(N,f,h,u,w,x,y,oa,aa,p,G,t,pa,xa);this.wh(N);k.push(N);K&&(JV(S,f,h,u,w,x,y,oa,aa,20,20,t,pa,xa),this.wh(S),S.fill(KE).stroke(null));l.push.apply(l,B);m.push(V);q+=V}f=c[d];h=c[d+1]}}this.ba().K("shape",k).K("points",l).K("sumDist",q).K("connectorsDist",m);this.xt(a|this.state.De())}if(W(this,64)&&(S=b.K("shape"))){xa= -[];d=0;for(e=S.length;dB&&0h&&(b-=2*Math.PI),x=h-b):(h>b&&(h-=2*Math.PI),x=b-h);x=isNaN(x)?x:Ll(x,4);if(0==x)return null;var y=Math.PI/2,y=Ll(y,4),G=Math.ceil(x/y),K=1c&&(c=1);return c} -g.Wb=function(){tW.G.Wb.call(this);var a=this.Ca.Pa().transform(0);isNaN(a)&&(a=0);this.bg=qW(this,Ac(a,0,1),!1);this.yd&&this.enabled()&&(this.zt||(this.zt=new bD(this.RO,ea),this.zt.zIndex(1)),W(this,8)&&(this.ta.zIndex(this.zIndex()),this.R(8)),W(this,4)&&(a=la(this.Ca.clip())?this.Ca.clip()?this.ka:"none":this.Ca.clip(),this.ta.clip(a),this.R(4)),W(this,I)&&this.zt.clear(),W(this,64)&&(this.ud||(this.ud=new bD(this.RO,ea),this.ud.parent(this.ta),this.ud.zIndex(2),this.ud.wc(!0)),this.ud.clear()), -W(this,2)&&(this.ta.parent(this.P()),this.zt.parent(this.ta),this.ud&&this.ud.parent(this.ta),this.R(2)))}; -g.sw=function(){var a=this.yt();if(!a)return!1;if(W(this,I)){var b=a[0],c=a[1],c=cc?a.Fd()?1:0:.5;if(!n(e)||!n(c))return null;a.kf(c)&&(c=NaN);a=b.kf(e)?NaN:qW(this,b.transform(e,.5),!0);b=qW(this,c,!1);if(isNaN(a)||isNaN(b))d=!0;return d?null:[a,b]}; -zW.prototype.jm=function(){var a=zW.G.jm.call(this);a.markers||(a.markers={});a.markers.position="centerTop";a.markers.anchor="centerTop";a.labels||(a.labels={});a.labels.position="centerTop";a.labels.anchor="centerTop";a.negativeMarkers||(a.negativeMarkers={});a.negativeMarkers.position="centerBottom";a.negativeMarkers.anchor="centerBottom";a.negativeLabels||(a.negativeLabels={});a.negativeLabels.position="centerBottom";a.negativeLabels.anchor="centerBottom";a.stroke={color:"#64b5f6",thickness:1.5}; -a.fill={color:"#64b5f6",opacity:.7};a.negativeFill={color:"#ef6c00",opacity:.7};return a};function AW(a){this.o=Fb(a,256,!1);this.g=[];this.b=this.j=0}g=AW.prototype;g.Um=function(a){var b=void 0;if(this.g.length=k&&(k=f,h=d);e=100*h/b.He;h=0;k=b.jy.get(0);for(d=1;db){var d=a;a=b;b=d}c=Fb(c,9,!1);return{lx:BW(a),Py:BW(b),Ny:BW(c),kx:a,mE:b,gE:c,du:NaN,Gs:NaN,Oy:NaN,dispose:function(){this.lx.clear();this.Py.clear();this.Ny.clear()}}}function NW(a){a.lx.clear();a.Py.clear();a.Ny.clear();a.du=NaN;a.Gs=NaN;a.Oy=NaN} -function OW(a,b){var c=F(a.get("value"));if(!isNaN(c)&&(b.lx.Um(c),b.Py.Um(c),b.lx.b==b.kx&&(b.du=PW(b.du,b.lx,b.kx)),b.Py.b==b.mE&&(b.Gs=PW(b.Gs,b.Py,b.mE)),isNaN(b.Gs)||isNaN(b.kx)||b.Ny.Um(b.du-b.Gs),b.Ny.b==b.gE)){b.Oy=PW(b.Oy,b.Ny,b.gE);a.set("macdResult",b.du-b.Gs);a.set("signalResult",b.Oy);a.set("histogramResult",b.du-b.Gs-b.Oy);return}a.set("macdResult",NaN);a.set("signalResult",NaN);a.set("histogramResult",NaN)} -function PW(a,b,c){if(isNaN(a)){for(var d=a=0;dc?f+=d-c:dc?b.qq+=d-c:d=c&&0=f&&0=c&&0this.g.length||0==this.b)return null;if(n(b))return this.j[a]=b,this.va(2),this;a>this.b-1&&(a=this.b-1);0>a&&(a=0);var c=this.j[a];return c?c:null}; -function kX(a){if(a.g&&0!=a.b){var b=[],c=r(a.g)?a.g:a.g.keys;if(r(c)&&0!=c.length){isNaN(a.b)&&(a.b=c.length);for(var d=1/(c.length-1),e,f=0;f=b[h].offset&&(c=b[h]),e<=b[h].offset&&null== -d&&(d=b[h]);c||(c=b[0]);d||(d=b[b.length-1]);d.offset==c.offset?a.j[f]={color:c.color}:(e=1-(e-c.offset)/(d.offset-c.offset),a.j[f]={color:$k(hl(cl(c.color),cl(d.color),e))})}}}}g.N=function(){var a=jX.G.N.call(this);a.type="range";for(var b=[],c=0;cb.width&&(b.width=0);0>b.height&&(b.height=0);a.nc.fx=!isNaN(c)&&isFinite(c)?c:0;a.nc.fy=!isNaN(d)&&isFinite(d)?d:0;a.nc.mode= -b;L(a.labels()).ke(a.vb).ae(a.sb).Bm(a.b).Tb(a.fc).Me(360).ma(a.df).ja(!1);a.Gb().ma(a.df)}g.Jq=function(a,b){var c;c=this.ba().ra();var d;z(a)&&"aquastyle"==a?(c={aquaStyleObj:this.nc,sourceColor:this.at().Hg(c)},c=this.Hl.call(c)):A(a)?(d=1=k:!1:4==p?4==m?l>=k:!0:!1);if(l){k=Ll(Math.cos(Ua(d)),7);m=Ll(Math.cos(Ua(e)),7);p=zX(k,Math.sin(Ua(d)));var q=zX(m,Math.sin(Ua(e))),l=[];if(1==p)switch(q){case 1:k>=m?l.push({start:d,end:e}):(l.push({start:d,end:180,qj:!0}),l.push({start:360,end:e}));break;case 2:l.push({start:d,end:e,qj:!0});break;case 3:case 4:l.push({start:d, -end:180,qj:!0})}else if(2==p)switch(q){case 1:l.push({start:d,end:180});l.push({start:360,end:e});break;case 2:k>=m?l.push({start:d,end:e}):(l.push({start:d,end:180}),l.push({start:360,end:e,qj:!0}));break;case 3:case 4:l.push({start:d,end:180})}else if(3==p)switch(q){case 1:l.push({start:360,end:e});break;case 2:l.push({start:360,end:e,qj:!0});break;case 3:k>=m&&l.push({start:0,end:180,qj:!0})}else if(4==p)switch(q){case 1:l.push({start:360,end:e});break;case 2:l.push({start:360,end:e,qj:!0});break; -case 3:l.push({start:360,end:180,qj:!0});break;case 4:k>=m&&l.push({start:0,end:180,qj:!0})}k=a.ib.length;m=l.length;a.ib.length=k+m;for(p=0;p=m?(l.push({start:d,end:360}),l.push({start:180,end:e})): -l.push({start:d,end:e});break;case 4:l.push({start:d,end:e,qj:!0})}else if(4==p)switch(q){case 1:case 2:l.push({start:d,end:360});break;case 3:l.push({start:d,end:360});l.push({start:180,end:e});break;case 4:k>=m?(l.push({start:d,end:360}),l.push({start:180,end:e})):l.push({start:d,end:e})}k=a.ib.length;m=l.length;a.ib.length=k+m;for(p=0;pk&&(k=0);0>e&&(e=0);if(k=e?360==Math.abs(b)?c.xd(f,h,k,.45*k,l,b,!1):c.moveTo(f,h).xd(f,h,k,.45*k,l,b,!0).close():(m=360>Math.abs(b),c.xd(f,h,k,.45*k,l,b).xd(f,h,e,.45*e,l+b,-b,m),m&&c.close());DX(a,"topPath",d);break;case "front":var e= -f,f=h,p=b.start,m=b.end,q=b.cz;b="frontPath"+p;c=CX(a,b,c);h=.45*k;l=.2*a.b;m=a&&0<=b?2:0>=a&&0>b?3:4}function EX(a,b,c,d,e,f,h,k,l){var m=Ua(h);h=.2*a.b;var p=c+f*Math.cos(m);c+=e*Math.cos(m);f=d+.45*f*Math.sin(m);d+=.45*e*Math.sin(m);l=CX(a,b,l);l.moveTo(p,f);l.lineTo(c,d);l.lineTo(c,d+h);l.lineTo(p,f+h);l.lineTo(p,f);l.close();DX(a,b,k)} -function BX(a,b){bu||270b.ra()?1:a.ra()b.ra()?1:a.ra()h&&(d=h,a.y=h-a.height);0!=a.labels.length&&(c=IX(a.b,a.labels[0]).height,a.y+cN&&(N=Math.abs(u-e));N=B*Math.sqrt(Math.pow(N,2)-Math.pow(u-e,2))/N;B=f+(a.j?1:-1)*Math.abs(N);x=f+x*Math.cos(t);y=e+y*Math.sin(t);w=f+w*Math.cos(t);t=e+K*Math.sin(t);t=Va(Math.acos(Math.sqrt(Math.pow(x-w,2)+Math.pow(y-t,2)).toFixed(3)/Math.sqrt(Math.pow(x-B,2)+Math.pow(y-u,2)).toFixed(3)));if(t>a.D||isNaN(a.D)||0>N)a.D=0>N?Number.POSITIVE_INFINITY:t,a.I=b,a.F=l;if(t>k||0>N)a.ze=!0;b=B+q;q=a.j?b:b-c.width; -a.x=isNaN(a.x)?q:a.x>q?q:a.x;q=a.j?b+c.width:b;a.width=isNaN(a.width)?q:a.widthu?t=Va(Math.atan(u/b))+360:0>b?t=Va(Math.atan(u/b))+180:0==b&&0u&&(t=270);t-=D;a.g.push(t,q,G);d-=c.height/2+p/2}a.width-=a.x} -LX.prototype.gb=function(){OX(this);if(this.ze){var a=this.I,b=this.F;isNaN(b)||(a.enabled(!1),this.ij||(this.ij=[]),this.ij.push(a),kc(this.labels,b,1));var c=this.b,a=this.labels,d=this.o,e,f,h,k,l=d[d.length-1];if(l!=this){var m=null,b=a.slice(),p=d.length,q=!1;e=0;for(f=a.length;ethis.Qa&&(this.Qa=5);this.O=a;var c=0,d,e,f=b.Jb()-F(this.oa.count),h=Ll(this.xf/a.height*100,2);for(b.reset();b.advance();){d=b.get("value");e=VX(d);d=VX(d)?0:F(d);var k=Ll(d/F(this.oa.sum)*100,2);e&&(k=h);k=Ll(a.height/(100+f*h)*k,2);0==k&&(k=this.Pd);b.K("value",d);b.K("height",k);b.K("startY",c);b.K("missing", -e);c+=k;WX(this)}for(b.reset();b.advance();)c=b.ra(),b.get("selected")&&this.state.Xf(Hb,c),XX(this);if(this.J)for(var l in this.J)this.J.hasOwnProperty(l)&&this.J[l].stroke(this.X);this.B(4096);this.B(8192);this.R(I)}if(W(this,8192)){this.Oa().P()||this.La.P(this.I);this.Oa().clear();for(b.reset();b.advance();)YX(this,this.state.b|hc(this.state,b.ra()));this.Oa().aa();this.R(8192)}if(W(this,4096)){this.labels().P()||this.sa.P(this.I);this.labels().clear();this.$a&&this.$a.clear();l=Ks(this)?iF().pie.insideLabels: -iF().pie.outsideLabels;this.labels().og(l.autoColor);this.labels().wc(l.disablePointerEvents);Ks(this)||(this.Qa=U(this.nd,(a.width-this.sd)/2),0>this.Qa&&(this.Qa=5),this.$a?this.$a.clear():(this.$a=new bD(function(){return Pl()},function(a){a.clear()}),O(this,this.$a),this.$a.parent(this.I),this.$a.zIndex(32)),this.$a.clip(a),this.J=[]);for(b.reset();b.advance();)Ks(this)&&b.K("labelWidthForced",void 0),ZX(this,this.state.b|hc(this.state,b.ra()));$X(this);this.labels().aa();this.labels().Re().clip(a); -this.R(4096)}}};function aY(a,b){var c=a.sd,d=a.O.height,e=a.oh,f=a.Ye;return b>d-f||d==f?e:e+(d-f-b)/(d-f)*(c-e)}function VX(a){a=F(a);return 0>=a||!(isFinite(a)&&!isNaN(a))} -function bY(a){var b=a.ba(),c=b.ra(),d=a.O,e,f,h,k,l,m;e=b.K("height")/2;k=b.K("startY");l=b.K("height")+k;m=null;if(f=a.xf)0==c?(l-=f/2,ll&&(k=l-a.Pd)):(k+=f/2,l-=f/2,k>l&&(k=b.K("startY")+e,l=k+a.Pd));h=aY(a,k);c=a.b-h/2;e=c+h;h=aY(a,l);f=a.b-h/2;h=f+h;k=k+d.top;l=l+d.top;c=d.left+c;e=d.left+e;0a.df&&(m=l,l=a.df,h=aY(a,l),f=a.b-h/2,h=f+h);f=d.left+f;h=d.left+h;a.nc||(k=d.height-(k-d.top)+d.top,l=d.height-(l-d.top)+d.top,m=m?d.height-(m-d.top)+ -d.top:null,k=[l,l=k][0],c=[f,f=c][0],e=[h,h=e][0]);b.K("x1",c);b.K("x2",e);b.K("x3",f);b.K("x4",h);b.K("y1",k);b.K("y2",l);b.K("y3",m)}function Js(a,b,c,d){L(a.labels()).gn(b).aa().ja(!1);if(d&&a.J)for(var e in a.J)a.J.hasOwnProperty(e)&&a.J[e].stroke(SE(a.X,c))} -g.gC=function(){if(this.Xk().enabled()&&0l&&("leftCenter"==h||"center"==h||"rightCenter"==h)&&(p+c.height/2>f.top+f.height&& -(p=f.top+f.height-c.height/2),p-c.height/2a.labels.length){var b=a.Ca;b.cc.length&&(a.clear(),jj(b.cc,a))}else{for(var d,e,f=0,h=0,k=b=0,l=a.labels.length;kh.top+h.height&&(f=h.top+h.height-b);fd&&(d=f+5-d,d>k?(a.b+=k,d=a.b-h/2,d=c.left+d,b.K("labelWidthForced",d-5-e)):a.b+=d):ek?(a.b+=k,d=a.b-h/2,a=d-a.Qa,10>a&&(a=10),b.K("labelWidthForced", -a)):a.b+=d);else if(uY(a))if(d=a.b+h/2,d+=c.left,k=a.sd/2,k=c.width-(c.width-a.b)-k,sY(a)){if(0>e||e-5e||d>k?(a.b=a.b-k,d=a.b+h/2,d=d+c.left,b.K("labelWidthForced",f-5-d)):a.b=a.b-d}else f>c.left+c.width&&(d=f-(c.left+c.width),d>k?(a.b=a.b-k,a=c.left+c.width-e+k,10>a&&(a=10),b.K("labelWidthForced",a)):a.b=a.b-d)}}function fY(a){return Qd(a.labels().position())} -function vY(a,b,c,d){var e=a.O,f=b.ra(),f=a.data().K(f,"point").jb();b=gY(a,b,d);d=b.left;var h=b.top+b.height/2,k,f=f.top+f.height/2,l=hY(a,f);tY(a)?(d+=b.width,k=a.b-l/2,k=k+e.left,d>k&&5>Math.abs(f-h)&&(d=k-5)):uY(a)&&(k=a.b+l/2,k+=e.left,dMath.abs(f-h)&&(d=k+5));c.clear().moveTo(d,h).lineTo(k,f+.001)}function eY(a,b,c){var d=b.ra();if(a.J[d])vY(a,b,a.J[d],c);else{var e=cD(a.$a);a.J[d]=e;e.stroke(a.X);vY(a,b,e,c)}} -g.Oa=function(a){this.La||(this.La=new DN,P(this.La,this.fY,this),this.La.Ya(this),O(this,this.La));return n(a)?(!v(a)||"enabled"in a||(a.enabled=!0),this.La.U(a),this):this.La};g.ac=function(a){this.hc||(this.hc=new DN,O(this,this.hc));return n(a)?(!v(a)||"enabled"in a||(a.enabled=!0),this.hc.U(a),this):this.hc};g.yc=function(a){this.jc||(this.jc=new DN,O(this,this.jc));return n(a)?(!v(a)||"enabled"in a||(a.enabled=!0),this.jc.U(a),this):this.jc};g.fY=function(a){X(a,J)&&this.B(8192,J)}; -g.zf=function(){return this.Tc(!1,$b)};g.Vf=function(){return PE(this.zf())}; -function wY(a,b){b=wd(b);var c=a.O,d=a.ba(),e=d.K("point").jb(),f=d.K("x1"),h=d.K("y1");switch(b){case "leftTop":h=d.K("y1");f=d.K("x1");break;case "leftCenter":h+=e.height/2;d=hY(a,h);f=a.b-d/2;f=f+c.left;break;case "leftBottom":h+=e.height;f=d.K("x3");break;case "centerTop":f=a.b;f+=c.left;break;case "center":h+=e.height/2;f=a.b;f+=c.left;break;case "centerBottom":h+=e.height;f=a.b;f+=c.left;break;case "rightTop":d=hY(a,h);f+=d;break;case "rightCenter":h+=e.height/2;d=hY(a,h);f=a.b+d/2;f+=c.left; -break;case "rightBottom":f=d.K("x4"),h+=e.height}return{value:{x:f,y:h}}}function hY(a,b){var c=a.O;return a.nc?aY(a,b-c.top):aY(a,c.height-b+c.top)} -function YX(a,b){var c=a.ba(),d=!!(b&Hb),e=!d&&!!(b&H),f=c.get("marker"),h=c.get("hoverMarker"),c=c.get("selectMarker"),k=a.ba().ra(),l;l=d?a.yc():e?a.ac():a.Oa();var m=GN(a.Oa(),k),p=f&&n(f.enabled)?f.enabled:null,q=h&&n(h.enabled)?h.enabled:null,t=c&&n(c.enabled)?c.enabled:null;if(e||d?e?null===q?ha(a.ac().enabled())?null===p?a.Oa().enabled():p:a.ac().enabled():q:null===t?ha(a.yc().enabled())?null===p?a.Oa().enabled():p:a.yc().enabled():t:null===p?a.Oa().enabled():p){p=f&&f.position?f.position: -null;q=h&&h.position?h.position:null;t=c&&c.position?c.position:null;p=e&&(q||a.ac().position())||d&&(t||a.yc().position())||p||a.Oa().position();p=wY(a,p);m?m.ic(p):m=a.Oa().add(p,k);var u={},p="position anchor offsetX offsetY type size fill stroke enabled".split(" ");f&&aj(p,function(a){a in f&&(u[a]=f[a])});p=f&&f.type;k=n(p)?p:a.Oa().Ua()||a.Qv().gi(k);p=h&&h.type;p=n(p)?p:a.ac().Ua();q=c&&c.type;q=n(q)?q:a.yc().Ua();u.type=d&&n(q)?q:e&&n(p)?p:k;k=f&&f.fill;k=n(k)?k:EN(a.Oa())||a.zf();p=h&&h.fill; -p=n(p)?p:EN(a.ac());q=c&&c.fill;q=n(q)?q:EN(a.yc());u.fill=d&&n(q)?q:e&&n(p)?p:k;k=f&&f.stroke;k=n(k)?k:FN(a.Oa())||a.Vf();p=h&&h.stroke;p=n(p)?p:FN(a.ac())||a.Vf();q=c&&c.stroke;q=n(q)?q:FN(a.yc())||a.Vf();u.stroke=d&&n(q)?q:e&&n(p)?p:k;m.mf();JN(m,l);m.Hb(u,e?h:c);m.aa()}else m&&m.clear()}g.zb=function(a){this.Ib||(this.Ib=new NQ(8),this.Ib.Ca(this),O(this,this.Ib),P(this.Ib,this.gY,this));return n(a)?(this.Ib.U(a),this):this.Ib};g.gY=function(){this.zb().aa()}; -g.dA=function(a){if(!a||a.target!=this.of()){var b=this.zb(),c=this.Pb();a&&(eR(b,a.clientX,a.clientY,c),this.pa("mousemove",this.dA))}};function cY(a){var b=a.zb();a.Ac("mousemove",a.dA);b.Cd()} -g.gb=function(){if(W(this,16384)){this.oa={};for(var a=this.data().ba(),b,c=0,d=Number.MAX_VALUE,e=-Number.MAX_VALUE,f=0;a.advance();)b=a.get("value"),VX(b)?c++:(b=VX(b)?0:F(b),d=Math.min(b,d),e=Math.max(b,e),f+=b);var a=a.Jb()-c,h;0==a?d=e=f=h=void 0:h=f/a;this.oa.count=a;this.oa.min=d;this.oa.max=e;this.oa.sum=f;this.oa.average=h;this.R(16384)}};g.Pb=function(a){if(!this.ea||a)this.ea=new Re(this,["x","value","name"]);this.ea.If();return this.ea};g.li=function(){return this.Pb()}; -g.uk=function(a,b){for(var c=[],d=this.ba().reset(),e;d.advance();){d.get("x");e=d.ra();var f=d.get("legendItem")||{},h=null;A(b)&&(h=this.Pb(),h.Cm=this.Ue(e),h=b.call(h,h));z(h)||(h=String(n(d.get("name"))?d.get("name"):d.get("x")));h={enabled:!0,meta:{pointIndex:e,pointValue:d.get("value"),na:this},iconType:"square",text:h,iconStroke:this.Nc(!0,$b),iconFill:this.Tc(!0,$b),iconHatchFill:this.td(!0,$b)};li(h,f);h.sourceUid=qa(this);h.sourceKey=e;c.push(h)}return c};g.xo=function(){return!0}; -g.Kp=function(a,b){var c=a.nh();if(!a||null!=c||isNaN(c))if(c=IF(b.domTarget))c.na=this};g.zo=function(a,b){var c=a.nh();if(!a||null!=c||isNaN(c))if(c=IF(b.domTarget))c.na=this};g.yo=function(a,b){var c=a.nh();if(!a||null!=c||isNaN(c))if(c=IF(b.domTarget))c.na=this};g.Kd=function(){return null};g.Cc=function(a){return n(a)?(a=td(a),a!=this.Ja&&(this.Ja=a),this):this.Ja}; -g.N=function(){var a=QX.G.N.call(this);a.type="pyramid";a.data=this.data().N();a.labels=this.labels().N();a.hoverLabels=aS(this.Gb());a.selectLabels=aS(this.Ub());null===a.hoverLabels.enabled&&delete a.hoverLabels.enabled;null===a.selectLabels.enabled&&delete a.selectLabels.enabled;a.palette=this.Rv().N();a.hatchFillPalette=this.it().N();a.markerPalette=this.Qv().N();a.tooltip=this.zb().N();a.markers=this.Oa().N();a.hoverMarkers=this.ac().N();a.selectMarkers=this.yc().N();a.baseWidth=this.EB();a.overlapMode= -this.jt();a.pointsPadding=this.KD();a.connectorLength=this.bA();A(this.connectorStroke)&&(A(this.ef())?M(8,null,[this.Ua()+" connectorStroke"]):a.connectorStroke=T(this.ef()));A(this.fill)&&(A(this.fill())?M(8,null,[this.Ua()+" fill"]):a.fill=T(this.fill()));A(this.hoverFill)&&(A(this.Oc())?M(8,null,[this.Ua()+" hoverFill"]):a.hoverFill=T(this.Oc()));A(this.selectFill)&&(A(this.Od())?M(8,null,[this.Ua()+" selectFill"]):a.selectFill=T(this.Od()));A(this.stroke)&&(A(this.stroke())?M(8,null,[this.Ua()+ -" stroke"]):a.stroke=T(this.stroke()));A(this.hoverStroke)&&(A(this.Hc())?M(8,null,[this.Ua()+" hoverStroke"]):a.hoverStroke=T(this.Hc()));A(this.selectStroke)&&(A(this.Ad())?M(8,null,[this.Ua()+" selectStroke"]):a.selectStroke=T(this.Ad()));A(this.hatchFill)&&(A(this.Mb())?M(8,null,[this.Ua()+" hatchFill"]):a.hatchFill=T(this.Mb()));A(this.hoverHatchFill)&&(A(this.Uc())?M(8,null,[this.Ua()+" hoverHatchFill"]):a.hoverHatchFill=T(this.Uc()));A(this.selectHatchFill)&&(A(this.zd())?M(8,null,[this.Ua()+ -" selectHatchFill"]):a.selectHatchFill=T(this.zd()));return a}; -g.da=function(a,b){QX.G.da.call(this,a,b);this.EB(a.baseWidth);this.bA(a.connectorLength);this.ef(a.connectorStroke);this.data(a.data);this.it(a.hatchFillPalette);this.Qv(a.markerPalette);this.fill(a.fill);this.Oc(a.hoverFill);this.Od(a.selectFill);this.Mb(a.hatchFill);this.Uc(a.hoverHatchFill);this.zd(a.selectHatchFill);this.labels().U(a.labels);this.Gb().U(a.hoverLabels);this.Ub().U(a.selectLabels);this.stroke(a.stroke);this.Hc(a.hoverStroke);this.Ad(a.selectStroke);this.Oa().U(a.markers);this.ac().U(a.hoverMarkers); -this.yc().U(a.selectMarkers);this.jt(a.overlapMode);this.Rv(a.palette);this.KD(a.pointsPadding);"tooltip"in a&&DG(this.zb(),a.tooltip,b)};function qY(a){this.Ca=a;this.labels=[]}function rY(a,b){a.labels.push(b);a.Ca.nc?ic(a.labels,function(a,b){return a.ra()-b.ra()}):ic(a.labels,function(a,b){return b.ra()-a.ra()})}qY.prototype.clear=function(){this.labels.length=0}; -function pY(a,b){var c=0,d=0,e=null,f=null,h=null,k=a.Ca.state.De()|(b?hc(a.Ca.state,b.ra()):0);aj(a.labels,function(b){var m=b.ic().value,p=oY(a,b,k),q=a.y+c+d+p.height/2;if(e&&f&&h){var t=h.y+f.height/2+(e.offsetY()||0),u=q-p.height/2+(b.offsetY()||0);ua?-this.JU:this.IU),-100,100))};g.N=function(){var a=Bc.G.N.call(this);a.type=this.Ua();a.inverted=this.Fd();return a};g.da=function(a,b){Bc.G.da.call(this,a,b);this.Fd(a.inverted)}; -function dN(a,b){a=(a+"").toLowerCase();switch(a){case "log":case "logarithmic":return BY();case "lin":case "linear":return CY();case "date":case "datetime":case "dt":return DY();case "ordinal":case "ord":case "discrete":return EY();case "color":case "ordinalcolor":case "discretecolor":return FY();case "linearcolor":return GY();default:return null===b?null:b?EY():CY()}}Bc.prototype.inverted=Bc.prototype.Fd;Bc.prototype.startAutoCalc=Bc.prototype.Yf;Bc.prototype.finishAutoCalc=Bc.prototype.Uf;function HY(){Z.call(this);this.I=[];this.J=[];this.W=[];this.Y=[]}E(HY,Z);HY.prototype.za=Z.prototype.za|2;HY.prototype.wa=Z.prototype.wa|I|896;var ON=2,NN=3;g=HY.prototype;g.fi=null;g.sa=null;g.Eb=null;g.cb=null;g.dc=null;g.scale=function(a){if(n(a))return z(a)&&(a=IY(a)),this.ya!=a&&(this.ya&&uI(this.ya,this.PF,this),this.ya=a,P(this.ya,this.PF,this),this.B(388,J|2)),this;this.ya||(this.ya=CY(),P(this.ya,this.PF,this));return this.ya}; -function IY(a){a:{a=String(a).toLowerCase();switch(a){case "log":case "logarithmic":a="log";break a}a="linear"}switch(a){case "log":return BY()}return CY()}g.PF=function(a){X(a,2)&&this.B(388,J|2)};g.Xa=function(a){this.Eb||(this.Eb=new sU,this.Eb.Ya(this),P(this.Eb,this.LN,this),O(this,this.Eb));return n(a)?(!v(a)||"enabled"in a||(a.enabled=!0),this.Eb.U(a),this):this.Eb}; -g.labels=function(a){this.sa||(this.sa=new sU,this.sa.Ya(this),P(this.sa,this.LN,this),O(this,this.sa));return n(a)?(!v(a)||"enabled"in a||(a.enabled=!0),this.sa.U(a),this):this.sa};g.LN=function(){JY(this);this.B(384,J)};g.Tq=function(a){return n(a)?(this.cn!=a&&(this.cn=a,this.B(388,J|8)),this):this.cn};g.Uq=function(a){return n(a)?(this.dn!=a&&(this.dn=a,this.B(388,J|8)),this):this.dn}; -g.Za=function(a){this.dc||(this.dc=new LN,this.dc.Ya(this),this.dc.F=this,P(this.dc,this.MN,this),O(this,this.dc));return n(a)?(this.dc.U(a),this):this.dc};g.Ia=function(a){this.cb||(this.cb=new LN,this.cb.Ya(this),this.cb.F=this,P(this.cb,this.MN,this),O(this,this.cb));return n(a)?(this.cb.U(a),this):this.cb};g.MN=function(a){var b=0;X(a,8)&&(b=384,JY(this));X(a,J)&&(b|=256);this.B(b,J)};g.Tb=function(a){return n(a)?(a=null===a?a:Sk(F(a)||0),this.fc!=a&&(this.fc=a,this.B(388,J|8)),this):this.fc}; -g.Me=function(a){return n(a)?(a=null===a?a:Ac(F(a)||0,-360,360),this.O!=a&&(this.O=a,this.B(388,J|8)),this):this.O};g.ad=function(a){return n(a)?(a=null===a?a:MF(a),this.nb!=a&&(this.nb=a,this.B(388,J|8)),this):this.nb};g.Wv=function(a){return n(a)?(a=MF(a),this.g!=a&&(this.g=a,this.B(388,J|8)),this):this.g};g.width=function(a){return n(a)?(a=null===a?a:MF(a),this.lb!=a&&(this.lb=a,this.B(388,J)),this):this.lb}; -g.fill=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);k!=this.D&&(this.D=k,this.B(I,J));return this}return this.D};g.OF=function(a){return n(a)?(a=Kd(a,this.b),this.b!=a&&(this.b=a,this.B(388,J)),this):this.b};g.Af=function(){return this.$};g.bh=function(){return null!=this.fc?this.fc+EM:this.o.bh()};function JY(a){a.I.length=0;a.J.length=0;a.W.length=0;a.Y.length=0;a.F=null} -function KY(a,b,c){var d=b?a.Ia():a.Za();b=b?a.labels():a.Xa();b=Od(b.position());var e=a.$;"outside"==b?(e+=a.eg/2+c,d.enabled()&&("outside"==d.position()?e+=d.j:"center"==d.position()&&(e+=d.j>a.eg?(d.j-a.eg)/2:0))):"inside"==b&&(e-=a.eg/2+c,d.enabled()&&("inside"==d.position()?e-=d.j:"center"==d.position()&&(e-=d.j>a.eg?(d.j-a.eg)/2:0)));return e} -function LY(a,b,c){var d=c?a.W:a.Y;if(n(d[b]))return d[b];var e=c?a.labels():a.Xa(),f=e.Te(b),h=a.ya;c=(c?h.Ia():h.Za()).get()[b];a=new Ce(a,b,c);c={value:{angle:0,radius:0}};d[b]=f?e.measure(f):e.measure(a,c);return d[b]} -function MY(a,b,c){var d=c?a.I:a.J;if(n(d[b]))return d[b];var e=LY(a,b,c),f=c?a.labels():a.Xa(),h=a.ya,k=(c?h.Ia():h.Za()).get()[b],l=h.transform(k),k=(h=f.Te(b))&&n(h.Ii())?h.Ii():f.Ii(),m=h&&n(h.offsetX())?h.offsetX():f.offsetX(),p=h&&n(h.offsetY())?h.offsetY():f.offsetY();c=KY(a,c,k?e.height:0);c+=U(p,a.o.Af());var q=a.bh(),p=n(a.O)?a.O:a.o.Me(),l=Sk(q+l*p),l=l+U(m,p),p=Ua(l),m=a.o.vb+c*Math.cos(p),p=a.o.sb+c*Math.sin(p);c=h&&n(h.rotation())?h.rotation():f.rotation();k&&(c+=0l?l+270:l+ -90);a=h&&n(h.anchor())?h.anchor():k?f.anchor():NY(a,l);e.left=m;e.top=p;f=PF(new Q(0,0,e.width,e.height),a);e.left-=f.x;e.top-=f.y;a=PF(e,a);a=wl(Ua(c),a.x,a.y);e=lA(e);a.transform(e,0,e,0,4);return d[b]=e} -function NY(a,b){b=Sk(b);var c="center",d=Od(a.labels().position());"inside"==d?0==b?c="rightCenter":0b?c="rightBottom":90==b?c="centerBottom":90b?c="leftBottom":180==b?c="leftCenter":180b?c="leftTop":270==b?c="centerTop":270b?c="leftTop":90==b?c="centerTop":90b?c="rightTop":180==b?c="rightCenter":180b?c="rightBottom":270==b?c="centerBottom":270=oa&&this.Tq()||1<=oa&&this.Uq()?D=pa:0oa&&(D=pa)),pa++;N<=Jc&&ma=oa||1<=oa?(-1==u&&(u=ob),G=ob,w.push(!0)):0oa?(-1==u&&(u=ob),G=ob,w.push(!0)):w.push(!1))):w.push(!1),ob++)}od||(w=!1);xa||(q=!1);this.F={labels:q,Xa:w};this.R(512)}q=this.F}v(q)?(t=q.labels,x=q.Xa):(t=!q,x=!q);w=q=0;for(var xb;qf?h+90-t:h+270+t,0>f?-90+t:90-t);b.xd(c,d,e+a.b,e+a.b,h,f,!0);b.xd(q,m,a.b,a.b,k,0>f?-90+t:90-t,!0)}else if(t=360-Math.abs(f)-90,0f?h+90:h+270,0>f?-90:90),b.xd(c,d,e+a.b,e+a.b, -h,f,!0),b.xd(q,m,a.b,a.b,k,0>f?-90:90,!0),b.xd(c,d,a.b+a.la,a.b+a.la,0>f?k-45:k+45,0>f?-t:t,!0);else{var t=Ua(0>f?k-45:k+45),u=c+Math.cos(t)*(a.b+a.la),w=d+Math.sin(t)*(a.b+a.la),t=Ua(0>f?k-90:k+90),x=q+Math.cos(t)*a.b,y=m+Math.sin(t)*a.b,t=Ua(0>f?k-45+360-f+90:k+45+360-f-90),B=c+Math.cos(t)*(a.b+a.la),D=d+Math.sin(t)*(a.b+a.la),t=Ua(0>f?h+90:h-90),G=p+Math.cos(t)*a.b,K=l+Math.sin(t)*a.b,t=w-y,N=x-u,u=u*y-x*w,w=D-K,x=G-B,D=B*K-G*D,B=(N*D-x*u)/(t*x-w*N),t=(u*w-D*t)/(t*x-w*N);Math.sqrt(Math.pow(B-c, -2)+Math.pow(t-d,2))f?h+90:h+270,0>f?-90:90),b.xd(c,d,e+a.b,e+a.b,h,f,!0),b.xd(q,m,a.b,a.b,k,0>f?-90:90,!0),b.lineTo(B,t)):b.xd(c,d,e+a.b,e+a.b,0,360)}b.close()} -function VY(a,b){a.Y?a.Y.clear():a.Y=a.I.path();a.Ma=1;a.b=U(a.Va,a.Ma);a.Ja=a.Ma-a.b;UY(a,a.Y,0,0,a.Ja);var c=a.Y.jb(),d,e,f;d=Math.min(b.width/c.width,b.height/c.height);e=b.left+b.width/2-c.width/2*d;f=b.top+b.height/2-c.height/2*d;a.Ma=d;a.vb=e+Math.abs(c.left)*d;a.sb=f+Math.abs(c.top)*d;a.b*=a.Ma;a.Ja=a.Ma-a.b;a.Cb=new Q(e,f,c.width*d,c.height*d);new Q(e+a.b,f+a.b,c.width*d-a.b,c.height*d-a.b)}function OY(a){return a.Cb?a.Cb.clone():Kl(0,0,0,0)} -g.vU=function(a){a.ma(OY(this));a.Bm(this.Af());a.ke(this.vb);a.ae(this.sb);a.Tb(this.bh());a.Me(this.Me())}; -g.Ki=function(a){var b,c,d,e,f=lj(this.X,this.La,this.ga,this.ea);xI(this.F,this.J,this.W,f);if(W(this,262144)){var h=this.ba(),k=!1;aj(this.J,function(a){a.scale().Yf();k=k||a.scale().Ge()});if(k)for(b=0,c=f.length;bp)p=S,w=e,D=l;if(isNaN(q)||V>q)q=V,x=e,G=l}h=f=e=c=0;d=Math.round(d);m=Math.round(m);p=Math.round(p);q=Math.round(q);d< -b.fb()&&(y=180>y?Math.sin((y-90)*Math.PI/180):Math.cos((y-180)*Math.PI/180),c=Math.round((b.fb()-d)/y));mB?Math.sin((B-180)*Math.PI/180):Math.cos((B-270)*Math.PI/180),e=Math.round((b.qb()-m)/y));p>b.Wa()&&(y=360>D?Math.sin((D-270)*Math.PI/180):Math.cos(D*Math.PI/180),f=Math.round((p-b.Wa())/y));q>b.Ra()&&(y=90>G?Math.sin(G*Math.PI/180):Math.cos((G-90)*Math.PI/180),h=Math.round((q-b.Ra())/y));d=Math.max(c,e,f,h);if(0a.nb){m=a.nb=0;if(a.labels().enabled()){var m=NaN, -aa;d==c?(m=t,aa=!0):d==e?(m=u,aa=!1):d==f?(m=w,aa=!0):d==h&&(m=x,aa=!1);t=ZY(a,m);m=aa?t.width:t.height}K=a.Qf.stroke().thickness?a.Qf.stroke().thickness:1;a.mt=Math.min(b.width,b.height)/2-m-K}XY(a)}}b=a.nb+d;aa=2*b;a.tb=new JJ(a.vb-b,a.sb-b,aa,aa)}else a.tb=new JJ(a.vb-a.nb,a.sb-a.nb,2*a.nb,2*a.nb)}else a.tb=new JJ(0,0,0,0);a.R(4)}} -g.rc=function(){var a=this.ma();return a?this.enabled()?(YY(this),a=this.Qf.stroke().thickness?this.Qf.stroke().thickness:1,a=Math.floor(a/2),new Q(this.vb-this.nb+a,this.sb-this.nb+a,2*(this.nb-a),2*(this.nb-a))):a:new Q(0,0,0,0)};function $Y(a,b){var c=b.width,d=b.height,e={x:0,y:0};0==a?e.x+=c/2:0a?(e.x+=c/2,e.y+=d/2):90==a?e.y+=d/2:90a?(e.y+=d/2,e.x-=c/2):180==a?e.x-=c/2:180a?(e.y-=d/2,e.x-=c/2):270==a?e.y-=d/2:270a&&(c=b,b=a,a=c),c=[b,a])):c=null;this.O=!1;this.b=c;fZ(this);this.va(2);return this}return this.b};g.UU=function(a){return n(a)?(this.D=F(a),fZ(this),this.va(2),this):this.D};g.gQ=function(a){if(n(a)){this.o=r(a)?a.slice():[];for(a=this.j.length=0;a=a.I&&--d;){b.add(c);f=b.getTime();if(iZ(a,f,e))return f;e=f}return d&&a.g?lZ(a.g,b.getTime(),c):NaN} -function jZ(a,b){var c=Qj.prototype.kL.call(b),d=a.F[c];if(n(d))return d;for(var d=null,e=0;ea.b[1])&&d.push([b.getTime(),b.getTime()+864E5-6E4]));!d&&a.g&&(d=jZ(a.g,b));d||(d=[]);return a.F[c]=d}function fZ(a){a.F={};a.J=null;a.I=null}g.uS=function(a){X(a,2)&&!this.b&&fZ(this)}; -function gZ(a){var b=a.isWorking;this.o=n(b)?!b:!1;b=ve(a.each);switch(b){case "year":var c=a.on,d=a.from,e=a.to;this.J=this.W2;(c=RR(c,"dd.MM",bZ))?(this.D=this.VJ,this.b=new Vj(2E3,c.getUTCMonth(),c.getUTCDate()),e=mZ(d,e),this.F=e[0],this.j=e[1]):(this.D=this.WT,this.b=null,c=(c=RR(d,"dd.MM",bZ))?new Vj(c):cZ,this.F=new Vj(2E3,c.getUTCMonth(),c.getUTCDate()),c=(c=RR(e,"dd.MM",bZ))?new Vj(c):dZ,this.j=new Vj(2E3,c.getUTCMonth(),c.getUTCDate()),this.j.add(eZ));break;case "week":nZ(this,a.on,a.from, -a.to);break;case "day":nZ(this,NaN,a.from,a.to);break;default:c=a.on,d=a.from,e=a.to,this.J=this.xL,(c=RR(c))?(this.D=this.VJ,this.b=new Vj(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),e=mZ(d,e),this.F=e[0],this.j=e[1]):(this.D=this.WT,this.b=null,c=(c=RR(d))?new Vj(c):cZ,this.F=new Vj(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),c=(c=RR(e))?new Vj(c):dZ,this.j=new Vj(c.getUTCFullYear(),c.getUTCMonth(),c.getUTCDate()),this.j.add(eZ))}"none"==b?this.b?(this.I=this.b.clone(),this.g=this.b.clone(), -this.g.add(eZ)):(this.I=this.F.clone(),this.g=this.j.clone()):(this.I=(b=RR(a.starts))?new Vj(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()):cZ,(b=RR(a.ends))?(this.g=new Vj(b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()),this.g.add(eZ)):this.g=dZ)}function nZ(a,b,c,d){a.J=a.X2;a.D=a.VJ;b=Math.min(Fb(b,NaN,!0),6);a.b=isNaN(b)?null:b;b=mZ(c,d);a.F=b[0];a.j=b[1]}g=gZ.prototype;g.xL=function(a){return a.getTime()>=this.I.getTime()&&a.getTime()<=this.g.getTime()}; -g.X2=function(a){return this.xL(a)&&(null===this.b||(a.CC()+6)%7==this.b)};g.W2=function(a){if(!this.xL(a))return!1;if(this.b)return a.getUTCMonth()==this.b.getUTCMonth()&&a.getUTCDate()==this.b.getUTCDate();var b=a.getUTCFullYear();a=a.getTime();var c=this.F.clone();c.$I(b);var d=this.j.clone();d.$I(b);return a>=c.getTime()&&a<=d.getTime()}; -g.VJ=function(a,b){for(var c=this.F,d=b.getTime()+36E5*c[0]+6E4*c[1],c=this.j,e=b.getTime()+36E5*c[0]+6E4*c[1],f=[],h=0;(c=a[h])&&c[1]e)this.o||f.push([d,e]);else{this.o?(c[0]m)){var D=n(B.top)? -B.top:f.top,G,K=u,N=f.data,S=B;G=$b;K.D||(K.D=HT(["stroke"],2));G=K.D(K,N,S,G);N=vg(G);S=t/2+N/2;K=cD(p);K.fill(MT(u,f.data,B));K.stroke(G);var V;G=u;var aa=f.data;V=B;var oa=$b;G.j||(G.j=HT(["hatchFill"],3));oa=(V=G.j(G,aa,V,oa))?cD(p):null;G=wg(w.wk(B.start)+q.left,t)+S;S=wg(w.wk(B.end+864E5)+q.left,t)-S;aa=wg(D/x*q.height+q.top+N/2,N);D&&aa++;N=wg((D+B.qs)/x*q.height+q.top-N/2,N);K.moveTo(G,aa).lineTo(S,aa).lineTo(S,N).lineTo(G,N).close();V&&(oa.fill(V),oa.stroke("none"),oa.moveTo(G,aa).lineTo(S, -aa).lineTo(S,N).lineTo(G,N).close());D=a++;B=u.Pb(B,f.data);K=new Q(G,aa,S-G,N-aa);N=f.data.label;S=u.labels();B?(G=S.Te(D),aa={value:{x:K.left,y:K.top}},G?(G.jf(B),G.ic(aa)):G=S.add(B,aa,D),G.mf(),G.Hb(N),G.width(K.width),G.height(K.height),G.clip(K),G.aa()):S.clear(D)}}}return a};function pZ(a){a.gb();return a.g} -g.gb=function(){var a,b;if(W(this,1)){this.b.length=0;a=this.Ta.ba();var c;if(!a.select(this.F)||!(c=a.get("activities"))||!r(c))return;for(a=0;am.getTime())var p=l,l=m,m=p;l=Date.UTC(l.getUTCFullYear(),l.getUTCMonth(),l.getUTCDate());m=Date.UTC(m.getUTCFullYear(),m.getUTCMonth(),m.getUTCDate());p=Fb(k.totalMinutes,NaN, -!1);f.push({start:l,end:m,qs:isNaN(p)?Fb(k.minutesPerDay,e,!1):p/((m-l)/864E5+1)})}}}b=f.length?{data:b,top:0,ZC:f}:null}else b=null;b&&this.b.push(b)}this.B(2);this.R(1)}if(W(this,2)){this.o={};this.g=0;this.D=!1;c=this.Ta.nc;for(a=0;aq.tq&&(this.D=!0),q.bottom>l&&(l=q.bottom))}k.top=l;k=l+m;for(h=e;h<=f;h++)this.o[h].bottom=k,c&&this.ga?4:Math.ceil(+a),this.Nn=this.Gi=null,this.va(2)),this):this.Vm}; -g.set=function(a){if(this.Gi!=a){this.Vm=NaN;this.pk=null;this.Gi=cf(a,function(a){return RR(a)});ic(this.Gi);for(var b=this.Gi[0],c=1,d=1;da||1this.g){var c=this.j-this.g;this.j=Math.max(this.g,b);this.g=Math.min(this.j+c,a)}}};g.KP=function(a){n(a)&&(a=Dc(a),this.O!=a&&(this.O=a,this.I=NaN,this.b=!1,this.va(4)));return this.O}; -g.JP=function(a){n(a)&&(a=Dc(a),this.J!=a&&(this.J=a,this.F=NaN,this.b=!1,this.va(4)));return this.J};g.MP=function(a){n(a)&&(a=Dc(a),this.$!=a&&(this.$=a,this.I=NaN,this.b=!1,this.va(4)));return this.$};g.LP=function(a){n(a)&&(a=Dc(a),this.ua!=a&&(this.ua=a,this.F=NaN,this.b=!1,this.va(4)));return this.ua};g.rB=function(a){return n(a)?(a=+a||0,this.Y!=a&&(this.Y=a,this.I=NaN,this.b=!1,this.va(4)),this):this.Y}; -g.qB=function(a){return n(a)?(a=+a||0,this.W!=a&&(this.W=a,this.F=NaN,this.b=!1,this.va(4)),this):this.W};g.nn=function(a,b){var c=Dc(a),d=DZ(this),e=d.min,d=d.max;if(b.F||b.D){if(c<=e)return FZ(this,a,b);if(c>e&&c=d)return FZ(this,a,b,!0)}else return d=864E5*b.b+36E5*b.j+6E4*b.o+1E3*b.g,c<=e?(e=Math.floor((e-c)/d)*d,c+=e):(e=Math.ceil((c-e)/d)*d,c-=e),FZ(this,c,b);return[]}; -function FZ(a,b,c,d,e){b=new Vj(RR(b));var f=DZ(a);a=f.min;var f=f.max,h=[],k=!1,l=!1,m;if(d)for(c=c.I(-1);!k||!l;)d=Dc(b),m=b.clone(),m.add(c),b=Dc(m),k?ec(h,d,0):ba.max&&(d=a.max,c=d-b);cc&&(b-=c,c+=b,b=c-b);return a.b[c]-(a.b[b-1]||0)}function SZ(a,b){var c=bc(a.b,b);return 0<=c?c:~c}g.data=function(a){return n(a)?(this.j!=a&&(a instanceof dL||a instanceof $K)&&(this.j&&uI(this.j,this.iO,this),this.j=a,P(this.j,this.iO,this),this.fa=this.j.pu(),this.fa.$U(this.eZ),this.W&&this.W.scale().reset(),this.B(64,2)),this):this.j}; -g.Zi=function(a){return n(a)?(this.O!=a&&(this.O=a,this.B(256,2)),this):this.O};g.Ef=function(a){return n(a)?(isNaN(a)||(this.g=a,this.O=0,this.D=NaN,this.B(256,2)),this):this.g};g.mi=function(a){return n(a)?(isNaN(a)||(this.D=a,this.g=NaN,this.B(256,2)),this):this.D};function TZ(a,b){return n(b)?(a.I!=b&&(a.I=b,a.B(256,2)),a):a.I}function UZ(a,b){return n(b)?(a.Ba!=b&&(a.Ba=b,a.B(128,2)),a):a.Ba}function VZ(a,b){n(b)&&a.ga!=b&&(a.ga=b,a.B(256,2))} -function WZ(a,b){n(b)&&a.W!=b&&(a.W=b,a.B(256,2))} -function XZ(a){if(a.yd){if(W(a,64)){a.Ga=0;a.J=NaN;a.$=NaN;L(a.j);for(var b=0,c=a.j.ec();b=b?(a.g=0,a.O=0,a.D=a.F.length-1):(isNaN(a.g)&&isNaN(a.D)&&(a.g=0),isNaN(a.g)? -(b=RZ(a,0,a.D),bc-a.I)a.mi(a.b.length-1);else{var c=SZ(a,b),d=b-(c?a.b[c-1]:0);a.Ef(c).Zi(d)}a.ja(!0)}}function b_(a,b){L(a.j);var c=a.j.pu();for(c.hT(a.t6);c.advance();)c.b.K("collapsed",b);a.j.ja(!0)}g.N=function(){var a=JZ.G.N.call(this);a.isResourceChart=this.o;a.treeData=this.data().N();a.verticalOffset=this.Zi();isNaN(this.Ef())?isNaN(this.mi())||(a.endIndex=this.mi()):a.startIndex=this.Ef();return a}; -g.da=function(a,b){JZ.G.da.call(this,a,b);this.o=a.isResourceChart;"treeData"in a&&this.data(eL(a.treeData));this.Zi(a.verticalOffset);"startIndex"in a?this.Ef(a.startIndex):"endIndex"in a&&this.mi(a.endIndex)};function c_(){Z.call(this);this.j=this.ya=this.g=this.Ea=null;this.F=Array(3);var a=new d_(this);a.P(e_(this));O(this,a);P(a,this.MJ,this);this.F[0]=a;a=new d_(this);a.P(e_(this));O(this,a);P(a,this.MJ,this);this.F[1]=a;a=new d_(this);a.P(e_(this));O(this,a);P(a,this.MJ,this);this.F[2]=a}E(c_,lO);g=c_.prototype;g.wa=lO.prototype.wa|64|I;function e_(a){a.g||(a.g=BC(),O(a,a.g),a.j=a.g.rect(),a.j.stroke(null),O(a,a.j));return a.g}g.fz=function(a){return n(a)?(this.F[0].U(a),this):this.F[0]}; -g.oy=function(a){return n(a)?(this.F[1].U(a),this):this.F[1]};g.iy=function(a){return n(a)?(this.F[2].U(a),this):this.F[2]};g.MJ=function(a){var b=0;X(a,J)&&(b|=64);X(a,32768)&&(b|=4);this.B(b,J)};g.lO=function(a){X(a,4)&&this.B(64,J)};g.scale=function(a){return n(a)?(this.ya!=a&&(this.ya&&uI(this.ya,this.lO,this),this.ya=a,P(this.ya,this.lO,this),this.B(64,J)),this):this.ya};g.kO=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.D!=k&&(this.D=k,this.B(I,J));return this}return this.D}; -g.SS=function(a){if(n(a)){var b=Pc.apply(null,arguments);this.o!=b&&(this.o=b,this.B(I|4,J));return this}return this.o}; -g.aa=function(){if(this.Kb()){var a=this.P(),b=a?a.Ha():null,c=b&&!b.Fe();c&&b.qf();var d,e;e=0;this.b||(this.b=e_(this).path(),this.b.fill(null).stroke(null),O(this,this.b));W(this,2)&&(e_(this).parent(a),this.R(2));if(W(this,4)){this.Ea=this.Rb();this.j.pg(this.Ea);var f=-1,a=0;for(d=this.F.length;ad&&(d=xZ.length-1);e=IZ(a,yZ[d]);f=IZ(a,zZ[d],yZ[d]);a=IZ(a,AZ[d],zZ[d]);f=[e,f,a];a=0;for(d=this.F.length;a=k)k=t;else var l=this.Ea.left,u=this.Ea.width,k=t+(k-h)/2,k=kl+u?Math.max(l+u-h,t):k;k=this.labels().add(f,{value:{x:k,y:this.Ea.top}});L(k);m=new Q(m+q/2,this.Ea.top,p-m-q,this.Ea.height);k.clip(m);k.height(this.Ea.height);k.ja(!1);k.aa()}this.labels().ja(!1);this.labels().aa()}W(this,8)&&this.R(8);e&&d.nf()}return this};g.remove=function(){f_(this).parent(null)}; -g.N=function(){var a=d_.G.N.call(this);a.tileFill=T(this.I);a.tilesSeparationStroke=T(this.g);a.labels=this.labels().N();return a};g.da=function(a){d_.G.da.call(this,a);this.QU(a.tileFill);this.RU(a.tilesSeparationStroke);this.labels(a.labels)};c_.prototype.backgroundFill=c_.prototype.kO;c_.prototype.levelsSeparationStroke=c_.prototype.SS;c_.prototype.topLevel=c_.prototype.fz;c_.prototype.midLevel=c_.prototype.oy;c_.prototype.lowLevel=c_.prototype.iy;d_.prototype.tileFill=d_.prototype.QU; -d_.prototype.labels=d_.prototype.labels;d_.prototype.tilesSeparationStroke=d_.prototype.RU;function g_(a,b){Z.call(this);this.o=this.qz=null;this.g=this;this.$a=!0;this.b=null;a&&a instanceof JZ?(this.b=a,this.$a=!1):h_(this,b);this.ka=null;this.Sa=1;this.Np=this.oh=this.oz=this.aj=this.jk=this.tg=this.xf=this.pz=this.Gl=this.O=this.Qn=this.Ye=null;this.Va=45;this.NL=this.Ma=0;this.df=this.yk=this.nc=this.bi=null;this.wb=[];this.ub=-1;this.J=null;this.Tn=this.eo=0;this.gg=this.de=!1;this.F=null;this.altKey=!1;this.Ka=null;this.ib=this.ob=0;this.ea=!0;this.fa=!1;this.Ib=this.D=null;this.QE= -!1;NL(this,this,this.tS,this.v0,this.u0,this.tS,this.r5)}E(g_,lO);g=g_.prototype;g.wa=lO.prototype.wa|I|192;function i_(a){var b=a.K("actualStart");a=a.K("actualEnd");return n(b)&&(!isNaN(b)&&!n(a)||b==a)}g.Pb=function(a,b,c){this.D||(this.D=new He(this.b.o));this.D.b=a;this.D.j=b;this.D.g=c;this.D.If();return this.D}; -g.u0=function(a){if(!this.QE)if(this.ea)if((a=this.kn(a))&&!this.g.altKey){var b=ji(a);b.type="rowMouseUp";var b=this.g.dispatchEvent(b),c=this.g.dispatchEvent(a);b&&c&&this.g.aU(a)}else this.g.xs(a);else this.ea=!0;this.QE=!1};g.ZV=ea;g.$V=ea;g.GM=ea;g.HM=ea;g.tS=function(a){a=this.kn(a);this.GM(a);a&&this.ea&&this.g.dispatchEvent(a)&&this.g.dU(a)}; -g.r5=function(a){switch(a.type){case "dblclick":this.ea?(a=this.kn(a))&&this.g.dispatchEvent(a)&&this.g.bU(a):this.ea=!0;break;case "mousedown":case "touchstart":this.cP(a);break;case "mouseup":case "touchend":a=this.kn(a);this.HM(a);this.ea&&a&&this.g.dispatchEvent(a)&&this.g.GK(a);this.zb().Cd();break;case "contextmenu":this.g.dispatchEvent(a)}};g.v0=function(a){this.ea&&(a=this.kn(a))&&this.g.dispatchEvent(a)&&this.g.eU(a)}; -g.cP=function(a){this.ea&&(a.preventDefault(),(a=this.kn(a))&&this.g.dispatchEvent(a)&&this.g.Cy(a))};g.aU=function(a){this.WD(a)};g.bU=function(a){if((a=a.item)&&a.ec()){var b=!a.K("collapsed");this.g.dispatchEvent({type:"rowcollapseexpand",item:a,collapsed:b})&&a.K("collapsed",b)}};g.dU=function(a){if(!this.gg){this.g.Ll(a.hoveredIndex,a.startY,a.endY);var b=this.zb(),c=this.g.Pb(a.item,a.period,a.periodIndex);eR(b,a.originalEvent.clientX,a.originalEvent.clientY,c)}}; -g.eU=function(){this.g.Ll();this.zb().Cd()};g.GK=ea;g.Cy=ea;g.YJ=ea;g.WD=function(a){this.ea&&j_(this,a.item)&&(a=ji(a),a.type="rowSelect",this.g.dispatchEvent(a))}; -g.kn=function(a){if(this.wb.length){var b=this.b.F,c=this.b.Ef(),d,e=a.type;switch(e){case "mouseout":e="rowMouseOut";0<=this.ub&&(d=b[c+this.ub]);break;case "mouseover":e="rowMouseOver";break;case "mousemove":case "touchmove":e="rowMouseMove";break;case "mousedown":case "touchstart":e="rowMouseDown";break;case "mouseup":case "touchend":e="rowMouseUp";break;case "click":e="rowClick";break;case "dblclick":e="rowDblClick"}var e={type:e,actualTarget:a.target,target:this,originalEvent:a},f=this.ka.top+ -this.Va+1,h=this.ka.top+dr(this.P().Ha().P()).y+this.Va;a=a.clientY-h;h=this.wb.length?this.wb[this.wb.length-1]:0;if(d)e.item=d;else{if(0>a||a>h)return null;d=bc(this.wb,a);var h=(this.ub=d=0<=d?d:~d)?this.wb[d-1]:0,f=f+h,k=f+(this.wb[d]-h-this.Sa);e.item=b[c+d];e.startY=f;e.endY=k;e.hoveredIndex=this.ub;e.index=c+d;e.itemHeightMouseRatio=(a-h)/(this.wb[d]-h)}return e}return null};g.sp=function(a){return n(a)?(this.fa!=a&&(this.fa=a,this.B(128,J)),this):this.fa}; -function k_(a){a.O||(a.O=BC(),ML(a,a.O,null,null,null,null,a.cP),O(a,a.O));return a.O}function l_(a){a.xf||(a.xf=BC(),a.xf.zIndex(30),O(a,a.xf));return a.xf}function m_(a){a.aj||(a.aj=BC(),a.aj.zIndex(35),O(a,a.aj));return a.aj}function n_(a){a.tg||(a.tg=BC(),a.tg.zIndex(40),O(a,a.tg));return a.tg}function o_(a){a.jk||(a.jk=BC(),a.jk.zIndex(45),O(a,a.jk));return a.jk}function p_(a){a.oh||(a.oh=BC(),a.oh.zIndex(50),O(a,a.oh));return a.oh} -function q_(a){a.Np||(a.Np=BC(),a.Np.zIndex(60),O(a,a.Np));return a.Np}function r_(a){a.bi||(a.bi=l_(a).path(),a.bi.stroke(null).zIndex(1),O(a,a.bi));return a.bi}function s_(a){a.nc||(a.nc=l_(a).path(),a.nc.stroke(null).zIndex(1),O(a,a.nc));return a.nc}function t_(a){a.yk||(a.yk=l_(a).path(),a.yk.stroke(null).fill(a.Ba).zIndex(2),O(a,a.yk));return a.yk}function u_(a){a.df||(a.df=l_(a).path(),a.df.stroke(null).fill(a.Zg).zIndex(3),O(a,a.df));return a.df} -function v_(a){a.Ye||(a.Ye=l_(a).path(),a.Ye.stroke(a.Qa).zIndex(4),O(a,a.Ye));return a.Ye}function w_(a){a.oz||(a.oz=o_(a).path(),O(a,a.oz));return a.oz}function x_(a){a.Qn||(a.Qn=l_(a).path(),a.Qn.zIndex(40),O(a,a.Qn));return a.Qn}g.VD=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.Lp!=k&&(this.Lp=k,this.Jp=this.Mp=null,this.B(I,J));return this}return this.Lp};g.bP=g_.prototype.VD; -g.VA=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.Mp!=k&&(this.Mp=k,this.B(I,J));return this}return this.Mp};g.yQ=g_.prototype.VA;g.UA=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.Jp!=k&&(this.Jp=k,this.B(I,J));return this}return this.Jp};g.xQ=g_.prototype.UA;g.vw=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.Ba!=k&&(this.Ba=k);return this}return this.Ba}; -g.ww=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.Zg!=k&&(this.Zg=k,this.B(I,J));return this}return this.Zg};g.gp=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.Fl!=k&&(this.Fl=k,this.B(I,J));return this}return this.Fl};g.sI=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.nz!=k&&(this.nz=k,this.B(I,J));return this}return this.nz};g.tI=function(a){if(n(a)){var b=Pc.apply(null,arguments);this.kk!=b&&(this.kk=b,this.B(I,J));return this}return this.kk}; -g.rI=function(a){if(n(a)){var b=Pc.apply(null,arguments);this.Ts!=b&&(this.Ts=b,this.B(I,J));return this}return this.Ts};g.nR=function(a){a.b instanceof nC&&!this.o&&(this.o=new y_(this.O,this),O(this,this.o),this.o.pa("drag",this.s0,!1,this),this.o.pa("end",this.r0,!1,this),this.o.Ej(a.bj))}; -g.s0=function(a){this.gg=!0;if(this.fa&&(this.ea=!1,this.g.Ll(),this.zb().Cd(),a=this.kn(a))){var b=a.item,c=a.itemHeightMouseRatio,d=a.startY,e=a.endY;this.F&&b&&b!=this.F&&!gL(b,this.F)?.2>c||.8c?d:e,void 0,"auto"):i_(b)?this.g.rp(void 0,void 0,"not-allowed"):this.g.rp(d,e,"auto"):this.g.rp(void 0,void 0,"not-allowed");this.ZV(a)}this.zb().Cd();this.QE=!0}; -g.r0=function(a){if(this.fa){a=this.kn(a);this.$V(a);if(a){var b=a.item,c=a.hoveredIndex,c=this.b.Ef()+c,d=this.b.F;a=a.itemHeightMouseRatio;this.F&&b&&b!=this.F&&!i_(b)&&!gL(b,this.F)&&(.2>a||.8a?a=d[c-1]:(a=b,b=d[c+1]),a&&b?(c=a.K("depth"),d=b.K("depth"),c==d?(c=b.getParent()||b.Cl(),a=c.Xd(b),b=this.F.getParent()||this.F.Cl(),b==c&&b.Xd(this.F)c,d=ZP(k),k=aQ(k),l=0==d&&1==k?!1:0k||0==d&&!l&&1!=k||1==k&&l&&0!=d);e&&(e=0>b,m=ZP(h),h=aQ(h),m=e?0==m&&1==h?f:0h||1==h&&0!=m||0==m&&f:0==m&&1==h?!1:0h||0==m&&1!=h);if(l||m)a.preventDefault(),this.xw(b,c)};g.T6=function(a){X(a,2)&&this.va(J)}; -g.w0=function(){this.zb().aa()};g.NG=ea;g.OG=ea;g.Om=function(a){return n(a)?(KZ(this.b,a),this):KZ(this.b)};function h_(a,b){a.b=new JZ(b);O(a,a.b);P(a.b,a.T6,a)} -function ZZ(a,b){b&&a.B(64);if(a.Kb()){var c=a.P(),d=c?c.Ha():null,e=d&&!d.Fe();e&&d.qf();var f,h;k_(a).ec()||(a.Gl=a.O.rect(),O(a,a.Gl),a.Gl.fill(a.Fl).stroke(null).zIndex(10),a.pz=a.O.rect(),O(a,a.pz),a.pz.fill(KE).stroke(null).zIndex(20),a.O.ab(l_(a)).ab(m_(a)).ab(n_(a)).ab(o_(a)).ab(p_(a)).ab(q_(a)),a.$a&&(f=$Z(a.b),P(f.P(q_(a)),function(a){X(a,8)?this.B(4,J):f.aa()},a),O(a,f)),h=a.Tm(),P(h.P(q_(a)),function(a){X(a,J)&&h.aa()},h),O(a,h),a.O.Zd("mousedown",a.nR,!1,a),a.O.Zd("touchstart",a.nR,!1, -a),a.DS());W(a,2)&&(a.O.parent(c),a.R(2));W(a,4)&&(a.ka=a.Rb(),a.O.clip(a.ka),a.Gl.pg(a.ka),a.pz.pg(a.ka),a.Ma=a.ka.width,c=a.ka.top+a.Va+.5,x_(a).clear().moveTo(a.ka.left,c).lineTo(a.ka.left+a.Ma,c),a.$a&&(f=$Z(a.b),c=f.Vt(),f.pb(a.ka.left+a.ka.width-c-1,a.ka.top+a.Hh()+c+1,c,a.ka.height-a.Hh()-2*c-2)),h=a.Tm(),c=h.Vt(),h.pb(a.ka.left+c,a.ka.top+a.ka.height-c-1,a.ka.width-2*c,c),a.de=!0,a.OG(),a.R(4));W(a,64)&&(a.zb().Cd(),a.de=!0,a.BT(),a.R(64));if(W(a,I)){a.Gl.fill(a.Fl);r_(a).fill(a.Mp||a.Lp); -s_(a).fill(a.Jp||a.Lp);u_(a).fill(a.Zg);var k;z(a.Qa)?k=a.Qa:v(a.Qa)&&a.Qa.color&&(k=a.Qa.color);k&&x_(a).stroke(k);v_(a).stroke(a.Qa);w_(a).fill(a.nz).stroke(a.kk);a.NG();a.R(I)}W(a,8)&&(k_(a).zIndex(a.zIndex()),a.R(8));W(a,128)&&(a.de=!0,a.R(128));a.aL();a.de&&(z_(a),a.AT(),a.de=!1);e&&d.nf();a.$a&&(A_(a),B_(a))}}g.DS=ea; -g.Ll=function(a,b,c){var d=!1,e=!1;if(n(a)&&n(b)&&n(c)){if(this.eo!=b||this.Tn!=c)this.ub=a,this.eo=b,this.Tn=c,d=0<=this.ub}else 0<=this.ub&&(this.ub=-1,this.Tn=this.eo=NaN),e=!0;d?t_(this).clear().fill(this.Ba).moveTo(this.ka.left,this.eo).lineTo(this.ka.left+this.ka.width,this.eo).lineTo(this.ka.left+this.ka.width,this.Tn).lineTo(this.ka.left,this.Tn).close():e&&t_(this).clear()}; -g.rp=function(a,b,c){var d=w_(this);n(a)?n(b)?d.clear().moveTo(this.ka.left,a).lineTo(this.ka.left+this.Ma,a).lineTo(this.ka.left+this.Ma,b).lineTo(this.ka.left,b).close().stroke(this.kk):d.clear().moveTo(this.ka.left,a).lineTo(this.ka.left+this.Ma,a).stroke(this.Ts):d.clear();n(c)&&Rl(ca.document.body,"cursor",c)}; -function A_(a){if(!a.qz){var b=k_(a).ia();b&&(a.qz=new Ar(b),np(a.qz,"mousewheel",a.mD,!1,a),np(window,"unload",function(){rp(a.qz,"mousewheel",a.mD,!1,this)}));np(document,"mousemove",a.mR,!1,a)}} -g.mR=function(a){var b=dr(this.P().Ha().P()),c=this.ka.top+b.y+this.Va+10,d=b.y+this.ka.height-10-10,b=b.x+this.ka.left+10,e=b+this.ka.width-10-10,f=a.clientX,h=a.clientY;this.ib=this.ob=0;if(fe)this.ob=f-b;if(hd)this.ib=h-c;var k=this;this.gg&&!this.Ka&&(this.Ka=setInterval(function(){k.YJ(a)},100))}; -function B_(a){a.g.LE||(a.g.LE=new C_(a.g,document),O(a,a.g.LE),np(a.g.LE,"key",function(a){18==a.keyCode&&(this.altKey=!0);(46==a.keyCode||a.metaKey&&8==a.keyCode)&&this.$w(a)},!1,a.g))}g.$w=function(){};g.BT=ea;g.AT=ea;g.remove=function(){this.O&&this.O.parent(null)};g.Dt=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments),h=$F(f);if(this.Qa!=f||h!=this.Sa)this.Qa=f,this.Sa=h,this.$a||UZ(this.b,h),this.B(64|I,J);return this}return this.Qa||"none"}; -function j_(a,b){return b&&b!=a.J?(L(a.b.data()),b.K("selected",!0),a.J&&a.J.K("selected",!1),a.J=b,a.b.data().ja(!1),a.B(128,J),!0):!1}g.aL=ea;g.xs=function(a){this.J&&this.b.data()&&(L(this.b.data()),this.J.K("selected",!1),this.J=null,this.b.data().ja(!1),this.g==this&&this.dispatchEvent({type:"rowSelect",actualTarget:a?a.target:this,target:this,originalEvent:a,item:null}),this.B(64,J))};g.data=function(a){var b=this.b.data();return n(a)?(a!=b&&a instanceof dL&&this.b.data(a),this):b}; -g.aa=function(){this.ka&&!this.ka.height&&this.ka.height||(this.ka=this.Rb());XZ(UZ(TZ(this.b,this.ka.height-this.Va-1),this.Sa));return this};g.mi=function(a){return n(a)?(this.b.mi(a),this):this.b.mi()};g.t0=function(){return this.b.F};g.Ef=function(a){return n(a)?(this.b.Ef(a),this):this.b.Ef()};g.Hh=function(a){return n(a)?(this.Va!=a&&(this.Va=a,this.ka||(this.ka=this.Rb()),this.$a&&TZ(L(this.b),this.ka.height-a-1).ja(!1),this.B(4,J)),this):this.Va};g.s9=g_.prototype.Hh; -g.zb=function(a){this.Ib||(this.Ib=new NQ(0),O(this,this.Ib),P(this.Ib,this.w0,this),this.Ib.fa=this);return n(a)?(this.Ib.U(a),this):this.Ib};g.Zi=function(a){return n(a)?(this.b.Zi(a),this):this.b.Zi()};g.ca=function(){g_.G.ca.call(this);rp(document,"mousemove",this.mR,!1,this)}; -g.N=function(){var a=g_.G.N.call(this);if(a.isStandalone=this.$a)a.controller=this.b.N(),a.defaultRowHeight=this.Om();a.backgroundFill=T(this.Fl);a.rowStroke=T(this.Qa);a.headerHeight=this.Va;a.headerHeight=this.Om();a.rowOddFill=T(this.Mp);a.rowEvenFill=T(this.Jp);a.rowFill=T(this.Lp);a.hoverFill=T(this.Ba);a.rowSelectedFill=T(this.Zg);a.editStructurePreviewFill=T(this.nz);a.editStructurePreviewStroke=T(this.kk);a.editStructurePreviewDashStroke=T(this.Ts);a.editing=this.fa;a.tooltip=this.zb().N(); -return a}; -g.da=function(a,b){g_.G.da.call(this,a,b);(this.$a="isStandalone"in a?a.isStandalone:"controller"in a)&&"controller"in a&&(h_(this),this.b.U(a.controller),this.Om(a.defaultRowHeight));this.gp(a.backgroundFill);this.Dt(a.rowStroke);this.VD(a.rowFill);this.VA(a.rowOddFill);this.UA(a.rowEvenFill);this.vw(a.hoverFill);this.ww(a.rowSelectedFill);"tooltip"in a&&DG(this.zb(),a.tooltip,b);this.Hh(a.headerHeight);this.sI(a.editStructurePreviewFill);this.tI(a.editStructurePreviewStroke);this.rI(a.editStructurePreviewDashStroke);this.sp(a.editing)}; -function y_(a,b){Dr.call(this,a.ia());this.b=b;this.y=this.x=0;Fr(this)}E(y_,Dr);y_.prototype.Wn=function(){this.deltaY=this.g=0};y_.prototype.yp=function(a,b){if(this.b.g.altKey||!this.b.fa){var c=this.x-a,d=this.y-b;this.x=a;this.y=b;this.b.xw(c,d)}};y_.prototype.reset=function(){this.y=this.x=0};function C_(a,b,c){zq.call(this,b,c);this.b=a}E(C_,zq);C_.prototype.TD=function(){C_.G.TD.call(this);this.b.altKey=!1};function D_(){dD.call(this);this.K={}}E(D_,hC);D_.prototype.I=null;function E_(a){g_.call(this,a);this.I=[];this.la=[];this.ga=null;this.Y=0;this.W={};VZ(this.b,this)}E(E_,g_);g=E_.prototype;g.wa=g_.prototype.wa|512; -function F_(a,b){if(!a.W[b])switch(b){case "directNumbering":a.W[b]={formatter:a.HI,width:50};break;case "text":a.W[b]={formatter:a.HI,width:170};break;case "financial":a.W[b]={formatter:a.i4,textStyle:{hAlign:"right"},width:90};break;case "percent":a.W[b]={formatter:a.j4,textStyle:{hAlign:"right"},width:50};break;case "dateCommonLog":a.W[b]={formatter:G_("dd/MMM/yyyy"),textStyle:{hAlign:"right"},width:90};break;case "dateIso8601":a.W[b]={formatter:G_("yyyy-MM-dd"),textStyle:{hAlign:"right"},width:90}; -break;case "dateUsShort":a.W[b]={formatter:G_("M/dd/yyyy"),textStyle:{hAlign:"right"},width:90};break;case "dateDmyDots":a.W[b]={formatter:G_("dd.MM.yy"),textStyle:{hAlign:"right"},width:90};break;default:a.W[b]={formatter:a.HI,width:90}}return a.W[b]}g.HI=function(a){return n(a)?a+"":""};g.i4=function(a){return n(a)?na(a)?a.toFixed(2).replace(/(\d)(?=(\d{3})+\.)/g,"$1,"):a+"":""};g.j4=function(a){return na(a)?Ll(100*a,2)+"%":n(a)?KF(a)?a:a+"%":""}; -function G_(a){return function(b){return na(b)?rk(new mk(a),new Vj(new Date(b))):n(b)?b+"":""}}g.dR=function(a){return n(a)?(this.Ob=a,this):this.Ob||{}};g.tJ=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.Ga!=k&&(this.Ga=k,this.B(I,J));return this}return this.Ga};function H_(a){a.ga||(a.ga=Pl(),l_(a).Ae(a.ga,0),a.ga.stroke(null),O(a,a.ga));return a.ga} -g.sC=function(a,b,c){for(var d=-1,e=0,f=this.I.length;ea.la.length){var e=new yQ;O(a,e);e.stroke(a.X);e.P(p_(a));P(e,function(){e.aa()},e);e.pa("splitterchange",va(a.c9,a,b-1));e.pa("dblclick",va(a.d9,a,b-1));a.la.push(e)}} -g.fP=function(a,b){var c,d,e=!1;c=F(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var f=this.I[c];f||(f=new J_(this),f.U(this.dR()),P(f,this.t3,this),O(this,f),e=!0);if(n(d))return f.U(d instanceof J_?d.N():d),f.enabled()&&f.P(n_(this)),this.I[c]=f,I_(this),this.B(512|I,J),this;e&&(d=c?1==c?170:90:90,e=c?1==c?"Name":"Column #"+c:"#",L(f),f.P(n_(this)).width(d).height("100%"),f.title().text(e),f.ja(!0),this.I[c]=f,I_(this),this.B(512|I,J));return f}; -g.c9=function(a,b){var c=b.target;c.Ea||(c.Ea=c.Rb());c=(new Q(Ll(c.Ea.left,1),Ll(c.Ea.top,1),Ll(Math.min(c.I,c.Ea.width-c.F),1),Ll(c.Ea.height,1))).width+20;this.sC(this.A8,this,a,c)};g.d9=function(a,b){this.sC(this.E3,this,a,b)};g.A8=function(a,b,c,d){c==b&&a.width(d)}; -g.E3=function(a,b,c,d){c==b&&(b=a.title(),c=b.height(),d.offsetY-this.ka.topthis.Ma&&(this.Y=0);this.Y=Ac(this.Y,0,Math.abs(this.ka.width-this.Ma));c=-this.Y;f=0;for(h=e.length;fa?(this.Rf=4,this.hi=6,this.qk=NaN):(this.hi=this.Rf=NaN,this.qk=+a),this.Pj=this.Hi=null,this.va(2)),this):this.qk}; -g.count=function(a,b){return n(a)?(this.Rf!=a&&(this.qk=NaN,this.Rf=Math.ceil(F(a)),this.hi=Math.ceil(F(b)),2<=this.Rf||(this.Rf=4),this.hi>=this.Rf||(this.hi=this.Rf),this.Pj=this.Hi=null,this.va(2)),this):[this.Rf,this.hi]};g.DB=function(a){return n(a)?(a=+a||0,this.mp!=a&&(this.mp=a,this.Pj=null,this.Hi||this.va(2)),this):this.mp};g.set=function(a){uj(this.Hi,a)||(this.qk=this.hi=this.Rf=NaN,this.Hi=Fc(a,0),pj(this.Hi),ic(this.Hi,EF),this.Pj=null,this.va(2));return this}; -g.get=function(){var a=R_(this),b="horizontal"==this.bc?this.ya.Wm:this.ya.Xm;return bj(a,function(a){a=b.call(this,parseFloat(a));return 0<=a&&1>=a},this.ya)};function R_(a){a.Hi?a=a.Hi:(a.ya.gb(),a=a.Pj);return a||[]} -function S_(a,b,c){a.Pj=null;var d=[b,c];if(!a.Hi){var e=[],f=a.qk;if(isNaN(f))for(var h=NaN,k=NaN,l=a.Rf;l<=a.hi;l++){var h=(c-b)/(l-1),m=Math.log(h),p=Math.pow(10,Math.floor(m*Math.LOG10E)),q=Math.pow(10,Math.ceil(m*Math.LOG10E)),t=hb.length)){var e=a.v2,f,h;n(c)?(f=b[0],h=b[1],e.call(a,f,h,c,h),f=1):f=0;c=b.length-1;n(d)&&c--;for(var k=f;k<=c-1;k++)f=b[k],h=b[k+1],e.call(a,f,h,f,h);n(d)&&(f=b[c],h=b[c+1],e.call(a,f,h,f,d))}} -g.v2=function(a,b,c,d){var e=this.qk;isNaN(e)&&(e=(d-c)/(this.Rf-1));e=Math.max(e,1E-7);c=this.Pj[this.Pj.length-1];b=Ll(b,7);for(a=Ll(a,7);a<=b;a=Ll(a+e,7))c!=a&&this.Pj.push(a),c=a};g.N=function(){var a=Q_.G.N.call(this);this.Hi?a.explicit=this.Hi:(this.Rf==this.hi?isNaN(this.Rf)||(a.count=this.Rf):(isNaN(this.Rf)||(a.minCount=this.Rf),isNaN(this.hi)||(a.maxCount=this.hi)),isNaN(this.qk)||(a.interval=this.qk));return a}; -g.Qe=function(a){var b=arguments;return r(b[0])?(this.set(b[0]),!0):tI.prototype.Qe.apply(this,b)};g.da=function(a,b){Q_.G.da.call(this,a,b);(this.Hi=a.explicit||null)&&aj(this.Hi,function(a,b,e){e[b]=parseFloat(a)});this.Rf=a.count||a.minCount||NaN;this.hi=a.count||a.maxCount||NaN;this.qk=a.interval||NaN;this.Hi?this.Rf=this.hi=this.qk=NaN:this.qk?this.Rf=this.hi=NaN:(this.Rf=Math.ceil(F(this.Rf)),this.hi=Math.ceil(F(this.hi)),2<=this.Rf||(this.Rf=4),this.hi>=this.Rf||(this.hi=this.Rf))}; -Q_.prototype.interval=Q_.prototype.w2;Q_.prototype.count=Q_.prototype.count;Q_.prototype.set=Q_.prototype.set;Q_.prototype.get=Q_.prototype.get;function U_(){pq.call(this);this.Ka=Number.MAX_VALUE;this.ga=-Number.MAX_VALUE;this.Ba=Number.MAX_VALUE;this.la=-Number.MAX_VALUE;this.af=Number.MAX_VALUE;this.Sa=-Number.MAX_VALUE;this.Qa=Number.MAX_VALUE;this.Va=-Number.MAX_VALUE;this.W=this.Y=this.X=this.ea=!0;this.fa=0;this.Ti=this.Lk=this.Hk=this.Ui=NaN;this.Ma=this.Ga=1;this.b=!1;this.Ja=0;this.I=this.ua=!1;this.$=null}E(U_,tI);g=U_.prototype;g.za=6;function V_(a,b){a.Ne=b;a.b=!1}function ws(a,b,c){a.ib=b;a.hb=c}g.Ua=function(){return"geo"}; -g.jb=function(){return this.$?this.$.clone():Kl(0,0,0,0)};g.pg=function(a){this.$=a;this.b=!1;return this};function As(a){a.g||a.gb();return a.g}g.No=function(a){this.$a||(this.$a=W_(this),this.$a.bc="horizontal");return n(a)?(this.$a.U(a),this):this.$a};g.vq=function(a){this.wb||(this.wb=W_(this),this.wb.bc="horizontal");return n(a)?(this.wb.U(a),this):this.wb};g.Qo=function(a){this.Ob||(this.Ob=W_(this),this.Ob.bc="vertical");return n(a)?(this.Ob.U(a),this):this.Ob}; -g.wq=function(a){this.ob||(this.ob=W_(this),this.ob.bc="vertical");return n(a)?(this.ob.U(a),this):this.ob};g.z2=function(a){X(a,2)&&(this.b=!1,this.va(2))};function W_(a){var b=new Q_(a);O(a,b);P(b,a.z2,a);return b}g.dl=function(a,b){if(0=this.F?this.Ik(a):(this.ea=b,this.o=a,this.b=!1,b?this.va(4):this.va(2));return this}this.gb();return this.o}; -g.Ik=function(a){if(n(a)){a=Ac(F(a),-180,180);var b=isNaN(a);if(b!=this.Y||!b&&a!=this.F)a<=this.o?this.Mk(a):(this.Y=b,this.F=a,this.b=!1,b?this.va(4):this.va(2));return this}this.gb();return this.F};g.Nk=function(a){if(n(a)){a=Ac(F(a),-90,90);var b=isNaN(a);if(b!=this.X||!b&&a!=this.j)a>=this.D?this.Jk(a):(this.X=b,this.j=a,this.b=!1,b?this.va(4):this.va(2));return this}this.gb();return this.j}; -g.Jk=function(a){if(n(a)){a=Ac(F(a),-90,90);var b=isNaN(a);if(b!=this.W||!b&&a!=this.D)a<=this.j?this.Nk(a):(this.W=b,this.D=a,this.b=!1,b?this.va(4):this.va(2));return this}this.gb();return this.D};g.Fd=function(a,b){if(n(a)||n(b)){var c=0;n(a)&&(r(a)&&(1this.Sa&&(this.Sa=c,this.b=!1),dthis.Va&&(this.Va=d,this.b=!1))}this.b||this.va(2);return this}; -g.nC=function(a){for(var b=arguments,c=0;cthis.ga&&(this.ga=d,this.b=!1);ethis.la&&(this.la=e,this.b=!1)}}; -g.Qk=function(){this.Bb&&(this.af=Number.MAX_VALUE,this.Sa=-Number.MAX_VALUE,this.Qa=Number.MAX_VALUE,this.Va=-Number.MAX_VALUE);this.cc=this.Ka;this.pf=this.ga;this.rg=this.Ba;this.kc=this.la;this.Ka=Number.MAX_VALUE;this.ga=-Number.MAX_VALUE;this.Ba=Number.MAX_VALUE;this.la=-Number.MAX_VALUE;this.b=!1;return this};g.Ge=function(){return this.ea||this.X||this.Y||this.W};g.Yf=function(a){this.Bb=n(a)?a:!0;this.Ja||this.Qk();this.Ja++;return this}; -g.Uf=function(a){this.Ja=Math.max(this.Ja-1,0);if(0==this.Ja){var b=this.cc!=this.Ka||this.pf!=this.ga||this.rg!=this.Ba||this.kc!=this.la;b&&(this.b=!1,a||this.va(2));a=b}else a=!0;return a}; -g.gb=function(){if(!this.b&&this.$){this.b=!0;var a=(this.Y?this.Sa:this.F)-(this.ea?this.af:this.o),b=(this.W?this.Va:this.D)-(this.X?this.Qa:this.j);this.ea&&(this.o=this.af-a*this.fa);this.Y&&(this.F=this.Sa+a*this.fa);this.X&&(this.j=this.Qa-b*this.fa);this.W&&(this.D=this.Va+b*this.fa);this.Ui=this.Ka;this.Lk=this.Ba;this.Hk=this.ga;this.Ti=this.la;var b=[this.o,this.j],c=[this.F,this.D],a=S_(this.No(),b[0],c[0]),b=S_(this.Qo(),b[1],c[1]);T_(this.vq(),R_(this.No()),a[2],a[3]);T_(this.wq(),R_(this.Qo()), -b[2],b[3]);this.Ga=this.Hk-this.Ui;this.Ma=this.Ti-this.Lk;this.de=this.F-this.o;this.ub=this.D-this.j;this.ratio=Math.min(this.$.height/this.Ma,this.$.width/this.Ga);this.J=(this.$.width-this.Ga*this.ratio)/2;this.O=(this.$.height-this.Ma*this.ratio)/2;var a=Y_(this,this.o,!0),b=Y_(this,this.F,!0),c=Y_(this,this.j,!1),d=Y_(this,this.D,!1);this.Ui=Math.min(a.Ui,b.Ui,c.Ui,d.Ui,a.Hk,b.Hk,c.Hk,d.Hk);this.Hk=Math.max(a.Ui,b.Ui,c.Ui,d.Ui,a.Hk,b.Hk,c.Hk,d.Hk);this.Lk=Math.min(a.Lk,b.Lk,c.Lk,d.Lk,a.Ti,b.Ti, -c.Ti,d.Ti);this.Ti=Math.max(a.Lk,b.Lk,c.Lk,d.Lk,a.Ti,b.Ti,c.Ti,d.Ti);this.Ga=this.Hk-this.Ui;this.Ma=this.Ti-this.Lk;this.de=this.F-this.o;this.ub=this.D-this.j;this.ratio=Math.min(this.$.height/this.Ma,this.$.width/this.Ga);this.J=(this.$.width-this.Ga*this.ratio)/2;this.O=(this.$.height-this.Ma*this.ratio)/2;this.g||(this.g=Pl());var b=this.dl(),a=b[0],b=b[1],c=this.Mk(),d=this.Ik(),e=this.Nk(),f=this.Jk();this.g.clear();var h=Z_(this,c,e,null);if(!isNaN(h[0])&&!isNaN(h[1])){this.g.moveTo(h[0], -h[1]);for(var k=e;ke;)h=Z_(this,d,k,null),this.g.lineTo(h[0],h[1]),k-=b;h=Z_(this,d,e,null);this.g.lineTo(h[0],h[1]);for(k=d;k>c;)h=Z_(this,k,e,null),this.g.lineTo(h[0],h[1]),k-=a;h=Z_(this,c,e,null);this.g.lineTo(h[0],h[1]);this.g.close()}}}; -function Y_(a,b,c){var d=Number.MAX_VALUE,e=Number.MAX_VALUE,f=-Number.MAX_VALUE,h=-Number.MAX_VALUE,k,l,m,p;k=a.dl();l=k[0];m=k[1];if(c){c=a.j;l=a.D;for(k=c;kf&&(f=c[0]),c[1]h&&(h=c[1]),k+=m;c=$_(a,b,l)}else{m=a.o;p=a.F;if(m>p){for(k=m;180>k;)c=$_(a,k,b),c[0]f&&(f=c[0]),c[1]h&&(h=c[1]),k+=l;for(k=-180;kf&&(f=c[0]),c[1]h&&(h=c[1]),k+=l}else for(k=m;k< -p;)c=$_(a,k,b),c[0]f&&(f=c[0]),c[1]h&&(h=c[1]),k+=l;c=$_(a,p,b)}c[0]f&&(f=c[0]);c[1]h&&(h=c[1]);return{Ui:d,Lk:e,Hk:f,Ti:h}}function a0(a,b,c){a.gb();if(!a.$)return[NaN,NaN];b=F(b);c=F(c);b=(b-a.Ui)*a.ratio;c=(a.Ti-c)*a.ratio;return[a.ua?a.$.Wa()-a.J-b:a.$.left+a.J+b,a.I?a.$.Ra()-a.O-c:a.$.top+a.O+c]} -function b0(a,b,c){a.gb();if(!a.$)return[NaN,NaN];b=F(b);c=F(c);return[+(a.ua?a.$.Wa()-a.J-b:b-a.$.left-a.J)/a.ratio+a.Ui,-(a.I?a.$.Ra()-a.O-c:c-a.$.top-a.O)/a.ratio+a.Ti]}function c0(a,b,c){var d=a.Ne["default"],e=di(a.Ne,function(a,e){if("default"!=e&&a.sn){var k=(a.gj||d.gj).forward(b,c),l=k[0]*(a.scale||d.scale),k=k[1]*(a.scale||d.scale),l=l+(a.Of||0),k=k+(a.ag||0),m=a.sn;return l>=m.left&&l<=m.left+m.width&&k<=m.top&&k>=m.top-m.height}return!1})||"default";return a.Ne[e]} -function Z_(a,b,c,d){if(!a.Ne)return[];a.gb();var e;n(d)?e=null!==d&&d in a.Ne?a.Ne[d]:a.Ne["default"]:e=c0(a,b,c);d=a.Ne["default"];c=(e.gj||d.gj).forward(b,c);b=e.scale;c[0]*=b;c[1]*=b;c[0]+=e.Of||0;c[1]+=e.ag||0;b=c[0];c=c[1];if(!a.$||isNaN(b)||isNaN(c))return[NaN,NaN];e=(+b-a.Ui)*a.ratio;b=(-c+a.Ti)*a.ratio;return[a.ua?a.$.Wa()-a.J-e:a.$.left+a.J+e,a.I?a.$.Ra()-a.O-b:a.$.top+a.O+b]}g.transform=function(a,b,c){a=Z_(this,a,b,c);a[0]=a[0]*this.zoom+this.ib;a[1]=a[1]*this.zoom+this.hb;return a}; -g.Ic=function(a,b){this.gb();if(!this.$||isNaN(a)||isNaN(b))return[NaN,NaN];a=F(a);b=F(b);a=(a-this.ib)/this.zoom;b=(b-this.hb)/this.zoom;return X_(this,+(this.ua?this.$.Wa()-this.J-a:a-this.$.left-this.J)/this.ratio+this.Ui,-(this.I?this.$.Ra()-this.O-b:b-this.$.top-this.O)/this.ratio+this.Ti)};g.Wm=function(a){this.gb();a=F(a);a=Ll((a-this.o)/this.de,3);return this.ua?1-a:a};g.Xm=function(a){this.gb();a=F(a);a=Ll((a-this.j)/this.ub,3);return this.I?1-a:a}; -function X_(a,b,c,d){var e=a.Ne["default"],f;n(d)?f=d in a.Ne?d:"default":f=di(a.Ne,function(a,d){if("default"!=d&&a.sn){var e=a.sn;return b>=e.left&&b<=e.left+e.width&&c<=e.top&&c>=e.top-e.height}return!1})||"default";a=a.Ne[f];b-=a.Of||e.Of||0;c-=a.ag||e.ag||0;d=a.scale||e.scale;f=a.gj||e.gj;e=a.Lg||e.Lg?f.ig(b/d,c/d):[b/d,c/d];return[e[0],e[1]]} -function $_(a,b,c){if(isNaN(b)||isNaN(c))return[NaN,NaN];var d;n(null)?d=a.Ne["default"]:d=c0(a,b,c);a=a.Ne["default"];b=(d.gj||a.gj).forward(b,c);d=d.scale;b[0]*=d;b[1]*=d;return[b[0],b[1]]}g.N=function(){var a=U_.G.N.call(this);a.type=this.Ua();this.Y||(a.maximumX=this.F);this.W||(a.maximumY=this.D);this.ea||(a.minimumX=this.o);this.X||(a.minimumY=this.j);a.precision=this.dl();a.gap=this.ri();a.xTicks=this.No().N();a.xMinorTicks=this.vq().N();a.yTicks=this.Qo().N();a.yMinorTicks=this.wq().N();return a}; -g.da=function(a,b){U_.G.da.call(this,a,b);this.Mk(a.minimumX);this.Nk(a.minimumY);this.Ik(a.maximumX);this.Jk(a.maximumY);this.dl(a.precision);this.ri(a.gap);this.No(a.xTicks);this.vq(a.xMinorTicks);this.Qo(a.yTicks);this.wq(a.yMinorTicks)};U_.prototype.gap=U_.prototype.ri;U_.prototype.xTicks=U_.prototype.No;U_.prototype.xMinorTicks=U_.prototype.vq;U_.prototype.yTicks=U_.prototype.Qo;U_.prototype.yMinorTicks=U_.prototype.wq;U_.prototype.extendDataRange=U_.prototype.uc;U_.prototype.minimumX=U_.prototype.Mk; -U_.prototype.maximumX=U_.prototype.Ik;U_.prototype.minimumY=U_.prototype.Nk;U_.prototype.maximumY=U_.prototype.Jk;U_.prototype.precision=U_.prototype.dl;function d0(a){pq.call(this);this.scale=a}E(d0,tI);g=d0.prototype;g.za=2;g.Ot=1;g.el=null;g.Nt=null;g.ml=null;g.pr=null;g.Jg=null;g.sH=function(a){return n(a)?(a=Math.round(a)||1,this.Ot!=a&&(this.Ot=a,this.Jg=this.pr=this.ml=this.Nt=null,this.va(2)),this):this.Ot};g.set=function(a){uj(this.ml,a)||(this.ml=nj(a),this.ml=cf(this.ml,function(a){return F(a)}),ic(this.ml),pj(this.ml),this.ml[0]=0,this.Jg=this.pr=this.Nt=null,this.va(2));return this}; -g.names=function(a){if(n(a))return this.el!=a&&(this.el=a,this.va(2)),this;a=e0(this);var b,c;if(this.el&&this.el.lengthf&&0>h||1b&&0>a||1=d?(l=d-1,f=!0):l--;e.push(k==l?c[k]:[c[k],c[l]])}return e};function f0(a){a.Nt=null;a.pr=null;a.Jg=null}g.N=function(){var a=d0.G.N.call(this);this.ml?a.explicit=this.ml:isNaN(this.Ot)||(a.interval=this.Ot);this.el&&(a.names=this.el);return a};g.Qe=function(a){var b=arguments;return r(b[0])?(this.set(b[0]),!0):tI.prototype.Qe.apply(this,b)}; -g.da=function(a,b){d0.G.da.call(this,a,b);"explicit"in a?this.set(a.explicit):"interval"in a&&this.sH(a.interval);this.el=a.names||null;this.Jg=this.pr=null};d0.prototype.interval=d0.prototype.sH;d0.prototype.set=d0.prototype.set;d0.prototype.get=d0.prototype.get;d0.prototype.names=d0.prototype.names;function yc(){this.$f=[];this.b=[];this.g={};this.o=null;this.j=!0;this.cb=null;Bc.call(this)}E(yc,Bc);g=yc.prototype;g.Ua=function(){return"ordinal"};g.kf=function(a){return!n(a)};g.Ia=function(a){this.cb||(this.cb=new d0(this),O(this,this.cb),P(this.cb,this.G2,this));return n(a)?(this.cb.U(a),this):this.cb}; -g.values=function(a,b){if(!n(a))return this.$f;if(null===a)this.j||(this.j=!0,this.va(4));else{this.j=!1;var c=r(a);this.Qk();c&&a.length?this.uc.apply(this,a):this.uc.apply(this,arguments);this.pB(!1)}return this}; -g.names=function(a){if(n(a)){if(null===a)this.b=[];else if(r(a))this.b=nj(a);else{if(!z(a)||this.b==a)return this;this.b=a}this.D=null;f0(this.Ia());this.va(2);return this}if(r(this.b)){this.D||(this.D=nj(this.b));if(this.D.length=d?(l=d-1,f=!0):l--;var m=(c[k].start+c[k].end)/2,p=(c[l].start+c[l].end)/2;e.push(k==l?m:[m,p])}return e};function cN(){Bc.call(this);this.J=this.g=null;this.I=[];this.$=this.o=null;this.j=[];this.da(iF().defaultOrdinalColorScale)}E(cN,Bc);g=cN.prototype;g.Ua=function(){return"ordinalColor"};g.Fd=function(a){return n(a)?(a=!!a,this.W!=a&&(this.W=a,this.Qk(),this.va(2)),this):this.W}; -g.Kh=function(a){if(n(a))return null===a?this.g=[]:r(a)&&(this.g=nj(a)),this.Qk(),this.va(2),this;if(r(this.g)){this.O||(this.O=nj(this.g));if(this.O.length "+c.start:"< "+c.end;c.name||(c.name=d);this.Jg.push(d)}}return this.Jg};g.Ew=function(a){return n(a)?(this.I!=a&&(this.I=a,this.$=iF().defaultOrdinalColorScale.autoColors(this.I.length),this.Qk(),f0(this.Ia()),this.va(4)),this):this.I};g.nm=function(){this.gb();this.names();return this.o};g.Dj=function(a){this.gb();var b=null;if(this.o)for(var c=this.o.length;c--;){var d=this.o[c];if(n(d.mC)&&d.mC===a||a>=d.start&&a<=d.end&&-1d.length-1?d[d.length-1]:d[c])}}return b};g.D2=function(a){this.gb();a=ME(a).mg;for(var b=NaN,c=0,d=this.o.length;cb.start? -1:a.startb.start?a.sourceIndex>b.sourceIndex?b.end=a.start:(a.start=b.end,a.start>=a.end&&(a.enabled=!1)):a.startb.sourceIndex?(b.start=a.end,b.start>=b.end&&(b.enabled=!1)):a.end=b.start:a.sourceIndex>b.sourceIndex?(b.start=a.end,b.start>=b.end&&(b.enabled=!1)):(a.end=b.start,a.start>=a.end&&(a.enabled=!1)));return c});y=[];a=0;for(b=f.length;athis.o&&(this.o=c,this.b=!1)}return this};g.pB=function(a){var b=this.Qa!=this.j||this.Ja!=this.o;b&&(this.b=!1,a||this.va(2));return b};g.Ge=function(){return this.J||this.I};g.transform=function(a){this.gb();a=F(a);return AY(this,(a-this.min)/this.Pe)};g.gb=function(){this.b||(this.b=!0,this.NP())}; -g.NP=function(){isFinite(this.o)?isFinite(this.j)?Yz(this.j,this.o,1E-10)&&(this.j-=.5,this.o+=.5):this.j=this.o-1:isFinite(this.j)?this.o=this.j+1:(this.j=0,this.o=1);var a=(this.I?isNaN(this.O)?this.o:Math.max(this.o,this.O):this.max)-(this.J?isNaN(this.ua)?this.j:Math.min(this.j,this.ua):this.min);this.J&&(this.min=this.j-a*this.X,isNaN(this.ua)||(this.min=0this.min&&0<=this.j&&this.min!=this.ua&&(this.min=0));this.I&&(this.max= -this.o+a*this.Y,isNaN(this.O)||(this.max=0this.max&&0<=this.o&&this.max!=this.O&&(this.max=0))};g.Ic=function(a){this.gb();a=zc(this,a);return a*this.Pe+this.min};g.N=function(){var a=VJ.G.N.call(this);a.maximum=this.I?null:this.max;a.minimum=this.J?null:this.min;a.minimumGap=this.rr();a.maximumGap=this.qr();a.softMinimum=isNaN(this.ua)?null:this.ua;a.softMaximum=isNaN(this.O)?null:this.O;return a}; -g.da=function(a,b){VJ.G.da.call(this,a,b);this.rr(a.minimumGap);this.qr(a.maximumGap);this.uB(a.softMinimum);this.tB(a.softMaximum);this.rk(a.minimum);this.Ym(a.maximum)};function j0(a,b){a=(a+"").toLowerCase();switch(a){case "log":case "logarithmic":return BY();case "lin":case "linear":return CY();case "date":case "datetime":case "dt":return DY();default:return b?null:CY()}}VJ.prototype.minimum=VJ.prototype.rk;VJ.prototype.maximum=VJ.prototype.Ym;VJ.prototype.extendDataRange=VJ.prototype.uc;function lM(){L(this);Z.call(this);this.nA=[];this.oA=[];this.Sd=I|964;this.ja(!1)}E(lM,Z);g=lM.prototype;g.wa=Z.prototype.wa|I|960;g.za=Z.prototype.za;g.uf="axis";g.eb=null;g.sa=null;g.Eb=null;g.cb=null;g.dc=null;g.RF="top";g.vh=null;g.Xv="noOverlap";g.Yy=!1;g.Tu=null;g.lq=null;g.Xy=1;g.xl=null;g.lb=null;g.bb=null;g.cn=!0;g.dn=!0;g.nA=null;g.oA=null;g.title=function(a){this.eb||(this.eb=new FQ,this.eb.Ya(this),P(this.eb,this.DY,this),O(this,this.eb));return n(a)?(this.eb.U(a),this):this.eb}; -g.DY=function(a){var b=0,c=0;X(a,8)?(b=this.Sd,c=8|J):X(a,J)&&(b=64,c=J);this.B(b,c)};g.labels=function(a){this.sa||(this.sa=new tJ,this.sa.Ya(this),P(this.sa,this.AY,this),O(this,this.sa));return n(a)?(!v(a)||"enabled"in a||(a.enabled=!0),this.sa.U(a),this):this.sa};g.AY=function(a){var b=0,c=0;X(a,8)?(b=this.Sd,c=8|J):X(a,J)&&(b=384,c=J);this.I=null;this.Ud();this.B(b,c)}; -g.Xa=function(a){this.Eb||(this.Eb=new tJ,this.Eb.Ya(this),this.kb()?this.Eb.rotation(0):this.Eb.rotation(-90),P(this.Eb,this.BY,this),O(this,this.Eb));return n(a)?(!v(a)||"enabled"in a||(a.enabled=!0),this.Eb.U(a),this):this.Eb};g.BY=function(a){var b=0,c=0;X(a,8)?(b=this.Sd,c=8|J):X(a,J)&&(b=128,c=J);this.Ud();this.B(b,c)};g.QF=function(){return new ZL};g.YF=function(){return this.lc?this.lc:this.lc=Pl()}; -g.Ia=function(a){this.cb||(this.cb=this.QF(),this.cb.Ya(this),P(this.cb,this.PN,this),O(this,this.cb));return n(a)?(this.cb.U(a),this):this.cb};g.Za=function(a){this.dc||(this.dc=this.QF(),this.dc.Ya(this),P(this.dc,this.PN,this),O(this,this.dc));return n(a)?(this.dc.U(a),this):this.dc};g.PN=function(a){var b=0,c=0;X(a,8)?(b=this.Sd,c=8|J):X(a,J)&&(b=256,c=J);this.B(b,c)}; -g.stroke=function(a,b,c,d,e){if(n(a)){a=Pc.apply(null,arguments);if(this.g!=a){var f=v(this.g)?this.g.thickness||1:1,h=v(a)?a.thickness||1:1;this.g=a;h==f?this.B(I,J):this.B(this.Sd,J|8)}return this}return this.g};g.Je=function(a){return n(a)?(a=null===a?null:Ad(a),this.bc!=a&&(this.bc=a,this.I=null,this.B(this.Sd,J|8)),this):this.bc||this.RF};function k0(a,b){var c=a.RF!=b&&!a.bc;a.RF=b;c&&a.B(a.Sd)} -g.scale=function(a){return n(a)?(this.vh!=a&&(this.vh&&uI(this.vh,this.ZF,this),(this.vh=a)&&P(this.vh,this.ZF,this),this.I=null,this.Ud(),ZR(this.labels()),ZR(this.Xa()),this.B(this.Sd,J|8)),this):this.vh};g.ZF=function(a){X(a,2)&&(this.I=null,this.Ud(),ZR(this.labels()),ZR(this.Xa()),this.B(this.Sd,J|8))};g.width=function(a){return n(a)?(this.lb!=a&&(this.lb=a,this.B(this.Sd,J|8)),this):this.lb}; -g.padding=function(a,b,c,d){this.bb||(this.bb=new jK,O(this,this.bb),P(this.bb,this.CY,this));return n(a)?(this.bb.U.apply(this.bb,arguments),this):this.bb};g.CY=function(a){X(a,2)&&(this.I=null,this.Ud(),this.B(this.Sd,J|8))};g.rl=function(){this.I=null;this.Ud();this.B(this.Sd,J|8)};g.Ud=function(){this.J&&(this.J.length=0);this.nA.length=0;this.oA.length=0;this.F=null}; -function l0(a,b){var c;if(a.Hs())if(a.I)c=a.I;else if((c=a.scale())&&a.labels().enabled()){a.Xy=1;a.Y=1;var d;c=c.Ia().get();var e=c.length,f,h,k,l,m,p;if(null===a.Tu){var q=!1;for(f=1;!q&&f<=e;)for(q=!0,k=0;ka.lq?a.lq:a.Xy}else a.Y=a.Tu;if((null!==a.Tu||null!==a.lq&&a.Xy>a.lq)&&"noOverlap"==a.pA()){p=[];for(h=0;h=D&&a.bl()||1<=D&&a.yj()?t=G:0D&&(t=G)),G++;y<=S&&h=D&&a.bl()||1<=D&&a.yj()?(u=l,m.push(!0)):0D?(u=l,m.push(!0)):m.push(!1))):m.push(!1),l++)}V||(m=!1)}else if(p instanceof Bc)for(h=0;h -h&&(h=d)}if(m&&!a.Hs())for(m=v(p)?p.Xa:!p,q=b.Za().get(),e=0,f=m.length;ek&&(k=d);return a.sQ(h,k)+l}g.XF=function(a){return this.kb()?this.padding().Xg(a):this.padding().Wg(a)}; -g.rc=function(){var a=this.ma();if(a){var b=a.clone();if(this.scale()&&this.enabled()){var c=this.Rb(),d=this.padding(),e=a.height-d.Wg(a.height)+c.height,a=a.width-d.Xg(a.width)+c.width;switch(this.Je()){case "top":b.height-=e;b.top+=e;break;case "right":b.width-=a;break;case "bottom":b.height-=e;break;case "left":b.width-=a,b.left+=a}}return b}return new Q(0,0,0,0)};g.NN=function(a,b,c){return this.lb?U(this.lb,a):n0(this,c,b)}; -g.Rb=function(){if(!this.xl||W(this,4)){var a=this.ma();if(a){var b,c;a.top=Math.round(a.top);a.left=Math.round(a.left);a.width=Math.round(a.width);a.height=Math.round(a.height);this.kb()?(b=a.width,c=a.height):(b=a.height,c=a.width);b=this.XF(b);c=this.NN(c,b,a);var d,e,f=this.padding(),h=U(f.ha("top"),a.height),k=U(f.ha("right"),a.width),l=U(f.ha("bottom"),a.height),f=U(f.ha("left"),a.width),m,p;switch(this.Je()){case "top":e=a.top+h;d=a.left+f;p=c;m=b;break;case "right":e=a.top+h;d=a.left+a.width- -c-k;p=b;m=c;break;case "bottom":e=a.top+a.height-c-l;d=a.left+f;p=c;m=b;break;case "left":e=a.top+h,d=a.left+f,p=b,m=c}this.xl=new Q(Math.round(d),Math.round(e),Math.round(m),Math.round(p))}else this.xl=new Q(0,0,0,0);this.R(4)}return this.xl}; -function m0(a,b,c,d,e){if(!c&&a.scale()&&!(a.scale()instanceof VJ))return null;var f=c?a.nA:a.oA;if(n(f[b]))return f[b];var h=n(e)?e:a.Rb();e=n(e)?e:a.lc.jb();var k=c?a.Ia():a.Za(),l=k.length(),m=a.stroke(),m=!m||ZF(m)?0:m.thickness?parseFloat(a.stroke().thickness):1;c=c?a.labels():a.Xa();var p,q,t=a.scale();d=d[b];r(d)?(t=(t.transform(d[0],0)+t.transform(d[1],1))/2,d=d[0]):t=t.transform(d,.5);if(0>t||1=w&&b.call(e,w,B,D,f,c),l==k-1&&(w=a.transform(aa,1),0<=w&&1>=w&&b.call(e,w,B,D,f,c))),(x=r(p)?p[l]:p)&&0<=t&&1>=t&&o0(this,d,t,l,c,!0,h);this.labels().aa()}this.title().ja(!1); -this.labels().ja(!1);this.Xa().ja(!1);this.Ia().ja(!1);this.Za().ja(!1);return this};g.remove=function(){this.eb&&this.eb.remove();this.lc&&this.lc.parent(null);this.Ia().remove();this.Za().remove();this.sa&&this.sa.remove();this.Eb&&this.Eb.remove()}; -g.N=function(){var a=lM.G.N.call(this);a.title=this.title().N();a.labels=this.labels().N();a.minorLabels=this.Xa().N();a.ticks=this.Ia().N();a.minorTicks=this.Za().N();a.stroke=T(this.stroke());a.staggerMode=this.Hs();a.staggerLines=this.dL();a.staggerMaxLines=this.eL();a.width=this.width();this.bc&&(a.orientation=this.bc);a.drawFirstLabel=this.bl();a.drawLastLabel=this.yj();a.overlapMode=this.pA();return a}; -g.da=function(a,b){lM.G.da.call(this,a,b);"title"in a&&this.title(a.title);this.labels().U(a.labels);this.Xa().U(a.minorLabels);this.Ia(a.ticks);this.Za(a.minorTicks);this.Hs(a.staggerMode);this.dL(a.staggerLines);this.eL(a.staggerMaxLines);this.stroke(a.stroke);this.width(a.width);this.Je(a.orientation);this.bl(a.drawFirstLabel);this.yj(a.drawLastLabel);this.pA(a.overlapMode)}; -g.ca=function(){lM.G.ca.call(this);this.vh&&uI(this.vh,this.ZF,this);delete this.vh;this.bb=this.eb=this.oA=this.nA=null;dg(this.lc);this.Eb=this.sa=this.xl=this.dc=this.cb=this.lc=null};lM.prototype.staggerMode=lM.prototype.Hs;lM.prototype.staggerLines=lM.prototype.dL;lM.prototype.staggerMaxLines=lM.prototype.eL;lM.prototype.title=lM.prototype.title;lM.prototype.labels=lM.prototype.labels;lM.prototype.minorLabels=lM.prototype.Xa;lM.prototype.ticks=lM.prototype.Ia;lM.prototype.minorTicks=lM.prototype.Za; -lM.prototype.stroke=lM.prototype.stroke;lM.prototype.orientation=lM.prototype.Je;lM.prototype.scale=lM.prototype.scale;lM.prototype.width=lM.prototype.width;lM.prototype.getRemainingBounds=lM.prototype.rc;lM.prototype.drawFirstLabel=lM.prototype.bl;lM.prototype.drawLastLabel=lM.prototype.yj;lM.prototype.overlapMode=lM.prototype.pA;lM.prototype.isHorizontal=lM.prototype.kb;lM.prototype.padding=lM.prototype.padding;function p0(){lM.call(this)}E(p0,lM);g=p0.prototype;g.NN=function(a){return a};g.offset=function(a){return n(a)?(a=MF(a),this.W!=a&&(this.W=a,this.B(I,J|8)),this):this.W};g.width=function(a){n(a)&&(a=MF(a));return p0.G.width.call(this,a)};g.scale=function(a){return!n(a)||a instanceof VJ?p0.G.scale.call(this,a):(xe(5,void 0,["Linear gauge axis scale"]),this)};g.N=function(){var a=p0.G.N.call(this);a.offset=this.offset();return a};g.da=function(a,b){p0.G.da.call(this,a,b);this.offset(a.offset)}; -p0.prototype.offset=p0.prototype.offset;function q0(){eN.call(this);this.Fb=this.lb=this.$=this.Ta=this.F=null;this.I="horizontal"}E(q0,eN);g=q0.prototype;g.za=eN.prototype.za;g.wa=eN.prototype.wa|I|4;g.Vg=function(a){this.Ta=a};g.Zb=function(){return this.Ta};g.Gm=function(a){return n(a)?(this.ya!=a&&(this.ya&&uI(this.ya,this.hO,this),this.ya=a,P(this.ya,this.hO,this),this.B(4,J|8)),this):this.ya?this.ya:this.F?this.F.scale():null};g.hO=function(a){var b=0;X(a,4)&&(b|=4);X(a,2)&&(b|=J);this.B(4,b|8)};g.gO=function(){this.B(4,J|8)}; -g.Gh=function(a){return n(a)?(this.F!=a&&(this.F&&uI(this.F,this.gO,this),this.F=a,P(this.F,this.gO,this),this.B(4,J|8)),this):this.F};g.ii=function(a,b,c,d){this.o||(this.o=new jK,O(this,this.o));return n(a)?(this.o.U.apply(this.o,arguments),this):this.o};g.kb=function(){return"horizontal"==this.oc()};g.oc=function(a){return n(a)?(a=yd(a),this.J!=a&&(this.J=a,this.B(4,J|8)),this):this.J?this.J:this.F?(a=this.F.Je(),"left"==a||"right"==a?"horizontal":"vertical"):this.I}; -g.wA=function(a){return n(a)?(a=xd(a),this.D!=a&&(this.D=a,this.B(4,J|8)),this):this.D};g.rotation=function(a){return n(a)?(this.$!=a&&(this.$=a,this.B(4,J|8)),this):this.$};g.anchor=function(a){return n(a)?(a=wd(a),this.O!=a&&(this.O=a,this.B(4,J|8)),this):this.O};g.text=function(a){return this.Db("text",a)};function r0(a,b){return n(b)?(a.j!==b&&(a.j=b,a.B(4,J|8)),a):a.j}g.offsetX=function(a){return n(a)?(this.W!=a&&(this.W=a,this.B(4,J|8)),this):this.W}; -g.offsetY=function(a){return n(a)?(this.Wh!=a&&(this.Wh=a,this.B(4,J|8)),this):this.Wh};g.width=function(a){return n(a)?(this.lb!=a&&(this.lb=a,this.B(4,J|8)),this):this.lb};g.height=function(a){return n(a)?(this.Fb!=a&&(this.Fb=a,this.B(4,J|8)),this):this.Fb};g.se=function(a,b){if(b||"text"in this.b||"useHtml"in this.b)this.Aa.useHtml?a.htmlText(this.Aa.text):a.text(this.Aa.text);q0.G.se.call(this,a,b);this.b={}}; -g.aa=function(){if(!this.scale())return xe(2),this;if(!this.Kb())return this;W(this,I)&&(this.se(s0(this),!0),this.R(I));if(W(this,8)){var a=this.zIndex();s0(this).zIndex(a);this.R(8)}if(W(this,4)){var b=this.scale().transform(this.j,.5);if(isNaN(b))return this;a=s0(this);if(0<=b&&1>=b){var c=this.ma(),c=c.clone().round(),d=this.anchor();a.Vb(1,0,0,1,0,0);a.width(null);a.height(null);a.x(0);a.y(0);var e=!ha(this.width()),f=!ha(this.height()),h=a.jb(),k=e?Math.ceil(U(this.width(),c.width)):h.width; -e&&a.width(k);h=a.jb();c=f?Math.ceil(U(this.height(),c.height)):h.height;f&&a.height(c);var l=this.ma(),l=l.clone().round();if(this.kb())switch(e=Math.round(l.qb()+l.height-b*l.height),1==b?e-=-.5:e+=-.5,this.D){case "left":f=l.fb();break;case "right":f=l.Wa();break;default:f=l.fb()+l.width/2}else switch(f=Math.round(l.fb()+b*l.width),1==b?f+=-.5:f-=-.5,this.D){case "top":e=l.qb();break;case "bottom":e=l.Ra();break;default:e=l.qb()+l.height/2}b=new Yl(f,e);f=F(this.$);f=isNaN(f)?this.kb()?0:-90:f; -e=wl(Ua(f),0,0);h=xA(h,e);e=PF(Kl(0,0,h.width,h.height),d);b.x-=e.x;b.y-=e.y;e=U(this.offsetX(),k);l=U(this.offsetY(),c);YF(b,d,e,l);this.se(a,!0);a.x(b.x+h.width/2-k/2).y(b.y+h.height/2-c/2).Ky(f,"center");this.B(2)}else this.remove(),this.R(2);this.R(4)}W(this,2)&&(a=this.P(),s0(this).parent(a),this.R(2));return this};g.remove=function(){s0(this).parent(null)};function s0(a){a.g||(a.g=DC(),a.g.dg("aria-hidden","true"),O(a,a.g));return a.g}g.ca=function(){dg(this.g);this.F=this.Ta=this.g=null;q0.G.ca.call(this)}; -g.N=function(){var a=q0.G.N.call(this);a.anchor=this.anchor();a.align=this.wA();this.J&&(a.layout=this.J);a.rotation=this.rotation();a.offsetX=this.offsetX();a.offsetY=this.offsetY();a.text=this.text();a.height=this.height();a.width=this.width();return a}; -g.da=function(a,b){q0.G.da.call(this,a,b);this.anchor(a.anchor);this.wA(a.align);"layout"in a&&a.layout&&this.oc(a.layout);this.rotation(a.rotation);this.offsetX(a.offsetX);this.offsetY(a.offsetY);this.text(a.text);this.height(a.height);this.width(a.width);if("axis"in a){var c=a.axis;na(c)?this.Ta&&this.Gh(this.Ta.hn(c)):c instanceof lM&&this.Gh(c)}};function t0(a){q0.call(this);this.Gm(a);this.j=0}E(t0,q0);g=t0.prototype;g.za=q0.prototype.za;g.wa=q0.prototype.wa;g.scale=function(a){return n(a)?(M(500),this):this.Gm()};g.oc=function(a){return n(a)?("horizontal"==a&&M(501),this):"vertical"};g.value=function(a){return r0(this,a)};g.N=function(){var a=t0.G.N.call(this);a.value=this.value();return a};g.da=function(a,b){t0.G.da.call(this,a,b);this.value(a.value)};t0.prototype.value=t0.prototype.value;t0.prototype.scale=t0.prototype.scale; -t0.prototype.anchor=t0.prototype.anchor;t0.prototype.align=t0.prototype.wA;t0.prototype.layout=t0.prototype.oc;t0.prototype.rotation=t0.prototype.rotation;t0.prototype.offsetX=t0.prototype.offsetX;t0.prototype.offsetY=t0.prototype.offsetY;t0.prototype.text=t0.prototype.text;t0.prototype.height=t0.prototype.height;t0.prototype.width=t0.prototype.width;t0.prototype.isHorizontal=t0.prototype.kb;function u0(){q0.call(this)}E(u0,q0);g=u0.prototype;g.za=q0.prototype.za;g.wa=q0.prototype.wa;g.scale=function(a){return this.Gm(a)};g.value=function(a){return r0(this,a)};g.N=function(){var a=u0.G.N.call(this);a.value=this.value();return a};g.da=function(a,b){u0.G.da.call(this,a,b);this.value(a.value)};u0.prototype.value=u0.prototype.value;u0.prototype.scale=u0.prototype.scale;u0.prototype.axis=u0.prototype.Gh;u0.prototype.anchor=u0.prototype.anchor;u0.prototype.align=u0.prototype.wA; -u0.prototype.layout=u0.prototype.oc;u0.prototype.rotation=u0.prototype.rotation;u0.prototype.offsetX=u0.prototype.offsetX;u0.prototype.offsetY=u0.prototype.offsetY;u0.prototype.text=u0.prototype.text;u0.prototype.height=u0.prototype.height;u0.prototype.width=u0.prototype.width;u0.prototype.isHorizontal=u0.prototype.kb;function v0(){q0.call(this)}E(v0,u0);v0.prototype.ma=function(a,b,c,d){b=v0.G.ma.call(this,a,b,c,d);n(a)||(a=this.Zb().Ga,c=this.Zb().Ka,b.top-=c,b.height+=c,b.width+=a);return b};function w0(a,b){g_.call(this,a,b);this.sd=this.W=this.Y=this.la=this.ga=this.Ob=this.I=this.Cb=this.pf=this.Qb=null;this.Vp=void 0;this.Ga=null;this.vm=this.ci=!1;this.Gg=this.ze=this.qe=this.Pd=this.fe=this.ee=null;this.NE=this.OE=this.Bb=!1;this.Ja=this.hb=null;this.cq=[];this.Xp=0;this.io=[];this.Hp=[];this.rg=[];this.ya=new vZ;P(this.ya,this.D1,this);O(this,this.ya);WZ(this.b,this)}E(w0,g_);g=w0.prototype;g.wa=g_.prototype.wa|512;g.D1=function(a){X(a,4)&&this.B(512,J)}; -function x0(a){return a.ya}g.ru=function(a){this.Th||(this.Th=new c_,this.Th.scale(this.ya),this.Th.zIndex(80),O(this,this.Th),P(this.Th,this.k6,this));return n(a)?(this.Th.U(a),this):this.Th};g.k6=function(a){X(a,J)&&this.B(512,J)};g.HQ=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.Ei!=f&&(this.Ei=f,this.B(I,J));return this}return this.Ei||"none"}; -g.zR=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.kv!=k&&(this.kv=k,this.B(I,J));return this}return this.kv||"none"};g.AR=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.lv!=f&&(this.lv=f,this.B(I,J));return this}return this.lv||"none"};g.CR=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.Rs!=k&&(this.Rs=k,this.B(I,J));return this}return this.Rs||"none"}; -g.DR=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.Ss!=f&&(this.Ss=f,this.B(I,J));return this}return this.Ss||"none"};g.xR=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.Mj!=k&&(this.Mj=k,this.B(I,J));return this}return this.Mj||"none"};g.yR=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.Mm!=f&&(this.Mm=f,this.B(I,J));return this}return this.Mm||"none"}; -g.vR=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.Lj!=k&&(this.Lj=k,this.B(I,J));return this}return this.Lj||"none"};g.wR=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.Lm!=f&&(this.Lm=f,this.B(I,J));return this}return this.Lm||"none"};g.hQ=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.Js!=k&&(this.Js=k,this.B(128,J));return this}return this.Js||"none"}; -g.kQ=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.Xu!=f&&(this.Xu=f,this.B(128,J));return this}return this.Xu||"none"};g.mQ=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.bv!=k&&(this.bv=k,this.B(128,J));return this}return this.bv||"none"};g.nQ=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.dv!=f&&(this.dv=f,this.B(128,J));return this}return this.dv||"none"}; -g.HT=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.uz!=k&&(this.uz=k,this.B(128,J));return this}return this.uz||"none"};g.IT=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.vz!=f&&(this.vz=f,this.B(128,J));return this}return this.vz||"none"};g.YS=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.ql!=k&&(this.ql=k,this.B(128,J));return this}return this.ql||"none"}; -g.ZS=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.tm!=f&&(this.tm=f,this.B(128,J));return this}return this.tm||"none"};g.wT=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.rz!=k&&(this.rz=k,this.B(128,J));return this}return this.rz||"none"};g.xT=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.sz!=f&&(this.sz=f,this.B(128,J));return this}return this.sz||"none"}; -g.GQ=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.iv!=k&&(this.iv=k,this.B(128,J));return this}return this.iv||"none"};g.ef=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.X!=f&&(this.X=f,this.B(64,J));return this}return this.X||"none"};g.jU=function(a,b,c,d,e,f,h){if(n(a)){var k=Qc.apply(null,arguments);this.kc!=k&&(this.kc=k,this.B(128,J));return this}return this.kc||"none"}; -g.kU=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.cc!=f&&(this.cc=f,this.B(128,J));return this}return this.cc||"none"};g.Q8=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);this.Tp!=f&&(this.Tp=f,this.B(128,J));return this}return this.Tp||"none"};g.kH=function(a){if(n(a)){var b=Pc.apply(null,arguments),c=$F(this.nd),d=$F(b);if(this.nd!=b||d!=c)this.nd=b,this.B(I,J);return this}return this.nd};function y0(a,b){return n(b)?(a.Uk=b,a):a.Uk||{}} -function z0(a,b){return n(b)?(a.Vk=b,a):a.Vk||{}}function A0(a,b){return n(b)?(a.Hl=b,a):a.Hl||{}}g.uP=function(a,b){var c,d;c=F(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.io[c];e||(e=new mM(this.ya),e.U(y0(this)),this.io[c]=e,O(this,e),P(e,this.lH,this),this.B(512,J));return n(d)?(e.U(d),this):e};g.vP=function(a,b){var c,d;c=F(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.Hp[c];e||(e=new nM(this.ya),e.U(z0(this)),this.Hp[c]=e,O(this,e),P(e,this.lH,this),this.B(512,J));return n(d)?(e.U(d),this):e}; -g.wP=function(a,b){var c,d;c=F(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.rg[c];e||(e=new t0(this.ya),e.U(A0(this)),this.rg[c]=e,O(this,e),P(e,this.lH,this),this.B(512,J));return n(d)?(e.U(d),this):e};g.lH=function(){this.B(512,J)};g.C1=function(a){return n(a)?(this.ya.rB(a),this):this.ya.rB()};g.B1=function(a){return n(a)?(this.ya.qB(a),this):this.ya.qB()}; -g.labels=function(a){this.Qb||(this.Qb=new tJ,this.Qb.Ya(this));if(n(a)){var b=!0;a instanceof tJ?this.Qb.U(a.N()):v(a)?this.Qb.U(a):ZF(a)?this.Qb.enabled(!1):b=!1;b&&this.B(64,J);return this}return this.Qb};g.Oa=function(a){this.pf||(this.pf=new DN,this.pf.Ya(this));if(n(a)){var b=!0;a instanceof DN?this.pf.U(a.N()):v(a)?this.pf.U(a):ZF(a)?this.pf.enabled(!1):b=!1;b&&this.B(64,J);return this}return this.pf};g.lQ=function(a){return n(a)&&this.ci!=a?(this.ci=a,this.B(64,J),this):this.ci}; -function B0(a){a.Cb||(a.Cb=p_(a).path(),a.Cb.zIndex(6),a.Cb.stroke(a.nd),a.Cb.dg("hui",12345),O(a,a.Cb));return a.Cb}function C0(a){a.I||(a.I=new D0(o_(a)),a.I.zIndex(0).Ze("ew-resize"),a.ua.pa(a.I,"mousedown",function(a){a.stopPropagation()}),a.I.Zd("mousedown",a.M3,!1,a),O(a,a.I));return a.I}function E0(a){a.Ob||(a.Ob=new D0(o_(a)),a.Ob.zIndex(10),a.ua.pa(a.Ob,"mousedown",function(a){a.stopPropagation()}),a.Ob.Zd("mousedown",a.R3,!1,a),O(a,a.Ob));return a.Ob} -function F0(a){a.ga||(a.ga=new D0(o_(a)),a.ga.zIndex(20).Ze("col-resize"),a.ga.b=C0(a),a.ua.pa(a.ga,"mousedown",function(a){a.stopPropagation()}),a.ga.Zd("mousedown",a.K3,!1,a),O(a,a.ga));return a.ga}function G0(a){a.la||(a.la=new D0(o_(a)),a.la.zIndex(30).Ze("col-resize"),a.la.b=C0(a),a.ua.pa(a.la,"mousedown",function(a){a.stopPropagation()}),a.la.Zd("mousedown",a.U3,!1,a),O(a,a.la));return a.la} -function H0(a){a.Y||(a.Y=new D0(o_(a)),a.Y.zIndex(40).Ze("move"),a.ua.pa(a.Y,"mousedown",function(a){a.stopPropagation()}),a.Y.Zd("mousedown",a.W3,!1,a),O(a,a.Y));return a.Y}function I0(a){a.W||(a.W=new D0(o_(a)),a.W.zIndex(50).Ze("move"),a.ua.pa(a.W,"mousedown",function(a){a.stopPropagation()}),a.W.Zd("mousedown",a.J3,!1,a),O(a,a.W));return a.W}function J0(a){a.sd||(a.sd=o_(a).path(),a.sd.stroke(a.Ei).zIndex(60),O(a,a.sd));return a.sd} -function K0(a){C0(a).clear().Vb(1,0,0,1,0,0);E0(a).clear().Vb(1,0,0,1,0,0);G0(a).clear().Vb(1,0,0,1,0,0);F0(a).clear().Vb(1,0,0,1,0,0);I0(a).clear().Vb(1,0,0,1,0,0);H0(a).clear().Vb(1,0,0,1,0,0);J0(a).clear();a.zb().enabled(!0)}g.M3=function(a){this.ee=new L0(C0(this));O(this,this.ee);this.ee.pa("start",this.N3,!1,this);this.ee.pa("drag",this.O3,!1,this);this.ee.pa("end",this.P3,!1,this);this.ee.Ej(a.bj)}; -g.R3=function(a){this.fe=new M0(E0(this));O(this,this.fe);this.fe.pa("start",this.S3,!1,this);this.fe.pa("drag",this.T3,!1,this);this.fe.pa("end",this.Q3,!1,this);this.fe.Ej(a.bj)};g.K3=function(a){this.Pd=new N0(F0(this),!0);O(this,this.Pd);this.Pd.pa("start",this.L3,!1,this);this.Pd.pa("drag",this.FR,!1,this);this.Pd.pa("end",this.ER,!1,this);this.Pd.Ej(a.bj)}; -g.U3=function(a){this.qe=new N0(G0(this),!1);O(this,this.qe);this.qe.pa("start",this.V3,!1,this);this.qe.pa("drag",this.FR,!1,this);this.qe.pa("end",this.ER,!1,this);this.qe.Ej(a.bj)};g.W3=function(a){this.ze=new O0(0,H0(this),!0);O(this,this.ze);this.ze.pa("start",this.tR,!1,this);this.ze.pa("drag",this.uR,!1,this);this.ze.pa("end",this.sR,!1,this);this.ze.Ej(a.bj)}; -g.J3=function(a){this.Gg=new O0(0,I0(this),!1);O(this,this.Gg);this.Gg.pa("start",this.tR,!1,this);this.Gg.pa("drag",this.uR,!1,this);this.Gg.pa("end",this.sR,!1,this);this.Gg.Ej(a.bj)};g.N3=function(){this.o&&this.o.oe(!1);this.zb().Cd();this.zb().enabled(!1);this.g.Ll();E0(this).clear();F0(this).clear();G0(this).clear();H0(this).clear();I0(this).clear();Rl(ca.document.body,"cursor","ew-resize")};g.O3=function(){this.gg=!0;this.ea=!1;this.NE=!0}; -g.P3=function(a){if(this.gg){this.o&&this.o.oe(!0);var b=C0(this).jb();K0(this);var c=a.target.element;a=c.item;var d=this.b.data();L(d);b=HZ(this.ya,4==c.type?(b.left+b.width/2-this.ka.left)/this.ka.width:(b.left-this.ka.left)/this.ka.width);if(!isNaN(b)){var e=0;switch(c.type){case 4:a.set("actualStart",b);a.K("actualStart",b);n(a.get("actualEnd"))&&(a.set("actualEnd",b),a.K("actualEnd",b));break;case 5:var c=c.Pk,e=a.cj("periods",c,"start"),f=a.cj("periods",c,"end"),e=f+(b-e);isNaN(e)||(a.set("periods", -c,"start",b),a.wn("periods",c,"start",b),a.set("periods",c,"end",e),a.wn("periods",c,"end",e));break;case 3:e=a.K("baselineStart");c=a.K("baselineEnd");e=b-e;isNaN(c+e)||(a.set("baselineStart",b),a.K("baselineStart",b));a.set("baselineEnd",c+e);a.K("baselineEnd",c+e);break;default:c=na(a.K("actualStart"))?a.K("actualStart"):a.K("autoStart"),e=na(a.K("actualEnd"))?a.K("actualEnd"):a.K("autoEnd"),c=e+(b-c),isNaN(c)||(a.set("actualStart",b),a.K("actualStart",b),a.set("actualEnd",c),a.K("actualEnd",c))}}d.ja(!0); -YZ(this);this.NE=this.gg=!1;clearInterval(this.Ka);this.Ka=null}Rl(ca.document.body,"cursor","")};g.S3=function(){this.o&&this.o.oe(!1);this.OE=!0;this.zb().Cd();this.zb().enabled(!1);F0(this).clear();G0(this).clear();H0(this).clear();I0(this).clear();C0(this).clear()};g.T3=function(){this.gg=!0;this.ea=!1}; -g.Q3=function(a){if(this.gg){this.o&&this.o.oe(!0);K0(this);a=a.target;var b=a.element;isNaN(a.Cf)||b.item.set("progressValue",Ll(100*a.Cf,2)+"%");this.gg=!1;clearInterval(this.Ka);this.Ka=null;this.OE=!1}};g.V3=function(){this.o&&this.o.oe(!1);this.zb().Cd();this.zb().enabled(!1);E0(this).clear();F0(this).clear();G0(this).clear();H0(this).clear();I0(this).clear();Rl(ca.document.body,"cursor","col-resize");this.I.Ze("col-resize")}; -g.L3=function(){this.o&&this.o.oe(!1);this.zb().Cd();this.zb().enabled(!1);E0(this).clear();F0(this).clear();G0(this).clear();H0(this).clear();I0(this).clear();Rl(ca.document.body,"cursor","col-resize");this.I.Ze("col-resize")}; -function P0(a,b,c){if(a.hb){var d=a.hb.b?a.ga:a.la,e=d.item,f=d.Pk,h=d.pb;switch(d.type){case 3:d=a.hb.b?e.K("baselineEnd"):e.K("baselineStart");break;case 5:d=a.hb.b?e.cj("periods",f,"end"):e.cj("periods",f,"start");break;default:d=a.hb.b?na(e.K("actualEnd"))?e.K("actualEnd"):e.K("autoEnd"):na(e.K("actualStart"))?e.K("actualStart"):e.K("autoStart")}e=dr(a.P().Ha().P()).x;b=c?0>c?a.ka.left:a.ka.left+a.ka.width:b.clientX-e;c=GZ(a.ya,d);c=a.ka.left+a.ka.width*c;a.I.clear().moveTo(c,h.top).lineTo(b, -h.top).lineTo(b,h.top+h.height).lineTo(c,h.top+h.height).close()}}function Q0(a,b,c,d){if(a.Ja&&a.gg){var e=a.Ja.vo?a.Y:a.W,f=e.index,e=e.Pk,h=dr(a.P().Ha().P()).x,k=dr(a.P().Ha().P()).y;c||d?(c=a.Ja.b-h,b=a.Ja.j-k):(c=b.clientX-h,b=b.clientY-k);e=R0(a,f,e);d=$F(a.Ei)%2&&XD===YD?.5:0;f=a.Ja.vo?e.left:e.left+e.width;e=e.top+e.height/2+d;J0(a).clear().moveTo(f,e).lineTo(c,b)}}g.FR=function(a){this.gg=!0;this.ea=!1;this.hb=a.target;P0(this,a)}; -g.ER=function(a){if(this.gg){this.o&&this.o.oe(!0);var b=this.I.jb();K0(this);a=a.target.element;var c=a.item,d=a.Pk,e=this.b.data();L(e);var f=(b.left+b.width-this.ka.left)/this.ka.width,b=HZ(this.ya,(b.left-this.ka.left)/this.ka.width),f=HZ(this.ya,f);if(!isNaN(b)&&!isNaN(f))switch(a.type){case 5:c.set("periods",d,"start",b);c.wn("periods",d,"start",b);c.set("periods",d,"end",f);c.wn("periods",d,"end",f);break;case 3:c.set("baselineStart",b);c.K("baselineStart",b);c.set("baselineEnd",f);c.K("baselineEnd", -f);break;default:c.set("actualStart",b),c.K("actualStart",b),c.set("actualEnd",f),c.K("actualEnd",f)}e.ja(!0);YZ(this);this.hb=null;this.gg=!1;clearInterval(this.Ka);this.Ka=null}Rl(ca.document.body,"cursor","");this.I.Ze("ew-resize")};g.tR=function(a){this.o&&this.o.oe(!1);this.zb().Cd();this.zb().enabled(!1);this.g.Ll();this.Ja=a.target;K0(this)};g.uR=function(a){this.Bb=this.gg=!0;this.ea=!1;this.Ja.b=a.clientX;this.Ja.j=a.clientY}; -g.sR=function(){this.gg&&(this.o&&this.o.oe(!0),this.zb().enabled(!0),J0(this).clear(),this.gg=!1,clearInterval(this.Ka),this.Ka=null)}; -g.GM=function(a){if(this.fa&&a){var b;if(a.originalEvent.domTarget&&a.originalEvent.domTarget instanceof D_){b=a.originalEvent.domTarget;var c=a.item,d=a.period,e=a.periodIndex;if(b.I&&!this.gg){var f=b.I;C0(this).clear().moveTo(f.left,f.top).lineTo(f.left+f.width,f.top).lineTo(f.left+f.width,f.top+f.height).lineTo(f.left,f.top+f.height).close();this.I.item=c;this.I.type=b.type;d&&(this.I.He=d);n(e)&&(this.I.Pk=e);if(!c||1!=b.type&&0!=b.type&&2!=b.type)E0(this).clear();else{var h=n(c.get("progressValue"))? -parseFloat(c.get("progressValue"))/100:Ll(c.K("autoProgress"),2),h=f.left+(h||0)*f.width,k=f.top+f.height;E0(this).clear().moveTo(h,k-5).lineTo(h+5,k).lineTo(h+5,k+5).lineTo(h-5,k+5).lineTo(h-5,k).close();this.Ob.pb=f;this.Ob.item=c}h=f.left+f.width;c&&4!=b.type?(G0(this).clear().moveTo(h+1,f.top).lineTo(h+1-3,f.top).lineTo(h+1-3,f.top+f.height).lineTo(h+1,f.top+f.height).close(),F0(this).clear().moveTo(f.left-1,f.top).lineTo(f.left-1+3,f.top).lineTo(f.left-1+3,f.top+f.height).lineTo(f.left-1,f.top+ -f.height).close(),this.la.pb=f,this.la.item=c,this.la.type=b.type,this.ga.pb=f,this.ga.item=c,this.ga.type=b.type,d&&(this.la.He=d,this.ga.He=d),n(e)&&(this.la.Pk=e,this.ga.Pk=e)):(F0(this).clear(),G0(this).clear());c&&3!=b.type?(k=f.top+f.height/2,I0(this).moveTo(h+5+5,k).arcTo(5,5,0,360),H0(this).moveTo(f.left-5+5,k).arcTo(5,5,0,360),this.W.item=c,this.W.type=b.type,this.W.index=a.hoveredIndex+this.b.Ef(),this.Y.item=c,this.Y.type=b.type,this.Y.index=a.hoveredIndex+this.b.Ef(),d&&(this.Y.He=d,this.W.He= -d),n(e)&&(this.Y.Pk=e,this.W.Pk=e)):(I0(this).clear(),H0(this).clear())}else this.Bb&&c&&(f=this.Ja.vo?this.Y:this.W,h=f.item,k=f.index,3!=b.type&&6!=b.type?(d?(f={period:f.He,index:k,periodIndex:f.Pk},c={period:d,index:a.hoveredIndex+this.b.Ef(),periodIndex:e}):(f={item:h,index:k},c={item:c,index:a.hoveredIndex+this.b.Ef()}),a=a.originalEvent.clientX-dr(this.P().Ha().P()).x,b=b.I,b=.5>(a-b.left)/b.width,b=this.Ja.vo?b?"startstart":"startfinish":b?"finishstart":"finishfinish",J0(this).clear(),S0(this, -f,c,b,void 0,this.sd)):Q0(this,a.originalEvent))}else a.originalEvent.domTarget==C0(this)||a.originalEvent.domTarget==E0(this)||a.originalEvent.domTarget==G0(this)||a.originalEvent.domTarget==F0(this)||a.originalEvent.domTarget==I0(this)||a.originalEvent.domTarget==H0(this)||this.gg?this.Bb&&Q0(this,a.originalEvent):K0(this)}};g.Cy=function(a){this.fa&&(this.F=a.item)}; -g.HM=function(a){if(this.fa&&this.Bb){if(a){var b=a.item,c=a.periodIndex;a=a.originalEvent;var d=a.domTarget;if(d instanceof D_&&3!=d.type){a=a.clientX-dr(this.P().Ha().P()).x;var d=d.I,e=this.Ja.vo?this.Y:this.W,d=.5>(a-d.left)/d.width;a=e.item;d=this.Ja.vo?d?"startstart":"startfinish":d?"finishstart":"finishfinish";e=e.Pk;d=d||"finishstart";a instanceof aL||a instanceof cL||(a=this.b.data().eq("id",a),a=a.length?a[0]:null);if(a&&(b instanceof aL||b instanceof cL||(b=this.b.data().eq("id",b),b=b.length? -b[0]:null),b)){L(this.b.data());var f,h,k,l;l=!1;if(this.b.o){var m=a.get("periods")[e],p=b.get("periods")[c];n(m)&&n(p)&&(f=m.connector,h={},h.connectTo=p.id,h.connectorType=d,f?r(f)?f=f.length:(l=ji(f),k={},k.connectTo=m.connectTo,k.connectorType=m.connectorType||"finishstart",li(k,l),f=1,l=!0):(f=m.connectTo,n(f)?(k={},k.connectTo=f,k.connectorType=m.connectorType||"finishstart",f=1,l=!0):f=0),c={type:"beforeCreateConnector",target:b,source:a,connectorType:d,targetPeriod:p,targetPeriodIndex:c, -sourcePeriod:m,sourcePeriodIndex:e},this.g.dispatchEvent(c)&&(l&&a.set("periods",e,"connector",[k]),a.set("periods",e,"connector",f,h)))}else f=a.get("connector"),h={},h.connectTo=b.get("id"),h.connectorType=d,f?r(f)?f=f.length:(l=ji(f),k={},k.connectTo=a.get("connectTo"),k.connectorType=a.get("connectorType")||"finishstart",li(k,l),f=1,l=!0):(f=a.get("connectTo"),n(f)?(k={},k.connectTo=f,k.connectorType=a.get("connectorType")||"finishstart",f=1,l=!0):f=0),c={type:"beforeCreateConnector",target:b, -source:a,connectorType:d},this.g.dispatchEvent(c)&&(l&&a.set("connector",[k]),a.set("connector",f,h));this.b.data().ja(!0)}}}this.Bb=!1}this.Ja=null;this.ea=!0};g.YJ=function(a){if(this.gg&&!this.OE&&(this.ob||this.ib)){var b=0,c=0;this.ob&&(b=0=l){var k=.7*d,l=Math.round(a.ka.left+a.ka.width*l),m=Math.round(c+(d-k)/2);a.Oa().add({value:{x:l,y:m}}).size(k/2).U(h)}}}}} -function R0(a,b,c){var d=a.ka.top+a.Hh()+1,e=a.b.b,f=a.b.Ef(),h=a.b.F,k=a.b.Zi(),f=f?e[f-1]:0,h=h[b];b=(b?e[b-1]:0)-(f+k)+d;d=LZ(a.b,h);e=na(h.K("actualStart"))?h.K("actualStart"):h.K("autoStart");k=na(h.K("actualEnd"))?h.K("actualEnd"):h.K("autoEnd");e=a.b.o?h.cj("periods",c,"start"):e;c=a.b.o?h.cj("periods",c,"end"):k;k=0;if(isNaN(c)||e==c)c=e,k=.7*d/2;if(isNaN(c)||isNaN(e))return null;e=GZ(a.ya,e)*a.ka.width+a.ka.left-k;c=GZ(a.ya,c)*a.ka.width+a.ka.left+k;a.b.o||(h.get("baselineStart")&&h.get("baselineEnd")? -d=a.ci?2.7*d/2:.65*d:h.ec()&&(d*=1-.7+.4));return new Q(e,b,c-e,d)} -function S0(a,b,c,d,e,f){d=d||"finishstart";var h=b.index,k=c.index,l=b.periodIndex,m=c.periodIndex,p=R0(a,h,b.periodIndex),q=R0(a,k,c.periodIndex);if(p&&q){c=e&&e.fill?Qc(e.fill):a.iv;e=e&&e.stroke?Pc(e.stroke):a.X;b=null!=f;var t,u,w,x,y;f=f||null;var B=b?f:null,D,G=!0,K=$F(e)%2&&XD===YD?.5:0;switch((d+"").toLowerCase()){case "finishfinish":t=Math.round(p.left+p.width)+K;u=Math.round(p.top+p.height/2)+K;w=Math.round(q.left+q.width)+K;x=Math.round(q.top+q.height/2)+K;y="left";p.top==q.top?(f=Y0(a, -t,u,w,x,f),t>w&&(y="right")):(p=Math.max(t+4+5,w+4+5),f=Y0(a,t,u,p,u,f),f=Y0(a,p,u,p,x,f),f=Y0(a,p,x,w,x,f));B=Z0(a,w,x,y,B);break;case "startfinish":t=Math.round(p.left)+K;u=Math.round(p.top+p.height/2)+K;w=Math.round(q.left+q.width)+K;x=Math.round(q.top+q.height/2)+K;y="left";t-5-5-4>w?(p=w+5+4,f=Y0(a,t,u,p,u,f),f=Y0(a,p,u,p,x,f),f=Y0(a,p,x,w,x,f)):(G=q.top>=p.top,p=t-5,D=w+5+4,q=Math.round(G?q.top:q.top+q.height)+K,f=Y0(a,t,u,p,u,f),f=Y0(a,p,u,p,q,f),f=Y0(a,p,q,D,q,f),f=Y0(a,D,q,D,x,f),f=Y0(a, -D,x,w,x,f));B=Z0(a,w,x,y,B);break;case "startstart":t=Math.round(p.left)+K;u=Math.round(p.top+p.height/2)+K;w=Math.round(q.left)+K;x=Math.round(q.top+q.height/2)+K;y="right";p.top==q.top?(f=Y0(a,t,u,w,x,f),t>w&&(y="left")):(p=Math.min(t-4-5,w-4-5),f=Y0(a,t,u,p,u,f),f=Y0(a,p,u,p,x,f),f=Y0(a,p,x,w,x,f));B=Z0(a,w,x,y,B);break;default:t=Math.round(p.left+p.width)+K,u=Math.round(p.top+p.height/2)+K,w=Math.round(q.left)+K,w>=t?(w=Math.min(w+5,Math.round(q.left+q.width/2)+K),q.top>p.top?(x=Math.round(q.top)+ -K,f=Y0(a,t,u,w,u,f),f=Y0(a,w,u,w,x,f),B=Z0(a,w,x,"bottom",B)):q.topp.top?q.top:q.top+q.height)+K,p=t+5,D=w-5-4,f=Y0(a,t,u,p,u,f),f=Y0(a,p,u,p,q,f),f=Y0(a,p,q,D,q,f),f=Y0(a,D,q,D,x,f),f=Y0(a,D,x,w,x,f),B=Z0(a,w,x,"right",B))}var q=!1,N;a.fa&&(N={fromItemIndex:h, -toItemIndex:k,connType:d},a.b.o&&(N.fromPeriodIndex=l,N.toPeriodIndex=m,d&&(N.connType=d)),q=v(a.Ga)&&ii(a.Ga,N));f&&!b&&(f.stroke(e),f.tag=void 0,f.type=6,f.I=null,f.Ze(a.fa?"pointer":"default"),f.K=N,f.stroke(q?a.Tp:e));B&&!b&&(B.fill(c).stroke(e),B.tag=void 0,B.type=6,B.I=null,B.Ze(a.fa?"pointer":"default"),B.K=N,B.stroke(q?a.Tp:e))}} -function Y0(a,b,c,d,e,f){if(f)try{f.lineTo(d,e)}catch(m){f.moveTo(b,c).lineTo(d,e)}else{var h=Math.max(b,d),k=Math.min(c,e),l=Math.max(c,e);Math.min(b,d)a.ka.left&&ka.ka.top&&(f=V0(a),f.zIndex(60).moveTo(b,c).lineTo(d,e))}return f} -function Z0(a,b,c,d,e){var f=e||null;if(b>=a.ka.left&&b<=a.ka.left+a.ka.width&&c>=a.ka.top&&c<=a.ka.top+a.ka.height){var h=0,k=0,l=0,m=0;switch(d){case "left":b+=1;h=b+4;k=c-4;l=h;m=c+4;break;case "top":c+=1;h=b-4;k=c+4;l=b+4;m=k;break;case "right":--b;h=b-4;k=c-4;l=h;m=c+4;break;case "bottom":--c,h=b-4,k=c-4,l=b+4,m=k}null!=e||(f=V0(a));f.zIndex(70).moveTo(b,c).lineTo(h,k).lineTo(l,m).lineTo(b,c)}return f} -function YZ(a){var b=a.ya.wi(),c=DZ(a.ya),d=a.b.J,e=a.b.$;L(a.ya);var f=a.ya,h,k;h=Dc(d);k=Dc(e);if(f.D!=h||f.o!=k)f.D=h,f.o=k,f.I=NaN,f.F=NaN,f.b=!1,f.gb(),f.va(4);a.ya.la=d;a.ya.ga=e;!b||isNaN(d)||isNaN(e)||(d=EZ(a.ya),a.ya.$i(d.min,d.min+Math.round((d.max-d.min)/10)));!b&&(b=c.min,d=c.max-b)&&(c=DZ(a.ya),b=c.min,a.ya.$i(b,b+d));a.ya.ja(!0)}g.DS=function(){p_(this).zIndex(34);this.Oa().P(n_(this));this.labels().P(n_(this));this.ru().P(k_(this));YZ(this)}; -g.OG=function(){this.ru().pb().set(this.ka.left,this.ka.top,this.ka.width,this.Hh());this.vm=!0};g.NG=function(){B0(this).stroke(this.nd);J0(this).stroke(this.Ei);C0(this).fill(this.kv).stroke(this.lv);E0(this).fill(this.Rs).stroke(this.Ss);F0(this).fill(this.Mj).stroke(this.Mm);G0(this).fill(this.Mj).stroke(this.Mm);H0(this).fill(this.Lj).stroke(this.Lm);I0(this).fill(this.Lj).stroke(this.Lm)}; -g.aL=function(){W(this,512)&&(this.vm=this.de=!0,this.R(512));if(this.vm){this.ru().B(64);this.Th.aa();var a,b=[];this.Th.iy().enabled()?a=this.Th.iy():this.Th.oy().enabled()?a=this.Th.oy():this.Th.fz().enabled()&&(a=this.Th.fz());a&&(b=a.nn());a=b;if(a.length)for(var b=B0(this).clear(),c=0,d=a.length-1;cG){var N=this.ka.left+this.ka.width*G,S=.7*u;W0(this,new Q(N,t+(u-S)/2,this.ka.left+this.ka.width*K-N,S),y,5)}}}X0(this,l,f,m);f=p+this.Sa}else for(var V=this.ka.top+this.Hh()+1-this.b.Zi(),aa=this.b.F,oa=this.b.Ef();oa<=this.b.mi();oa++){var pa=aa[oa];if(!pa)break;var xa=LZ(this.b,pa),Cb=V+xa,ma=pa.get("baselineStart"),ob=pa.get("baselineEnd");if(n(ma)&& -n(ob)){var nc=pa,Jc=V,od=xa,xb=na(nc.K("actualStart"))?nc.K("actualStart"):nc.K("autoStart"),me=na(nc.K("actualEnd"))?nc.K("actualEnd"):nc.K("autoEnd"),tg=nc.K("baselineStart"),Gd=nc.K("baselineEnd"),cd=GZ(this.ya,xb),jd=GZ(this.ya,me),yb=GZ(this.ya,tg),Nh=GZ(this.ya,Gd);if(0cd||0yb){var ne=this.ka,pf=ne.left+ne.width*cd,Ue=ne.left+ne.width*jd,Ff=Jc+od*(1-.7)/2,fg=.7*od/2,Si=ne.left+ne.width*yb,Oh=ne.left+ne.width*Nh,Gf=Ff+fg;if(this.ci)var vc=Ff,Ff=Gf,Gf=vc;var Ti=new Q(pf,Ff,Ue-pf, -fg),sm=W0(this,Ti,nc,1,"actual");W0(this,new Q(Si,Gf,Oh-Si,fg),nc,3,"baseline");var In=1*fg,Uf=Ff+(fg-In)/2,Bj=n(nc.get("progressValue"))?parseFloat(nc.get("progressValue"))/100:Ll(nc.K("autoProgress"),2);Bj&&(W0(this,new Q(pf,Uf,Bj*(Ue-pf),In),nc,2,"progress").I=sm.I)}}else if(pa.ec()){var Ve=pa,Qt=V,ug=xa,Vf=na(Ve.K("actualStart"))?Ve.K("actualStart"):Ve.K("autoStart"),Cj=na(Ve.K("actualEnd"))?Ve.K("actualEnd"):Ve.K("autoEnd"),nh=GZ(this.ya,Vf),wk=GZ(this.ya,Cj);if(0nh){var yp=this.ka.left+ -this.ka.width*nh,Jn=this.ka.left+this.ka.width*wk,tm=Qt+ug*(1-.7)/2,nl=.4*ug,lr=new Q(yp,tm,Jn-yp,nl),xk=W0(this,lr,Ve,0,"actual"),zp=1*nl,Ap=tm+(nl-zp)/2,Ph=n(Ve.get("progressValue"))?parseFloat(Ve.get("progressValue"))/100:Ll(Ve.K("autoProgress"),2);Ph&&(W0(this,new Q(yp,Ap,Ph*(Jn-yp),zp),Ve,2,"progress").I=xk.I)}}else if(i_(pa)){var Ui=pa,ol=V,Dj=xa,mr=Ui.get("actualStart"),Kn=GZ(this.ya,mr);if(0<=Kn&&1>=Kn){var Ej=Ui.get("milestone"),Vi=Ej&&n(Ej.stroke)?Pc(Ej.stroke):this.tm,um=(ZF(Vi)?0:z(Vi)? -1:Vi.thickness?Vi.thickness:1)%2&&XD===YD?.5:0,Fj=Math.round(.7*Dj/2),Gj=Math.round(this.ka.left+this.ka.width*Kn)+um,oh=Math.round(ol+Dj/2)+um,mi=V0(this);mi.tag=Ui.get("id");mi.type=4;var pl=Gj-Fj,yk=oh-Fj,ql=Gj+Fj,Bp=oh+Fj,Qh=Fj+Fj;mi.zIndex(20).moveTo(pl,oh).lineTo(Gj,yk).lineTo(ql,oh).lineTo(Gj,Bp).close();var ph=new Q(pl,yk,Qh,Qh);mi.I=ph;L(this.b.data());Ui.K("relBounds",ph);this.b.data().ja(!1);var qf=Ej?Ej.label:void 0,ni=void 0;qf&&n(qf.value)?ni=qf.value+"":ni=Ui.get("name")||"";if(ni){var We= -qf&&qf.position?qf.position:this.labels().position(),We=wd(We),rl={value:PF(ph,We)},vm={value:ni},Ln=this.labels().add(vm,rl);qf&&Ln.U(qf);L(this.b.data());Ui.K("labelBounds",this.labels().measure(Ln));this.b.data().ja(!1)}var wm=Ui==this.J;if(Ej){var Hj=void 0;wm?(Hj=this.kc,Vi=this.cc):Hj=n(Ej.fill)?Qc(Ej.fill):this.ql;mi.fill(Hj).stroke(Vi)}else mi.fill(wm?this.kc:this.ql).stroke(wm?this.cc:this.tm)}}else{var qh=pa,sl=V,zk=xa,tl=na(qh.K("actualStart"))?qh.K("actualStart"):qh.K("autoStart"),nr= -na(qh.K("actualEnd"))?qh.K("actualEnd"):qh.K("autoEnd"),Ak=GZ(this.ya,tl),Mn=GZ(this.ya,nr);if(0Ak){var Bk=this.ka.left+this.ka.width*Ak,or=this.ka.left+this.ka.width*Mn,xm=.7*zk,Nn=sl+(zk-xm)/2,cx=new Q(Bk,Nn,or-Bk,xm),DB=W0(this,cx,qh,1,"actual"),dx=1*xm,EB=Nn+(xm-dx)/2,ex=parseFloat(qh.get("progressValue"));ex&&(W0(this,new Q(Bk,EB,ex*(or-Bk)/100,dx),qh,2,"progress").I=DB.I)}}X0(this,pa,V,xa);V=Cb+this.Sa}this.labels().aa();this.Oa().aa();for(var fx=this.b.X,Cp=fx.length,ym,ZH=this.b.o? -this.b.Y:this.b.ea;Cp--;){ym=fx[Cp];var rh=ym.to;v(rh)||(rh=ZH[rh]);n(rh)?(ym.to=rh,S0(this,ym.from,rh,ym.type,ym.connSettings)):kc(fx,Cp,1)}for(var gx=this.Xp,$H=this.cq.length;gx<$H;gx++){var hx=this.cq[gx];hx.fill(null).stroke(null).clear();hx.I=null;hx.type=void 0}this.vm=!1;for(var aI=new Q(this.ka.left,this.ka.top+this.Hh()+1,this.ka.width,this.NL),mN=0;mNc.J||(c.D=Math.min(c.D,a),c.j=a,c.o=Math.max(c.o,b),c.g=b,c.va(4)));else if(this.Bb||this.gg&&this.F||!this.gg)c=this.ya,a&&!c.wi()&&(b=EZ(c),a=Math.round((c.g-c.j)* -a),f=0,f=0<=a?Math.min(b.max-c.g,a):Math.max(b.min-c.j,a),CZ(c,c.j+f,c.g+f));yI(this,this.ya,this.b)};g.scale=function(a){return n(a)?(this.ya.U(a),this):this.ya}; -g.N=function(){var a=w0.G.N.call(this);a.scale=this.ya.N();a.labels=this.labels().N();a.markers=this.Oa().N();a.header=this.ru().N();a.columnStroke=T(this.nd);a.baselineAbove=this.ci;a.baseFill=T(this.Js);a.baseStroke=T(this.Xu);a.baselineFill=T(this.bv);a.baselineStroke=T(this.dv);a.milestoneFill=T(this.ql);a.milestoneStroke=T(this.tm);a.parentFill=T(this.rz);a.parentStroke=T(this.sz);a.progressFill=T(this.uz);a.progressStroke=T(this.vz);a.connectorFill=T(this.iv);a.connectorStroke=T(this.X);a.selectedElementFill= -T(this.kc);a.selectedElementStroke=T(this.cc);a.selectedConnectorStroke=T(this.Tp);a.connectorPreviewStroke=T(this.Ei);a.editPreviewFill=T(this.kv);a.editPreviewStroke=T(this.lv);a.editProgressFill=T(this.Rs);a.editProgressStroke=T(this.Ss);a.editIntervalThumbFill=T(this.Mj);a.editIntervalThumbStroke=T(this.Mm);a.editConnectorThumbFill=T(this.Lj);a.editConnectorThumbStroke=T(this.Lm);for(var b=0,c=[],b=0;b=Math.abs(a-c)&&(c=(b.j+b.g)/2,a=c-3E4,c+=3E4);CZ(b,a,c)}return this}; -g.FW=function(a){var b=x0(this.sh()),c;b.wi()?c=!0:(c=EZ(b),c=b.j<=c.min);(c=!c)||(b.wi()?c=!0:(c=EZ(b),c=b.g>=c.max),c=!c);c&&(c=Math.round((b.g-b.j)*((a||1.25)-1)/2),a=b.j-c,c=b.g+c,EZ(b),ab.F?ab.F?CZ(b,b.I,b.F):(ab.F&&CZ(b,a-(c-b.F),b.F)):CZ(b,a,c));return this};g.$i=function(a,b,c){x0(this.sh()).$i(a,b,c);return this};g.yW=function(){var a=x0(this.sh());if(!a.wi()){var b=EZ(a);CZ(a,b.min,b.max)}return this}; -g.g4=function(a){var b=this.j.eq("id",a);if(b.length){var b=b[0],c=b.K("actualStart"),d=b.K("actualEnd");if(!n(c)||(isNaN(c)||n(d))&&c!=d){if(CZ(x0(this.sh()),c,d),a=this.b.ka,0c.left+c.width,e,f;d.width=b.getTime()-c.getTime()&&150>d;b.add(k),d++)h.push(b.getTime());e&&0=c.getTime()-h.getTime()&&150>b;c.add(k),b++)e.push(c.getTime());a.Nn=e}this.J&&(this.min=f[0]);this.I&&(this.max=f[1]);this.Pe=this.max-this.min}};g.qx=function(){return!0};g.IP=function(a){X(a,2)&&(this.b=!1,this.va(2))};g.N=function(){var a=Ee.G.N.call(this);a.ticks=this.Ia().N();a.minorTicks=this.Za().N();return a};g.da=function(a,b){Ee.G.da.call(this,a,b);this.Ia(a.ticks);this.Za(a.minorTicks)};function DY(){return new Ee}C("anychart.scales.dateTime",DY);Ee.prototype.getType=Ee.prototype.Ua; -Ee.prototype.ticks=Ee.prototype.Ia;Ee.prototype.minorTicks=Ee.prototype.Za;Ee.prototype.transform=Ee.prototype.transform;Ee.prototype.inverseTransform=Ee.prototype.Ic;Ee.prototype.extendDataRange=Ee.prototype.uc;Ee.prototype.softMinimum=Ee.prototype.uB;Ee.prototype.softMaximum=Ee.prototype.tB;Ee.prototype.minimumGap=Ee.prototype.rr;Ee.prototype.maximumGap=Ee.prototype.qr;function e1(){VJ.call(this);this.g=null;this.fa=!1;this.Ka=60;this.F="day";this.D=1;this.Ba=Date.UTC(2E3,0);this.la={};this.$=null;this.Ma=0}E(e1,VJ);g=e1.prototype;g.wa=3;g.za=6;g.rH=function(a){if(n(a))return this.g!=a&&(this.g&&uI(this.g,this.nJ,this),(this.g=a)&&P(this.g,this.nJ,this),this.la={},this.$=null,this.B(1,6)),this;this.g||(this.g=new aZ,P(this.g,this.nJ,this));return this.g};g.YK=function(a){return n(a)?(a=!!a,this.fa!=a&&(this.fa=a,this.la={},this.$=null,this.B(1,6)),this):this.fa}; -g.aV=function(a){return n(a)?(a=Tb(a),this.Ka!=a&&(this.Ka=a,this.B(2,6)),this):this.Ka};g.Xe=function(a){return n(a)?(a=de(a,"day",!0),this.F!=a&&(this.F=a,this.B(1,6)),this):this.F};g.count=function(a){return n(a)?(a=Fb(a),this.D!=a&&(this.D=a,this.B(1,6)),this):this.D};g.pE=function(a){return n(a)?(a=Dc(a),this.Ba!=a&&(this.Ba=a,this.B(2,2)),this):this.Ba};g.Ua=function(){return"dateTimeWithCalendar"};g.wk=function(a){f1(this);return(g1(this.$,Dc(a))-this.Ma)*this.Ka}; -g.Eo=function(a){f1(this);var b;b=this.$;a=a/this.Ka+this.Ma;if(b.co)b=Math.floor(a*b.co+b.b);else{var c=a;if(b.oi&&!b.co){var d,e;if(0<=c){if(c=2*Math.ceil(c)+2,b.lj)if(b.nr)for(;b.oi.lengtha?(a=-a,c=b.ji):c=b.oi;d=Math.floor(a);a-=d;d*=2;b=c?c.length>d?Math.floor(c[d]+(a&&(c[d+1]-c[d])*a)):c[c.length-1]:b.b}return b}; -g.nn=function(a,b,c,d){f1(this);var e=[];a=VF(this.Eo(a),c||this.F,d||this.D);b=this.Eo(b);a=new Vj(new Date(a));c=WF(c||this.F,d||this.D);for(d=a.getTime();d=a.b){if(a.lj&&a.Sg.getTime()b)if(a.nr){c=hZ(a.lp,b,a.gh.getTime()-1,a.Dw,!0);for(d=c.length;d--;)e=c[d],a.ji.push(e.end,e.start); -c.length&&a.gh.setTime(c[0].start);a.gh.getTime()>b&&(a.gl=null)}else{d=a.gh.getTime();do c=d,a.gh.add(a.gl),d=a.gh.getTime(),a.ji.push(c,d);while(d>b)}}if(!a.oi)return NaN;if(b==a.b)return 0;if(b>a.b){if(a.Sg.getTime()<=b)return a.oi.length/2;c=bc(a.oi,b);if(0<=c)return Math.round(c/2);c=~c;return c&1?(c>>1)+(b-a.oi[c-1])/(a.oi[c]-a.oi[c-1]):c>>1}if(!a.ji)return 0;if(a.gh.getTime()>=b)return-(a.ji.length/2);c=bc(a.ji,b,HF);if(0<=c)return-Math.round(c/2)||0;c=~c;return c&1?-((c>>1)+(b-a.ji[c-1])/ -(a.ji[c]-a.ji[c-1])):-(c>>1)||0}e1.prototype.dateToPix=e1.prototype.wk;e1.prototype.pixToDate=e1.prototype.Eo;e1.prototype.calendar=e1.prototype.rH;e1.prototype.skipHolidays=e1.prototype.YK;e1.prototype.unitPixSize=e1.prototype.aV;e1.prototype.unit=e1.prototype.Xe;e1.prototype.count=e1.prototype.count;e1.prototype.startDate=e1.prototype.pE;e1.prototype.getTicks=e1.prototype.nn;e1.prototype.softMinimum=e1.prototype.uB;e1.prototype.softMaximum=e1.prototype.tB;e1.prototype.minimumGap=e1.prototype.rr; -e1.prototype.maximumGap=e1.prototype.qr;e1.prototype.minimum=e1.prototype.rk;e1.prototype.maximum=e1.prototype.Ym;function k1(a,b){lR.call(this);this.ob=new Q(0,0,0,0);this.F=new yP;this.F.target(this);P(this.F,this.T5,this);this.hb=new Q(0,0,0,0);this.Y=new ST;P(this.Y,this.U5,this);this.ub=new Q(0,0,0,0);this.Va=new XO;P(this.Va,this.K5,this);this.Ba=new pJ;P(this.Ba,this.DX,this);this.J=new TO;P(this.J,this.H5,this);this.fe=new Q(0,0,0,0);this.O=new SN(!0);this.O.pa("scrollerchange",this.X5,!1,this);P(this.O,this.Y5,this);this.qe=new Q(0,0,0,0);this.g=new SN(!0);this.g.Fd(!0);this.g.pa("scrollerchange",this.Z5, -!1,this);P(this.g,this.c6,this);this.$a=new aZ;this.Na=new e1;this.Na.rH(this.$a);P(this.Na,this.AX,this);this.Qa=this.Ja=this.W=NaN;this.D=null;this.kc=this.cc=this.ea=this.b=0;this.kg=this.ga=null;this.ze=0;this.la=[];this.ib=null;this.Ye=0;this.nc=this.nd=!1;this.Gg=60;this.Cb=30;this.Qb=100;this.Pd=null;this.Ma=new jK;P(this.Ma,this.v5,this);this.Bb=new CT;P(this.Bb,this.p5,this);this.X=new NT(this);P(this.X,this.y5,this);this.data(a||null,b)}E(k1,lR);g=k1.prototype;g.wa=lR.prototype.wa|67104768; -g.Ua=function(){return"resource"};g.Rd=function(){return[]};g.data=function(a,b){return n(a)?(this.Sa!==a&&(this.Sa=a,dg(this.fa),a instanceof oL?this.j=this.fa=a.xk():this.j=a instanceof uL?this.fa=a.rf():(this.fa=new uL(r(a)||z(a)?a:null,b)).rf(),P(this.j,this.zX,this),this.B(524288,J)),this):this.j};g.Fa=function(a){return n(a)?(this.Na.U(a),this):this.Na}; -g.iL=function(a){if(n(a)){var b=we(a);a="availabilityPerChart"==b||"activityPerChart"==b;b="availabilityPerChart"==b||"availabilityPerResource"==b;if(this.nd!=a||this.nc!=b)this.nd=a,this.nc=b,this.B(524288,J);return this}return this.nd?this.nc?"availabilityPerChart":"activityPerChart":this.nc?"availabilityPerResource":"activityPerResource"};g.eR=function(a){return n(a)?(a=Fb(a,60),this.Gg!=a&&(this.Gg=a,this.B(524288,J)),this):this.Gg}; -g.yT=function(a){return n(a)?(a=F(a),isNaN(a)||this.Cb==a||(this.Cb=a,this.B(524288,J)),this):this.Cb};g.aT=function(a){return n(a)?(a=F(a),isNaN(a)||this.Qb==a||(this.Qb=a,this.B(524288,J)),this):this.Qb};g.nE=function(a,b,c,d,e){if(n(a)){var f=Pc.apply(null,arguments);f!=this.xf&&(this.xf=f,this.B(16777216,J));return this}return this.xf};g.cellPadding=function(a,b,c,d){return n(a)?(this.Ma.U.apply(this.Ma,arguments),this):this.Ma};g.Hq=function(a){return n(a)?(this.Bb.U(a),this):this.Bb}; -g.PH=function(a){return n(a)?(this.X.U(a),this):this.X};g.yF=function(a){return n(a)?(this.$a.U(a),this):this.$a};g.r9=function(a){return n(a)?(this.Y.U(a),this):this.Y};g.y6=function(a){return n(a)?(this.Va.U(a),this):this.Va};g.zF=function(a){return n(a)?(this.J.U(a),this):this.J};g.BX=function(a){return n(a)?(this.O.U(a),this):this.O};g.EX=function(a){return n(a)?(this.g.U(a),this):this.g}; -g.DL=function(a){if(n(a)){if(r(a)){for(var b=[],c=0;ce&&(a.widththis.b&& -(a.heighta?(this.vf=4,this.Lh=6,this.Aj=NaN):(this.Lh=this.vf=NaN,this.Aj=+a),this.qh=this.wg=null,this.va(2)),this):this.Aj}; -g.count=function(a,b){return n(a)?(this.vf!=a&&(this.Aj=NaN,this.vf=Math.ceil(F(a)),this.Lh=Math.ceil(F(b)),2<=this.vf||(this.vf=4),this.Lh>=this.vf||(this.Lh=this.vf),this.qh=this.wg=null,this.va(2)),this):[this.vf,this.Lh]};g.DB=function(a){return n(a)?(a=+a||0,this.Qj!=a&&(this.Qj=a,this.qh=null,this.wg||this.va(2)),this):this.Qj};g.set=function(a){uj(this.wg,a)||(this.Aj=this.Lh=this.vf=NaN,this.wg=Fc(a,0),pj(this.wg),ic(this.wg,EF),this.qh=null,this.va(2));return this}; -g.get=function(){var a=n1(this);return bj(a,function(a){a=this.transform(a);return 0<=a&&1>=a},this.ya)};function n1(a){a.wg?a=a.wg:(a.ya.gb(),a=a.qh);return a||[]}g.mode=function(a){return n(a)?(a=(""+a).toLowerCase(),a="log"==a||"logarithmic"==a?"logarithmic":"linear",this.Pt!=a&&(this.qh=null,this.Pt=a,this.wg||this.va(2)),this):this.Pt}; -function o1(a,b,c,d,e,f){if("logarithmic"==a.Pt){f=f||10;a.qh=null;var h=[b,c];if(a.wg)d&&(h[0]=Math.min(b,a.wg[0]||0)),e&&(h[1]=Math.max(c,a.wg[a.wg.length-1]||0));else{b=Zz(b,f);c=Zz(c,f);var k=[],l=a.Aj;if(isNaN(l))for(var m=NaN,p=NaN,q=a.vf;q<=a.Lh;q++){var m=(c-b)/(a.vf-1),t=Math.log(m),u=Math.ceil(Math.pow(10,Math.floor(t*Math.LOG10E))),m=Math.min(RF(m,u),RF(m,Math.ceil(Math.pow(10,Math.ceil(t*Math.LOG10E)))),RF(m,Math.ceil(Math.pow(2,Math.floor(t*Math.LOG2E)))),RF(m,Math.ceil(Math.pow(2,Math.ceil(t* -Math.LOG2E)))),RF(m,Math.ceil(u/2)),RF(m,Math.ceil(u/4)),RF(m,Math.ceil(u/8))),m=Math.max(m,1E-7),t=Xz(QF(b,m,a.Qj))-b,t=t*t,u=Xz(RF(c,m,a.Qj))-c,u=u*u,t=t+u;if(isNaN(p)||tb.length)){c=c||10;var f="logarithmic"==a.Pt?a.cW:a.H2,h,k;n(d)?(h=b[0],k=b[1],f.call(a,h,k,d,k,c),h=1):h=0;d=b.length-1;n(e)&&d--;for(var l=h;l<=d-1;l++)h=b[l],k=b[l+1],f.call(a,h,k,h,k,c);n(e)&&(h=b[d],k=b[d+1],f.call(a,h,k,h,e,c))}} -g.H2=function(a,b,c,d){var e=this.Aj;isNaN(e)&&(e=(d-c)/(this.vf-1));e=Math.max(e,1E-7);c=this.qh[this.qh.length-1];b=Ll(b,7);for(a=Ll(a,7);a<=b;a=Ll(a+e,7))c!=a&&this.qh.push(a),c=a};g.cW=function(a,b,c,d,e){var f=this.Aj;a=Zz(a,e);b=Zz(b,e);c=Zz(c,e);d=Zz(d,e);isNaN(f)&&(f=(d-c)/(this.vf-1));f=Math.max(f,1E-7);c=this.qh[this.qh.length-1];b=Ll(b,7);for(a=Ll(a,7);a<=b;a=Ll(a+f,7))c!=a&&this.qh.push($z(e,a)),c=a}; -g.N=function(){var a=m1.G.N.call(this);a.mode=this.Pt;a.base=this.Qj;this.wg?a.explicit=this.wg:(this.vf==this.Lh?isNaN(this.vf)||(a.count=this.vf):(isNaN(this.vf)||(a.minCount=this.vf),isNaN(this.Lh)||(a.maxCount=this.Lh)),isNaN(this.Aj)||(a.interval=this.Aj));return a};g.Qe=function(a){var b=arguments;return r(b[0])?(this.set(b[0]),!0):tI.prototype.Qe.apply(this,b)}; -g.da=function(a,b){m1.G.da.call(this,a,b);this.mode(a.mode);this.DB(a.base);this.wg=a.explicit||null;this.vf=a.count||a.minCount||NaN;this.Lh=a.count||a.maxCount||NaN;this.Aj=a.interval||NaN;this.wg?this.vf=this.Lh=this.Aj=NaN:this.Aj?this.vf=this.Lh=NaN:(this.vf=Math.ceil(F(this.vf)),this.Lh=Math.ceil(F(this.Lh)),2<=this.vf||(this.vf=4),this.Lh>=this.vf||(this.Lh=this.vf))};m1.prototype.interval=m1.prototype.I2;m1.prototype.count=m1.prototype.count;m1.prototype.base=m1.prototype.DB; -m1.prototype.set=m1.prototype.set;m1.prototype.get=m1.prototype.get;m1.prototype.mode=m1.prototype.mode;function De(){VJ.call(this);this.D=this.F=null;this.HH=!0;this.g=10;this.ea=!0;this.la=this.TS}E(De,VJ);g=De.prototype;g.TB="none";g.OH="firstVisible";g.Ua=function(){return"linear"};g.Ia=function(a){this.F||(this.F=this.sB());return n(a)?(this.F.U(a),this):this.F};g.Za=function(a){this.D||(this.D=this.sB(),L(this.D),this.D.count(5),this.D.ja(!1));return n(a)?(this.D.U(a),this):this.D};g.gL=function(a){return n(a)?(a=!!a,a!=this.ea&&(this.ea=a,this.J||this.I)&&(this.b=!1,this.va(4)),this):this.ea}; -g.gb=function(){if(!this.b){De.G.gb.call(this);var a=o1(this.Ia(),this.min,this.max,this.J&&this.min!=this.ua,this.I&&this.max!=this.O,this.g);this.J&&(this.min=a[0]);this.I&&(this.max=a[1]);p1(this.Za(),n1(this.Ia()),this.g,a[2],a[3]);this.Pe=this.max-this.min}};g.C2=function(a){X(a,2)&&(this.b=!1,this.va(2))};g.sB=function(){var a=new m1(this);O(this,a);P(a,this.C2,this);return a}; -g.FQ=function(a){if(n(a)){a=Rd(a);if(this.TB!=a){this.TB=a;switch(this.TB){case "none":this.la=this.TS;break;case "value":this.la=this.C6;break;case "percent":this.la=this.B6}this.va(6)}return this}return this.TB};g.EQ=function(a){return n(a)?(a=Sd(a)||Dc(a),this.OH!=a&&(this.OH=a,this.va(6)),this):this.OH};g.Br=function(a,b){return this.la(a,b)};g.TS=function(a){return a};g.C6=function(a,b){return F(a)-b};g.B6=function(a,b){return(F(a)-b)/(b||1)*100}; -g.N=function(){var a=De.G.N.call(this);a.ticks=this.Ia().N();a.minorTicks=this.Za().N();a.stackMode=this.Dg();a.stickToZero=this.gL();return a};g.da=function(a,b){De.G.da.call(this,a,b);this.Ia(a.ticks);this.Za(a.minorTicks);this.Dg(a.stackMode);this.gL(a.stickToZero)};function CY(){return new De}C("anychart.scales.linear",CY);De.prototype.transform=De.prototype.transform;De.prototype.inverseTransform=De.prototype.Ic;De.prototype.getType=De.prototype.Ua;De.prototype.ticks=De.prototype.Ia; -De.prototype.minorTicks=De.prototype.Za;De.prototype.stackMode=De.prototype.Dg;De.prototype.stickToZero=De.prototype.gL;De.prototype.softMinimum=De.prototype.uB;De.prototype.softMaximum=De.prototype.tB;De.prototype.minimumGap=De.prototype.rr;De.prototype.maximumGap=De.prototype.qr;De.prototype.comparisonMode=De.prototype.FQ;De.prototype.compareWith=De.prototype.EQ;function q1(a){Z.call(this);this.Ta=a;this.o=null;this.b=[];this.ea=[];this.mb=null;this.D=[];this.g=null;this.ga=[];this.la=[];this.O=null;this.fa="#f00";this.X=null;this.Ka=void 0;this.Ga=va(function(){this.Ka=void 0;if(isNaN(this.tC)){var a=this.Ta;a.O=NaN;a.W=NaN;a.Y=NaN;r1(a)}else{var a=this.Ta,c=this.tC,d=this.Ja,e=this.Sa;a.O=c;a.W=d;a.Y=e;s1(a,c,d,e)}},this);this.At("line")}E(q1,lO);g=q1.prototype;g.tC=NaN;g.za=lO.prototype.za|68;g.wa=lO.prototype.wa|16320; -g.s_=function(a,b,c){return this.je("area",a,b,c)};g.v_=function(a,b,c){return this.je("candlestick",a,b,c)};g.w_=function(a,b,c){return this.je("column",a,b,c)};g.lc=function(a,b,c){return this.je("line",a,b,c)};g.A_=function(a,b,c){return this.je("marker",a,b,c)};g.B_=function(a,b,c){return this.je("ohlc",a,b,c)};g.D_=function(a,b,c){return this.je("rangeArea",a,b,c)};g.E_=function(a,b,c){return this.je("rangeColumn",a,b,c)};g.F_=function(a,b,c){return this.je("rangeSplineArea",a,b,c)}; -g.G_=function(a,b,c){return this.je("rangeStepArea",a,b,c)};g.M_=function(a,b,c){return this.je("spline",a,b,c)};g.N_=function(a,b,c){return this.je("splineArea",a,b,c)};g.O_=function(a,b,c){return this.je("stepArea",a,b,c)};g.P_=function(a,b,c){return this.je("stepLine",a,b,c)};g.q_=function(a){var b=[],c=this.At(),d=arguments.length;L(this);if(d)for(var e=0;e=c?(a.O?a.O.clear():(a.O=Pl(),a.O.fill(null),a.O.stroke(a.fa),a.O.wc(!0),a.O.zIndex(1E3)),c=a.I.left+c*a.I.width,c=wg(c,d),a.O.moveTo(c,a.I.top),a.O.lineTo(c,a.I.Ra()),a.O.parent()||a.j.ab(a.O)):a.O&&a.O.remove();for(d=0;de?(e=h.scale(),"layout"in f||(l=!1,h instanceof lM&&(h=h.Je(),l="left"==h||"right"==h),f.layout=l?"horizontal":"vertical"),"scale"in f||(h=qa(e),b[h]?f.scale=$i(c,b[h]):(b[h]=e.N(),c.push(b[h]),f.scale=c.length-1))):f.axis=e;m.push(f)}m.length&&(a.grids=m);d=[];for(k=0;k=f.offset?b=f:c=f}var h;b?c?h=hl(c.color,b.color,(a-b.offset)/(c.offset-b.offset)):h=b.color:h=c.color;return $k(h)}; -g.A2=function(a){this.gb();a=cl(ME(a).mg);var b,c,d,e,f,h,k;h=0;for(k=this.g.length;hb?"inside"==a.position()?0:c:c:c);return c}; -g.VF=function(a,b,c,d,e){c=a.top+a.height+c/2-d;var f=this.scale();if(f instanceof bN)this.lc.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(f instanceof cN){d=f.nm();for(var f=f.Kh(),h=a.width/d.length,k=0,l=d.length;kb&&(d=b-(l+h)),"left"==p||"top"==p?q=h:"right"== -p||"bottom"==p?q=b-d-l:"center"==p&&(q=(b-d-l-h)/2)):(d+m+k>b&&(d=b-(m+k)),"left"==p||"top"==p?q=k:"right"==p||"bottom"==p?q=b-d-m:"center"==p&&(q=(b-d-m-k)/2));var t,u;switch(this.Je()){case "top":f=a.top+k;e=a.left+q;u=c;t=d;break;case "right":f=a.top+q;e=a.left+a.width-c-l;u=d;t=c;break;case "bottom":f=a.top+a.height-c-m;e=a.left+q;u=c;t=d;break;case "left":f=a.top+q,e=a.left+h,u=d,t=c}this.xl=new Q(Math.round(e),Math.round(f),Math.round(t),Math.round(u))}else this.xl=new Q(0,0,0,0);this.R(4)}return this.xl}; -g.XF=function(a){return U(this.pd,a)}; -g.sQ=function(a,b){var c=this.Ia(),d=this.Za(),e=this.up(c),f=this.up(d),h=0,k=K1(this);"outside"==c.position()?"outside"==d.position()?h=Math.max(a+e,b+f):(h="inside"==d.position()?Math.max(a+e,b):Math.max(a+e,b+f),k=Math.max(f,k)):"inside"==c.position()?"outside"==d.position()?(h=Math.max(a,b+f),k=Math.max(e,k)):(h="inside"==d.position()?Math.max(a,b):Math.max(a,b+f),k=Math.max(e,f,k)):"outside"==d.position()?(h=Math.max(a+e,b+f),k=Math.max(e,k)):(h="inside"==d.position()?Math.max(a+e,b):Math.max(a+ -e,b+f),k=Math.max(e,f,k));c=this.stroke();return h+k+(Math.round(this.$)+(!c||ZF(c)?0:c.thickness?parseFloat(c.thickness):1))}; -function L1(a,b){if(!isNaN(+b)){var c=a.scale(),d=a.O,e=a.j&&a.j.enabled(),d=d&&d.enabled()&&d.Td()==c;if(a.enabled()&&e&&c&&d&&(c=a.lc.jb(),e=Ac(a.scale().transform(b,.5),0,1),!isNaN(e))){var f,h,k;switch(a.Je()){case "top":f=c.left+c.width*e;h=c.top+c.height+a.j.size();k=180;break;case "bottom":f=c.left+c.width*e;h=c.top-a.j.size();k=0;break;case "left":f=c.left+c.width+a.j.size();h=c.top+c.height-c.height*e;k=90;break;case "right":f=c.left-a.j.size(),h=c.top+c.height-c.height*e,k=-90}L(a.j).rotation(k).ic({value:{x:f, -y:h}}).ja(!1).aa();a.j.Re().visible(!0)}}}function M1(a){a.scale()&&a.j&&a.j.Re().visible(!1)}g.scale=function(a){var b=this.vh||N1(this);n(a)&&b&&b!=a&&b.Ua()!=a.Ua()&&(this.lc&&(this.lc.xh(),this.lc.parent(null),this.lc=null),this.o&&(this.o.length=0));return I1.G.scale.call(this,a)||N1(this)};function N1(a){a.fa||(a.fa=new bN,a.fa.Kh("#fff","#000"));return a.fa} -g.aa=function(){if(!this.Kb())return this;W(this,1024)&&(this.j&&(this.j.P(this.P()),this.j.zIndex(this.zIndex()+1),this.j.aa(),this.j.Re().visible(!1)),this.R(1024));W(this,2)&&this.j&&this.j.P(this.P());if(W(this,8)&&this.j){var a=this.zIndex();this.j.zIndex(a+1)}return I1.G.aa.call(this)}; -g.M5=function(a){var b=this.scale(),c=this.O;if(this.enabled()&&b&&c&&c.enabled()&&c.Td()==b){var d=this.lc.jb(),e,f;this.kb()?(e=a.clientX,f=d.left+dr(this.P().Ha().P()).x,d=(e-f)/d.width):(e=a.clientY,f=d.top+dr(this.P().Ha().P()).y,d=(d.height-(e-f))/d.height);d=b.Ic(d);a.metaKey||a.shiftKey||!c.map||c.map.pe();var h,k;if(b instanceof cN)d=b.Dj(d),b&&c&&(k=this.W[d.sourceIndex],c.Zb().Ed().Cc()==fc?this.tc={na:c,sc:k}:this.tc=[{na:c,sc:k,yi:k[k.length-1],qd:{index:k[k.length-1],$e:0}}]);else if(b instanceof -bN){a=c.Nb();k=Infinity;f=b.rk();for(e=b.Ym();a.advance();)h=a.get(c.Dc[1]),h=Ac(h,f,e),h=Math.abs(d-h),k>h&&(k=h);k=[];for(a=c.Nb();a.advance();)h=a.get(c.Dc[1]),h=Ac(h,f,e),h==d&&k.push(a.ra());b&&c&&(c.Zb().Ed().Cc()==fc?this.tc={na:c,sc:k}:this.tc=[{na:c,sc:k,yi:k[k.length-1],qd:{index:k[k.length-1],$e:0}}])}}}; -g.eP=function(a){var b=this.scale(),c=this.O;if(this.enabled()&&b&&c&&c.enabled()&&c.Td()==b){var d=this.lc.jb(),e,f;this.kb()?(e=a.clientX,f=d.left+dr(this.P().Ha().P()).x,d=(e-f)/d.width):(e=a.clientY,f=d.top+dr(this.P().Ha().P()).y,d=(d.height-(e-f))/d.height);var h,d=b.Ic(d);if(b instanceof cN)a=b.Dj(d),h=this.W[a.sourceIndex],c.Zb().Ed().Cc()==fc?this.tc={na:c,sc:h}:this.tc=[{na:c,sc:h,yi:h[h.length-1],qd:{index:h[h.length-1],$e:0}}];else if(b instanceof bN&&c){f=c.Nb();h=Infinity;for(var k= -NaN,l=b.rk(),m=b.Ym();f.advance();){e=f.get(c.Dc[1]);e=Ac(e,l,m);var p=Math.abs(d-e);h>p&&(h=p,k=e)}h=[];f=c.Nb();for(d=k;f.advance();)e=f.get(c.Dc[1]),e=Ac(e,l,m),e==d&&h.push(f.ra());b&&c&&(b=c.Zb(),b.Ed().Cc()==fc?(this.tc&&!ej(h,function(a){return hj(this.tc.sc,a)},this)&&b.dispatchEvent(b.hh("hovered",a,[{na:c,sc:[],qd:{index:this.tc.sc[this.tc.sc.length-1],$e:0}}],!1)),this.tc={na:c,sc:h}):this.tc=[{na:c,sc:h,yi:h[h.length-1],qd:{index:h[h.length-1],$e:0}}])}L1(this,d)}}; -g.B0=function(){M1(this);var a=this.O;a&&(this.b=a)};g.remove=function(){I1.G.remove.call(this);this.j&&this.j.remove()};g.N=function(){var a=I1.G.N.call(this);a.marker=this.VG().N();a.colorLineSize=this.RB();a.length=this.length();a.align=this.YA();return a};g.da=function(a,b){I1.G.da.call(this,a,b);this.VG(a.marker);this.RB(a.colorLineSize);this.length(a.length);this.YA(a.align)};I1.prototype.marker=I1.prototype.VG;I1.prototype.colorLineSize=I1.prototype.RB;I1.prototype.length=I1.prototype.length; -I1.prototype.align=I1.prototype.YA;function O1(){tR.call(this);this.cc=this.ob=null;this.Zg=[];this.j=null;this.ub=[];this.Y=this.W=this.F=null;this.b=[];this.ze=this.D=null;this.hb=!0;this.Kj=NaN;this.vm=new Ea(this);np(this,Ia,function(){this.Js=!0},!1,this);np(this,Fa,function(){this.Js=!1;this.Ye=this.tf.Se().clone();P1(this);this.Cb=!0;Q1(this)},!1,this);this.Tk=!1;this.ql=va(this.z3,this);this.Ss=va(function(){this.dz&&this.Qp(this.jk);this.ua.Ac(this,["pointerdown","touchstart"],this.cq,!1,this);this.cq=null;this.ua.Ac(this, -["pointermove","touchmove"],this.Xp,!1,this);this.Xp=null;this.Tp=!1},this);this.dv=va(function(){this.cD||this.Qp(this.jk);this.ua.Ac(this,["pointermove","mousemove"],this.Vp,!1,this);this.Vp=null;this.Jp=!1},this);this.Xu=va(this.Qp,this);this.kk=this.XB=null;this.bn=[];this.nd=null;this.fa=[];this.Yu(!0);this.Pl("choropleth");this.az&&this.ua.pa(this,["pointerdown","touchstart"],this.h9)}E(O1,tR);O1.prototype.wa=tR.prototype.wa|I|268423168;O1.prototype.za=tR.prototype.za|1024; -var Ja=100,R1={"default":{crs:"wsg84",scale:1}},DV=11,GS=20,FV=31,PM=1E-5,Cs=1;g=O1.prototype;g.Wh=0;g.El=1;g.Or=1;g.Tg=Cs;g.ih=null;g.Ua=function(){return"map"};g.Pl=function(a){return n(a)?(this.$a=a=Td(a),this):this.$a}; -g.z3=function(){if(this.P().Ha()&&this.P().Ha().P()&&this.Qh()){var a=this.P().Ha().P();Hn&&(a.style["-ms-touch-action"]="none");this.ib=Bo("textarea");this.ib.setAttribute("readonly","readonly");Rl(this.ib,{border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",left:0,top:0,width:"1px"});a.appendChild(this.ib);this.pa("pointsselect",function(a){this.ib.innerHTML=this.Ed().Tw().call(a,a);this.ib.select()},!1,this);this.g=new Ou(this.ib);this.g.I= -!0;this.g.J=!0;this.g.F=!0;this.g.$=!0;this.g.Di("zoom_in",187,8);this.g.Di("zoom_out",189,8);this.g.Di("zoom_full_out",48,8);this.g.Di("zoom_in",187,2);this.g.Di("zoom_out",189,2);this.g.Di("zoom_full_out",48,2);this.g.Di("zoom_in",107,8);this.g.Di("zoom_out",109,8);this.g.Di("zoom_full_out",96,8);this.g.Di("zoom_in",107,2);this.g.Di("zoom_out",109,2);this.g.Di("zoom_full_out",96,2);this.g.Di("move_left",37);this.g.Di("move_right",39);this.g.Di("move_up",38);this.g.Di("move_down",40);this.g.Di("drill_up", -8);this.g.Di("drill_up",27);this.g.pa("shortcut",function(a){if(this.Ob.fD()){var b=0,c=0;this.hb=!0;this.Kj=100;var h=S1(this);switch(a.identifier){case "zoom_in":h.zoom(1.3);break;case "zoom_out":h.zoom(1/1.3);break;case "zoom_full_out":Vv(h);break;case "move_up":b=0;c=10*h.od();h.Iq(b,c);break;case "move_left":b=10*h.od();c=0;h.Iq(b,c);break;case "move_down":b=0;c=-10*h.od();h.Iq(b,c);break;case "move_right":b=-10*h.od();c=0;h.Iq(b,c);break;case "drill_up":a=h.tf.zc,b=a.gd,c=a.hd,h.od()==this.Tg&& -0==b&&0==c?this.XM():this.bo||(h.ff&&h.ff.stop(),this.ao(h,function(){this.qu=!0;this.Kj=300;h.od()!=this.Tg?this.$i(this.Tg):(h.ff=new us(h,[b,c],[0,0],500),h.ff.Rg());this.ao(this,function(){this.qu=!1})}))}}},!1,this);a=va(function(a){var b=dr(this.P().Ha().P()),c=a.yg,h=S1(this),c=Ac(1-c.deltaY/120,.7,2),k=this.Tg,l=h.Ed().Qs(),m=this.Qh();return(m&&a.clientX>=m.left+b.x&&a.clientX<=m.left+b.x+m.width&&a.clientY>=m.top+b.y&&a.clientY<=m.top+b.y+m.height||!m)&&l&&!(1c&&h.Or<=k)}, -this);this.Mj=new Vz(this.P().Ha().P(),!1,a);this.Mj.pa("mousewheel",function(a){var b=S1(this),c=b.tf;this.hb=!0;var h=dr(this.P().Ha().P()),k=this.Qh(),k=k&&a.clientX>=k.left+h.x&&a.clientX<=k.left+h.x+k.width&&a.clientY>=k.top+h.y&&a.clientY<=k.top+h.y+k.height;if(this.Ob.Qs()&&k&&!b.qu){var k=Ac(1-a.deltaY/120,.7,2),l=this.Tg;this.ee=this.qe;this.qe=1k&&Ll(b.od(),2)==l&&!kl(c.zc)?(c.Vb(l,0,0,l,0,0),b.Or=l,b.qu=!1,b.ff&&1== -b.ff.Vd&&b.ff.stop(),b.scale().zoom=l,ws(b.scale(),0,0),xs(b)):1k&&b.od()<=l||b.zoom(k,a.clientX-h.x,a.clientY-h.y)}},!1,this);this.oh=function(a){var b=dr(this.P().Ha().P()),c=this.Rb();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&&(a=window.scrollX,b=window.scrollY,this.ib.focus(),window.scrollTo(a,b))};this.Uk=function(a){if(this.Ob.FE()){var b=S1(this),c=dr(this.P().Ha().P()),h=b.Qh();h&&a.clientX>=h.left+c.x&&a.clientX<= -h.left+c.x+h.width&&a.clientY>=h.top+c.y&&a.clientY<=h.top+c.y+h.height&&(this.hb=!0,c=a.clientX,a=a.clientY,this.Kj=100,b.zoom(1.3,c,a))}};this.Pd=function(){Rl(document.body,"cursor","");this.fe=0;this.Ng=!1;rp(document,["pointermove","touchmove"],this.YU,!1,this);xs(this)};this.Vk=function(){this.Ng||(rp(document,"mousemove",this.aj,!1,this),rp(document,"mouseup",this.Lj,!1,this))};np(this.P().Ha().P(),"click",this.oh,!1,this);np(this.P().Ha().P(),"dblclick",this.Uk,!1,this);this.fe=0;np(this.P().Ha().P(), -["pointerup","touchend"],this.Pd,!1,this);var b,c;this.pa("mousedown",function(a){var e=dr(this.P().Ha().P()),f=this.Qh();f&&a.clientX>=f.left+e.x&&a.clientX<=f.left+e.x+f.width&&a.clientY>=f.top+e.y&&a.clientY<=f.top+e.y+f.height&&(this.hb=!0,b=a.clientX,c=a.clientY,this.Ng=!0,np(document,"mousemove",this.aj,!0,this),np(document,"mouseup",this.Lj,!0,this))},!1,this);this.aj=function(a){var e=S1(this);this.Ng&&this.Ob.Ng()&&1!=e.od()?(Rl(document.body,"cursor","move"),e.Iq(a.clientX-b,a.clientY-c), -b=a.clientX,c=a.clientY):Rl(document.body,"cursor","")};this.Lj=function(){Rl(document.body,"cursor","");this.Ng=!1;if(this.cD){this.Ye=this.tf.Se().clone();for(var a=this.b.length;a--;){var b=this.b[a];b.B(I|64,J);b.zn()}}rp(document,"mousemove",this.aj,!0,this);rp(document,"mouseup",this.Lj,!0,this)};np(this.P().Ha().P(),"mouseleave",this.Vk,!1,this)}else setTimeout(this.ql,100)}; -g.h9=function(a){this.$k(a);this.hb=!1;var b=dr(this.P().Ha().P()),c=this.Qh();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.ED||a).bj.yg,b.preventDefault(),c=b.touches.length,2==c?(a=b.touches[0],b=b.touches[1],this.fe=Math.sqrt((a.pageX-b.pageX)*(a.pageX-b.pageX)+(a.pageY-b.pageY)*(a.pageY-b.pageY)),this.dz=!1):1==c?(this.dz=!0,this.jk=a,this.Tp||(this.cq=this.ua.Zd(this,"touchstart",function(a){1f&&Ll(d.od(),2)==this.Tg&&!kl(e.zc)?(e.Vb(this.Tg,0,0,this.Tg,0,0),d.Or=this.Tg,d.qu=!1,d.ff&&1==d.ff.Vd&&d.ff.stop(),d.scale().zoom=this.Tg,ws(d.scale(),0,0),xs(d)):1f&&d.od()<=this.Tg||(e=hr(this.P().ia()),d.zoom(f,b-e.left,c-e.top)))}else 1==c&&(this.Ng&&this.Ob.Ng()&&1!=this.od()?(Rl(document.body,"cursor","move"),d.Iq(a.clientX-d.Mp,a.clientY-d.Np),d.Mp=a.clientX,d.Np=a.clientY):Rl(document.body,"cursor",""))}; -g.om=function(a){if(a.target instanceof gR)return IF(a.domTarget).sc;var b=this.X||Kl(0,0,0,0),c=a.clientX;a=a.clientY;var d;d=dr(this.P().Ha().P());c=c-d.x;a=a-d.y;d=b.left;var e=b.top,f=b.width,b=b.height;if(cd+f||ae+b)return null;b=[];d=this.Ed();var h;if("bySpot"==d.Cc())for(var k=d.kq(),e=0,f=this.b.length;eb?1:0});a.length;){var h=b.pop();if(h.state&&h.EJ){c=0;for(e=h.Ek.length;cthis.Ba&&(this.Ba=c)}this.R(4096)}if(W(this,4194304)){this.wu={};this.wu[this.Sa]={};if(this.j){for(b=this.b.length;b--;)c=this.b[b],n(c.Yq())&&c.Yq()!=this.Sa&&(this.wu[c.Yq()]={});b=0;for(h=this.j.length;b< -h;b++)c=this.j[b],CV(this,c,function(a){var b=a.properties;if(b)for(var c in this.wu)c in b&&(this.wu[c][b[c]]=a)},this)}this.R(4194304)}if(W(this,32768)){for(b=this.b.length;b--;)c=this.b[b],L(c),c.P(this.ga),c.ja(!1);this.Cb={};Y1(this)}if(W(this,4)){b=0;for(h=this.fa.length;bthis.Ba&&(this.Ba=a);p.left=p.left+this.Ba/2;p.top=p.top+this.Ba/2;p.width=p.width-this.Ba;p.height=p.height-this.Ba;a=d2(this,p);a=e2(this,a).clone();a.left+=this.Ba/2;a.top+=this.Ba/2;a.width-=this.Ba;a.height-=this.Ba;m.pg(a);this.X=a;if(this.O)for(c=this.O.nj(),b=0,h=c.length;bthis.El;b=1==this.El;this.Tk||(10=m.left&&0this.offsetX?e=0:e=this.offsetX:l.left+this.offsetX>=m.left?e=m.left-l.left:l.Wa()+this.offsetX<=m.Wa()?e=m.Wa()-l.Wa():e=this.offsetX,this.tm?l.top+this.offsetY>=m.top&&0this.offsetY? -f=0:f=this.offsetY:l.top+this.offsetY>=m.top?f=m.top-l.top:l.Ra()+this.offsetY<=m.Ra()?f=m.Ra()-l.Ra():f=this.offsetY,e=e/this.od(),f=f/this.od(),this.offsetY=this.offsetX=0,e||f)&&(this.kv=!0,B.Rt(1,0,0,1,e,f),d=B.zc,ws(this.scale(),d.gd,d.hd),this.hb?xs(this):this.ga.Rt(1,0,0,1,e*this.od(),f*this.od())),this.R(1048576));if(W(this,33554432)){if(this.O)for(c=this.O.nj(),b=0;ba||10==this.od()&&1=a};function z2(a,b,c){b.K("index",a.ee++).K("depth",c);a.ub.push(b);var d,e=b.ec();if(e){var f=0;d=0;for(var h,k=0;kl,m=Number.MAX_VALUE,u,w=0,x=0,y;qm){l=k=0;for(m=p;ml;q=p=q;m=Number.MAX_VALUE}else{for(m=p;m<=q;m++)y=a[m],y.width= -1>y.lz?1:Ll(y.lz,4),y.height=1>y.Ox?1:Ll(y.Ox,4);m=u;q++}h=f=0;for(m=p;m=q.Wa()&&d.top<=q.top&&d.Ra()>=q.Ra())l.width(d.width).height(d.height);else if("drop"==k)c?(p=!0,u=h.W,h.Gd(C2),l.width(d.width).height(d.height)):f.clear(e);else if(l.width()!=q.width||l.height()!=q.height)l.g=null,l.width(d.width).height(d.height);"alwaysShow"!=k?l.clip(d):l.clip(null);if(c){var w=!1;if(w=n(l.enabled())&&!m?!l.enabled():!h.enabled())u= -h.W,h.Gd(C2),l.enabled(!0)}l.aa();if(p||w)h.W=u}}function p2(a,b){var c=a.ba().getItem(),d=c.K(o2);if(d){var e=c.K(l2),c=c.K("value"),f=a.Tc(!0,b);2==e?f=SE(f,a.sd,!0):4==e&&(f=a.F?a.F.uq(c):f);d.stroke(a.Nc(!0,b));d.fill(f)}}function q2(a,b){var c=a.ba().getItem().K("hatchShape");null!=c&&c.stroke(null).fill(a.td(!0,b))} -g.Tc=function(a,b){var c=this.ba().getItem(),d=a&&c.get("fill")||this.fill(),c=b&Hb?this.Mq(c,a&&c.get("selectFill")||this.Od()||d,d):b&H?this.Mq(c,a&&c.get("hoverFill")||this.Oc()||d,d):this.Mq(c,d);return Qc(c)};g.Nc=function(a,b){var c=this.ba().getItem(),d=a&&c.get("stroke")||this.stroke(),c=b&Hb?this.Mq(c,a&&c.get("selectStroke")||this.Ad()||d,d):b&H?this.Mq(c,a&&c.get("hoverStroke")||this.Hc()||d,d):this.Mq(c,d);return Pc(c)}; -g.td=function(a,b){var c=this.ba().getItem(),d=a&&c.get("hatchFill")||this.Mb(),e;b&Hb?e=a&&c.get("selectHatchFill")||this.zd()||d:b&H?e=a&&c.get("hoverHatchFill")||this.Uc()||d:e=d;c=e;d=this.ba().ra();A(c)?(e=iF().hatchFillPalette.items[0],e=aC(e),c=aC(c.call({index:d,sourceHatchFill:e}))):la(c)?(e=iF().hatchFillPalette.items[0],c=c?aC(e):null):c=aC(c);return c}; -g.Mq=function(a,b,c){var d;if(A(b)){if(2c.width||1>c.height))){var e=b.ec(),f=b.Bw(),h=null,k,l=b.K(l2);if(0==l||4==l)h=c.clone(),b.K("pointBounds",h);else{if(l==m2){var h=c,m=b.K("index");k=b.get("header");if(D2(k,a.Zk()))h=Kl(h.left,h.top,h.width,0);else{k=k||{};k.width||(k.width=h.width);a.ba().select(m);var p=a.Pb(),m=U(a.Pd,h.height);k=a.Zk().measure(p,void 0,k);k.height>m&&(k.height=m);h=Kl(h.left,h.top,h.width,k.height)}k=Kl(c.left,c.top+h.height,c.width,c.height-h.height);b.K("pointBounds", -h);b.K("contentBounds",k)}if(2==l||3==l)h=c.clone(),b.K("pointBounds",h),b.K("contentBounds",h);A2(a,f,k||h);for(c=0;ca.fa+a.Qa)){var d,e=a.fa+a.Qa;b.ec()?ca.fa&&(d=c==e?4:3):d=c<=a.fa?0:4;b.K(l2,d);a.nd[b.K("index")]=b;if(e=b.ec())for(var f=0;fb&&(b=NaN);a.pointIndex=b;return a};g.rd=function(){}; -g.om=function(a){var b=this.b&&this.b.ka||Kl(0,0,0,0),c=a.clientX;a=a.clientY;var d;d=dr(this.P().Ha().P());c=c-d.x;a=a-d.y;d=b.left;var e=b.top,f=b.width,b=b.height;if(cd+f||ae+b)return null;b=[];d=(c-d)/f;d=this.Fa().Ic(d);d=this.data().kp("x",d);0>d&&(d=NaN);e=this.ba();e.select(d)&&(f=e.K("x"),e=e.K("value"),c=Math.sqrt(Math.pow(f-c,2)+Math.pow(e-a,2)),isNaN(f)||isNaN(e)||b.push({na:this,sc:[d],yi:d,qd:{index:d,$e:c}}));return b};g.Kd=function(){return"none"}; -g.Pb=function(){this.ea||(this.ea=new Re(this,["x","value"]));this.ea.If();return this.ea};g.li=function(){return this.Pb()};g.sq=function(){return!0};g.Wf=function(a){(a=this.Bf(a))&&this.dispatchEvent(a)}; -g.Bf=function(a){var b;"pointIndex"in a?b=a.pointIndex:"labelIndex"in a?b=a.labelIndex:"markerIndex"in a&&(b=a.markerIndex);b=F(b);a.pointIndex=b;var c=a.type;switch(c){case "mouseout":c="pointmouseout";break;case "mouseover":c="pointmouseover";break;case "mousemove":c="pointmousemove";break;case "mousedown":c="pointmousedown";break;case "mouseup":c="pointmouseup";break;case "click":c="pointclick";break;case "dblclick":c="pointdblclick";break;default:return null}var d=this.data().ba();d.select(b)|| -d.reset();return{type:c,actualTarget:a.target,pie:this,iterator:d,sliceIndex:b,pointIndex:b,target:this,originalEvent:a}};g.yh=function(){return this};g.uh=function(){return this};g.Rd=function(){return[this]};g.Cc=function(a){return n(a)?(a=td(a),a!=this.Ja&&(this.Ja=a),this):this.Ja};g.Ue=function(){return null};g.Mf=function(){return!1};g.Hf=ea;g.Sf=ea;g.Nh=ea;g.cC=function(a){return n(a)?(this.Fl=a,this):this.Fl||{}};function Y2(a,b){return n(b)?(a.Ma=b,a):a.Ma||{}} -function Z2(a,b){return n(b)?(a.Uk=b,a):a.Uk||{}}function $2(a,b){return n(b)?(a.Hl=b,a):a.Hl||{}}function a3(a,b){return n(b)?(a.Vk=b,a):a.Vk||{}}var b3="enabled position anchor offsetX offsetY type size fill stroke".split(" "),c3="enabled background padding position anchor offsetX offsetY rotation width height fontSize fontFamily fontColor fontOpacity fontDecoration fontStyle fontVariant fontWeight letterSpacing textDirection lineHeight textIndent vAlign hAlign textWrap textOverflow selectable disablePointerEvents useHtml".split(" "); -g=V2.prototype;g.EH="95%";g.Fa=function(a){if(n(a))return z(a)&&(a=dN(a,!0)),this.Na!=a&&(this.Na=a,this.B(4096,J)),this;this.Na||(this.Na=new yc);return this.Na};g.Pa=function(a){if(n(a))return z(a)&&(a=dN(a,!1)),this.mb!=a&&(this.mb=a,this.B(4096,J)),this;this.mb||(this.mb=new De);return this.mb};g.AF=function(a,b){var c,d;c=F(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.Y[c];e||(e=new oM,e.U(Z2(this)),this.Y[c]=e,O(this,e),P(e,this.BF,this),this.B(16384,J));return n(d)?(e.U(d),this):e}; -g.CF=function(a,b){var c,d;c=F(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.ga[c];e||(e=new qM,e.U(a3(this)),this.ga[c]=e,O(this,e),P(e,this.BF,this),this.B(16384,J));return n(d)?(e.U(d),this):e};g.DF=function(a,b){var c,d;c=F(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.Ba[c];e||(e=new u0,e.U($2(this)),this.Ba[c]=e,O(this,e),P(e,this.BF,this),this.B(16384,J));return n(d)?(e.U(d),this):e};g.BF=function(){this.B(16384,J)}; -g.data=function(a,b){return n(a)?(this.Sa!==a&&(this.Sa=a,dg(this.fa),a instanceof oL?this.ub=this.fa=a.xk():this.ub=a instanceof uL?this.fa=a.rf():(this.fa=new uL(r(a)||z(a)?a:null,b)).rf(),O(this,this.fa),this.j=this.ub,P(this.j,this.FX,this),this.b&&this.b.B(I,J|20)),this):this.j};g.Yj=function(){var a=this.ba(),b=this.Pa(),a=a.get("value");return b.kf(a)?null:a};g.FX=function(a){X(a,16)&&this.va(20)};g.ba=function(){return this.Bb||this.Nb()};g.Nb=function(){return this.Bb=this.data().ba()}; -g.GX=function(a){var b=0;X(a,2048)&&(b=32);X(a,J)&&(b=8192);X(a,16)&&(b|=8192,d3(this));X(a,4)&&(b|=4096);this.B(b,J)};g.type=function(a){return n(a)?(a=Xd(a),this.O!=a&&(this.O=a,this.b&&(this.b.gc(),this.b=null),this.B(8192,J)),this):this.O};g.clip=function(a){return n(a)?(null===a&&(a=!1),this.Qd!=a&&(this.Qd=a,this.b&&this.b.B(4,J|8)),this):this.Qd};g.Oz=function(a){return n(a)?(a=LF(a,"95%"),this.EH!=a&&(this.EH=a,this.b&&this.b.um()&&this.b.B(64|I,J)),this):this.EH}; -g.Jv=function(a){return n(a)?(a=!!a,this.nd!=a&&(this.nd=a,this.b&&!this.b.um()&&this.b.B(I|64,J)),this):this.nd};g.Kv=function(a,b){var c;A(a)?(c=1c&&n(this.Kq())?this.Kq():this.fill();a=this.Kv(e);return Qc(a)};g.stroke=function(a,b,c,d,e){if(n(a)){var f=A(a)?a:Pc.apply(null,arguments);f!=this.g&&(this.g=f,this.b&&this.b.B(I,J));return this}return this.g||this.F.stroke};g.Nc=function(){return Pc(this.Kv(this.stroke()))}; -function xW(a,b){var c;c=a.ba().ra();if(A(b)){var d=aC("diagonalBrick");c={index:c,sourceHatchFill:d,iterator:a.ba()};c=aC(b.call(c))}else c=la(b)?b?aC("diagonalBrick"):null:aC(b);return c}g.Mb=function(a,b,c,d){if(n(a)){var e=A(a)||la(a)?a:aC.apply(null,arguments);e!=this.la&&(this.la=e,this.b&&this.b.B(64,J));return this}return n(this.la)?this.la:this.F.hatchFill}; -g.Lq=function(a,b,c,d){if(n(a)){var e=A(a)||la(a)?a:aC.apply(null,arguments);e!=this.rs&&(this.rs=e,this.b&&this.b.B(64,J));return this}return n(this.rs)?this.rs:this.F.negativeHatchFill};g.Nr=function(a,b,c,d){if(n(a)){var e=A(a)||la(a)?a:aC.apply(null,arguments);e!=this.Pd&&(this.Pd=e,this.b&&this.b.B(64,J));return this}return this.Pd||this.F.firstHatchFill}; -g.gs=function(a,b,c,d){if(n(a)){var e=A(a)||la(a)?a:aC.apply(null,arguments);e!=this.fe&&(this.fe=e,this.b&&this.b.B(64,J));return this}return this.fe||this.F.lastHatchFill};g.ls=function(a,b,c,d){if(n(a)){var e=A(a)||la(a)?a:aC.apply(null,arguments);e!=this.ze&&(this.ze=e,this.b&&this.b.B(64,J));return this}return this.ze||this.F.maxHatchFill};g.ps=function(a,b,c,d){if(n(a)){var e=A(a)||la(a)?a:aC.apply(null,arguments);e!=this.df&&(this.df=e,this.b&&this.b.B(64,J));return this}return this.df||this.F.minHatchFill}; -g.td=function(a){var b=this.ba(),c=b.get("value"),d=b.ra(),e;a&&n(b.get("hatchFill"))?e=b.get("hatchFill"):e=d==b.Jb()-1&&n(this.gs())?this.gs():0==d&&n(this.Nr())?this.Nr():c==this.Xc("max")&&n(this.ls())?this.ls():c==this.Xc("min")&&n(this.ps())?this.ps():0>c&&n(this.Lq())?this.Lq():this.Mb();return xW(this,e)}; -function e3(a,b){for(var c={},d=a.length;d--;){var e=a[d];if(e){var f=!(e instanceof Z);if(f?e.enabled:e.enabled())for(var h=0,k=b.length;hc&&(m=a.xy(),p=a.F.negativeMarkers);var b=a.Oa(),c=a.F.markers,q=a.Tc(!0),q={fill:q,stroke:PE(q)};h=f3([h,l,p,c,q],b3);e=e3([e,f,k,m,b],b3);e=f3([e,h],b3);f=GN(a.W,d);k=null;e.enabled?(k=e.position||a.W.position(),k=a.b.FG(k),f?f.ic(k):f= -a.W.add(k,d),f.mf(),JN(f,a.W),f.Hb(e),k=f):f&&f.clear();return k}g.et=function(a){X(a,J)&&this.b&&this.b.B(128,J)};g.labels=function(a){this.sa||(this.sa=new cS,O(this,this.sa),P(this.sa,this.dt,this));return n(a)?(!v(a)||"enabled"in a||(a.enabled=!0),this.sa.U(a),this):this.sa};g.wy=function(a){this.kc||(this.kc=new cS,O(this,this.kc),P(this.kc,this.dt,this));return n(a)?(!v(a)||"enabled"in a||(a.enabled=!0),this.kc.U(a),this):this.kc}; -g.mx=function(a){this.Va||(this.Va=new cS,O(this,this.Va),P(this.Va,this.dt,this));return n(a)?(!v(a)||"enabled"in a||(a.enabled=!0),this.Va.U(a),this):this.Va};g.dy=function(a){this.$a||(this.$a=new cS,O(this,this.$a),P(this.$a,this.dt,this));return n(a)?(!v(a)||"enabled"in a||(a.enabled=!0),this.$a.U(a),this):this.$a};g.ky=function(a){this.ib||(this.ib=new cS,O(this,this.ib),P(this.ib,this.dt,this));return n(a)?(!v(a)||"enabled"in a||(a.enabled=!0),this.ib.U(a),this):this.ib}; -g.qy=function(a){this.Qb||(this.Qb=new cS,O(this,this.Qb),P(this.Qb,this.dt,this));return n(a)?(!v(a)||"enabled"in a||(a.enabled=!0),this.Qb.U(a),this):this.Qb}; -function rW(a){var b=a.ba(),c=b.get("value"),d=b.ra(),e;e=b.get("label");var f,h;d==b.Jb()-1?(f=a.dy(),h=a.F.lastLabels):0==d&&(f=a.mx(),h=a.F.firstLabels);var k,l;c==a.Xc("max")?(k=a.ky(),l=a.F.maxLabels):c==a.Xc("min")&&(k=a.qy(),l=a.F.minLabels);var m,p;0>c&&(m=a.wy(),p=a.F.negativeLabels);b=a.labels();h=f3([h,l,p,a.F.labels],c3);e=e3([e,f,k,m,b],c3);e=f3([e,h],c3);f=a.J.Te(d);k=null;e.enabled?(k=e.position||a.J.position(),k=a.b.FG(k),m=a.b.Pb(),f?(f.jf(m),f.ic(k)):f=a.J.add(m,k,d),f.mf(),fS(f, -a.J),f.Hb(e),k=f):f&&f.clear();return k}g.dt=function(a){X(a,J)&&this.b&&this.b.B(256,J)};g.XH=function(){var a=bE();a.W=!0;a.b();return a}; -g.gb=function(){var a,b;if(W(this,4096)){this.oa={};var c,d=this.Fa(),e=this.Pa();d.Ge()&&d.Yf();e.Ge()&&e.Yf();for(a=this.Nb();a.advance();)c=a.get("x"),b=a.get("value"),n(c)&&d.uc(c),n(b)&&e.uc(b);a=!1;d.Ge()&&(a|=d.Uf());e.Ge()&&(a|=e.Uf());a&&d3(this);var d=-Infinity,e=Infinity,f=c=0;for(a=this.Nb();a.advance();){if(b=this.Yj())b=F(b),isNaN(b)||(d=Math.max(d,b),e=Math.min(e,b),c+=b);f++}this.oa.max=d;this.oa.min=e;this.oa.sum=c;this.oa.average=c/f;this.oa.pointsCount=f;this.R(4096)}}; -g.Ki=function(a){if(W(this,8192)&&!this.b){var b=this.O,c=pW[b];c?(c=new c(this),O(this,c),this.b=c,c.ue=30,P(c,this.GX,this),this.F=Y2(this)[b]||this.b.jm(),this.B(12288,J)):(xe(4,null,[b+" series"]),c=null);this.b=c}this.gb();if(this.yd){xI(this.b);W(this,4)&&(this.X=a.clone().round(),this.b.um()&&(c=this.b,a=this.X,b=c.Nb().Jb(),c=uW(c,a),b=(a.width-b*c)%(b-1),0!=a.height%2&&--a.height,0!=b&&(a.left+=Math.floor(b/2),a.width-=b)),d3(this),this.B(24576));if(W(this,16384)){a=lj(this.Y,this.ga,this.Ba); -b=0;for(c=a.length;b=u&&a.ot()|| -1<=u&&a.bp()?k=y:0u&&(k=y)),y++;t<=K&&e=u&&a.ot()||1<=u&&a.bp()?(l=f,d.push(!0)):0u?(l=f,d.push(!0)):d.push(!1))):d.push(!1),f++)}N||(d=!1)}else if(b instanceof -yc)for(e=0;ec?(p-=k/2,q-=m/2):90==c?q-=m/2:90c?(q-=m/2,p+=k/2):180==c?p+=k/2:180c?(q+=m/2,p+=k/2):270==c?q+=m/2:270c?p-=k/2:45==c?(p-=k/2,q-=m/2):45c?q-=m/2:90==c?q-=m/2:90c?q-=m/2:135==c?(q-=m/2,p+=k/2):135c?p+=k/2:180==c?p+=k/2:180c?p+=k/2:225==c?(q+=m/2,p+=k/2):225c?q+=m/2:270==c?q+=m/2:270c?q+=m/2:315== -c?(q+=m/2,p-=k/2):315=w,e.push(x?t:w),x&&(q++,t=q=w,B.push(x?t:w),x&&(q++,t=qq&&(q=~q-1),q=Ac(q,0,b-1),t=bc(m,t,d),0>t&&(t=~t),t=Ac(t,0,b-1)):t=q=NaN);h=a.Mj[k];for(var u in h){f=h[u];d=a.ob[u];var w="none"!=d.Dg(),x="percent"==d.Dg(),y;if(w)for(y= -[],c=q;c<=t;c++)y.push({OD:0,Hu:0,rD:0,ND:0,Cu:0,qD:0,vK:!1,dK:!1,WJ:!1});for(b=0;bc&&(c=jd,h=od);cde&&(e=yb,l=od);ybq&&(q=Ue,x=od);pfu&&(u=Ff,B=od);Ffk+m||al+p)return null;var b=[],h=this.Ed(),q;if("bySpot"==h.Cc())for(h=h.kq(),this.Qa?(d=(p-(a-h-l))/p,p=(p-(a+h-l))/p,k=c,c=a,a=k):(d=(c-h-k)/m,p=(c+h-k)/m),k=0,l=this.b.length;k=this.g.length?this.D[a-this.g.length]:this.g[a]};g.Td=function(a){return n(a)?(this.O!=a&&(this.O&&uI(this.O,this.RM,this),(this.O=a)&&P(this.O,this.RM,this),this.B(66048,J)),this):this.O}; -g.RM=function(a){X(a,6)&&this.B(66048,J)};g.uk=function(a){var b,c=[];this.gb();if("categories"==a){var d=this.Td();if(d&&d instanceof cN){var e=this.b,f=d.nm();a=0;for(b=f.length;af+e||ad+b)return null;b=[];d=this.Ed();if("bySpot"==d.Cc()){d=d.kq();var h=(c-d-f)/e;e=(c+d-f)/e;f=this.b;if(f.enabled()){h=f.Fa().Ic(h);e=f.Fa().Ic(e);for(var h=f.data().tp(h,e,!1,"x"),k=f.ba(),l=[],m=Infinity,p,q=0;qe);b=0;for(c=this.g.length;bf?(f=k.scale(),"layout"in h||(k=k.Je(),k="left"==k||"right"==k,h.layout=k?"horizontal":"vertical"), -"scale"in h||(k=qa(f),c[k]?h.scale=$i(d,c[k]):(c[k]=f.N(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}}l.length&&(a.grids=l);d.length&&(a.scales=d);A(this.fill)&&(A(this.fill())?M(8,null,["Series fill"]):a.fill=T(this.fill()));A(this.hoverFill)&&(A(this.Oc())?M(8,null,["Series hoverFill"]):a.hoverFill=T(this.Oc()));A(this.selectFill)&&(A(this.Od())?M(8,null,["Series selectFill"]):a.selectFill=T(this.Od()));A(this.stroke)&&(A(this.stroke())?M(8,null,["Series stroke"]):a.stroke=T(this.stroke())); -A(this.hoverStroke)&&(A(this.Hc())?M(8,null,["Series hoverStroke"]):a.hoverStroke=T(this.Hc()));A(this.selectStroke)&&(A(this.Ad())?M(8,null,["Series selectStroke"]):a.selectStroke=T(this.Ad()));A(this.hatchFill)&&(A(this.Mb())?M(8,null,["Series hatchFill"]):a.hatchFill=T(this.Mb()));A(this.hoverHatchFill)&&(A(this.Uc())?M(8,null,["Series hoverHatchFill"]):(b=this.Uc(),n(b)&&(a.hoverHatchFill=T(b))));A(this.selectHatchFill)&&(A(this.zd())?M(8,null,["Series selectHatchFill"]):a.selectHatchFill=T(this.zd())); -a.data=this.data().N();a.labels=this.labels().N();a.hoverLabels=aS(this.Gb());a.selectLabels=aS(this.Ub());null===a.hoverLabels.enabled&&delete a.hoverLabels.enabled;null===a.selectLabels.enabled&&delete a.selectLabels.enabled;a.markers=this.Oa().N();a.hoverMarkers=this.ac().N();a.selectMarkers=this.yc().N();a.labelsDisplayMode=this.xm();a.xScroller=this.Ml().N();a.yScroller=this.Po().N();a.xZoom=this.Nl().N();a.yZoom=this.Ps().N();return{chart:a}}; -g.xm=function(a){return n(a)?(a=se(a),this.Ja!=a&&(this.Ja=a,this.B(8192,J)),this):this.Ja};H3.prototype.getType=H3.prototype.Ua;H3.prototype.grid=H3.prototype.To;H3.prototype.xAxis=H3.prototype.Uo;H3.prototype.yAxis=H3.prototype.Vo;H3.prototype.xScale=H3.prototype.Fa;H3.prototype.yScale=H3.prototype.Pa;H3.prototype.labelsDisplayMode=H3.prototype.xm;H3.prototype.fill=H3.prototype.fill;H3.prototype.hoverFill=H3.prototype.Oc;H3.prototype.selectFill=H3.prototype.Od;H3.prototype.stroke=H3.prototype.stroke; -H3.prototype.hoverStroke=H3.prototype.Hc;H3.prototype.selectStroke=H3.prototype.Ad;H3.prototype.hatchFill=H3.prototype.Mb;H3.prototype.hoverHatchFill=H3.prototype.Uc;H3.prototype.selectHatchFill=H3.prototype.zd;H3.prototype.labels=H3.prototype.labels;H3.prototype.hoverLabels=H3.prototype.Gb;H3.prototype.selectLabels=H3.prototype.Ub;H3.prototype.markers=H3.prototype.Oa;H3.prototype.hoverMarkers=H3.prototype.ac;H3.prototype.selectMarkers=H3.prototype.yc;H3.prototype.hover=H3.prototype.eh; -H3.prototype.select=H3.prototype.select;H3.prototype.unhover=H3.prototype.rd;H3.prototype.unselect=H3.prototype.pe;H3.prototype.data=H3.prototype.data;H3.prototype.colorScale=H3.prototype.Td;H3.prototype.xZoom=H3.prototype.Nl;H3.prototype.yZoom=H3.prototype.Ps;H3.prototype.xScroller=H3.prototype.Ml;H3.prototype.yScroller=H3.prototype.Po;function M3(a,b){l3.call(this,a);this.Qa=!!b;this.ea=null;this.g=[];this.D=[];this.Zg=[];this.aj=[];this.Lj=[];this.tg=[];this.oh=[]}E(M3,l3);g=M3.prototype;g.wa=l3.prototype.wa|16252928;function N3(a,b){b.kb()^a.Qa?b.scale(a.Pa()):b.scale(a.Fa())}function O3(a,b){return n(b)?(a.yk=b,a):a.yk||{}}function P3(a,b){return n(b)?(a.Pd=b,a):a.Pd||{}}function Q3(a,b){return n(b)?(a.ib=b,a):a.ib||{}}function R3(a,b){return n(b)?(a.Qb=b,a):a.Qb||{}}function S3(a,b){return n(b)?(a.Uk=b,a):a.Uk||{}} -function T3(a,b){return n(b)?(a.Hl=b,a):a.Hl||{}}function U3(a,b){return n(b)?(a.Vk=b,a):a.Vk||{}}g.TH=function(){return new C3};g.To=function(a,b){var c,d;c=F(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.tg[c];e||(e=this.TH(),e.Vg(this),D3(e,this.Qa?"vertical":"horizontal"),e.U(Q3(this)),this.tg[c]=e,O(this,e),P(e,this.lT,this),this.B(2097152,J));return n(d)?(e.U(d),this):e}; -g.Tz=function(a,b){var c,d;c=F(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.oh[c];e||(e=this.TH(),e.Vg(this),D3(e,this.Qa?"vertical":"horizontal"),e.U(R3(this)),this.oh[c]=e,O(this,e),P(e,this.lT,this),this.B(2097152,J));return n(d)?(e.U(d),this):e};g.lT=function(){this.B(2097152,J)};g.Uo=function(a,b){var c,d;c=F(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.g[c];e||(e=new lM,e.Ya(this),e.U(O3(this)),this.g[c]=e,O(this,e),P(e,this.tN,this),this.B(524292,J));return n(d)?(e.U(d),this):e}; -g.Vo=function(a,b){var c,d;c=F(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.D[c];e||(e=new lM,e.Ya(this),e.U(P3(this)),this.D[c]=e,O(this,e),P(e,this.tN,this),this.B(524292,J));return n(d)?(e.U(d),this):e};g.P4=function(){return this.g.length};g.Q4=function(){return this.D.length};g.tN=function(a){var b=0,c=0;X(a,J)&&(b|=524288,c|=J);X(a,8)&&(b|=4);this.B(b,c)};g.hn=function(a){return a>=this.g.length?this.D[a-this.g.length]:this.g[a]};g.SQ=function(){return new oM}; -g.Sz=function(a,b){var c,d;c=F(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.Zg[c];if(!e){e=this.SQ();e.Vg(this);e.U(S3(this));var f=e,h=this.Qa?"vertical":"horizontal",k=!f.J&&f.j!=h;f.j=h;k&&f.B(4);this.Zg[c]=e;O(this,e);P(e,this.gK,this);this.B(1048576,J)}return n(d)?(e.U(d),this):e};g.WQ=function(){return new qM}; -g.Uz=function(a,b){var c,d;c=F(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.aj[c];e||(e=this.WQ(),e.Vg(this),e.U(U3(this)),sM(e,this.Qa?"vertical":"horizontal"),this.aj[c]=e,O(this,e),P(e,this.gK,this),this.B(1048576,J));return n(d)?(e.U(d),this):e};g.ZQ=function(){return new u0}; -g.Vz=function(a,b){var c,d;c=F(a);isNaN(c)?(c=0,d=a):(c=a,d=b);var e=this.Lj[c];if(!e){e=this.ZQ();e.Vg(this);e.U(T3(this));var f=e,h=this.Qa?"vertical":"horizontal",k=!f.J&&f.I!=h;f.I=h;k&&f.B(4);this.Lj[c]=e;O(this,e);P(e,this.gK,this);this.B(1048576,J)}return n(d)?(e.U(d),this):e};g.gK=function(){this.B(1048576,J)};g.ft=function(a){this.ea||(this.ea=new fP,this.ea.enabled(!1),gP(this.ea,this),O(this,this.ea),P(this.ea,this.RX,this),this.B(4194304,J));return n(a)?(this.ea.U(a),this):this.ea}; -g.RX=function(){this.B(4194304,J)};g.Fn=function(a){this.qe||(this.tm=new AO(this),this.qe=new pS(this.tm,this),P(this.qe,this.QX,this),O(this,this.qe));return n(a)?(this.qe.U(a),this):this.qe};g.QX=function(){this.B(8388608,J)};g.Yw=function(a){return n(a)?(this.ze=a,this):this.ze};g.Qp=function(a){this.Fn().pe();M3.G.Qp.call(this,a)};g.Qh=function(){return this.ub};g.RR=function(a){return a.clone().round()}; -g.Rz=function(a,b){var c,d,e,f=lj(this.g,this.D),h=0;c=0;for(d=this.g.length;ch);c=0;for(d=this.g.length;cd?("layout"in e||(e.layout=a.kb()?"horizontal":"vertical"),"scale"in e||B3(e,"scale",a.scale(),b,c)):e.axis=d;return e}; -g.KK=function(a,b,c,d){var e=a.N();B3(e,"scale",a.Gm(),b,c);if(a=a.Gh())d=$i(d,qa(a)),0>d?("layout"in e||(e.layout=a.kb()?"horizontal":"vertical"),"scale"in e||B3(e,"scale",a.scale(),b,c)):e.axis=d;return e};function X3(){M3.call(this,!1,!1);this.Eh("marker")}E(X3,M3);X3.prototype.Ua=function(){return"scatter"};var Y3={};Y3.bubble={Mc:6,cd:2,jd:[kf,lf,mf,nf],bd:null,Pc:null,Rc:4063232,fd:"value",ed:"value"};Y3.line={Mc:10,cd:1,jd:[hf],bd:null,Pc:null,Rc:4063232,fd:"value",ed:"value"};Y3.marker={Mc:11,cd:2,jd:[yf,jf],bd:null,Pc:null,Rc:3014656,fd:"value",ed:"value"};X3.prototype.Dn=Y3;m3(X3,X3.prototype.Dn);g=X3.prototype;g.Fz=function(){return!1}; -g.KH=function(a){(a=a instanceof VJ)||xe(5,void 0,["Scatter chart scales"]);return a};g.Vw=function(a,b,c){return j0(a,c)};g.XQ=function(a,b){return new XU(this,this,a,b,!1)};g.sD=function(a){return be(a)};g.N=function(){var a=X3.G.N.call(this);a.type="scatter";return{chart:a}};X3.prototype.crosshair=X3.prototype.ft;X3.prototype.xScale=X3.prototype.Fa;X3.prototype.yScale=X3.prototype.Pa;X3.prototype.grid=X3.prototype.To;X3.prototype.minorGrid=X3.prototype.Tz;X3.prototype.xAxis=X3.prototype.Uo; -X3.prototype.yAxis=X3.prototype.Vo;X3.prototype.getSeries=X3.prototype.re;X3.prototype.lineMarker=X3.prototype.Sz;X3.prototype.rangeMarker=X3.prototype.Uz;X3.prototype.textMarker=X3.prototype.Vz;X3.prototype.palette=X3.prototype.Qq;X3.prototype.markerPalette=X3.prototype.Pq;X3.prototype.hatchFillPalette=X3.prototype.Oq;X3.prototype.getType=X3.prototype.Ua;X3.prototype.maxBubbleSize=X3.prototype.Xz;X3.prototype.minBubbleSize=X3.prototype.Yz;X3.prototype.defaultSeriesType=X3.prototype.Eh; -X3.prototype.addSeries=X3.prototype.Wz;X3.prototype.getSeriesAt=X3.prototype.Nv;X3.prototype.getSeriesCount=X3.prototype.HF;X3.prototype.removeSeries=X3.prototype.$z;X3.prototype.removeSeriesAt=X3.prototype.aA;X3.prototype.removeAllSeries=X3.prototype.Zz;X3.prototype.getPlotBounds=X3.prototype.Qh;X3.prototype.annotations=X3.prototype.Fn;function Z3(a){M3.call(this,!0,a);this.nd=new uc(this,!0);this.Eh("line");this.O="cartesian"}E(Z3,M3);g=Z3.prototype;g.wa=M3.prototype.wa|50331648;g.Ua=function(){return this.O};g.$C=function(){this.B(16777216,J)};g.UR=function(a){return a?this.Fa():this.Pa()};g.GR=function(){s3(this);W(this,32768)&&wc(this.Qm())&&t3(this)};g.Qm=function(a){return n(a)?(L(this),this.nd.U(a),this.ja(!0),this):this.nd}; -g.En=function(a){this.J||(this.J=new fO,this.J.Ya(this),P(this.J,this.PX,this),this.ua.pa(this.J,"scrollerchange",this.sN),this.ua.pa(this.J,"scrollerchangefinish",this.sN),this.B(33554436,J));return n(a)?(this.J.U(a),this):this.J};g.PX=function(a){var b=33554432,c=J;X(a,8)&&(b|=4,c|=8);this.B(b,c)};g.sN=function(a){this.nd.Sw()^"scrollerchangefinish"==a.type&&(a.preventDefault(),L(this),this.nd.Ko(a.startRatio,a.endRatio),this.ja(!0))};g.XQ=function(a,b){return new XU(this,this,a,b,!0)};g.sD=function(a){return Vd(a)}; -g.Rz=function(a,b){var c=this.En(),d="beforeAxes"==c.position();c.padding(0);c.ma(a);var e=c.kb(),f=b;d?f=e?a.height-c.rc().height:a.width-c.rc().width:a=c.rc();return Z3.G.Rz.call(this,a,f)}; -g.$P=function(a,b){var c=this.En();if("beforeAxes"==c.position())switch(c.hp()){case "top":c.padding().top(a[0]+(this.Ba||0));c.padding().bottom(0);a[0]+=b;break;case "bottom":c.padding().top(0);c.padding().bottom(a[2]+(this.fa||0));a[2]+=b;break;case "left":c.padding().left(a[3]+(this.ga||0));c.padding().right(0);a[3]+=b;break;case "right":c.padding().left(0),c.padding().right(a[1]+(this.la||0)),a[1]+=b}c.kb()?(c.padding().left(a[3]),c.padding().right(a[1])):(c.padding().top(a[0]),c.padding().bottom(a[2])); -return a};g.aQ=function(){if(W(this,16777216)){for(var a in this.X){var b=this.Qm().Mn(),c=1/(this.Qm().Ln()-b);zY(this.X[a],c,b)}YN(this.En(),this.Qm().Mn(),this.Qm().Ln());this.R(16777216);this.B(42205184)}};g.fS=function(){return this.nd.Mn()};g.eS=function(){return this.nd.Ln()};g.KI=function(){return Z3.G.KI.call(this)|33554432};g.GF=function(){W(this,33554432)&&(this.En().P(this.I),this.En().aa(),this.R(33554432));Z3.G.GF.call(this)}; -g.My=function(a,b){Z3.G.My.call(this,a,b);this.op(a.barGroupsPadding);this.Jw(a.barsPadding);this.En(a.xScroller);var c=a.xZoom;if(v(c)&&(na(c.scale)||z(c.scale))){var d=c.scale;c.scale=b[c.scale];this.Qm(c);c.scale=d}else this.Qm(c)};g.N=function(){var a=Z3.G.N.call(this);a.type=this.O;a.barGroupsPadding=this.op();a.barsPadding=this.Jw();a.xScroller=this.En().N();a.xZoom=this.Qm().N();return{chart:a}};function $3(a){Z3.call(this,a)}E($3,Z3);var a4={};a4.area={Mc:1,cd:1,jd:[gf,hf,jf],bd:null,Pc:null,Rc:4063232,fd:"value",ed:"zero"};a4.bar={Mc:3,cd:2,jd:[yf,jf],bd:null,Pc:null,Rc:4063232,fd:"value",ed:"zero"}; -a4.box={Mc:5,cd:2,jd:[yf,jf,{name:"median",Vc:"path",Zc:null,dd:["medianStroke","hoverMedianStroke","selectMedianStroke"],Jc:!1,zIndex:2E-6},{name:"stem",Vc:"path",Zc:null,dd:["stemStroke","hoverStemStroke","selectStemStroke"],Jc:!1,zIndex:2E-6},{name:"whisker",Vc:"path",Zc:null,dd:["whiskerStroke","hoverWhiskerStroke","selectWhiskerStroke"],Jc:!1,zIndex:2E-6}],bd:null,Pc:null,Rc:4063232,fd:"highest",ed:"lowest"};a4.bubble={Mc:6,cd:2,jd:[kf,lf,mf,nf],bd:null,Pc:null,Rc:4063232,fd:"value",ed:"value"}; -a4.candlestick={Mc:7,cd:2,jd:[of,sf,tf,vf],bd:null,Pc:null,Rc:4063232,fd:"high",ed:"low"};a4.column={Mc:8,cd:2,jd:[yf,jf],bd:null,Pc:null,Rc:4063232,fd:"value",ed:"zero"};a4.line={Mc:10,cd:1,jd:[hf],bd:null,Pc:null,Rc:4063232,fd:"value",ed:"value"};a4.marker={Mc:11,cd:2,jd:[yf,jf],bd:null,Pc:null,Rc:3014656,fd:"value",ed:"value"};a4.ohlc={Mc:12,cd:2,jd:[rf,uf],bd:null,Pc:null,Rc:4063232,fd:"high",ed:"low"};a4.rangeArea={Mc:13,cd:1,jd:[gf,xf,wf,jf],bd:null,Pc:null,Rc:4063232,fd:"high",ed:"low"}; -a4.rangeBar={Mc:14,cd:2,jd:[yf,jf],bd:null,Pc:null,Rc:4063232,fd:"high",ed:"low"};a4.rangeColumn={Mc:15,cd:2,jd:[yf,jf],bd:null,Pc:null,Rc:4063232,fd:"high",ed:"low"};a4.rangeSplineArea={Mc:16,cd:1,jd:[gf,wf,xf,jf],bd:null,Pc:null,Rc:4063232,fd:"high",ed:"low"};a4.rangeStepArea={Mc:17,cd:1,jd:[gf,wf,xf,jf],bd:null,Pc:null,Rc:4063232,fd:"high",ed:"low"};a4.spline={Mc:18,cd:1,jd:[hf],bd:null,Pc:null,Rc:4063232,fd:"value",ed:"value"}; -a4.splineArea={Mc:19,cd:1,jd:[gf,hf,jf],bd:null,Pc:null,Rc:4063232,fd:"value",ed:"zero"};a4.stepArea={Mc:20,cd:1,jd:[gf,hf,jf],bd:null,Pc:null,Rc:4063232,fd:"value",ed:"zero"};a4.stepLine={Mc:21,cd:1,jd:[hf],bd:null,Pc:null,Rc:4063232,fd:"value",ed:"value"};$3.prototype.Dn=a4;m3($3,$3.prototype.Dn);var QG=function(a){a=new $3(a);DG(a,iF().cartesian,!0);return a},b4=yG.cartesian=QG;C("anychart.cartesian",QG);C("anychart.cartesianChart",b4);$3.prototype.xScale=$3.prototype.Fa;$3.prototype.yScale=$3.prototype.Pa; -$3.prototype.barsPadding=$3.prototype.Jw;$3.prototype.barGroupsPadding=$3.prototype.op;$3.prototype.crosshair=$3.prototype.ft;$3.prototype.maxBubbleSize=$3.prototype.Xz;$3.prototype.minBubbleSize=$3.prototype.Yz;$3.prototype.grid=$3.prototype.To;$3.prototype.minorGrid=$3.prototype.Tz;$3.prototype.xAxis=$3.prototype.Uo;$3.prototype.getXAxesCount=$3.prototype.P4;$3.prototype.yAxis=$3.prototype.Vo;$3.prototype.getYAxesCount=$3.prototype.Q4;$3.prototype.getSeries=$3.prototype.re; -$3.prototype.lineMarker=$3.prototype.Sz;$3.prototype.rangeMarker=$3.prototype.Uz;$3.prototype.textMarker=$3.prototype.Vz;$3.prototype.palette=$3.prototype.Qq;$3.prototype.markerPalette=$3.prototype.Pq;$3.prototype.hatchFillPalette=$3.prototype.Oq;$3.prototype.getType=$3.prototype.Ua;$3.prototype.defaultSeriesType=$3.prototype.Eh;$3.prototype.addSeries=$3.prototype.Wz;$3.prototype.getSeriesAt=$3.prototype.Nv;$3.prototype.getSeriesCount=$3.prototype.HF;$3.prototype.removeSeries=$3.prototype.$z; -$3.prototype.removeSeriesAt=$3.prototype.aA;$3.prototype.removeAllSeries=$3.prototype.Zz;$3.prototype.getPlotBounds=$3.prototype.Qh;$3.prototype.xZoom=$3.prototype.Qm;$3.prototype.xScroller=$3.prototype.En;$3.prototype.getStat=$3.prototype.Xc;$3.prototype.annotations=$3.prototype.Fn;function c4(){C3.call(this)}E(c4,C3);c4.prototype.pO=function(a,b){var c=this.ma()||Kl(0,0,0,0),d=Math.round(c.Ra()-a*c.height);1==a?d-=b:d+=b;var e=c.fb()+this.Ga,f=d-this.Ka;this.b.moveTo(c.fb(),d).lineTo(e,f).lineTo(c.Wa()+this.Ga,f)};c4.prototype.qO=function(a,b){var c=this.ma()||Kl(0,0,0,0),d=Math.round(c.fb()+a*c.width);1==a?d+=b:d-=b;var e=d+this.Ga,f=c.Ra()-this.Ka;this.b.moveTo(d,c.Ra()).lineTo(e,f).lineTo(e,c.qb()-this.Ka)}; -c4.prototype.nO=function(a,b,c,d,e){if(!isNaN(b)){c=this.ma()||Kl(0,0,0,0);var f,h;f=Math.round(c.Ra()-b*c.height);h=Math.round(c.Ra()-a*c.height);1==a?h-=e:h+=e;1==b?f-=e:f+=e;d.moveTo(c.fb(),f).lineTo(c.fb()+this.Ga,f-this.Ka).lineTo(c.Wa()+this.Ga,f-this.Ka).lineTo(c.Wa()+this.Ga,h-this.Ka).lineTo(c.fb()+this.Ga,h-this.Ka).lineTo(c.fb(),h).close()}}; -c4.prototype.oO=function(a,b,c,d,e){if(!isNaN(b)){c=this.ma()||Kl(0,0,0,0);var f,h;f=Math.round(c.fb()+b*c.width);h=Math.round(c.fb()+a*c.width);1==a?h+=e:h-=e;1==b?f+=e:f-=e;d.moveTo(f+this.Ga,c.qb()-this.Ka).lineTo(h+this.Ga,c.qb()-this.Ka).lineTo(h+this.Ga,c.Ra()-this.Ka).lineTo(h,c.Ra()).lineTo(f,c.Ra()).lineTo(f+this.Ga,c.Ra()-this.Ka).close()}};function d4(a){Z3.call(this,a);this.df=this.kc=0;this.nc=null;this.cc=0;this.ql=!1;this.xf=0;this.O="cartesian3d"}E(d4,Z3);function e4(a){var b=IF(a.domTarget);if(b&&b.na&&b.na.check(4)){var c=IF(a.relatedDomTarget);c&&c.na&&c.na==b.na&&c.index==b.index||(b=b.na)&&!b.Md&&b.enabled()&&(c=b.Oi(),b.Ya(null),b.lg(a.ED),b.Ya(c))}}d4.prototype.$k=function(a){e4(a);d4.G.$k.call(this,a)};d4.prototype.Zo=function(a){e4(a);d4.G.Zo.call(this,a)};d4.prototype.Rm=function(a){e4(a);d4.G.Rm.call(this,a)}; -d4.prototype.Wf=function(a){e4(a);d4.G.Wf.call(this,a)}; -function f4(a,b,c){var d,e,f,h,k;k=UE(["fill","hoverFill","selectFill"],1)(a,c);c=v(k)?k.opacity:1;e=v(k)?k.color:k;k=ME(e);if(null===k)a=e=d=f=h=k="none";else{e=k.mg;var l=cl(e);f=il(l,.2);k=il(l,.25);h=hl([255,255,255],l,.1);d=$k(hl(l,f,.7));h=$k(hl(f,h,.1));l=$k(hl(l,f,.1));a={angle:a.check(4096)?0:90,opacity:c,keys:[OE(d,.2),OE(e,.3)]};e=OE(l,.2);d=OE(d,.2);f=$k(f);k=$k(k)}b.bottom.fill({color:f,opacity:c});b.back.fill({color:h,opacity:c});b.left.fill({color:k,opacity:c});b.right.fill({color:e, -opacity:c});b.top.fill({color:d,opacity:c});b.front.fill(a)}var g4={}; -g4.area={Mc:2,cd:1,jd:[{name:"top",Vc:"path",Zc:null,dd:null,Jc:!1,zIndex:3E-6},Af,Bf,Cf,Df,Ef,Hf],bd:null,Pc:function(a,b,c){var d,e,f,h,k;c=UE(["fill","hoverFill","selectFill"],1)(a,c);a=v(c)?c.opacity:1;d=v(c)?c.color:c;c=ME(d);if(null===c)d=e=f=h=k=c="none";else{d=c.mg;h=cl(d);var l=il(h,.2);f=il(h,.3);c=il(h,.25);k=hl([255,255,255],h,.1);e=$k(hl(h,l,.7));f=$k(hl(h,f,.7));k=$k(hl(l,k,.1));h=$k(hl(h,l,.1));d={angle:90,opacity:a,keys:[OE(e,.2),OE(d,.3)]};e=OE(f,.2);f=h=OE(h,.2);c=$k(c)}b.bottom.fill({color:h, -opacity:a});b.back.fill({color:k,opacity:a});b.left.fill({color:c,opacity:a});b.right.fill({color:f,opacity:a});b.top.fill({color:e,opacity:a});b.front.fill(d);b.top.stroke({color:e,thickness:.8})},Rc:3538944,fd:"value",ed:"zero"};g4.bar={Mc:4,cd:2,jd:[zf,Af,Bf,Cf,Df,Ef,Hf,If,Jf],bd:null,Pc:f4,Rc:3538944,fd:"value",ed:"zero"};g4.column={Mc:9,cd:2,jd:[zf,Af,Bf,Cf,Df,Ef,Hf,If,Jf],bd:null,Pc:f4,Rc:3538944,fd:"value",ed:"zero"};d4.prototype.Dn=g4;m3(d4,d4.prototype.Dn); -RG=function(a){a=new d4(a);DG(a,iF().cartesian3d,!0);return a};yG.cartesian3d=RG;g=d4.prototype;g.DJ=!0;g.zL=function(a){return n(a)?(this.df!=a&&(this.df=Ac(F(a),0,90),this.B(4,J|8)),this):this.df};g.AL=function(a){return n(a)?(this.kc!=a&&(this.kc=na(a)?Math.max(a,0):a,this.B(4,J|8)),this):this.kc};g.BL=function(a){M(405,null,["chart.zDepth","chart.zAspect with chart.zPadding"],!0);return n(a)?(this.nc!=a&&(this.nc=null===a?a:F(a),this.B(4,J|8)),this):this.nc}; -g.ik=function(a){return n(a)?(a=!!a,this.ql!=a&&(this.ql=a,this.B(131076,J|8)),this):this.ql};g.CL=function(a){return n(a)?(a=F(a),this.xf!==a&&(this.xf=Math.max(a,0),this.B(4,J|8)),this):this.xf};function mg(a,b,c){c||!a.ik()?a=0:(b=a.b.length-b-1,a=(og(a,c)+a.ee)*b);return a}function ng(a,b,c){c||!a.ik()?a=0:(b=a.b.length-b-1,a=(pg(a,c)+a.fe)*b);return a}function og(a,b){var c=a.b.length,d=a.ee,e=a.Ga;!b&&a.ik()&&(e=(e-d*(c-1))/c);return e} -function pg(a,b){var c=a.b.length,d=a.fe,e=a.Ka;!b&&a.ik()&&(e=(e-d*(c-1))/c);return e}g.TH=function(){return new c4};g.SQ=function(){var a=new pM;a.Vg(this);return a};g.WQ=function(){var a=new tM;a.Vg(this);return a};g.ZQ=function(){var a=new v0;a.Vg(this);return a}; -g.FT=function(){this.vm={};for(var a=this.Rd(),b,c=0;ck&&(l=e.check(4096)?l-f:e.lh()?l-f:l+f);h.K("zIndex",l)}else this.vm[lg(b)]=c}; -g.RR=function(a){a=a.clone().round();var b=this.Rz(a),c=this.b.length,d=Ua(this.df),e=Ua(90-this.df),f=this.xf;if(null==this.nc&&KF(this.kc)){for(var h=parseFloat(this.kc)/100,k=h*Math.sin(e),l=h*Math.sin(d),m=h=0,p=this.Rd(),q,t=0;t=this.cc&&(f=(this.cc-c)/b),this.ee=Math.round(f*Math.sin(e)),this.fe=Math.round(f* -Math.sin(d));this.Ga=Math.max(this.Ga,0)||0;this.Ka=Math.max(this.Ka,0)||0;this.ee=Math.max(this.ee,0)||0;this.fe=Math.max(this.fe,0)||0;a.top+=this.Ka;a.height-=this.Ka;a.width-=this.Ga;return a};g.jI=function(a,b){var c;if(!this.Cb&&this.ik()){if(0Math.min(this.X.width,this.X.height)/2)return null;var d=[],k=this.Ed(),l,m,p;if("bySpot"==k.Cc()){var k=k.kq(),q,t;if(0<=h-k){e-=b;c=f-a;f=Math.atan(e/c);0>=f&&(f+=Math.PI);if(0>e||f==Math.PI&&0=f&&(f+=Math.PI);if(0>e||f==Math.PI&& -0l&&k>l+(1-l)/2&&(c=wL(e.data(),0))),l=e.ba(),m=Infinity,c.length){q=[];for(x=0;xf?(f=k.scale(),"layout"in h||(k=k instanceof g3,h.layout=k?"circuit": -"radial"),"scale"in h||(k=qa(f),c[k]?h.scale=$i(d,c[k]):(c[k]=f.N(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}}l.length&&(a.grids=l);l=[];for(b=0;bf?(f=k.scale(),"layout"in h||(k=k instanceof g3,h.layout=k?"circuit":"radial"),"scale"in h|| -(k=qa(f),c[k]?h.scale=$i(d,c[k]):(c[k]=f.N(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}l.length&&(a.minorGrids=l);e=[];for(b=0;bp&&(t=!0));c.uc(0);(q||!q&&!t)&&c.uc(100);t&&c.uc(-100)}else for(b=0;bc&&(h[qa(a[b].Pa())]+=c))}for(b in e){a=e[b];a.Vy=0;a.Uy=0;a.Ty=!1;a=e[b];var c=h[b],d=f[b];a.JU=Math.min(c,d,0);a.IU= -Math.max(d,c,0)}},function(){for(var a in e)f[a]=0,h[a]=0});for(b=0;bh)return null;var f=[],p=this.Ed(),q,t,u;if("bySpot"==p.Cc()){var p=p.kq(),w,x;if(0<=m-p){t=k-b;u=l-a;q=Math.atan(t/u);0>=q&&(q+=Math.PI);if(0>t||q==Math.PI&&0=q&&(q+=Math.PI);if(0>t||q==Math.PI&&0e&&(e=NaN),u=t.ba(),y=Infinity,u.select(e)&&!OF(u.get("value"))&&(h=u.K("x"),k=u.K("value"),c=Math.sqrt(Math.pow(h-b,2)+Math.pow(k-a,2)),cf?(f=k.scale(),"layout"in h||(k=k instanceof g3,h.layout=k?"circuit": -"radial"),"scale"in h||(k=qa(f),c[k]?h.scale=$i(d,c[k]):(c[k]=f.N(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}}l.length&&(a.grids=l);l=[];for(b=0;bf?(f=k.scale(),"layout"in h||(k=k instanceof g3,h.layout=k?"circuit":"radial"),"scale"in -h||(k=qa(f),c[k]?h.scale=$i(d,c[k]):(c[k]=f.N(),d.push(c[k]),h.scale=d.length-1))):h.axis=f;l.push(h)}l.length&&(a.minorGrids=l);h=this.g.N();f=this.g.scale();k=qa(f);c[k]?h.scale=$i(d,c[k]):(c[k]=f.N(),d.push(c[k]),h.scale=d.length-1);a.xAxis=h;h=this.D.N();f=this.D.scale();k=qa(f);c[k]?h.scale=$i(d,c[k]):(c[k]=f.N(),d.push(c[k]),h.scale=d.length-1);a.yAxis=h;e=[];for(b=0;bthis.end&&(this.j=NaN),this.b.add(this.I));for(this.g=new Vj(new Date(this.D));this.g.getTime()this.end&&(this.j=NaN));for(this.g=new Vj(new Date(this.D));this.g.getTime()=this.I?(a=this.Kk,b=this.zm):(a=Ac(this.Kk,this.o,this.I),b=Ac(this.zm,this.o,this.I));var c=Math.abs(b-a)/6;isNaN(c)&&this.j.U(NaN,NaN,WF("year",1),WF("year",1),NaN);for(var d=this.J.length,e,f,h=0;hf&&(f+=12);k.setUTCFullYear(a);k.setUTCMonth(f);k=k.getTime()}else if("thirdofmonth"==e)f=a.getUTCDate(),e=3*(12*a.getUTCFullYear()+a.getUTCMonth())+(10>=f?0:20>=f?1:2)+m*l,a=Math.floor(e/36),e%=36,f=Math.floor(e/3),0>f&&(f+=12),e%=3,0>e&&(e+=3), -k=Date.UTC(a,f,1+10*e);else{switch(e){case "week":f=6048E5*l;break;case "day":f=864E5*l;break;case "hour":f=36E5*l;break;case "minute":f=6E4*l;break;case "second":f=1E3*l;break;case "millisecond":f=l}k=h+m*f}}else h=Dc(a),k=Dc(b);F1(this,h,k);(la(b)&&b||la(c)&&c||d)&&E1(this,"selectedrangechange","selectRange");return this};g.K4=function(){return{firstSelected:this.b.b.$h,lastSelected:this.b.b.Li,firstVisible:UK(this.b),lastVisible:VK(this.b)}}; -g.Fa=function(a){if(n(a)){a:switch(a=(a+"").toLowerCase(),a){case "lin":case "linear":case "scatter":case "datetime":case "s":case "simple":a=!0;break a;default:a=!1}a!=(this.Na&&!(this.Na instanceof PU))&&(a?(this.Na=new VM(this),this.j&&this.j.Fa(new VM(this.j))):(this.Na=new PU(this),this.j&&this.j.Fa(new PU(this.j))),this.B(8192),X4(this));return this}this.Na||(this.Na=new PU(this));return this.Na};g.Yo=function(a){return n(a)?(PK(this.b,a),this):PK(this.b)}; -g.Qz=function(a){return n(a)?(QK(this.b,a),this):QK(this.b)};function F1(a,b,c){var d=a.Fa();LK(a.b)&&(SK(a.b,d),SK(a.b,a.Lu().Fa()));a.b.select(b,c)&&(RK(a.b,d,!1),X4(a))} -function E1(a,b,c,d,e){if(n(d))return a.dispatchEvent({type:b,source:c,firstSelected:d,lastSelected:e,firstKey:a.b.j,lastKey:a.b.F});d=a.Yo();return a.dispatchEvent({type:b,source:c,firstSelected:a.b.b.$h,lastSelected:a.b.b.Li,firstVisible:UK(a.b),lastVisible:VK(a.b),firstKey:a.b.j,lastKey:a.b.F,dataIntervalUnit:d.im().unit,dataIntervalUnitCount:d.im().count,dataIsGrouped:d.$x()})}g.Ku=function(){this.pb().ll()&&this.B(4,J|8)};g.$Q=function(){var a=new NQ(4294967295);O(this,a);a.Ca(this);return a}; -g.nN=function(){return this.b.b.py}; -g.Ki=function(a){BO(this.Pz(),!0);if(W(this,4)){var b=a;this.j&&(this.j.ma(b),b=this.j.rc());var c=0,d=NaN,e=[];for(a=0;ab&&(this.D=b));isFinite(this.D)||(this.D=NaN);this.B(16384)}if(W(this,16384)){a=this.Fa();b=this.Lu().Fa();c=this.b;h=this.D;LK(c);d=c.j;e=c.F;f=W(c,16384);c.ea=h;var k=c.b.$h;if(isNaN(k)||isNaN(c.b.ts)&&!isNaN(c.b.$h)&&!isNaN(d))k=d;var l=c.b.Li;if(isNaN(l)||isNaN(c.b.ss)&&!isNaN(c.b.$h)&&!isNaN(e))l=e;h=0;if(!isNaN(k)){if(k=MK(c,k,l,c.O,c.ua,c.g,c.b,f))c.g=k[0],c.b=k[1],h+=1;if(d=MK(c,d,e,c.Y,c.X,c.$,c.W,f))c.$=d[0],c.W=d[1],h+=2}c.R(16384);c=h;SK(this.b,a);SK(this.b,b);c&1&&(RK(this.b,a, -!1),X4(this));c&2&&(RK(this.b,b,!0),U4(this.j),this.B(8192));this.R(16384)}if(W(this,32768)){b=[];for(a=0;ad){l-=q[c];t++;delete x[c];u=!0;break}}else{if(c in -p&&p[c]>d){l+=x[c]=p[c];t--;u=!0;break}if(c in q&&q[c]b||1f;f++)if(!b||2!==f||void 0!==c.z)switch(0===f?(d=g,e="x"):1===f?(d=h,e="y"):(d=i,e="z"),a.axis[f]){case"e":c[e]=d;break;case"w":c[e]=-d;break;case"n":c[e]=d;break;case"s":c[e]=-d;break;case"u":void 0!==c[e]&&(c.z=d);break;case"d":void 0!==c[e]&&(c.z=-d);break;default:return null}return c}},{}],4:[function(a,b,c){var d=Math.PI/2,e=a("./sign");b.exports=function(a){return Math.abs(a)1&&(a=a>1?1:-1),Math.asin(a)}},{}],7:[function(a,b,c){b.exports=function(a){return 1-.25*a*(1+a/16*(3+1.25*a))}},{}],8:[function(a,b,c){b.exports=function(a){return.375*a*(1+.25*a*(1+.46875*a))}},{}],9:[function(a,b,c){b.exports=function(a){return.05859375*a*a*(1+.75*a)}},{}],10:[function(a,b,c){b.exports=function(a){return a*a*a*(35/3072)}},{}],11:[function(a,b,c){b.exports=function(a,b,c){var d=b*c;return a/Math.sqrt(1-d*d)}},{}],12:[function(a,b,c){b.exports=function(a,b,c,d,e){var f,g;f=a/b;for(var h=0;15>h;h++)if(g=(a-(b*f-c*Math.sin(2*f)+d*Math.sin(4*f)-e*Math.sin(6*f)))/(b-2*c*Math.cos(2*f)+4*d*Math.cos(4*f)-6*e*Math.cos(6*f)),f+=g,Math.abs(g)<=1e-10)return f;return NaN}},{}],13:[function(a,b,c){var d=Math.PI/2;b.exports=function(a,b){var c=1-(1-a*a)/(2*a)*Math.log((1-a)/(1+a));if(Math.abs(Math.abs(b)-c)<1e-6)return 0>b?-1*d:d;for(var e,f,g,h,i=Math.asin(.5*b),j=0;30>j;j++)if(f=Math.sin(i),g=Math.cos(i),h=a*f,e=Math.pow(1-h*h,2)/(2*g)*(b/(1-a*a)-f/(1-h*h)+.5/a*Math.log((1-h)/(1+h))),i+=e,Math.abs(e)<=1e-10)return i;return NaN}},{}],14:[function(a,b,c){b.exports=function(a,b,c,d,e){return a*e-b*Math.sin(2*e)+c*Math.sin(4*e)-d*Math.sin(6*e)}},{}],15:[function(a,b,c){b.exports=function(a,b,c){var d=a*b;return c/Math.sqrt(1-d*d)}},{}],16:[function(a,b,c){var d=Math.PI/2;b.exports=function(a,b){for(var c,e,f=.5*a,g=d-2*Math.atan(b),h=0;15>=h;h++)if(c=a*Math.sin(g),e=d-2*Math.atan(b*Math.pow((1-c)/(1+c),f))-g,g+=e,Math.abs(e)<=1e-10)return g;return-9999}},{}],17:[function(a,b,c){var d=1,e=.25,f=.046875,g=.01953125,h=.01068115234375,i=.75,j=.46875,k=.013020833333333334,l=.007120768229166667,m=.3645833333333333,n=.005696614583333333,o=.3076171875;b.exports=function(a){var b=[];b[0]=d-a*(e+a*(f+a*(g+a*h))),b[1]=a*(i-a*(f+a*(g+a*h)));var c=a*a;return b[2]=c*(j-a*(k+a*l)),c*=a,b[3]=c*(m-a*n),b[4]=c*a*o,b}},{}],18:[function(a,b,c){var d=a("./pj_mlfn"),e=1e-10,f=20;b.exports=function(a,b,c){for(var g=1/(1-b),h=a,i=f;i;--i){var j=Math.sin(h),k=1-b*j*j;if(k=(d(h,j,Math.cos(h),c)-a)*(k*Math.sqrt(k))*g,h-=k,Math.abs(k)1e-7?(c=a*b,(1-a*a)*(b/(1-c*c)-.5/a*Math.log((1-c)/(1+c)))):2*b}},{}],21:[function(a,b,c){b.exports=function(a){return 0>a?-1:1}},{}],22:[function(a,b,c){b.exports=function(a,b){return Math.pow((1-a)/(1+a),b)}},{}],23:[function(a,b,c){b.exports=function(a){var b={x:a[0],y:a[1]};return a.length>2&&(b.z=a[2]),a.length>3&&(b.m=a[3]),b}},{}],24:[function(a,b,c){var d=Math.PI/2;b.exports=function(a,b,c){var e=a*c,f=.5*a;return e=Math.pow((1-e)/(1+e),f),Math.tan(.5*(d-b))/e}},{}],25:[function(a,b,c){c.wgs84={towgs84:"0,0,0",ellipse:"WGS84",datumName:"WGS84"},c.ch1903={towgs84:"674.374,15.056,405.346",ellipse:"bessel",datumName:"swiss"},c.ggrs87={towgs84:"-199.87,74.79,246.62",ellipse:"GRS80",datumName:"Greek_Geodetic_Reference_System_1987"},c.nad83={towgs84:"0,0,0",ellipse:"GRS80",datumName:"North_American_Datum_1983"},c.nad27={nadgrids:"@conus,@alaska,@ntv2_0.gsb,@ntv1_can.dat",ellipse:"clrk66",datumName:"North_American_Datum_1927"},c.potsdam={towgs84:"606.0,23.0,413.0",ellipse:"bessel",datumName:"Potsdam Rauenberg 1950 DHDN"},c.carthage={towgs84:"-263.0,6.0,431.0",ellipse:"clark80",datumName:"Carthage 1934 Tunisia"},c.hermannskogel={towgs84:"653.0,-212.0,449.0",ellipse:"bessel",datumName:"Hermannskogel"},c.ire65={towgs84:"482.530,-130.596,564.557,-1.042,-0.214,-0.631,8.15",ellipse:"mod_airy",datumName:"Ireland 1965"},c.rassadiran={towgs84:"-133.63,-157.5,-158.62",ellipse:"intl",datumName:"Rassadiran"},c.nzgd49={towgs84:"59.47,-5.04,187.44,0.47,-0.1,1.024,-4.5993",ellipse:"intl",datumName:"New Zealand Geodetic Datum 1949"},c.osgb36={towgs84:"446.448,-125.157,542.060,0.1502,0.2470,0.8421,-20.4894",ellipse:"airy",datumName:"Airy 1830"},c.s_jtsk={towgs84:"589,76,480",ellipse:"bessel",datumName:"S-JTSK (Ferro)"},c.beduaram={towgs84:"-106,-87,188",ellipse:"clrk80",datumName:"Beduaram"},c.gunung_segara={towgs84:"-403,684,41",ellipse:"bessel",datumName:"Gunung Segara Jakarta"},c.rnb72={towgs84:"106.869,-52.2978,103.724,-0.33657,0.456955,-1.84218,1",ellipse:"intl",datumName:"Reseau National Belge 1972"}},{}],26:[function(a,b,c){c.MERIT={a:6378137,rf:298.257,ellipseName:"MERIT 1983"},c.SGS85={a:6378136,rf:298.257,ellipseName:"Soviet Geodetic System 85"},c.GRS80={a:6378137,rf:298.257222101,ellipseName:"GRS 1980(IUGG, 1980)"},c.IAU76={a:6378140,rf:298.257,ellipseName:"IAU 1976"},c.airy={a:6377563.396,b:6356256.91,ellipseName:"Airy 1830"},c.APL4={a:6378137,rf:298.25,ellipseName:"Appl. Physics. 1965"},c.NWL9D={a:6378145,rf:298.25,ellipseName:"Naval Weapons Lab., 1965"},c.mod_airy={a:6377340.189,b:6356034.446,ellipseName:"Modified Airy"},c.andrae={a:6377104.43,rf:300,ellipseName:"Andrae 1876 (Den., Iclnd.)"},c.aust_SA={a:6378160,rf:298.25,ellipseName:"Australian Natl & S. Amer. 1969"},c.GRS67={a:6378160,rf:298.247167427,ellipseName:"GRS 67(IUGG 1967)"},c.bessel={a:6377397.155,rf:299.1528128,ellipseName:"Bessel 1841"},c.bess_nam={a:6377483.865,rf:299.1528128,ellipseName:"Bessel 1841 (Namibia)"},c.clrk66={a:6378206.4,b:6356583.8,ellipseName:"Clarke 1866"},c.clrk80={a:6378249.145,rf:293.4663,ellipseName:"Clarke 1880 mod."},c.clrk58={a:6378293.645208759,rf:294.2606763692654,ellipseName:"Clarke 1858"},c.CPM={a:6375738.7,rf:334.29,ellipseName:"Comm. des Poids et Mesures 1799"},c.delmbr={a:6376428,rf:311.5,ellipseName:"Delambre 1810 (Belgium)"},c.engelis={a:6378136.05,rf:298.2566,ellipseName:"Engelis 1985"},c.evrst30={a:6377276.345,rf:300.8017,ellipseName:"Everest 1830"},c.evrst48={a:6377304.063,rf:300.8017,ellipseName:"Everest 1948"},c.evrst56={a:6377301.243,rf:300.8017,ellipseName:"Everest 1956"},c.evrst69={a:6377295.664,rf:300.8017,ellipseName:"Everest 1969"},c.evrstSS={a:6377298.556,rf:300.8017,ellipseName:"Everest (Sabah & Sarawak)"},c.fschr60={a:6378166,rf:298.3,ellipseName:"Fischer (Mercury Datum) 1960"},c.fschr60m={a:6378155,rf:298.3,ellipseName:"Fischer 1960"},c.fschr68={a:6378150,rf:298.3,ellipseName:"Fischer 1968"},c.helmert={a:6378200,rf:298.3,ellipseName:"Helmert 1906"},c.hough={a:6378270,rf:297,ellipseName:"Hough"},c.intl={a:6378388,rf:297,ellipseName:"International 1909 (Hayford)"},c.kaula={a:6378163,rf:298.24,ellipseName:"Kaula 1961"},c.lerch={a:6378139,rf:298.257,ellipseName:"Lerch 1979"},c.mprts={a:6397300,rf:191,ellipseName:"Maupertius 1738"},c.new_intl={a:6378157.5,b:6356772.2,ellipseName:"New International 1967"},c.plessis={a:6376523,rf:6355863,ellipseName:"Plessis 1817 (France)"},c.krass={a:6378245,rf:298.3,ellipseName:"Krassovsky, 1942"},c.SEasia={a:6378155,b:6356773.3205,ellipseName:"Southeast Asia"},c.walbeck={a:6376896,b:6355834.8467,ellipseName:"Walbeck"},c.WGS60={a:6378165,rf:298.3,ellipseName:"WGS 60"},c.WGS66={a:6378145,rf:298.25,ellipseName:"WGS 66"},c.WGS7={a:6378135,rf:298.26,ellipseName:"WGS 72"},c.WGS84={a:6378137,rf:298.257223563,ellipseName:"WGS 84"},c.sphere={a:6370997,b:6370997,ellipseName:"Normal Sphere (r=6370997)"}},{}],27:[function(a,b,c){c.greenwich=0,c.lisbon=-9.131906111111,c.paris=2.337229166667,c.bogota=-74.080916666667,c.madrid=-3.687938888889,c.rome=12.452333333333,c.bern=7.439583333333,c.jakarta=106.807719444444,c.ferro=-17.666666666667,c.brussels=4.367975,c.stockholm=18.058277777778,c.athens=23.7163375,c.oslo=10.722916666667},{}],28:[function(a,b,c){c.ft={to_meter:.3048},c["us-ft"]={to_meter:1200/3937}},{}],29:[function(a,b,c){function d(a,b,c){var d;return Array.isArray(c)?(d=g(a,b,c),3===c.length?[d.x,d.y,d.z]:[d.x,d.y]):g(a,b,c)}function e(a){return a instanceof f?a:a.oProj?a.oProj:f(a)}function proj4(a,b,c){a=e(a);var f,g=!1;return"undefined"==typeof b?(b=a,a=h,g=!0):("undefined"!=typeof b.x||Array.isArray(b))&&(c=b,b=a,a=h,g=!0),b=e(b),c?d(a,b,c):(f={forward:function(c){return d(a,b,c)},inverse:function(c){return d(b,a,c)}},g&&(f.oProj=b),f)}var f=a("./Proj"),g=a("./transform"),h=f("WGS84");b.exports=proj4},{"./Proj":2,"./transform":65}],30:[function(a,b,c){var d=Math.PI/2,e=1,f=2,g=3,h=4,i=5,j=484813681109536e-20,k=1.0026,l=.3826834323650898,m=function(a){return this instanceof m?(this.datum_type=h,void(a&&(a.datumCode&&"none"===a.datumCode&&(this.datum_type=i),a.datum_params&&(this.datum_params=a.datum_params.map(parseFloat),(0!==this.datum_params[0]||0!==this.datum_params[1]||0!==this.datum_params[2])&&(this.datum_type=e),this.datum_params.length>3&&(0!==this.datum_params[3]||0!==this.datum_params[4]||0!==this.datum_params[5]||0!==this.datum_params[6])&&(this.datum_type=f,this.datum_params[3]*=j,this.datum_params[4]*=j,this.datum_params[5]*=j,this.datum_params[6]=this.datum_params[6]/1e6+1)),this.datum_type=a.grids?g:this.datum_type,this.a=a.a,this.b=a.b,this.es=a.es,this.ep2=a.ep2,this.datum_type===g&&(this.grids=a.grids)))):new m(a)};m.prototype={compare_datums:function(a){return this.datum_type!==a.datum_type?!1:this.a!==a.a||Math.abs(this.es-a.es)>5e-11?!1:this.datum_type===e?this.datum_params[0]===a.datum_params[0]&&this.datum_params[1]===a.datum_params[1]&&this.datum_params[2]===a.datum_params[2]:this.datum_type===f?this.datum_params[0]===a.datum_params[0]&&this.datum_params[1]===a.datum_params[1]&&this.datum_params[2]===a.datum_params[2]&&this.datum_params[3]===a.datum_params[3]&&this.datum_params[4]===a.datum_params[4]&&this.datum_params[5]===a.datum_params[5]&&this.datum_params[6]===a.datum_params[6]:this.datum_type===g||a.datum_type===g?this.nadgrids===a.nadgrids:!0},geodetic_to_geocentric:function(a){var b,c,e,f,g,h,i,j=a.x,k=a.y,l=a.z?a.z:0,m=0;if(-d>k&&k>-1.001*d)k=-d;else if(k>d&&1.001*d>k)k=d;else if(-d>k||k>d)return null;return j>Math.PI&&(j-=2*Math.PI),g=Math.sin(k),i=Math.cos(k),h=g*g,f=this.a/Math.sqrt(1-this.es*h),b=(f+l)*i*Math.cos(j),c=(f+l)*i*Math.sin(j),e=(f*(1-this.es)+l)*g,a.x=b,a.y=c,a.z=e,m},geocentric_to_geodetic:function(a){var b,c,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t=1e-12,u=t*t,v=30,w=a.x,x=a.y,y=a.z?a.z:0;if(o=!1,b=Math.sqrt(w*w+x*x),c=Math.sqrt(w*w+x*x+y*y),b/this.au&&v>p);return r=Math.atan(m/Math.abs(l)),a.x=q,a.y=r,a.z=s,a},geocentric_to_geodetic_noniter:function(a){var b,c,e,f,g,h,i,j,m,n,o,p,q,r,s,t,u,v=a.x,w=a.y,x=a.z?a.z:0;if(v=parseFloat(v),w=parseFloat(w),x=parseFloat(x),u=!1,0!==v)b=Math.atan2(w,v);else if(w>0)b=d;else if(0>w)b=-d;else if(u=!0,b=0,x>0)c=d;else{if(!(0>x))return c=d,void(e=-this.b);c=-d}return g=v*v+w*w,f=Math.sqrt(g),h=x*k,j=Math.sqrt(h*h+g),n=h/j,p=f/j,o=n*n*n,i=x+this.b*this.ep2*o,t=f-this.a*this.es*p*p*p,m=Math.sqrt(i*i+t*t),q=i/m,r=t/m,s=this.a/Math.sqrt(1-this.es*q*q),e=r>=l?f/r-s:-l>=r?f/-r-s:x/q+s*(this.es-1),u===!1&&(c=Math.atan(q/r)),a.x=b,a.y=c,a.z=e,a},geocentric_to_wgs84:function(a){if(this.datum_type===e)a.x+=this.datum_params[0],a.y+=this.datum_params[1],a.z+=this.datum_params[2];else if(this.datum_type===f){var b=this.datum_params[0],c=this.datum_params[1],d=this.datum_params[2],g=this.datum_params[3],h=this.datum_params[4],i=this.datum_params[5],j=this.datum_params[6],k=j*(a.x-i*a.y+h*a.z)+b,l=j*(i*a.x+a.y-g*a.z)+c,m=j*(-h*a.x+g*a.y+a.z)+d;a.x=k,a.y=l,a.z=m}},geocentric_from_wgs84:function(a){if(this.datum_type===e)a.x-=this.datum_params[0],a.y-=this.datum_params[1],a.z-=this.datum_params[2];else if(this.datum_type===f){var b=this.datum_params[0],c=this.datum_params[1],d=this.datum_params[2],g=this.datum_params[3],h=this.datum_params[4],i=this.datum_params[5],j=this.datum_params[6],k=(a.x-b)/j,l=(a.y-c)/j,m=(a.z-d)/j;a.x=k+i*l-h*m,a.y=-i*k+l+g*m,a.z=h*k-g*l+m}}},b.exports=m},{}],31:[function(a,b,c){var d=1,e=2,f=3,g=5,h=6378137,i=.006694379990141316;b.exports=function(a,b,c){function j(a){return a===d||a===e}var k,l,m;if(a.compare_datums(b))return c;if(a.datum_type===g||b.datum_type===g)return c;var n=a.a,o=a.es,p=b.a,q=b.es,r=a.datum_type;if(r===f)if(0===this.apply_gridshift(a,0,c))a.a=h,a.es=i;else{if(!a.datum_params)return a.a=n,a.es=a.es,c;for(k=1,l=0,m=a.datum_params.length;m>l;l++)k*=a.datum_params[l];if(0===k)return a.a=n,a.es=a.es,c;r=a.datum_params.length>3?e:d}return b.datum_type===f&&(b.a=h,b.es=i),(a.es!==b.es||a.a!==b.a||j(r)||j(b.datum_type))&&(a.geodetic_to_geocentric(c),j(a.datum_type)&&a.geocentric_to_wgs84(c),j(b.datum_type)&&b.geocentric_from_wgs84(c),b.geocentric_to_geodetic(c)),b.datum_type===f&&this.apply_gridshift(b,1,c),a.a=n,a.es=o,b.a=p,b.es=q,c}},{}],32:[function(a,b,c){function d(a){var b=this;if(2===arguments.length){var c=arguments[1];"string"==typeof c?"+"===c.charAt(0)?d[a]=f(arguments[1]):d[a]=g(arguments[1]):d[a]=c}else if(1===arguments.length){if(Array.isArray(a))return a.map(function(a){Array.isArray(a)?d.apply(b,a):d(a)});if("string"==typeof a){if(a in d)return d[a]}else"EPSG"in a?d["EPSG:"+a.EPSG]=a:"ESRI"in a?d["ESRI:"+a.ESRI]=a:"IAU2000"in a?d["IAU2000:"+a.IAU2000]=a:console.log(a);return}}var e=a("./global"),f=a("./projString"),g=a("./wkt");e(d),b.exports=d},{"./global":35,"./projString":38,"./wkt":66}],33:[function(a,b,c){var d=a("./constants/Datum"),e=a("./constants/Ellipsoid"),f=a("./extend"),g=a("./datum"),h=1e-10,i=.16666666666666666,j=.04722222222222222,k=.022156084656084655;b.exports=function(a){if(a.datumCode&&"none"!==a.datumCode){var b=d[a.datumCode];b&&(a.datum_params=b.towgs84?b.towgs84.split(","):null,a.ellps=b.ellipse,a.datumName=b.datumName?b.datumName:a.datumCode)}if(!a.a){var c=e[a.ellps]?e[a.ellps]:e.WGS84;f(a,c)}return a.rf&&!a.b&&(a.b=(1-1/a.rf)*a.a),(0===a.rf||Math.abs(a.a-a.b)d?this.ns0=(this.ms1*this.ms1-this.ms2*this.ms2)/(this.qs2-this.qs1):this.ns0=this.con,this.c=this.ms1*this.ms1+this.ns0*this.qs1,this.rh=this.a*Math.sqrt(this.c-this.ns0*this.qs0)/this.ns0)},c.forward=function(a){var b=a.x,c=a.y;this.sin_phi=Math.sin(c),this.cos_phi=Math.cos(c);var d=f(this.e3,this.sin_phi,this.cos_phi),e=this.a*Math.sqrt(this.c-this.ns0*d)/this.ns0,h=this.ns0*g(b-this.long0),i=e*Math.sin(h)+this.x0,j=this.rh-e*Math.cos(h)+this.y0;return a.x=i,a.y=j,a},c.inverse=function(a){var b,c,d,e,f,h;return a.x-=this.x0,a.y=this.rh-a.y+this.y0,this.ns0>=0?(b=Math.sqrt(a.x*a.x+a.y*a.y),d=1):(b=-Math.sqrt(a.x*a.x+a.y*a.y),d=-1),e=0,0!==b&&(e=Math.atan2(d*a.x,d*a.y)),d=b*this.ns0/this.a,this.sphere?h=Math.asin((this.c-d*d)/(2*this.ns0)):(c=(this.c-d*d)/this.ns0,h=this.phi1z(this.e3,c)),f=g(e/this.ns0+this.long0),a.x=f,a.y=h,a},c.phi1z=function(a,b){var c,e,f,g,i,j=h(.5*b);if(d>a)return j;for(var k=a*a,l=1;25>=l;l++)if(c=Math.sin(j),e=Math.cos(j),f=a*c,g=1-f*f,i=.5*g*g/e*(b/(1-k)-c/g+.5/a*Math.log((1-f)/(1+f))),j+=i,Math.abs(i)<=1e-7)return j;return null},c.names=["Albers_Conic_Equal_Area","Albers","aea"]},{"../common/adjust_lon":5,"../common/asinz":6,"../common/msfnz":15,"../common/qsfnz":20}],41:[function(a,b,c){var d=a("../common/adjust_lon"),e=Math.PI/2,f=1e-10,g=a("../common/mlfn"),h=a("../common/e0fn"),i=a("../common/e1fn"),j=a("../common/e2fn"),k=a("../common/e3fn"),l=a("../common/gN"),m=a("../common/asinz"),n=a("../common/imlfn");c.init=function(){this.sin_p12=Math.sin(this.lat0),this.cos_p12=Math.cos(this.lat0)},c.forward=function(a){var b,c,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H=a.x,I=a.y,J=Math.sin(a.y),K=Math.cos(a.y),L=d(H-this.long0);return this.sphere?Math.abs(this.sin_p12-1)<=f?(a.x=this.x0+this.a*(e-I)*Math.sin(L),a.y=this.y0-this.a*(e-I)*Math.cos(L),a):Math.abs(this.sin_p12+1)<=f?(a.x=this.x0+this.a*(e+I)*Math.sin(L),a.y=this.y0+this.a*(e+I)*Math.cos(L),a):(B=this.sin_p12*J+this.cos_p12*K*Math.cos(L),z=Math.acos(B),A=z/Math.sin(z),a.x=this.x0+this.a*A*K*Math.sin(L),a.y=this.y0+this.a*A*(this.cos_p12*J-this.sin_p12*K*Math.cos(L)),a):(b=h(this.es),c=i(this.es),m=j(this.es),n=k(this.es),Math.abs(this.sin_p12-1)<=f?(o=this.a*g(b,c,m,n,e),p=this.a*g(b,c,m,n,I),a.x=this.x0+(o-p)*Math.sin(L),a.y=this.y0-(o-p)*Math.cos(L),a):Math.abs(this.sin_p12+1)<=f?(o=this.a*g(b,c,m,n,e),p=this.a*g(b,c,m,n,I),a.x=this.x0+(o+p)*Math.sin(L),a.y=this.y0+(o+p)*Math.cos(L),a):(q=J/K,r=l(this.a,this.e,this.sin_p12),s=l(this.a,this.e,J),t=Math.atan((1-this.es)*q+this.es*r*this.sin_p12/(s*K)),u=Math.atan2(Math.sin(L),this.cos_p12*Math.tan(t)-this.sin_p12*Math.cos(L)),C=0===u?Math.asin(this.cos_p12*Math.sin(t)-this.sin_p12*Math.cos(t)):Math.abs(Math.abs(u)-Math.PI)<=f?-Math.asin(this.cos_p12*Math.sin(t)-this.sin_p12*Math.cos(t)):Math.asin(Math.sin(L)*Math.cos(t)/Math.sin(u)),v=this.e*this.sin_p12/Math.sqrt(1-this.es),w=this.e*this.cos_p12*Math.cos(u)/Math.sqrt(1-this.es),x=v*w,y=w*w,D=C*C,E=D*C,F=E*C,G=F*C,z=r*C*(1-D*y*(1-y)/6+E/8*x*(1-2*y)+F/120*(y*(4-7*y)-3*v*v*(1-7*y))-G/48*x),a.x=this.x0+z*Math.sin(u),a.y=this.y0+z*Math.cos(u),a))},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b,c,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I;if(this.sphere){if(b=Math.sqrt(a.x*a.x+a.y*a.y),b>2*e*this.a)return;return c=b/this.a,o=Math.sin(c),p=Math.cos(c),q=this.long0,Math.abs(b)<=f?r=this.lat0:(r=m(p*this.sin_p12+a.y*o*this.cos_p12/b),s=Math.abs(this.lat0)-e,q=d(Math.abs(s)<=f?this.lat0>=0?this.long0+Math.atan2(a.x,-a.y):this.long0-Math.atan2(-a.x,a.y):this.long0+Math.atan2(a.x*o,b*this.cos_p12*p-a.y*this.sin_p12*o))),a.x=q,a.y=r,a}return t=h(this.es),u=i(this.es),v=j(this.es),w=k(this.es),Math.abs(this.sin_p12-1)<=f?(x=this.a*g(t,u,v,w,e),b=Math.sqrt(a.x*a.x+a.y*a.y),y=x-b,r=n(y/this.a,t,u,v,w),q=d(this.long0+Math.atan2(a.x,-1*a.y)),a.x=q,a.y=r,a):Math.abs(this.sin_p12+1)<=f?(x=this.a*g(t,u,v,w,e),b=Math.sqrt(a.x*a.x+a.y*a.y),y=b-x,r=n(y/this.a,t,u,v,w),q=d(this.long0+Math.atan2(a.x,a.y)),a.x=q,a.y=r,a):(b=Math.sqrt(a.x*a.x+a.y*a.y),B=Math.atan2(a.x,a.y),z=l(this.a,this.e,this.sin_p12),C=Math.cos(B),D=this.e*this.cos_p12*C,E=-D*D/(1-this.es),F=3*this.es*(1-E)*this.sin_p12*this.cos_p12*C/(1-this.es),G=b/z,H=G-E*(1+E)*Math.pow(G,3)/6-F*(1+3*E)*Math.pow(G,4)/24,I=1-E*H*H/2-G*H*H*H/6,A=Math.asin(this.sin_p12*Math.cos(H)+this.cos_p12*Math.sin(H)*C),q=d(this.long0+Math.asin(Math.sin(B)*Math.sin(H)/Math.cos(A))),r=Math.atan((1-this.es*I*this.sin_p12/Math.sin(A))*Math.tan(A)/(1-this.es)),a.x=q,a.y=r,a)},c.names=["Azimuthal_Equidistant","aeqd"]},{"../common/adjust_lon":5,"../common/asinz":6,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/gN":11,"../common/imlfn":12,"../common/mlfn":14}],42:[function(a,b,c){var d=a("../common/mlfn"),e=a("../common/e0fn"),f=a("../common/e1fn"),g=a("../common/e2fn"),h=a("../common/e3fn"),i=a("../common/gN"),j=a("../common/adjust_lon"),k=a("../common/adjust_lat"),l=a("../common/imlfn"),m=Math.PI/2,n=1e-10;c.init=function(){this.sphere||(this.e0=e(this.es),this.e1=f(this.es),this.e2=g(this.es),this.e3=h(this.es),this.ml0=this.a*d(this.e0,this.e1,this.e2,this.e3,this.lat0))},c.forward=function(a){var b,c,e=a.x,f=a.y;if(e=j(e-this.long0),this.sphere)b=this.a*Math.asin(Math.cos(f)*Math.sin(e)),c=this.a*(Math.atan2(Math.tan(f),Math.cos(e))-this.lat0);else{var g=Math.sin(f),h=Math.cos(f),k=i(this.a,this.e,g),l=Math.tan(f)*Math.tan(f),m=e*Math.cos(f),n=m*m,o=this.es*h*h/(1-this.es),p=this.a*d(this.e0,this.e1,this.e2,this.e3,f);b=k*m*(1-n*l*(1/6-(8-l+8*o)*n/120)),c=p-this.ml0+k*g/h*n*(.5+(5-l+6*o)*n/24)}return a.x=b+this.x0,a.y=c+this.y0,a},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b,c,d=a.x/this.a,e=a.y/this.a;if(this.sphere){var f=e+this.lat0;b=Math.asin(Math.sin(f)*Math.cos(d)),c=Math.atan2(Math.tan(d),Math.cos(f))}else{var g=this.ml0/this.a+e,h=l(g,this.e0,this.e1,this.e2,this.e3);if(Math.abs(Math.abs(h)-m)<=n)return a.x=this.long0,a.y=m,0>e&&(a.y*=-1),a;var o=i(this.a,this.e,Math.sin(h)),p=o*o*o/this.a/this.a*(1-this.es),q=Math.pow(Math.tan(h),2),r=d*this.a/o,s=r*r;b=h-o*Math.tan(h)/p*r*r*(.5-(1+3*q)*r*r/24),c=r*(1-s*(q/3+(1+3*q)*q*s/15))/Math.cos(h)}return a.x=j(c+this.long0),a.y=k(b),a},c.names=["Cassini","Cassini_Soldner","cass"]},{"../common/adjust_lat":4,"../common/adjust_lon":5,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/gN":11,"../common/imlfn":12,"../common/mlfn":14}],43:[function(a,b,c){var d=a("../common/adjust_lon"),e=a("../common/qsfnz"),f=a("../common/msfnz"),g=a("../common/iqsfnz");c.init=function(){this.sphere||(this.k0=f(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)))},c.forward=function(a){var b,c,f=a.x,g=a.y,h=d(f-this.long0);if(this.sphere)b=this.x0+this.a*h*Math.cos(this.lat_ts),c=this.y0+this.a*Math.sin(g)/Math.cos(this.lat_ts);else{var i=e(this.e,Math.sin(g));b=this.x0+this.a*this.k0*h,c=this.y0+this.a*i*.5/this.k0}return a.x=b,a.y=c,a},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b,c;return this.sphere?(b=d(this.long0+a.x/this.a/Math.cos(this.lat_ts)),c=Math.asin(a.y/this.a*Math.cos(this.lat_ts))):(c=g(this.e,2*a.y*this.k0/this.a),b=d(this.long0+a.x/(this.a*this.k0))),a.x=b,a.y=c,a},c.names=["cea"]},{"../common/adjust_lon":5,"../common/iqsfnz":13,"../common/msfnz":15,"../common/qsfnz":20}],44:[function(a,b,c){var d=a("../common/adjust_lon"),e=a("../common/adjust_lat");c.init=function(){this.x0=this.x0||0,this.y0=this.y0||0,this.lat0=this.lat0||0,this.long0=this.long0||0,this.lat_ts=this.lat_ts||0,this.title=this.title||"Equidistant Cylindrical (Plate Carre)",this.rc=Math.cos(this.lat_ts)},c.forward=function(a){var b=a.x,c=a.y,f=d(b-this.long0),g=e(c-this.lat0);return a.x=this.x0+this.a*f*this.rc,a.y=this.y0+this.a*g,a},c.inverse=function(a){var b=a.x,c=a.y;return a.x=d(this.long0+(b-this.x0)/(this.a*this.rc)),a.y=e(this.lat0+(c-this.y0)/this.a),a},c.names=["Equirectangular","Equidistant_Cylindrical","eqc"]},{"../common/adjust_lat":4,"../common/adjust_lon":5}],45:[function(a,b,c){var d=a("../common/e0fn"),e=a("../common/e1fn"),f=a("../common/e2fn"),g=a("../common/e3fn"),h=a("../common/msfnz"),i=a("../common/mlfn"),j=a("../common/adjust_lon"),k=a("../common/adjust_lat"),l=a("../common/imlfn"),m=1e-10;c.init=function(){Math.abs(this.lat1+this.lat2)=0?(c=Math.sqrt(a.x*a.x+a.y*a.y),b=1):(c=-Math.sqrt(a.x*a.x+a.y*a.y),b=-1);var f=0;if(0!==c&&(f=Math.atan2(b*a.x,b*a.y)),this.sphere)return e=j(this.long0+f/this.ns),d=k(this.g-c/this.a),a.x=e,a.y=d,a;var g=this.g-c/this.a;return d=l(g,this.e0,this.e1,this.e2,this.e3),e=j(this.long0+f/this.ns),a.x=e,a.y=d,a},c.names=["Equidistant_Conic","eqdc"]},{"../common/adjust_lat":4,"../common/adjust_lon":5,"../common/e0fn":7,"../common/e1fn":8,"../common/e2fn":9,"../common/e3fn":10,"../common/imlfn":12,"../common/mlfn":14,"../common/msfnz":15}],46:[function(a,b,c){var d=Math.PI/4,e=a("../common/srat"),f=Math.PI/2,g=20;c.init=function(){var a=Math.sin(this.lat0),b=Math.cos(this.lat0);b*=b,this.rc=Math.sqrt(1-this.es)/(1-this.es*a*a),this.C=Math.sqrt(1+this.es*b*b/(1-this.es)),this.phic0=Math.asin(a/this.C),this.ratexp=.5*this.C*this.e,this.K=Math.tan(.5*this.phic0+d)/(Math.pow(Math.tan(.5*this.lat0+d),this.C)*e(this.e*a,this.ratexp))},c.forward=function(a){var b=a.x,c=a.y;return a.y=2*Math.atan(this.K*Math.pow(Math.tan(.5*c+d),this.C)*e(this.e*Math.sin(c),this.ratexp))-f,a.x=this.C*b,a},c.inverse=function(a){for(var b=1e-14,c=a.x/this.C,h=a.y,i=Math.pow(Math.tan(.5*h+d)/this.K,1/this.C),j=g;j>0&&(h=2*Math.atan(i*e(this.e*Math.sin(a.y),-.5*this.e))-f,!(Math.abs(h-a.y)0||Math.abs(i)<=e?(j=this.x0+this.a*h*c*Math.sin(f)/i,k=this.y0+this.a*h*(this.cos_p14*b-this.sin_p14*c*g)/i):(j=this.x0+this.infinity_dist*c*Math.sin(f),k=this.y0+this.infinity_dist*(this.cos_p14*b-this.sin_p14*c*g)),a.x=j,a.y=k,a},c.inverse=function(a){var b,c,e,g,h,i;return a.x=(a.x-this.x0)/this.a,a.y=(a.y-this.y0)/this.a,a.x/=this.k0,a.y/=this.k0,(b=Math.sqrt(a.x*a.x+a.y*a.y))?(g=Math.atan2(b,this.rc),c=Math.sin(g),e=Math.cos(g),i=f(e*this.sin_p14+a.y*c*this.cos_p14/b),h=Math.atan2(a.x*c,b*this.cos_p14*e-a.y*this.sin_p14*c),h=d(this.long0+h)):(i=this.phic0,h=0),a.x=h,a.y=i,a},c.names=["gnom"]},{"../common/adjust_lon":5,"../common/asinz":6}],48:[function(a,b,c){var d=a("../common/adjust_lon");c.init=function(){this.a=6377397.155,this.es=.006674372230614,this.e=Math.sqrt(this.es),this.lat0||(this.lat0=.863937979737193),this.long0||(this.long0=.4334234309119251),this.k0||(this.k0=.9999),this.s45=.785398163397448,this.s90=2*this.s45,this.fi0=this.lat0,this.e2=this.es,this.e=Math.sqrt(this.e2),this.alfa=Math.sqrt(1+this.e2*Math.pow(Math.cos(this.fi0),4)/(1-this.e2)),this.uq=1.04216856380474,this.u0=Math.asin(Math.sin(this.fi0)/this.alfa),this.g=Math.pow((1+this.e*Math.sin(this.fi0))/(1-this.e*Math.sin(this.fi0)),this.alfa*this.e/2),this.k=Math.tan(this.u0/2+this.s45)/Math.pow(Math.tan(this.fi0/2+this.s45),this.alfa)*this.g,this.k1=this.k0,this.n0=this.a*Math.sqrt(1-this.e2)/(1-this.e2*Math.pow(Math.sin(this.fi0),2)),this.s0=1.37008346281555,this.n=Math.sin(this.s0),this.ro0=this.k1*this.n0/Math.tan(this.s0),this.ad=this.s90-this.uq},c.forward=function(a){var b,c,e,f,g,h,i,j=a.x,k=a.y,l=d(j-this.long0);return b=Math.pow((1+this.e*Math.sin(k))/(1-this.e*Math.sin(k)),this.alfa*this.e/2),c=2*(Math.atan(this.k*Math.pow(Math.tan(k/2+this.s45),this.alfa)/b)-this.s45),e=-l*this.alfa,f=Math.asin(Math.cos(this.ad)*Math.sin(c)+Math.sin(this.ad)*Math.cos(c)*Math.cos(e)),g=Math.asin(Math.cos(c)*Math.sin(e)/Math.cos(f)),h=this.n*g,i=this.ro0*Math.pow(Math.tan(this.s0/2+this.s45),this.n)/Math.pow(Math.tan(f/2+this.s45),this.n),a.y=i*Math.cos(h)/1,a.x=i*Math.sin(h)/1,this.czech||(a.y*=-1,a.x*=-1),a},c.inverse=function(a){var b,c,d,e,f,g,h,i,j=a.x;a.x=a.y,a.y=j,this.czech||(a.y*=-1,a.x*=-1),g=Math.sqrt(a.x*a.x+a.y*a.y),f=Math.atan2(a.y,a.x),e=f/Math.sin(this.s0),d=2*(Math.atan(Math.pow(this.ro0/g,1/this.n)*Math.tan(this.s0/2+this.s45))-this.s45),b=Math.asin(Math.cos(this.ad)*Math.sin(d)-Math.sin(this.ad)*Math.cos(d)*Math.cos(e)),c=Math.asin(Math.cos(d)*Math.sin(e)/Math.cos(b)),a.x=this.long0-c/this.alfa,h=b,i=0;var k=0;do a.y=2*(Math.atan(Math.pow(this.k,-1/this.alfa)*Math.pow(Math.tan(b/2+this.s45),1/this.alfa)*Math.pow((1+this.e*Math.sin(h))/(1-this.e*Math.sin(h)),this.e/2))-this.s45),Math.abs(h-a.y)<1e-10&&(i=1),h=a.y,k+=1;while(0===i&&15>k);return k>=15?null:a},c.names=["Krovak","krovak"]},{"../common/adjust_lon":5}],49:[function(a,b,c){var d=Math.PI/2,e=Math.PI/4,f=1e-10,g=a("../common/qsfnz"),h=a("../common/adjust_lon");c.S_POLE=1,c.N_POLE=2,c.EQUIT=3,c.OBLIQ=4,c.init=function(){var a=Math.abs(this.lat0);if(Math.abs(a-d)0){var b;switch(this.qp=g(this.e,1),this.mmf=.5/(1-this.es),this.apa=this.authset(this.es),this.mode){case this.N_POLE:this.dd=1;break;case this.S_POLE:this.dd=1;break;case this.EQUIT:this.rq=Math.sqrt(.5*this.qp),this.dd=1/this.rq,this.xmf=1,this.ymf=.5*this.qp;break;case this.OBLIQ:this.rq=Math.sqrt(.5*this.qp),b=Math.sin(this.lat0),this.sinb1=g(this.e,b)/this.qp,this.cosb1=Math.sqrt(1-this.sinb1*this.sinb1),this.dd=Math.cos(this.lat0)/(Math.sqrt(1-this.es*b*b)*this.rq*this.cosb1),this.ymf=(this.xmf=this.rq)/this.dd,this.xmf*=this.dd}}else this.mode===this.OBLIQ&&(this.sinph0=Math.sin(this.lat0),this.cosph0=Math.cos(this.lat0))},c.forward=function(a){var b,c,i,j,k,l,m,n,o,p,q=a.x,r=a.y;if(q=h(q-this.long0),this.sphere){if(k=Math.sin(r),p=Math.cos(r),i=Math.cos(q),this.mode===this.OBLIQ||this.mode===this.EQUIT){if(c=this.mode===this.EQUIT?1+p*i:1+this.sinph0*k+this.cosph0*p*i,f>=c)return null;c=Math.sqrt(2/c),b=c*p*Math.sin(q),c*=this.mode===this.EQUIT?k:this.cosph0*k-this.sinph0*p*i}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(i=-i),Math.abs(r+this.phi0)=0?(b=(o=Math.sqrt(l))*j,c=i*(this.mode===this.S_POLE?o:-o)):b=c=0}}return a.x=this.a*b+this.x0,a.y=this.a*c+this.y0,a},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b,c,e,g,i,j,k,l=a.x/this.a,m=a.y/this.a;if(this.sphere){var n,o=0,p=0;if(n=Math.sqrt(l*l+m*m),c=.5*n,c>1)return null;switch(c=2*Math.asin(c),(this.mode===this.OBLIQ||this.mode===this.EQUIT)&&(p=Math.sin(c),o=Math.cos(c)),this.mode){case this.EQUIT:c=Math.abs(n)<=f?0:Math.asin(m*p/n),l*=p,m=o*n;break;case this.OBLIQ:c=Math.abs(n)<=f?this.phi0:Math.asin(o*this.sinph0+m*p*this.cosph0/n),l*=p*this.cosph0,m=(o-Math.sin(c)*this.sinph0)*n;break;case this.N_POLE:m=-m,c=d-c;break;case this.S_POLE:c-=d}b=0!==m||this.mode!==this.EQUIT&&this.mode!==this.OBLIQ?Math.atan2(l,m):0}else{if(k=0,this.mode===this.OBLIQ||this.mode===this.EQUIT){if(l/=this.dd,m*=this.dd,j=Math.sqrt(l*l+m*m),f>j)return a.x=0,a.y=this.phi0,a;g=2*Math.asin(.5*j/this.rq),e=Math.cos(g),l*=g=Math.sin(g),this.mode===this.OBLIQ?(k=e*this.sinb1+m*g*this.cosb1/j,i=this.qp*k,m=j*this.cosb1*e-m*this.sinb1*g):(k=m*g/j,i=this.qp*k,m=j*e)}else if(this.mode===this.N_POLE||this.mode===this.S_POLE){if(this.mode===this.N_POLE&&(m=-m),i=l*l+m*m,!i)return a.x=0,a.y=this.phi0,a;k=1-i/this.qp,this.mode===this.S_POLE&&(k=-k)}b=Math.atan2(l,m),c=this.authlat(Math.asin(k),this.apa)}return a.x=h(this.long0+b),a.y=c,a},c.P00=.3333333333333333,c.P01=.17222222222222222,c.P02=.10257936507936508,c.P10=.06388888888888888,c.P11=.0664021164021164,c.P20=.016415012942191543,c.authset=function(a){var b,c=[];return c[0]=a*this.P00,b=a*a,c[0]+=b*this.P01,c[1]=b*this.P10,b*=a,c[0]+=b*this.P02,c[1]+=b*this.P11,c[2]=b*this.P20,c},c.authlat=function(a,b){var c=a+a;return a+b[0]*Math.sin(c)+b[1]*Math.sin(c+c)+b[2]*Math.sin(c+c+c)},c.names=["Lambert Azimuthal Equal Area","Lambert_Azimuthal_Equal_Area","laea"]},{"../common/adjust_lon":5,"../common/qsfnz":20}],50:[function(a,b,c){var d=1e-10,e=a("../common/msfnz"),f=a("../common/tsfnz"),g=Math.PI/2,h=a("../common/sign"),i=a("../common/adjust_lon"),j=a("../common/phi2z");c.init=function(){if(this.lat2||(this.lat2=this.lat1),this.k0||(this.k0=1),this.x0=this.x0||0,this.y0=this.y0||0,!(Math.abs(this.lat1+this.lat2)d?this.ns=Math.log(g/k)/Math.log(h/l):this.ns=b,isNaN(this.ns)&&(this.ns=b),this.f0=g/(this.ns*Math.pow(h,this.ns)),this.rh=this.a*this.f0*Math.pow(m,this.ns),this.title||(this.title="Lambert Conformal Conic")}},c.forward=function(a){var b=a.x,c=a.y;Math.abs(2*Math.abs(c)-Math.PI)<=d&&(c=h(c)*(g-2*d));var e,j,k=Math.abs(Math.abs(c)-g);if(k>d)e=f(this.e,c,Math.sin(c)),j=this.a*this.f0*Math.pow(e,this.ns);else{if(k=c*this.ns,0>=k)return null;j=0}var l=this.ns*i(b-this.long0);return a.x=this.k0*(j*Math.sin(l))+this.x0,a.y=this.k0*(this.rh-j*Math.cos(l))+this.y0,a},c.inverse=function(a){var b,c,d,e,f,h=(a.x-this.x0)/this.k0,k=this.rh-(a.y-this.y0)/this.k0;this.ns>0?(b=Math.sqrt(h*h+k*k),c=1):(b=-Math.sqrt(h*h+k*k),c=-1);var l=0;if(0!==b&&(l=Math.atan2(c*h,c*k)),0!==b||this.ns>0){if(c=1/this.ns,d=Math.pow(b/(this.a*this.f0),c),e=j(this.e,d),-9999===e)return null}else e=-g;return f=i(l/this.ns+this.long0),a.x=f,a.y=e,a},c.names=["Lambert Tangential Conformal Conic Projection","Lambert_Conformal_Conic","Lambert_Conformal_Conic_2SP","lcc"]},{"../common/adjust_lon":5,"../common/msfnz":15,"../common/phi2z":16,"../common/sign":21,"../common/tsfnz":24}],51:[function(a,b,c){function d(a){return a}c.init=function(){},c.forward=d,c.inverse=d,c.names=["longlat","identity"]},{}],52:[function(a,b,c){var d=a("../common/msfnz"),e=Math.PI/2,f=1e-10,g=57.29577951308232,h=a("../common/adjust_lon"),i=Math.PI/4,j=a("../common/tsfnz"),k=a("../common/phi2z");c.init=function(){var a=this.b/this.a;this.es=1-a*a,"x0"in this||(this.x0=0),"y0"in this||(this.y0=0),this.e=Math.sqrt(this.es),this.lat_ts?this.sphere?this.k0=Math.cos(this.lat_ts):this.k0=d(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts)):this.k0||(this.k?this.k0=this.k:this.k0=1)},c.forward=function(a){var b=a.x,c=a.y;if(c*g>90&&-90>c*g&&b*g>180&&-180>b*g)return null;var d,k;if(Math.abs(Math.abs(c)-e)<=f)return null;if(this.sphere)d=this.x0+this.a*this.k0*h(b-this.long0),k=this.y0+this.a*this.k0*Math.log(Math.tan(i+.5*c));else{var l=Math.sin(c),m=j(this.e,c,l);d=this.x0+this.a*this.k0*h(b-this.long0),k=this.y0-this.a*this.k0*Math.log(m)}return a.x=d,a.y=k,a},c.inverse=function(a){var b,c,d=a.x-this.x0,f=a.y-this.y0;if(this.sphere)c=e-2*Math.atan(Math.exp(-f/(this.a*this.k0)));else{var g=Math.exp(-f/(this.a*this.k0));if(c=k(this.e,g),-9999===c)return null}return b=h(this.long0+d/(this.a*this.k0)),a.x=b,a.y=c,a},c.names=["Mercator","Popular Visualisation Pseudo Mercator","Mercator_1SP","Mercator_Auxiliary_Sphere","merc"]},{"../common/adjust_lon":5,"../common/msfnz":15,"../common/phi2z":16,"../common/tsfnz":24}],53:[function(a,b,c){var d=a("../common/adjust_lon");c.init=function(){},c.forward=function(a){var b=a.x,c=a.y,e=d(b-this.long0),f=this.x0+this.a*e,g=this.y0+this.a*Math.log(Math.tan(Math.PI/4+c/2.5))*1.25;return a.x=f,a.y=g,a},c.inverse=function(a){a.x-=this.x0,a.y-=this.y0;var b=d(this.long0+a.x/this.a),c=2.5*(Math.atan(Math.exp(.8*a.y/this.a))-Math.PI/4);return a.x=b,a.y=c,a},c.names=["Miller_Cylindrical","mill"]},{"../common/adjust_lon":5}],54:[function(a,b,c){var d=a("../common/adjust_lon"),e=1e-10;c.init=function(){},c.forward=function(a){for(var b=a.x,c=a.y,f=d(b-this.long0),g=c,h=Math.PI*Math.sin(c),i=0;!0;i++){var j=-(g+Math.sin(g)-h)/(1+Math.cos(g));if(g+=j,Math.abs(j).999999999999&&(c=.999999999999),b=Math.asin(c);var e=d(this.long0+a.x/(.900316316158*this.a*Math.cos(b)));e<-Math.PI&&(e=-Math.PI),e>Math.PI&&(e=Math.PI),c=(2*b+Math.sin(2*b))/Math.PI,Math.abs(c)>1&&(c=1);var f=Math.asin(c);return a.x=e,a.y=f,a},c.names=["Mollweide","moll"]},{"../common/adjust_lon":5}],55:[function(a,b,c){var d=484813681109536e-20;c.iterations=1,c.init=function(){this.A=[],this.A[1]=.6399175073,this.A[2]=-.1358797613,this.A[3]=.063294409,this.A[4]=-.02526853,this.A[5]=.0117879,this.A[6]=-.0055161,this.A[7]=.0026906,this.A[8]=-.001333,this.A[9]=67e-5,this.A[10]=-34e-5,this.B_re=[],this.B_im=[],this.B_re[1]=.7557853228,this.B_im[1]=0,this.B_re[2]=.249204646,this.B_im[2]=.003371507,this.B_re[3]=-.001541739,this.B_im[3]=.04105856,this.B_re[4]=-.10162907,this.B_im[4]=.01727609,this.B_re[5]=-.26623489,this.B_im[5]=-.36249218,this.B_re[6]=-.6870983,this.B_im[6]=-1.1651967,this.C_re=[],this.C_im=[],this.C_re[1]=1.3231270439,this.C_im[1]=0,this.C_re[2]=-.577245789,this.C_im[2]=-.007809598,this.C_re[3]=.508307513,this.C_im[3]=-.112208952,this.C_re[4]=-.15094762,this.C_im[4]=.18200602,this.C_re[5]=1.01418179,this.C_im[5]=1.64497696,this.C_re[6]=1.9660549,this.C_im[6]=2.5127645,this.D=[],this.D[1]=1.5627014243,this.D[2]=.5185406398,this.D[3]=-.03333098,this.D[4]=-.1052906,this.D[5]=-.0368594,this.D[6]=.007317,this.D[7]=.0122,this.D[8]=.00394,this.D[9]=-.0013},c.forward=function(a){var b,c=a.x,e=a.y,f=e-this.lat0,g=c-this.long0,h=f/d*1e-5,i=g,j=1,k=0;for(b=1;10>=b;b++)j*=h,k+=this.A[b]*j;var l,m,n=k,o=i,p=1,q=0,r=0,s=0;for(b=1;6>=b;b++)l=p*n-q*o,m=q*n+p*o,p=l,q=m,r=r+this.B_re[b]*p-this.B_im[b]*q,s=s+this.B_im[b]*p+this.B_re[b]*q;return a.x=s*this.a+this.x0,a.y=r*this.a+this.y0,a},c.inverse=function(a){var b,c,e,f=a.x,g=a.y,h=f-this.x0,i=g-this.y0,j=i/this.a,k=h/this.a,l=1,m=0,n=0,o=0;for(b=1;6>=b;b++)c=l*j-m*k,e=m*j+l*k,l=c,m=e,n=n+this.C_re[b]*l-this.C_im[b]*m,o=o+this.C_im[b]*l+this.C_re[b]*m;for(var p=0;p=b;b++)q=s*n-t*o,r=t*n+s*o,s=q,t=r,u+=(b-1)*(this.B_re[b]*s-this.B_im[b]*t),v+=(b-1)*(this.B_im[b]*s+this.B_re[b]*t);s=1,t=0;var w=this.B_re[1],x=this.B_im[1];for(b=2;6>=b;b++)q=s*n-t*o,r=t*n+s*o,s=q,t=r,w+=b*(this.B_re[b]*s-this.B_im[b]*t),x+=b*(this.B_im[b]*s+this.B_re[b]*t);var y=w*w+x*x;n=(u*w+v*x)/y,o=(v*w-u*x)/y}var z=n,A=o,B=1,C=0;for(b=1;9>=b;b++)B*=z,C+=this.D[b]*B;var D=this.lat0+C*d*1e5,E=this.long0+A;return a.x=E,a.y=D,a},c.names=["New_Zealand_Map_Grid","nzmg"]},{}],56:[function(a,b,c){var d=a("../common/tsfnz"),e=a("../common/adjust_lon"),f=a("../common/phi2z"),g=Math.PI/2,h=Math.PI/4,i=1e-10;c.init=function(){this.no_off=this.no_off||!1,this.no_rot=this.no_rot||!1,isNaN(this.k0)&&(this.k0=1);var a=Math.sin(this.lat0),b=Math.cos(this.lat0),c=this.e*a;this.bl=Math.sqrt(1+this.es/(1-this.es)*Math.pow(b,4)),this.al=this.a*this.bl*this.k0*Math.sqrt(1-this.es)/(1-c*c);var f=d(this.e,this.lat0,a),g=this.bl/b*Math.sqrt((1-this.es)/(1-c*c));1>g*g&&(g=1);var h,i;if(isNaN(this.longc)){var j=d(this.e,this.lat1,Math.sin(this.lat1)),k=d(this.e,this.lat2,Math.sin(this.lat2));this.lat0>=0?this.el=(g+Math.sqrt(g*g-1))*Math.pow(f,this.bl):this.el=(g-Math.sqrt(g*g-1))*Math.pow(f,this.bl);var l=Math.pow(j,this.bl),m=Math.pow(k,this.bl);h=this.el/l,i=.5*(h-1/h);var n=(this.el*this.el-m*l)/(this.el*this.el+m*l),o=(m-l)/(m+l),p=e(this.long1-this.long2);this.long0=.5*(this.long1+this.long2)-Math.atan(n*Math.tan(.5*this.bl*p)/o)/this.bl,this.long0=e(this.long0);var q=e(this.long1-this.long0);this.gamma0=Math.atan(Math.sin(this.bl*q)/i),this.alpha=Math.asin(g*Math.sin(this.gamma0))}else h=this.lat0>=0?g+Math.sqrt(g*g-1):g-Math.sqrt(g*g-1),this.el=h*Math.pow(f,this.bl),i=.5*(h-1/h),this.gamma0=Math.asin(Math.sin(this.alpha)/g),this.long0=this.longc-Math.asin(i*Math.tan(this.gamma0))/this.bl;this.no_off?this.uc=0:this.lat0>=0?this.uc=this.al/this.bl*Math.atan2(Math.sqrt(g*g-1),Math.cos(this.alpha)):this.uc=-1*this.al/this.bl*Math.atan2(Math.sqrt(g*g-1),Math.cos(this.alpha))},c.forward=function(a){var b,c,f,j=a.x,k=a.y,l=e(j-this.long0);if(Math.abs(Math.abs(k)-g)<=i)f=k>0?-1:1,c=this.al/this.bl*Math.log(Math.tan(h+f*this.gamma0*.5)),b=-1*f*g*this.al/this.bl;else{var m=d(this.e,k,Math.sin(k)),n=this.el/Math.pow(m,this.bl),o=.5*(n-1/n),p=.5*(n+1/n),q=Math.sin(this.bl*l),r=(o*Math.sin(this.gamma0)-q*Math.cos(this.gamma0))/p;c=Math.abs(Math.abs(r)-1)<=i?Number.POSITIVE_INFINITY:.5*this.al*Math.log((1-r)/(1+r))/this.bl,b=Math.abs(Math.cos(this.bl*l))<=i?this.al*this.bl*l:this.al*Math.atan2(o*Math.cos(this.gamma0)+q*Math.sin(this.gamma0),Math.cos(this.bl*l))/this.bl}return this.no_rot?(a.x=this.x0+b,a.y=this.y0+c):(b-=this.uc,a.x=this.x0+c*Math.cos(this.alpha)+b*Math.sin(this.alpha),a.y=this.y0+b*Math.cos(this.alpha)-c*Math.sin(this.alpha)),a},c.inverse=function(a){var b,c;this.no_rot?(c=a.y-this.y0,b=a.x-this.x0):(c=(a.x-this.x0)*Math.cos(this.alpha)-(a.y-this.y0)*Math.sin(this.alpha),b=(a.y-this.y0)*Math.cos(this.alpha)+(a.x-this.x0)*Math.sin(this.alpha),b+=this.uc);var d=Math.exp(-1*this.bl*c/this.al),h=.5*(d-1/d),j=.5*(d+1/d),k=Math.sin(this.bl*b/this.al),l=(k*Math.cos(this.gamma0)+h*Math.sin(this.gamma0))/j,m=Math.pow(this.el/Math.sqrt((1+l)/(1-l)),1/this.bl);return Math.abs(l-1)g?(g=Math.sin(b),c=this.long0+a.x*Math.sqrt(1-this.es*g*g)/(this.a*Math.cos(b)),f=d(c)):j>g-k&&(f=this.long0)),a.x=f,a.y=b,a},c.names=["Sinusoidal","sinu"]},{"../common/adjust_lat":4,"../common/adjust_lon":5,"../common/asinz":6,"../common/pj_enfn":17,"../common/pj_inv_mlfn":18,"../common/pj_mlfn":19}],59:[function(a,b,c){c.init=function(){var a=this.lat0;this.lambda0=this.long0;var b=Math.sin(a),c=this.a,d=this.rf,e=1/d,f=2*e-Math.pow(e,2),g=this.e=Math.sqrt(f);this.R=this.k0*c*Math.sqrt(1-f)/(1-f*Math.pow(b,2)),this.alpha=Math.sqrt(1+f/(1-f)*Math.pow(Math.cos(a),4)),this.b0=Math.asin(b/this.alpha);var h=Math.log(Math.tan(Math.PI/4+this.b0/2)),i=Math.log(Math.tan(Math.PI/4+a/2)),j=Math.log((1+g*b)/(1-g*b));this.K=h-this.alpha*i+this.alpha*g/2*j},c.forward=function(a){var b=Math.log(Math.tan(Math.PI/4-a.y/2)),c=this.e/2*Math.log((1+this.e*Math.sin(a.y))/(1-this.e*Math.sin(a.y))),d=-this.alpha*(b+c)+this.K,e=2*(Math.atan(Math.exp(d))-Math.PI/4),f=this.alpha*(a.x-this.lambda0),g=Math.atan(Math.sin(f)/(Math.sin(this.b0)*Math.tan(e)+Math.cos(this.b0)*Math.cos(f))),h=Math.asin(Math.cos(this.b0)*Math.sin(e)-Math.sin(this.b0)*Math.cos(e)*Math.cos(f));return a.y=this.R/2*Math.log((1+Math.sin(h))/(1-Math.sin(h)))+this.y0,a.x=this.R*g+this.x0,a},c.inverse=function(a){for(var b=a.x-this.x0,c=a.y-this.y0,d=b/this.R,e=2*(Math.atan(Math.exp(c/this.R))-Math.PI/4),f=Math.asin(Math.cos(this.b0)*Math.sin(e)+Math.sin(this.b0)*Math.cos(e)*Math.cos(d)),g=Math.atan(Math.sin(d)/(Math.cos(this.b0)*Math.cos(d)-Math.sin(this.b0)*Math.tan(e))),h=this.lambda0+g/this.alpha,i=0,j=f,k=-1e3,l=0;Math.abs(j-k)>1e-7;){if(++l>20)return;i=1/this.alpha*(Math.log(Math.tan(Math.PI/4+f/2))-this.K)+this.e*Math.log(Math.tan(Math.PI/4+Math.asin(this.e*Math.sin(j))/2)),k=j,j=2*Math.atan(Math.exp(i))-Math.PI/2}return a.x=h,a.y=j,a},c.names=["somerc"]},{}],60:[function(a,b,c){var d=Math.PI/2,e=1e-10,f=a("../common/sign"),g=a("../common/msfnz"),h=a("../common/tsfnz"),i=a("../common/phi2z"),j=a("../common/adjust_lon");c.ssfn_=function(a,b,c){return b*=c,Math.tan(.5*(d+a))*Math.pow((1-b)/(1+b),.5*c)},c.init=function(){this.coslat0=Math.cos(this.lat0),this.sinlat0=Math.sin(this.lat0),this.sphere?1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=e&&(this.k0=.5*(1+f(this.lat0)*Math.sin(this.lat_ts))):(Math.abs(this.coslat0)<=e&&(this.lat0>0?this.con=1:this.con=-1),this.cons=Math.sqrt(Math.pow(1+this.e,1+this.e)*Math.pow(1-this.e,1-this.e)),1===this.k0&&!isNaN(this.lat_ts)&&Math.abs(this.coslat0)<=e&&(this.k0=.5*this.cons*g(this.e,Math.sin(this.lat_ts),Math.cos(this.lat_ts))/h(this.e,this.con*this.lat_ts,this.con*Math.sin(this.lat_ts))),this.ms1=g(this.e,this.sinlat0,this.coslat0),this.X0=2*Math.atan(this.ssfn_(this.lat0,this.sinlat0,this.e))-d,this.cosX0=Math.cos(this.X0),this.sinX0=Math.sin(this.X0))},c.forward=function(a){var b,c,f,g,i,k,l=a.x,m=a.y,n=Math.sin(m),o=Math.cos(m),p=j(l-this.long0);return Math.abs(Math.abs(l-this.long0)-Math.PI)<=e&&Math.abs(m+this.lat0)<=e?(a.x=NaN,a.y=NaN,a):this.sphere?(b=2*this.k0/(1+this.sinlat0*n+this.coslat0*o*Math.cos(p)),a.x=this.a*b*o*Math.sin(p)+this.x0,a.y=this.a*b*(this.coslat0*n-this.sinlat0*o*Math.cos(p))+this.y0,a):(c=2*Math.atan(this.ssfn_(m,n,this.e))-d,g=Math.cos(c),f=Math.sin(c),Math.abs(this.coslat0)<=e?(i=h(this.e,m*this.con,this.con*n),k=2*this.a*this.k0*i/this.cons,a.x=this.x0+k*Math.sin(l-this.long0),a.y=this.y0-this.con*k*Math.cos(l-this.long0),a):(Math.abs(this.sinlat0)=k?(a.x=b,a.y=c,a):(c=Math.asin(Math.cos(l)*this.sinlat0+a.y*Math.sin(l)*this.coslat0/k),b=j(Math.abs(this.coslat0)0?this.long0+Math.atan2(a.x,-1*a.y):this.long0+Math.atan2(a.x,a.y):this.long0+Math.atan2(a.x*Math.sin(l),k*this.coslat0*Math.cos(l)-a.y*this.sinlat0*Math.sin(l))),a.x=b,a.y=c,a)}if(Math.abs(this.coslat0)<=e){if(e>=k)return c=this.lat0,b=this.long0,a.x=b,a.y=c,a;a.x*=this.con,a.y*=this.con,f=k*this.cons/(2*this.a*this.k0),c=this.con*i(this.e,f),b=this.con*j(this.con*this.long0+Math.atan2(a.x,-1*a.y))}else g=2*Math.atan(k*this.cosX0/(2*this.a*this.k0*this.ms1)),b=this.long0,e>=k?h=this.X0:(h=Math.asin(Math.cos(g)*this.sinX0+a.y*Math.sin(g)*this.cosX0/k),b=j(this.long0+Math.atan2(a.x*Math.sin(g),k*this.cosX0*Math.cos(g)-a.y*this.sinX0*Math.sin(g)))),c=-1*i(this.e,Math.tan(.5*(d+h)));return a.x=b,a.y=c,a},c.names=["stere","Stereographic_South_Pole","Polar Stereographic (variant B)"]},{"../common/adjust_lon":5,"../common/msfnz":15,"../common/phi2z":16,"../common/sign":21,"../common/tsfnz":24}],61:[function(a,b,c){var d=a("./gauss"),e=a("../common/adjust_lon");c.init=function(){d.init.apply(this),this.rc&&(this.sinc0=Math.sin(this.phic0),this.cosc0=Math.cos(this.phic0),this.R2=2*this.rc,this.title||(this.title="Oblique Stereographic Alternative"))},c.forward=function(a){var b,c,f,g;return a.x=e(a.x-this.long0),d.forward.apply(this,[a]),b=Math.sin(a.y),c=Math.cos(a.y),f=Math.cos(a.x),g=this.k0*this.R2/(1+this.sinc0*b+this.cosc0*c*f),a.x=g*c*Math.sin(a.x),a.y=g*(this.cosc0*b-this.sinc0*c*f),a.x=this.a*a.x+this.x0,a.y=this.a*a.y+this.y0,a},c.inverse=function(a){var b,c,f,g,h;if(a.x=(a.x-this.x0)/this.a,a.y=(a.y-this.y0)/this.a,a.x/=this.k0,a.y/=this.k0,h=Math.sqrt(a.x*a.x+a.y*a.y)){var i=2*Math.atan2(h,this.R2);b=Math.sin(i),c=Math.cos(i),g=Math.asin(c*this.sinc0+a.y*b*this.cosc0/h),f=Math.atan2(a.x*b,h*this.cosc0*c-a.y*this.sinc0*b)}else g=this.phic0,f=0;return a.x=f,a.y=g,d.inverse.apply(this,[a]),a.x=e(a.x+this.long0),a},c.names=["Stereographic_North_Pole","Oblique_Stereographic","Polar_Stereographic","sterea","Oblique Stereographic Alternative"]},{"../common/adjust_lon":5,"./gauss":46}],62:[function(a,b,c){var d=a("../common/e0fn"),e=a("../common/e1fn"),f=a("../common/e2fn"),g=a("../common/e3fn"),h=a("../common/mlfn"),i=a("../common/adjust_lon"),j=Math.PI/2,k=1e-10,l=a("../common/sign"),m=a("../common/asinz");c.init=function(){this.e0=d(this.es),this.e1=e(this.es),this.e2=f(this.es),this.e3=g(this.es),this.ml0=this.a*h(this.e0,this.e1,this.e2,this.e3,this.lat0)},c.forward=function(a){var b,c,d,e=a.x,f=a.y,g=i(e-this.long0),j=Math.sin(f),k=Math.cos(f);if(this.sphere){var l=k*Math.sin(g);if(Math.abs(Math.abs(l)-1)<1e-10)return 93;c=.5*this.a*this.k0*Math.log((1+l)/(1-l)),b=Math.acos(k*Math.cos(g)/Math.sqrt(1-l*l)),0>f&&(b=-b),d=this.a*this.k0*(b-this.lat0)}else{var m=k*g,n=Math.pow(m,2),o=this.ep2*Math.pow(k,2),p=Math.tan(f),q=Math.pow(p,2);b=1-this.es*Math.pow(j,2);var r=this.a/Math.sqrt(b),s=this.a*h(this.e0,this.e1,this.e2,this.e3,f);c=this.k0*r*m*(1+n/6*(1-q+o+n/20*(5-18*q+Math.pow(q,2)+72*o-58*this.ep2)))+this.x0,d=this.k0*(s-this.ml0+r*p*(n*(.5+n/24*(5-q+9*o+4*Math.pow(o,2)+n/30*(61-58*q+Math.pow(q,2)+600*o-330*this.ep2)))))+this.y0}return a.x=c,a.y=d,a},c.inverse=function(a){var b,c,d,e,f,g,h=6;if(this.sphere){var n=Math.exp(a.x/(this.a*this.k0)),o=.5*(n-1/n),p=this.lat0+a.y/(this.a*this.k0),q=Math.cos(p);b=Math.sqrt((1-q*q)/(1+o*o)),f=m(b),0>p&&(f=-f),g=0===o&&0===q?this.long0:i(Math.atan2(o,q)+this.long0)}else{var r=a.x-this.x0,s=a.y-this.y0;for(b=(this.ml0+s/this.k0)/this.a,c=b,e=0;!0&&(d=(b+this.e1*Math.sin(2*c)-this.e2*Math.sin(4*c)+this.e3*Math.sin(6*c))/this.e0-c,c+=d,!(Math.abs(d)<=k));e++)if(e>=h)return 95;if(Math.abs(c)=0?this.y0+Math.PI*this.R*Math.tan(.5*k):this.y0+Math.PI*this.R*-Math.tan(.5*k));var l=.5*Math.abs(Math.PI/j-j/Math.PI),m=l*l,n=Math.sin(k),o=Math.cos(k),p=o/(n+o-1),q=p*p,r=p*(2/n-1),s=r*r,t=Math.PI*this.R*(l*(p-s)+Math.sqrt(m*(p-s)*(p-s)-(s+m)*(q-s)))/(s+m);0>j&&(t=-t),b=this.x0+t;var u=m+p;return t=Math.PI*this.R*(r*u-l*Math.sqrt((s+m)*(m+1)-u*u))/(s+m),c=i>=0?this.y0+t:this.y0-t,a.x=b,a.y=c,a},c.inverse=function(a){var b,c,e,g,h,i,j,k,l,m,n,o,p;return a.x-=this.x0,a.y-=this.y0,n=Math.PI*this.R,e=a.x/n,g=a.y/n,h=e*e+g*g,i=-Math.abs(g)*(1+h),j=i-2*g*g+e*e,k=-2*i+1+2*g*g+h*h,p=g*g/k+(2*j*j*j/k/k/k-9*i*j/k/k)/27,l=(i-j*j/3/k)/k,m=2*Math.sqrt(-l/3),n=3*p/l/m,Math.abs(n)>1&&(n=n>=0?1:-1),o=Math.acos(n)/3,c=a.y>=0?(-m*Math.cos(o+Math.PI/3)-j/3/k)*Math.PI:-(-m*Math.cos(o+Math.PI/3)-j/3/k)*Math.PI,b=Math.abs(e)-1?(b[c]={name:a[0].toLowerCase(),convert:a[1]},3===a.length&&(b[c].auth=a[2])):"SPHEROID"===c?(b[c]={name:a[0],a:a[1],rf:a[2]},4===a.length&&(b[c].auth=a[3])):["GEOGCS","GEOCCS","DATUM","VERT_CS","COMPD_CS","LOCAL_CS","FITTED_CS","LOCAL_DATUM"].indexOf(c)>-1?(a[0]=["name",a[0]],d(b,c,a)):a.every(function(a){return Array.isArray(a)})?d(b,c,a):e(a,b[c])):b[c]=!0,void 0):void(b[a]=!0)}function f(a,b){var c=b[0],d=b[1];!(c in a)&&d in a&&(a[c]=a[d],3===b.length&&(a[c]=b[2](a[c])))}function g(a){return a*i}function h(a){function b(b){var c=a.to_meter||1;return parseFloat(b,10)*c}"GEOGCS"===a.type?a.projName="longlat":"LOCAL_CS"===a.type?(a.projName="identity",a.local=!0):"object"==typeof a.PROJECTION?a.projName=Object.keys(a.PROJECTION)[0]:a.projName=a.PROJECTION,a.UNIT&&(a.units=a.UNIT.name.toLowerCase(),"metre"===a.units&&(a.units="meter"), -a.UNIT.convert&&("GEOGCS"===a.type?a.DATUM&&a.DATUM.SPHEROID&&(a.to_meter=parseFloat(a.UNIT.convert,10)*a.DATUM.SPHEROID.a):a.to_meter=parseFloat(a.UNIT.convert,10))),a.GEOGCS&&(a.GEOGCS.DATUM?a.datumCode=a.GEOGCS.DATUM.name.toLowerCase():a.datumCode=a.GEOGCS.name.toLowerCase(),"d_"===a.datumCode.slice(0,2)&&(a.datumCode=a.datumCode.slice(2)),("new_zealand_geodetic_datum_1949"===a.datumCode||"new_zealand_1949"===a.datumCode)&&(a.datumCode="nzgd49"),"wgs_1984"===a.datumCode&&("Mercator_Auxiliary_Sphere"===a.PROJECTION&&(a.sphere=!0),a.datumCode="wgs84"),"_ferro"===a.datumCode.slice(-6)&&(a.datumCode=a.datumCode.slice(0,-6)),"_jakarta"===a.datumCode.slice(-8)&&(a.datumCode=a.datumCode.slice(0,-8)),~a.datumCode.indexOf("belge")&&(a.datumCode="rnb72"),a.GEOGCS.DATUM&&a.GEOGCS.DATUM.SPHEROID&&(a.ellps=a.GEOGCS.DATUM.SPHEROID.name.replace("_19","").replace(/[Cc]larke\_18/,"clrk"),"international"===a.ellps.toLowerCase().slice(0,13)&&(a.ellps="intl"),a.a=a.GEOGCS.DATUM.SPHEROID.a,a.rf=parseFloat(a.GEOGCS.DATUM.SPHEROID.rf,10)),~a.datumCode.indexOf("osgb_1936")&&(a.datumCode="osgb36")),a.b&&!isFinite(a.b)&&(a.b=a.a);var c=function(b){return f(a,b)},d=[["standard_parallel_1","Standard_Parallel_1"],["standard_parallel_2","Standard_Parallel_2"],["false_easting","False_Easting"],["false_northing","False_Northing"],["central_meridian","Central_Meridian"],["latitude_of_origin","Latitude_Of_Origin"],["latitude_of_origin","Central_Parallel"],["scale_factor","Scale_Factor"],["k0","scale_factor"],["latitude_of_center","Latitude_of_center"],["lat0","latitude_of_center",g],["longitude_of_center","Longitude_Of_Center"],["longc","longitude_of_center",g],["x0","false_easting",b],["y0","false_northing",b],["long0","central_meridian",g],["lat0","latitude_of_origin",g],["lat0","standard_parallel_1",g],["lat1","standard_parallel_1",g],["lat2","standard_parallel_2",g],["alpha","azimuth",g],["srsCode","name"]];d.forEach(c),a.long0||!a.longc||"Albers_Conic_Equal_Area"!==a.projName&&"Lambert_Azimuthal_Equal_Area"!==a.projName||(a.long0=a.longc),a.lat_ts||!a.lat1||"Stereographic_South_Pole"!==a.projName&&"Polar Stereographic (variant B)"!==a.projName||(a.lat0=g(a.lat1>0?90:-90),a.lat_ts=a.lat1)}var i=.017453292519943295,j=a("./extend");b.exports=function(a,b){var c=JSON.parse((","+a).replace(/\s*\,\s*([A-Z_0-9]+?)(\[)/g,',["$1",').slice(1).replace(/\s*\,\s*([A-Z_0-9]+?)\]/g,',"$1"]').replace(/,\["VERTCS".+/,"")),d=c.shift(),f=c.shift();c.unshift(["name",f]),c.unshift(["type",d]),c.unshift("output");var g={};return e(c,g),h(g.output),j(b,g.output)}},{"./extend":34}],67:[function(a,b,c){function d(a){return a*(Math.PI/180)}function e(a){return 180*(a/Math.PI)}function f(a){var b,c,e,f,g,i,j,k,l,m=a.lat,n=a.lon,o=6378137,p=.00669438,q=.9996,r=d(m),s=d(n);l=Math.floor((n+180)/6)+1,180===n&&(l=60),m>=56&&64>m&&n>=3&&12>n&&(l=32),m>=72&&84>m&&(n>=0&&9>n?l=31:n>=9&&21>n?l=33:n>=21&&33>n?l=35:n>=33&&42>n&&(l=37)),b=6*(l-1)-180+3,k=d(b),c=p/(1-p),e=o/Math.sqrt(1-p*Math.sin(r)*Math.sin(r)),f=Math.tan(r)*Math.tan(r),g=c*Math.cos(r)*Math.cos(r),i=Math.cos(r)*(s-k),j=o*((1-p/4-3*p*p/64-5*p*p*p/256)*r-(3*p/8+3*p*p/32+45*p*p*p/1024)*Math.sin(2*r)+(15*p*p/256+45*p*p*p/1024)*Math.sin(4*r)-35*p*p*p/3072*Math.sin(6*r));var t=q*e*(i+(1-f+g)*i*i*i/6+(5-18*f+f*f+72*g-58*c)*i*i*i*i*i/120)+5e5,u=q*(j+e*Math.tan(r)*(i*i/2+(5-f+9*g+4*g*g)*i*i*i*i/24+(61-58*f+f*f+600*g-330*c)*i*i*i*i*i*i/720));return 0>m&&(u+=1e7),{northing:Math.round(u),easting:Math.round(t),zoneNumber:l,zoneLetter:h(m)}}function g(a){var b=a.northing,c=a.easting,d=a.zoneLetter,f=a.zoneNumber;if(0>f||f>60)return null;var h,i,j,k,l,m,n,o,p,q,r=.9996,s=6378137,t=.00669438,u=(1-Math.sqrt(1-t))/(1+Math.sqrt(1-t)),v=c-5e5,w=b;"N">d&&(w-=1e7),o=6*(f-1)-180+3,h=t/(1-t),n=w/r,p=n/(s*(1-t/4-3*t*t/64-5*t*t*t/256)),q=p+(3*u/2-27*u*u*u/32)*Math.sin(2*p)+(21*u*u/16-55*u*u*u*u/32)*Math.sin(4*p)+151*u*u*u/96*Math.sin(6*p),i=s/Math.sqrt(1-t*Math.sin(q)*Math.sin(q)),j=Math.tan(q)*Math.tan(q),k=h*Math.cos(q)*Math.cos(q),l=s*(1-t)/Math.pow(1-t*Math.sin(q)*Math.sin(q),1.5),m=v/(i*r);var x=q-i*Math.tan(q)/l*(m*m/2-(5+3*j+10*k-4*k*k-9*h)*m*m*m*m/24+(61+90*j+298*k+45*j*j-252*h-3*k*k)*m*m*m*m*m*m/720);x=e(x);var y=(m-(1+2*j+k)*m*m*m/6+(5-2*k+28*j-3*k*k+8*h+24*j*j)*m*m*m*m*m/120)/Math.cos(q);y=o+e(y);var z;if(a.accuracy){var A=g({northing:a.northing+a.accuracy,easting:a.easting+a.accuracy,zoneLetter:a.zoneLetter,zoneNumber:a.zoneNumber});z={top:A.lat,right:A.lon,bottom:x,left:y}}else z={lat:x,lon:y};return z}function h(a){var b="Z";return 84>=a&&a>=72?b="X":72>a&&a>=64?b="W":64>a&&a>=56?b="V":56>a&&a>=48?b="U":48>a&&a>=40?b="T":40>a&&a>=32?b="S":32>a&&a>=24?b="R":24>a&&a>=16?b="Q":16>a&&a>=8?b="P":8>a&&a>=0?b="N":0>a&&a>=-8?b="M":-8>a&&a>=-16?b="L":-16>a&&a>=-24?b="K":-24>a&&a>=-32?b="J":-32>a&&a>=-40?b="H":-40>a&&a>=-48?b="G":-48>a&&a>=-56?b="F":-56>a&&a>=-64?b="E":-64>a&&a>=-72?b="D":-72>a&&a>=-80&&(b="C"),b}function i(a,b){var c="00000"+a.easting,d="00000"+a.northing;return a.zoneNumber+a.zoneLetter+j(a.easting,a.northing,a.zoneNumber)+c.substr(c.length-5,b)+d.substr(d.length-5,b)}function j(a,b,c){var d=k(c),e=Math.floor(a/1e5),f=Math.floor(b/1e5)%20;return l(e,f,d)}function k(a){var b=a%q;return 0===b&&(b=q),b}function l(a,b,c){var d=c-1,e=r.charCodeAt(d),f=s.charCodeAt(d),g=e+a-1,h=f+b,i=!1;g>x&&(g=g-x+t-1,i=!0),(g===u||u>e&&g>u||(g>u||u>e)&&i)&&g++,(g===v||v>e&&g>v||(g>v||v>e)&&i)&&(g++,g===u&&g++),g>x&&(g=g-x+t-1),h>w?(h=h-w+t-1,i=!0):i=!1,(h===u||u>f&&h>u||(h>u||u>f)&&i)&&h++,(h===v||v>f&&h>v||(h>v||v>f)&&i)&&(h++,h===u&&h++),h>w&&(h=h-w+t-1);var j=String.fromCharCode(g)+String.fromCharCode(h);return j}function m(a){if(a&&0===a.length)throw"MGRSPoint coverting from nothing";for(var b,c=a.length,d=null,e="",f=0;!/[A-Z]/.test(b=a.charAt(f));){if(f>=2)throw"MGRSPoint bad conversion from: "+a;e+=b,f++}var g=parseInt(e,10);if(0===f||f+3>c)throw"MGRSPoint bad conversion from: "+a;var h=a.charAt(f++);if("A">=h||"B"===h||"Y"===h||h>="Z"||"I"===h||"O"===h)throw"MGRSPoint zone letter "+h+" not handled: "+a;d=a.substring(f,f+=2);for(var i=k(g),j=n(d.charAt(0),i),l=o(d.charAt(1),i);l0&&(q=1e5/Math.pow(10,v),r=a.substring(f,f+v),w=parseFloat(r)*q,s=a.substring(f+v),x=parseFloat(s)*q),t=w+j,u=x+l,{easting:t,northing:u,zoneLetter:h,zoneNumber:g,accuracy:q}}function n(a,b){for(var c=r.charCodeAt(b-1),d=1e5,e=!1;c!==a.charCodeAt(0);){if(c++,c===u&&c++,c===v&&c++,c>x){if(e)throw"Bad character: "+a;c=t,e=!0}d+=1e5}return d}function o(a,b){if(a>"V")throw"MGRSPoint given invalid Northing "+a;for(var c=s.charCodeAt(b-1),d=0,e=!1;c!==a.charCodeAt(0);){if(c++,c===u&&c++,c===v&&c++,c>w){if(e)throw"Bad character: "+a;c=t,e=!0}d+=1e5}return d}function p(a){var b;switch(a){case"C":b=11e5;break;case"D":b=2e6;break;case"E":b=28e5;break;case"F":b=37e5;break;case"G":b=46e5;break;case"H":b=55e5;break;case"J":b=64e5;break;case"K":b=73e5;break;case"L":b=82e5;break;case"M":b=91e5;break;case"N":b=0;break;case"P":b=8e5;break;case"Q":b=17e5;break;case"R":b=26e5;break;case"S":b=35e5;break;case"T":b=44e5;break;case"U":b=53e5;break;case"V":b=62e5;break;case"W":b=7e6;break;case"X":b=79e5;break;default:b=-1}if(b>=0)return b;throw"Invalid zone letter: "+a}var q=6,r="AJSAJS",s="AFAFAF",t=65,u=73,v=79,w=86,x=90;c.forward=function(a,b){return b=b||5,i(f({lat:a[1],lon:a[0]}),b)},c.inverse=function(a){var b=g(m(a.toUpperCase()));return b.lat&&b.lon?[b.lon,b.lat,b.lon,b.lat]:[b.left,b.bottom,b.right,b.top]},c.toPoint=function(a){var b=g(m(a.toUpperCase()));return b.lat&&b.lon?[b.lon,b.lat]:[(b.left+b.right)/2,(b.top+b.bottom)/2]}},{}],68:[function(a,b,c){b.exports={name:"proj4",version:"2.3.12",description:"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.",main:"lib/index.js",directories:{test:"test",doc:"docs"},scripts:{test:"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},repository:{type:"git",url:"git://github.com/proj4js/proj4js.git"},author:"",license:"MIT",jam:{main:"dist/proj4.js",include:["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},devDependencies:{"grunt-cli":"~0.1.13",grunt:"~0.4.2","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0",chai:"~1.8.1",mocha:"~1.17.1","grunt-mocha-phantomjs":"~0.4.0",browserify:"~3.24.5","grunt-browserify":"~1.3.0","grunt-contrib-uglify":"~0.3.2",curl:"git://github.com/cujojs/curl.git",istanbul:"~0.2.4",tin:"~0.4.0"},dependencies:{mgrs:"~0.0.2"}}},{}],"./includedProjections":[function(a,b,c){b.exports=a("hTEDpn")},{}],hTEDpn:[function(a,b,c){var d=[a("./lib/projections/tmerc"),a("./lib/projections/utm"),a("./lib/projections/sterea"),a("./lib/projections/stere"),a("./lib/projections/somerc"),a("./lib/projections/omerc"),a("./lib/projections/lcc"),a("./lib/projections/krovak"),a("./lib/projections/cass"),a("./lib/projections/laea"),a("./lib/projections/aea"),a("./lib/projections/gnom"),a("./lib/projections/cea"),a("./lib/projections/eqc"),a("./lib/projections/poly"),a("./lib/projections/nzmg"),a("./lib/projections/mill"),a("./lib/projections/sinu"),a("./lib/projections/moll"),a("./lib/projections/eqdc"),a("./lib/projections/vandg"),a("./lib/projections/aeqd")];b.exports=function(proj4){d.forEach(function(a){proj4.Proj.projections.add(a)})}},{"./lib/projections/aea":40,"./lib/projections/aeqd":41,"./lib/projections/cass":42,"./lib/projections/cea":43,"./lib/projections/eqc":44,"./lib/projections/eqdc":45,"./lib/projections/gnom":47,"./lib/projections/krovak":48,"./lib/projections/laea":49,"./lib/projections/lcc":50,"./lib/projections/mill":53,"./lib/projections/moll":54,"./lib/projections/nzmg":55,"./lib/projections/omerc":56,"./lib/projections/poly":57,"./lib/projections/sinu":58,"./lib/projections/somerc":59,"./lib/projections/stere":60,"./lib/projections/sterea":61,"./lib/projections/tmerc":62,"./lib/projections/utm":63,"./lib/projections/vandg":64}]},{},[36])(36)}); \ No newline at end of file diff --git a/package.json b/package.json index 2623db4..0454ad9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "anychart-angularjs", - "version": "1.0.1", + "version": "1.1.0", "description": "AngularJS v1.x directives for AnyChart", "main": "dist/anychart-angularjs.min.js", "scripts": { @@ -37,5 +37,9 @@ ], "author": "AnyChart (http://anychart.com)", "license": "Apache-2.0", - "homepage": "https://github.com/AnyChart/AnyChart-AngularJS.git" + "homepage": "https://github.com/AnyChart/AnyChart-AngularJS.git", + "dependencies": { + "anychart": "^7.13.0", + "angular": "^1.6.0" + } }